abl-tmlanguage 1.3.8 → 1.3.9

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.
@@ -98,9 +98,7 @@ describe('', () => {
98
98
  { "startIndex": 0, "endIndex": 3, "scopes": ["source.abl"] }, // ' '
99
99
  { "startIndex": 3, "endIndex": 6, "scopes": ["source.abl", "keyword.other.abl"] }, // 'run'
100
100
  { "startIndex": 6, "endIndex": 7, "scopes": ["source.abl"] }, // ' '
101
- { "startIndex": 7, "endIndex": 8, "scopes": ["source.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
102
- { "startIndex": 8, "endIndex": 19, "scopes": ["source.abl", "string.double.complex.abl"] }, // 'a/program.p'
103
- { "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
101
+ { "startIndex": 7, "endIndex": 20, "scopes": ["source.abl", "entity.name.procedure.abl"] }, // '"a/program.p"'
104
102
  { "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
105
103
  ];
106
104
  shared.itShouldMatchExpectedScopes(statement, expectedTokens);
@@ -160,3 +158,130 @@ describe('', () => {
160
158
  ];
161
159
  shared.itShouldMatchExpectedScopes(statement, expectedTokens);
162
160
  })
161
+
162
+ describe('', () => {
163
+ let statement = `run $SYSSYS\\P\\TestServerSockAppSrv.p(31000).`;
164
+
165
+ let expectedTokens = [
166
+ { "startIndex": 0, "endIndex": 3, "scopes": ["source.abl", "keyword.other.abl"] }, // 'run'
167
+ { "startIndex": 3, "endIndex": 4, "scopes": ["source.abl"] }, // ' '
168
+ { "startIndex": 4, "endIndex": 36, "scopes": ["source.abl", "entity.name.procedure.abl"] }, // '$SYSSYS\P\TestServerSockAppSrv.p'
169
+ { "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
170
+ { "startIndex": 37, "endIndex": 42, "scopes": ["source.abl", "meta.function.arguments.abl", "constant.numeric.source.abl"] }, // '31000'
171
+ { "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
172
+ { "startIndex": 43, "endIndex": 44, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
173
+ ];
174
+ shared.itShouldMatchExpectedScopes(statement, expectedTokens);
175
+ })
176
+
177
+ describe('', () => {
178
+ let statement = `run $SYSSYS/P/TestServerSockAppSrv.p(31000).`;
179
+
180
+ let expectedTokens = [
181
+ { "startIndex": 0, "endIndex": 3, "scopes": ["source.abl", "keyword.other.abl"] }, // 'run'
182
+ { "startIndex": 3, "endIndex": 4, "scopes": ["source.abl"] }, // ' '
183
+ { "startIndex": 4, "endIndex": 36, "scopes": ["source.abl", "entity.name.procedure.abl"] }, // '$SYSSYS/P/TestServerSockAppSrv.p'
184
+ { "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
185
+ { "startIndex": 37, "endIndex": 42, "scopes": ["source.abl", "meta.function.arguments.abl", "constant.numeric.source.abl"] }, // '31000'
186
+ { "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
187
+ { "startIndex": 43, "endIndex": 44, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
188
+ ];
189
+ shared.itShouldMatchExpectedScopes(statement, expectedTokens);
190
+ })
191
+
192
+ describe('', () => {
193
+ let statement = `run "$SYSSYS/P/TestServerSockAppSrv.p"(31000).`;
194
+
195
+ let expectedTokens = [
196
+ { "startIndex": 0, "endIndex": 3, "scopes": ["source.abl", "keyword.other.abl"] }, // 'run'
197
+ { "startIndex": 3, "endIndex": 4, "scopes": ["source.abl"] }, // ' '
198
+ { "startIndex": 4, "endIndex": 38, "scopes": ["source.abl", "entity.name.procedure.abl"] }, // '"$SYSSYS/P/TestServerSockAppSrv.p"'
199
+ { "startIndex": 38, "endIndex": 39, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
200
+ { "startIndex": 39, "endIndex": 44, "scopes": ["source.abl", "meta.function.arguments.abl", "constant.numeric.source.abl"] }, // '31000'
201
+ { "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
202
+ { "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
203
+ ];
204
+ shared.itShouldMatchExpectedScopes(statement, expectedTokens);
205
+ })
206
+
207
+ describe('', () => {
208
+ let statement = `run '$SYSSYS/P/TestServerSockAppSrv.p' (31000).`;
209
+
210
+ let expectedTokens = [
211
+ { "startIndex": 0, "endIndex": 3, "scopes": ["source.abl", "keyword.other.abl"] }, // 'run'
212
+ { "startIndex": 3, "endIndex": 4, "scopes": ["source.abl"] }, // ' '
213
+ { "startIndex": 4, "endIndex": 38, "scopes": ["source.abl", "entity.name.procedure.abl"] }, // ''$SYSSYS/P/TestServerSockAppSrv.p''
214
+ { "startIndex": 38, "endIndex": 39, "scopes": ["source.abl"] }, // ' '
215
+ { "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
216
+ { "startIndex": 40, "endIndex": 45, "scopes": ["source.abl", "meta.function.arguments.abl", "constant.numeric.source.abl"] }, // '31000'
217
+ { "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
218
+ { "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
219
+ ];
220
+ shared.itShouldMatchExpectedScopes(statement, expectedTokens);
221
+ })
222
+
223
+ describe('', () => {
224
+ let statement = `run value(SYSSYS) (31000).`;
225
+
226
+ let expectedTokens = [
227
+ { "startIndex": 0, "endIndex": 3, "scopes": ["source.abl", "keyword.other.abl"] }, // 'run'
228
+ { "startIndex": 3, "endIndex": 4, "scopes": ["source.abl", "meta.function-call.abl"] }, // ' '
229
+ { "startIndex": 4, "endIndex": 9, "scopes": ["source.abl", "meta.function-call.abl", "support.function.abl"] }, // 'value'
230
+ { "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
231
+ { "startIndex": 10, "endIndex": 16, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'SYSSYS'
232
+ { "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // ')'
233
+ { "startIndex": 17, "endIndex": 18, "scopes": ["source.abl"] }, // ' '
234
+ { "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
235
+ { "startIndex": 19, "endIndex": 24, "scopes": ["source.abl", "meta.function.arguments.abl", "constant.numeric.source.abl"] }, // '31000'
236
+ { "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
237
+ { "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
238
+ ];
239
+ shared.itShouldMatchExpectedScopes(statement, expectedTokens);
240
+ })
241
+
242
+ describe('', () => {
243
+ let statement = `run temprunprogram.p@.`;
244
+
245
+ let expectedTokens = [
246
+ { "startIndex": 0, "endIndex": 3, "scopes": ["source.abl", "keyword.other.abl"] }, // 'run'
247
+ { "startIndex": 3, "endIndex": 4, "scopes": ["source.abl"] }, // ' '
248
+ { "startIndex": 4, "endIndex": 21, "scopes": ["source.abl", "entity.name.procedure.abl"] }, // 'temprunprogram.p@'
249
+ { "startIndex": 21, "endIndex": 22, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
250
+ ];
251
+ shared.itShouldMatchExpectedScopes(statement, expectedTokens);
252
+ })
253
+
254
+ describe('', () => {
255
+ let statement = `run me.p`;
256
+
257
+ let expectedTokens = [
258
+ { "startIndex": 0, "endIndex": 3, "scopes": ["source.abl", "keyword.other.abl"] }, // 'run'
259
+ { "startIndex": 3, "endIndex": 4, "scopes": ["source.abl"] }, // ' '
260
+ { "startIndex": 4, "endIndex": 8, "scopes": ["source.abl", "entity.name.procedure.abl"] } // 'me.p'
261
+ ];
262
+ shared.itShouldMatchExpectedScopes(statement, expectedTokens);
263
+ })
264
+
265
+ describe('', () => {
266
+ let statement = `run foo.`;
267
+
268
+ let expectedTokens = [
269
+ { "startIndex": 0, "endIndex": 3, "scopes": ["source.abl", "keyword.other.abl"] }, // 'run'
270
+ { "startIndex": 3, "endIndex": 4, "scopes": ["source.abl"] }, // ' '
271
+ { "startIndex": 4, "endIndex": 7, "scopes": ["source.abl", "entity.name.procedure.abl"] }, // 'foo'
272
+ { "startIndex": 7, "endIndex": 8, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
273
+ ];
274
+ shared.itShouldMatchExpectedScopes(statement, expectedTokens);
275
+ })
276
+
277
+ describe('', () => {
278
+ let statement = `run foo/blah.r.`;
279
+
280
+ let expectedTokens = [
281
+ { "startIndex": 0, "endIndex": 3, "scopes": ["source.abl", "keyword.other.abl"] }, // 'run'
282
+ { "startIndex": 3, "endIndex": 4, "scopes": ["source.abl"] }, // ' '
283
+ { "startIndex": 4, "endIndex": 14, "scopes": ["source.abl", "entity.name.procedure.abl"] }, // 'foo/blah.r'
284
+ { "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
285
+ ];
286
+ shared.itShouldMatchExpectedScopes(statement, expectedTokens);
287
+ })
@@ -88,14 +88,14 @@ describe('', () => {
88
88
  { "startIndex": 5, "endIndex": 6, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // '('
89
89
  { "startIndex": 6, "endIndex": 7, "scopes": ["source.abl", "meta.function-call.abl"] }, // ' '
90
90
  { "startIndex": 7, "endIndex": 8, "scopes": ["source.abl", "meta.function-call.abl", "variable.other.abl"] }, // 'q'
91
- { "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.function-call.abl"] }, // ':'
91
+ { "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.function-call.abl", "punctuation.separator.colon.abl"] }, // ':'
92
92
  { "startIndex": 9, "endIndex": 13, "scopes": ["source.abl", "meta.function-call.abl", "entity.name.function.abl"] }, // 'Prop'
93
93
  { "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.function-call.abl", "punctuation.separator.comma.abl"] }, // ','
94
94
  { "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.function-call.abl"] }, // ' '
95
95
  { "startIndex": 15, "endIndex": 26, "scopes": ["source.abl", "meta.function-call.abl", "entity.name.type.abl"] }, // 'foo.bar.baz'
96
96
  { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.function-call.abl"] }, // ' '
97
97
  { "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // ')'
98
- { "startIndex": 28, "endIndex": 30, "scopes": ["source.abl"] } // ' '
98
+ { "startIndex": 28, "endIndex": 30, "scopes": ["source.abl"] } // ' '
99
99
  ];
100
100
  shared.itShouldMatchExpectedScopes(statement, expectedTokens);
101
101
  })
@@ -191,18 +191,17 @@ describe('', () => {
191
191
  { "startIndex": 6, "endIndex": 7, "scopes": ["source.abl", "meta.function-call.abl"] }, // ' '
192
192
  { "startIndex": 7, "endIndex": 8, "scopes": ["source.abl", "meta.function-call.abl", "variable.other.abl"] }, // 'q'
193
193
  { "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.function-call.abl", "punctuation.separator.comma.abl"] }, // ','
194
- { "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.function-call.abl", "entity.name.type.generic.abl"] }, // ' '
195
- { "startIndex": 10, "endIndex": 13, "scopes": ["source.abl", "meta.function-call.abl", "entity.name.type.generic.abl", "entity.name.type.abl"] }, // 'Map'
196
- { "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.function-call.abl", "entity.name.type.generic.abl"] }, // '<'
197
- { "startIndex": 14, "endIndex": 21, "scopes": ["source.abl", "meta.function-call.abl", "entity.name.type.generic.abl", "entity.name.type.abl"] }, // 'foo.bar'
198
- { "startIndex": 21, "endIndex": 22, "scopes": ["source.abl", "meta.function-call.abl", "entity.name.type.generic.abl", "punctuation.separator.comma.abl"] }, // ','
199
- { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "meta.function-call.abl", "entity.name.type.generic.abl"] }, // ' '
200
- { "startIndex": 23, "endIndex": 26, "scopes": ["source.abl", "meta.function-call.abl", "entity.name.type.generic.abl", "entity.name.type.abl"] }, // 'baz'
201
- { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.function-call.abl", "entity.name.type.generic.abl"] }, // '>'
194
+ { "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.function-call.abl", "meta.generic.abl"] }, // ' '
195
+ { "startIndex": 10, "endIndex": 13, "scopes": ["source.abl", "meta.function-call.abl", "meta.generic.abl", "entity.name.type.abl"] }, // 'Map'
196
+ { "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.function-call.abl", "meta.generic.abl", "punctuation.definition.generic.begin.abl"] }, // '<'
197
+ { "startIndex": 14, "endIndex": 21, "scopes": ["source.abl", "meta.function-call.abl", "meta.generic.abl", "entity.name.type.abl"] }, // 'foo.bar'
198
+ { "startIndex": 21, "endIndex": 22, "scopes": ["source.abl", "meta.function-call.abl", "meta.generic.abl", "punctuation.separator.comma.abl"] }, // ','
199
+ { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "meta.function-call.abl", "meta.generic.abl"] }, // ' '
200
+ { "startIndex": 23, "endIndex": 26, "scopes": ["source.abl", "meta.function-call.abl", "meta.generic.abl", "entity.name.type.abl"] }, // 'baz'
201
+ { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.function-call.abl", "meta.generic.abl", "punctuation.definition.generic.end.abl"] }, // '>'
202
202
  { "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.function-call.abl"] }, // ' '
203
203
  { "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // ')'
204
204
  { "startIndex": 29, "endIndex": 31, "scopes": ["source.abl"] } // ' '
205
-
206
205
  ];
207
206
  shared.itShouldMatchExpectedScopes(statement, expectedTokens);
208
207
  })
@@ -133,7 +133,6 @@ describe('', () => {
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"] } // ' '
136
-
137
136
  ];
138
137
  shared.itShouldMatchExpectedScopes(statement, expectedTokens);
139
138
  })
@@ -148,18 +147,17 @@ describe('', () => {
148
147
  { "startIndex": 6, "endIndex": 7, "scopes": ["source.abl", "meta.function-call.abl"] }, // ' '
149
148
  { "startIndex": 7, "endIndex": 8, "scopes": ["source.abl", "meta.function-call.abl", "variable.other.abl"] }, // 'q'
150
149
  { "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.function-call.abl", "punctuation.separator.comma.abl"] }, // ','
151
- { "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.function-call.abl", "entity.name.type.generic.abl"] }, // ' '
152
- { "startIndex": 10, "endIndex": 13, "scopes": ["source.abl", "meta.function-call.abl", "entity.name.type.generic.abl", "entity.name.type.abl"] }, // 'Map'
153
- { "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.function-call.abl", "entity.name.type.generic.abl"] }, // '<'
154
- { "startIndex": 14, "endIndex": 21, "scopes": ["source.abl", "meta.function-call.abl", "entity.name.type.generic.abl", "entity.name.type.abl"] }, // 'foo.bar'
155
- { "startIndex": 21, "endIndex": 22, "scopes": ["source.abl", "meta.function-call.abl", "entity.name.type.generic.abl", "punctuation.separator.comma.abl"] }, // ','
156
- { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "meta.function-call.abl", "entity.name.type.generic.abl"] }, // ' '
157
- { "startIndex": 23, "endIndex": 26, "scopes": ["source.abl", "meta.function-call.abl", "entity.name.type.generic.abl", "entity.name.type.abl"] }, // 'baz'
158
- { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.function-call.abl", "entity.name.type.generic.abl"] }, // '>'
150
+ { "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.function-call.abl", "meta.generic.abl"] }, // ' '
151
+ { "startIndex": 10, "endIndex": 13, "scopes": ["source.abl", "meta.function-call.abl", "meta.generic.abl", "entity.name.type.abl"] }, // 'Map'
152
+ { "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.function-call.abl", "meta.generic.abl", "punctuation.definition.generic.begin.abl"] }, // '<'
153
+ { "startIndex": 14, "endIndex": 21, "scopes": ["source.abl", "meta.function-call.abl", "meta.generic.abl", "entity.name.type.abl"] }, // 'foo.bar'
154
+ { "startIndex": 21, "endIndex": 22, "scopes": ["source.abl", "meta.function-call.abl", "meta.generic.abl", "punctuation.separator.comma.abl"] }, // ','
155
+ { "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "meta.function-call.abl", "meta.generic.abl"] }, // ' '
156
+ { "startIndex": 23, "endIndex": 26, "scopes": ["source.abl", "meta.function-call.abl", "meta.generic.abl", "entity.name.type.abl"] }, // 'baz'
157
+ { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.function-call.abl", "meta.generic.abl", "punctuation.definition.generic.end.abl"] }, // '>'
159
158
  { "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.function-call.abl"] }, // ' '
160
159
  { "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // ')'
161
160
  { "startIndex": 29, "endIndex": 31, "scopes": ["source.abl"] } // ' '
162
-
163
161
  ];
164
162
  shared.itShouldMatchExpectedScopes(statement, expectedTokens);
165
163
  })
@@ -63,7 +63,7 @@ describe('', () => {
63
63
  { "startIndex": 41, "endIndex": 48, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'no-undo'
64
64
  { "startIndex": 48, "endIndex": 49, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
65
65
  { "startIndex": 49, "endIndex": 55, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'extent'
66
- { "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.define.abl", "punctuation.terminator.abl"] } // '.'
66
+ { "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.define.abl", "punctuation.terminator.abl"] } // '.'
67
67
  ];
68
68
  shared.itShouldMatchExpectedScopes(statement, expectedTokens);
69
69
  })
@@ -88,7 +88,7 @@ describe('', () => {
88
88
  { "startIndex": 48, "endIndex": 49, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
89
89
  { "startIndex": 49, "endIndex": 55, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'extent'
90
90
  { "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
91
- { "startIndex": 56, "endIndex": 57, "scopes": ["source.abl", "meta.define.abl", "punctuation.terminator.abl"] } // '.'
91
+ { "startIndex": 56, "endIndex": 57, "scopes": ["source.abl", "meta.define.abl", "punctuation.terminator.abl"] } // '.'
92
92
  ];
93
93
  shared.itShouldMatchExpectedScopes(statement, expectedTokens);
94
94
  })
@@ -114,7 +114,7 @@ describe('', () => {
114
114
  { "startIndex": 49, "endIndex": 51, "scopes": ["source.abl", "meta.define.abl", "constant.numeric.source.abl"] }, // '14'
115
115
  { "startIndex": 51, "endIndex": 52, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
116
116
  { "startIndex": 52, "endIndex": 59, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'no-undo'
117
- { "startIndex": 59, "endIndex": 60, "scopes": ["source.abl", "meta.define.abl", "punctuation.terminator.abl"] } // '.'
117
+ { "startIndex": 59, "endIndex": 60, "scopes": ["source.abl", "meta.define.abl", "punctuation.terminator.abl"] } // '.'
118
118
  ];
119
119
  shared.itShouldMatchExpectedScopes(statement, expectedTokens);
120
120
  })
@@ -139,7 +139,7 @@ describe('', () => {
139
139
  { "startIndex": 56, "endIndex": 58, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
140
140
  { "startIndex": 58, "endIndex": 69, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'foo.bar.baz'
141
141
  { "startIndex": 69, "endIndex": 71, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
142
- { "startIndex": 71, "endIndex": 78, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] } // 'no-undo'
142
+ { "startIndex": 71, "endIndex": 78, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] } // 'no-undo'
143
143
  ];
144
144
  shared.itShouldMatchExpectedScopes(statement, expectedTokens);
145
145
  })
@@ -196,10 +196,10 @@ describe('', () => {
196
196
  { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
197
197
  { "startIndex": 27, "endIndex": 29, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'as'
198
198
  { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
199
- { "startIndex": 30, "endIndex": 55, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl", "entity.name.type.abl"] }, // 'Progress.Collections.List'
200
- { "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl"] }, // '<'
201
- { "startIndex": 56, "endIndex": 62, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl", "entity.name.type.abl"] }, // 'String'
202
- { "startIndex": 62, "endIndex": 63, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl"] }, // '> '
199
+ { "startIndex": 30, "endIndex": 55, "scopes": ["source.abl", "meta.define.abl", "meta.generic.abl", "entity.name.type.abl"] }, // 'Progress.Collections.List'
200
+ { "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.define.abl", "meta.generic.abl", "punctuation.definition.generic.begin.abl"] }, // '<'
201
+ { "startIndex": 56, "endIndex": 62, "scopes": ["source.abl", "meta.define.abl", "meta.generic.abl", "entity.name.type.abl"] }, // 'String'
202
+ { "startIndex": 62, "endIndex": 63, "scopes": ["source.abl", "meta.define.abl", "meta.generic.abl", "punctuation.definition.generic.end.abl"] }, // '>'
203
203
  { "startIndex": 63, "endIndex": 64, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
204
204
  { "startIndex": 64, "endIndex": 71, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] } // 'no-undo'
205
205
  ];
@@ -220,11 +220,11 @@ describe('', () => {
220
220
  { "startIndex": 23, "endIndex": 24, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
221
221
  { "startIndex": 24, "endIndex": 26, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'as'
222
222
  { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
223
- { "startIndex": 27, "endIndex": 52, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl", "entity.name.type.abl"] }, // 'Progress.Collections.List'
224
- { "startIndex": 52, "endIndex": 53, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl"] }, // '<'
225
- { "startIndex": 53, "endIndex": 59, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl", "entity.name.type.abl"] }, // 'String'
226
- { "startIndex": 59, "endIndex": 60, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl"] }, // '>'
227
- { "startIndex": 60, "endIndex": 61, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
223
+ { "startIndex": 27, "endIndex": 52, "scopes": ["source.abl", "meta.define.abl", "meta.generic.abl", "entity.name.type.abl"] }, // 'Progress.Collections.List'
224
+ { "startIndex": 52, "endIndex": 53, "scopes": ["source.abl", "meta.define.abl", "meta.generic.abl", "punctuation.definition.generic.begin.abl"] }, // '<'
225
+ { "startIndex": 53, "endIndex": 59, "scopes": ["source.abl", "meta.define.abl", "meta.generic.abl", "entity.name.type.abl"] }, // 'String'
226
+ { "startIndex": 59, "endIndex": 60, "scopes": ["source.abl", "meta.define.abl", "meta.generic.abl", "punctuation.definition.generic.end.abl"] }, // '>'
227
+ { "startIndex": 60, "endIndex": 61, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
228
228
  { "startIndex": 61, "endIndex": 68, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'no-undo'
229
229
  { "startIndex": 68, "endIndex": 69, "scopes": ["source.abl", "meta.define.abl", "punctuation.terminator.abl"] } // '.'
230
230
  ],
@@ -238,10 +238,10 @@ describe('', () => {
238
238
  { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
239
239
  { "startIndex": 27, "endIndex": 29, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'as'
240
240
  { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
241
- { "startIndex": 30, "endIndex": 55, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl", "entity.name.type.abl"] }, // 'Progress.Collections.List'
242
- { "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl"] }, // '<'
243
- { "startIndex": 56, "endIndex": 62, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl", "entity.name.type.abl"] }, // 'String'
244
- { "startIndex": 62, "endIndex": 63, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl"] }, // '> '
241
+ { "startIndex": 30, "endIndex": 55, "scopes": ["source.abl", "meta.define.abl", "meta.generic.abl", "entity.name.type.abl"] }, // 'Progress.Collections.List'
242
+ { "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.define.abl", "meta.generic.abl", "punctuation.definition.generic.begin.abl"] }, // '<'
243
+ { "startIndex": 56, "endIndex": 62, "scopes": ["source.abl", "meta.define.abl", "meta.generic.abl", "entity.name.type.abl"] }, // 'String'
244
+ { "startIndex": 62, "endIndex": 63, "scopes": ["source.abl", "meta.define.abl", "meta.generic.abl", "punctuation.definition.generic.end.abl"] }, // '>'
245
245
  { "startIndex": 63, "endIndex": 64, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
246
246
  { "startIndex": 64, "endIndex": 71, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'no-undo'
247
247
  { "startIndex": 71, "endIndex": 72, "scopes": ["source.abl", "meta.define.abl", "punctuation.terminator.abl"] } // '.'
@@ -250,54 +250,6 @@ describe('', () => {
250
250
  shared.itShouldMatchExpectedScopes(statement, expectedTokens);
251
251
  })
252
252
 
253
- describe('', () => {
254
- let statement = `define variable strList as class Progress.Collections.List<String> no-undo.
255
- define variable strList2 as class Progress.Collections.List<String> no-undo.`;
256
-
257
- let expectedTokens = [
258
- [
259
- { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'define'
260
- { "startIndex": 6, "endIndex": 7, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
261
- { "startIndex": 7, "endIndex": 15, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'variable'
262
- { "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
263
- { "startIndex": 16, "endIndex": 23, "scopes": ["source.abl", "meta.define.abl", "variable.other.abl"] }, // 'strList'
264
- { "startIndex": 23, "endIndex": 24, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
265
- { "startIndex": 24, "endIndex": 26, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'as'
266
- { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
267
- { "startIndex": 27, "endIndex": 32, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'class'
268
- { "startIndex": 32, "endIndex": 33, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl"] }, // ' '
269
- { "startIndex": 33, "endIndex": 58, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl", "entity.name.type.abl"] }, // 'Progress.Collections.List'
270
- { "startIndex": 58, "endIndex": 59, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl"] }, // '<'
271
- { "startIndex": 59, "endIndex": 65, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl", "entity.name.type.abl"] }, // 'String'
272
- { "startIndex": 65, "endIndex": 66, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl"] }, // '>'
273
- { "startIndex": 66, "endIndex": 67, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
274
- { "startIndex": 67, "endIndex": 74, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'no-undo'
275
- { "startIndex": 74, "endIndex": 75, "scopes": ["source.abl", "meta.define.abl", "punctuation.terminator.abl"] } // '.'
276
- ],
277
- [
278
- { "startIndex": 0, "endIndex": 2, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
279
- { "startIndex": 2, "endIndex": 8, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'define'
280
- { "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
281
- { "startIndex": 9, "endIndex": 17, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'variable'
282
- { "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
283
- { "startIndex": 18, "endIndex": 26, "scopes": ["source.abl", "meta.define.abl", "variable.other.abl"] }, // 'strList2'
284
- { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
285
- { "startIndex": 27, "endIndex": 29, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'as'
286
- { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
287
- { "startIndex": 30, "endIndex": 35, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'class'
288
- { "startIndex": 35, "endIndex": 36, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl"] }, // ' '
289
- { "startIndex": 36, "endIndex": 61, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl", "entity.name.type.abl"] }, // 'Progress.Collections.List'
290
- { "startIndex": 61, "endIndex": 62, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl"] }, // '<'
291
- { "startIndex": 62, "endIndex": 68, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl", "entity.name.type.abl"] }, // 'String'
292
- { "startIndex": 68, "endIndex": 69, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl"] }, // '>'
293
- { "startIndex": 69, "endIndex": 70, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
294
- { "startIndex": 70, "endIndex": 77, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'no-undo'
295
- { "startIndex": 77, "endIndex": 78, "scopes": ["source.abl", "meta.define.abl", "punctuation.terminator.abl"] } // '.'
296
- ]
297
- ];
298
- shared.itShouldMatchExpectedScopes(statement, expectedTokens);
299
- })
300
-
301
253
  describe('', () => {
302
254
  let statement = `define variable strList as Franwork.List<String> no-undo.
303
255
  define variable strList2 as List<String> no-undo.
@@ -313,10 +265,10 @@ describe('', () => {
313
265
  { "startIndex": 23, "endIndex": 24, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
314
266
  { "startIndex": 24, "endIndex": 26, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'as'
315
267
  { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
316
- { "startIndex": 27, "endIndex": 40, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl", "entity.name.type.abl"] }, // 'Franwork.List'
317
- { "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl"] }, // '<'
318
- { "startIndex": 41, "endIndex": 47, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl", "entity.name.type.abl"] }, // 'String'
319
- { "startIndex": 47, "endIndex": 48, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl"] }, // '>'
268
+ { "startIndex": 27, "endIndex": 40, "scopes": ["source.abl", "meta.define.abl", "meta.generic.abl", "entity.name.type.abl"] }, // 'Franwork.List'
269
+ { "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.define.abl", "meta.generic.abl", "punctuation.definition.generic.begin.abl"] }, // '<'
270
+ { "startIndex": 41, "endIndex": 47, "scopes": ["source.abl", "meta.define.abl", "meta.generic.abl", "entity.name.type.abl"] }, // 'String'
271
+ { "startIndex": 47, "endIndex": 48, "scopes": ["source.abl", "meta.define.abl", "meta.generic.abl", "punctuation.definition.generic.end.abl"] }, // '>'
320
272
  { "startIndex": 48, "endIndex": 49, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
321
273
  { "startIndex": 49, "endIndex": 56, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'no-undo'
322
274
  { "startIndex": 56, "endIndex": 57, "scopes": ["source.abl", "meta.define.abl", "punctuation.terminator.abl"] } // '.'
@@ -331,11 +283,11 @@ describe('', () => {
331
283
  { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
332
284
  { "startIndex": 27, "endIndex": 29, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'as'
333
285
  { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
334
- { "startIndex": 30, "endIndex": 34, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl", "entity.name.type.abl"] }, // 'List'
335
- { "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl"] }, // '<'
336
- { "startIndex": 35, "endIndex": 41, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl", "entity.name.type.abl"] }, // 'String'
337
- { "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl"] }, // '>'
338
- { "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
286
+ { "startIndex": 30, "endIndex": 34, "scopes": ["source.abl", "meta.define.abl", "meta.generic.abl", "entity.name.type.abl"] }, // 'List'
287
+ { "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "meta.define.abl", "meta.generic.abl", "punctuation.definition.generic.begin.abl"] }, // '<'
288
+ { "startIndex": 35, "endIndex": 41, "scopes": ["source.abl", "meta.define.abl", "meta.generic.abl", "entity.name.type.abl"] }, // 'String'
289
+ { "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.define.abl", "meta.generic.abl", "punctuation.definition.generic.end.abl"] }, // '>'
290
+ { "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
339
291
  { "startIndex": 43, "endIndex": 50, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'no-undo'
340
292
  { "startIndex": 50, "endIndex": 51, "scopes": ["source.abl", "meta.define.abl", "punctuation.terminator.abl"] } // '.'
341
293
  ],
@@ -358,76 +310,6 @@ describe('', () => {
358
310
  shared.itShouldMatchExpectedScopes(statement, expectedTokens);
359
311
  })
360
312
 
361
- describe('', () => {
362
- let statement = `define variable strList as class Franwork.List<String> no-undo.
363
- define variable strList2 as class List<String> no-undo.
364
- define variable cls as class Progress.Lang.Class no-undo.
365
- `;
366
-
367
- let expectedTokens = [
368
- [
369
- { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'define'
370
- { "startIndex": 6, "endIndex": 7, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
371
- { "startIndex": 7, "endIndex": 15, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'variable'
372
- { "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
373
- { "startIndex": 16, "endIndex": 23, "scopes": ["source.abl", "meta.define.abl", "variable.other.abl"] }, // 'strList'
374
- { "startIndex": 23, "endIndex": 24, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
375
- { "startIndex": 24, "endIndex": 26, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'as'
376
- { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
377
- { "startIndex": 27, "endIndex": 32, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'class'
378
- { "startIndex": 32, "endIndex": 33, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl"] }, // ' '
379
- { "startIndex": 33, "endIndex": 46, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl", "entity.name.type.abl"] }, // 'Franwork.List'
380
- { "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl"] }, // '<'
381
- { "startIndex": 47, "endIndex": 53, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl", "entity.name.type.abl"] }, // 'String'
382
- { "startIndex": 53, "endIndex": 54, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl"] }, // '>'
383
- { "startIndex": 54, "endIndex": 55, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
384
- { "startIndex": 55, "endIndex": 62, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'no-undo'
385
- { "startIndex": 62, "endIndex": 63, "scopes": ["source.abl", "meta.define.abl", "punctuation.terminator.abl"] } // '.'
386
- ],
387
- [
388
- { "startIndex": 0, "endIndex": 2, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
389
- { "startIndex": 2, "endIndex": 8, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'define'
390
- { "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
391
- { "startIndex": 9, "endIndex": 17, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'variable'
392
- { "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
393
- { "startIndex": 18, "endIndex": 26, "scopes": ["source.abl", "meta.define.abl", "variable.other.abl"] }, // 'strList2'
394
- { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
395
- { "startIndex": 27, "endIndex": 29, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'as'
396
- { "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
397
- { "startIndex": 30, "endIndex": 35, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'class'
398
- { "startIndex": 35, "endIndex": 36, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl"] }, // ' '
399
- { "startIndex": 36, "endIndex": 40, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl", "entity.name.type.abl"] }, // 'List'
400
- { "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl"] }, // '<'
401
- { "startIndex": 41, "endIndex": 47, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl", "entity.name.type.abl"] }, // 'String'
402
- { "startIndex": 47, "endIndex": 48, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.generic.abl"] }, // '>'
403
- { "startIndex": 48, "endIndex": 49, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
404
- { "startIndex": 49, "endIndex": 56, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'no-undo'
405
- { "startIndex": 56, "endIndex": 57, "scopes": ["source.abl", "meta.define.abl", "punctuation.terminator.abl"] } // '.'
406
- ],
407
- [
408
- { "startIndex": 0, "endIndex": 2, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
409
- { "startIndex": 2, "endIndex": 8, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'define'
410
- { "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
411
- { "startIndex": 9, "endIndex": 17, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'variable'
412
- { "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
413
- { "startIndex": 18, "endIndex": 21, "scopes": ["source.abl", "meta.define.abl", "variable.other.abl"] }, // 'cls'
414
- { "startIndex": 21, "endIndex": 22, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
415
- { "startIndex": 22, "endIndex": 24, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'as'
416
- { "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
417
- { "startIndex": 25, "endIndex": 30, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'class'
418
- { "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
419
- { "startIndex": 31, "endIndex": 50, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'Progress.Lang.Class'
420
- { "startIndex": 50, "endIndex": 51, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
421
- { "startIndex": 51, "endIndex": 58, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'no-undo'
422
- { "startIndex": 58, "endIndex": 59, "scopes": ["source.abl", "meta.define.abl", "punctuation.terminator.abl"] } // '.'
423
- ],
424
- [
425
- { "startIndex": 0, "endIndex": 3, "scopes": ["source.abl"] } // ' '
426
- ]
427
- ];
428
- shared.itShouldMatchExpectedScopes(statement, expectedTokens);
429
- })
430
-
431
313
 
432
314
  describe('', () => {
433
315
  let statement = `define variable dTaxRate as decimal decimals 4 no-undo.`;
@@ -472,7 +354,7 @@ describe('', () => {
472
354
  { "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.define.abl", "constant.numeric.source.abl"] }, // '4'
473
355
  { "startIndex": 46, "endIndex": 48, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
474
356
  { "startIndex": 48, "endIndex": 49, "scopes": ["source.abl", "meta.define.abl", "punctuation.terminator.abl"] }, // '.'
475
- { "startIndex": 49, "endIndex": 51, "scopes": ["source.abl"] } // ' '
357
+ { "startIndex": 49, "endIndex": 51, "scopes": ["source.abl"] } // ' '
476
358
  ];
477
359
  shared.itShouldMatchExpectedScopes(statement, expectedTokens);
478
360
  })
@@ -498,7 +380,7 @@ describe('', () => {
498
380
  { "startIndex": 53, "endIndex": 54, "scopes": ["source.abl", "meta.define.abl", "constant.numeric.source.abl"] }, // '4'
499
381
  { "startIndex": 54, "endIndex": 56, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
500
382
  { "startIndex": 56, "endIndex": 57, "scopes": ["source.abl", "meta.define.abl", "punctuation.terminator.abl"] }, // '.'
501
- { "startIndex": 57, "endIndex": 59, "scopes": ["source.abl"] } // ' '
383
+ { "startIndex": 57, "endIndex": 59, "scopes": ["source.abl"] } // ' '
502
384
  ];
503
385
  shared.itShouldMatchExpectedScopes(statement, expectedTokens);
504
386
  })