abl-tmlanguage 1.1.3 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +12 -0
- package/abl.tmLanguage.json +2736 -216
- package/azure-pipelines.yml +3 -2
- package/package.json +7 -6
- package/spec/analyze-suspend-resume/analyze-suspend-resume.spec.js +10 -10
- package/spec/array-extent/issue#5.spec.js +18 -18
- package/spec/define-buffer/simple-single-line.spec.js +138 -0
- package/spec/define-parameter/simple-single-line.spec.js +100 -100
- package/spec/define-stream/simple-single-line.spec.js +32 -31
- package/spec/define-variable/extent.spec.js +228 -0
- package/spec/define-variable/issue#6.spec.js +256 -198
- package/spec/define-variable/issue#9.spec.js +38 -32
- package/spec/define-variable/simple-single-line.spec.js +87 -87
- package/spec/define-variable/single-line-with-a-comment-at-the-end.spec.js +62 -62
- package/spec/define-variable/single-line-with-a-space-and-a-comment-at-the-end.spec.js +56 -56
- package/spec/define-variable/tm-issue#2.spec.js +20 -20
- package/spec/do/do-blocks.spec.js +89 -0
- package/spec/do/issue#3.spec.js +67 -60
- package/spec/function-call/vscode-abl-issue#19.spec.js +110 -107
- package/spec/global-scoped-define/global-define.spec.js +11 -11
- package/spec/global-scoped-define/scoped-define-with-procedure-keyword.spec.js +26 -26
- package/spec/include/abl-tmlanguage-issues#5.spec.js +44 -44
- package/spec/include/vscode-abl-issue#45.spec.js +14 -14
- package/spec/include/vscode-abl-issue#80.spec.js +26 -26
- package/spec/method-definition/constructor.spec.js +174 -0
- package/spec/method-definition/method.spec.js +185 -0
- package/spec/procedure-definition/empty-proc.spec.js +20 -18
- package/spec/procedure-definition/vscode-abl-issue#22.spec.js +46 -42
- package/spec/procedure-definition/vscode-abl-issue#26.spec.js +23 -16
- package/spec/procedure-definition/vscode-abl-issue#62.spec.js +36 -0
- package/spec/shared.js +84 -42
- package/spec/strings/vscode-abl-issue#11.spec.js +110 -114
- package/spec/strings/vscode-abl-issue#28.spec.js +27 -27
- package/spec/type-name/argument.spec.js +209 -0
- package/spec/type-name/cast.spec.js +165 -0
- package/spec/type-name/define-class.spec.js +471 -0
- package/spec/type-name/define-enum.spec.js +44 -0
- package/spec/type-name/define-interface.spec.js +159 -0
- package/spec/type-name/define-property.spec.js +301 -0
- package/spec/type-name/define-temp-table.spec.js +434 -0
- package/spec/type-name/define-type-spec.js +435 -0
- package/spec/type-name/define-variable-property.spec.js +264 -0
- package/spec/type-name/define-variable.spec.js +504 -0
- package/spec/type-name/get-class.spec.js +91 -0
- package/spec/type-name/new.spec.js +126 -0
- package/spec/type-name/parameter-as.spec.js +838 -0
- package/spec/type-name/type-name-spec.js +587 -0
- package/spec/type-name/using.spec.js +115 -0
|
@@ -2,38 +2,38 @@ const { assert, expect } = require('chai');
|
|
|
2
2
|
const shared = require('../shared.js')
|
|
3
3
|
|
|
4
4
|
describe('', () => {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
5
|
+
//label-with-a-dot-inside.spec
|
|
6
|
+
let statement = `DEFINE VARIABLE test AS CHARACTER FORMAT "X(50)" LABEL "NO.MAQUINA".`;
|
|
7
|
+
let expectedTokens = [
|
|
8
|
+
{ "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'DEFINE'
|
|
9
|
+
{ "startIndex": 6, "endIndex": 7, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
10
|
+
{ "startIndex": 7, "endIndex": 15, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'VARIABLE'
|
|
11
|
+
{ "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
12
|
+
{ "startIndex": 16, "endIndex": 20, "scopes": ["source.abl", "meta.define.abl", "variable.other.abl"] }, // 'test'
|
|
13
|
+
{ "startIndex": 20, "endIndex": 22, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
14
|
+
{ "startIndex": 22, "endIndex": 24, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'AS'
|
|
15
|
+
{ "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
16
|
+
{ "startIndex": 25, "endIndex": 34, "scopes": ["source.abl", "meta.define.abl", "storage.type.abl"] }, // 'CHARACTER'
|
|
17
|
+
{ "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
18
|
+
{ "startIndex": 35, "endIndex": 41, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'FORMAT'
|
|
19
|
+
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
20
|
+
{ "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
21
|
+
{ "startIndex": 43, "endIndex": 48, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // 'X(50)'
|
|
22
|
+
{ "startIndex": 48, "endIndex": 49, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
23
|
+
{ "startIndex": 49, "endIndex": 50, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
24
|
+
{ "startIndex": 50, "endIndex": 55, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'LABEL'
|
|
25
|
+
{ "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
26
|
+
{ "startIndex": 56, "endIndex": 57, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
27
|
+
{ "startIndex": 57, "endIndex": 67, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // 'NO.MAQUINA'
|
|
28
|
+
{ "startIndex": 67, "endIndex": 68, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
29
|
+
{ "startIndex": 68, "endIndex": 69, "scopes": ["source.abl", "meta.define.abl", "punctuation.terminator.abl"] } // '.'
|
|
30
|
+
];
|
|
31
|
+
shared.itShouldMatchExpectedScopes(statement, expectedTokens);
|
|
32
32
|
})
|
|
33
33
|
|
|
34
34
|
describe('', () => {
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
//label-with-a-dot-inside.spec
|
|
36
|
+
let statement = `
|
|
37
37
|
DEFINE TEMP-TABLE inventario
|
|
38
38
|
FIELD fecInv AS DATE format 99/99/9999
|
|
39
39
|
FIELD almInv AS CHARACTER
|
|
@@ -50,173 +50,231 @@ DEFINE TEMP-TABLE inventario
|
|
|
50
50
|
FIELD tonEmb LIKE in_qty_oh FORMAT "->>>,>>9.999"
|
|
51
51
|
FIELD uniEmb AS INTEGER FORMAT ">,>>9".
|
|
52
52
|
`;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
53
|
+
let expectedTokens = [
|
|
54
|
+
[
|
|
55
|
+
{ "startIndex": 0, "endIndex": 1, "scopes": ["source.abl"] } // ''
|
|
56
|
+
],
|
|
57
|
+
[
|
|
58
|
+
{ "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'DEFINE'
|
|
59
|
+
{ "startIndex": 6, "endIndex": 7, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
60
|
+
{ "startIndex": 7, "endIndex": 17, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'TEMP-TABLE'
|
|
61
|
+
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
62
|
+
{ "startIndex": 18, "endIndex": 28, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] } // 'inventario'
|
|
63
|
+
],
|
|
64
|
+
[
|
|
65
|
+
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
66
|
+
{ "startIndex": 4, "endIndex": 9, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'FIELD'
|
|
67
|
+
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
68
|
+
{ "startIndex": 10, "endIndex": 16, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'fecInv'
|
|
69
|
+
{ "startIndex": 16, "endIndex": 23, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
70
|
+
{ "startIndex": 23, "endIndex": 25, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'AS'
|
|
71
|
+
{ "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
72
|
+
{ "startIndex": 26, "endIndex": 30, "scopes": ["source.abl", "meta.define.abl", "storage.type.abl"] }, // 'DATE'
|
|
73
|
+
{ "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
74
|
+
{ "startIndex": 31, "endIndex": 37, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'format'
|
|
75
|
+
{ "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
76
|
+
{ "startIndex": 38, "endIndex": 48, "scopes": ["source.abl", "meta.define.abl", "constant.language.source.abl"] } // '99/99/9999'
|
|
77
|
+
],
|
|
78
|
+
[
|
|
79
|
+
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
80
|
+
{ "startIndex": 4, "endIndex": 9, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'FIELD'
|
|
81
|
+
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
82
|
+
{ "startIndex": 10, "endIndex": 16, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'almInv'
|
|
83
|
+
{ "startIndex": 16, "endIndex": 23, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
84
|
+
{ "startIndex": 23, "endIndex": 25, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'AS'
|
|
85
|
+
{ "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
86
|
+
{ "startIndex": 26, "endIndex": 35, "scopes": ["source.abl", "meta.define.abl", "storage.type.abl"] } // 'CHARACTER'
|
|
87
|
+
],
|
|
88
|
+
[
|
|
89
|
+
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
90
|
+
{ "startIndex": 4, "endIndex": 9, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'FIELD'
|
|
91
|
+
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
92
|
+
{ "startIndex": 10, "endIndex": 16, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'linInv'
|
|
93
|
+
{ "startIndex": 16, "endIndex": 23, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
94
|
+
{ "startIndex": 23, "endIndex": 25, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'AS'
|
|
95
|
+
{ "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
96
|
+
{ "startIndex": 26, "endIndex": 35, "scopes": ["source.abl", "meta.define.abl", "storage.type.abl"] } // 'CHARACTER'
|
|
97
|
+
],
|
|
98
|
+
[
|
|
99
|
+
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
100
|
+
{ "startIndex": 4, "endIndex": 9, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'FIELD'
|
|
101
|
+
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
102
|
+
{ "startIndex": 10, "endIndex": 16, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'invIni'
|
|
103
|
+
{ "startIndex": 16, "endIndex": 23, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
104
|
+
{ "startIndex": 23, "endIndex": 27, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'LIKE'
|
|
105
|
+
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
106
|
+
{ "startIndex": 28, "endIndex": 37, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'in_qty_oh'
|
|
107
|
+
{ "startIndex": 37, "endIndex": 39, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
108
|
+
{ "startIndex": 39, "endIndex": 45, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'FORMAT'
|
|
109
|
+
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
110
|
+
{ "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
111
|
+
{ "startIndex": 47, "endIndex": 59, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // '->>>,>>9.999'
|
|
112
|
+
{ "startIndex": 59, "endIndex": 60, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] } // '"'
|
|
113
|
+
],
|
|
114
|
+
[
|
|
115
|
+
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
116
|
+
{ "startIndex": 4, "endIndex": 9, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'FIELD'
|
|
117
|
+
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
118
|
+
{ "startIndex": 10, "endIndex": 17, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'entProd'
|
|
119
|
+
{ "startIndex": 17, "endIndex": 23, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
120
|
+
{ "startIndex": 23, "endIndex": 27, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'LIKE'
|
|
121
|
+
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
122
|
+
{ "startIndex": 28, "endIndex": 37, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'in_qty_oh'
|
|
123
|
+
{ "startIndex": 37, "endIndex": 39, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
124
|
+
{ "startIndex": 39, "endIndex": 45, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'FORMAT'
|
|
125
|
+
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
126
|
+
{ "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
127
|
+
{ "startIndex": 47, "endIndex": 59, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // '->>>,>>9.999'
|
|
128
|
+
{ "startIndex": 59, "endIndex": 60, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] } // '"'
|
|
129
|
+
],
|
|
130
|
+
[
|
|
131
|
+
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
132
|
+
{ "startIndex": 4, "endIndex": 9, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'FIELD'
|
|
133
|
+
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
134
|
+
{ "startIndex": 10, "endIndex": 22, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'entProdCedis'
|
|
135
|
+
{ "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
136
|
+
{ "startIndex": 23, "endIndex": 27, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'LIKE'
|
|
137
|
+
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
138
|
+
{ "startIndex": 28, "endIndex": 37, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'in_qty_oh'
|
|
139
|
+
{ "startIndex": 37, "endIndex": 39, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
140
|
+
{ "startIndex": 39, "endIndex": 45, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'FORMAT'
|
|
141
|
+
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
142
|
+
{ "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
143
|
+
{ "startIndex": 47, "endIndex": 59, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // '->>>,>>9.999'
|
|
144
|
+
{ "startIndex": 59, "endIndex": 60, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] } // '"'
|
|
145
|
+
],
|
|
146
|
+
[
|
|
147
|
+
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
148
|
+
{ "startIndex": 4, "endIndex": 9, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'FIELD'
|
|
149
|
+
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
150
|
+
{ "startIndex": 10, "endIndex": 19, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'entTransf'
|
|
151
|
+
{ "startIndex": 19, "endIndex": 23, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
152
|
+
{ "startIndex": 23, "endIndex": 27, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'LIKE'
|
|
153
|
+
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
154
|
+
{ "startIndex": 28, "endIndex": 37, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'in_qty_oh'
|
|
155
|
+
{ "startIndex": 37, "endIndex": 39, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
156
|
+
{ "startIndex": 39, "endIndex": 45, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'FORMAT'
|
|
157
|
+
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
158
|
+
{ "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
159
|
+
{ "startIndex": 47, "endIndex": 58, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // '->>,>>9.999'
|
|
160
|
+
{ "startIndex": 58, "endIndex": 59, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] } // '"'
|
|
161
|
+
],
|
|
162
|
+
[
|
|
163
|
+
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
164
|
+
{ "startIndex": 4, "endIndex": 9, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'FIELD'
|
|
165
|
+
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
166
|
+
{ "startIndex": 10, "endIndex": 18, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'embCedis'
|
|
167
|
+
{ "startIndex": 18, "endIndex": 23, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
168
|
+
{ "startIndex": 23, "endIndex": 27, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'LIKE'
|
|
169
|
+
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
170
|
+
{ "startIndex": 28, "endIndex": 37, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'in_qty_oh'
|
|
171
|
+
{ "startIndex": 37, "endIndex": 39, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
172
|
+
{ "startIndex": 39, "endIndex": 45, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'FORMAT'
|
|
173
|
+
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
174
|
+
{ "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
175
|
+
{ "startIndex": 47, "endIndex": 59, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // '->>>,>>9.999'
|
|
176
|
+
{ "startIndex": 59, "endIndex": 60, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] } // '"'
|
|
177
|
+
],
|
|
178
|
+
[
|
|
179
|
+
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
180
|
+
{ "startIndex": 4, "endIndex": 9, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'FIELD'
|
|
181
|
+
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
182
|
+
{ "startIndex": 10, "endIndex": 21, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'uniEmbCedis'
|
|
183
|
+
{ "startIndex": 21, "endIndex": 23, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
184
|
+
{ "startIndex": 23, "endIndex": 25, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'AS'
|
|
185
|
+
{ "startIndex": 25, "endIndex": 28, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
186
|
+
{ "startIndex": 28, "endIndex": 35, "scopes": ["source.abl", "meta.define.abl", "storage.type.abl"] }, // 'DECIMAL'
|
|
187
|
+
{ "startIndex": 35, "endIndex": 39, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
188
|
+
{ "startIndex": 39, "endIndex": 45, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'FORMAT'
|
|
189
|
+
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
190
|
+
{ "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
191
|
+
{ "startIndex": 47, "endIndex": 55, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // '>,>>9.<<'
|
|
192
|
+
{ "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] } // '"'
|
|
193
|
+
],
|
|
194
|
+
[
|
|
195
|
+
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
196
|
+
{ "startIndex": 4, "endIndex": 9, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'FIELD'
|
|
197
|
+
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
198
|
+
{ "startIndex": 10, "endIndex": 19, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'embPlanta'
|
|
199
|
+
{ "startIndex": 19, "endIndex": 23, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
200
|
+
{ "startIndex": 23, "endIndex": 27, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'LIKE'
|
|
201
|
+
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
202
|
+
{ "startIndex": 28, "endIndex": 37, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'in_qty_oh'
|
|
203
|
+
{ "startIndex": 37, "endIndex": 39, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
204
|
+
{ "startIndex": 39, "endIndex": 45, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'FORMAT'
|
|
205
|
+
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
206
|
+
{ "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
207
|
+
{ "startIndex": 47, "endIndex": 59, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // '->>>,>>9.999'
|
|
208
|
+
{ "startIndex": 59, "endIndex": 60, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] } // '"'
|
|
209
|
+
],
|
|
210
|
+
[
|
|
211
|
+
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
212
|
+
{ "startIndex": 4, "endIndex": 9, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'FIELD'
|
|
213
|
+
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
214
|
+
{ "startIndex": 10, "endIndex": 22, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'uniEmbPlanta'
|
|
215
|
+
{ "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
216
|
+
{ "startIndex": 23, "endIndex": 25, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'AS'
|
|
217
|
+
{ "startIndex": 25, "endIndex": 28, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
218
|
+
{ "startIndex": 28, "endIndex": 35, "scopes": ["source.abl", "meta.define.abl", "storage.type.abl"] }, // 'DECIMAL'
|
|
219
|
+
{ "startIndex": 35, "endIndex": 39, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
220
|
+
{ "startIndex": 39, "endIndex": 45, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'FORMAT'
|
|
221
|
+
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
222
|
+
{ "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
223
|
+
{ "startIndex": 47, "endIndex": 55, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // '>,>>9.<<'
|
|
224
|
+
{ "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] } // '"'
|
|
225
|
+
],
|
|
226
|
+
[
|
|
227
|
+
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
228
|
+
{ "startIndex": 4, "endIndex": 9, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'FIELD'
|
|
229
|
+
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
230
|
+
{ "startIndex": 10, "endIndex": 16, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'invFin'
|
|
231
|
+
{ "startIndex": 16, "endIndex": 23, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
232
|
+
{ "startIndex": 23, "endIndex": 27, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'LIKE'
|
|
233
|
+
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
234
|
+
{ "startIndex": 28, "endIndex": 37, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'in_qty_oh'
|
|
235
|
+
{ "startIndex": 37, "endIndex": 39, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
236
|
+
{ "startIndex": 39, "endIndex": 45, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'FORMAT'
|
|
237
|
+
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
238
|
+
{ "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
239
|
+
{ "startIndex": 47, "endIndex": 59, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // '->>>,>>9.999'
|
|
240
|
+
{ "startIndex": 59, "endIndex": 60, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] } // '"'
|
|
241
|
+
],
|
|
242
|
+
[
|
|
243
|
+
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
244
|
+
{ "startIndex": 4, "endIndex": 9, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'FIELD'
|
|
245
|
+
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
246
|
+
{ "startIndex": 10, "endIndex": 16, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'tonEmb'
|
|
247
|
+
{ "startIndex": 16, "endIndex": 23, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
248
|
+
{ "startIndex": 23, "endIndex": 27, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'LIKE'
|
|
249
|
+
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
250
|
+
{ "startIndex": 28, "endIndex": 37, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'in_qty_oh'
|
|
251
|
+
{ "startIndex": 37, "endIndex": 39, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
252
|
+
{ "startIndex": 39, "endIndex": 45, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'FORMAT'
|
|
253
|
+
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
254
|
+
{ "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
255
|
+
{ "startIndex": 47, "endIndex": 59, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // '->>>,>>9.999'
|
|
256
|
+
{ "startIndex": 59, "endIndex": 60, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] } // '"'
|
|
257
|
+
],
|
|
258
|
+
[
|
|
259
|
+
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
260
|
+
{ "startIndex": 4, "endIndex": 9, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'FIELD'
|
|
261
|
+
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
262
|
+
{ "startIndex": 10, "endIndex": 16, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'uniEmb'
|
|
263
|
+
{ "startIndex": 16, "endIndex": 23, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
264
|
+
{ "startIndex": 23, "endIndex": 25, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'AS'
|
|
265
|
+
{ "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
266
|
+
{ "startIndex": 26, "endIndex": 33, "scopes": ["source.abl", "meta.define.abl", "storage.type.abl"] }, // 'INTEGER'
|
|
267
|
+
{ "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
268
|
+
{ "startIndex": 34, "endIndex": 40, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'FORMAT'
|
|
269
|
+
{ "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
|
|
270
|
+
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
271
|
+
{ "startIndex": 42, "endIndex": 47, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // '>,>>9'
|
|
272
|
+
{ "startIndex": 47, "endIndex": 48, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
273
|
+
{ "startIndex": 48, "endIndex": 49, "scopes": ["source.abl", "meta.define.abl", "punctuation.terminator.abl"] } // '.'
|
|
274
|
+
],
|
|
275
|
+
[
|
|
276
|
+
{ "startIndex": 0, "endIndex": 5, "scopes": ["source.abl"] } // ' '
|
|
277
|
+
]
|
|
278
|
+
];
|
|
279
|
+
shared.itShouldMatchExpectedScopes(statement, expectedTokens);
|
|
222
280
|
})
|