All files / output cx_os_object.clas.mjs

44.11% Statements 15/34
100% Branches 2/2
14.28% Functions 1/7
44.11% Lines 15/34

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 341x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x                   1x                     1x 1x 1x
const {cx_os_error} = await import("./cx_os_error.clas.mjs");
const {cx_root} = await import("./cx_root.clas.mjs");
// cx_os_object.clas.abap
class cx_os_object extends cx_os_error {
  static STATIC_SUPER = cx_os_error;
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'CX_OS_OBJECT';
  static IMPLEMENTED_INTERFACES = ["IF_MESSAGE","IF_MESSAGE","IF_MESSAGE","IF_MESSAGE"];
  static ATTRIBUTES = {"OBJECT": {"type": () => {return new abap.types.ABAPObject({qualifiedName: undefined, RTTIName: undefined});}, "visibility": "U", "is_constant": " ", "is_class": " "}};
  static METHODS = {"CONSTRUCTOR": {"visibility": "U", "parameters": {"TEXTID": {"type": () => {return new abap.types.Character(32, {});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "PREVIOUS": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "CX_ROOT", RTTIName: "\\CLASS=CX_ROOT"});}, "is_optional": " ", "parm_kind": "I", "type_name": "ObjectReferenceType"}, "OBJECT": {"type": () => {return new abap.types.ABAPObject({qualifiedName: undefined, RTTIName: undefined});}, "is_optional": " ", "parm_kind": "I", "type_name": "GenericObjectReferenceType"}}}};
  constructor() {
    const sup = super();
    this.me = new abap.types.ABAPObject();
    this.me.set(this);
    this.INTERNAL_ID = abap.internalIdCounter++;
    this.FRIENDS_ACCESS_INSTANCE = {
      "SUPER": sup.FRIENDS_ACCESS_INSTANCE,
    };
    this.object = new abap.types.ABAPObject({qualifiedName: undefined, RTTIName: undefined});
  }
  async constructor_(INPUT) {
    let textid = new abap.types.Character(32, {});
    if (INPUT && INPUT.textid) {textid.set(INPUT.textid);}
    let previous = new abap.types.ABAPObject({qualifiedName: "CX_ROOT", RTTIName: "\\CLASS=CX_ROOT"});
    if (INPUT && INPUT.previous) {previous.set(INPUT.previous);}
    let object = new abap.types.ABAPObject({qualifiedName: undefined, RTTIName: undefined});
    if (INPUT && INPUT.object) {object.set(INPUT.object);}
    await super.constructor_({textid: textid,previous: previous});
    this.me.get().object.set(object);
    return this;
  }
}
abap.Classes['CX_OS_OBJECT'] = cx_os_object;
export {cx_os_object};