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
|
@@ -9,9 +9,9 @@ describe('', () => {
|
|
|
9
9
|
{ "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "meta.declaration.annotation.abl", "meta.brace.round.js"] }, // '('
|
|
10
10
|
{ "startIndex": 13, "endIndex": 17, "scopes": ["source.abl", "meta.declaration.annotation.abl", "entity.other.attribute-name.abl"] }, // 'name'
|
|
11
11
|
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.declaration.annotation.abl", "keyword.operator.source.abl"] }, // '='
|
|
12
|
-
{ "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
13
|
-
{ "startIndex": 19, "endIndex": 24, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
14
|
-
{ "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
12
|
+
{ "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
13
|
+
{ "startIndex": 19, "endIndex": 24, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl"] }, // 'value'
|
|
14
|
+
{ "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
15
15
|
{ "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "meta.declaration.annotation.abl", "meta.brace.round.js"] }, // ')'
|
|
16
16
|
{ "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "punctuation.terminator.abl"] }, // '.'
|
|
17
17
|
{ "startIndex": 27, "endIndex": 30, "scopes": ["source.abl"] } // ' '
|
|
@@ -52,23 +52,23 @@ describe('', () => {
|
|
|
52
52
|
{ "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "meta.declaration.annotation.abl", "meta.brace.round.js"] }, // '('
|
|
53
53
|
{ "startIndex": 13, "endIndex": 17, "scopes": ["source.abl", "meta.declaration.annotation.abl", "entity.other.attribute-name.abl"] }, // 'name'
|
|
54
54
|
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.declaration.annotation.abl", "keyword.operator.source.abl"] }, // '='
|
|
55
|
-
{ "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
56
|
-
{ "startIndex": 19, "endIndex": 24, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
57
|
-
{ "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
55
|
+
{ "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
56
|
+
{ "startIndex": 19, "endIndex": 24, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl"] }, // 'value'
|
|
57
|
+
{ "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
58
58
|
{ "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "meta.declaration.annotation.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
59
59
|
{ "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.declaration.annotation.abl"] }, // ' '
|
|
60
60
|
{ "startIndex": 27, "endIndex": 30, "scopes": ["source.abl", "meta.declaration.annotation.abl", "entity.other.attribute-name.abl"] }, // 'two'
|
|
61
61
|
{ "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "meta.declaration.annotation.abl", "keyword.operator.source.abl"] }, // '='
|
|
62
|
-
{ "startIndex": 31, "endIndex": 32, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
63
|
-
{ "startIndex": 32, "endIndex": 33, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
64
|
-
{ "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
62
|
+
{ "startIndex": 31, "endIndex": 32, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
63
|
+
{ "startIndex": 32, "endIndex": 33, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl"] }, // '2'
|
|
64
|
+
{ "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
65
65
|
{ "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "meta.declaration.annotation.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
66
66
|
{ "startIndex": 35, "endIndex": 36, "scopes": ["source.abl", "meta.declaration.annotation.abl"] }, // ' '
|
|
67
67
|
{ "startIndex": 36, "endIndex": 41, "scopes": ["source.abl", "meta.declaration.annotation.abl", "entity.other.attribute-name.abl"] }, // 'three'
|
|
68
68
|
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.declaration.annotation.abl", "keyword.operator.source.abl"] }, // '='
|
|
69
|
-
{ "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.single.
|
|
70
|
-
{ "startIndex": 43, "endIndex": 44, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.single.
|
|
71
|
-
{ "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.single.
|
|
69
|
+
{ "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.single.abl", "punctuation.definition.string.begin.abl"] }, // '''
|
|
70
|
+
{ "startIndex": 43, "endIndex": 44, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.single.abl"] }, // '3'
|
|
71
|
+
{ "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.single.abl", "punctuation.definition.string.end.abl"] }, // '''
|
|
72
72
|
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.declaration.annotation.abl", "meta.brace.round.js"] }, // ')'
|
|
73
73
|
{ "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "punctuation.terminator.abl"] }, // '.'
|
|
74
74
|
{ "startIndex": 47, "endIndex": 50, "scopes": ["source.abl"] } // ' '
|
|
@@ -95,9 +95,9 @@ define temp-table tt like Customer.`;
|
|
|
95
95
|
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "meta.declaration.annotation.abl"] }, // ' '
|
|
96
96
|
{ "startIndex": 4, "endIndex": 5, "scopes": ["source.abl", "meta.declaration.annotation.abl", "keyword.operator.source.abl"] }, // '='
|
|
97
97
|
{ "startIndex": 5, "endIndex": 8, "scopes": ["source.abl", "meta.declaration.annotation.abl"] }, // ' '
|
|
98
|
-
{ "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
99
|
-
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
100
|
-
{ "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
98
|
+
{ "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
99
|
+
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl"] }, // '2'
|
|
100
|
+
{ "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] } // '"'
|
|
101
101
|
],
|
|
102
102
|
[
|
|
103
103
|
{ "startIndex": 0, "endIndex": 8, "scopes": ["source.abl", "meta.declaration.annotation.abl"] }, // ' '
|
|
@@ -111,9 +111,9 @@ define temp-table tt like Customer.`;
|
|
|
111
111
|
],
|
|
112
112
|
[
|
|
113
113
|
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "meta.declaration.annotation.abl"] }, // ' '
|
|
114
|
-
{ "startIndex": 4, "endIndex": 5, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.single.
|
|
115
|
-
{ "startIndex": 5, "endIndex": 6, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.single.
|
|
116
|
-
{ "startIndex": 6, "endIndex": 7, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.single.
|
|
114
|
+
{ "startIndex": 4, "endIndex": 5, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.single.abl", "punctuation.definition.string.begin.abl"] }, // '''
|
|
115
|
+
{ "startIndex": 5, "endIndex": 6, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.single.abl"] }, // '3'
|
|
116
|
+
{ "startIndex": 6, "endIndex": 7, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.single.abl", "punctuation.definition.string.end.abl"] } // '''
|
|
117
117
|
],
|
|
118
118
|
[
|
|
119
119
|
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "meta.declaration.annotation.abl"] }, // ' '
|
|
@@ -147,59 +147,59 @@ describe('', () => {
|
|
|
147
147
|
{ "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.declaration.annotation.abl", "meta.brace.round.js"] }, // '('
|
|
148
148
|
{ "startIndex": 14, "endIndex": 18, "scopes": ["source.abl", "meta.declaration.annotation.abl", "entity.other.attribute-name.abl"] }, // 'type'
|
|
149
149
|
{ "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "meta.declaration.annotation.abl", "keyword.operator.source.abl"] }, // '='
|
|
150
|
-
{ "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
151
|
-
{ "startIndex": 20, "endIndex": 30, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
152
|
-
{ "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
150
|
+
{ "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
151
|
+
{ "startIndex": 20, "endIndex": 30, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl"] }, // 'collection'
|
|
152
|
+
{ "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
153
153
|
{ "startIndex": 31, "endIndex": 32, "scopes": ["source.abl", "meta.declaration.annotation.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
154
154
|
{ "startIndex": 32, "endIndex": 33, "scopes": ["source.abl", "meta.declaration.annotation.abl"] }, // ' '
|
|
155
155
|
{ "startIndex": 33, "endIndex": 40, "scopes": ["source.abl", "meta.declaration.annotation.abl", "entity.other.attribute-name.abl"] }, // 'address'
|
|
156
156
|
{ "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.declaration.annotation.abl", "keyword.operator.source.abl"] }, // '='
|
|
157
|
-
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
158
|
-
{ "startIndex": 42, "endIndex": 52, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
159
|
-
{ "startIndex": 52, "endIndex": 53, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
157
|
+
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
158
|
+
{ "startIndex": 42, "endIndex": 52, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl"] }, // '/Customers'
|
|
159
|
+
{ "startIndex": 52, "endIndex": 53, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
160
160
|
{ "startIndex": 53, "endIndex": 54, "scopes": ["source.abl", "meta.declaration.annotation.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
161
161
|
{ "startIndex": 54, "endIndex": 55, "scopes": ["source.abl", "meta.declaration.annotation.abl"] }, // ' '
|
|
162
162
|
{ "startIndex": 55, "endIndex": 61, "scopes": ["source.abl", "meta.declaration.annotation.abl", "entity.other.attribute-name.abl"] }, // 'tables'
|
|
163
163
|
{ "startIndex": 61, "endIndex": 62, "scopes": ["source.abl", "meta.declaration.annotation.abl", "keyword.operator.source.abl"] }, // '='
|
|
164
|
-
{ "startIndex": 62, "endIndex": 63, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
165
|
-
{ "startIndex": 63, "endIndex": 72, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
166
|
-
{ "startIndex": 72, "endIndex": 73, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
164
|
+
{ "startIndex": 62, "endIndex": 63, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
165
|
+
{ "startIndex": 63, "endIndex": 72, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl"] }, // 'eCustomer'
|
|
166
|
+
{ "startIndex": 72, "endIndex": 73, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
167
167
|
{ "startIndex": 73, "endIndex": 74, "scopes": ["source.abl", "meta.declaration.annotation.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
168
168
|
{ "startIndex": 74, "endIndex": 75, "scopes": ["source.abl", "meta.declaration.annotation.abl"] }, // ' '
|
|
169
169
|
{ "startIndex": 75, "endIndex": 77, "scopes": ["source.abl", "meta.declaration.annotation.abl", "entity.other.attribute-name.abl"] }, // 'id'
|
|
170
170
|
{ "startIndex": 77, "endIndex": 78, "scopes": ["source.abl", "meta.declaration.annotation.abl", "keyword.operator.source.abl"] }, // '='
|
|
171
|
-
{ "startIndex": 78, "endIndex": 79, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
172
|
-
{ "startIndex": 79, "endIndex": 86, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
173
|
-
{ "startIndex": 86, "endIndex": 87, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
171
|
+
{ "startIndex": 78, "endIndex": 79, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
172
|
+
{ "startIndex": 79, "endIndex": 86, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl"] }, // 'CustNum'
|
|
173
|
+
{ "startIndex": 86, "endIndex": 87, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
174
174
|
{ "startIndex": 87, "endIndex": 88, "scopes": ["source.abl", "meta.declaration.annotation.abl", "punctuation.separator.comma.abl"] } // ','
|
|
175
175
|
],
|
|
176
176
|
[
|
|
177
177
|
{ "startIndex": 0, "endIndex": 2, "scopes": ["source.abl", "meta.declaration.annotation.abl"] }, // ' '
|
|
178
178
|
{ "startIndex": 2, "endIndex": 8, "scopes": ["source.abl", "meta.declaration.annotation.abl", "entity.other.attribute-name.abl"] }, // 'fields'
|
|
179
179
|
{ "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.declaration.annotation.abl", "keyword.operator.source.abl"] }, // '='
|
|
180
|
-
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
181
|
-
{ "startIndex": 10, "endIndex": 27, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
182
|
-
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
180
|
+
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
181
|
+
{ "startIndex": 10, "endIndex": 27, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl"] }, // 'Name,City,Country'
|
|
182
|
+
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
183
183
|
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.declaration.annotation.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
184
184
|
{ "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.declaration.annotation.abl"] }, // ' '
|
|
185
185
|
{ "startIndex": 30, "endIndex": 39, "scopes": ["source.abl", "meta.declaration.annotation.abl", "entity.other.attribute-name.abl"] }, // 'canCreate'
|
|
186
186
|
{ "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.declaration.annotation.abl", "keyword.operator.source.abl"] }, // '='
|
|
187
|
-
{ "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
188
|
-
{ "startIndex": 41, "endIndex": 45, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
189
|
-
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
187
|
+
{ "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
188
|
+
{ "startIndex": 41, "endIndex": 45, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl"] }, // 'true'
|
|
189
|
+
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
190
190
|
{ "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.declaration.annotation.abl", "punctuation.separator.comma.abl"] } // ','
|
|
191
191
|
],
|
|
192
192
|
[
|
|
193
193
|
{ "startIndex": 0, "endIndex": 2, "scopes": ["source.abl", "meta.declaration.annotation.abl"] }, // ' '
|
|
194
194
|
{ "startIndex": 2, "endIndex": 7, "scopes": ["source.abl", "meta.declaration.annotation.abl", "entity.other.attribute-name.abl"] }, // 'links'
|
|
195
195
|
{ "startIndex": 7, "endIndex": 8, "scopes": ["source.abl", "meta.declaration.annotation.abl", "keyword.operator.source.abl"] }, // '='
|
|
196
|
-
{ "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
197
|
-
{ "startIndex": 9, "endIndex": 27, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
198
|
-
{ "startIndex": 27, "endIndex": 29, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
199
|
-
{ "startIndex": 29, "endIndex": 65, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
200
|
-
{ "startIndex": 65, "endIndex": 67, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
201
|
-
{ "startIndex": 67, "endIndex": 76, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
202
|
-
{ "startIndex": 76, "endIndex": 77, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
196
|
+
{ "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
197
|
+
{ "startIndex": 9, "endIndex": 27, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl"] }, // 'orders:/Customers/'
|
|
198
|
+
{ "startIndex": 27, "endIndex": 29, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl", "constant.character.escape.abl"] }, // '~{'
|
|
199
|
+
{ "startIndex": 29, "endIndex": 65, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl"] }, // 'CustNum}/Orders,salesrep:/Salesreps/'
|
|
200
|
+
{ "startIndex": 65, "endIndex": 67, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl", "constant.character.escape.abl"] }, // '~{'
|
|
201
|
+
{ "startIndex": 67, "endIndex": 76, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl"] }, // 'SalesRep}'
|
|
202
|
+
{ "startIndex": 76, "endIndex": 77, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
203
203
|
{ "startIndex": 77, "endIndex": 78, "scopes": ["source.abl", "meta.declaration.annotation.abl", "meta.brace.round.js"] }, // ')'
|
|
204
204
|
{ "startIndex": 78, "endIndex": 79, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
205
205
|
]
|
|
@@ -217,22 +217,21 @@ describe('', () => {
|
|
|
217
217
|
{ "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.declaration.annotation.abl", "meta.brace.round.js"] }, // '('
|
|
218
218
|
{ "startIndex": 16, "endIndex": 23, "scopes": ["source.abl", "meta.declaration.annotation.abl", "entity.other.attribute-name.abl"] }, // 'attrib1'
|
|
219
219
|
{ "startIndex": 23, "endIndex": 24, "scopes": ["source.abl", "meta.declaration.annotation.abl", "keyword.operator.source.abl"] }, // '='
|
|
220
|
-
{ "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
221
|
-
{ "startIndex": 25, "endIndex": 40, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
222
|
-
{ "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
220
|
+
{ "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
221
|
+
{ "startIndex": 25, "endIndex": 40, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl"] }, // 'class-tag,store'
|
|
222
|
+
{ "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
223
223
|
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.declaration.annotation.abl", "punctuation.separator.comma.abl"] } // ','
|
|
224
224
|
],
|
|
225
225
|
[
|
|
226
226
|
{ "startIndex": 0, "endIndex": 2, "scopes": ["source.abl", "meta.declaration.annotation.abl"] }, // ' '
|
|
227
227
|
{ "startIndex": 2, "endIndex": 9, "scopes": ["source.abl", "meta.declaration.annotation.abl", "entity.other.attribute-name.abl"] }, // 'attrib2'
|
|
228
228
|
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.declaration.annotation.abl", "keyword.operator.source.abl"] }, // '='
|
|
229
|
-
{ "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
230
|
-
{ "startIndex": 11, "endIndex": 14, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
231
|
-
{ "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.double.
|
|
229
|
+
{ "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
230
|
+
{ "startIndex": 11, "endIndex": 14, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl"] }, // 'bob'
|
|
231
|
+
{ "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.declaration.annotation.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
232
232
|
{ "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.declaration.annotation.abl", "meta.brace.round.js"] }, // ')'
|
|
233
233
|
{ "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
234
234
|
]
|
|
235
235
|
];
|
|
236
236
|
shared.itShouldMatchExpectedScopes(statement, expectedTokens);
|
|
237
237
|
})
|
|
238
|
-
|
|
@@ -191,9 +191,9 @@ describe('', () => {
|
|
|
191
191
|
{ "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "punctuation.separator.colon.abl"] }, // ':'
|
|
192
192
|
{ "startIndex": 41, "endIndex": 62, "scopes": ["source.abl", "entity.name.function.abl"] }, // 'canFindFirstUIMessage'
|
|
193
193
|
{ "startIndex": 62, "endIndex": 63, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
194
|
-
{ "startIndex": 63, "endIndex": 64, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
195
|
-
{ "startIndex": 64, "endIndex": 71, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
196
|
-
{ "startIndex": 71, "endIndex": 72, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
194
|
+
{ "startIndex": 63, "endIndex": 64, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
195
|
+
{ "startIndex": 64, "endIndex": 71, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'SH0057A'
|
|
196
|
+
{ "startIndex": 71, "endIndex": 72, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
197
197
|
{ "startIndex": 72, "endIndex": 73, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
198
198
|
{ "startIndex": 73, "endIndex": 74, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
199
199
|
]
|
|
@@ -10,7 +10,10 @@ describe('', () => {
|
|
|
10
10
|
{ "startIndex": 7, "endIndex": 8, "scopes": ["source.abl", "meta.block.abl"] }, // ' '
|
|
11
11
|
{ "startIndex": 8, "endIndex": 13, "scopes": ["source.abl", "meta.block.abl", "keyword.other.abl"] }, // 'frame'
|
|
12
12
|
{ "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.block.abl"] }, // ' '
|
|
13
|
-
{ "startIndex": 14, "endIndex":
|
|
13
|
+
{ "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.block.abl", "meta.preprocessor.abl", "punctuation.section.abl"] }, // '{'
|
|
14
|
+
{ "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.block.abl", "meta.preprocessor.abl", "punctuation.definition.preprocessor.abl"] }, // '&'
|
|
15
|
+
{ "startIndex": 16, "endIndex": 26, "scopes": ["source.abl", "meta.block.abl", "meta.preprocessor.abl", "entity.name.function.preprocessor.abl"] }, // 'FRAME-NAME'
|
|
16
|
+
{ "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.block.abl", "meta.preprocessor.abl", "punctuation.section.abl"] }, // '}'
|
|
14
17
|
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "punctuation.terminator.abl"] } // ':'
|
|
15
18
|
]
|
|
16
19
|
shared.itShouldMatchExpectedScopes(statement, expectedTokens);
|
|
@@ -49,8 +52,8 @@ end.`;
|
|
|
49
52
|
{ "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.block.abl"] }, // ' '
|
|
50
53
|
{ "startIndex": 14, "endIndex": 16, "scopes": ["source.abl", "meta.block.abl", "keyword.operator.source.abl"] }, // 'eq'
|
|
51
54
|
{ "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "meta.block.abl"] }, // ' '
|
|
52
|
-
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.block.abl", "string.double.
|
|
53
|
-
{ "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "meta.block.abl", "string.double.
|
|
55
|
+
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.block.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
56
|
+
{ "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "meta.block.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] } // '"'
|
|
54
57
|
],
|
|
55
58
|
[
|
|
56
59
|
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "meta.block.abl"] }, // ' '
|
|
@@ -134,9 +137,9 @@ describe('', () => {
|
|
|
134
137
|
{ "startIndex": 19, "endIndex": 20, "scopes": ["source.abl"] }, // ' '
|
|
135
138
|
{ "startIndex": 20, "endIndex": 45, "scopes": ["source.abl", "entity.name.type.abl"] }, // 'ImportValidationException'
|
|
136
139
|
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
137
|
-
{ "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
138
|
-
{ "startIndex": 47, "endIndex": 55, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
139
|
-
{ "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
140
|
+
{ "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
141
|
+
{ "startIndex": 47, "endIndex": 55, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'custname'
|
|
142
|
+
{ "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
140
143
|
{ "startIndex": 56, "endIndex": 57, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] } // ','
|
|
141
144
|
],
|
|
142
145
|
[
|
|
@@ -169,4 +172,3 @@ describe('', () => {
|
|
|
169
172
|
]
|
|
170
173
|
shared.itShouldMatchExpectedScopes(statement, expectedTokens);
|
|
171
174
|
})
|
|
172
|
-
|
|
@@ -28,17 +28,19 @@ describe('', () => {
|
|
|
28
28
|
],
|
|
29
29
|
[
|
|
30
30
|
{ "startIndex": 0, "endIndex": 8, "scopes": ["source.abl", "meta.block.abl"] }, // ' '
|
|
31
|
-
{ "startIndex": 8, "endIndex":
|
|
31
|
+
{ "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.block.abl", "punctuation.definition.preprocessor.abl"] }, // '&'
|
|
32
|
+
{ "startIndex": 9, "endIndex": 11, "scopes": ["source.abl", "meta.block.abl", "keyword.control.directive.conditional.abl"] }, // 'IF'
|
|
32
33
|
{ "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "meta.block.abl"] }, // ' '
|
|
33
34
|
{ "startIndex": 12, "endIndex": 22, "scopes": ["source.abl", "meta.block.abl", "support.function.abl"] }, // 'PROVERSION'
|
|
34
35
|
{ "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "meta.block.abl"] }, // ' '
|
|
35
36
|
{ "startIndex": 23, "endIndex": 25, "scopes": ["source.abl", "meta.block.abl", "keyword.operator.source.abl"] }, // 'NE'
|
|
36
37
|
{ "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "meta.block.abl"] }, // ' '
|
|
37
|
-
{ "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.block.abl", "string.double.
|
|
38
|
-
{ "startIndex": 27, "endIndex": 32, "scopes": ["source.abl", "meta.block.abl", "string.double.
|
|
39
|
-
{ "startIndex": 32, "endIndex": 33, "scopes": ["source.abl", "meta.block.abl", "string.double.
|
|
38
|
+
{ "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.block.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
39
|
+
{ "startIndex": 27, "endIndex": 32, "scopes": ["source.abl", "meta.block.abl", "string.quoted.double.abl"] }, // '10.2B'
|
|
40
|
+
{ "startIndex": 32, "endIndex": 33, "scopes": ["source.abl", "meta.block.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
40
41
|
{ "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "meta.block.abl"] }, // ' '
|
|
41
|
-
{ "startIndex": 34, "endIndex":
|
|
42
|
+
{ "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "meta.block.abl", "punctuation.definition.preprocessor.abl"] }, // '&'
|
|
43
|
+
{ "startIndex": 35, "endIndex": 39, "scopes": ["source.abl", "meta.block.abl", "keyword.control.directive.conditional.abl"] } // 'THEN'
|
|
42
44
|
],
|
|
43
45
|
[
|
|
44
46
|
{ "startIndex": 0, "endIndex": 11, "scopes": ["source.abl", "meta.block.abl"] }, // ' '
|
|
@@ -48,22 +50,25 @@ describe('', () => {
|
|
|
48
50
|
],
|
|
49
51
|
[
|
|
50
52
|
{ "startIndex": 0, "endIndex": 8, "scopes": ["source.abl", "meta.block.abl"] }, // ' '
|
|
51
|
-
{ "startIndex": 8, "endIndex":
|
|
53
|
+
{ "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.block.abl", "punctuation.definition.preprocessor.abl"] }, // '&'
|
|
54
|
+
{ "startIndex": 9, "endIndex": 14, "scopes": ["source.abl", "meta.block.abl", "keyword.control.directive.conditional.abl"] } // 'ENDIF'
|
|
52
55
|
],
|
|
53
56
|
[
|
|
54
57
|
{ "startIndex": 0, "endIndex": 11, "scopes": ["source.abl", "meta.block.abl"] }, // ' '
|
|
55
|
-
{ "startIndex": 11, "endIndex":
|
|
58
|
+
{ "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "meta.block.abl", "punctuation.definition.preprocessor.abl"] }, // '&'
|
|
59
|
+
{ "startIndex": 12, "endIndex": 14, "scopes": ["source.abl", "meta.block.abl", "keyword.control.directive.conditional.abl"] }, // 'IF'
|
|
56
60
|
{ "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.block.abl"] }, // ' '
|
|
57
|
-
{ "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.block.abl", "string.double.
|
|
58
|
-
{ "startIndex": 16, "endIndex": 29, "scopes": ["source.abl", "meta.block.abl", "string.double.
|
|
59
|
-
{ "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.block.abl", "string.double.
|
|
61
|
+
{ "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.block.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
62
|
+
{ "startIndex": 16, "endIndex": 29, "scopes": ["source.abl", "meta.block.abl", "string.quoted.double.abl"] }, // '{&CATCH-STOP}'
|
|
63
|
+
{ "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.block.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
60
64
|
{ "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "meta.block.abl"] }, // ' '
|
|
61
65
|
{ "startIndex": 31, "endIndex": 33, "scopes": ["source.abl", "meta.block.abl", "keyword.operator.source.abl"] }, // 'EQ'
|
|
62
66
|
{ "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "meta.block.abl"] }, // ' '
|
|
63
|
-
{ "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "meta.block.abl", "string.double.
|
|
64
|
-
{ "startIndex": 35, "endIndex": 36, "scopes": ["source.abl", "meta.block.abl", "string.double.
|
|
67
|
+
{ "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "meta.block.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
68
|
+
{ "startIndex": 35, "endIndex": 36, "scopes": ["source.abl", "meta.block.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
65
69
|
{ "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.block.abl"] }, // ' '
|
|
66
|
-
{ "startIndex": 37, "endIndex":
|
|
70
|
+
{ "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "meta.block.abl", "punctuation.definition.preprocessor.abl"] }, // '&'
|
|
71
|
+
{ "startIndex": 38, "endIndex": 42, "scopes": ["source.abl", "meta.block.abl", "keyword.control.directive.conditional.abl"] }, // 'THEN'
|
|
67
72
|
{ "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.block.abl"] }, // ' '
|
|
68
73
|
{ "startIndex": 43, "endIndex": 45, "scopes": ["source.abl", "meta.block.abl", "keyword.other.abl"] }, // 'ON'
|
|
69
74
|
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.block.abl"] }, // ' '
|
|
@@ -82,7 +87,8 @@ describe('', () => {
|
|
|
82
87
|
{ "startIndex": 96, "endIndex": 97, "scopes": ["source.abl", "meta.block.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
83
88
|
{ "startIndex": 97, "endIndex": 98, "scopes": ["source.abl", "meta.block.abl", "meta.brace.round.js"] }, // ')'
|
|
84
89
|
{ "startIndex": 98, "endIndex": 99, "scopes": ["source.abl", "meta.block.abl"] }, // ' '
|
|
85
|
-
{ "startIndex": 99, "endIndex":
|
|
90
|
+
{ "startIndex": 99, "endIndex": 100, "scopes": ["source.abl", "meta.block.abl", "punctuation.definition.preprocessor.abl"] }, // '&'
|
|
91
|
+
{ "startIndex": 100, "endIndex": 105, "scopes": ["source.abl", "meta.block.abl", "keyword.control.directive.conditional.abl"] }, // 'ENDIF'
|
|
86
92
|
{ "startIndex": 105, "endIndex": 106, "scopes": ["source.abl", "punctuation.terminator.abl"] } // ':'
|
|
87
93
|
]
|
|
88
94
|
];
|
|
@@ -33,7 +33,10 @@ describe('', () => {
|
|
|
33
33
|
{ "startIndex": 24, "endIndex": 25, "scopes": ["source.abl"] }, // ' '
|
|
34
34
|
{ "startIndex": 25, "endIndex": 43, "scopes": ["source.abl", "storage.data.table.abl"] }, // 'user-ctl.system-id'
|
|
35
35
|
{ "startIndex": 43, "endIndex": 44, "scopes": ["source.abl", "meta.array.literal.abl", "punctuation.definition.bracket.square.begin.abl"] }, // '['
|
|
36
|
-
{ "startIndex": 44, "endIndex":
|
|
36
|
+
{ "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "meta.array.literal.abl", "meta.preprocessor.abl", "punctuation.section.abl"] }, // '{'
|
|
37
|
+
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.array.literal.abl", "meta.preprocessor.abl", "punctuation.definition.preprocessor.abl"] }, // '&'
|
|
38
|
+
{ "startIndex": 46, "endIndex": 61, "scopes": ["source.abl", "meta.array.literal.abl", "meta.preprocessor.abl", "entity.name.function.preprocessor.abl"] }, // 'web-cart-sys-id'
|
|
39
|
+
{ "startIndex": 61, "endIndex": 62, "scopes": ["source.abl", "meta.array.literal.abl", "meta.preprocessor.abl", "punctuation.section.abl"] }, // '}'
|
|
37
40
|
{ "startIndex": 62, "endIndex": 63, "scopes": ["source.abl", "meta.array.literal.abl", "punctuation.definition.bracket.square.end.abl"] }, // ']'
|
|
38
41
|
{ "startIndex": 63, "endIndex": 64, "scopes": ["source.abl"] }, // ' '
|
|
39
42
|
{ "startIndex": 64, "endIndex": 67, "scopes": ["source.abl", "keyword.other.abl"] } // 'AND'
|
|
@@ -57,8 +60,8 @@ describe('', () => {
|
|
|
57
60
|
{ "startIndex": 22, "endIndex": 23, "scopes": ["source.abl"] }, // ' '
|
|
58
61
|
{ "startIndex": 23, "endIndex": 24, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '='
|
|
59
62
|
{ "startIndex": 24, "endIndex": 25, "scopes": ["source.abl"] }, // ' '
|
|
60
|
-
{ "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "string.double.
|
|
61
|
-
{ "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "string.double.
|
|
63
|
+
{ "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
64
|
+
{ "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
62
65
|
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl"] }, // ' '
|
|
63
66
|
{ "startIndex": 28, "endIndex": 31, "scopes": ["source.abl", "keyword.other.abl"] } // 'AND'
|
|
64
67
|
],
|
|
@@ -68,9 +71,9 @@ describe('', () => {
|
|
|
68
71
|
{ "startIndex": 21, "endIndex": 22, "scopes": ["source.abl"] }, // ' '
|
|
69
72
|
{ "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '='
|
|
70
73
|
{ "startIndex": 23, "endIndex": 24, "scopes": ["source.abl"] }, // ' '
|
|
71
|
-
{ "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "string.double.
|
|
72
|
-
{ "startIndex": 25, "endIndex": 33, "scopes": ["source.abl", "string.double.
|
|
73
|
-
{ "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "string.double.
|
|
74
|
+
{ "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
75
|
+
{ "startIndex": 25, "endIndex": 33, "scopes": ["source.abl", "string.quoted.double.abl"] }, // 'GrDirect'
|
|
76
|
+
{ "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] } // '"'
|
|
74
77
|
],
|
|
75
78
|
[
|
|
76
79
|
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl"] }, // ' '
|
|
@@ -18,8 +18,8 @@ describe('', () => {
|
|
|
18
18
|
{ "startIndex": 24, "endIndex": 34, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'metricPath'
|
|
19
19
|
{ "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
20
20
|
{ "startIndex": 35, "endIndex": 36, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
21
|
-
{ "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
22
|
-
{ "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
21
|
+
{ "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
22
|
+
{ "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
23
23
|
{ "startIndex": 38, "endIndex": 39, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
24
24
|
{ "startIndex": 39, "endIndex": 41, "scopes": ["source.abl", "meta.function.arguments.abl", "comment.block.source.abl"] }, // '/*'
|
|
25
25
|
{ "startIndex": 41, "endIndex": 47, "scopes": ["source.abl", "meta.function.arguments.abl", "comment.block.source.abl", "comment"] }, // ' cred '
|
|
@@ -61,8 +61,8 @@ describe('', () => {
|
|
|
61
61
|
{ "startIndex": 24, "endIndex": 34, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'metricPath'
|
|
62
62
|
{ "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
63
63
|
{ "startIndex": 35, "endIndex": 36, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
64
|
-
{ "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
65
|
-
{ "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "meta.function.arguments.abl", "string.double.
|
|
64
|
+
{ "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
65
|
+
{ "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
66
66
|
{ "startIndex": 38, "endIndex": 39, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
67
67
|
{ "startIndex": 39, "endIndex": 41, "scopes": ["source.abl", "meta.function.arguments.abl", "comment.block.source.abl"] }, // '/*'
|
|
68
68
|
{ "startIndex": 41, "endIndex": 47, "scopes": ["source.abl", "meta.function.arguments.abl", "comment.block.source.abl", "comment"] }, // ' cred '
|
|
@@ -86,4 +86,3 @@ describe('', () => {
|
|
|
86
86
|
];
|
|
87
87
|
shared.itShouldMatchExpectedScopes(statement, expectedTokens);
|
|
88
88
|
})
|
|
89
|
-
|
|
@@ -52,10 +52,10 @@ describe('', () => {
|
|
|
52
52
|
{ "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
53
53
|
{ "startIndex": 30, "endIndex": 32, "scopes": ["source.abl", "meta.define.abl", "keyword.operator.source.abl"] }, // 'eq'
|
|
54
54
|
{ "startIndex": 32, "endIndex": 33, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
55
|
-
{ "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "meta.define.abl", "string.single.
|
|
56
|
-
{ "startIndex": 34, "endIndex": 39, "scopes": ["source.abl", "meta.define.abl", "string.single.
|
|
57
|
-
{ "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.define.abl", "string.single.
|
|
58
|
-
{ "startIndex": 40, "endIndex": 42, "scopes": ["source.abl", "meta.define.abl", "string.single.
|
|
55
|
+
{ "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "meta.define.abl", "string.quoted.single.abl", "punctuation.definition.string.begin.abl"] }, // '''
|
|
56
|
+
{ "startIndex": 34, "endIndex": 39, "scopes": ["source.abl", "meta.define.abl", "string.quoted.single.abl"] }, // 'UTF-8'
|
|
57
|
+
{ "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.define.abl", "string.quoted.single.abl", "punctuation.definition.string.end.abl"] }, // '''
|
|
58
|
+
{ "startIndex": 40, "endIndex": 42, "scopes": ["source.abl", "meta.define.abl", "string.quoted.single.abl", "support.other.abl"] }, // ':u'
|
|
59
59
|
{ "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
60
60
|
{ "startIndex": 43, "endIndex": 47, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] } // 'then'
|
|
61
61
|
],
|
|
@@ -34,10 +34,10 @@ ELSE {&WINDOW-NAME} = CURRENT-WINDOW.`;
|
|
|
34
34
|
{ "startIndex": 23, "endIndex": 24, "scopes": ["source.abl"] }, // ' '
|
|
35
35
|
{ "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '='
|
|
36
36
|
{ "startIndex": 25, "endIndex": 26, "scopes": ["source.abl"] }, // ' '
|
|
37
|
-
{ "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "string.double.
|
|
38
|
-
{ "startIndex": 27, "endIndex": 30, "scopes": ["source.abl", "string.double.
|
|
39
|
-
{ "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "string.double.
|
|
40
|
-
{ "startIndex": 31, "endIndex": 33, "scopes": ["source.abl", "string.double.
|
|
37
|
+
{ "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
38
|
+
{ "startIndex": 27, "endIndex": 30, "scopes": ["source.abl", "string.quoted.double.abl"] }, // 'GUI'
|
|
39
|
+
{ "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
40
|
+
{ "startIndex": 31, "endIndex": 33, "scopes": ["source.abl", "string.quoted.double.abl", "support.other.abl"] }, // ':U'
|
|
41
41
|
{ "startIndex": 33, "endIndex": 34, "scopes": ["source.abl"] }, // ' '
|
|
42
42
|
{ "startIndex": 34, "endIndex": 38, "scopes": ["source.abl", "keyword.other.abl"] } // 'THEN'
|
|
43
43
|
],
|
|
@@ -65,9 +65,9 @@ ELSE {&WINDOW-NAME} = CURRENT-WINDOW.`;
|
|
|
65
65
|
{ "startIndex": 13, "endIndex": 27, "scopes": ["source.abl"] }, // ' '
|
|
66
66
|
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '='
|
|
67
67
|
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl"] }, // ' '
|
|
68
|
-
{ "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "string.double.
|
|
69
|
-
{ "startIndex": 30, "endIndex": 56, "scopes": ["source.abl", "string.double.
|
|
70
|
-
{ "startIndex": 56, "endIndex": 57, "scopes": ["source.abl", "string.double.
|
|
68
|
+
{ "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
69
|
+
{ "startIndex": 30, "endIndex": 56, "scopes": ["source.abl", "string.quoted.double.abl"] }, // 'A/R Customer Statement for'
|
|
70
|
+
{ "startIndex": 56, "endIndex": 57, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] } // '"'
|
|
71
71
|
],
|
|
72
72
|
[
|
|
73
73
|
{ "startIndex": 0, "endIndex": 8, "scopes": ["source.abl"] }, // ' '
|
|
@@ -209,7 +209,10 @@ ELSE {&WINDOW-NAME} = CURRENT-WINDOW.`;
|
|
|
209
209
|
[
|
|
210
210
|
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "keyword.other.abl"] }, // 'ELSE'
|
|
211
211
|
{ "startIndex": 4, "endIndex": 5, "scopes": ["source.abl"] }, // ' '
|
|
212
|
-
{ "startIndex": 5, "endIndex":
|
|
212
|
+
{ "startIndex": 5, "endIndex": 6, "scopes": ["source.abl", "meta.preprocessor.abl", "punctuation.section.abl"] }, // '{'
|
|
213
|
+
{ "startIndex": 6, "endIndex": 7, "scopes": ["source.abl", "meta.preprocessor.abl", "punctuation.definition.preprocessor.abl"] }, // '&'
|
|
214
|
+
{ "startIndex": 7, "endIndex": 18, "scopes": ["source.abl", "meta.preprocessor.abl", "entity.name.function.preprocessor.abl"] }, // 'WINDOW-NAME'
|
|
215
|
+
{ "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "meta.preprocessor.abl", "punctuation.section.abl"] }, // '}'
|
|
213
216
|
{ "startIndex": 19, "endIndex": 20, "scopes": ["source.abl"] }, // ' '
|
|
214
217
|
{ "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '='
|
|
215
218
|
{ "startIndex": 21, "endIndex": 22, "scopes": ["source.abl"] }, // ' '
|