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 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 321x 321x 321x 321x 321x 321x 321x 321x 321x 321x 321x 321x 1x 170x 170x 170x 170x 170x 170x 170x 170x 1x 1x 1x 64x 64x 64x 64x 1x 1x 1x | // cx_root.clas.abap
class cx_root extends Error {
static STATIC_SUPER = undefined;
static INTERNAL_TYPE = 'CLAS';
static INTERNAL_NAME = 'CX_ROOT';
static IMPLEMENTED_INTERFACES = ["IF_MESSAGE"];
static ATTRIBUTES = {"PREVIOUS": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "CX_ROOT", RTTIName: "\\CLASS=CX_ROOT"});}, "visibility": "U", "is_constant": " ", "is_class": " "},
"TEXTID": {"type": () => {return new abap.types.Character(32, {});}, "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"}}},
"GET_SOURCE_POSITION": {"visibility": "U", "parameters": {"PROGRAM_NAME": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "E", "type_name": "StringType"}, "INCLUDE_NAME": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "E", "type_name": "StringType"}, "SOURCE_LINE": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " ", "parm_kind": "E", "type_name": "IntegerType"}}}};
constructor() {
const sup = super();
this.me = new abap.types.ABAPObject();
this.me.set(this);
this.INTERNAL_ID = abap.internalIdCounter++;
this.FRIENDS_ACCESS_INSTANCE = {
"get_source_position": this.get_source_position.bind(this),
};
this.previous = new abap.types.ABAPObject({qualifiedName: "CX_ROOT", RTTIName: "\\CLASS=CX_ROOT"});
this.textid = new abap.types.Character(32, {});
this.get_longtext = this.if_message$get_longtext;
this.get_text = this.if_message$get_text;
}
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);}
this.me.get().previous.set(previous);
this.me.get().textid.set(textid);
return this;
}
async get_source_position(INPUT) {
let program_name = INPUT?.program_name || new abap.types.String({qualifiedName: "STRING"});
let include_name = INPUT?.include_name || new abap.types.String({qualifiedName: "STRING"});
let source_line = INPUT?.source_line || new abap.types.Integer({qualifiedName: "I"});
program_name.clear();
include_name.clear();
source_line.clear();
source_line.set(this.EXTRA_CX.INTERNAL_LINE || 1);
program_name.set(this.EXTRA_CX.INTERNAL_FILENAME || "error");
}
async if_message$get_longtext(INPUT) {
let result = new abap.types.String({qualifiedName: "STRING"});
let preserve_newlines = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
if (INPUT && INPUT.preserve_newlines) {preserve_newlines.set(INPUT.preserve_newlines);}
result.set(abap.CharacterFactory.get(29, 'OpenAbapGetLongtextDummyValue'));
return result;
}
async if_message$get_text() {
let result = new abap.types.String({qualifiedName: "STRING"});
result.set((await abap.Classes['CL_MESSAGE_HELPER'].get_text_for_message({text: this.me})));
return result;
}
}
abap.Classes['CX_ROOT'] = cx_root;
export {cx_root}; |