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 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | const {zcl_abapgit_syntax_highlighter} = await import("./zcl_abapgit_syntax_highlighter.clas.mjs"); const {cx_root} = await import("./cx_root.clas.mjs"); // zcl_abapgit_syntax_po.clas.abap class zcl_abapgit_syntax_po extends zcl_abapgit_syntax_highlighter { static INTERNAL_TYPE = 'CLAS'; static INTERNAL_NAME = 'ZCL_ABAPGIT_SYNTAX_PO'; static IMPLEMENTED_INTERFACES = []; static ATTRIBUTES = {"C_STYLE": {"type": () => {return new abap.types.Structure({ "msgid": new abap.types.String({qualifiedName: "STRING"}), "msgstr": new abap.types.String({qualifiedName: "STRING"}), "comment": new abap.types.String({qualifiedName: "STRING"})}, undefined, undefined, {}, {});}, "visibility": "I", "is_constant": "X", "is_class": "X"}, "C_TOKEN": {"type": () => {return new abap.types.Structure({ "msgid": new abap.types.Character(1, {}), "msgstr": new abap.types.Character(1, {}), "comment": new abap.types.Character(1, {})}, undefined, undefined, {}, {});}, "visibility": "I", "is_constant": "X", "is_class": "X"}, "C_REGEX": {"type": () => {return new abap.types.Structure({ "msgid": new abap.types.String({qualifiedName: "STRING"}), "msgstr": new abap.types.String({qualifiedName: "STRING"}), "comment": new abap.types.String({qualifiedName: "STRING"})}, undefined, undefined, {}, {});}, "visibility": "I", "is_constant": "X", "is_class": "X"}}; static METHODS = {"CONSTRUCTOR": {"visibility": "U", "parameters": {}}}; 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.c_style = zcl_abapgit_syntax_po.c_style; this.c_token = zcl_abapgit_syntax_po.c_token; this.c_regex = zcl_abapgit_syntax_po.c_regex; } async constructor_(INPUT) { await super.constructor_(); await this.add_rule({iv_regex: zcl_abapgit_syntax_po.c_regex.get().msgid, iv_token: zcl_abapgit_syntax_po.c_token.get().msgid, iv_style: zcl_abapgit_syntax_po.c_style.get().msgid}); await this.add_rule({iv_regex: zcl_abapgit_syntax_po.c_regex.get().msgstr, iv_token: zcl_abapgit_syntax_po.c_token.get().msgstr, iv_style: zcl_abapgit_syntax_po.c_style.get().msgstr}); await this.add_rule({iv_regex: zcl_abapgit_syntax_po.c_regex.get().comment, iv_token: zcl_abapgit_syntax_po.c_token.get().comment, iv_style: zcl_abapgit_syntax_po.c_style.get().comment}); return this; } } abap.Classes['ZCL_ABAPGIT_SYNTAX_PO'] = zcl_abapgit_syntax_po; zcl_abapgit_syntax_po.c_style = new abap.types.Structure({ "msgid": new abap.types.String({qualifiedName: "STRING"}), "msgstr": new abap.types.String({qualifiedName: "STRING"}), "comment": new abap.types.String({qualifiedName: "STRING"})}, undefined, undefined, {}, {}); zcl_abapgit_syntax_po.c_style.get().msgid.set('keyword'); zcl_abapgit_syntax_po.c_style.get().msgstr.set('xml_tag'); zcl_abapgit_syntax_po.c_style.get().comment.set('comment'); zcl_abapgit_syntax_po.c_token = new abap.types.Structure({ "msgid": new abap.types.Character(1, {}), "msgstr": new abap.types.Character(1, {}), "comment": new abap.types.Character(1, {})}, undefined, undefined, {}, {}); zcl_abapgit_syntax_po.c_token.get().msgid.set('I'); zcl_abapgit_syntax_po.c_token.get().msgstr.set('S'); zcl_abapgit_syntax_po.c_token.get().comment.set('C'); zcl_abapgit_syntax_po.c_regex = new abap.types.Structure({ "msgid": new abap.types.String({qualifiedName: "STRING"}), "msgstr": new abap.types.String({qualifiedName: "STRING"}), "comment": new abap.types.String({qualifiedName: "STRING"})}, undefined, undefined, {}, {}); zcl_abapgit_syntax_po.c_regex.get().msgid.set('^msgid\\b'); zcl_abapgit_syntax_po.c_regex.get().msgstr.set('^msgstr\\b'); zcl_abapgit_syntax_po.c_regex.get().comment.set('^#.*'); export {zcl_abapgit_syntax_po}; |