All files / output cl_gui_object.clas.mjs

33.84% Statements 22/65
100% Branches 2/2
3.33% Functions 1/30
33.84% Lines 22/65

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 651x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x                       1x       1x                                                     1x       1x 1x 1x 1x 1x 1x
const {cx_root} = await import("./cx_root.clas.mjs");
// cl_gui_object.clas.abap
class cl_gui_object {
  static STATIC_SUPER = undefined;
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'CL_GUI_OBJECT';
  static IMPLEMENTED_INTERFACES = [];
  static ATTRIBUTES = {"ACTIVEX": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "visibility": "U", "is_constant": " ", "is_class": "X"},
  "JAVABEAN": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "visibility": "U", "is_constant": " ", "is_class": "X"},
  "WWW_ACTIVE": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "visibility": "U", "is_constant": " ", "is_class": "X"}};
  static METHODS = {"CALL_METHOD": {"visibility": "O", "parameters": {"P1": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}, "P2": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}, "P3": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}, "P4": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}, "P5": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}, "P6": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}, "P7": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}, "P8": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}, "P9": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}, "P10": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}, "P11": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}, "P12": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}, "P13": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}, "P14": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}, "P15": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}, "P16": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}, "METHOD": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CGenericType"}, "P_COUNT": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "I", "type_name": "IntegerType"}, "QUEUE_ONLY": {"type": () => {return new abap.types.Character();}, "is_optional": " ", "parm_kind": "I", "type_name": "CGenericType"}, "KEEP_CACHE": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "RESULT": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "E", "type_name": "AnyType"}}},
  "IS_VALID": {"visibility": "U", "parameters": {"RESULT": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "E", "type_name": "IntegerType"}}}};
  constructor() {
    this.me = new abap.types.ABAPObject();
    this.me.set(this);
    this.INTERNAL_ID = abap.internalIdCounter++;
    this.FRIENDS_ACCESS_INSTANCE = {
      "call_method": this.call_method.bind(this),
      "is_valid": this.is_valid.bind(this),
    };
    this.activex = cl_gui_object.activex;
    this.javabean = cl_gui_object.javabean;
    this.www_active = cl_gui_object.www_active;
  }
  async constructor_(INPUT) {
    if (super.constructor_) { await super.constructor_(INPUT); }
    return this;
  }
  async call_method(INPUT) {
    let p1 = INPUT?.p1 || new abap.types.Character(4);
    let p2 = INPUT?.p2 || new abap.types.Character(4);
    let p3 = INPUT?.p3 || new abap.types.Character(4);
    let p4 = INPUT?.p4 || new abap.types.Character(4);
    let p5 = INPUT?.p5 || new abap.types.Character(4);
    let p6 = INPUT?.p6 || new abap.types.Character(4);
    let p7 = INPUT?.p7 || new abap.types.Character(4);
    let p8 = INPUT?.p8 || new abap.types.Character(4);
    let p9 = INPUT?.p9 || new abap.types.Character(4);
    let p10 = INPUT?.p10 || new abap.types.Character(4);
    let p11 = INPUT?.p11 || new abap.types.Character(4);
    let p12 = INPUT?.p12 || new abap.types.Character(4);
    let p13 = INPUT?.p13 || new abap.types.Character(4);
    let p14 = INPUT?.p14 || new abap.types.Character(4);
    let p15 = INPUT?.p15 || new abap.types.Character(4);
    let p16 = INPUT?.p16 || new abap.types.Character(4);
    let method = INPUT?.method;
    let p_count = new abap.types.Integer({qualifiedName: "I"});
    if (INPUT && INPUT.p_count) {p_count.set(INPUT.p_count);}
    let queue_only = INPUT?.queue_only || new abap.types.Character();
    if (INPUT === undefined || INPUT.queue_only === undefined) {queue_only = abap.CharacterFactory.get(1, 'X');}
    let keep_cache = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    if (INPUT && INPUT.keep_cache) {keep_cache.set(INPUT.keep_cache);}
    let result = INPUT?.result || new abap.types.Character(4);
    return;
  }
  async is_valid(INPUT) {
    let result = INPUT?.result || new abap.types.Integer({qualifiedName: "I"});
    return;
  }
}
abap.Classes['CL_GUI_OBJECT'] = cl_gui_object;
cl_gui_object.activex = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
cl_gui_object.javabean = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
cl_gui_object.www_active = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
export {cl_gui_object};