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.
- package/.github/workflows/ci.yml +36 -0
- package/CHANGELOG.md +10 -0
- package/README.md +17 -12
- package/abl.tmLanguage.json +258 -83
- package/package.json +1 -1
- package/spec/annotations/annotation.spec.js +49 -50
- package/spec/blocks/block-labels.spec.js +3 -3
- package/spec/blocks/block-options.spec.js +9 -7
- package/spec/comments/comment-in-block-statement.spec.js +20 -14
- package/spec/comments/comment-in-for-each.spec.js +9 -6
- package/spec/comments/comment-in-function-args.spec.js +4 -5
- package/spec/comments/vscode-abl-issue#127.spec.js +4 -4
- package/spec/create-widgets/create-window.spec.js +11 -8
- package/spec/db-table-and-field/buffer-copy.spec.js +45 -39
- package/spec/db-table-and-field/create-alias.spec.js +3 -3
- package/spec/db-table-and-field/field-in-function.spec.js +6 -6
- package/spec/db-table-and-field/foreach.spec.js +3 -3
- package/spec/db-table-and-field/issue#88.spec.js +2 -2
- package/spec/db-table-and-field/new-record.spec.js +46 -25
- package/spec/define/define-browse.spec.js +54 -54
- package/spec/define/define-button.spec.js +3 -3
- package/spec/define-buffer/create-buffer.spec.js +48 -3
- package/spec/define-buffer/simple-single-line.spec.js +9 -9
- package/spec/define-frame/issue#173.spec.js +56 -50
- package/spec/define-parameter/simple-single-line.spec.js +3 -3
- package/spec/define-property/property-getter.spec.js +4 -4
- package/spec/define-temp-table/define-dataset.spec.js +23 -17
- package/spec/define-temp-table/define-temp-table.spec.js +68 -53
- package/spec/define-variable/extent.spec.js +6 -6
- package/spec/define-variable/initial.spec.js +15 -15
- package/spec/define-variable/issue#6.spec.js +39 -39
- package/spec/define-variable/issue#9.spec.js +3 -3
- package/spec/define-variable/var-statement.spec.js +7 -4
- package/spec/do/do-blocks.spec.js +24 -18
- package/spec/for-each/issue#321.spec.js +2 -2
- package/spec/function-call/can-find.spec.js +10 -11
- package/spec/function-call/misc-abl-functions.spec.js +3 -3
- package/spec/function-call/nested-functions.spec.js +21 -22
- package/spec/function-call/udf-calls.spec.js +22 -23
- package/spec/function-call/vscode-abl-issue#19.spec.js +12 -12
- package/spec/global-scoped-define/global-define.spec.js +54 -7
- package/spec/global-scoped-define/scoped-define-with-procedure-keyword.spec.js +49 -15
- package/spec/global-scoped-define/undefine.spec.js +44 -0
- package/spec/include/abl-tmlanguage-issues#5.spec.js +3 -3
- package/spec/include/include-file-name.spec.js +16 -4
- package/spec/include/unnamed-arguments.spec.js +4 -5
- package/spec/include/vscode-abl-issue#45.spec.js +3 -3
- package/spec/include/vscode-abl-issue#77.spec.js +16 -17
- package/spec/include/vscode-abl-issue#80.spec.js +10 -7
- package/spec/input-output/input-from.spec.js +19 -16
- package/spec/input-output/output-to.spec.js +15 -15
- package/spec/method-attribute-property-call/abl-method-attribute-call.spec.js +16 -17
- package/spec/method-attribute-property-call/connected-method.spec.js +3 -4
- package/spec/method-attribute-property-call/datset-table-attribute-method-call.spec.js +12 -12
- package/spec/method-attribute-property-call/method-call.spec.js +16 -16
- package/spec/method-attribute-property-call/unqualified-method-call.spec.js +3 -4
- package/spec/method-definition/constructor.spec.js +6 -6
- package/spec/method-definition/method.spec.js +12 -12
- package/spec/misc-statements/case-statement.spec.js +9 -9
- package/spec/misc-statements/class-in-var-name.spec.js +8 -9
- package/spec/misc-statements/copy-lob.spec.js +3 -3
- package/spec/misc-statements/do-in-name.spec.js +21 -22
- package/spec/misc-statements/event-subscribe.spec.js +14 -15
- package/spec/misc-statements/export-delimiter.spec.js +6 -6
- package/spec/misc-statements/if-then.spec.js +9 -9
- package/spec/misc-statements/issue#173.spec.js +3 -4
- package/spec/misc-statements/message-statement.spec.js +3 -3
- package/spec/misc-statements/record-buffer-functions.spec.js +3 -3
- package/spec/misc-statements/release.spec.js +3 -4
- package/spec/misc-statements/skip-statement-and-fuction.spec.js +3 -4
- package/spec/numbers/scientific-notation.spec.js +212 -0
- package/spec/operators/operators.spec.js +10 -10
- package/spec/preprocesors/issue166.spec.js +27 -19
- package/spec/preprocesors/preprocessor-functions.spec.js +77 -0
- package/spec/preprocesors/proparse-preprocessor.spec.js +27 -3
- package/spec/procedure-definition/trigger-procedure.spec.js +8 -2
- package/spec/procedure-definition/vscode-abl-issue#22.spec.js +3 -3
- package/spec/procedure-definition/vscode-abl-issue#26.spec.js +4 -4
- package/spec/procedure-definition/vscode-abl-issue#325.spec.js +26 -2
- package/spec/procedure-definition/vscode-abl-issue#62.spec.js +7 -4
- package/spec/run-statement/run-statement.spec.js +25 -13
- package/spec/strings/translation-attribute.spec.js +4 -4
- package/spec/strings/vscode-abl-issue#11.spec.js +24 -24
- package/spec/strings/vscode-abl-issue#28.spec.js +9 -9
- package/spec/type-name/argument.spec.js +11 -12
- package/spec/type-name/cast.spec.js +7 -7
- package/spec/type-name/define-class.spec.js +89 -2
- package/spec/type-name/define-temp-table.spec.js +6 -6
- package/spec/type-name/new.spec.js +3 -3
- package/spec/type-name/parameter-as.spec.js +6 -6
- package/spec/type-name/type-name.spec.js +21 -19
- package/spec/type-name/using.spec.js +32 -0
|
@@ -19,10 +19,10 @@ SessionManager:ContextDataset:WRITE-XML ( "longchar":U,
|
|
|
19
19
|
{ "startIndex": 39, "endIndex": 40, "scopes": ["source.abl"] }, // ' '
|
|
20
20
|
{ "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
21
21
|
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
22
|
-
{ "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
23
|
-
{ "startIndex": 43, "endIndex": 51, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
24
|
-
{ "startIndex": 51, "endIndex": 52, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
25
|
-
{ "startIndex": 52, "endIndex": 54, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
22
|
+
{ "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
23
|
+
{ "startIndex": 43, "endIndex": 51, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'longchar'
|
|
24
|
+
{ "startIndex": 51, "endIndex": 52, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
25
|
+
{ "startIndex": 52, "endIndex": 54, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "support.other.abl"] }, // ':U'
|
|
26
26
|
{ "startIndex": 54, "endIndex": 55, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] } // ','
|
|
27
27
|
],
|
|
28
28
|
[
|
|
@@ -32,10 +32,10 @@ SessionManager:ContextDataset:WRITE-XML ( "longchar":U,
|
|
|
32
32
|
],
|
|
33
33
|
[
|
|
34
34
|
{ "startIndex": 0, "endIndex": 42, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
35
|
-
{ "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
36
|
-
{ "startIndex": 43, "endIndex": 48, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
37
|
-
{ "startIndex": 48, "endIndex": 49, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
38
|
-
{ "startIndex": 49, "endIndex": 51, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
35
|
+
{ "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
36
|
+
{ "startIndex": 43, "endIndex": 48, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'EMPTY'
|
|
37
|
+
{ "startIndex": 48, "endIndex": 49, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
38
|
+
{ "startIndex": 49, "endIndex": 51, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "support.other.abl"] }, // ':U'
|
|
39
39
|
{ "startIndex": 51, "endIndex": 52, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
40
40
|
{ "startIndex": 52, "endIndex": 53, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
41
41
|
{ "startIndex": 53, "endIndex": 54, "scopes": ["source.abl", "meta.function.arguments.abl", "constant.language.abl"] }, // '?'
|
|
@@ -67,10 +67,10 @@ SessionManager:ContextDataset:READ-XML ( "longchar":U,
|
|
|
67
67
|
{ "startIndex": 38, "endIndex": 39, "scopes": ["source.abl"] }, // ' '
|
|
68
68
|
{ "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
69
69
|
{ "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
70
|
-
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
71
|
-
{ "startIndex": 42, "endIndex": 50, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
72
|
-
{ "startIndex": 50, "endIndex": 51, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
73
|
-
{ "startIndex": 51, "endIndex": 53, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
70
|
+
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
71
|
+
{ "startIndex": 42, "endIndex": 50, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'longchar'
|
|
72
|
+
{ "startIndex": 50, "endIndex": 51, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
73
|
+
{ "startIndex": 51, "endIndex": 53, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "support.other.abl"] }, // ':U'
|
|
74
74
|
{ "startIndex": 53, "endIndex": 54, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] } // ','
|
|
75
75
|
],
|
|
76
76
|
[
|
|
@@ -80,10 +80,10 @@ SessionManager:ContextDataset:READ-XML ( "longchar":U,
|
|
|
80
80
|
],
|
|
81
81
|
[
|
|
82
82
|
{ "startIndex": 0, "endIndex": 42, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
83
|
-
{ "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
84
|
-
{ "startIndex": 43, "endIndex": 48, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
85
|
-
{ "startIndex": 48, "endIndex": 49, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
86
|
-
{ "startIndex": 49, "endIndex": 51, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
83
|
+
{ "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
84
|
+
{ "startIndex": 43, "endIndex": 48, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'EMPTY'
|
|
85
|
+
{ "startIndex": 48, "endIndex": 49, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
86
|
+
{ "startIndex": 49, "endIndex": 51, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "support.other.abl"] }, // ':U'
|
|
87
87
|
{ "startIndex": 51, "endIndex": 52, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
88
88
|
{ "startIndex": 52, "endIndex": 53, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
89
89
|
{ "startIndex": 53, "endIndex": 54, "scopes": ["source.abl", "meta.function.arguments.abl", "constant.language.abl"] }, // '?'
|
|
@@ -96,4 +96,3 @@ SessionManager:ContextDataset:READ-XML ( "longchar":U,
|
|
|
96
96
|
];
|
|
97
97
|
shared.itShouldMatchExpectedScopes(statement, expectedTokens);
|
|
98
98
|
})
|
|
99
|
-
|
|
@@ -18,13 +18,12 @@ hSrv:connect('-URL http://localhost:1234/apsv').`;
|
|
|
18
18
|
{ "startIndex": 4, "endIndex": 5, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':'
|
|
19
19
|
{ "startIndex": 5, "endIndex": 12, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'connect'
|
|
20
20
|
{ "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
21
|
-
{ "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.function.arguments.abl", "string.single.
|
|
22
|
-
{ "startIndex": 14, "endIndex": 45, "scopes": ["source.abl", "meta.function.arguments.abl", "string.single.
|
|
23
|
-
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.function.arguments.abl", "string.single.
|
|
21
|
+
{ "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.single.abl", "punctuation.definition.string.begin.abl"] }, // '''
|
|
22
|
+
{ "startIndex": 14, "endIndex": 45, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.single.abl"] }, // '-URL http://localhost:1234/apsv'
|
|
23
|
+
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.single.abl", "punctuation.definition.string.end.abl"] }, // '''
|
|
24
24
|
{ "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
25
25
|
{ "startIndex": 47, "endIndex": 48, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
26
26
|
]
|
|
27
27
|
];
|
|
28
28
|
shared.itShouldMatchExpectedScopes(statement, expectedTokens);
|
|
29
29
|
})
|
|
30
|
-
|
|
@@ -13,10 +13,10 @@ buffer eEmployee:apply-callback("BEFORE-ROW-FILL":U).`;
|
|
|
13
13
|
{ "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':'
|
|
14
14
|
{ "startIndex": 19, "endIndex": 33, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'apply-callback'
|
|
15
15
|
{ "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
16
|
-
{ "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
17
|
-
{ "startIndex": 35, "endIndex": 46, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
18
|
-
{ "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
19
|
-
{ "startIndex": 47, "endIndex": 49, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
16
|
+
{ "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
17
|
+
{ "startIndex": 35, "endIndex": 46, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'BEFORE-FILL'
|
|
18
|
+
{ "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
19
|
+
{ "startIndex": 47, "endIndex": 49, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "support.other.abl"] }, // ':U'
|
|
20
20
|
{ "startIndex": 49, "endIndex": 50, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
21
21
|
{ "startIndex": 50, "endIndex": 51, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
22
22
|
],
|
|
@@ -27,10 +27,10 @@ buffer eEmployee:apply-callback("BEFORE-ROW-FILL":U).`;
|
|
|
27
27
|
{ "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':'
|
|
28
28
|
{ "startIndex": 17, "endIndex": 31, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'apply-callback'
|
|
29
29
|
{ "startIndex": 31, "endIndex": 32, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
30
|
-
{ "startIndex": 32, "endIndex": 33, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
31
|
-
{ "startIndex": 33, "endIndex": 44, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
32
|
-
{ "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
33
|
-
{ "startIndex": 45, "endIndex": 47, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
30
|
+
{ "startIndex": 32, "endIndex": 33, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
31
|
+
{ "startIndex": 33, "endIndex": 44, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'BEFORE-FILL'
|
|
32
|
+
{ "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
33
|
+
{ "startIndex": 45, "endIndex": 47, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "support.other.abl"] }, // ':U'
|
|
34
34
|
{ "startIndex": 47, "endIndex": 48, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
35
35
|
{ "startIndex": 48, "endIndex": 49, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
36
36
|
],
|
|
@@ -41,10 +41,10 @@ buffer eEmployee:apply-callback("BEFORE-ROW-FILL":U).`;
|
|
|
41
41
|
{ "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':'
|
|
42
42
|
{ "startIndex": 17, "endIndex": 31, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'apply-callback'
|
|
43
43
|
{ "startIndex": 31, "endIndex": 32, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
44
|
-
{ "startIndex": 32, "endIndex": 33, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
45
|
-
{ "startIndex": 33, "endIndex": 48, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
46
|
-
{ "startIndex": 48, "endIndex": 49, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
47
|
-
{ "startIndex": 49, "endIndex": 51, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
44
|
+
{ "startIndex": 32, "endIndex": 33, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
45
|
+
{ "startIndex": 33, "endIndex": 48, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'BEFORE-ROW-FILL'
|
|
46
|
+
{ "startIndex": 48, "endIndex": 49, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
47
|
+
{ "startIndex": 49, "endIndex": 51, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "support.other.abl"] }, // ':U'
|
|
48
48
|
{ "startIndex": 51, "endIndex": 52, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
49
49
|
{ "startIndex": 52, "endIndex": 53, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
50
50
|
]
|
|
@@ -93,11 +93,11 @@ end method.`;
|
|
|
93
93
|
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
94
94
|
{ "startIndex": 28, "endIndex": 40, "scopes": ["source.abl", "meta.function.arguments.abl", "keyword.other.abl"] }, // 'by-reference'
|
|
95
95
|
{ "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
96
|
-
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
97
|
-
{ "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
96
|
+
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
97
|
+
{ "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
98
98
|
{ "startIndex": 43, "endIndex": 44, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
99
|
-
{ "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
100
|
-
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
99
|
+
{ "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
100
|
+
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
101
101
|
{ "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
102
102
|
{ "startIndex": 47, "endIndex": 48, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
103
103
|
],
|
|
@@ -195,10 +195,10 @@ Progress.Lang.Class:GetClass (pcEntityName) :IsA ( "Consultingwerk.SmartFramewor
|
|
|
195
195
|
{ "startIndex": 50, "endIndex": 51, "scopes": ["source.abl"] }, // ' '
|
|
196
196
|
{ "startIndex": 51, "endIndex": 52, "scopes": ["source.abl", "meta.brace.round.js"] }, // '('
|
|
197
197
|
{ "startIndex": 52, "endIndex": 53, "scopes": ["source.abl"] }, // ' '
|
|
198
|
-
{ "startIndex": 53, "endIndex": 54, "scopes": ["source.abl", "string.double.
|
|
199
|
-
{ "startIndex": 54, "endIndex": 86, "scopes": ["source.abl", "string.double.
|
|
200
|
-
{ "startIndex": 86, "endIndex": 87, "scopes": ["source.abl", "string.double.
|
|
201
|
-
{ "startIndex": 87, "endIndex": 89, "scopes": ["source.abl", "string.double.
|
|
198
|
+
{ "startIndex": 53, "endIndex": 54, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
199
|
+
{ "startIndex": 54, "endIndex": 86, "scopes": ["source.abl", "string.quoted.double.abl"] }, // 'Consultingwerk.OERA.BusinessTask'
|
|
200
|
+
{ "startIndex": 86, "endIndex": 87, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
201
|
+
{ "startIndex": 87, "endIndex": 89, "scopes": ["source.abl", "string.quoted.double.abl", "support.other.abl"] }, // ':U'
|
|
202
202
|
{ "startIndex": 89, "endIndex": 90, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
203
203
|
{ "startIndex": 90, "endIndex": 91, "scopes": ["source.abl"] }, // ' '
|
|
204
204
|
{ "startIndex": 91, "endIndex": 93, "scopes": ["source.abl", "keyword.other.abl"] } // 'or'
|
|
@@ -217,10 +217,10 @@ Progress.Lang.Class:GetClass (pcEntityName) :IsA ( "Consultingwerk.SmartFramewor
|
|
|
217
217
|
{ "startIndex": 48, "endIndex": 49, "scopes": ["source.abl"] }, // ' '
|
|
218
218
|
{ "startIndex": 49, "endIndex": 50, "scopes": ["source.abl", "meta.brace.round.js"] }, // '('
|
|
219
219
|
{ "startIndex": 50, "endIndex": 51, "scopes": ["source.abl"] }, // ' '
|
|
220
|
-
{ "startIndex": 51, "endIndex": 52, "scopes": ["source.abl", "string.double.
|
|
221
|
-
{ "startIndex": 52, "endIndex": 87, "scopes": ["source.abl", "string.double.
|
|
222
|
-
{ "startIndex": 87, "endIndex": 88, "scopes": ["source.abl", "string.double.
|
|
223
|
-
{ "startIndex": 88, "endIndex": 90, "scopes": ["source.abl", "string.double.
|
|
220
|
+
{ "startIndex": 51, "endIndex": 52, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
221
|
+
{ "startIndex": 52, "endIndex": 87, "scopes": ["source.abl", "string.quoted.double.abl"] }, // 'Consutingwerk.OERA.IBusinessService'
|
|
222
|
+
{ "startIndex": 87, "endIndex": 88, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
223
|
+
{ "startIndex": 88, "endIndex": 90, "scopes": ["source.abl", "string.quoted.double.abl", "support.other.abl"] }, // ':U'
|
|
224
224
|
{ "startIndex": 90, "endIndex": 91, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
225
225
|
{ "startIndex": 91, "endIndex": 92, "scopes": ["source.abl"] }, // ' '
|
|
226
226
|
{ "startIndex": 92, "endIndex": 95, "scopes": ["source.abl", "keyword.other.abl"] } // 'and'
|
|
@@ -239,10 +239,10 @@ Progress.Lang.Class:GetClass (pcEntityName) :IsA ( "Consultingwerk.SmartFramewor
|
|
|
239
239
|
{ "startIndex": 48, "endIndex": 49, "scopes": ["source.abl"] }, // ' '
|
|
240
240
|
{ "startIndex": 49, "endIndex": 50, "scopes": ["source.abl", "meta.brace.round.js"] }, // '('
|
|
241
241
|
{ "startIndex": 50, "endIndex": 51, "scopes": ["source.abl"] }, // ' '
|
|
242
|
-
{ "startIndex": 51, "endIndex": 52, "scopes": ["source.abl", "string.double.
|
|
243
|
-
{ "startIndex": 52, "endIndex": 101, "scopes": ["source.abl", "string.double.
|
|
244
|
-
{ "startIndex": 101, "endIndex": 102, "scopes": ["source.abl", "string.double.
|
|
245
|
-
{ "startIndex": 102, "endIndex": 104, "scopes": ["source.abl", "string.double.
|
|
242
|
+
{ "startIndex": 51, "endIndex": 52, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
243
|
+
{ "startIndex": 52, "endIndex": 101, "scopes": ["source.abl", "string.quoted.double.abl"] }, // 'Consultingwerk.SmartFramework.SmartBusinessEntity'
|
|
244
|
+
{ "startIndex": 101, "endIndex": 102, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
245
|
+
{ "startIndex": 102, "endIndex": 104, "scopes": ["source.abl", "string.quoted.double.abl", "support.other.abl"] }, // ':U'
|
|
246
246
|
{ "startIndex": 104, "endIndex": 105, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
247
247
|
{ "startIndex": 105, "endIndex": 106, "scopes": ["source.abl"] }, // ' '
|
|
248
248
|
{ "startIndex": 106, "endIndex": 108, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // 'eq'
|
|
@@ -10,9 +10,9 @@ describe('', () => {
|
|
|
10
10
|
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.function-call.abl"] }, // ' '
|
|
11
11
|
{ "startIndex": 18, "endIndex": 23, "scopes": ["source.abl", "meta.function-call.abl", "support.function.abl"] }, // 'SUBST'
|
|
12
12
|
{ "startIndex": 23, "endIndex": 24, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
13
|
-
{ "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
14
|
-
{ "startIndex": 25, "endIndex": 29, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
15
|
-
{ "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
13
|
+
{ "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
14
|
+
{ "startIndex": 25, "endIndex": 29, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // '&1&2'
|
|
15
|
+
{ "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
16
16
|
{ "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
17
17
|
{ "startIndex": 31, "endIndex": 32, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl"] }, // ' '
|
|
18
18
|
{ "startIndex": 32, "endIndex": 37, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "support.function.abl"] }, // 'LOWER'
|
|
@@ -39,4 +39,3 @@ describe('', () => {
|
|
|
39
39
|
];
|
|
40
40
|
shared.itShouldMatchExpectedScopes(statement, expectedTokens);
|
|
41
41
|
})
|
|
42
|
-
|
|
@@ -73,9 +73,9 @@ end constructor.`;
|
|
|
73
73
|
{ "startIndex": 0, "endIndex": 2, "scopes": ["source.abl"] }, // ' '
|
|
74
74
|
{ "startIndex": 2, "endIndex": 9, "scopes": ["source.abl", "keyword.other.abl"] }, // 'message'
|
|
75
75
|
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl"] }, // ' '
|
|
76
|
-
{ "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "string.double.
|
|
77
|
-
{ "startIndex": 11, "endIndex": 19, "scopes": ["source.abl", "string.double.
|
|
78
|
-
{ "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "string.double.
|
|
76
|
+
{ "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
77
|
+
{ "startIndex": 11, "endIndex": 19, "scopes": ["source.abl", "string.quoted.double.abl"] }, // 'a method'
|
|
78
|
+
{ "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
79
79
|
{ "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
80
80
|
],
|
|
81
81
|
[
|
|
@@ -158,9 +158,9 @@ end constructor.`;
|
|
|
158
158
|
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl"] }, // ' '
|
|
159
159
|
{ "startIndex": 4, "endIndex": 11, "scopes": ["source.abl", "keyword.other.abl"] }, // 'message'
|
|
160
160
|
{ "startIndex": 11, "endIndex": 12, "scopes": ["source.abl"] }, // ' '
|
|
161
|
-
{ "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "string.double.
|
|
162
|
-
{ "startIndex": 13, "endIndex": 21, "scopes": ["source.abl", "string.double.
|
|
163
|
-
{ "startIndex": 21, "endIndex": 22, "scopes": ["source.abl", "string.double.
|
|
161
|
+
{ "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
162
|
+
{ "startIndex": 13, "endIndex": 21, "scopes": ["source.abl", "string.quoted.double.abl"] }, // 'a method'
|
|
163
|
+
{ "startIndex": 21, "endIndex": 22, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
164
164
|
{ "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
165
165
|
],
|
|
166
166
|
[
|
|
@@ -24,9 +24,9 @@ end method.`;
|
|
|
24
24
|
{ "startIndex": 0, "endIndex": 2, "scopes": ["source.abl"] }, // ' '
|
|
25
25
|
{ "startIndex": 2, "endIndex": 9, "scopes": ["source.abl", "keyword.other.abl"] }, // 'message'
|
|
26
26
|
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl"] }, // ' '
|
|
27
|
-
{ "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "string.double.
|
|
28
|
-
{ "startIndex": 11, "endIndex": 19, "scopes": ["source.abl", "string.double.
|
|
29
|
-
{ "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "string.double.
|
|
27
|
+
{ "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
28
|
+
{ "startIndex": 11, "endIndex": 19, "scopes": ["source.abl", "string.quoted.double.abl"] }, // 'a method'
|
|
29
|
+
{ "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
30
30
|
{ "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
31
31
|
],
|
|
32
32
|
[
|
|
@@ -76,9 +76,9 @@ end method.`;
|
|
|
76
76
|
{ "startIndex": 0, "endIndex": 2, "scopes": ["source.abl"] }, // ' '
|
|
77
77
|
{ "startIndex": 2, "endIndex": 9, "scopes": ["source.abl", "keyword.other.abl"] }, // 'message'
|
|
78
78
|
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl"] }, // ' '
|
|
79
|
-
{ "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "string.double.
|
|
80
|
-
{ "startIndex": 11, "endIndex": 19, "scopes": ["source.abl", "string.double.
|
|
81
|
-
{ "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "string.double.
|
|
79
|
+
{ "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
80
|
+
{ "startIndex": 11, "endIndex": 19, "scopes": ["source.abl", "string.quoted.double.abl"] }, // 'a method'
|
|
81
|
+
{ "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
82
82
|
{ "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
83
83
|
],
|
|
84
84
|
[
|
|
@@ -169,9 +169,9 @@ end method.`;
|
|
|
169
169
|
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl"] }, // ' '
|
|
170
170
|
{ "startIndex": 4, "endIndex": 11, "scopes": ["source.abl", "keyword.other.abl"] }, // 'message'
|
|
171
171
|
{ "startIndex": 11, "endIndex": 12, "scopes": ["source.abl"] }, // ' '
|
|
172
|
-
{ "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "string.double.
|
|
173
|
-
{ "startIndex": 13, "endIndex": 21, "scopes": ["source.abl", "string.double.
|
|
174
|
-
{ "startIndex": 21, "endIndex": 22, "scopes": ["source.abl", "string.double.
|
|
172
|
+
{ "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
173
|
+
{ "startIndex": 13, "endIndex": 21, "scopes": ["source.abl", "string.quoted.double.abl"] }, // 'a method'
|
|
174
|
+
{ "startIndex": 21, "endIndex": 22, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
175
175
|
{ "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
176
176
|
],
|
|
177
177
|
[
|
|
@@ -228,9 +228,9 @@ end method.`;
|
|
|
228
228
|
{ "startIndex": 0, "endIndex": 2, "scopes": ["source.abl"] }, // ' '
|
|
229
229
|
{ "startIndex": 2, "endIndex": 9, "scopes": ["source.abl", "keyword.other.abl"] }, // 'message'
|
|
230
230
|
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl"] }, // ' '
|
|
231
|
-
{ "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "string.double.
|
|
232
|
-
{ "startIndex": 11, "endIndex": 19, "scopes": ["source.abl", "string.double.
|
|
233
|
-
{ "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "string.double.
|
|
231
|
+
{ "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
232
|
+
{ "startIndex": 11, "endIndex": 19, "scopes": ["source.abl", "string.quoted.double.abl"] }, // 'a method'
|
|
233
|
+
{ "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
234
234
|
{ "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
235
235
|
],
|
|
236
236
|
[
|
|
@@ -27,9 +27,9 @@ end case.`;
|
|
|
27
27
|
{ "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':'
|
|
28
28
|
{ "startIndex": 21, "endIndex": 27, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Equals'
|
|
29
29
|
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
30
|
-
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
31
|
-
{ "startIndex": 29, "endIndex": 34, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
32
|
-
{ "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
30
|
+
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
31
|
+
{ "startIndex": 29, "endIndex": 34, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'error'
|
|
32
|
+
{ "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
33
33
|
{ "startIndex": 35, "endIndex": 36, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
34
34
|
{ "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
35
35
|
{ "startIndex": 37, "endIndex": 45, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'cLogLine'
|
|
@@ -48,9 +48,9 @@ end case.`;
|
|
|
48
48
|
{ "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':'
|
|
49
49
|
{ "startIndex": 21, "endIndex": 27, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Equals'
|
|
50
50
|
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
51
|
-
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
52
|
-
{ "startIndex": 29, "endIndex": 34, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
53
|
-
{ "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
51
|
+
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
52
|
+
{ "startIndex": 29, "endIndex": 34, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'error'
|
|
53
|
+
{ "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
54
54
|
{ "startIndex": 35, "endIndex": 36, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
55
55
|
{ "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
56
56
|
{ "startIndex": 37, "endIndex": 45, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'cLogLine'
|
|
@@ -69,9 +69,9 @@ end case.`;
|
|
|
69
69
|
{ "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':'
|
|
70
70
|
{ "startIndex": 21, "endIndex": 27, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'Equals'
|
|
71
71
|
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
72
|
-
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
73
|
-
{ "startIndex": 29, "endIndex": 34, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
74
|
-
{ "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
72
|
+
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
73
|
+
{ "startIndex": 29, "endIndex": 34, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'error'
|
|
74
|
+
{ "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
75
75
|
{ "startIndex": 35, "endIndex": 36, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
76
76
|
{ "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
77
77
|
{ "startIndex": 37, "endIndex": 45, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'cLogLine'
|
|
@@ -116,8 +116,8 @@ END.`;
|
|
|
116
116
|
{ "startIndex": 24, "endIndex": 25, "scopes": ["source.abl"] }, // ' '
|
|
117
117
|
{ "startIndex": 25, "endIndex": 27, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '<>'
|
|
118
118
|
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl"] }, // ' '
|
|
119
|
-
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "string.double.
|
|
120
|
-
{ "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "string.double.
|
|
119
|
+
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
120
|
+
{ "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
121
121
|
{ "startIndex": 30, "endIndex": 31, "scopes": ["source.abl"] }, // ' '
|
|
122
122
|
{ "startIndex": 31, "endIndex": 34, "scopes": ["source.abl", "keyword.other.abl"] }, // 'AND'
|
|
123
123
|
{ "startIndex": 34, "endIndex": 35, "scopes": ["source.abl"] }, // ' '
|
|
@@ -151,9 +151,9 @@ END.`;
|
|
|
151
151
|
{ "startIndex": 22, "endIndex": 23, "scopes": ["source.abl"] }, // ' '
|
|
152
152
|
{ "startIndex": 23, "endIndex": 25, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '<>'
|
|
153
153
|
{ "startIndex": 25, "endIndex": 26, "scopes": ["source.abl"] }, // ' '
|
|
154
|
-
{ "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "string.double.
|
|
155
|
-
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "string.double.
|
|
156
|
-
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "string.double.
|
|
154
|
+
{ "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
155
|
+
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "string.quoted.double.abl"] }, // 'S'
|
|
156
|
+
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
157
157
|
{ "startIndex": 29, "endIndex": 30, "scopes": ["source.abl"] }, // ' '
|
|
158
158
|
{ "startIndex": 30, "endIndex": 34, "scopes": ["source.abl", "keyword.other.abl"] }, // 'THEN'
|
|
159
159
|
{ "startIndex": 34, "endIndex": 35, "scopes": ["source.abl"] }, // ' '
|
|
@@ -174,9 +174,9 @@ END.`;
|
|
|
174
174
|
{ "startIndex": 16, "endIndex": 33, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "storage.data.table.abl"] }, // 'hist-trn.h-status'
|
|
175
175
|
{ "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
176
176
|
{ "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl"] }, // ' '
|
|
177
|
-
{ "startIndex": 35, "endIndex": 36, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
178
|
-
{ "startIndex": 36, "endIndex": 41, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
179
|
-
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
177
|
+
{ "startIndex": 35, "endIndex": 36, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
178
|
+
{ "startIndex": 36, "endIndex": 41, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'P,W,C'
|
|
179
|
+
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
180
180
|
{ "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // ')'
|
|
181
181
|
{ "startIndex": 43, "endIndex": 44, "scopes": ["source.abl"] }, // ' '
|
|
182
182
|
{ "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '='
|
|
@@ -202,4 +202,3 @@ END.`;
|
|
|
202
202
|
];
|
|
203
203
|
shared.itShouldMatchExpectedScopes(statement, expectedTokens);
|
|
204
204
|
})
|
|
205
|
-
|
|
@@ -127,9 +127,9 @@ describe('', () => {
|
|
|
127
127
|
{ "startIndex": 4, "endIndex": 5, "scopes": ["source.abl"] }, // ' '
|
|
128
128
|
{ "startIndex": 5, "endIndex": 9, "scopes": ["source.abl", "keyword.other.abl"] }, // 'file'
|
|
129
129
|
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl"] }, // ' '
|
|
130
|
-
{ "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "string.double.
|
|
131
|
-
{ "startIndex": 11, "endIndex": 24, "scopes": ["source.abl", "string.double.
|
|
132
|
-
{ "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "string.double.
|
|
130
|
+
{ "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
131
|
+
{ "startIndex": 11, "endIndex": 24, "scopes": ["source.abl", "string.quoted.double.abl"] }, // '/path/to/file'
|
|
132
|
+
{ "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
133
133
|
{ "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
134
134
|
]
|
|
135
135
|
];
|
|
@@ -57,9 +57,9 @@ describe('', () => {
|
|
|
57
57
|
{ "startIndex": 25, "endIndex": 26, "scopes": ["source.abl"] }, // ' '
|
|
58
58
|
{ "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '='
|
|
59
59
|
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl"] }, // ' '
|
|
60
|
-
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "string.double.
|
|
61
|
-
{ "startIndex": 29, "endIndex": 32, "scopes": ["source.abl", "string.double.
|
|
62
|
-
{ "startIndex": 32, "endIndex": 33, "scopes": ["source.abl", "string.double.
|
|
60
|
+
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
61
|
+
{ "startIndex": 29, "endIndex": 32, "scopes": ["source.abl", "string.quoted.double.abl"] }, // '40%'
|
|
62
|
+
{ "startIndex": 32, "endIndex": 33, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] } // '"'
|
|
63
63
|
],
|
|
64
64
|
[
|
|
65
65
|
{ "startIndex": 0, "endIndex": 7, "scopes": ["source.abl"] }, // ' '
|
|
@@ -112,9 +112,9 @@ describe('', () => {
|
|
|
112
112
|
{ "startIndex": 0, "endIndex": 7, "scopes": ["source.abl"] }, // ' '
|
|
113
113
|
{ "startIndex": 7, "endIndex": 19, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'staticCodeIs'
|
|
114
114
|
{ "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
115
|
-
{ "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
116
|
-
{ "startIndex": 21, "endIndex": 33, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
117
|
-
{ "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
115
|
+
{ "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
116
|
+
{ "startIndex": 21, "endIndex": 33, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'all the rage'
|
|
117
|
+
{ "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
118
118
|
{ "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "meta.brace.round.js"] } // ')'
|
|
119
119
|
],
|
|
120
120
|
[
|
|
@@ -151,9 +151,9 @@ END CASE. `;
|
|
|
151
151
|
{ "startIndex": 0, "endIndex": 2, "scopes": ["source.abl"] }, // ' '
|
|
152
152
|
{ "startIndex": 2, "endIndex": 6, "scopes": ["source.abl", "keyword.other.abl"] }, // 'WHEN'
|
|
153
153
|
{ "startIndex": 6, "endIndex": 7, "scopes": ["source.abl"] }, // ' '
|
|
154
|
-
{ "startIndex": 7, "endIndex": 8, "scopes": ["source.abl", "string.double.
|
|
155
|
-
{ "startIndex": 8, "endIndex": 15, "scopes": ["source.abl", "string.double.
|
|
156
|
-
{ "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "string.double.
|
|
154
|
+
{ "startIndex": 7, "endIndex": 8, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
155
|
+
{ "startIndex": 8, "endIndex": 15, "scopes": ["source.abl", "string.quoted.double.abl"] }, // 'edition'
|
|
156
|
+
{ "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
157
157
|
{ "startIndex": 16, "endIndex": 17, "scopes": ["source.abl"] }, // ' '
|
|
158
158
|
{ "startIndex": 17, "endIndex": 21, "scopes": ["source.abl", "keyword.other.abl"] } // 'THEN'
|
|
159
159
|
],
|
|
@@ -174,9 +174,9 @@ END CASE. `;
|
|
|
174
174
|
{ "startIndex": 15, "endIndex": 16, "scopes": ["source.abl"] }, // ' '
|
|
175
175
|
{ "startIndex": 16, "endIndex": 24, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'getChamp'
|
|
176
176
|
{ "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
177
|
-
{ "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
178
|
-
{ "startIndex": 26, "endIndex": 33, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
179
|
-
{ "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
177
|
+
{ "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
178
|
+
{ "startIndex": 26, "endIndex": 33, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'produit'
|
|
179
|
+
{ "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
180
180
|
{ "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "meta.brace.round.js"] } // ')'
|
|
181
181
|
],
|
|
182
182
|
[
|
|
@@ -187,9 +187,9 @@ END CASE. `;
|
|
|
187
187
|
{ "startIndex": 16, "endIndex": 17, "scopes": ["source.abl"] }, // ' '
|
|
188
188
|
{ "startIndex": 17, "endIndex": 25, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'getChamp'
|
|
189
189
|
{ "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
190
|
-
{ "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
191
|
-
{ "startIndex": 27, "endIndex": 35, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
192
|
-
{ "startIndex": 35, "endIndex": 36, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
190
|
+
{ "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
191
|
+
{ "startIndex": 27, "endIndex": 35, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'document'
|
|
192
|
+
{ "startIndex": 35, "endIndex": 36, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
193
193
|
{ "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.brace.round.js"] } // ')'
|
|
194
194
|
],
|
|
195
195
|
[
|
|
@@ -200,9 +200,9 @@ END CASE. `;
|
|
|
200
200
|
{ "startIndex": 19, "endIndex": 20, "scopes": ["source.abl"] }, // ' '
|
|
201
201
|
{ "startIndex": 20, "endIndex": 28, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'getChamp'
|
|
202
202
|
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
203
|
-
{ "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
204
|
-
{ "startIndex": 30, "endIndex": 41, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
205
|
-
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
203
|
+
{ "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
204
|
+
{ "startIndex": 30, "endIndex": 41, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'printerName'
|
|
205
|
+
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
206
206
|
{ "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
207
207
|
{ "startIndex": 43, "endIndex": 44, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
208
208
|
],
|
|
@@ -223,9 +223,9 @@ END CASE. `;
|
|
|
223
223
|
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl"] }, // ' '
|
|
224
224
|
{ "startIndex": 4, "endIndex": 12, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'setChamp'
|
|
225
225
|
{ "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
226
|
-
{ "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
227
|
-
{ "startIndex": 14, "endIndex": 21, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
228
|
-
{ "startIndex": 21, "endIndex": 22, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
226
|
+
{ "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
227
|
+
{ "startIndex": 14, "endIndex": 21, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'produit'
|
|
228
|
+
{ "startIndex": 21, "endIndex": 22, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
229
229
|
{ "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
230
230
|
{ "startIndex": 23, "endIndex": 24, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
231
231
|
{ "startIndex": 24, "endIndex": 31, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'produit'
|
|
@@ -256,4 +256,3 @@ END CASE. `;
|
|
|
256
256
|
];
|
|
257
257
|
shared.itShouldMatchExpectedScopes(statement, expectedTokens);
|
|
258
258
|
})
|
|
259
|
-
|