All files / output cl_salv_column_list.clas.mjs

44.73% Statements 17/38
100% Branches 2/2
14.28% Functions 1/7
44.73% Lines 17/38

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 381x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x                     1x       1x       1x           1x 1x 1x
const {cl_salv_column} = await import("./cl_salv_column.clas.mjs");
const {cx_root} = await import("./cx_root.clas.mjs");
// cl_salv_column_list.clas.abap
class cl_salv_column_list extends cl_salv_column {
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'CL_SALV_COLUMN_LIST';
  static IMPLEMENTED_INTERFACES = [];
  static ATTRIBUTES = {};
  static METHODS = {"SET_ICON": {"visibility": "U", "parameters": {"VALUE": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}},
  "SET_CELL_TYPE": {"visibility": "U", "parameters": {"VALUE": {"type": () => {return new abap.types.Character(4);}, "is_optional": " "}}}};
  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,
      "set_icon": this.set_icon.bind(this),
      "set_cell_type": this.set_cell_type.bind(this),
    };
  }
  async constructor_(INPUT) {
    if (super.constructor_) { await super.constructor_(INPUT); }
    return this;
  }
  async set_cell_type(INPUT) {
    let value = INPUT?.value || new abap.types.Character(4);
    return;
  }
  async set_icon(INPUT) {
    let value = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    if (INPUT && INPUT.value) {value.set(INPUT.value);}
    if (INPUT === undefined || INPUT.value === undefined) {value = abap.builtin.abap_true;}
    return;
  }
}
abap.Classes['CL_SALV_COLUMN_LIST'] = cl_salv_column_list;
export {cl_salv_column_list};