@abaplint/core 2.101.14 → 2.101.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/build/abaplint.d.ts +20 -1
  2. package/build/adhoc/syntax_performance.d.ts +1 -0
  3. package/build/adhoc/syntax_performance.js +15 -0
  4. package/build/adhoc/typed_array.d.ts +20 -0
  5. package/build/adhoc/typed_array.js +47 -0
  6. package/build/src/abap/5_syntax/_builtin.js +173 -173
  7. package/build/src/abap/5_syntax/_type_utils.js +2 -1
  8. package/build/src/abap/5_syntax/basic_types.js +9 -3
  9. package/build/src/abap/5_syntax/expressions/constant.js +4 -3
  10. package/build/src/abap/5_syntax/expressions/inline_loop_definition.js +1 -1
  11. package/build/src/abap/5_syntax/expressions/method_call_param.js +1 -1
  12. package/build/src/abap/5_syntax/expressions/method_param.js +3 -0
  13. package/build/src/abap/5_syntax/expressions/source.js +2 -2
  14. package/build/src/abap/5_syntax/expressions/string_template.js +2 -2
  15. package/build/src/abap/5_syntax/statements/concatenate.js +26 -4
  16. package/build/src/abap/5_syntax/statements/controls.js +6 -6
  17. package/build/src/abap/5_syntax/statements/describe.js +3 -3
  18. package/build/src/abap/5_syntax/statements/find.js +10 -10
  19. package/build/src/abap/5_syntax/statements/get_bit.js +1 -1
  20. package/build/src/abap/5_syntax/statements/get_run_time.js +1 -1
  21. package/build/src/abap/5_syntax/statements/message.js +1 -1
  22. package/build/src/abap/5_syntax/statements/read_table.js +2 -2
  23. package/build/src/abap/5_syntax/statements/split.js +1 -1
  24. package/build/src/abap/5_syntax/structures/type_enum.js +2 -2
  25. package/build/src/abap/types/basic/hex_type.js +1 -1
  26. package/build/src/abap/types/basic/index.js +1 -0
  27. package/build/src/abap/types/basic/integer_type.js +19 -0
  28. package/build/src/abap/types/basic/string_type.js +19 -0
  29. package/build/src/abap/types/basic/xgeneric_type.js +23 -0
  30. package/build/src/ddic.js +5 -4
  31. package/build/src/registry.js +1 -1
  32. package/build/src/rules/align_parameters.js +17 -2
  33. package/build/src/rules/downport.js +4 -0
  34. package/build/src/rules/fully_type_itabs.js +2 -2
  35. package/build/src/rules/select_single_full_key.js +1 -2
  36. package/package.json +4 -2
@@ -139,14 +139,14 @@ class BuiltIn {
139
139
  ret.push(this.buildConstant("abap_undefined", new basic_1.CharacterType(1, { qualifiedName: "ABAP_BOOL", ddicName: "ABAP_BOOL" }), "'-'"));
140
140
  ret.push(this.buildConstant("abap_off", new basic_1.CharacterType(1, { qualifiedName: "ABAP_BOOL", ddicName: "ABAP_BOOL" }), "' '"));
141
141
  ret.push(this.buildConstant("abap_on", new basic_1.CharacterType(1, { qualifiedName: "ABAP_BOOL", ddicName: "ABAP_BOOL" }), "'X'"));
142
- ret.push(this.buildConstant("col_background", new basic_1.IntegerType(), "0"));
143
- ret.push(this.buildConstant("col_heading", new basic_1.IntegerType(), "1"));
144
- ret.push(this.buildConstant("col_key", new basic_1.IntegerType(), "4"));
145
- ret.push(this.buildConstant("col_negative", new basic_1.IntegerType(), "6"));
146
- ret.push(this.buildConstant("col_group", new basic_1.IntegerType(), "7"));
147
- ret.push(this.buildConstant("col_normal", new basic_1.IntegerType(), "2"));
148
- ret.push(this.buildConstant("col_positive", new basic_1.IntegerType(), "5"));
149
- ret.push(this.buildConstant("col_total", new basic_1.IntegerType(), "3"));
142
+ ret.push(this.buildConstant("col_background", basic_1.IntegerType.get(), "0"));
143
+ ret.push(this.buildConstant("col_heading", basic_1.IntegerType.get(), "1"));
144
+ ret.push(this.buildConstant("col_key", basic_1.IntegerType.get(), "4"));
145
+ ret.push(this.buildConstant("col_negative", basic_1.IntegerType.get(), "6"));
146
+ ret.push(this.buildConstant("col_group", basic_1.IntegerType.get(), "7"));
147
+ ret.push(this.buildConstant("col_normal", basic_1.IntegerType.get(), "2"));
148
+ ret.push(this.buildConstant("col_positive", basic_1.IntegerType.get(), "5"));
149
+ ret.push(this.buildConstant("col_total", basic_1.IntegerType.get(), "3"));
150
150
  ret.push(this.buildConstant("space", new basic_1.CharacterType(1, { derivedFromConstant: true }), "' '"));
151
151
  for (const e of extras) {
152
152
  const id = new tokens_1.Identifier(new position_1.Position(this.row++, 1), e);
@@ -158,50 +158,50 @@ class BuiltIn {
158
158
  buildSY() {
159
159
  const components = [];
160
160
  // NOTE: fields must be in correct sequence for the syntax check
161
- components.push({ name: "index", type: new basic_1.IntegerType() });
162
- components.push({ name: "pagno", type: new basic_1.IntegerType() });
163
- components.push({ name: "tabix", type: new basic_1.IntegerType() });
164
- components.push({ name: "tfill", type: new basic_1.IntegerType() });
165
- components.push({ name: "tlopc", type: new basic_1.IntegerType() });
166
- components.push({ name: "tmaxl", type: new basic_1.IntegerType() });
167
- components.push({ name: "toccu", type: new basic_1.IntegerType() });
168
- components.push({ name: "ttabc", type: new basic_1.IntegerType() });
169
- components.push({ name: "tstis", type: new basic_1.IntegerType() });
170
- components.push({ name: "ttabi", type: new basic_1.IntegerType() });
171
- components.push({ name: "dbcnt", type: new basic_1.IntegerType() });
172
- components.push({ name: "fdpos", type: new basic_1.IntegerType() });
173
- components.push({ name: "colno", type: new basic_1.IntegerType() });
174
- components.push({ name: "linct", type: new basic_1.IntegerType() });
175
- components.push({ name: "linno", type: new basic_1.IntegerType() });
176
- components.push({ name: "linsz", type: new basic_1.IntegerType() });
177
- components.push({ name: "pagct", type: new basic_1.IntegerType() });
178
- components.push({ name: "macol", type: new basic_1.IntegerType() });
179
- components.push({ name: "marow", type: new basic_1.IntegerType() });
180
- components.push({ name: "tleng", type: new basic_1.IntegerType() });
181
- components.push({ name: "sfoff", type: new basic_1.IntegerType() });
182
- components.push({ name: "willi", type: new basic_1.IntegerType() });
183
- components.push({ name: "lilli", type: new basic_1.IntegerType() });
184
- components.push({ name: "subrc", type: new basic_1.IntegerType() });
185
- components.push({ name: "fleng", type: new basic_1.IntegerType() });
186
- components.push({ name: "cucol", type: new basic_1.IntegerType() });
187
- components.push({ name: "curow", type: new basic_1.IntegerType() });
188
- components.push({ name: "lsind", type: new basic_1.IntegerType() });
189
- components.push({ name: "listi", type: new basic_1.IntegerType() });
190
- components.push({ name: "stepl", type: new basic_1.IntegerType() });
191
- components.push({ name: "tpagi", type: new basic_1.IntegerType() });
192
- components.push({ name: "winx1", type: new basic_1.IntegerType() });
193
- components.push({ name: "winy1", type: new basic_1.IntegerType() });
194
- components.push({ name: "winx2", type: new basic_1.IntegerType() });
195
- components.push({ name: "winy2", type: new basic_1.IntegerType() });
196
- components.push({ name: "winco", type: new basic_1.IntegerType() });
197
- components.push({ name: "winro", type: new basic_1.IntegerType() });
198
- components.push({ name: "windi", type: new basic_1.IntegerType() });
199
- components.push({ name: "srows", type: new basic_1.IntegerType() });
200
- components.push({ name: "scols", type: new basic_1.IntegerType() });
201
- components.push({ name: "loopc", type: new basic_1.IntegerType() });
202
- components.push({ name: "folen", type: new basic_1.IntegerType() });
203
- components.push({ name: "fodec", type: new basic_1.IntegerType() });
204
- components.push({ name: "tzone", type: new basic_1.IntegerType() });
161
+ components.push({ name: "index", type: basic_1.IntegerType.get() });
162
+ components.push({ name: "pagno", type: basic_1.IntegerType.get() });
163
+ components.push({ name: "tabix", type: basic_1.IntegerType.get() });
164
+ components.push({ name: "tfill", type: basic_1.IntegerType.get() });
165
+ components.push({ name: "tlopc", type: basic_1.IntegerType.get() });
166
+ components.push({ name: "tmaxl", type: basic_1.IntegerType.get() });
167
+ components.push({ name: "toccu", type: basic_1.IntegerType.get() });
168
+ components.push({ name: "ttabc", type: basic_1.IntegerType.get() });
169
+ components.push({ name: "tstis", type: basic_1.IntegerType.get() });
170
+ components.push({ name: "ttabi", type: basic_1.IntegerType.get() });
171
+ components.push({ name: "dbcnt", type: basic_1.IntegerType.get() });
172
+ components.push({ name: "fdpos", type: basic_1.IntegerType.get() });
173
+ components.push({ name: "colno", type: basic_1.IntegerType.get() });
174
+ components.push({ name: "linct", type: basic_1.IntegerType.get() });
175
+ components.push({ name: "linno", type: basic_1.IntegerType.get() });
176
+ components.push({ name: "linsz", type: basic_1.IntegerType.get() });
177
+ components.push({ name: "pagct", type: basic_1.IntegerType.get() });
178
+ components.push({ name: "macol", type: basic_1.IntegerType.get() });
179
+ components.push({ name: "marow", type: basic_1.IntegerType.get() });
180
+ components.push({ name: "tleng", type: basic_1.IntegerType.get() });
181
+ components.push({ name: "sfoff", type: basic_1.IntegerType.get() });
182
+ components.push({ name: "willi", type: basic_1.IntegerType.get() });
183
+ components.push({ name: "lilli", type: basic_1.IntegerType.get() });
184
+ components.push({ name: "subrc", type: basic_1.IntegerType.get() });
185
+ components.push({ name: "fleng", type: basic_1.IntegerType.get() });
186
+ components.push({ name: "cucol", type: basic_1.IntegerType.get() });
187
+ components.push({ name: "curow", type: basic_1.IntegerType.get() });
188
+ components.push({ name: "lsind", type: basic_1.IntegerType.get() });
189
+ components.push({ name: "listi", type: basic_1.IntegerType.get() });
190
+ components.push({ name: "stepl", type: basic_1.IntegerType.get() });
191
+ components.push({ name: "tpagi", type: basic_1.IntegerType.get() });
192
+ components.push({ name: "winx1", type: basic_1.IntegerType.get() });
193
+ components.push({ name: "winy1", type: basic_1.IntegerType.get() });
194
+ components.push({ name: "winx2", type: basic_1.IntegerType.get() });
195
+ components.push({ name: "winy2", type: basic_1.IntegerType.get() });
196
+ components.push({ name: "winco", type: basic_1.IntegerType.get() });
197
+ components.push({ name: "winro", type: basic_1.IntegerType.get() });
198
+ components.push({ name: "windi", type: basic_1.IntegerType.get() });
199
+ components.push({ name: "srows", type: basic_1.IntegerType.get() });
200
+ components.push({ name: "scols", type: basic_1.IntegerType.get() });
201
+ components.push({ name: "loopc", type: basic_1.IntegerType.get() });
202
+ components.push({ name: "folen", type: basic_1.IntegerType.get() });
203
+ components.push({ name: "fodec", type: basic_1.IntegerType.get() });
204
+ components.push({ name: "tzone", type: basic_1.IntegerType.get() });
205
205
  components.push({ name: "dayst", type: new basic_1.CharacterType(1) });
206
206
  components.push({ name: "ftype", type: new basic_1.CharacterType(1) });
207
207
  components.push({ name: "appli", type: new basic_1.HexType(2) });
@@ -212,7 +212,7 @@ class BuiltIn {
212
212
  components.push({ name: "ctype", type: new basic_1.CharacterType(1) });
213
213
  components.push({ name: "input", type: new basic_1.CharacterType(1, { qualifiedName: "sy-input" }) });
214
214
  components.push({ name: "langu", type: new basic_1.CharacterType(1, { qualifiedName: "sy-langu", conversionExit: "ISOLA" }) });
215
- components.push({ name: "modno", type: new basic_1.IntegerType() });
215
+ components.push({ name: "modno", type: basic_1.IntegerType.get() });
216
216
  components.push({ name: "batch", type: new basic_1.CharacterType(1, { qualifiedName: "sy-batch" }) });
217
217
  components.push({ name: "binpt", type: new basic_1.CharacterType(1, { qualifiedName: "sy-binpt" }) });
218
218
  components.push({ name: "calld", type: new basic_1.CharacterType(1, { qualifiedName: "sy-calld" }) });
@@ -222,7 +222,7 @@ class BuiltIn {
222
222
  components.push({ name: "pri40", type: new basic_1.CharacterType(1) });
223
223
  components.push({ name: "rstrt", type: new basic_1.CharacterType(1) });
224
224
  components.push({ name: "wtitl", type: new basic_1.CharacterType(1, { qualifiedName: "sy-wtitl" }) });
225
- components.push({ name: "cpage", type: new basic_1.IntegerType() });
225
+ components.push({ name: "cpage", type: basic_1.IntegerType.get() });
226
226
  components.push({ name: "dbnam", type: new basic_1.CharacterType(20, { qualifiedName: "sy-dbnam" }) });
227
227
  components.push({ name: "mandt", type: new basic_1.CharacterType(3, { qualifiedName: "sy-mandt" }) });
228
228
  components.push({ name: "prefx", type: new basic_1.CharacterType(3) });
@@ -320,8 +320,8 @@ class BuiltIn {
320
320
  components.push({ name: "oncom", type: new basic_1.CharacterType(1) });
321
321
  components.push({ name: "vline", type: new basic_1.CharacterType(1, { qualifiedName: "sy-vline" }) });
322
322
  components.push({ name: "winsl", type: new basic_1.CharacterType(79) });
323
- components.push({ name: "staco", type: new basic_1.IntegerType() });
324
- components.push({ name: "staro", type: new basic_1.IntegerType() });
323
+ components.push({ name: "staco", type: basic_1.IntegerType.get() });
324
+ components.push({ name: "staro", type: basic_1.IntegerType.get() });
325
325
  components.push({ name: "datar", type: new basic_1.CharacterType(1, { qualifiedName: "sy-datar" }) });
326
326
  components.push({ name: "host", type: new basic_1.CharacterType(32, { qualifiedName: "sy-host" }) });
327
327
  components.push({ name: "locdb", type: new basic_1.CharacterType(1) });
@@ -364,7 +364,7 @@ BuiltIn.methods = [
364
364
  mandatory: {
365
365
  "val": new basic_1.FloatType(),
366
366
  },
367
- return: new basic_1.IntegerType(),
367
+ return: basic_1.IntegerType.get(),
368
368
  },
369
369
  {
370
370
  name: "ACOS",
@@ -390,7 +390,7 @@ BuiltIn.methods = [
390
390
  {
391
391
  name: "BIT-SET",
392
392
  mandatory: {
393
- "val": new basic_1.IntegerType(),
393
+ "val": basic_1.IntegerType.get(),
394
394
  },
395
395
  return: new basic_1.XStringType(),
396
396
  version: version_1.Version.v702,
@@ -400,7 +400,7 @@ BuiltIn.methods = [
400
400
  mandatory: {
401
401
  "val": new basic_1.CLikeType(),
402
402
  },
403
- return: new basic_1.StringType(),
403
+ return: basic_1.StringType.get(),
404
404
  version: version_1.Version.v702,
405
405
  },
406
406
  {
@@ -409,7 +409,7 @@ BuiltIn.methods = [
409
409
  "bool": new basic_1.CLikeType(),
410
410
  },
411
411
  optional: {
412
- "bit": new basic_1.IntegerType(),
412
+ "bit": basic_1.IntegerType.get(),
413
413
  },
414
414
  return: new basic_1.XStringType(),
415
415
  version: version_1.Version.v702,
@@ -419,18 +419,18 @@ BuiltIn.methods = [
419
419
  mandatory: {
420
420
  "val": new basic_1.FloatType(),
421
421
  },
422
- return: new basic_1.IntegerType(),
422
+ return: basic_1.IntegerType.get(),
423
423
  },
424
424
  {
425
425
  name: "CHAR_OFF",
426
426
  mandatory: {
427
427
  "val": new basic_1.CLikeType(),
428
- "add": new basic_1.IntegerType(),
428
+ "add": basic_1.IntegerType.get(),
429
429
  },
430
430
  optional: {
431
- "off": new basic_1.IntegerType(),
431
+ "off": basic_1.IntegerType.get(),
432
432
  },
433
- return: new basic_1.IntegerType(),
433
+ return: basic_1.IntegerType.get(),
434
434
  version: version_1.Version.v702,
435
435
  },
436
436
  {
@@ -438,7 +438,7 @@ BuiltIn.methods = [
438
438
  mandatory: {
439
439
  "val": new basic_1.CLikeType(),
440
440
  },
441
- return: new basic_1.IntegerType(),
441
+ return: basic_1.IntegerType.get(),
442
442
  },
443
443
  {
444
444
  name: "CMAX",
@@ -454,7 +454,7 @@ BuiltIn.methods = [
454
454
  "val7": new basic_1.CLikeType(),
455
455
  "val9": new basic_1.CLikeType(),
456
456
  },
457
- return: new basic_1.StringType(),
457
+ return: basic_1.StringType.get(),
458
458
  version: version_1.Version.v702,
459
459
  },
460
460
  {
@@ -471,7 +471,7 @@ BuiltIn.methods = [
471
471
  "val7": new basic_1.CLikeType(),
472
472
  "val9": new basic_1.CLikeType(),
473
473
  },
474
- return: new basic_1.StringType(),
474
+ return: basic_1.StringType.get(),
475
475
  version: version_1.Version.v702,
476
476
  },
477
477
  {
@@ -482,7 +482,7 @@ BuiltIn.methods = [
482
482
  optional: {
483
483
  "sep": new basic_1.CLikeType(),
484
484
  },
485
- return: new basic_1.StringType(),
485
+ return: basic_1.StringType.get(),
486
486
  version: version_1.Version.v702,
487
487
  },
488
488
  {
@@ -495,7 +495,7 @@ BuiltIn.methods = [
495
495
  "from": new basic_1.CLikeType(),
496
496
  "to": new basic_1.CLikeType(),
497
497
  },
498
- return: new basic_1.StringType(),
498
+ return: basic_1.StringType.get(),
499
499
  version: version_1.Version.v702,
500
500
  },
501
501
  {
@@ -510,9 +510,9 @@ BuiltIn.methods = [
510
510
  "regex": new basic_1.CLikeType(),
511
511
  "pcre": new basic_1.CLikeType(),
512
512
  "case": new basic_1.CharacterType(1),
513
- "off": new basic_1.IntegerType(),
514
- "len": new basic_1.IntegerType(),
515
- "occ": new basic_1.IntegerType(),
513
+ "off": basic_1.IntegerType.get(),
514
+ "len": basic_1.IntegerType.get(),
515
+ "occ": basic_1.IntegerType.get(),
516
516
  },
517
517
  return: new basic_1.CharacterType(1),
518
518
  predicate: true,
@@ -527,9 +527,9 @@ BuiltIn.methods = [
527
527
  "sub": new basic_1.CLikeType(),
528
528
  "start": new basic_1.CLikeType(),
529
529
  "end": new basic_1.CLikeType(),
530
- "off": new basic_1.IntegerType(),
531
- "len": new basic_1.IntegerType(),
532
- "occ": new basic_1.IntegerType(),
530
+ "off": basic_1.IntegerType.get(),
531
+ "len": basic_1.IntegerType.get(),
532
+ "occ": basic_1.IntegerType.get(),
533
533
  },
534
534
  predicate: true,
535
535
  return: new basic_1.CharacterType(1), version: version_1.Version.v702,
@@ -543,9 +543,9 @@ BuiltIn.methods = [
543
543
  "sub": new basic_1.CLikeType(),
544
544
  "start": new basic_1.CLikeType(),
545
545
  "end": new basic_1.CLikeType(),
546
- "off": new basic_1.IntegerType(),
547
- "len": new basic_1.IntegerType(),
548
- "occ": new basic_1.IntegerType(),
546
+ "off": basic_1.IntegerType.get(),
547
+ "len": basic_1.IntegerType.get(),
548
+ "occ": basic_1.IntegerType.get(),
549
549
  },
550
550
  return: new basic_1.CharacterType(1),
551
551
  predicate: true,
@@ -575,10 +575,10 @@ BuiltIn.methods = [
575
575
  "regex": new basic_1.CLikeType(),
576
576
  "pcre": new basic_1.CLikeType(),
577
577
  "case": new basic_1.CharacterType(1),
578
- "off": new basic_1.IntegerType(),
579
- "len": new basic_1.IntegerType(),
578
+ "off": basic_1.IntegerType.get(),
579
+ "len": basic_1.IntegerType.get(),
580
580
  },
581
- return: new basic_1.IntegerType(),
581
+ return: basic_1.IntegerType.get(),
582
582
  version: version_1.Version.v702,
583
583
  },
584
584
  {
@@ -591,10 +591,10 @@ BuiltIn.methods = [
591
591
  "regex": new basic_1.CLikeType(),
592
592
  "pcre": new basic_1.CLikeType(),
593
593
  "case": new basic_1.CharacterType(1),
594
- "off": new basic_1.IntegerType(),
595
- "len": new basic_1.IntegerType(),
594
+ "off": basic_1.IntegerType.get(),
595
+ "len": basic_1.IntegerType.get(),
596
596
  },
597
- return: new basic_1.IntegerType(),
597
+ return: basic_1.IntegerType.get(),
598
598
  version: version_1.Version.v702,
599
599
  },
600
600
  {
@@ -607,10 +607,10 @@ BuiltIn.methods = [
607
607
  "regex": new basic_1.CLikeType(),
608
608
  "pcre": new basic_1.CLikeType(),
609
609
  "case": new basic_1.CharacterType(1),
610
- "off": new basic_1.IntegerType(),
611
- "len": new basic_1.IntegerType(),
610
+ "off": basic_1.IntegerType.get(),
611
+ "len": basic_1.IntegerType.get(),
612
612
  },
613
- return: new basic_1.IntegerType(),
613
+ return: basic_1.IntegerType.get(),
614
614
  version: version_1.Version.v702,
615
615
  },
616
616
  {
@@ -618,7 +618,7 @@ BuiltIn.methods = [
618
618
  mandatory: {
619
619
  "val": new basic_1.CLikeType(),
620
620
  },
621
- return: new basic_1.IntegerType(),
621
+ return: basic_1.IntegerType.get(),
622
622
  },
623
623
  {
624
624
  name: "DISTANCE",
@@ -626,7 +626,7 @@ BuiltIn.methods = [
626
626
  "val1": new basic_1.CLikeType(),
627
627
  "val2": new basic_1.CLikeType(),
628
628
  },
629
- return: new basic_1.IntegerType(),
629
+ return: basic_1.IntegerType.get(),
630
630
  version: version_1.Version.v702,
631
631
  },
632
632
  {
@@ -635,7 +635,7 @@ BuiltIn.methods = [
635
635
  "val": new basic_1.CLikeType(),
636
636
  "format": new basic_1.CLikeType(),
637
637
  },
638
- return: new basic_1.StringType(),
638
+ return: basic_1.StringType.get(),
639
639
  version: version_1.Version.v702,
640
640
  },
641
641
  {
@@ -655,11 +655,11 @@ BuiltIn.methods = [
655
655
  "regex": new basic_1.CLikeType(),
656
656
  "pcre": new basic_1.CLikeType(),
657
657
  "case": new basic_1.CharacterType(1),
658
- "off": new basic_1.IntegerType(),
659
- "len": new basic_1.IntegerType(),
660
- "occ": new basic_1.IntegerType(),
658
+ "off": basic_1.IntegerType.get(),
659
+ "len": basic_1.IntegerType.get(),
660
+ "occ": basic_1.IntegerType.get(),
661
661
  },
662
- return: new basic_1.IntegerType(),
662
+ return: basic_1.IntegerType.get(),
663
663
  version: version_1.Version.v702,
664
664
  },
665
665
  {
@@ -669,11 +669,11 @@ BuiltIn.methods = [
669
669
  },
670
670
  optional: {
671
671
  "sub": new basic_1.CLikeType(),
672
- "off": new basic_1.IntegerType(),
673
- "len": new basic_1.IntegerType(),
674
- "occ": new basic_1.IntegerType(),
672
+ "off": basic_1.IntegerType.get(),
673
+ "len": basic_1.IntegerType.get(),
674
+ "occ": basic_1.IntegerType.get(),
675
675
  },
676
- return: new basic_1.IntegerType(),
676
+ return: basic_1.IntegerType.get(),
677
677
  version: version_1.Version.v702,
678
678
  },
679
679
  {
@@ -683,11 +683,11 @@ BuiltIn.methods = [
683
683
  },
684
684
  optional: {
685
685
  "sub": new basic_1.CLikeType(),
686
- "off": new basic_1.IntegerType(),
687
- "len": new basic_1.IntegerType(),
688
- "occ": new basic_1.IntegerType(),
686
+ "off": basic_1.IntegerType.get(),
687
+ "len": basic_1.IntegerType.get(),
688
+ "occ": basic_1.IntegerType.get(),
689
689
  },
690
- return: new basic_1.IntegerType(),
690
+ return: basic_1.IntegerType.get(),
691
691
  version: version_1.Version.v702,
692
692
  },
693
693
  {
@@ -700,11 +700,11 @@ BuiltIn.methods = [
700
700
  "regex": new basic_1.CLikeType(),
701
701
  "pcre": new basic_1.CLikeType(),
702
702
  "case": new basic_1.CharacterType(1),
703
- "off": new basic_1.IntegerType(),
704
- "len": new basic_1.IntegerType(),
705
- "occ": new basic_1.IntegerType(),
703
+ "off": basic_1.IntegerType.get(),
704
+ "len": basic_1.IntegerType.get(),
705
+ "occ": basic_1.IntegerType.get(),
706
706
  },
707
- return: new basic_1.IntegerType(),
707
+ return: basic_1.IntegerType.get(),
708
708
  version: version_1.Version.v702,
709
709
  },
710
710
  {
@@ -712,14 +712,14 @@ BuiltIn.methods = [
712
712
  mandatory: {
713
713
  "val": new basic_1.FloatType(),
714
714
  },
715
- return: new basic_1.IntegerType(),
715
+ return: basic_1.IntegerType.get(),
716
716
  },
717
717
  {
718
718
  name: "FRAC",
719
719
  mandatory: {
720
720
  "val": new basic_1.FloatType(),
721
721
  },
722
- return: new basic_1.IntegerType(),
722
+ return: basic_1.IntegerType.get(),
723
723
  },
724
724
  {
725
725
  name: "FROM_MIXED",
@@ -728,10 +728,10 @@ BuiltIn.methods = [
728
728
  },
729
729
  optional: {
730
730
  "case": new basic_1.CharacterType(1),
731
- "sep": new basic_1.IntegerType(),
732
- "min": new basic_1.IntegerType(),
731
+ "sep": basic_1.IntegerType.get(),
732
+ "min": basic_1.IntegerType.get(),
733
733
  },
734
- return: new basic_1.StringType(),
734
+ return: basic_1.StringType.get(),
735
735
  version: version_1.Version.v702,
736
736
  },
737
737
  {
@@ -741,9 +741,9 @@ BuiltIn.methods = [
741
741
  "sub": new basic_1.CLikeType(),
742
742
  },
743
743
  optional: {
744
- "off": new basic_1.IntegerType(),
744
+ "off": basic_1.IntegerType.get(),
745
745
  },
746
- return: new basic_1.StringType(),
746
+ return: basic_1.StringType.get(),
747
747
  version: version_1.Version.v702,
748
748
  },
749
749
  {
@@ -752,7 +752,7 @@ BuiltIn.methods = [
752
752
  "base": new basic_1.FloatType(),
753
753
  "exp": new basic_1.FloatType(),
754
754
  },
755
- return: new basic_1.IntegerType(),
755
+ return: basic_1.IntegerType.get(),
756
756
  version: version_1.Version.v740sp02,
757
757
  },
758
758
  {
@@ -769,7 +769,7 @@ BuiltIn.methods = [
769
769
  mandatory: {
770
770
  "val": new basic_1.CLikeType(),
771
771
  },
772
- return: new basic_1.IntegerType(),
772
+ return: basic_1.IntegerType.get(),
773
773
  version: version_1.Version.v740sp02,
774
774
  },
775
775
  {
@@ -777,7 +777,7 @@ BuiltIn.methods = [
777
777
  mandatory: {
778
778
  "val": new basic_1.TableType(new basic_1.AnyType(), { withHeader: false, keyType: basic_1.TableKeyType.default }),
779
779
  },
780
- return: new basic_1.IntegerType(),
780
+ return: basic_1.IntegerType.get(),
781
781
  },
782
782
  {
783
783
  name: "LOG",
@@ -801,9 +801,9 @@ BuiltIn.methods = [
801
801
  "case": new basic_1.CharacterType(1),
802
802
  "regex": new basic_1.CLikeType(),
803
803
  "pcre": new basic_1.CLikeType(),
804
- "occ": new basic_1.IntegerType(),
804
+ "occ": basic_1.IntegerType.get(),
805
805
  },
806
- return: new basic_1.StringType(),
806
+ return: basic_1.StringType.get(),
807
807
  version: version_1.Version.v702,
808
808
  },
809
809
  {
@@ -815,8 +815,8 @@ BuiltIn.methods = [
815
815
  "case": new basic_1.CharacterType(1),
816
816
  "regex": new basic_1.CLikeType(),
817
817
  "pcre": new basic_1.CLikeType(),
818
- "off": new basic_1.IntegerType(),
819
- "len": new basic_1.IntegerType(),
818
+ "off": basic_1.IntegerType.get(),
819
+ "len": basic_1.IntegerType.get(),
820
820
  },
821
821
  return: new basic_1.CharacterType(1),
822
822
  predicate: true,
@@ -837,7 +837,7 @@ BuiltIn.methods = [
837
837
  "val8": new basic_1.CLikeType(),
838
838
  "val9": new basic_1.CLikeType(),
839
839
  },
840
- return: new basic_1.IntegerType(),
840
+ return: basic_1.IntegerType.get(),
841
841
  version: version_1.Version.v702,
842
842
  },
843
843
  {
@@ -855,7 +855,7 @@ BuiltIn.methods = [
855
855
  "val8": new basic_1.CLikeType(),
856
856
  "val9": new basic_1.CLikeType(),
857
857
  },
858
- return: new basic_1.IntegerType(),
858
+ return: basic_1.IntegerType.get(),
859
859
  version: version_1.Version.v702,
860
860
  },
861
861
  {
@@ -863,15 +863,15 @@ BuiltIn.methods = [
863
863
  mandatory: {
864
864
  "val": new basic_1.CLikeType(),
865
865
  },
866
- return: new basic_1.IntegerType(),
866
+ return: basic_1.IntegerType.get(),
867
867
  },
868
868
  {
869
869
  name: "REPEAT",
870
870
  mandatory: {
871
871
  "val": new basic_1.CLikeType(),
872
- "occ": new basic_1.IntegerType(),
872
+ "occ": basic_1.IntegerType.get(),
873
873
  },
874
- return: new basic_1.StringType(),
874
+ return: basic_1.StringType.get(),
875
875
  version: version_1.Version.v702,
876
876
  },
877
877
  {
@@ -885,11 +885,11 @@ BuiltIn.methods = [
885
885
  "regex": new basic_1.CLikeType(),
886
886
  "pcre": new basic_1.CLikeType(),
887
887
  "case": new basic_1.CharacterType(1),
888
- "off": new basic_1.IntegerType(),
889
- "len": new basic_1.IntegerType(),
890
- "occ": new basic_1.IntegerType(),
888
+ "off": basic_1.IntegerType.get(),
889
+ "len": basic_1.IntegerType.get(),
890
+ "occ": basic_1.IntegerType.get(),
891
891
  },
892
- return: new basic_1.StringType(),
892
+ return: basic_1.StringType.get(),
893
893
  version: version_1.Version.v702,
894
894
  },
895
895
  {
@@ -898,9 +898,9 @@ BuiltIn.methods = [
898
898
  "val": new basic_1.FloatType(),
899
899
  },
900
900
  optional: {
901
- "dec": new basic_1.IntegerType(),
902
- "prec": new basic_1.IntegerType(),
903
- "mode": new basic_1.IntegerType(),
901
+ "dec": basic_1.IntegerType.get(),
902
+ "prec": basic_1.IntegerType.get(),
903
+ "mode": basic_1.IntegerType.get(),
904
904
  },
905
905
  return: new basic_1.FloatType(),
906
906
  version: version_1.Version.v702,
@@ -910,7 +910,7 @@ BuiltIn.methods = [
910
910
  mandatory: {
911
911
  "val": new basic_1.CLikeType(),
912
912
  },
913
- return: new basic_1.StringType(),
913
+ return: basic_1.StringType.get(),
914
914
  version: version_1.Version.v702,
915
915
  },
916
916
  {
@@ -919,24 +919,24 @@ BuiltIn.methods = [
919
919
  "val": new basic_1.FloatType(),
920
920
  },
921
921
  optional: {
922
- "dec": new basic_1.IntegerType(),
923
- "prec": new basic_1.IntegerType(),
924
- "mode": new basic_1.IntegerType(),
922
+ "dec": basic_1.IntegerType.get(),
923
+ "prec": basic_1.IntegerType.get(),
924
+ "mode": basic_1.IntegerType.get(),
925
925
  },
926
- return: new basic_1.IntegerType(),
926
+ return: basic_1.IntegerType.get(),
927
927
  version: version_1.Version.v702,
928
928
  },
929
929
  {
930
930
  name: "SEGMENT",
931
931
  mandatory: {
932
932
  "val": new basic_1.CLikeType(),
933
- "index": new basic_1.IntegerType(),
933
+ "index": basic_1.IntegerType.get(),
934
934
  },
935
935
  optional: {
936
936
  "sep": new basic_1.CLikeType(),
937
937
  "space": new basic_1.CLikeType(),
938
938
  },
939
- return: new basic_1.StringType(),
939
+ return: basic_1.StringType.get(),
940
940
  version: version_1.Version.v702,
941
941
  },
942
942
  {
@@ -946,10 +946,10 @@ BuiltIn.methods = [
946
946
  },
947
947
  optional: {
948
948
  "sub": new basic_1.CLikeType(),
949
- "places": new basic_1.IntegerType(),
950
- "circular": new basic_1.IntegerType(),
949
+ "places": basic_1.IntegerType.get(),
950
+ "circular": basic_1.IntegerType.get(),
951
951
  },
952
- return: new basic_1.StringType(),
952
+ return: basic_1.StringType.get(),
953
953
  version: version_1.Version.v702,
954
954
  },
955
955
  {
@@ -959,10 +959,10 @@ BuiltIn.methods = [
959
959
  },
960
960
  optional: {
961
961
  "sub": new basic_1.CLikeType(),
962
- "places": new basic_1.IntegerType(),
963
- "circular": new basic_1.IntegerType(),
962
+ "places": basic_1.IntegerType.get(),
963
+ "circular": basic_1.IntegerType.get(),
964
964
  },
965
- return: new basic_1.StringType(),
965
+ return: basic_1.StringType.get(),
966
966
  version: version_1.Version.v702,
967
967
  },
968
968
  {
@@ -970,7 +970,7 @@ BuiltIn.methods = [
970
970
  mandatory: {
971
971
  "val": new basic_1.FloatType(),
972
972
  },
973
- return: new basic_1.IntegerType(),
973
+ return: basic_1.IntegerType.get(),
974
974
  },
975
975
  {
976
976
  name: "SIN",
@@ -998,7 +998,7 @@ BuiltIn.methods = [
998
998
  mandatory: {
999
999
  "val": new basic_1.CLikeType(),
1000
1000
  },
1001
- return: new basic_1.IntegerType(),
1001
+ return: basic_1.IntegerType.get(),
1002
1002
  },
1003
1003
  {
1004
1004
  name: "SUBSTRING",
@@ -1006,10 +1006,10 @@ BuiltIn.methods = [
1006
1006
  "val": new basic_1.CLikeType(),
1007
1007
  },
1008
1008
  optional: {
1009
- "off": new basic_1.IntegerType(),
1010
- "len": new basic_1.IntegerType(),
1009
+ "off": basic_1.IntegerType.get(),
1010
+ "len": basic_1.IntegerType.get(),
1011
1011
  },
1012
- return: new basic_1.StringType(),
1012
+ return: basic_1.StringType.get(),
1013
1013
  version: version_1.Version.v702,
1014
1014
  },
1015
1015
  {
@@ -1022,10 +1022,10 @@ BuiltIn.methods = [
1022
1022
  "regex": new basic_1.CLikeType(),
1023
1023
  "pcre": new basic_1.CLikeType(),
1024
1024
  "case": new basic_1.CharacterType(1),
1025
- "len": new basic_1.IntegerType(),
1026
- "occ": new basic_1.IntegerType(),
1025
+ "len": basic_1.IntegerType.get(),
1026
+ "occ": basic_1.IntegerType.get(),
1027
1027
  },
1028
- return: new basic_1.StringType(),
1028
+ return: basic_1.StringType.get(),
1029
1029
  version: version_1.Version.v702,
1030
1030
  },
1031
1031
  {
@@ -1038,10 +1038,10 @@ BuiltIn.methods = [
1038
1038
  "regex": new basic_1.CLikeType(),
1039
1039
  "pcre": new basic_1.CLikeType(),
1040
1040
  "case": new basic_1.CharacterType(1),
1041
- "len": new basic_1.IntegerType(),
1042
- "occ": new basic_1.IntegerType(),
1041
+ "len": basic_1.IntegerType.get(),
1042
+ "occ": basic_1.IntegerType.get(),
1043
1043
  },
1044
- return: new basic_1.StringType(),
1044
+ return: basic_1.StringType.get(),
1045
1045
  version: version_1.Version.v702,
1046
1046
  },
1047
1047
  {
@@ -1054,10 +1054,10 @@ BuiltIn.methods = [
1054
1054
  "regex": new basic_1.CLikeType(),
1055
1055
  "pcre": new basic_1.CLikeType(),
1056
1056
  "case": new basic_1.CharacterType(1),
1057
- "len": new basic_1.IntegerType(),
1058
- "occ": new basic_1.IntegerType(),
1057
+ "len": basic_1.IntegerType.get(),
1058
+ "occ": basic_1.IntegerType.get(),
1059
1059
  },
1060
- return: new basic_1.StringType(),
1060
+ return: basic_1.StringType.get(),
1061
1061
  version: version_1.Version.v702,
1062
1062
  },
1063
1063
  {
@@ -1070,10 +1070,10 @@ BuiltIn.methods = [
1070
1070
  "regex": new basic_1.CLikeType(),
1071
1071
  "pcre": new basic_1.CLikeType(),
1072
1072
  "case": new basic_1.CharacterType(1),
1073
- "len": new basic_1.IntegerType(),
1074
- "occ": new basic_1.IntegerType(),
1073
+ "len": basic_1.IntegerType.get(),
1074
+ "occ": basic_1.IntegerType.get(),
1075
1075
  },
1076
- return: new basic_1.StringType(),
1076
+ return: basic_1.StringType.get(),
1077
1077
  version: version_1.Version.v702,
1078
1078
  },
1079
1079
  {
@@ -1095,7 +1095,7 @@ BuiltIn.methods = [
1095
1095
  mandatory: {
1096
1096
  "val": new basic_1.CLikeType(),
1097
1097
  },
1098
- return: new basic_1.StringType(),
1098
+ return: basic_1.StringType.get(),
1099
1099
  version: version_1.Version.v702,
1100
1100
  },
1101
1101
  {
@@ -1105,16 +1105,16 @@ BuiltIn.methods = [
1105
1105
  },
1106
1106
  optional: {
1107
1107
  "case": new basic_1.CharacterType(1),
1108
- "sep": new basic_1.IntegerType(),
1109
- "min": new basic_1.IntegerType(),
1108
+ "sep": basic_1.IntegerType.get(),
1109
+ "min": basic_1.IntegerType.get(),
1110
1110
  },
1111
- return: new basic_1.StringType(),
1111
+ return: basic_1.StringType.get(),
1112
1112
  version: version_1.Version.v702,
1113
1113
  },
1114
1114
  {
1115
1115
  name: "TO_UPPER",
1116
1116
  mandatory: { "val": new basic_1.CLikeType() },
1117
- return: new basic_1.StringType(),
1117
+ return: basic_1.StringType.get(),
1118
1118
  version: version_1.Version.v702,
1119
1119
  },
1120
1120
  {
@@ -1124,7 +1124,7 @@ BuiltIn.methods = [
1124
1124
  "from": new basic_1.CLikeType(),
1125
1125
  "to": new basic_1.CLikeType(),
1126
1126
  },
1127
- return: new basic_1.StringType(),
1127
+ return: basic_1.StringType.get(),
1128
1128
  version: version_1.Version.v702,
1129
1129
  },
1130
1130
  {
@@ -1132,7 +1132,7 @@ BuiltIn.methods = [
1132
1132
  mandatory: {
1133
1133
  "val": new basic_1.FloatType(),
1134
1134
  },
1135
- return: new basic_1.IntegerType(),
1135
+ return: basic_1.IntegerType.get(),
1136
1136
  },
1137
1137
  {
1138
1138
  name: "UTCLONG_ADD",
@@ -1140,9 +1140,9 @@ BuiltIn.methods = [
1140
1140
  "val": new basic_1.UTCLongType(),
1141
1141
  },
1142
1142
  optional: {
1143
- "days": new basic_1.IntegerType(),
1144
- "hour": new basic_1.IntegerType(),
1145
- "minutes": new basic_1.IntegerType(),
1143
+ "days": basic_1.IntegerType.get(),
1144
+ "hour": basic_1.IntegerType.get(),
1145
+ "minutes": basic_1.IntegerType.get(),
1146
1146
  "seconds": new basic_1.FloatType(),
1147
1147
  },
1148
1148
  return: new basic_1.UTCLongType(),
@@ -1175,7 +1175,7 @@ BuiltIn.methods = [
1175
1175
  mandatory: {
1176
1176
  "val": new basic_1.XSequenceType(),
1177
1177
  },
1178
- return: new basic_1.IntegerType(),
1178
+ return: basic_1.IntegerType.get(),
1179
1179
  },
1180
1180
  ];
1181
1181
  //# sourceMappingURL=_builtin.js.map