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.
Files changed (49) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/README.md +12 -0
  3. package/abl.tmLanguage.json +2736 -216
  4. package/azure-pipelines.yml +3 -2
  5. package/package.json +7 -6
  6. package/spec/analyze-suspend-resume/analyze-suspend-resume.spec.js +10 -10
  7. package/spec/array-extent/issue#5.spec.js +18 -18
  8. package/spec/define-buffer/simple-single-line.spec.js +138 -0
  9. package/spec/define-parameter/simple-single-line.spec.js +100 -100
  10. package/spec/define-stream/simple-single-line.spec.js +32 -31
  11. package/spec/define-variable/extent.spec.js +228 -0
  12. package/spec/define-variable/issue#6.spec.js +256 -198
  13. package/spec/define-variable/issue#9.spec.js +38 -32
  14. package/spec/define-variable/simple-single-line.spec.js +87 -87
  15. package/spec/define-variable/single-line-with-a-comment-at-the-end.spec.js +62 -62
  16. package/spec/define-variable/single-line-with-a-space-and-a-comment-at-the-end.spec.js +56 -56
  17. package/spec/define-variable/tm-issue#2.spec.js +20 -20
  18. package/spec/do/do-blocks.spec.js +89 -0
  19. package/spec/do/issue#3.spec.js +67 -60
  20. package/spec/function-call/vscode-abl-issue#19.spec.js +110 -107
  21. package/spec/global-scoped-define/global-define.spec.js +11 -11
  22. package/spec/global-scoped-define/scoped-define-with-procedure-keyword.spec.js +26 -26
  23. package/spec/include/abl-tmlanguage-issues#5.spec.js +44 -44
  24. package/spec/include/vscode-abl-issue#45.spec.js +14 -14
  25. package/spec/include/vscode-abl-issue#80.spec.js +26 -26
  26. package/spec/method-definition/constructor.spec.js +174 -0
  27. package/spec/method-definition/method.spec.js +185 -0
  28. package/spec/procedure-definition/empty-proc.spec.js +20 -18
  29. package/spec/procedure-definition/vscode-abl-issue#22.spec.js +46 -42
  30. package/spec/procedure-definition/vscode-abl-issue#26.spec.js +23 -16
  31. package/spec/procedure-definition/vscode-abl-issue#62.spec.js +36 -0
  32. package/spec/shared.js +84 -42
  33. package/spec/strings/vscode-abl-issue#11.spec.js +110 -114
  34. package/spec/strings/vscode-abl-issue#28.spec.js +27 -27
  35. package/spec/type-name/argument.spec.js +209 -0
  36. package/spec/type-name/cast.spec.js +165 -0
  37. package/spec/type-name/define-class.spec.js +471 -0
  38. package/spec/type-name/define-enum.spec.js +44 -0
  39. package/spec/type-name/define-interface.spec.js +159 -0
  40. package/spec/type-name/define-property.spec.js +301 -0
  41. package/spec/type-name/define-temp-table.spec.js +434 -0
  42. package/spec/type-name/define-type-spec.js +435 -0
  43. package/spec/type-name/define-variable-property.spec.js +264 -0
  44. package/spec/type-name/define-variable.spec.js +504 -0
  45. package/spec/type-name/get-class.spec.js +91 -0
  46. package/spec/type-name/new.spec.js +126 -0
  47. package/spec/type-name/parameter-as.spec.js +838 -0
  48. package/spec/type-name/type-name-spec.js +587 -0
  49. 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
- //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"]},
9
- {"startIndex":6,"endIndex":7,"scopes":["source.abl","meta.define.abl"]},
10
- {"startIndex":7,"endIndex":15,"scopes":["source.abl","meta.define.abl","meta.define.variable.abl","keyword.other.abl"]},
11
- {"startIndex":15,"endIndex":16,"scopes":["source.abl","meta.define.abl","meta.define.variable.abl"]},
12
- {"startIndex":16,"endIndex":20,"scopes":["source.abl","meta.define.abl","meta.define.variable.abl","variable.other.abl"]},
13
- {"startIndex":20,"endIndex":22,"scopes":["source.abl","meta.define.abl","meta.define.variable.abl"]},
14
- {"startIndex":22,"endIndex":24,"scopes":["source.abl","meta.define.abl","meta.define.variable.abl","keyword.other.abl"]},
15
- {"startIndex":24,"endIndex":25,"scopes":["source.abl","meta.define.abl","meta.define.variable.abl"]},
16
- {"startIndex":25,"endIndex":34,"scopes":["source.abl","meta.define.abl","meta.define.variable.abl","storage.type.abl"]},
17
- {"startIndex":34,"endIndex":35,"scopes":["source.abl","meta.define.abl","meta.define.variable.abl"]},
18
- {"startIndex":35,"endIndex":41,"scopes":["source.abl","meta.define.abl","meta.define.variable.abl","keyword.other.abl"]},
19
- {"startIndex":41,"endIndex":42,"scopes":["source.abl","meta.define.abl","meta.define.variable.abl"]},
20
- {"startIndex":42,"endIndex":43,"scopes":["source.abl","meta.define.abl","meta.define.variable.abl","string.double.complex.abl","punctuation.definition.string.begin.abl"]},
21
- {"startIndex":43,"endIndex":48,"scopes":["source.abl","meta.define.abl","meta.define.variable.abl","string.double.complex.abl"]},
22
- {"startIndex":48,"endIndex":49,"scopes":["source.abl","meta.define.abl","meta.define.variable.abl","string.double.complex.abl","punctuation.definition.string.end.abl"]},
23
- {"startIndex":49,"endIndex":50,"scopes":["source.abl","meta.define.abl","meta.define.variable.abl"]},
24
- {"startIndex":50,"endIndex":55,"scopes":["source.abl","meta.define.abl","meta.define.variable.abl","keyword.other.abl"]},
25
- {"startIndex":55,"endIndex":56,"scopes":["source.abl","meta.define.abl","meta.define.variable.abl"]},
26
- {"startIndex":56,"endIndex":57,"scopes":["source.abl","meta.define.abl","meta.define.variable.abl","string.double.complex.abl","punctuation.definition.string.begin.abl"]},
27
- {"startIndex":57,"endIndex":67,"scopes":["source.abl","meta.define.abl","meta.define.variable.abl","string.double.complex.abl"]},
28
- {"startIndex":67,"endIndex":68,"scopes":["source.abl","meta.define.abl","meta.define.variable.abl","string.double.complex.abl","punctuation.definition.string.end.abl"]},
29
- {"startIndex":68,"endIndex":69,"scopes":["source.abl","punctuation.terminator.abl"]}
30
- ];
31
- shared.itShouldMatchExpectedScopes(statement, expectedTokens);
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
- //label-with-a-dot-inside.spec
36
- let statement = `
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
- let expectedTokens = [
54
- [
55
- {"startIndex":0,"endIndex":1,"scopes":["source.abl"]}
56
- ],[
57
- {"startIndex":0,"endIndex":6,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
58
- {"startIndex":6,"endIndex":7,"scopes":["source.abl","meta.define.abl"]},
59
- {"startIndex":7,"endIndex":17,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
60
- {"startIndex":17,"endIndex":29,"scopes":["source.abl","meta.define.abl"]}
61
- ],[
62
- {"startIndex":0,"endIndex":4,"scopes":["source.abl","meta.define.abl"]},
63
- {"startIndex":4,"endIndex":9,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
64
- {"startIndex":9,"endIndex":23,"scopes":["source.abl","meta.define.abl"]},
65
- {"startIndex":23,"endIndex":25,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
66
- {"startIndex":25,"endIndex":26,"scopes":["source.abl","meta.define.abl"]},
67
- {"startIndex":26,"endIndex":30,"scopes":["source.abl","meta.define.abl","storage.type.abl"]},
68
- {"startIndex":30,"endIndex":31,"scopes":["source.abl","meta.define.abl"]},
69
- {"startIndex":31,"endIndex":37,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
70
- {"startIndex":37,"endIndex":38,"scopes":["source.abl","meta.define.abl"]},
71
- {"startIndex":38,"endIndex":40,"scopes":["source.abl","meta.define.abl","constant.numeric.source.abl"]},
72
- {"startIndex":40,"endIndex":41,"scopes":["source.abl","meta.define.abl"]},
73
- {"startIndex":41,"endIndex":43,"scopes":["source.abl","meta.define.abl","constant.numeric.source.abl"]},
74
- {"startIndex":43,"endIndex":44,"scopes":["source.abl","meta.define.abl"]},
75
- {"startIndex":44,"endIndex":48,"scopes":["source.abl","meta.define.abl","constant.numeric.source.abl"]}
76
- ],[
77
- {"startIndex":0,"endIndex":4,"scopes":["source.abl","meta.define.abl"]},
78
- {"startIndex":4,"endIndex":9,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
79
- {"startIndex":9,"endIndex":23,"scopes":["source.abl","meta.define.abl"]},
80
- {"startIndex":23,"endIndex":25,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
81
- {"startIndex":25,"endIndex":26,"scopes":["source.abl","meta.define.abl"]},
82
- {"startIndex":26,"endIndex":35,"scopes":["source.abl","meta.define.abl","storage.type.abl"]}
83
- ],[
84
- {"startIndex":0,"endIndex":4,"scopes":["source.abl","meta.define.abl"]},
85
- {"startIndex":4,"endIndex":9,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
86
- {"startIndex":9,"endIndex":23,"scopes":["source.abl","meta.define.abl"]},
87
- {"startIndex":23,"endIndex":25,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
88
- {"startIndex":25,"endIndex":26,"scopes":["source.abl","meta.define.abl"]},
89
- {"startIndex":26,"endIndex":35,"scopes":["source.abl","meta.define.abl","storage.type.abl"]}
90
- ],[
91
- {"startIndex":0,"endIndex":4,"scopes":["source.abl","meta.define.abl"]},
92
- {"startIndex":4,"endIndex":9,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
93
- {"startIndex":9,"endIndex":23,"scopes":["source.abl","meta.define.abl"]},
94
- {"startIndex":23,"endIndex":27,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
95
- {"startIndex":27,"endIndex":39,"scopes":["source.abl","meta.define.abl"]},
96
- {"startIndex":39,"endIndex":45,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
97
- {"startIndex":45,"endIndex":46,"scopes":["source.abl","meta.define.abl"]},
98
- {"startIndex":46,"endIndex":47,"scopes":["source.abl","meta.define.abl","string.double.complex.abl","punctuation.definition.string.begin.abl"]},
99
- {"startIndex":47,"endIndex":59,"scopes":["source.abl","meta.define.abl","string.double.complex.abl"]},
100
- {"startIndex":59,"endIndex":60,"scopes":["source.abl","meta.define.abl","string.double.complex.abl","punctuation.definition.string.end.abl"]}
101
- ],[
102
- {"startIndex":0,"endIndex":4,"scopes":["source.abl","meta.define.abl"]},
103
- {"startIndex":4,"endIndex":9,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
104
- {"startIndex":9,"endIndex":23,"scopes":["source.abl","meta.define.abl"]},
105
- {"startIndex":23,"endIndex":27,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
106
- {"startIndex":27,"endIndex":39,"scopes":["source.abl","meta.define.abl"]},
107
- {"startIndex":39,"endIndex":45,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
108
- {"startIndex":45,"endIndex":46,"scopes":["source.abl","meta.define.abl"]},
109
- {"startIndex":46,"endIndex":47,"scopes":["source.abl","meta.define.abl","string.double.complex.abl","punctuation.definition.string.begin.abl"]},
110
- {"startIndex":47,"endIndex":59,"scopes":["source.abl","meta.define.abl","string.double.complex.abl"]},
111
- {"startIndex":59,"endIndex":60,"scopes":["source.abl","meta.define.abl","string.double.complex.abl","punctuation.definition.string.end.abl"]}
112
- ],[
113
- {"startIndex":0,"endIndex":4,"scopes":["source.abl","meta.define.abl"]},
114
- {"startIndex":4,"endIndex":9,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
115
- {"startIndex":9,"endIndex":23,"scopes":["source.abl","meta.define.abl"]},
116
- {"startIndex":23,"endIndex":27,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
117
- {"startIndex":27,"endIndex":39,"scopes":["source.abl","meta.define.abl"]},
118
- {"startIndex":39,"endIndex":45,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
119
- {"startIndex":45,"endIndex":46,"scopes":["source.abl","meta.define.abl"]},
120
- {"startIndex":46,"endIndex":47,"scopes":["source.abl","meta.define.abl","string.double.complex.abl","punctuation.definition.string.begin.abl"]},
121
- {"startIndex":47,"endIndex":59,"scopes":["source.abl","meta.define.abl","string.double.complex.abl"]},
122
- {"startIndex":59,"endIndex":60,"scopes":["source.abl","meta.define.abl","string.double.complex.abl","punctuation.definition.string.end.abl"]}
123
- ],[
124
- {"startIndex":0,"endIndex":4,"scopes":["source.abl","meta.define.abl"]},
125
- {"startIndex":4,"endIndex":9,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
126
- {"startIndex":9,"endIndex":23,"scopes":["source.abl","meta.define.abl"]},
127
- {"startIndex":23,"endIndex":27,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
128
- {"startIndex":27,"endIndex":39,"scopes":["source.abl","meta.define.abl"]},
129
- {"startIndex":39,"endIndex":45,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
130
- {"startIndex":45,"endIndex":46,"scopes":["source.abl","meta.define.abl"]},
131
- {"startIndex":46,"endIndex":47,"scopes":["source.abl","meta.define.abl","string.double.complex.abl","punctuation.definition.string.begin.abl"]},
132
- {"startIndex":47,"endIndex":58,"scopes":["source.abl","meta.define.abl","string.double.complex.abl"]},
133
- {"startIndex":58,"endIndex":59,"scopes":["source.abl","meta.define.abl","string.double.complex.abl","punctuation.definition.string.end.abl"]}
134
- ],[
135
- {"startIndex":0,"endIndex":4,"scopes":["source.abl","meta.define.abl"]},
136
- {"startIndex":4,"endIndex":9,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
137
- {"startIndex":9,"endIndex":23,"scopes":["source.abl","meta.define.abl"]},
138
- {"startIndex":23,"endIndex":27,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
139
- {"startIndex":27,"endIndex":39,"scopes":["source.abl","meta.define.abl"]},
140
- {"startIndex":39,"endIndex":45,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
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"]},
144
- {"startIndex":59,"endIndex":60,"scopes":["source.abl","meta.define.abl","string.double.complex.abl","punctuation.definition.string.end.abl"]}
145
- ],[
146
- {"startIndex":0,"endIndex":4,"scopes":["source.abl","meta.define.abl"]},
147
- {"startIndex":4,"endIndex":9,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
148
- {"startIndex":9,"endIndex":23,"scopes":["source.abl","meta.define.abl"]},
149
- {"startIndex":23,"endIndex":25,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
150
- {"startIndex":25,"endIndex":28,"scopes":["source.abl","meta.define.abl"]},
151
- {"startIndex":28,"endIndex":35,"scopes":["source.abl","meta.define.abl","storage.type.abl"]},
152
- {"startIndex":35,"endIndex":39,"scopes":["source.abl","meta.define.abl"]},
153
- {"startIndex":39,"endIndex":45,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
154
- {"startIndex":45,"endIndex":46,"scopes":["source.abl","meta.define.abl"]},
155
- {"startIndex":46,"endIndex":47,"scopes":["source.abl","meta.define.abl","string.double.complex.abl","punctuation.definition.string.begin.abl"]},
156
- {"startIndex":47,"endIndex":55,"scopes":["source.abl","meta.define.abl","string.double.complex.abl"]},
157
- {"startIndex":55,"endIndex":56,"scopes":["source.abl","meta.define.abl","string.double.complex.abl","punctuation.definition.string.end.abl"]}
158
- ],[
159
- {"startIndex":0,"endIndex":4,"scopes":["source.abl","meta.define.abl"]},
160
- {"startIndex":4,"endIndex":9,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
161
- {"startIndex":9,"endIndex":23,"scopes":["source.abl","meta.define.abl"]},
162
- {"startIndex":23,"endIndex":27,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
163
- {"startIndex":27,"endIndex":39,"scopes":["source.abl","meta.define.abl"]},
164
- {"startIndex":39,"endIndex":45,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
165
- {"startIndex":45,"endIndex":46,"scopes":["source.abl","meta.define.abl"]},
166
- {"startIndex":46,"endIndex":47,"scopes":["source.abl","meta.define.abl","string.double.complex.abl","punctuation.definition.string.begin.abl"]},
167
- {"startIndex":47,"endIndex":59,"scopes":["source.abl","meta.define.abl","string.double.complex.abl"]},
168
- {"startIndex":59,"endIndex":60,"scopes":["source.abl","meta.define.abl","string.double.complex.abl","punctuation.definition.string.end.abl"]}
169
- ],[
170
- {"startIndex":0,"endIndex":4,"scopes":["source.abl","meta.define.abl"]},
171
- {"startIndex":4,"endIndex":9,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
172
- {"startIndex":9,"endIndex":23,"scopes":["source.abl","meta.define.abl"]},
173
- {"startIndex":23,"endIndex":25,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
174
- {"startIndex":25,"endIndex":28,"scopes":["source.abl","meta.define.abl"]},
175
- {"startIndex":28,"endIndex":35,"scopes":["source.abl","meta.define.abl","storage.type.abl"]},
176
- {"startIndex":35,"endIndex":39,"scopes":["source.abl","meta.define.abl"]},
177
- {"startIndex":39,"endIndex":45,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
178
- {"startIndex":45,"endIndex":46,"scopes":["source.abl","meta.define.abl"]},
179
- {"startIndex":46,"endIndex":47,"scopes":["source.abl","meta.define.abl","string.double.complex.abl","punctuation.definition.string.begin.abl"]},
180
- {"startIndex":47,"endIndex":55,"scopes":["source.abl","meta.define.abl","string.double.complex.abl"]},
181
- {"startIndex":55,"endIndex":56,"scopes":["source.abl","meta.define.abl","string.double.complex.abl","punctuation.definition.string.end.abl"]}
182
- ],[
183
- {"startIndex":0,"endIndex":4,"scopes":["source.abl","meta.define.abl"]},
184
- {"startIndex":4,"endIndex":9,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
185
- {"startIndex":9,"endIndex":23,"scopes":["source.abl","meta.define.abl"]},
186
- {"startIndex":23,"endIndex":27,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
187
- {"startIndex":27,"endIndex":39,"scopes":["source.abl","meta.define.abl"]},
188
- {"startIndex":39,"endIndex":45,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
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":59,"scopes":["source.abl","meta.define.abl","string.double.complex.abl"]},
192
- {"startIndex":59,"endIndex":60,"scopes":["source.abl","meta.define.abl","string.double.complex.abl","punctuation.definition.string.end.abl"]}
193
- ],[
194
- {"startIndex":0,"endIndex":4,"scopes":["source.abl","meta.define.abl"]},
195
- {"startIndex":4,"endIndex":9,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
196
- {"startIndex":9,"endIndex":23,"scopes":["source.abl","meta.define.abl"]},
197
- {"startIndex":23,"endIndex":27,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
198
- {"startIndex":27,"endIndex":39,"scopes":["source.abl","meta.define.abl"]},
199
- {"startIndex":39,"endIndex":45,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
200
- {"startIndex":45,"endIndex":46,"scopes":["source.abl","meta.define.abl"]},
201
- {"startIndex":46,"endIndex":47,"scopes":["source.abl","meta.define.abl","string.double.complex.abl","punctuation.definition.string.begin.abl"]},
202
- {"startIndex":47,"endIndex":59,"scopes":["source.abl","meta.define.abl","string.double.complex.abl"]},
203
- {"startIndex":59,"endIndex":60,"scopes":["source.abl","meta.define.abl","string.double.complex.abl","punctuation.definition.string.end.abl"]}
204
- ],[
205
- {"startIndex":0,"endIndex":4,"scopes":["source.abl","meta.define.abl"]},
206
- {"startIndex":4,"endIndex":9,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
207
- {"startIndex":9,"endIndex":23,"scopes":["source.abl","meta.define.abl"]},
208
- {"startIndex":23,"endIndex":25,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
209
- {"startIndex":25,"endIndex":26,"scopes":["source.abl","meta.define.abl"]},
210
- {"startIndex":26,"endIndex":33,"scopes":["source.abl","meta.define.abl","storage.type.abl"]},
211
- {"startIndex":33,"endIndex":34,"scopes":["source.abl","meta.define.abl"]},
212
- {"startIndex":34,"endIndex":40,"scopes":["source.abl","meta.define.abl","keyword.other.abl"]},
213
- {"startIndex":40,"endIndex":41,"scopes":["source.abl","meta.define.abl"]},
214
- {"startIndex":41,"endIndex":42,"scopes":["source.abl","meta.define.abl","string.double.complex.abl","punctuation.definition.string.begin.abl"]},
215
- {"startIndex":42,"endIndex":47,"scopes":["source.abl","meta.define.abl","string.double.complex.abl"]},
216
- {"startIndex":47,"endIndex":48,"scopes":["source.abl","meta.define.abl","string.double.complex.abl","punctuation.definition.string.end.abl"]},
217
- {"startIndex":48,"endIndex":49,"scopes":["source.abl","punctuation.terminator.abl"]}
218
- ],[
219
- {"startIndex":0,"endIndex":5,"scopes":["source.abl"]}
220
- ]];
221
- shared.itShouldMatchExpectedScopes(statement, expectedTokens);
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
  })