abl-tmlanguage 1.3.26 → 1.3.28
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.
- package/CHANGELOG.md +14 -0
- package/README.md +2 -1
- package/abl.tmLanguage.json +291 -112
- package/index.mjs +109 -11
- package/package.json +1 -1
- package/spec/blocks/block-options.spec.js +16 -16
- package/spec/blocks/finally-blocks.spec.js +5 -5
- package/spec/comments/comment-in-block-statement.spec.js +1 -1
- package/spec/comments/comment-in-for-each.spec.js +5 -5
- package/spec/comments/vscode-abl-issue#127.spec.js +20 -20
- package/spec/db-table-and-field/buffer-copy.spec.js +22 -22
- package/spec/db-table-and-field/create-alias.spec.js +39 -38
- package/spec/db-table-and-field/double-colon-access.spec.js +154 -0
- package/spec/db-table-and-field/field-in-function.spec.js +25 -25
- package/spec/db-table-and-field/fields-except.spec.js +1 -2
- package/spec/db-table-and-field/foreach.spec.js +6 -6
- package/spec/db-table-and-field/issue#88.spec.js +5 -4
- package/spec/db-table-and-field/new-record.spec.js +9 -9
- package/spec/db-table-and-field/query-get.spec.js +137 -0
- package/spec/define-buffer/create-buffer.spec.js +57 -0
- package/spec/define-frame/issue#173.spec.js +16 -16
- package/spec/define-property/property-getter.spec.js +8 -103
- package/spec/define-variable/simple-single-line.spec.js +1 -1
- package/spec/define-variable/var-statement.spec.js +21 -21
- package/spec/do/do-blocks.spec.js +22 -22
- package/spec/do/stop-after.spec.js +1 -1
- package/spec/function-call/can-find.spec.js +12 -12
- package/spec/function-call/include-in-argument.spec.js +120 -0
- package/spec/function-call/misc-abl-functions.spec.js +9 -9
- package/spec/function-call/nested-functions.spec.js +124 -124
- package/spec/function-call/vscode-abl-issue#19.spec.js +14 -14
- package/spec/function-definition/vscode-abl-issue#166.spec.js +1 -1
- package/spec/input-output/input-from.spec.js +116 -116
- package/spec/input-output/output-to.spec.js +105 -105
- package/spec/method-attribute-property-call/get-set-method-name.spec.js +1 -2
- package/spec/method-attribute-property-call/method-call.spec.js +1 -1
- package/spec/method-attribute-property-call/nested-property-call.spec.js +8 -25
- package/spec/method-attribute-property-call/unqualified-method-call.spec.js +27 -27
- package/spec/method-definition/constructor.spec.js +5 -5
- package/spec/misc-statements/class-in-var-name.spec.js +22 -22
- package/spec/misc-statements/copy-lob.spec.js +11 -4
- package/spec/misc-statements/do-in-name.spec.js +5 -5
- package/spec/misc-statements/guid.spec.js +10 -10
- package/spec/misc-statements/if-then.spec.js +38 -38
- package/spec/misc-statements/record-buffer-functions.spec.js +5 -5
- package/spec/misc-statements/return-statement.spec.js +15 -15
- package/spec/misc-statements/skip-statement-and-fuction.spec.js +6 -6
- package/spec/misc-statements/system-handles.spec.js +17 -3
- package/spec/numbers/scientific-notation.spec.js +7 -7
- package/spec/operators/operators.spec.js +6 -6
- package/spec/preprocesors/proparse-preprocessor.spec.js +7 -7
- package/spec/run-statement/run-statement.spec.js +30 -133
- package/spec/strings/translation-attribute.spec.js +7 -7
- package/spec/strings/vscode-abl-issue#11.spec.js +0 -53
- package/spec/strings/vscode-abl-issue#28.spec.js +16 -16
- package/spec/type-name/argument.spec.js +6 -7
- package/spec/type-name/define-property.spec.js +1 -1
- package/spec/type-name/define-temp-table.spec.js +4 -4
- package/spec/type-name/define-variable-property.spec.js +1 -1
- package/spec/type-name/define-variable.spec.js +1 -1
- package/spec/type-name/new.spec.js +8 -8
- package/spec/type-name/parameter-as.spec.js +50 -1
- package/spec/type-name/type-name.spec.js +20 -20
|
@@ -162,7 +162,7 @@ describe('', () => {
|
|
|
162
162
|
{ "startIndex": 6, "endIndex": 7, "scopes": ["source.abl"] }, // ' '
|
|
163
163
|
{ "startIndex": 7, "endIndex": 9, "scopes": ["source.abl", "keyword.other.abl"] }, // 'to'
|
|
164
164
|
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl"] }, // ' '
|
|
165
|
-
{ "startIndex": 10, "endIndex": 18, "scopes": ["source.abl", "
|
|
165
|
+
{ "startIndex": 10, "endIndex": 18, "scopes": ["source.abl", "support.function.abl"] }, // 'terminal'
|
|
166
166
|
{ "startIndex": 18, "endIndex": 19, "scopes": ["source.abl"] }, // ' '
|
|
167
167
|
{ "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
168
168
|
];
|
|
@@ -177,13 +177,13 @@ describe('', () => {
|
|
|
177
177
|
{ "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "keyword.other.abl"] }, // 'output'
|
|
178
178
|
{ "startIndex": 6, "endIndex": 7, "scopes": ["source.abl"] }, // ' '
|
|
179
179
|
{ "startIndex": 7, "endIndex": 9, "scopes": ["source.abl", "keyword.other.abl"] }, // 'to'
|
|
180
|
-
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl"
|
|
181
|
-
{ "startIndex": 10, "endIndex": 15, "scopes": ["source.abl", "
|
|
182
|
-
{ "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.function
|
|
183
|
-
{ "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "meta.function
|
|
184
|
-
{ "startIndex": 17, "endIndex": 29, "scopes": ["source.abl", "meta.function
|
|
185
|
-
{ "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.function
|
|
186
|
-
{ "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "meta.
|
|
180
|
+
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl"] }, // ' '
|
|
181
|
+
{ "startIndex": 10, "endIndex": 15, "scopes": ["source.abl", "support.function.abl"] }, // 'value'
|
|
182
|
+
{ "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
183
|
+
{ "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
184
|
+
{ "startIndex": 17, "endIndex": 29, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'path/to/file'
|
|
185
|
+
{ "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
186
|
+
{ "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
187
187
|
{ "startIndex": 31, "endIndex": 32, "scopes": ["source.abl"] }, // ' '
|
|
188
188
|
{ "startIndex": 32, "endIndex": 33, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
189
189
|
];
|
|
@@ -198,11 +198,11 @@ describe('', () => {
|
|
|
198
198
|
{ "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "keyword.other.abl"] }, // 'output'
|
|
199
199
|
{ "startIndex": 6, "endIndex": 7, "scopes": ["source.abl"] }, // ' '
|
|
200
200
|
{ "startIndex": 7, "endIndex": 9, "scopes": ["source.abl", "keyword.other.abl"] }, // 'to'
|
|
201
|
-
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl"
|
|
202
|
-
{ "startIndex": 10, "endIndex": 15, "scopes": ["source.abl", "
|
|
203
|
-
{ "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.function
|
|
204
|
-
{ "startIndex": 16, "endIndex": 28, "scopes": ["source.abl", "meta.function
|
|
205
|
-
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.
|
|
201
|
+
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl"] }, // ' '
|
|
202
|
+
{ "startIndex": 10, "endIndex": 15, "scopes": ["source.abl", "support.function.abl"] }, // 'value'
|
|
203
|
+
{ "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
204
|
+
{ "startIndex": 16, "endIndex": 28, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'cv-file-name'
|
|
205
|
+
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
206
206
|
{ "startIndex": 29, "endIndex": 30, "scopes": ["source.abl"] }, // ' '
|
|
207
207
|
{ "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
208
208
|
];
|
|
@@ -223,18 +223,18 @@ describe('', () => {
|
|
|
223
223
|
{ "startIndex": 14, "endIndex": 18, "scopes": ["source.abl", "variable.other.abl"] }, // 'dump'
|
|
224
224
|
{ "startIndex": 18, "endIndex": 19, "scopes": ["source.abl"] }, // ' '
|
|
225
225
|
{ "startIndex": 19, "endIndex": 21, "scopes": ["source.abl", "keyword.other.abl"] }, // 'TO'
|
|
226
|
-
{ "startIndex": 21, "endIndex": 22, "scopes": ["source.abl"
|
|
227
|
-
{ "startIndex": 22, "endIndex": 27, "scopes": ["source.abl", "
|
|
228
|
-
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.function
|
|
229
|
-
{ "startIndex": 28, "endIndex": 31, "scopes": ["source.abl", "meta.function
|
|
230
|
-
{ "startIndex": 31, "endIndex": 32, "scopes": ["source.abl", "meta.
|
|
226
|
+
{ "startIndex": 21, "endIndex": 22, "scopes": ["source.abl"] }, // ' '
|
|
227
|
+
{ "startIndex": 22, "endIndex": 27, "scopes": ["source.abl", "support.function.abl"] }, // 'VALUE'
|
|
228
|
+
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
229
|
+
{ "startIndex": 28, "endIndex": 31, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'fil'
|
|
230
|
+
{ "startIndex": 31, "endIndex": 32, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
231
231
|
{ "startIndex": 32, "endIndex": 33, "scopes": ["source.abl"] }, // ' '
|
|
232
232
|
{ "startIndex": 33, "endIndex": 40, "scopes": ["source.abl", "keyword.other.abl"] }, // 'LOB-DIR'
|
|
233
|
-
{ "startIndex": 40, "endIndex": 41, "scopes": ["source.abl"
|
|
234
|
-
{ "startIndex": 41, "endIndex": 46, "scopes": ["source.abl", "
|
|
235
|
-
{ "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.function
|
|
236
|
-
{ "startIndex": 47, "endIndex": 53, "scopes": ["source.abl", "meta.function
|
|
237
|
-
{ "startIndex": 53, "endIndex": 54, "scopes": ["source.abl", "meta.
|
|
233
|
+
{ "startIndex": 40, "endIndex": 41, "scopes": ["source.abl"] }, // ' '
|
|
234
|
+
{ "startIndex": 41, "endIndex": 46, "scopes": ["source.abl", "support.function.abl"] }, // 'VALUE'
|
|
235
|
+
{ "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
236
|
+
{ "startIndex": 47, "endIndex": 53, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'lobdir'
|
|
237
|
+
{ "startIndex": 53, "endIndex": 54, "scopes": ["source.abl", "meta.brace.round.js"] } // ')'
|
|
238
238
|
],
|
|
239
239
|
[
|
|
240
240
|
{ "startIndex": 0, "endIndex": 7, "scopes": ["source.abl"] }, // ' '
|
|
@@ -264,36 +264,36 @@ describe('', () => {
|
|
|
264
264
|
{ "startIndex": 14, "endIndex": 18, "scopes": ["source.abl", "variable.other.abl"] }, // 'dump'
|
|
265
265
|
{ "startIndex": 18, "endIndex": 19, "scopes": ["source.abl"] }, // ' '
|
|
266
266
|
{ "startIndex": 19, "endIndex": 21, "scopes": ["source.abl", "keyword.other.abl"] }, // 'TO'
|
|
267
|
-
{ "startIndex": 21, "endIndex": 22, "scopes": ["source.abl"
|
|
268
|
-
{ "startIndex": 22, "endIndex": 27, "scopes": ["source.abl", "
|
|
269
|
-
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.function
|
|
270
|
-
{ "startIndex": 28, "endIndex": 31, "scopes": ["source.abl", "meta.function
|
|
271
|
-
{ "startIndex": 31, "endIndex": 32, "scopes": ["source.abl", "meta.
|
|
267
|
+
{ "startIndex": 21, "endIndex": 22, "scopes": ["source.abl"] }, // ' '
|
|
268
|
+
{ "startIndex": 22, "endIndex": 27, "scopes": ["source.abl", "support.function.abl"] }, // 'VALUE'
|
|
269
|
+
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
270
|
+
{ "startIndex": 28, "endIndex": 31, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'fil'
|
|
271
|
+
{ "startIndex": 31, "endIndex": 32, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
272
272
|
{ "startIndex": 32, "endIndex": 33, "scopes": ["source.abl"] }, // ' '
|
|
273
273
|
{ "startIndex": 33, "endIndex": 40, "scopes": ["source.abl", "keyword.other.abl"] } // 'NO-ECHO'
|
|
274
274
|
],
|
|
275
275
|
[
|
|
276
276
|
{ "startIndex": 0, "endIndex": 8, "scopes": ["source.abl"] }, // ' '
|
|
277
277
|
{ "startIndex": 8, "endIndex": 11, "scopes": ["source.abl", "keyword.other.abl"] }, // 'MAP'
|
|
278
|
-
{ "startIndex": 11, "endIndex": 12, "scopes": ["source.abl"
|
|
279
|
-
{ "startIndex": 12, "endIndex": 17, "scopes": ["source.abl", "
|
|
280
|
-
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.function
|
|
281
|
-
{ "startIndex": 18, "endIndex": 27, "scopes": ["source.abl", "meta.function
|
|
282
|
-
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.function
|
|
283
|
-
{ "startIndex": 28, "endIndex": 36, "scopes": ["source.abl", "meta.function
|
|
284
|
-
{ "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.function
|
|
285
|
-
{ "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "meta.function
|
|
286
|
-
{ "startIndex": 38, "endIndex": 39, "scopes": ["source.abl", "meta.function
|
|
287
|
-
{ "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.function
|
|
288
|
-
{ "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.function
|
|
289
|
-
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.function
|
|
290
|
-
{ "startIndex": 42, "endIndex": 44, "scopes": ["source.abl", "meta.function
|
|
291
|
-
{ "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "meta.function
|
|
292
|
-
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.function
|
|
293
|
-
{ "startIndex": 46, "endIndex": 55, "scopes": ["source.abl", "meta.function
|
|
294
|
-
{ "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.function
|
|
295
|
-
{ "startIndex": 56, "endIndex": 57, "scopes": ["source.abl", "meta.function
|
|
296
|
-
{ "startIndex": 57, "endIndex": 58, "scopes": ["source.abl", "meta.
|
|
278
|
+
{ "startIndex": 11, "endIndex": 12, "scopes": ["source.abl"] }, // ' '
|
|
279
|
+
{ "startIndex": 12, "endIndex": 17, "scopes": ["source.abl", "support.function.abl"] }, // 'VALUE'
|
|
280
|
+
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
281
|
+
{ "startIndex": 18, "endIndex": 27, "scopes": ["source.abl", "meta.function.arguments.abl", "support.function.abl"] }, // 'SUBSTRING'
|
|
282
|
+
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
283
|
+
{ "startIndex": 28, "endIndex": 36, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'user_env'
|
|
284
|
+
{ "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.array.literal.abl", "punctuation.definition.bracket.square.begin.abl"] }, // '['
|
|
285
|
+
{ "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.array.literal.abl", "constant.numeric.source.abl"] }, // '3'
|
|
286
|
+
{ "startIndex": 38, "endIndex": 39, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.array.literal.abl", "punctuation.definition.bracket.square.end.abl"] }, // ']'
|
|
287
|
+
{ "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
288
|
+
{ "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "constant.numeric.source.abl"] }, // '5'
|
|
289
|
+
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
290
|
+
{ "startIndex": 42, "endIndex": 44, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "constant.numeric.source.abl"] }, // '-1'
|
|
291
|
+
{ "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
292
|
+
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
293
|
+
{ "startIndex": 46, "endIndex": 55, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'character'
|
|
294
|
+
{ "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
295
|
+
{ "startIndex": 56, "endIndex": 57, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // ')'
|
|
296
|
+
{ "startIndex": 57, "endIndex": 58, "scopes": ["source.abl", "meta.brace.round.js"] } // ')'
|
|
297
297
|
],
|
|
298
298
|
[
|
|
299
299
|
{ "startIndex": 0, "endIndex": 8, "scopes": ["source.abl"] }, // ' '
|
|
@@ -319,43 +319,43 @@ describe('', () => {
|
|
|
319
319
|
{ "startIndex": 14, "endIndex": 18, "scopes": ["source.abl", "variable.other.abl"] }, // 'dump'
|
|
320
320
|
{ "startIndex": 18, "endIndex": 19, "scopes": ["source.abl"] }, // ' '
|
|
321
321
|
{ "startIndex": 19, "endIndex": 21, "scopes": ["source.abl", "keyword.other.abl"] }, // 'TO'
|
|
322
|
-
{ "startIndex": 21, "endIndex": 22, "scopes": ["source.abl"
|
|
323
|
-
{ "startIndex": 22, "endIndex": 27, "scopes": ["source.abl", "
|
|
324
|
-
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.function
|
|
325
|
-
{ "startIndex": 28, "endIndex": 31, "scopes": ["source.abl", "meta.function
|
|
326
|
-
{ "startIndex": 31, "endIndex": 32, "scopes": ["source.abl", "meta.
|
|
322
|
+
{ "startIndex": 21, "endIndex": 22, "scopes": ["source.abl"] }, // ' '
|
|
323
|
+
{ "startIndex": 22, "endIndex": 27, "scopes": ["source.abl", "support.function.abl"] }, // 'VALUE'
|
|
324
|
+
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
325
|
+
{ "startIndex": 28, "endIndex": 31, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'fil'
|
|
326
|
+
{ "startIndex": 31, "endIndex": 32, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
327
327
|
{ "startIndex": 32, "endIndex": 33, "scopes": ["source.abl"] }, // ' '
|
|
328
328
|
{ "startIndex": 33, "endIndex": 40, "scopes": ["source.abl", "keyword.other.abl"] }, // 'LOB-DIR'
|
|
329
|
-
{ "startIndex": 40, "endIndex": 41, "scopes": ["source.abl"
|
|
330
|
-
{ "startIndex": 41, "endIndex": 46, "scopes": ["source.abl", "
|
|
331
|
-
{ "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.function
|
|
332
|
-
{ "startIndex": 47, "endIndex": 53, "scopes": ["source.abl", "meta.function
|
|
333
|
-
{ "startIndex": 53, "endIndex": 54, "scopes": ["source.abl", "meta.
|
|
329
|
+
{ "startIndex": 40, "endIndex": 41, "scopes": ["source.abl"] }, // ' '
|
|
330
|
+
{ "startIndex": 41, "endIndex": 46, "scopes": ["source.abl", "support.function.abl"] }, // 'VALUE'
|
|
331
|
+
{ "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
332
|
+
{ "startIndex": 47, "endIndex": 53, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'lobdir'
|
|
333
|
+
{ "startIndex": 53, "endIndex": 54, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
334
334
|
{ "startIndex": 54, "endIndex": 55, "scopes": ["source.abl"] }, // ' '
|
|
335
335
|
{ "startIndex": 55, "endIndex": 62, "scopes": ["source.abl", "keyword.other.abl"] } // 'NO-ECHO'
|
|
336
336
|
],
|
|
337
337
|
[
|
|
338
338
|
{ "startIndex": 0, "endIndex": 8, "scopes": ["source.abl"] }, // ' '
|
|
339
339
|
{ "startIndex": 8, "endIndex": 11, "scopes": ["source.abl", "keyword.other.abl"] }, // 'MAP'
|
|
340
|
-
{ "startIndex": 11, "endIndex": 12, "scopes": ["source.abl"
|
|
341
|
-
{ "startIndex": 12, "endIndex": 17, "scopes": ["source.abl", "
|
|
342
|
-
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.function
|
|
343
|
-
{ "startIndex": 18, "endIndex": 27, "scopes": ["source.abl", "meta.function
|
|
344
|
-
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.function
|
|
345
|
-
{ "startIndex": 28, "endIndex": 36, "scopes": ["source.abl", "meta.function
|
|
346
|
-
{ "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.function
|
|
347
|
-
{ "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "meta.function
|
|
348
|
-
{ "startIndex": 38, "endIndex": 39, "scopes": ["source.abl", "meta.function
|
|
349
|
-
{ "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.function
|
|
350
|
-
{ "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.function
|
|
351
|
-
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.function
|
|
352
|
-
{ "startIndex": 42, "endIndex": 44, "scopes": ["source.abl", "meta.function
|
|
353
|
-
{ "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "meta.function
|
|
354
|
-
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.function
|
|
355
|
-
{ "startIndex": 46, "endIndex": 55, "scopes": ["source.abl", "meta.function
|
|
356
|
-
{ "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.function
|
|
357
|
-
{ "startIndex": 56, "endIndex": 57, "scopes": ["source.abl", "meta.function
|
|
358
|
-
{ "startIndex": 57, "endIndex": 58, "scopes": ["source.abl", "meta.
|
|
340
|
+
{ "startIndex": 11, "endIndex": 12, "scopes": ["source.abl"] }, // ' '
|
|
341
|
+
{ "startIndex": 12, "endIndex": 17, "scopes": ["source.abl", "support.function.abl"] }, // 'VALUE'
|
|
342
|
+
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
343
|
+
{ "startIndex": 18, "endIndex": 27, "scopes": ["source.abl", "meta.function.arguments.abl", "support.function.abl"] }, // 'SUBSTRING'
|
|
344
|
+
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
345
|
+
{ "startIndex": 28, "endIndex": 36, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'user_env'
|
|
346
|
+
{ "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.array.literal.abl", "punctuation.definition.bracket.square.begin.abl"] }, // '['
|
|
347
|
+
{ "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.array.literal.abl", "constant.numeric.source.abl"] }, // '3'
|
|
348
|
+
{ "startIndex": 38, "endIndex": 39, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.array.literal.abl", "punctuation.definition.bracket.square.end.abl"] }, // ']'
|
|
349
|
+
{ "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
350
|
+
{ "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "constant.numeric.source.abl"] }, // '5'
|
|
351
|
+
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
352
|
+
{ "startIndex": 42, "endIndex": 44, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "constant.numeric.source.abl"] }, // '-1'
|
|
353
|
+
{ "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
354
|
+
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
355
|
+
{ "startIndex": 46, "endIndex": 55, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'character'
|
|
356
|
+
{ "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
357
|
+
{ "startIndex": 56, "endIndex": 57, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // ')'
|
|
358
|
+
{ "startIndex": 57, "endIndex": 58, "scopes": ["source.abl", "meta.brace.round.js"] } // ')'
|
|
359
359
|
],
|
|
360
360
|
[
|
|
361
361
|
{ "startIndex": 0, "endIndex": 8, "scopes": ["source.abl"] }, // ' '
|
|
@@ -394,43 +394,43 @@ describe('', () => {
|
|
|
394
394
|
{ "startIndex": 14, "endIndex": 18, "scopes": ["source.abl", "variable.other.abl"] }, // 'dump'
|
|
395
395
|
{ "startIndex": 18, "endIndex": 19, "scopes": ["source.abl"] }, // ' '
|
|
396
396
|
{ "startIndex": 19, "endIndex": 21, "scopes": ["source.abl", "keyword.other.abl"] }, // 'TO'
|
|
397
|
-
{ "startIndex": 21, "endIndex": 22, "scopes": ["source.abl"
|
|
398
|
-
{ "startIndex": 22, "endIndex": 27, "scopes": ["source.abl", "
|
|
399
|
-
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.function
|
|
400
|
-
{ "startIndex": 28, "endIndex": 31, "scopes": ["source.abl", "meta.function
|
|
401
|
-
{ "startIndex": 31, "endIndex": 32, "scopes": ["source.abl", "meta.
|
|
397
|
+
{ "startIndex": 21, "endIndex": 22, "scopes": ["source.abl"] }, // ' '
|
|
398
|
+
{ "startIndex": 22, "endIndex": 27, "scopes": ["source.abl", "support.function.abl"] }, // 'VALUE'
|
|
399
|
+
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
400
|
+
{ "startIndex": 28, "endIndex": 31, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'fil'
|
|
401
|
+
{ "startIndex": 31, "endIndex": 32, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
402
402
|
{ "startIndex": 32, "endIndex": 33, "scopes": ["source.abl"] }, // ' '
|
|
403
403
|
{ "startIndex": 33, "endIndex": 40, "scopes": ["source.abl", "keyword.other.abl"] }, // 'LOB-DIR'
|
|
404
|
-
{ "startIndex": 40, "endIndex": 41, "scopes": ["source.abl"
|
|
405
|
-
{ "startIndex": 41, "endIndex": 46, "scopes": ["source.abl", "
|
|
406
|
-
{ "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.function
|
|
407
|
-
{ "startIndex": 47, "endIndex": 53, "scopes": ["source.abl", "meta.function
|
|
408
|
-
{ "startIndex": 53, "endIndex": 54, "scopes": ["source.abl", "meta.
|
|
404
|
+
{ "startIndex": 40, "endIndex": 41, "scopes": ["source.abl"] }, // ' '
|
|
405
|
+
{ "startIndex": 41, "endIndex": 46, "scopes": ["source.abl", "support.function.abl"] }, // 'VALUE'
|
|
406
|
+
{ "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
407
|
+
{ "startIndex": 47, "endIndex": 53, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'lobdir'
|
|
408
|
+
{ "startIndex": 53, "endIndex": 54, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
409
409
|
{ "startIndex": 54, "endIndex": 55, "scopes": ["source.abl"] }, // ' '
|
|
410
410
|
{ "startIndex": 55, "endIndex": 62, "scopes": ["source.abl", "keyword.other.abl"] } // 'NO-ECHO'
|
|
411
411
|
],
|
|
412
412
|
[
|
|
413
413
|
{ "startIndex": 0, "endIndex": 8, "scopes": ["source.abl"] }, // ' '
|
|
414
414
|
{ "startIndex": 8, "endIndex": 11, "scopes": ["source.abl", "keyword.other.abl"] }, // 'MAP'
|
|
415
|
-
{ "startIndex": 11, "endIndex": 12, "scopes": ["source.abl"
|
|
416
|
-
{ "startIndex": 12, "endIndex": 17, "scopes": ["source.abl", "
|
|
417
|
-
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.function
|
|
418
|
-
{ "startIndex": 18, "endIndex": 27, "scopes": ["source.abl", "meta.function
|
|
419
|
-
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.function
|
|
420
|
-
{ "startIndex": 28, "endIndex": 36, "scopes": ["source.abl", "meta.function
|
|
421
|
-
{ "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.function
|
|
422
|
-
{ "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "meta.function
|
|
423
|
-
{ "startIndex": 38, "endIndex": 39, "scopes": ["source.abl", "meta.function
|
|
424
|
-
{ "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.function
|
|
425
|
-
{ "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.function
|
|
426
|
-
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.function
|
|
427
|
-
{ "startIndex": 42, "endIndex": 44, "scopes": ["source.abl", "meta.function
|
|
428
|
-
{ "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "meta.function
|
|
429
|
-
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.function
|
|
430
|
-
{ "startIndex": 46, "endIndex": 55, "scopes": ["source.abl", "meta.function
|
|
431
|
-
{ "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.function
|
|
432
|
-
{ "startIndex": 56, "endIndex": 57, "scopes": ["source.abl", "meta.function
|
|
433
|
-
{ "startIndex": 57, "endIndex": 58, "scopes": ["source.abl", "meta.
|
|
415
|
+
{ "startIndex": 11, "endIndex": 12, "scopes": ["source.abl"] }, // ' '
|
|
416
|
+
{ "startIndex": 12, "endIndex": 17, "scopes": ["source.abl", "support.function.abl"] }, // 'VALUE'
|
|
417
|
+
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
418
|
+
{ "startIndex": 18, "endIndex": 27, "scopes": ["source.abl", "meta.function.arguments.abl", "support.function.abl"] }, // 'SUBSTRING'
|
|
419
|
+
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
420
|
+
{ "startIndex": 28, "endIndex": 36, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'user_env'
|
|
421
|
+
{ "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.array.literal.abl", "punctuation.definition.bracket.square.begin.abl"] }, // '['
|
|
422
|
+
{ "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.array.literal.abl", "constant.numeric.source.abl"] }, // '3'
|
|
423
|
+
{ "startIndex": 38, "endIndex": 39, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.array.literal.abl", "punctuation.definition.bracket.square.end.abl"] }, // ']'
|
|
424
|
+
{ "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
425
|
+
{ "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "constant.numeric.source.abl"] }, // '5'
|
|
426
|
+
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
427
|
+
{ "startIndex": 42, "endIndex": 44, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "constant.numeric.source.abl"] }, // '-1'
|
|
428
|
+
{ "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
429
|
+
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
430
|
+
{ "startIndex": 46, "endIndex": 55, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'character'
|
|
431
|
+
{ "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
432
|
+
{ "startIndex": 56, "endIndex": 57, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // ')'
|
|
433
|
+
{ "startIndex": 57, "endIndex": 58, "scopes": ["source.abl", "meta.brace.round.js"] } // ')'
|
|
434
434
|
],
|
|
435
435
|
[
|
|
436
436
|
{ "startIndex": 0, "endIndex": 8, "scopes": ["source.abl"] }, // ' '
|
|
@@ -86,7 +86,7 @@ if type-of(pProxyReq, IHttpRequest) then
|
|
|
86
86
|
{ "startIndex": 52, "endIndex": 53, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':'
|
|
87
87
|
{ "startIndex": 53, "endIndex": 56, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Set'
|
|
88
88
|
{ "startIndex": 56, "endIndex": 57, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
89
|
-
{ "startIndex": 57, "endIndex": 60, "scopes": ["source.abl", "meta.function.arguments.abl", "
|
|
89
|
+
{ "startIndex": 57, "endIndex": 60, "scopes": ["source.abl", "meta.function.arguments.abl", "support.function.abl"] }, // 'now'
|
|
90
90
|
{ "startIndex": 60, "endIndex": 61, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
91
91
|
{ "startIndex": 61, "endIndex": 62, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
92
92
|
]
|
|
@@ -138,4 +138,3 @@ describe('', () => {
|
|
|
138
138
|
];
|
|
139
139
|
shared.itShouldMatchExpectedScopes(statement, expectedTokens);
|
|
140
140
|
})
|
|
141
|
-
|
|
@@ -125,7 +125,7 @@ end.`;
|
|
|
125
125
|
{ "startIndex": 8, "endIndex": 9, "scopes": ["source.abl"] }, // ' '
|
|
126
126
|
{ "startIndex": 9, "endIndex": 14, "scopes": ["source.abl", "storage.data.table.abl"] }, // 'table'
|
|
127
127
|
{ "startIndex": 14, "endIndex": 15, "scopes": ["source.abl"] }, // ' '
|
|
128
|
-
{ "startIndex": 15, "endIndex": 26, "scopes": ["source.abl", "
|
|
128
|
+
{ "startIndex": 15, "endIndex": 26, "scopes": ["source.abl", "variable.language.abl"] }, // 'transaction'
|
|
129
129
|
{ "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "punctuation.terminator.abl"] } // ':'
|
|
130
130
|
],
|
|
131
131
|
[
|
|
@@ -1,35 +1,18 @@
|
|
|
1
1
|
const { assert, expect } = require('chai');
|
|
2
2
|
const shared = require('../shared.js');
|
|
3
3
|
|
|
4
|
-
describe('', () => {
|
|
5
|
-
let statement = `quoter(poPaymentLogParameter:TransactionPaymentParameter:RequestID).`;
|
|
6
|
-
let expectedTokens = [
|
|
7
|
-
{ "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "meta.function-call.abl", "support.function.abl"] }, // 'quoter'
|
|
8
|
-
{ "startIndex": 6, "endIndex": 7, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
9
|
-
{ "startIndex": 7, "endIndex": 28, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'poPaymentLogParameter'
|
|
10
|
-
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "punctuation.separator.colon.abl"] }, // ':'
|
|
11
|
-
{ "startIndex": 29, "endIndex": 56, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "entity.name.function.abl"] }, // 'TransactionPaymentParameter'
|
|
12
|
-
{ "startIndex": 56, "endIndex": 57, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "punctuation.separator.colon.abl"] }, // ':'
|
|
13
|
-
{ "startIndex": 57, "endIndex": 66, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "entity.name.function.abl"] }, // 'RequestID'
|
|
14
|
-
{ "startIndex": 66, "endIndex": 67, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // ')'
|
|
15
|
-
{ "startIndex": 67, "endIndex": 68, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
16
|
-
];
|
|
17
|
-
shared.itShouldMatchExpectedScopes(statement, expectedTokens);
|
|
18
|
-
})
|
|
19
|
-
|
|
20
4
|
describe('', () => {
|
|
21
5
|
let statement = `quoter(poPaymentLogParameter:LockTransactionPaymentParameter:RequestID).`;
|
|
22
6
|
let expectedTokens = [
|
|
23
|
-
{ "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "
|
|
24
|
-
{ "startIndex": 6, "endIndex": 7, "scopes": ["source.abl", "meta.function
|
|
25
|
-
{ "startIndex": 7, "endIndex": 28, "scopes": ["source.abl", "meta.function
|
|
26
|
-
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.function
|
|
27
|
-
{ "startIndex": 29, "endIndex": 60, "scopes": ["source.abl", "meta.function
|
|
28
|
-
{ "startIndex": 60, "endIndex": 61, "scopes": ["source.abl", "meta.function
|
|
29
|
-
{ "startIndex": 61, "endIndex": 70, "scopes": ["source.abl", "meta.function
|
|
30
|
-
{ "startIndex": 70, "endIndex": 71, "scopes": ["source.abl", "meta.
|
|
7
|
+
{ "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "support.function.abl"] }, // 'quoter'
|
|
8
|
+
{ "startIndex": 6, "endIndex": 7, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
9
|
+
{ "startIndex": 7, "endIndex": 28, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'poPaymentLogParameter'
|
|
10
|
+
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.colon.abl"] }, // ':'
|
|
11
|
+
{ "startIndex": 29, "endIndex": 60, "scopes": ["source.abl", "meta.function.arguments.abl", "entity.name.function.abl"] }, // 'LockTransactionPaymentParameter'
|
|
12
|
+
{ "startIndex": 60, "endIndex": 61, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.colon.abl"] }, // ':'
|
|
13
|
+
{ "startIndex": 61, "endIndex": 70, "scopes": ["source.abl", "meta.function.arguments.abl", "entity.name.function.abl"] }, // 'RequestID'
|
|
14
|
+
{ "startIndex": 70, "endIndex": 71, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
31
15
|
{ "startIndex": 71, "endIndex": 72, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
32
16
|
];
|
|
33
17
|
shared.itShouldMatchExpectedScopes(statement, expectedTokens);
|
|
34
18
|
})
|
|
35
|
-
|
|
@@ -7,33 +7,33 @@ describe('', () => {
|
|
|
7
7
|
{ "startIndex": 0, "endIndex": 15, "scopes": ["source.abl", "variable.other.abl"] }, // 'cParameterField'
|
|
8
8
|
{ "startIndex": 15, "endIndex": 16, "scopes": ["source.abl"] }, // ' '
|
|
9
9
|
{ "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '='
|
|
10
|
-
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl"
|
|
11
|
-
{ "startIndex": 18, "endIndex": 23, "scopes": ["source.abl", "
|
|
12
|
-
{ "startIndex": 23, "endIndex": 24, "scopes": ["source.abl", "meta.function
|
|
13
|
-
{ "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "meta.function
|
|
14
|
-
{ "startIndex": 25, "endIndex": 29, "scopes": ["source.abl", "meta.function
|
|
15
|
-
{ "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.function
|
|
16
|
-
{ "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "meta.function
|
|
17
|
-
{ "startIndex": 31, "endIndex": 32, "scopes": ["source.abl", "meta.function
|
|
18
|
-
{ "startIndex": 32, "endIndex": 37, "scopes": ["source.abl", "meta.function
|
|
19
|
-
{ "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "meta.function
|
|
20
|
-
{ "startIndex": 38, "endIndex": 47, "scopes": ["source.abl", "meta.function
|
|
21
|
-
{ "startIndex": 47, "endIndex": 48, "scopes": ["source.abl", "meta.function
|
|
22
|
-
{ "startIndex": 48, "endIndex": 75, "scopes": ["source.abl", "meta.function
|
|
23
|
-
{ "startIndex": 75, "endIndex": 76, "scopes": ["source.abl", "meta.function
|
|
24
|
-
{ "startIndex": 76, "endIndex": 77, "scopes": ["source.abl", "meta.function
|
|
25
|
-
{ "startIndex": 77, "endIndex": 78, "scopes": ["source.abl", "meta.function
|
|
26
|
-
{ "startIndex": 78, "endIndex": 79, "scopes": ["source.abl", "meta.function
|
|
27
|
-
{ "startIndex": 79, "endIndex": 80, "scopes": ["source.abl", "meta.function
|
|
28
|
-
{ "startIndex": 80, "endIndex": 81, "scopes": ["source.abl", "meta.function
|
|
29
|
-
{ "startIndex": 81, "endIndex": 82, "scopes": ["source.abl", "meta.function
|
|
30
|
-
{ "startIndex": 82, "endIndex": 83, "scopes": ["source.abl", "meta.function
|
|
31
|
-
{ "startIndex": 83, "endIndex": 84, "scopes": ["source.abl", "meta.function
|
|
32
|
-
{ "startIndex": 84, "endIndex": 85, "scopes": ["source.abl", "meta.function
|
|
33
|
-
{ "startIndex": 85, "endIndex": 94, "scopes": ["source.abl", "meta.function
|
|
34
|
-
{ "startIndex": 94, "endIndex": 95, "scopes": ["source.abl", "meta.function
|
|
35
|
-
{ "startIndex": 95, "endIndex": 119, "scopes": ["source.abl", "meta.function
|
|
36
|
-
{ "startIndex": 119, "endIndex": 120, "scopes": ["source.abl", "meta.
|
|
10
|
+
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl"] }, // ' '
|
|
11
|
+
{ "startIndex": 18, "endIndex": 23, "scopes": ["source.abl", "support.function.abl"] }, // 'SUBST'
|
|
12
|
+
{ "startIndex": 23, "endIndex": 24, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
13
|
+
{ "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
14
|
+
{ "startIndex": 25, "endIndex": 29, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // '&1&2'
|
|
15
|
+
{ "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
16
|
+
{ "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
17
|
+
{ "startIndex": 31, "endIndex": 32, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
18
|
+
{ "startIndex": 32, "endIndex": 37, "scopes": ["source.abl", "meta.function.arguments.abl", "support.function.abl"] }, // 'LOWER'
|
|
19
|
+
{ "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
20
|
+
{ "startIndex": 38, "endIndex": 47, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "support.function.abl"] }, // 'SUBSTRING'
|
|
21
|
+
{ "startIndex": 47, "endIndex": 48, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
22
|
+
{ "startIndex": 48, "endIndex": 75, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "storage.data.table.abl"] }, // 'ttUniqueIndex.FieldDataType'
|
|
23
|
+
{ "startIndex": 75, "endIndex": 76, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
24
|
+
{ "startIndex": 76, "endIndex": 77, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.function.arguments.abl"] }, // ' '
|
|
25
|
+
{ "startIndex": 77, "endIndex": 78, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "constant.numeric.source.abl"] }, // '1'
|
|
26
|
+
{ "startIndex": 78, "endIndex": 79, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
27
|
+
{ "startIndex": 79, "endIndex": 80, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.function.arguments.abl"] }, // ' '
|
|
28
|
+
{ "startIndex": 80, "endIndex": 81, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "constant.numeric.source.abl"] }, // '1'
|
|
29
|
+
{ "startIndex": 81, "endIndex": 82, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // ')'
|
|
30
|
+
{ "startIndex": 82, "endIndex": 83, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // ')'
|
|
31
|
+
{ "startIndex": 83, "endIndex": 84, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
32
|
+
{ "startIndex": 84, "endIndex": 85, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
33
|
+
{ "startIndex": 85, "endIndex": 94, "scopes": ["source.abl", "meta.function.arguments.abl", "entity.name.function.abl"] }, // 'CamelCase'
|
|
34
|
+
{ "startIndex": 94, "endIndex": 95, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
35
|
+
{ "startIndex": 95, "endIndex": 119, "scopes": ["source.abl", "meta.function.arguments.abl", "storage.data.table.abl"] }, // 'ttUniqueIndex.IndexField'
|
|
36
|
+
{ "startIndex": 119, "endIndex": 120, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
37
37
|
{ "startIndex": 120, "endIndex": 121, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
38
38
|
{ "startIndex": 121, "endIndex": 122, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
39
39
|
];
|
|
@@ -20,11 +20,11 @@ end constructor.`;
|
|
|
20
20
|
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "punctuation.terminator.abl"] } // ':'
|
|
21
21
|
],
|
|
22
22
|
[
|
|
23
|
-
{ "startIndex": 0, "endIndex": 2, "scopes": ["source.abl"
|
|
24
|
-
{ "startIndex": 2, "endIndex": 13, "scopes": ["source.abl", "
|
|
25
|
-
{ "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.function
|
|
26
|
-
{ "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.function
|
|
27
|
-
{ "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.
|
|
23
|
+
{ "startIndex": 0, "endIndex": 2, "scopes": ["source.abl"] }, // ' '
|
|
24
|
+
{ "startIndex": 2, "endIndex": 13, "scopes": ["source.abl", "support.function.abl"] }, // 'this-object'
|
|
25
|
+
{ "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
26
|
+
{ "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'x'
|
|
27
|
+
{ "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
28
28
|
{ "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
29
29
|
],
|
|
30
30
|
[
|