All files / output zcl_abapgit_syntax_abap.clas.testclasses.mjs

97.49% Statements 428/439
84.21% Branches 32/38
63.82% Functions 30/47
97.49% Lines 428/439

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 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 4391x 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 3x 3x 3x 3x 3x 3x 1x 1x 3x 3x 3x 3x 3x 3x 3x 3x 3x 3x 3x 3x 3x 3x 3x 3x 3x 3x 3x 3x 3x 3x 3x 1x 1x 1x 1x 1x 1x 1x 1x 3x 1x 1x 1x 1x 3x 1x 1x 1x 1x 1x 1x 3x 1x 1x 1x 8x 8x 8x 8x 8x       8x 8x       8x 8x       8x 8x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 8x 56x 56x     56x 56x 8x 8x 48x 48x 48x 48x 48x 48x 48x 48x 48x 48x 48x 48x 48x 48x 48x 48x 48x 8x 28x 28x 28x 28x 28x 28x 28x 28x 28x 28x 28x 28x 28x 28x 28x 28x 28x 28x 28x 28x 28x 8x 56x 56x 56x 56x 56x 56x 56x 56x 56x 56x 56x 56x 56x 56x 56x 56x 56x 56x 56x 56x 56x 8x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 8x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 8x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 8x 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 8x 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 8x 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 1x 1x 8x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 8x 1x 1x 1x 1x 1x 1x 1x 8x 1x 1x
const {zcl_abapgit_syntax_highlighter} = await import("./zcl_abapgit_syntax_highlighter.clas.mjs");
const {zcl_abapgit_syntax_abap} = await import("./zcl_abapgit_syntax_abap.clas.mjs");
const {cx_root} = await import("./cx_root.clas.mjs");
// zcl_abapgit_syntax_abap.clas.testclasses.abap
class ltcl_abapgit_syntax_abap {
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'CLAS-ZCL_ABAPGIT_SYNTAX_ABAP-LTCL_ABAPGIT_SYNTAX_ABAP';
  static IMPLEMENTED_INTERFACES = [];
  static ATTRIBUTES = {"MO_CUT": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_SYNTAX_ABAP", RTTIName: "\\CLASS=ZCL_ABAPGIT_SYNTAX_ABAP"});}, "visibility": "I", "is_constant": " ", "is_class": " "}};
  static METHODS = {"SETUP": {"visibility": "I", "parameters": {}},
  "REPORT_HEADER": {"visibility": "I", "parameters": {}}};
  #mo_cut;
  constructor() {
    this.me = new abap.types.ABAPObject();
    this.me.set(this);
    this.INTERNAL_ID = abap.internalIdCounter++;
    this.FRIENDS_ACCESS_INSTANCE = {
      "setup": this.#setup.bind(this),
      "report_header": this.#report_header.bind(this),
    };
    this.#mo_cut = new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_SYNTAX_ABAP", RTTIName: "\\CLASS=ZCL_ABAPGIT_SYNTAX_ABAP"});
    this.FRIENDS_ACCESS_INSTANCE["mo_cut"] = this.#mo_cut;
  }
  async constructor_(INPUT) {
    if (super.constructor_) { await super.constructor_(INPUT); }
    return this;
  }
  async #setup() {
    this.#mo_cut.set(await (new abap.Classes['ZCL_ABAPGIT_SYNTAX_ABAP']()).constructor_());
  }
  async #report_header() {
    let lv_act = new abap.types.String({qualifiedName: "STRING"});
    lv_act.set((await this.#mo_cut.get().process_line({iv_line: new abap.types.String().set(`REPORT zfoo.`)})));
    await abap.Classes['CL_ABAP_UNIT_ASSERT'].assert_equals({exp: new abap.types.String().set(`<span class="keyword">REPORT</span> zfoo.`), act: lv_act});
  }
}
abap.Classes['CLAS-ZCL_ABAPGIT_SYNTAX_ABAP-LTCL_ABAPGIT_SYNTAX_ABAP'] = ltcl_abapgit_syntax_abap;
 
 
class ltcl_syntax_basic_logic {
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'CLAS-ZCL_ABAPGIT_SYNTAX_ABAP-LTCL_SYNTAX_BASIC_LOGIC';
  static IMPLEMENTED_INTERFACES = [];
  static ATTRIBUTES = {"MO_SYNTAX_HIGHLIGHTER": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_SYNTAX_ABAP", RTTIName: "\\CLASS=ZCL_ABAPGIT_SYNTAX_ABAP"});}, "visibility": "I", "is_constant": " ", "is_class": " "}};
  static METHODS = {"SETUP": {"visibility": "I", "parameters": {}},
  "PROCESS_LINE": {"visibility": "I", "parameters": {}},
  "FORMAT_LINE": {"visibility": "I", "parameters": {}},
  "APPLY_STYLE": {"visibility": "I", "parameters": {}}};
  #mo_syntax_highlighter;
  constructor() {
    this.me = new abap.types.ABAPObject();
    this.me.set(this);
    this.INTERNAL_ID = abap.internalIdCounter++;
    this.FRIENDS_ACCESS_INSTANCE = {
      "setup": this.#setup.bind(this),
      "process_line": this.#process_line.bind(this),
      "format_line": this.#format_line.bind(this),
      "apply_style": this.#apply_style.bind(this),
    };
    this.#mo_syntax_highlighter = new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_SYNTAX_ABAP", RTTIName: "\\CLASS=ZCL_ABAPGIT_SYNTAX_ABAP"});
    this.FRIENDS_ACCESS_INSTANCE["mo_syntax_highlighter"] = this.#mo_syntax_highlighter;
  }
  async constructor_(INPUT) {
    if (super.constructor_) { await super.constructor_(INPUT); }
    return this;
  }
  async #setup() {
    this.#mo_syntax_highlighter.set(await (new abap.Classes['ZCL_ABAPGIT_SYNTAX_ABAP']()).constructor_());
  }
  async #format_line() {
    let lv_line = new abap.types.String({qualifiedName: "STRING"});
    let lv_line_act = new abap.types.String({qualifiedName: "STRING"});
    let lv_line_exp = new abap.types.String({qualifiedName: "STRING"});
    lv_line.set(abap.CharacterFactory.get(36, 'call function \'FM_NAME\'. " Commented'));
    lv_line_exp.set(abap.operators.concat(abap.CharacterFactory.get(33, '<span class="keyword">call</span>'),abap.operators.concat(abap.CharacterFactory.get(38, ' <span class="keyword">function</span>'),abap.operators.concat(new abap.types.String().set(` <span class="text">'FM_NAME'</span>.`),abap.CharacterFactory.get(41, ' <span class="comment">" Commented</span>')))));
    lv_line_act.set((await this.#mo_syntax_highlighter.get().process_line({iv_line: lv_line})));
    await abap.Classes['CL_ABAP_UNIT_ASSERT'].assert_equals({exp: lv_line_exp, act: lv_line_act, msg: new abap.types.String().set(`Error during formating: ${abap.templateFormatting(lv_line)}`)});
  }
  async #apply_style() {
    let lv_line_act = new abap.types.String({qualifiedName: "STRING"});
    lv_line_act.set((await this.#mo_syntax_highlighter.get().apply_style({iv_line: abap.CharacterFactory.get(13, 'CALL FUNCTION'), iv_class: abap.Classes['ZCL_ABAPGIT_SYNTAX_ABAP'].c_css.get().keyword})));
    await abap.Classes['CL_ABAP_UNIT_ASSERT'].assert_equals({act: lv_line_act, exp: abap.CharacterFactory.get(42, '<span class="keyword">CALL FUNCTION</span>'), msg: abap.CharacterFactory.get(33, 'Failure during applying of style.')});
  }
  async #process_line() {
    let lv_line_act = new abap.types.String({qualifiedName: "STRING"});
    lv_line_act.set((await this.#mo_syntax_highlighter.get().process_line({iv_line: abap.CharacterFactory.get(1, '')})));
    await abap.Classes['CL_ABAP_UNIT_ASSERT'].assert_equals({act: lv_line_act, exp: abap.CharacterFactory.get(1, ''), msg: abap.CharacterFactory.get(31, 'Failure in method process_line.')});
    lv_line_act.set((await this.#mo_syntax_highlighter.get().process_line({iv_line: abap.CharacterFactory.get(15, '* CALL FUNCTION')})));
    await abap.Classes['CL_ABAP_UNIT_ASSERT'].assert_equals({act: lv_line_act, exp: abap.CharacterFactory.get(44, '<span class="comment">* CALL FUNCTION</span>'), msg: abap.CharacterFactory.get(31, 'Failure in method process_line.')});
  }
}
abap.Classes['CLAS-ZCL_ABAPGIT_SYNTAX_ABAP-LTCL_SYNTAX_BASIC_LOGIC'] = ltcl_syntax_basic_logic;
 
 
class ltcl_syntax_cases {
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'CLAS-ZCL_ABAPGIT_SYNTAX_ABAP-LTCL_SYNTAX_CASES';
  static IMPLEMENTED_INTERFACES = [];
  static ATTRIBUTES = {"MT_AFTER_PARSE": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({
  "token": new abap.types.Character(1, {"qualifiedName":"zcl_abapgit_syntax_highlighter=>ty_match-token"}),
  "offset": new abap.types.Integer({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-OFFSET"}),
  "length": new abap.types.Integer({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-LENGTH"}),
  "text_tag": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-TEXT_TAG"})}, "zcl_abapgit_syntax_highlighter=>ty_match", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zcl_abapgit_syntax_highlighter=>ty_match_tt");}, "visibility": "I", "is_constant": " ", "is_class": " "},
  "MT_AFTER_ORDER": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({
  "token": new abap.types.Character(1, {"qualifiedName":"zcl_abapgit_syntax_highlighter=>ty_match-token"}),
  "offset": new abap.types.Integer({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-OFFSET"}),
  "length": new abap.types.Integer({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-LENGTH"}),
  "text_tag": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-TEXT_TAG"})}, "zcl_abapgit_syntax_highlighter=>ty_match", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zcl_abapgit_syntax_highlighter=>ty_match_tt");}, "visibility": "I", "is_constant": " ", "is_class": " "},
  "MT_AFTER_EXTEND": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({
  "token": new abap.types.Character(1, {"qualifiedName":"zcl_abapgit_syntax_highlighter=>ty_match-token"}),
  "offset": new abap.types.Integer({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-OFFSET"}),
  "length": new abap.types.Integer({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-LENGTH"}),
  "text_tag": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-TEXT_TAG"})}, "zcl_abapgit_syntax_highlighter=>ty_match", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zcl_abapgit_syntax_highlighter=>ty_match_tt");}, "visibility": "I", "is_constant": " ", "is_class": " "}};
  static METHODS = {"DO_TEST": {"visibility": "I", "parameters": {"IV_LINE": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}},
  "GENERATE_PARSE": {"visibility": "I", "parameters": {"IV_TOKEN": {"type": () => {return new abap.types.Character();}, "is_optional": " "}, "IV_OFFSET": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " "}, "IV_LENGTH": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " "}}},
  "GENERATE_ORDER": {"visibility": "I", "parameters": {"IV_TOKEN": {"type": () => {return new abap.types.Character();}, "is_optional": " "}, "IV_OFFSET": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " "}, "IV_LENGTH": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " "}, "IV_TEXT_TAG": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}},
  "GENERATE_EXTEND": {"visibility": "I", "parameters": {"IV_TOKEN": {"type": () => {return new abap.types.Character();}, "is_optional": " "}, "IV_OFFSET": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " "}, "IV_LENGTH": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " "}, "IV_TEXT_TAG": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}},
  "TEST_ABAP_01": {"visibility": "I", "parameters": {}},
  "TEST_ABAP_02": {"visibility": "I", "parameters": {}},
  "TEST_ABAP_03": {"visibility": "I", "parameters": {}},
  "TEST_ABAP_04": {"visibility": "I", "parameters": {}},
  "TEST_ABAP_05": {"visibility": "I", "parameters": {}},
  "TEST_ABAP_06": {"visibility": "I", "parameters": {}},
  "TEST_ABAP_07": {"visibility": "I", "parameters": {}},
  "TEST_ABAP_08": {"visibility": "I", "parameters": {}}};
  #mt_after_parse;
  #mt_after_order;
  #mt_after_extend;
  constructor() {
    this.me = new abap.types.ABAPObject();
    this.me.set(this);
    this.INTERNAL_ID = abap.internalIdCounter++;
    this.FRIENDS_ACCESS_INSTANCE = {
      "do_test": this.#do_test.bind(this),
      "generate_parse": this.#generate_parse.bind(this),
      "generate_order": this.#generate_order.bind(this),
      "generate_extend": this.#generate_extend.bind(this),
      "test_abap_01": this.#test_abap_01.bind(this),
      "test_abap_02": this.#test_abap_02.bind(this),
      "test_abap_03": this.#test_abap_03.bind(this),
      "test_abap_04": this.#test_abap_04.bind(this),
      "test_abap_05": this.#test_abap_05.bind(this),
      "test_abap_06": this.#test_abap_06.bind(this),
      "test_abap_07": this.#test_abap_07.bind(this),
      "test_abap_08": this.#test_abap_08.bind(this),
    };
    this.#mt_after_parse = abap.types.TableFactory.construct(new abap.types.Structure({
    "token": new abap.types.Character(1, {"qualifiedName":"zcl_abapgit_syntax_highlighter=>ty_match-token"}),
    "offset": new abap.types.Integer({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-OFFSET"}),
    "length": new abap.types.Integer({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-LENGTH"}),
    "text_tag": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-TEXT_TAG"})}, "zcl_abapgit_syntax_highlighter=>ty_match", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zcl_abapgit_syntax_highlighter=>ty_match_tt");
    this.FRIENDS_ACCESS_INSTANCE["mt_after_parse"] = this.#mt_after_parse;
    this.#mt_after_order = abap.types.TableFactory.construct(new abap.types.Structure({
    "token": new abap.types.Character(1, {"qualifiedName":"zcl_abapgit_syntax_highlighter=>ty_match-token"}),
    "offset": new abap.types.Integer({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-OFFSET"}),
    "length": new abap.types.Integer({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-LENGTH"}),
    "text_tag": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-TEXT_TAG"})}, "zcl_abapgit_syntax_highlighter=>ty_match", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zcl_abapgit_syntax_highlighter=>ty_match_tt");
    this.FRIENDS_ACCESS_INSTANCE["mt_after_order"] = this.#mt_after_order;
    this.#mt_after_extend = abap.types.TableFactory.construct(new abap.types.Structure({
    "token": new abap.types.Character(1, {"qualifiedName":"zcl_abapgit_syntax_highlighter=>ty_match-token"}),
    "offset": new abap.types.Integer({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-OFFSET"}),
    "length": new abap.types.Integer({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-LENGTH"}),
    "text_tag": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-TEXT_TAG"})}, "zcl_abapgit_syntax_highlighter=>ty_match", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zcl_abapgit_syntax_highlighter=>ty_match_tt");
    this.FRIENDS_ACCESS_INSTANCE["mt_after_extend"] = this.#mt_after_extend;
  }
  async constructor_(INPUT) {
    if (super.constructor_) { await super.constructor_(INPUT); }
    return this;
  }
  async #do_test(INPUT) {
    let iv_line = INPUT?.iv_line;
    if (iv_line?.getQualifiedName === undefined || iv_line.getQualifiedName() !== "STRING") { iv_line = undefined; }
    if (iv_line === undefined) { iv_line = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_line); }
    let lt_matches_act = abap.types.TableFactory.construct(new abap.types.Structure({
    "token": new abap.types.Character(1, {"qualifiedName":"zcl_abapgit_syntax_highlighter=>ty_match-token"}),
    "offset": new abap.types.Integer({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-OFFSET"}),
    "length": new abap.types.Integer({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-LENGTH"}),
    "text_tag": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-TEXT_TAG"})}, "zcl_abapgit_syntax_highlighter=>ty_match", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zcl_abapgit_syntax_highlighter=>ty_match_tt");
    let ls_match = new abap.types.Structure({
    "token": new abap.types.Character(1, {"qualifiedName":"zcl_abapgit_syntax_highlighter=>ty_match-token"}),
    "offset": new abap.types.Integer({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-OFFSET"}),
    "length": new abap.types.Integer({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-LENGTH"}),
    "text_tag": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-TEXT_TAG"})}, "zcl_abapgit_syntax_highlighter=>ty_match", undefined, {}, {});
    let lv_offs = new abap.types.Integer({qualifiedName: "I"});
    let lo_syntax = new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_SYNTAX_ABAP", RTTIName: "\\CLASS=ZCL_ABAPGIT_SYNTAX_ABAP"});
    lo_syntax.set(await (new abap.Classes['ZCL_ABAPGIT_SYNTAX_ABAP']()).constructor_());
    lt_matches_act.set((await lo_syntax.get().parse_line({iv_line: iv_line})));
    abap.statements.sort(lt_matches_act,{by: [{component: "offset"}]});
    await abap.Classes['CL_ABAP_UNIT_ASSERT'].assert_equals({exp: this.#mt_after_parse, act: lt_matches_act, msg: new abap.types.String().set(`Error during parsing: ${abap.templateFormatting(iv_line)}`)});
    await lo_syntax.get().order_matches({iv_line: iv_line, ct_matches: lt_matches_act});
    await abap.Classes['CL_ABAP_UNIT_ASSERT'].assert_equals({exp: this.#mt_after_order, act: lt_matches_act, msg: new abap.types.String().set(`Error during ordering: ${abap.templateFormatting(iv_line)}`)});
    await lo_syntax.get().extend_matches({iv_line: iv_line, ct_matches: lt_matches_act});
    await abap.Classes['CL_ABAP_UNIT_ASSERT'].assert_equals({exp: this.#mt_after_extend, act: lt_matches_act, msg: new abap.types.String().set(`Error during extending: ${abap.templateFormatting(iv_line)}`)});
    lv_offs.set(abap.IntegerFactory.get(0));
    for await (const unique646 of abap.statements.loop(lt_matches_act)) {
      ls_match.set(unique646);
      if (abap.compare.ne(ls_match.get().offset, lv_offs)) {
        await abap.Classes['CL_ABAP_UNIT_ASSERT'].assert_equals({exp: lv_offs, act: ls_match.get().offset, msg: new abap.types.String().set(` Error during consistency check: ${abap.templateFormatting(abap.builtin.sy.get().tabix)}`)});
      }
      lv_offs.set(abap.operators.add(lv_offs,ls_match.get().length));
    }
  }
  async #generate_parse(INPUT) {
    let iv_token = INPUT?.iv_token;
    let iv_offset = INPUT?.iv_offset;
    if (iv_offset?.getQualifiedName === undefined || iv_offset.getQualifiedName() !== "I") { iv_offset = undefined; }
    if (iv_offset === undefined) { iv_offset = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.iv_offset); }
    let iv_length = INPUT?.iv_length;
    if (iv_length?.getQualifiedName === undefined || iv_length.getQualifiedName() !== "I") { iv_length = undefined; }
    if (iv_length === undefined) { iv_length = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.iv_length); }
    let ls_match = new abap.types.Structure({
    "token": new abap.types.Character(1, {"qualifiedName":"zcl_abapgit_syntax_highlighter=>ty_match-token"}),
    "offset": new abap.types.Integer({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-OFFSET"}),
    "length": new abap.types.Integer({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-LENGTH"}),
    "text_tag": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-TEXT_TAG"})}, "zcl_abapgit_syntax_highlighter=>ty_match", undefined, {}, {});
    ls_match.get().token.set(iv_token);
    ls_match.get().offset.set(iv_offset);
    ls_match.get().length.set(iv_length);
    abap.statements.append({source: ls_match, target: this.#mt_after_parse});
  }
  async #generate_order(INPUT) {
    let iv_token = INPUT?.iv_token;
    let iv_offset = INPUT?.iv_offset;
    if (iv_offset?.getQualifiedName === undefined || iv_offset.getQualifiedName() !== "I") { iv_offset = undefined; }
    if (iv_offset === undefined) { iv_offset = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.iv_offset); }
    let iv_length = INPUT?.iv_length;
    if (iv_length?.getQualifiedName === undefined || iv_length.getQualifiedName() !== "I") { iv_length = undefined; }
    if (iv_length === undefined) { iv_length = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.iv_length); }
    let iv_text_tag = INPUT?.iv_text_tag;
    if (iv_text_tag?.getQualifiedName === undefined || iv_text_tag.getQualifiedName() !== "STRING") { iv_text_tag = undefined; }
    if (iv_text_tag === undefined) { iv_text_tag = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_text_tag); }
    let ls_match = new abap.types.Structure({
    "token": new abap.types.Character(1, {"qualifiedName":"zcl_abapgit_syntax_highlighter=>ty_match-token"}),
    "offset": new abap.types.Integer({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-OFFSET"}),
    "length": new abap.types.Integer({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-LENGTH"}),
    "text_tag": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-TEXT_TAG"})}, "zcl_abapgit_syntax_highlighter=>ty_match", undefined, {}, {});
    ls_match.get().token.set(iv_token);
    ls_match.get().offset.set(iv_offset);
    ls_match.get().length.set(iv_length);
    ls_match.get().text_tag.set(iv_text_tag);
    abap.statements.append({source: ls_match, target: this.#mt_after_order});
  }
  async #generate_extend(INPUT) {
    let iv_token = INPUT?.iv_token;
    let iv_offset = INPUT?.iv_offset;
    if (iv_offset?.getQualifiedName === undefined || iv_offset.getQualifiedName() !== "I") { iv_offset = undefined; }
    if (iv_offset === undefined) { iv_offset = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.iv_offset); }
    let iv_length = INPUT?.iv_length;
    if (iv_length?.getQualifiedName === undefined || iv_length.getQualifiedName() !== "I") { iv_length = undefined; }
    if (iv_length === undefined) { iv_length = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.iv_length); }
    let iv_text_tag = INPUT?.iv_text_tag;
    if (iv_text_tag?.getQualifiedName === undefined || iv_text_tag.getQualifiedName() !== "STRING") { iv_text_tag = undefined; }
    if (iv_text_tag === undefined) { iv_text_tag = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_text_tag); }
    let ls_match = new abap.types.Structure({
    "token": new abap.types.Character(1, {"qualifiedName":"zcl_abapgit_syntax_highlighter=>ty_match-token"}),
    "offset": new abap.types.Integer({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-OFFSET"}),
    "length": new abap.types.Integer({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-LENGTH"}),
    "text_tag": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_SYNTAX_HIGHLIGHTER=>TY_MATCH-TEXT_TAG"})}, "zcl_abapgit_syntax_highlighter=>ty_match", undefined, {}, {});
    ls_match.get().token.set(iv_token);
    ls_match.get().offset.set(iv_offset);
    ls_match.get().length.set(iv_length);
    ls_match.get().text_tag.set(iv_text_tag);
    abap.statements.append({source: ls_match, target: this.#mt_after_extend});
  }
  async #test_abap_01() {
    let lv_line = new abap.types.String({qualifiedName: "STRING"});
    lv_line.set(abap.CharacterFactory.get(39, '* commented out line with key word data'));
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'C'), iv_offset: abap.IntegerFactory.get(0), iv_length: abap.IntegerFactory.get(1)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(12), iv_length: abap.IntegerFactory.get(3)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(16), iv_length: abap.IntegerFactory.get(4)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(21), iv_length: abap.IntegerFactory.get(4)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(26), iv_length: abap.IntegerFactory.get(3)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(30), iv_length: abap.IntegerFactory.get(4)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(35), iv_length: abap.IntegerFactory.get(4)});
    await this.#generate_order({iv_token: abap.CharacterFactory.get(1, 'C'), iv_offset: abap.IntegerFactory.get(0), iv_length: abap.IntegerFactory.get(39), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, 'C'), iv_offset: abap.IntegerFactory.get(0), iv_length: abap.IntegerFactory.get(39), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#do_test({iv_line: lv_line});
  }
  async #test_abap_02() {
    let lv_line = new abap.types.String({qualifiedName: "STRING"});
    lv_line.set(abap.CharacterFactory.get(30, 'data: lv_var_name type string.'));
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(0), iv_length: abap.IntegerFactory.get(4)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(18), iv_length: abap.IntegerFactory.get(4)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(23), iv_length: abap.IntegerFactory.get(6)});
    await this.#generate_order({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(0), iv_length: abap.IntegerFactory.get(4), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_order({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(18), iv_length: abap.IntegerFactory.get(4), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_order({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(23), iv_length: abap.IntegerFactory.get(6), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(0), iv_length: abap.IntegerFactory.get(4), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, '.'), iv_offset: abap.IntegerFactory.get(4), iv_length: abap.IntegerFactory.get(14), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(18), iv_length: abap.IntegerFactory.get(4), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, '.'), iv_offset: abap.IntegerFactory.get(22), iv_length: abap.IntegerFactory.get(1), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(23), iv_length: abap.IntegerFactory.get(6), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, '.'), iv_offset: abap.IntegerFactory.get(29), iv_length: abap.IntegerFactory.get(1), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#do_test({iv_line: lv_line});
  }
  async #test_abap_03() {
    let lv_line = new abap.types.String({qualifiedName: "STRING"});
    lv_line.set(abap.CharacterFactory.get(36, 'call function \'FM_NAME\'. " Commented'));
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(0), iv_length: abap.IntegerFactory.get(4)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(5), iv_length: abap.IntegerFactory.get(8)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(14), iv_length: abap.IntegerFactory.get(1)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(22), iv_length: abap.IntegerFactory.get(1)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'C'), iv_offset: abap.IntegerFactory.get(25), iv_length: abap.IntegerFactory.get(1)});
    await this.#generate_order({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(0), iv_length: abap.IntegerFactory.get(4), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_order({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(5), iv_length: abap.IntegerFactory.get(8), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_order({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(14), iv_length: abap.IntegerFactory.get(9), iv_text_tag: abap.CharacterFactory.get(1, '\'')});
    await this.#generate_order({iv_token: abap.CharacterFactory.get(1, 'C'), iv_offset: abap.IntegerFactory.get(25), iv_length: abap.IntegerFactory.get(11), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(0), iv_length: abap.IntegerFactory.get(4), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, '.'), iv_offset: abap.IntegerFactory.get(4), iv_length: abap.IntegerFactory.get(1), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(5), iv_length: abap.IntegerFactory.get(8), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, '.'), iv_offset: abap.IntegerFactory.get(13), iv_length: abap.IntegerFactory.get(1), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(14), iv_length: abap.IntegerFactory.get(9), iv_text_tag: abap.CharacterFactory.get(1, '\'')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, '.'), iv_offset: abap.IntegerFactory.get(23), iv_length: abap.IntegerFactory.get(2), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, 'C'), iv_offset: abap.IntegerFactory.get(25), iv_length: abap.IntegerFactory.get(11), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#do_test({iv_line: lv_line});
  }
  async #test_abap_04() {
    let lv_line = new abap.types.String({qualifiedName: "STRING"});
    lv_line.set(abap.CharacterFactory.get(65, 'constants: lc_var type string value \'simpletext data simpletext\'.'));
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(0), iv_length: abap.IntegerFactory.get(9)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(18), iv_length: abap.IntegerFactory.get(4)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(23), iv_length: abap.IntegerFactory.get(6)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(30), iv_length: abap.IntegerFactory.get(5)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(36), iv_length: abap.IntegerFactory.get(1)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(48), iv_length: abap.IntegerFactory.get(4)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(63), iv_length: abap.IntegerFactory.get(1)});
    await this.#generate_order({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(0), iv_length: abap.IntegerFactory.get(9), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_order({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(18), iv_length: abap.IntegerFactory.get(4), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_order({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(23), iv_length: abap.IntegerFactory.get(6), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_order({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(30), iv_length: abap.IntegerFactory.get(5), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_order({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(36), iv_length: abap.IntegerFactory.get(28), iv_text_tag: abap.CharacterFactory.get(1, '\'')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(0), iv_length: abap.IntegerFactory.get(9), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, '.'), iv_offset: abap.IntegerFactory.get(9), iv_length: abap.IntegerFactory.get(9), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(18), iv_length: abap.IntegerFactory.get(4), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, '.'), iv_offset: abap.IntegerFactory.get(22), iv_length: abap.IntegerFactory.get(1), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(23), iv_length: abap.IntegerFactory.get(6), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, '.'), iv_offset: abap.IntegerFactory.get(29), iv_length: abap.IntegerFactory.get(1), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(30), iv_length: abap.IntegerFactory.get(5), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, '.'), iv_offset: abap.IntegerFactory.get(35), iv_length: abap.IntegerFactory.get(1), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(36), iv_length: abap.IntegerFactory.get(28), iv_text_tag: abap.CharacterFactory.get(1, '\'')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, '.'), iv_offset: abap.IntegerFactory.get(64), iv_length: abap.IntegerFactory.get(1), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#do_test({iv_line: lv_line});
  }
  async #test_abap_05() {
    let lv_line = new abap.types.String({qualifiedName: "STRING"});
    lv_line.set(abap.CharacterFactory.get(18, 'a = |{ b }={ c }|.'));
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(4), iv_length: abap.IntegerFactory.get(1)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(5), iv_length: abap.IntegerFactory.get(1)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(7), iv_length: abap.IntegerFactory.get(1)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(9), iv_length: abap.IntegerFactory.get(1)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(11), iv_length: abap.IntegerFactory.get(1)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(13), iv_length: abap.IntegerFactory.get(1)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(15), iv_length: abap.IntegerFactory.get(1)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(16), iv_length: abap.IntegerFactory.get(1)});
    await this.#generate_order({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(4), iv_length: abap.IntegerFactory.get(1), iv_text_tag: abap.CharacterFactory.get(1, '|')});
    await this.#generate_order({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(7), iv_length: abap.IntegerFactory.get(1), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_order({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(10), iv_length: abap.IntegerFactory.get(1), iv_text_tag: abap.CharacterFactory.get(1, '}')});
    await this.#generate_order({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(13), iv_length: abap.IntegerFactory.get(1), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_order({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(16), iv_length: abap.IntegerFactory.get(1), iv_text_tag: abap.CharacterFactory.get(1, '}')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, '.'), iv_offset: abap.IntegerFactory.get(0), iv_length: abap.IntegerFactory.get(4), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(4), iv_length: abap.IntegerFactory.get(1), iv_text_tag: abap.CharacterFactory.get(1, '|')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, '.'), iv_offset: abap.IntegerFactory.get(5), iv_length: abap.IntegerFactory.get(2), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(7), iv_length: abap.IntegerFactory.get(1), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, '.'), iv_offset: abap.IntegerFactory.get(8), iv_length: abap.IntegerFactory.get(2), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(10), iv_length: abap.IntegerFactory.get(1), iv_text_tag: abap.CharacterFactory.get(1, '}')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, '.'), iv_offset: abap.IntegerFactory.get(11), iv_length: abap.IntegerFactory.get(2), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(13), iv_length: abap.IntegerFactory.get(1), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, '.'), iv_offset: abap.IntegerFactory.get(14), iv_length: abap.IntegerFactory.get(2), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(16), iv_length: abap.IntegerFactory.get(1), iv_text_tag: abap.CharacterFactory.get(1, '}')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, '.'), iv_offset: abap.IntegerFactory.get(17), iv_length: abap.IntegerFactory.get(1), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#do_test({iv_line: lv_line});
  }
  async #test_abap_06() {
    let lv_line = new abap.types.String({qualifiedName: "STRING"});
    lv_line.set(abap.CharacterFactory.get(55, 'lv_line = lc_constant && |XYZ { \'ab\' && |ac{ \'UU\' }| }|'));
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(22), iv_length: abap.IntegerFactory.get(2)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(25), iv_length: abap.IntegerFactory.get(1)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(30), iv_length: abap.IntegerFactory.get(1)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(32), iv_length: abap.IntegerFactory.get(1)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(35), iv_length: abap.IntegerFactory.get(1)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(37), iv_length: abap.IntegerFactory.get(2)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(40), iv_length: abap.IntegerFactory.get(1)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(43), iv_length: abap.IntegerFactory.get(1)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(45), iv_length: abap.IntegerFactory.get(1)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(48), iv_length: abap.IntegerFactory.get(1)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(50), iv_length: abap.IntegerFactory.get(1)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(51), iv_length: abap.IntegerFactory.get(1)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(53), iv_length: abap.IntegerFactory.get(1)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(54), iv_length: abap.IntegerFactory.get(1)});
    await this.#generate_order({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(22), iv_length: abap.IntegerFactory.get(2), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_order({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(25), iv_length: abap.IntegerFactory.get(5), iv_text_tag: abap.CharacterFactory.get(1, '|')});
    await this.#generate_order({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(32), iv_length: abap.IntegerFactory.get(4), iv_text_tag: abap.CharacterFactory.get(1, '\'')});
    await this.#generate_order({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(37), iv_length: abap.IntegerFactory.get(2), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_order({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(40), iv_length: abap.IntegerFactory.get(3), iv_text_tag: abap.CharacterFactory.get(1, '|')});
    await this.#generate_order({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(45), iv_length: abap.IntegerFactory.get(4), iv_text_tag: abap.CharacterFactory.get(1, '\'')});
    await this.#generate_order({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(51), iv_length: abap.IntegerFactory.get(1), iv_text_tag: abap.CharacterFactory.get(1, '}')});
    await this.#generate_order({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(54), iv_length: abap.IntegerFactory.get(1), iv_text_tag: abap.CharacterFactory.get(1, '}')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, '.'), iv_offset: abap.IntegerFactory.get(0), iv_length: abap.IntegerFactory.get(22), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(22), iv_length: abap.IntegerFactory.get(2), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, '.'), iv_offset: abap.IntegerFactory.get(24), iv_length: abap.IntegerFactory.get(1), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(25), iv_length: abap.IntegerFactory.get(5), iv_text_tag: abap.CharacterFactory.get(1, '|')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, '.'), iv_offset: abap.IntegerFactory.get(30), iv_length: abap.IntegerFactory.get(2), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(32), iv_length: abap.IntegerFactory.get(4), iv_text_tag: abap.CharacterFactory.get(1, '\'')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, '.'), iv_offset: abap.IntegerFactory.get(36), iv_length: abap.IntegerFactory.get(1), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(37), iv_length: abap.IntegerFactory.get(2), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, '.'), iv_offset: abap.IntegerFactory.get(39), iv_length: abap.IntegerFactory.get(1), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(40), iv_length: abap.IntegerFactory.get(3), iv_text_tag: abap.CharacterFactory.get(1, '|')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, '.'), iv_offset: abap.IntegerFactory.get(43), iv_length: abap.IntegerFactory.get(2), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(45), iv_length: abap.IntegerFactory.get(4), iv_text_tag: abap.CharacterFactory.get(1, '\'')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, '.'), iv_offset: abap.IntegerFactory.get(49), iv_length: abap.IntegerFactory.get(2), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(51), iv_length: abap.IntegerFactory.get(1), iv_text_tag: abap.CharacterFactory.get(1, '}')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, '.'), iv_offset: abap.IntegerFactory.get(52), iv_length: abap.IntegerFactory.get(2), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, 'T'), iv_offset: abap.IntegerFactory.get(54), iv_length: abap.IntegerFactory.get(1), iv_text_tag: abap.CharacterFactory.get(1, '}')});
    await this.#do_test({iv_line: lv_line});
  }
  async #test_abap_07() {
    let lv_line = new abap.types.String({qualifiedName: "STRING"});
    lv_line.set(abap.CharacterFactory.get(17, 'SELECT * FROM foo'));
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(0), iv_length: abap.IntegerFactory.get(6)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(9), iv_length: abap.IntegerFactory.get(4)});
    await this.#generate_order({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(0), iv_length: abap.IntegerFactory.get(6), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_order({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(9), iv_length: abap.IntegerFactory.get(4), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(0), iv_length: abap.IntegerFactory.get(6), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, '.'), iv_offset: abap.IntegerFactory.get(6), iv_length: abap.IntegerFactory.get(3), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(9), iv_length: abap.IntegerFactory.get(4), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, '.'), iv_offset: abap.IntegerFactory.get(13), iv_length: abap.IntegerFactory.get(4), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#do_test({iv_line: lv_line});
  }
  async #test_abap_08() {
    let lv_line = new abap.types.String({qualifiedName: "STRING"});
    lv_line.set(abap.CharacterFactory.get(27, 'lv_length = <match>-length.'));
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(13), iv_length: abap.IntegerFactory.get(5)});
    await this.#generate_parse({iv_token: abap.CharacterFactory.get(1, 'K'), iv_offset: abap.IntegerFactory.get(20), iv_length: abap.IntegerFactory.get(6)});
    await this.#generate_extend({iv_token: abap.CharacterFactory.get(1, '.'), iv_offset: abap.IntegerFactory.get(0), iv_length: abap.IntegerFactory.get(27), iv_text_tag: abap.CharacterFactory.get(1, '')});
    await this.#do_test({iv_line: lv_line});
  }
}
abap.Classes['CLAS-ZCL_ABAPGIT_SYNTAX_ABAP-LTCL_SYNTAX_CASES'] = ltcl_syntax_cases;
export {ltcl_abapgit_syntax_abap, ltcl_syntax_basic_logic, ltcl_syntax_cases};