abl-tmlanguage 1.3.9 → 1.3.11

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 (33) hide show
  1. package/CHANGELOG.md +11 -3
  2. package/README.md +44 -41
  3. package/abl.tmLanguage.json +660 -312
  4. package/index.js +109 -71
  5. package/package.json +6 -6
  6. package/spec/array-extent/issue#5.spec.js +9 -9
  7. package/spec/blocks/finally-blocks.spec.js +1 -1
  8. package/spec/comments/spacious-comment.spec.js +73 -0
  9. package/spec/create-widgets/create-window.spec.js +221 -0
  10. package/spec/db-table-and-field/create-alias.spec.js +130 -0
  11. package/spec/db-table-and-field/create-record.spec.js +43 -0
  12. package/spec/db-table-and-field/find-record.spec.js +91 -0
  13. package/spec/define/define-browse.spec.js +40 -40
  14. package/spec/define/define-query.spec.js +14 -13
  15. package/spec/define-variable/extent.spec.js +501 -6
  16. package/spec/define-variable/var-statement.spec.js +375 -0
  17. package/spec/function-call/misc-abl-functions.spec.js +38 -1
  18. package/spec/function-call/nested-functions.spec.js +1 -1
  19. package/spec/include/include-file-name.spec.js +224 -0
  20. package/spec/include/vscode-abl-issue#77.spec.js +2 -2
  21. package/spec/input-output/input-from.spec.js +501 -0
  22. package/spec/input-output/output-to.spec.js +456 -0
  23. package/spec/method-attribute-property-call/get-set-method-name.spec.js +52 -7
  24. package/spec/method-definition/method.spec.js +184 -0
  25. package/spec/misc-statements/array-for.spec.js +2 -2
  26. package/spec/misc-statements/class-in-var-name.spec.js +1 -1
  27. package/spec/misc-statements/if-then.spec.js +153 -2
  28. package/spec/misc-statements/record-buffer-functions.spec.js +5 -5
  29. package/spec/operators/operators.spec.js +5 -5
  30. package/spec/preprocesors/proparse-preprocessor.spec.js +3 -3
  31. package/spec/procedure-definition/vscode-abl-issue#26.spec.js +6 -6
  32. package/spec/strings/translation-attribute.spec.js +1 -1
  33. package/spec/type-name/parameter-as.spec.js +9 -9
@@ -37,21 +37,21 @@ describe('', () => {
37
37
  { "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
38
38
  { "startIndex": 38, "endIndex": 45, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'NO-LOCK'
39
39
  { "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
40
- { "startIndex": 46, "endIndex": 53, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'DISPLAY'
40
+ { "startIndex": 46, "endIndex": 53, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] } // 'DISPLAY'
41
41
  ],
42
42
  [
43
43
  { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
44
- { "startIndex": 6, "endIndex": 26, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'temp-aropen.ref-type'
44
+ { "startIndex": 6, "endIndex": 26, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] } // 'temp-aropen.ref-type'
45
45
  ],
46
46
  [
47
47
  { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
48
- { "startIndex": 6, "endIndex": 25, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'temp-aropen.ref-num'
48
+ { "startIndex": 6, "endIndex": 25, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] } // 'temp-aropen.ref-num'
49
49
  ],
50
50
  [
51
51
  { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
52
- { "startIndex": 6, "endIndex": 26, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'temp-aropen.ref-date'
52
+ { "startIndex": 6, "endIndex": 26, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'temp-aropen.ref-date'
53
53
  { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
54
- { "startIndex": 27, "endIndex": 39, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'COLUMN-LABEL'
54
+ { "startIndex": 27, "endIndex": 39, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'COLUMN-LABEL'
55
55
  { "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
56
56
  { "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
57
57
  { "startIndex": 41, "endIndex": 49, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // 'Ref Date'
@@ -61,13 +61,13 @@ describe('', () => {
61
61
  { "startIndex": 57, "endIndex": 58, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
62
62
  { "startIndex": 58, "endIndex": 59, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
63
63
  { "startIndex": 59, "endIndex": 69, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // '99/99/9999'
64
- { "startIndex": 69, "endIndex": 70, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
64
+ { "startIndex": 69, "endIndex": 70, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] } // '"'
65
65
  ],
66
66
  [
67
67
  { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
68
- { "startIndex": 6, "endIndex": 25, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'temp-aropen.opn-amt'
68
+ { "startIndex": 6, "endIndex": 25, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'temp-aropen.opn-amt'
69
69
  { "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
70
- { "startIndex": 26, "endIndex": 38, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'COLUMN-LABEL'
70
+ { "startIndex": 26, "endIndex": 38, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'COLUMN-LABEL'
71
71
  { "startIndex": 38, "endIndex": 39, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
72
72
  { "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
73
73
  { "startIndex": 40, "endIndex": 51, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // 'Open Amount'
@@ -77,17 +77,17 @@ describe('', () => {
77
77
  { "startIndex": 59, "endIndex": 60, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
78
78
  { "startIndex": 60, "endIndex": 61, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
79
79
  { "startIndex": 61, "endIndex": 76, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // '->>>,>>>,>>9.99'
80
- { "startIndex": 76, "endIndex": 77, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
80
+ { "startIndex": 76, "endIndex": 77, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] } // '"'
81
81
  ],
82
82
  [
83
83
  { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
84
- { "startIndex": 6, "endIndex": 26, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'temp-aropen.due-date'
84
+ { "startIndex": 6, "endIndex": 26, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] } // 'temp-aropen.due-date'
85
85
  ],
86
86
  [
87
87
  { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
88
- { "startIndex": 6, "endIndex": 30, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'temp-aropen.cust-ref-num'
88
+ { "startIndex": 6, "endIndex": 30, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'temp-aropen.cust-ref-num'
89
89
  { "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
90
- { "startIndex": 31, "endIndex": 43, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'COLUMN-LABEL'
90
+ { "startIndex": 31, "endIndex": 43, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'COLUMN-LABEL'
91
91
  { "startIndex": 43, "endIndex": 44, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
92
92
  { "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
93
93
  { "startIndex": 45, "endIndex": 53, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // 'Cust Ref'
@@ -97,31 +97,31 @@ describe('', () => {
97
97
  { "startIndex": 61, "endIndex": 62, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
98
98
  { "startIndex": 62, "endIndex": 63, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
99
99
  { "startIndex": 63, "endIndex": 68, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // 'X(12)'
100
- { "startIndex": 68, "endIndex": 69, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
100
+ { "startIndex": 68, "endIndex": 69, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] } // '"'
101
101
  ],
102
102
  [
103
103
  { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
104
- { "startIndex": 6, "endIndex": 33, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'temp-aropen.remark-attached'
104
+ { "startIndex": 6, "endIndex": 33, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'temp-aropen.remark-attached'
105
105
  { "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
106
- { "startIndex": 34, "endIndex": 46, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'COLUMN-LABEL'
106
+ { "startIndex": 34, "endIndex": 46, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'COLUMN-LABEL'
107
107
  { "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
108
108
  { "startIndex": 47, "endIndex": 48, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
109
109
  { "startIndex": 48, "endIndex": 54, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // 'Remark'
110
- { "startIndex": 54, "endIndex": 55, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
110
+ { "startIndex": 54, "endIndex": 55, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] } // '"'
111
111
  ],
112
112
  [
113
113
  { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
114
- { "startIndex": 6, "endIndex": 32, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'temp-aropen.cust-po-number'
114
+ { "startIndex": 6, "endIndex": 32, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] } // 'temp-aropen.cust-po-number'
115
115
  ],
116
116
  [
117
117
  { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
118
- { "startIndex": 6, "endIndex": 31, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'temp-aropen.discount-date'
118
+ { "startIndex": 6, "endIndex": 31, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] } // 'temp-aropen.discount-date'
119
119
  ],
120
120
  [
121
121
  { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
122
- { "startIndex": 6, "endIndex": 26, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'temp-aropen.disc-amt'
122
+ { "startIndex": 6, "endIndex": 26, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'temp-aropen.disc-amt'
123
123
  { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
124
- { "startIndex": 27, "endIndex": 39, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'COLUMN-LABEL'
124
+ { "startIndex": 27, "endIndex": 39, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'COLUMN-LABEL'
125
125
  { "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
126
126
  { "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
127
127
  { "startIndex": 41, "endIndex": 61, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // 'Open Discount Amount'
@@ -131,13 +131,13 @@ describe('', () => {
131
131
  { "startIndex": 69, "endIndex": 70, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
132
132
  { "startIndex": 70, "endIndex": 71, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
133
133
  { "startIndex": 71, "endIndex": 85, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // '>>>,>>>,>>9.99'
134
- { "startIndex": 85, "endIndex": 86, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
134
+ { "startIndex": 85, "endIndex": 86, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] } // '"'
135
135
  ],
136
136
  [
137
137
  { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
138
- { "startIndex": 6, "endIndex": 26, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'temp-aropen.orig-amt'
138
+ { "startIndex": 6, "endIndex": 26, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'temp-aropen.orig-amt'
139
139
  { "startIndex": 26, "endIndex": 27, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
140
- { "startIndex": 27, "endIndex": 39, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'COLUMN-LABEL'
140
+ { "startIndex": 27, "endIndex": 39, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'COLUMN-LABEL'
141
141
  { "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
142
142
  { "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
143
143
  { "startIndex": 41, "endIndex": 56, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // 'Original Amount'
@@ -147,23 +147,23 @@ describe('', () => {
147
147
  { "startIndex": 64, "endIndex": 65, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
148
148
  { "startIndex": 65, "endIndex": 66, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
149
149
  { "startIndex": 66, "endIndex": 81, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // '->>>,>>>,>>9.99'
150
- { "startIndex": 81, "endIndex": 82, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
150
+ { "startIndex": 81, "endIndex": 82, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] } // '"'
151
151
  ],
152
152
  [
153
153
  { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
154
- { "startIndex": 6, "endIndex": 34, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'temp-aropen.entered-currency'
154
+ { "startIndex": 6, "endIndex": 34, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'temp-aropen.entered-currency'
155
155
  { "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
156
- { "startIndex": 35, "endIndex": 47, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'COLUMN-LABEL'
156
+ { "startIndex": 35, "endIndex": 47, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'COLUMN-LABEL'
157
157
  { "startIndex": 47, "endIndex": 48, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
158
158
  { "startIndex": 48, "endIndex": 49, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
159
159
  { "startIndex": 49, "endIndex": 65, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // 'Entered Currency'
160
- { "startIndex": 65, "endIndex": 66, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
160
+ { "startIndex": 65, "endIndex": 66, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] } // '"'
161
161
  ],
162
162
  [
163
163
  { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
164
- { "startIndex": 6, "endIndex": 33, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'temp-aropen.aropen-open-amt'
164
+ { "startIndex": 6, "endIndex": 33, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'temp-aropen.aropen-open-amt'
165
165
  { "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
166
- { "startIndex": 34, "endIndex": 46, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'COLUMN-LABEL'
166
+ { "startIndex": 34, "endIndex": 46, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'COLUMN-LABEL'
167
167
  { "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
168
168
  { "startIndex": 47, "endIndex": 48, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
169
169
  { "startIndex": 48, "endIndex": 78, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // 'Open Amount (Entered Currency)'
@@ -173,23 +173,23 @@ describe('', () => {
173
173
  { "startIndex": 86, "endIndex": 87, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
174
174
  { "startIndex": 87, "endIndex": 88, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
175
175
  { "startIndex": 88, "endIndex": 103, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // '->>>,>>>,>>9.99'
176
- { "startIndex": 103, "endIndex": 104, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
176
+ { "startIndex": 103, "endIndex": 104, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] } // '"'
177
177
  ],
178
178
  [
179
179
  { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
180
- { "startIndex": 6, "endIndex": 38, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'temp-aropen.discount-amount-open'
180
+ { "startIndex": 6, "endIndex": 38, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'temp-aropen.discount-amount-open'
181
181
  { "startIndex": 38, "endIndex": 39, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
182
- { "startIndex": 39, "endIndex": 51, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'COLUMN-LABEL'
182
+ { "startIndex": 39, "endIndex": 51, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'COLUMN-LABEL'
183
183
  { "startIndex": 51, "endIndex": 52, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
184
184
  { "startIndex": 52, "endIndex": 53, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
185
185
  { "startIndex": 53, "endIndex": 92, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // 'Open Discount Amount (Entered Currency)'
186
- { "startIndex": 92, "endIndex": 93, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
186
+ { "startIndex": 92, "endIndex": 93, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] } // '"'
187
187
  ],
188
188
  [
189
189
  { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
190
- { "startIndex": 6, "endIndex": 24, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'temp-aropen.amount'
190
+ { "startIndex": 6, "endIndex": 24, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'temp-aropen.amount'
191
191
  { "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
192
- { "startIndex": 25, "endIndex": 37, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'COLUMN-LABEL'
192
+ { "startIndex": 25, "endIndex": 37, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'COLUMN-LABEL'
193
193
  { "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
194
194
  { "startIndex": 38, "endIndex": 39, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
195
195
  { "startIndex": 39, "endIndex": 64, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // 'Amount (Entered Currency)'
@@ -199,17 +199,17 @@ describe('', () => {
199
199
  { "startIndex": 72, "endIndex": 73, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
200
200
  { "startIndex": 73, "endIndex": 74, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
201
201
  { "startIndex": 74, "endIndex": 89, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // '->>>,>>>,>>9.99'
202
- { "startIndex": 89, "endIndex": 90, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] }, // '"'
202
+ { "startIndex": 89, "endIndex": 90, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.end.abl"] } // '"'
203
203
  ],
204
204
  [
205
205
  { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
206
- { "startIndex": 6, "endIndex": 27, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'temp-aropen.cust-name'
206
+ { "startIndex": 6, "endIndex": 27, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] } // 'temp-aropen.cust-name'
207
207
  ],
208
208
  [
209
209
  { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
210
- { "startIndex": 6, "endIndex": 27, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'temp-aropen.cust-code'
210
+ { "startIndex": 6, "endIndex": 27, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'temp-aropen.cust-code'
211
211
  { "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
212
- { "startIndex": 28, "endIndex": 40, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'COLUMN-LABEL'
212
+ { "startIndex": 28, "endIndex": 40, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'COLUMN-LABEL'
213
213
  { "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
214
214
  { "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl", "punctuation.definition.string.begin.abl"] }, // '"'
215
215
  { "startIndex": 42, "endIndex": 53, "scopes": ["source.abl", "meta.define.abl", "string.double.complex.abl"] }, // 'Customer ID'
@@ -219,7 +219,7 @@ describe('', () => {
219
219
  { "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
220
220
  { "startIndex": 6, "endIndex": 12, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'ENABLE'
221
221
  { "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
222
- { "startIndex": 13, "endIndex": 32, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] } // 'temp-aropen.ref-num'
222
+ { "startIndex": 13, "endIndex": 32, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] } // 'temp-aropen.ref-num'
223
223
  ],
224
224
  [
225
225
  { "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
@@ -25,7 +25,7 @@ describe('', () => {
25
25
  QUERY query
26
26
  FOR buffer-name , buffer-name FIELDS ( field, field )
27
27
  EXCEPT ( field, field)
28
- CACHE n
28
+ CACHE 123
29
29
  SCROLLING
30
30
  RCODE-INFORMATION.`;
31
31
  let expectedTokens = [
@@ -40,13 +40,13 @@ describe('', () => {
40
40
  { "startIndex": 25, "endIndex": 27, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
41
41
  { "startIndex": 27, "endIndex": 36, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'PROTECTED'
42
42
  { "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
43
- { "startIndex": 37, "endIndex": 43, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'STATIC'
43
+ { "startIndex": 37, "endIndex": 43, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] } // 'STATIC'
44
44
  ],
45
45
  [
46
46
  { "startIndex": 0, "endIndex": 2, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
47
47
  { "startIndex": 2, "endIndex": 7, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'QUERY'
48
48
  { "startIndex": 7, "endIndex": 8, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
49
- { "startIndex": 8, "endIndex": 13, "scopes": ["source.abl", "meta.define.abl", "variable.other.abl"] }, // 'query'
49
+ { "startIndex": 8, "endIndex": 13, "scopes": ["source.abl", "meta.define.abl", "variable.other.abl"] } // 'query'
50
50
  ],
51
51
  [
52
52
  { "startIndex": 0, "endIndex": 2, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
@@ -54,19 +54,20 @@ describe('', () => {
54
54
  { "startIndex": 5, "endIndex": 6, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
55
55
  { "startIndex": 6, "endIndex": 17, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'buffer-name'
56
56
  { "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
57
- { "startIndex": 18, "endIndex": 20, "scopes": ["source.abl", "meta.define.abl"] }, // ', '
58
- { "startIndex": 20, "endIndex": 31, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'buffer-name'
57
+ { "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "meta.define.abl", "punctuation.separator.comma.abl"] }, // ','
58
+ { "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
59
+ { "startIndex": 20, "endIndex": 31, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'buffer-name'
59
60
  { "startIndex": 31, "endIndex": 32, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
60
61
  { "startIndex": 32, "endIndex": 38, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'FIELDS'
61
62
  { "startIndex": 38, "endIndex": 40, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
62
63
  { "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.define.abl", "meta.brace.round.js"] }, // '('
63
64
  { "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
64
65
  { "startIndex": 42, "endIndex": 47, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'field'
65
- { "startIndex": 47, "endIndex": 48, "scopes": ["source.abl", "meta.define.abl"] }, // ','
66
+ { "startIndex": 47, "endIndex": 48, "scopes": ["source.abl", "meta.define.abl", "punctuation.separator.comma.abl"] }, // ','
66
67
  { "startIndex": 48, "endIndex": 49, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
67
68
  { "startIndex": 49, "endIndex": 54, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'field'
68
69
  { "startIndex": 54, "endIndex": 55, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
69
- { "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.define.abl", "meta.brace.round.js"] }, // ')'
70
+ { "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.define.abl", "meta.brace.round.js"] } // ')'
70
71
  ],
71
72
  [
72
73
  { "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
@@ -75,25 +76,25 @@ describe('', () => {
75
76
  { "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "meta.define.abl", "meta.brace.round.js"] }, // '('
76
77
  { "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
77
78
  { "startIndex": 13, "endIndex": 18, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'field'
78
- { "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "meta.define.abl"] }, // ','
79
+ { "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "meta.define.abl", "punctuation.separator.comma.abl"] }, // ','
79
80
  { "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
80
81
  { "startIndex": 20, "endIndex": 25, "scopes": ["source.abl", "meta.define.abl", "storage.data.table.abl"] }, // 'field'
81
- { "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "meta.define.abl", "meta.brace.round.js"] }, // ')'
82
+ { "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "meta.define.abl", "meta.brace.round.js"] } // ')'
82
83
  ],
83
84
  [
84
85
  { "startIndex": 0, "endIndex": 3, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
85
86
  { "startIndex": 3, "endIndex": 8, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'CACHE'
86
87
  { "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
87
- { "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.define.abl", "entity.name.type.abl"] }, // 'n'
88
+ { "startIndex": 9, "endIndex": 12, "scopes": ["source.abl", "meta.define.abl", "constant.numeric.source.abl"] } // '123'
88
89
  ],
89
90
  [
90
91
  { "startIndex": 0, "endIndex": 3, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
91
- { "startIndex": 3, "endIndex": 12, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'SCROLLING'
92
+ { "startIndex": 3, "endIndex": 12, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] } // 'SCROLLING'
92
93
  ],
93
94
  [
94
95
  { "startIndex": 0, "endIndex": 3, "scopes": ["source.abl", "meta.define.abl"] }, // ' '
95
- { "startIndex": 3, "endIndex": 20, "scopes": ["source.abl", "meta.define.abl", "variable.language.abl"] }, // 'RCODE-INFORMATION'
96
- { "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "meta.define.abl", "punctuation.terminator.abl"] }, // '.'
96
+ { "startIndex": 3, "endIndex": 20, "scopes": ["source.abl", "meta.define.abl", "keyword.other.abl"] }, // 'RCODE-INFORMATION'
97
+ { "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "meta.define.abl", "punctuation.terminator.abl"] } // '.'
97
98
  ]
98
99
  ];
99
100
  shared.itShouldMatchExpectedScopes(statement, expectedTokens);