abl-tmlanguage 1.3.16 → 1.3.19

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 (92) hide show
  1. package/.github/workflows/ci.yml +36 -0
  2. package/CHANGELOG.md +10 -0
  3. package/README.md +17 -12
  4. package/abl.tmLanguage.json +258 -83
  5. package/package.json +1 -1
  6. package/spec/annotations/annotation.spec.js +49 -50
  7. package/spec/blocks/block-labels.spec.js +3 -3
  8. package/spec/blocks/block-options.spec.js +9 -7
  9. package/spec/comments/comment-in-block-statement.spec.js +20 -14
  10. package/spec/comments/comment-in-for-each.spec.js +9 -6
  11. package/spec/comments/comment-in-function-args.spec.js +4 -5
  12. package/spec/comments/vscode-abl-issue#127.spec.js +4 -4
  13. package/spec/create-widgets/create-window.spec.js +11 -8
  14. package/spec/db-table-and-field/buffer-copy.spec.js +45 -39
  15. package/spec/db-table-and-field/create-alias.spec.js +3 -3
  16. package/spec/db-table-and-field/field-in-function.spec.js +6 -6
  17. package/spec/db-table-and-field/foreach.spec.js +3 -3
  18. package/spec/db-table-and-field/issue#88.spec.js +2 -2
  19. package/spec/db-table-and-field/new-record.spec.js +46 -25
  20. package/spec/define/define-browse.spec.js +54 -54
  21. package/spec/define/define-button.spec.js +3 -3
  22. package/spec/define-buffer/create-buffer.spec.js +48 -3
  23. package/spec/define-buffer/simple-single-line.spec.js +9 -9
  24. package/spec/define-frame/issue#173.spec.js +56 -50
  25. package/spec/define-parameter/simple-single-line.spec.js +3 -3
  26. package/spec/define-property/property-getter.spec.js +4 -4
  27. package/spec/define-temp-table/define-dataset.spec.js +23 -17
  28. package/spec/define-temp-table/define-temp-table.spec.js +68 -53
  29. package/spec/define-variable/extent.spec.js +6 -6
  30. package/spec/define-variable/initial.spec.js +15 -15
  31. package/spec/define-variable/issue#6.spec.js +39 -39
  32. package/spec/define-variable/issue#9.spec.js +3 -3
  33. package/spec/define-variable/var-statement.spec.js +7 -4
  34. package/spec/do/do-blocks.spec.js +24 -18
  35. package/spec/for-each/issue#321.spec.js +2 -2
  36. package/spec/function-call/can-find.spec.js +10 -11
  37. package/spec/function-call/misc-abl-functions.spec.js +3 -3
  38. package/spec/function-call/nested-functions.spec.js +21 -22
  39. package/spec/function-call/udf-calls.spec.js +22 -23
  40. package/spec/function-call/vscode-abl-issue#19.spec.js +12 -12
  41. package/spec/global-scoped-define/global-define.spec.js +54 -7
  42. package/spec/global-scoped-define/scoped-define-with-procedure-keyword.spec.js +49 -15
  43. package/spec/global-scoped-define/undefine.spec.js +44 -0
  44. package/spec/include/abl-tmlanguage-issues#5.spec.js +3 -3
  45. package/spec/include/include-file-name.spec.js +16 -4
  46. package/spec/include/unnamed-arguments.spec.js +4 -5
  47. package/spec/include/vscode-abl-issue#45.spec.js +3 -3
  48. package/spec/include/vscode-abl-issue#77.spec.js +16 -17
  49. package/spec/include/vscode-abl-issue#80.spec.js +10 -7
  50. package/spec/input-output/input-from.spec.js +19 -16
  51. package/spec/input-output/output-to.spec.js +15 -15
  52. package/spec/method-attribute-property-call/abl-method-attribute-call.spec.js +16 -17
  53. package/spec/method-attribute-property-call/connected-method.spec.js +3 -4
  54. package/spec/method-attribute-property-call/datset-table-attribute-method-call.spec.js +12 -12
  55. package/spec/method-attribute-property-call/method-call.spec.js +16 -16
  56. package/spec/method-attribute-property-call/unqualified-method-call.spec.js +3 -4
  57. package/spec/method-definition/constructor.spec.js +6 -6
  58. package/spec/method-definition/method.spec.js +12 -12
  59. package/spec/misc-statements/case-statement.spec.js +9 -9
  60. package/spec/misc-statements/class-in-var-name.spec.js +8 -9
  61. package/spec/misc-statements/copy-lob.spec.js +3 -3
  62. package/spec/misc-statements/do-in-name.spec.js +21 -22
  63. package/spec/misc-statements/event-subscribe.spec.js +14 -15
  64. package/spec/misc-statements/export-delimiter.spec.js +6 -6
  65. package/spec/misc-statements/if-then.spec.js +9 -9
  66. package/spec/misc-statements/issue#173.spec.js +3 -4
  67. package/spec/misc-statements/message-statement.spec.js +3 -3
  68. package/spec/misc-statements/record-buffer-functions.spec.js +3 -3
  69. package/spec/misc-statements/release.spec.js +3 -4
  70. package/spec/misc-statements/skip-statement-and-fuction.spec.js +3 -4
  71. package/spec/numbers/scientific-notation.spec.js +212 -0
  72. package/spec/operators/operators.spec.js +10 -10
  73. package/spec/preprocesors/issue166.spec.js +27 -19
  74. package/spec/preprocesors/preprocessor-functions.spec.js +77 -0
  75. package/spec/preprocesors/proparse-preprocessor.spec.js +27 -3
  76. package/spec/procedure-definition/trigger-procedure.spec.js +8 -2
  77. package/spec/procedure-definition/vscode-abl-issue#22.spec.js +3 -3
  78. package/spec/procedure-definition/vscode-abl-issue#26.spec.js +4 -4
  79. package/spec/procedure-definition/vscode-abl-issue#325.spec.js +26 -2
  80. package/spec/procedure-definition/vscode-abl-issue#62.spec.js +7 -4
  81. package/spec/run-statement/run-statement.spec.js +25 -13
  82. package/spec/strings/translation-attribute.spec.js +4 -4
  83. package/spec/strings/vscode-abl-issue#11.spec.js +24 -24
  84. package/spec/strings/vscode-abl-issue#28.spec.js +9 -9
  85. package/spec/type-name/argument.spec.js +11 -12
  86. package/spec/type-name/cast.spec.js +7 -7
  87. package/spec/type-name/define-class.spec.js +89 -2
  88. package/spec/type-name/define-temp-table.spec.js +6 -6
  89. package/spec/type-name/new.spec.js +3 -3
  90. package/spec/type-name/parameter-as.spec.js +6 -6
  91. package/spec/type-name/type-name.spec.js +21 -19
  92. package/spec/type-name/using.spec.js +32 -0
@@ -6,19 +6,19 @@ describe('', () => {
6
6
  let expectedTokens = [
7
7
  { "startIndex": 0, "endIndex": 7, "scopes": ["source.abl", "meta.function-call.abl", "support.function.abl"] }, // 'replace'
8
8
  { "startIndex": 7, "endIndex": 8, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
9
- { "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
10
- { "startIndex": 9, "endIndex": 12, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.complex.abl"] }, // '123'
11
- { "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
9
+ { "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
10
+ { "startIndex": 9, "endIndex": 12, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // '123'
11
+ { "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
12
12
  { "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
13
13
  { "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl"] }, // ' '
14
- { "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
15
- { "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.complex.abl"] }, // '1'
16
- { "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
14
+ { "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
15
+ { "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // '1'
16
+ { "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
17
17
  { "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
18
18
  { "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl"] }, // ' '
19
- { "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
20
- { "startIndex": 21, "endIndex": 22, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.complex.abl"] }, // ')'
21
- { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
19
+ { "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
20
+ { "startIndex": 21, "endIndex": 22, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // ')'
21
+ { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
22
22
  { "startIndex": 23, "endIndex": 24, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // ')'
23
23
  { "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "punctuation.terminator.abl"] }, // '.'
24
24
  { "startIndex": 25, "endIndex": 26, "scopes": ["source.abl"] }, // ' '
@@ -29,10 +29,10 @@ describe('', () => {
29
29
  { "startIndex": 3, "endIndex": 4, "scopes": ["source.abl"] }, // ' '
30
30
  { "startIndex": 4, "endIndex": 11, "scopes": ["source.abl", "entity.name.type.abl"] }, // 'foo.bar'
31
31
  { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
32
- { "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
33
- { "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.complex.abl"] }, // 'y'
34
- { "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
35
- { "startIndex": 15, "endIndex": 18, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.complex.abl", "support.other.abl"] }, // ':L9'
32
+ { "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
33
+ { "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'y'
34
+ { "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
35
+ { "startIndex": 15, "endIndex": 18, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "support.other.abl"] }, // ':L9'
36
36
  { "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
37
37
  { "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
38
38
  { "startIndex": 20, "endIndex": 23, "scopes": ["source.abl", "meta.function.arguments.abl", "keyword.other.abl"] }, // 'new'
@@ -149,9 +149,9 @@ describe('', () => {
149
149
  { "startIndex": 7, "endIndex": 8, "scopes": ["source.abl", "meta.function-call.abl", "variable.other.abl"] }, // 'q'
150
150
  { "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.function-call.abl", "punctuation.separator.comma.abl"] }, // ','
151
151
  { "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.function-call.abl"] }, // ' '
152
- { "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "meta.function-call.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
153
- { "startIndex": 11, "endIndex": 22, "scopes": ["source.abl", "meta.function-call.abl", "string.double.complex.abl"] }, // 'foo.bar.baz'
154
- { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "meta.function-call.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
152
+ { "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "meta.function-call.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
153
+ { "startIndex": 11, "endIndex": 22, "scopes": ["source.abl", "meta.function-call.abl", "string.quoted.double.abl"] }, // 'foo.bar.baz'
154
+ { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "meta.function-call.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
155
155
  { "startIndex": 23, "endIndex": 24, "scopes": ["source.abl", "meta.function-call.abl"] }, // ' '
156
156
  { "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // ')'
157
157
  { "startIndex": 25, "endIndex": 27, "scopes": ["source.abl"] } // ' '
@@ -170,10 +170,10 @@ describe('', () => {
170
170
  { "startIndex": 7, "endIndex": 8, "scopes": ["source.abl", "meta.function-call.abl", "variable.other.abl"] }, // 'q'
171
171
  { "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.function-call.abl", "punctuation.separator.comma.abl"] }, // ','
172
172
  { "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.function-call.abl"] }, // ' '
173
- { "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "meta.function-call.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
174
- { "startIndex": 11, "endIndex": 22, "scopes": ["source.abl", "meta.function-call.abl", "string.double.complex.abl"] }, // 'foo.bar.baz'
175
- { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "meta.function-call.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
176
- { "startIndex": 23, "endIndex": 25, "scopes": ["source.abl", "meta.function-call.abl", "string.double.complex.abl", "support.other.abl"] }, // ':u'
173
+ { "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "meta.function-call.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
174
+ { "startIndex": 11, "endIndex": 22, "scopes": ["source.abl", "meta.function-call.abl", "string.quoted.double.abl"] }, // 'foo.bar.baz'
175
+ { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "meta.function-call.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
176
+ { "startIndex": 23, "endIndex": 25, "scopes": ["source.abl", "meta.function-call.abl", "string.quoted.double.abl", "support.other.abl"] }, // ':u'
177
177
  { "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "meta.function-call.abl"] }, // ' '
178
178
  { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // ')'
179
179
  { "startIndex": 27, "endIndex": 29, "scopes": ["source.abl"] } // ' '
@@ -205,4 +205,3 @@ describe('', () => {
205
205
  ];
206
206
  shared.itShouldMatchExpectedScopes(statement, expectedTokens);
207
207
  })
208
-
@@ -105,9 +105,9 @@ describe('', () => {
105
105
  { "startIndex": 7, "endIndex": 8, "scopes": ["source.abl", "meta.function-call.abl", "variable.other.abl"] }, // 'q'
106
106
  { "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.function-call.abl", "punctuation.separator.comma.abl"] }, // ','
107
107
  { "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.function-call.abl"] }, // ' '
108
- { "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "meta.function-call.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
109
- { "startIndex": 11, "endIndex": 22, "scopes": ["source.abl", "meta.function-call.abl", "string.double.complex.abl"] }, // 'foo.bar.baz'
110
- { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "meta.function-call.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
108
+ { "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "meta.function-call.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
109
+ { "startIndex": 11, "endIndex": 22, "scopes": ["source.abl", "meta.function-call.abl", "string.quoted.double.abl"] }, // 'foo.bar.baz'
110
+ { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "meta.function-call.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
111
111
  { "startIndex": 23, "endIndex": 24, "scopes": ["source.abl", "meta.function-call.abl"] }, // ' '
112
112
  { "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // ')'
113
113
  { "startIndex": 25, "endIndex": 27, "scopes": ["source.abl"] } // ' '
@@ -126,10 +126,10 @@ describe('', () => {
126
126
  { "startIndex": 7, "endIndex": 8, "scopes": ["source.abl", "meta.function-call.abl", "variable.other.abl"] }, // 'q'
127
127
  { "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.function-call.abl", "punctuation.separator.comma.abl"] }, // ','
128
128
  { "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.function-call.abl"] }, // ' '
129
- { "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "meta.function-call.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
130
- { "startIndex": 11, "endIndex": 22, "scopes": ["source.abl", "meta.function-call.abl", "string.double.complex.abl"] }, // 'foo.bar.baz'
131
- { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "meta.function-call.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
132
- { "startIndex": 23, "endIndex": 25, "scopes": ["source.abl", "meta.function-call.abl", "string.double.complex.abl", "support.other.abl"] }, // ':u'
129
+ { "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "meta.function-call.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
130
+ { "startIndex": 11, "endIndex": 22, "scopes": ["source.abl", "meta.function-call.abl", "string.quoted.double.abl"] }, // 'foo.bar.baz'
131
+ { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "meta.function-call.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
132
+ { "startIndex": 23, "endIndex": 25, "scopes": ["source.abl", "meta.function-call.abl", "string.quoted.double.abl", "support.other.abl"] }, // ':u'
133
133
  { "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "meta.function-call.abl"] }, // ' '
134
134
  { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // ')'
135
135
  { "startIndex": 27, "endIndex": 29, "scopes": ["source.abl"] } // ' '
@@ -141,7 +141,7 @@ describe('', () => {
141
141
  })
142
142
 
143
143
  describe('', () => {
144
- let statement = `CLASS foo.bar.baz serializable inherits parent.class implements one.interface,anotehr.iface abstract use-widget-pool:`;
144
+ let statement = `CLASS foo.bar.baz serializable inherits parent.class implements one.interface,another.iface abstract use-widget-pool:`;
145
145
 
146
146
  let expectedTokens = [
147
147
  { "startIndex": 0, "endIndex": 5, "scopes": ["source.abl", "meta.define.class.abl", "keyword.other.abl"] }, // 'CLASS'
@@ -158,7 +158,7 @@ describe('', () => {
158
158
  { "startIndex": 63, "endIndex": 64, "scopes": ["source.abl", "meta.define.class.abl"] }, // ' '
159
159
  { "startIndex": 64, "endIndex": 77, "scopes": ["source.abl", "meta.define.class.abl", "entity.name.type.abl"] }, // 'one.interface'
160
160
  { "startIndex": 77, "endIndex": 78, "scopes": ["source.abl", "meta.define.class.abl", "punctuation.separator.comma.abl"] }, // ','
161
- { "startIndex": 78, "endIndex": 91, "scopes": ["source.abl", "meta.define.class.abl", "entity.name.type.abl"] }, // 'anotehr.iface'
161
+ { "startIndex": 78, "endIndex": 91, "scopes": ["source.abl", "meta.define.class.abl", "entity.name.type.abl"] }, // 'another.iface'
162
162
  { "startIndex": 91, "endIndex": 92, "scopes": ["source.abl", "meta.define.class.abl"] }, // ' '
163
163
  { "startIndex": 92, "endIndex": 100, "scopes": ["source.abl", "meta.define.class.abl", "keyword.other.abl"] }, // 'abstract'
164
164
  { "startIndex": 100, "endIndex": 101, "scopes": ["source.abl", "meta.define.class.abl"] }, // ' '
@@ -466,3 +466,90 @@ describe('', () => {
466
466
  ];
467
467
  shared.itShouldMatchExpectedScopes(statement, expectedTokens);
468
468
  })
469
+
470
+ describe('', () => {
471
+ let statement = `class Company.Plugins.ServerPlugin
472
+ inherits AbstractPlugin
473
+ implements IServerPlugin :`;
474
+
475
+ let expectedTokens = [
476
+ [
477
+ { "startIndex": 0, "endIndex": 5, "scopes": ["source.abl", "meta.define.class.abl", "keyword.other.abl"] }, // 'class'
478
+ { "startIndex": 5, "endIndex": 6, "scopes": ["source.abl", "meta.define.class.abl"] }, // ' '
479
+ { "startIndex": 6, "endIndex": 34, "scopes": ["source.abl", "meta.define.class.abl", "entity.name.type.abl"] } // 'Company.Plugins.ServerPlugin'
480
+ ],
481
+ [
482
+ { "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "meta.define.class.abl"] }, // ' '
483
+ { "startIndex": 4, "endIndex": 12, "scopes": ["source.abl", "meta.define.class.abl", "keyword.other.abl"] }, // 'inherits'
484
+ { "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "meta.define.class.abl"] }, // ' '
485
+ { "startIndex": 13, "endIndex": 27, "scopes": ["source.abl", "meta.define.class.abl", "entity.name.type.abl"] } // 'AbstractPlugin'
486
+ ],
487
+ [
488
+ { "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "meta.define.class.abl"] }, // ' '
489
+ { "startIndex": 4, "endIndex": 14, "scopes": ["source.abl", "meta.define.class.abl", "keyword.other.abl"] }, // 'implements'
490
+ { "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.define.class.abl"] }, // ' '
491
+ { "startIndex": 15, "endIndex": 28, "scopes": ["source.abl", "meta.define.class.abl", "entity.name.type.abl"] }, // 'IServerPlugin'
492
+ { "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.define.class.abl"] }, // ' '
493
+ { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.define.class.abl", "punctuation.terminator.abl"] } // ':'
494
+ ]
495
+ ];
496
+ shared.itShouldMatchExpectedScopes(statement, expectedTokens);
497
+ })
498
+
499
+ describe('', () => {
500
+ let statement = `class Company.Plugins.ServerPlugin
501
+ inherits FinalAbstractPlugin
502
+ implements IServerPlugin :`;
503
+
504
+ let expectedTokens = [
505
+ [
506
+ { "startIndex": 0, "endIndex": 5, "scopes": ["source.abl", "meta.define.class.abl", "keyword.other.abl"] }, // 'class'
507
+ { "startIndex": 5, "endIndex": 6, "scopes": ["source.abl", "meta.define.class.abl"] }, // ' '
508
+ { "startIndex": 6, "endIndex": 34, "scopes": ["source.abl", "meta.define.class.abl", "entity.name.type.abl"] } // 'Company.Plugins.ServerPlugin'
509
+ ],
510
+ [
511
+ { "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "meta.define.class.abl"] }, // ' '
512
+ { "startIndex": 4, "endIndex": 12, "scopes": ["source.abl", "meta.define.class.abl", "keyword.other.abl"] }, // 'inherits'
513
+ { "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "meta.define.class.abl"] }, // ' '
514
+ { "startIndex": 13, "endIndex": 32, "scopes": ["source.abl", "meta.define.class.abl", "entity.name.type.abl"] } // 'FinalAbstractPlugin'
515
+ ],
516
+ [
517
+ { "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "meta.define.class.abl"] }, // ' '
518
+ { "startIndex": 4, "endIndex": 14, "scopes": ["source.abl", "meta.define.class.abl", "keyword.other.abl"] }, // 'implements'
519
+ { "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.define.class.abl"] }, // ' '
520
+ { "startIndex": 15, "endIndex": 28, "scopes": ["source.abl", "meta.define.class.abl", "entity.name.type.abl"] }, // 'IServerPlugin'
521
+ { "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.define.class.abl"] }, // ' '
522
+ { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.define.class.abl", "punctuation.terminator.abl"] } // ':'
523
+ ]
524
+ ];
525
+ shared.itShouldMatchExpectedScopes(statement, expectedTokens);
526
+ })
527
+
528
+ describe('', () => {
529
+ let statement = `class Company.Plugins.ServerPlugin
530
+ inherits FinalAbstractPlugin
531
+ implements AbstractServerPlugin :`;
532
+
533
+ let expectedTokens = [
534
+ [
535
+ { "startIndex": 0, "endIndex": 5, "scopes": ["source.abl", "meta.define.class.abl", "keyword.other.abl"] }, // 'class'
536
+ { "startIndex": 5, "endIndex": 6, "scopes": ["source.abl", "meta.define.class.abl"] }, // ' '
537
+ { "startIndex": 6, "endIndex": 34, "scopes": ["source.abl", "meta.define.class.abl", "entity.name.type.abl"] } // 'Company.Plugins.ServerPlugin'
538
+ ],
539
+ [
540
+ { "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "meta.define.class.abl"] }, // ' '
541
+ { "startIndex": 4, "endIndex": 12, "scopes": ["source.abl", "meta.define.class.abl", "keyword.other.abl"] }, // 'inherits'
542
+ { "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "meta.define.class.abl"] }, // ' '
543
+ { "startIndex": 13, "endIndex": 32, "scopes": ["source.abl", "meta.define.class.abl", "entity.name.type.abl"] } // 'FinalAbstractPlugin'
544
+ ],
545
+ [
546
+ { "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "meta.define.class.abl"] }, // ' '
547
+ { "startIndex": 4, "endIndex": 14, "scopes": ["source.abl", "meta.define.class.abl", "keyword.other.abl"] }, // 'implements'
548
+ { "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.define.class.abl"] }, // ' '
549
+ { "startIndex": 15, "endIndex": 35, "scopes": ["source.abl", "meta.define.class.abl", "entity.name.type.abl"] }, // 'AbstractServerPlugin'
550
+ { "startIndex": 35, "endIndex": 36, "scopes": ["source.abl", "meta.define.class.abl"] }, // ' '
551
+ { "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.define.class.abl", "punctuation.terminator.abl"] } // ':'
552
+ ]
553
+ ];
554
+ shared.itShouldMatchExpectedScopes(statement, expectedTokens);
555
+ })
@@ -412,15 +412,15 @@ describe('', () => {
412
412
  { "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
413
413
  { "startIndex": 26, "endIndex": 32, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'format'
414
414
  { "startIndex": 32, "endIndex": 33, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
415
- { "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
416
- { "startIndex": 34, "endIndex": 39, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // 'X(32)'
417
- { "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
415
+ { "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "meta.define.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
416
+ { "startIndex": 34, "endIndex": 39, "scopes": ["source.abl", "meta.define.abl", "string.quoted.double.abl"] }, // 'X(32)'
417
+ { "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.define.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
418
418
  { "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
419
419
  { "startIndex": 41, "endIndex": 48, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'initial'
420
420
  { "startIndex": 48, "endIndex": 49, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
421
- { "startIndex": 49, "endIndex": 50, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
422
- { "startIndex": 50, "endIndex": 51, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // 'q'
423
- { "startIndex": 51, "endIndex": 52, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] } // '"'
421
+ { "startIndex": 49, "endIndex": 50, "scopes": ["source.abl", "meta.define.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
422
+ { "startIndex": 50, "endIndex": 51, "scopes": ["source.abl", "meta.define.abl", "string.quoted.double.abl"] }, // 'q'
423
+ { "startIndex": 51, "endIndex": 52, "scopes": ["source.abl", "meta.define.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] } // '"'
424
424
  ],
425
425
  [
426
426
  { "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
@@ -55,9 +55,9 @@ describe('', () => {
55
55
  { "startIndex": 13, "endIndex": 14, "scopes": ["source.abl"] }, // ' '
56
56
  { "startIndex": 14, "endIndex": 17, "scopes": ["source.abl", "keyword.other.abl"] }, // 'NEW'
57
57
  { "startIndex": 17, "endIndex": 18, "scopes": ["source.abl"] }, // ' '
58
- { "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
59
- { "startIndex": 19, "endIndex": 30, "scopes": ["source.abl", "string.double.complex.abl"] }, // 'foo.bar.baz'
60
- { "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
58
+ { "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
59
+ { "startIndex": 19, "endIndex": 30, "scopes": ["source.abl", "string.quoted.double.abl"] }, // 'foo.bar.baz'
60
+ { "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
61
61
  { "startIndex": 31, "endIndex": 32, "scopes": ["source.abl"] }, // ' '
62
62
  { "startIndex": 32, "endIndex": 33, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
63
63
  { "startIndex": 33, "endIndex": 37, "scopes": ["source.abl", "meta.function.arguments.abl", "constant.language.abl"] }, // 'true'
@@ -424,9 +424,9 @@ describe('', () => {
424
424
  { "startIndex": 6, "endIndex": 7, "scopes": ["source.abl", "meta.define.method.abl"] }, // ' '
425
425
  { "startIndex": 7, "endIndex": 13, "scopes": ["source.abl", "meta.define.method.abl", "keyword.other.abl"] }, // 'PUBLIC'
426
426
  { "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.define.method.abl"] }, // ' '
427
- { "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.define.method.abl", "string.single.complex.abl", "punctuation.definition.string.begin.abl"] }, // '''
428
- { "startIndex": 15, "endIndex": 28, "scopes": ["source.abl", "meta.define.method.abl", "string.single.complex.abl"] }, // 'System.Byte[]'
429
- { "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.define.method.abl", "string.single.complex.abl", "punctuation.definition.string.end.abl"] }, // '''
427
+ { "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.define.method.abl", "string.quoted.single.abl", "punctuation.definition.string.begin.abl"] }, // '''
428
+ { "startIndex": 15, "endIndex": 28, "scopes": ["source.abl", "meta.define.method.abl", "string.quoted.single.abl"] }, // 'System.Byte[]'
429
+ { "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.define.method.abl", "string.quoted.single.abl", "punctuation.definition.string.end.abl"] }, // '''
430
430
  { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.define.method.abl"] }, // ' '
431
431
  { "startIndex": 30, "endIndex": 33, "scopes": ["source.abl", "meta.define.method.abl", "entity.name.function.abl"] }, // 'foo'
432
432
  { "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "meta.define.method.abl", "meta.brace.round.js"] }, // '('
@@ -444,9 +444,9 @@ describe('', () => {
444
444
  { "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.define.method.abl"] }, // ' '
445
445
  { "startIndex": 47, "endIndex": 49, "scopes": ["source.abl", "meta.define.method.abl", "keyword.other.abl"] }, // 'as'
446
446
  { "startIndex": 49, "endIndex": 50, "scopes": ["source.abl", "meta.define.method.abl"] }, // ' '
447
- { "startIndex": 50, "endIndex": 51, "scopes": ["source.abl", "meta.define.method.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
448
- { "startIndex": 51, "endIndex": 64, "scopes": ["source.abl", "meta.define.method.abl", "string.double.complex.abl"] }, // 'System.Byte[]'
449
- { "startIndex": 64, "endIndex": 65, "scopes": ["source.abl", "meta.define.method.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
447
+ { "startIndex": 50, "endIndex": 51, "scopes": ["source.abl", "meta.define.method.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
448
+ { "startIndex": 51, "endIndex": 64, "scopes": ["source.abl", "meta.define.method.abl", "string.quoted.double.abl"] }, // 'System.Byte[]'
449
+ { "startIndex": 64, "endIndex": 65, "scopes": ["source.abl", "meta.define.method.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
450
450
  { "startIndex": 65, "endIndex": 66, "scopes": ["source.abl", "meta.define.method.abl", "meta.brace.round.js"] }, // ')'
451
451
  { "startIndex": 66, "endIndex": 67, "scopes": ["source.abl", "punctuation.terminator.abl"] } // ':'
452
452
  ]
@@ -124,9 +124,9 @@ describe('', () => {
124
124
  { "startIndex": 10, "endIndex": 11, "scopes": ["source.abl"] }, // ' '
125
125
  { "startIndex": 11, "endIndex": 14, "scopes": ["source.abl", "keyword.other.abl"] }, // 'NEW'
126
126
  { "startIndex": 14, "endIndex": 15, "scopes": ["source.abl"] }, // ' '
127
- { "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
128
- { "startIndex": 16, "endIndex": 27, "scopes": ["source.abl", "string.double.complex.abl"] }, // 'foo.bar.baz'
129
- { "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
127
+ { "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
128
+ { "startIndex": 16, "endIndex": 27, "scopes": ["source.abl", "string.quoted.double.abl"] }, // 'foo.bar.baz'
129
+ { "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
130
130
  { "startIndex": 28, "endIndex": 29, "scopes": ["source.abl"] }, // ' '
131
131
  { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
132
132
  { "startIndex": 30, "endIndex": 34, "scopes": ["source.abl", "meta.function.arguments.abl", "constant.language.abl"] }, // 'true'
@@ -770,9 +770,9 @@ describe('', () => {
770
770
  { "startIndex": 7, "endIndex": 8, "scopes": ["source.abl", "meta.function-call.abl", "variable.other.abl"] }, // 'q'
771
771
  { "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.function-call.abl", "punctuation.separator.comma.abl"] }, // ','
772
772
  { "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.function-call.abl"] }, // ' '
773
- { "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "meta.function-call.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
774
- { "startIndex": 11, "endIndex": 22, "scopes": ["source.abl", "meta.function-call.abl", "string.double.complex.abl"] }, // 'foo.bar.baz'
775
- { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "meta.function-call.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
773
+ { "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "meta.function-call.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
774
+ { "startIndex": 11, "endIndex": 22, "scopes": ["source.abl", "meta.function-call.abl", "string.quoted.double.abl"] }, // 'foo.bar.baz'
775
+ { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "meta.function-call.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
776
776
  { "startIndex": 23, "endIndex": 24, "scopes": ["source.abl", "meta.function-call.abl"] }, // ' '
777
777
  { "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // ')'
778
778
  { "startIndex": 25, "endIndex": 27, "scopes": ["source.abl"] } // ' '
@@ -793,10 +793,10 @@ describe('', () => {
793
793
  { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':'
794
794
  { "startIndex": 30, "endIndex": 38, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'READ-XML'
795
795
  { "startIndex": 38, "endIndex": 39, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
796
- { "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
797
- { "startIndex": 40, "endIndex": 48, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.complex.abl"] }, // 'longchar'
798
- { "startIndex": 48, "endIndex": 49, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
799
- { "startIndex": 49, "endIndex": 51, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.complex.abl", "support.other.abl"] }, // ':U'
796
+ { "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
797
+ { "startIndex": 40, "endIndex": 48, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'longchar'
798
+ { "startIndex": 48, "endIndex": 49, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
799
+ { "startIndex": 49, "endIndex": 51, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "support.other.abl"] }, // ':U'
800
800
  { "startIndex": 51, "endIndex": 52, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] } // ','
801
801
  ],
802
802
  [
@@ -806,10 +806,10 @@ describe('', () => {
806
806
  ],
807
807
  [
808
808
  { "startIndex": 0, "endIndex": 2, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
809
- { "startIndex": 2, "endIndex": 3, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
810
- { "startIndex": 3, "endIndex": 8, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.complex.abl"] }, // 'EMPTY'
811
- { "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
812
- { "startIndex": 9, "endIndex": 11, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.complex.abl", "support.other.abl"] }, // ':U'
809
+ { "startIndex": 2, "endIndex": 3, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
810
+ { "startIndex": 3, "endIndex": 8, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'EMPTY'
811
+ { "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
812
+ { "startIndex": 9, "endIndex": 11, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "support.other.abl"] }, // ':U'
813
813
  { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
814
814
  { "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
815
815
  { "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.function.arguments.abl", "constant.language.abl"] }, // '?'
@@ -857,10 +857,13 @@ describe('', () => {
857
857
  { "startIndex": 19, "endIndex": 20, "scopes": ["source.abl"] }, // ' '
858
858
  { "startIndex": 20, "endIndex": 49, "scopes": ["source.abl", "entity.name.type.abl"] }, // 'ClassNameNotEntertedException'
859
859
  { "startIndex": 49, "endIndex": 50, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
860
- { "startIndex": 50, "endIndex": 51, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
861
- { "startIndex": 51, "endIndex": 57, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.complex.abl"] }, // 'unable'
862
- { "startIndex": 57, "endIndex": 58, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
863
- { "startIndex": 58, "endIndex": 65, "scopes": ["source.abl", "meta.function.arguments.abl", "storage.type.function.abl"] }, // '{&TRAN}'
860
+ { "startIndex": 50, "endIndex": 51, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
861
+ { "startIndex": 51, "endIndex": 57, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'unable'
862
+ { "startIndex": 57, "endIndex": 58, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
863
+ { "startIndex": 58, "endIndex": 59, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.preprocessor.abl", "punctuation.section.abl"] }, // '{'
864
+ { "startIndex": 59, "endIndex": 60, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.preprocessor.abl", "punctuation.definition.preprocessor.abl"] }, // '&'
865
+ { "startIndex": 60, "endIndex": 64, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.preprocessor.abl", "entity.name.function.preprocessor.abl"] }, // 'TRAN'
866
+ { "startIndex": 64, "endIndex": 65, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.preprocessor.abl", "punctuation.section.abl"] }, // '}'
864
867
  { "startIndex": 65, "endIndex": 66, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
865
868
  { "startIndex": 66, "endIndex": 67, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
866
869
  { "startIndex": 67, "endIndex": 68, "scopes": ["source.abl", "meta.function.arguments.abl", "constant.numeric.source.abl"] }, // '0'
@@ -875,4 +878,3 @@ describe('', () => {
875
878
  ];
876
879
  shared.itShouldMatchExpectedScopes(statement, expectedTokens);
877
880
  })
878
-
@@ -126,3 +126,35 @@ describe('', () => {
126
126
  ];
127
127
  shared.itShouldMatchExpectedScopes(statement, expectedTokens);
128
128
  })
129
+
130
+ describe('', () => {
131
+ let statement = `using foo.bar.* /*from propath*/.`;
132
+
133
+ let expectedTokens = [
134
+ { "startIndex": 0, "endIndex": 5, "scopes": ["source.abl", "meta.using.abl", "keyword.other.abl"] }, // 'using'
135
+ { "startIndex": 5, "endIndex": 6, "scopes": ["source.abl", "meta.using.abl"] }, // ' '
136
+ { "startIndex": 6, "endIndex": 13, "scopes": ["source.abl", "meta.using.abl", "entity.name.package.abl"] }, // 'foo.bar'
137
+ { "startIndex": 13, "endIndex": 17, "scopes": ["source.abl", "meta.using.abl"] }, // '.* '
138
+ { "startIndex": 17, "endIndex": 19, "scopes": ["source.abl", "meta.using.abl", "comment.block.source.abl"] }, // '/*'
139
+ { "startIndex": 19, "endIndex": 31, "scopes": ["source.abl", "meta.using.abl", "comment.block.source.abl", "comment"] }, // 'from propath'
140
+ { "startIndex": 31, "endIndex": 33, "scopes": ["source.abl", "meta.using.abl", "comment.block.source.abl"] }, // '*/'
141
+ { "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "meta.using.abl", "punctuation.terminator.abl"] } // '.'
142
+ ];
143
+ shared.itShouldMatchExpectedScopes(statement, expectedTokens);
144
+ })
145
+
146
+ describe('', () => {
147
+ let statement = `using foo.bar.baz /*from propath*/.`;
148
+
149
+ let expectedTokens = [
150
+ { "startIndex": 0, "endIndex": 5, "scopes": ["source.abl", "meta.using.abl", "keyword.other.abl"] }, // 'using'
151
+ { "startIndex": 5, "endIndex": 6, "scopes": ["source.abl", "meta.using.abl"] }, // ' '
152
+ { "startIndex": 6, "endIndex": 17, "scopes": ["source.abl", "meta.using.abl", "entity.name.type.abl"] }, // 'foo.bar.baz'
153
+ { "startIndex": 17, "endIndex": 19, "scopes": ["source.abl", "meta.using.abl"] }, // ' '
154
+ { "startIndex": 19, "endIndex": 21, "scopes": ["source.abl", "meta.using.abl", "comment.block.source.abl"] }, // '/*'
155
+ { "startIndex": 21, "endIndex": 33, "scopes": ["source.abl", "meta.using.abl", "comment.block.source.abl", "comment"] }, // 'from propath'
156
+ { "startIndex": 33, "endIndex": 35, "scopes": ["source.abl", "meta.using.abl", "comment.block.source.abl"] }, // '*/'
157
+ { "startIndex": 35, "endIndex": 36, "scopes": ["source.abl", "meta.using.abl", "punctuation.terminator.abl"] } // '.'
158
+ ];
159
+ shared.itShouldMatchExpectedScopes(statement, expectedTokens);
160
+ })