abl-tmlanguage 1.3.26 → 1.3.28
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 +14 -0
- package/README.md +2 -1
- package/abl.tmLanguage.json +291 -112
- package/index.mjs +109 -11
- package/package.json +1 -1
- package/spec/blocks/block-options.spec.js +16 -16
- package/spec/blocks/finally-blocks.spec.js +5 -5
- package/spec/comments/comment-in-block-statement.spec.js +1 -1
- package/spec/comments/comment-in-for-each.spec.js +5 -5
- package/spec/comments/vscode-abl-issue#127.spec.js +20 -20
- package/spec/db-table-and-field/buffer-copy.spec.js +22 -22
- package/spec/db-table-and-field/create-alias.spec.js +39 -38
- package/spec/db-table-and-field/double-colon-access.spec.js +154 -0
- package/spec/db-table-and-field/field-in-function.spec.js +25 -25
- package/spec/db-table-and-field/fields-except.spec.js +1 -2
- package/spec/db-table-and-field/foreach.spec.js +6 -6
- package/spec/db-table-and-field/issue#88.spec.js +5 -4
- package/spec/db-table-and-field/new-record.spec.js +9 -9
- package/spec/db-table-and-field/query-get.spec.js +137 -0
- package/spec/define-buffer/create-buffer.spec.js +57 -0
- package/spec/define-frame/issue#173.spec.js +16 -16
- package/spec/define-property/property-getter.spec.js +8 -103
- package/spec/define-variable/simple-single-line.spec.js +1 -1
- package/spec/define-variable/var-statement.spec.js +21 -21
- package/spec/do/do-blocks.spec.js +22 -22
- package/spec/do/stop-after.spec.js +1 -1
- package/spec/function-call/can-find.spec.js +12 -12
- package/spec/function-call/include-in-argument.spec.js +120 -0
- package/spec/function-call/misc-abl-functions.spec.js +9 -9
- package/spec/function-call/nested-functions.spec.js +124 -124
- package/spec/function-call/vscode-abl-issue#19.spec.js +14 -14
- package/spec/function-definition/vscode-abl-issue#166.spec.js +1 -1
- package/spec/input-output/input-from.spec.js +116 -116
- package/spec/input-output/output-to.spec.js +105 -105
- package/spec/method-attribute-property-call/get-set-method-name.spec.js +1 -2
- package/spec/method-attribute-property-call/method-call.spec.js +1 -1
- package/spec/method-attribute-property-call/nested-property-call.spec.js +8 -25
- package/spec/method-attribute-property-call/unqualified-method-call.spec.js +27 -27
- package/spec/method-definition/constructor.spec.js +5 -5
- package/spec/misc-statements/class-in-var-name.spec.js +22 -22
- package/spec/misc-statements/copy-lob.spec.js +11 -4
- package/spec/misc-statements/do-in-name.spec.js +5 -5
- package/spec/misc-statements/guid.spec.js +10 -10
- package/spec/misc-statements/if-then.spec.js +38 -38
- package/spec/misc-statements/record-buffer-functions.spec.js +5 -5
- package/spec/misc-statements/return-statement.spec.js +15 -15
- package/spec/misc-statements/skip-statement-and-fuction.spec.js +6 -6
- package/spec/misc-statements/system-handles.spec.js +17 -3
- package/spec/numbers/scientific-notation.spec.js +7 -7
- package/spec/operators/operators.spec.js +6 -6
- package/spec/preprocesors/proparse-preprocessor.spec.js +7 -7
- package/spec/run-statement/run-statement.spec.js +30 -133
- package/spec/strings/translation-attribute.spec.js +7 -7
- package/spec/strings/vscode-abl-issue#11.spec.js +0 -53
- package/spec/strings/vscode-abl-issue#28.spec.js +16 -16
- package/spec/type-name/argument.spec.js +6 -7
- package/spec/type-name/define-property.spec.js +1 -1
- package/spec/type-name/define-temp-table.spec.js +4 -4
- package/spec/type-name/define-variable-property.spec.js +1 -1
- package/spec/type-name/define-variable.spec.js +1 -1
- package/spec/type-name/new.spec.js +8 -8
- package/spec/type-name/parameter-as.spec.js +50 -1
- package/spec/type-name/type-name.spec.js +20 -20
|
@@ -5,15 +5,15 @@ describe('', () => {
|
|
|
5
5
|
let statement = `if can-do("data",output-content-type) then.`;
|
|
6
6
|
let expectedTokens = [
|
|
7
7
|
{ "startIndex": 0, "endIndex": 2, "scopes": ["source.abl", "keyword.other.abl"] }, // 'if'
|
|
8
|
-
{ "startIndex": 2, "endIndex": 3, "scopes": ["source.abl"
|
|
9
|
-
{ "startIndex": 3, "endIndex": 9, "scopes": ["source.abl", "
|
|
10
|
-
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.function
|
|
11
|
-
{ "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "meta.function
|
|
12
|
-
{ "startIndex": 11, "endIndex": 15, "scopes": ["source.abl", "meta.function
|
|
13
|
-
{ "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.function
|
|
14
|
-
{ "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "meta.function
|
|
15
|
-
{ "startIndex": 17, "endIndex": 36, "scopes": ["source.abl", "meta.function
|
|
16
|
-
{ "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.
|
|
8
|
+
{ "startIndex": 2, "endIndex": 3, "scopes": ["source.abl"] }, // ' '
|
|
9
|
+
{ "startIndex": 3, "endIndex": 9, "scopes": ["source.abl", "support.function.abl"] }, // 'can-do'
|
|
10
|
+
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
11
|
+
{ "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
12
|
+
{ "startIndex": 11, "endIndex": 15, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'data'
|
|
13
|
+
{ "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
14
|
+
{ "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
15
|
+
{ "startIndex": 17, "endIndex": 36, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'output-content-type'
|
|
16
|
+
{ "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
17
17
|
{ "startIndex": 37, "endIndex": 38, "scopes": ["source.abl"] }, // ' '
|
|
18
18
|
{ "startIndex": 38, "endIndex": 42, "scopes": ["source.abl", "keyword.other.abl"] }, // 'then'
|
|
19
19
|
{ "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
@@ -21,42 +21,42 @@ describe('', () => {
|
|
|
21
21
|
[
|
|
22
22
|
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl"] }, // ' '
|
|
23
23
|
{ "startIndex": 4, "endIndex": 5, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '+'
|
|
24
|
-
{ "startIndex": 5, "endIndex": 6, "scopes": ["source.abl"
|
|
25
|
-
{ "startIndex": 6, "endIndex": 16, "scopes": ["source.abl", "
|
|
26
|
-
{ "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "meta.function
|
|
27
|
-
{ "startIndex": 17, "endIndex": 34, "scopes": ["source.abl", "meta.function
|
|
28
|
-
{ "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "meta.function
|
|
24
|
+
{ "startIndex": 5, "endIndex": 6, "scopes": ["source.abl"] }, // ' '
|
|
25
|
+
{ "startIndex": 6, "endIndex": 16, "scopes": ["source.abl", "support.function.abl"] }, // 'substitute'
|
|
26
|
+
{ "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
27
|
+
{ "startIndex": 17, "endIndex": 34, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'cFormattesdvalues'
|
|
28
|
+
{ "startIndex": 34, "endIndex": 35, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] } // ','
|
|
29
29
|
],
|
|
30
30
|
[
|
|
31
|
-
{ "startIndex": 0, "endIndex": 17, "scopes": ["source.abl", "meta.function
|
|
32
|
-
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.function
|
|
33
|
-
{ "startIndex": 18, "endIndex": 33, "scopes": ["source.abl", "meta.function
|
|
34
|
-
{ "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "meta.function
|
|
35
|
-
{ "startIndex": 34, "endIndex": 36, "scopes": ["source.abl", "meta.function
|
|
36
|
-
{ "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.function
|
|
31
|
+
{ "startIndex": 0, "endIndex": 17, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
32
|
+
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
33
|
+
{ "startIndex": 18, "endIndex": 33, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'characterValues'
|
|
34
|
+
{ "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
35
|
+
{ "startIndex": 34, "endIndex": 36, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "support.other.abl"] }, // ':U'
|
|
36
|
+
{ "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] } // ','
|
|
37
37
|
],
|
|
38
38
|
[
|
|
39
|
-
{ "startIndex": 0, "endIndex": 17, "scopes": ["source.abl", "meta.function
|
|
40
|
-
{ "startIndex": 17, "endIndex": 28, "scopes": ["source.abl", "meta.function
|
|
41
|
-
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.function
|
|
39
|
+
{ "startIndex": 0, "endIndex": 17, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
40
|
+
{ "startIndex": 17, "endIndex": 28, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'iCharMaxVal'
|
|
41
|
+
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] } // ','
|
|
42
42
|
],
|
|
43
43
|
[
|
|
44
|
-
{ "startIndex": 0, "endIndex": 17, "scopes": ["source.abl", "meta.function
|
|
45
|
-
{ "startIndex": 17, "endIndex": 27, "scopes": ["source.abl", "meta.function
|
|
46
|
-
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.function
|
|
47
|
-
{ "startIndex": 28, "endIndex": 43, "scopes": ["source.abl", "meta.function
|
|
48
|
-
{ "startIndex": 43, "endIndex": 44, "scopes": ["source.abl", "meta.function
|
|
49
|
-
{ "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "meta.function
|
|
50
|
-
{ "startIndex": 45, "endIndex": 56, "scopes": ["source.abl", "meta.function
|
|
51
|
-
{ "startIndex": 56, "endIndex": 57, "scopes": ["source.abl", "meta.function
|
|
52
|
-
{ "startIndex": 57, "endIndex": 58, "scopes": ["source.abl", "meta.function
|
|
44
|
+
{ "startIndex": 0, "endIndex": 17, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
45
|
+
{ "startIndex": 17, "endIndex": 27, "scopes": ["source.abl", "meta.function.arguments.abl", "support.function.abl"] }, // 'substitute'
|
|
46
|
+
{ "startIndex": 27, "endIndex": 28, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
47
|
+
{ "startIndex": 28, "endIndex": 43, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'cParamNameValue'
|
|
48
|
+
{ "startIndex": 43, "endIndex": 44, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
49
|
+
{ "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl"] }, // ' '
|
|
50
|
+
{ "startIndex": 45, "endIndex": 56, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'cPrettyName'
|
|
51
|
+
{ "startIndex": 56, "endIndex": 57, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // ')'
|
|
52
|
+
{ "startIndex": 57, "endIndex": 58, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] } // ','
|
|
53
53
|
],
|
|
54
54
|
[
|
|
55
|
-
{ "startIndex": 0, "endIndex": 17, "scopes": ["source.abl", "meta.function
|
|
56
|
-
{ "startIndex": 17, "endIndex": 37, "scopes": ["source.abl", "meta.function
|
|
57
|
-
{ "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "meta.function
|
|
58
|
-
{ "startIndex": 38, "endIndex": 42, "scopes": ["source.abl", "meta.function
|
|
59
|
-
{ "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.
|
|
55
|
+
{ "startIndex": 0, "endIndex": 17, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
56
|
+
{ "startIndex": 17, "endIndex": 37, "scopes": ["source.abl", "meta.function.arguments.abl", "entity.name.type.abl"] }, // 'Consultingwerk.Const'
|
|
57
|
+
{ "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.colon.abl"] }, // ':'
|
|
58
|
+
{ "startIndex": 38, "endIndex": 42, "scopes": ["source.abl", "meta.function.arguments.abl", "entity.name.function.abl"] }, // 'CRLF'
|
|
59
|
+
{ "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
60
60
|
{ "startIndex": 43, "endIndex": 44, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
61
61
|
]
|
|
62
62
|
];
|
|
@@ -84,41 +84,41 @@ describe('', () => {
|
|
|
84
84
|
{ "startIndex": 66, "endIndex": 67, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] } // ','
|
|
85
85
|
],
|
|
86
86
|
[
|
|
87
|
-
{ "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "meta.function.arguments.abl"
|
|
88
|
-
{ "startIndex": 6, "endIndex": 16, "scopes": ["source.abl", "meta.function.arguments.abl", "
|
|
89
|
-
{ "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function
|
|
90
|
-
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function
|
|
91
|
-
{ "startIndex": 18, "endIndex": 25, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function
|
|
92
|
-
{ "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function
|
|
93
|
-
{ "startIndex": 26, "endIndex": 28, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function
|
|
94
|
-
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function
|
|
87
|
+
{ "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
88
|
+
{ "startIndex": 6, "endIndex": 16, "scopes": ["source.abl", "meta.function.arguments.abl", "support.function.abl"] }, // 'substitute'
|
|
89
|
+
{ "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
90
|
+
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
91
|
+
{ "startIndex": 18, "endIndex": 25, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // '&1 = &2'
|
|
92
|
+
{ "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
93
|
+
{ "startIndex": 26, "endIndex": 28, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "support.other.abl"] }, // ':U'
|
|
94
|
+
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] } // ','
|
|
95
95
|
],
|
|
96
96
|
[
|
|
97
|
-
{ "startIndex": 0, "endIndex": 16, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function
|
|
98
|
-
{ "startIndex": 16, "endIndex": 36, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function
|
|
99
|
-
{ "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function
|
|
97
|
+
{ "startIndex": 0, "endIndex": 16, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl"] }, // ' '
|
|
98
|
+
{ "startIndex": 16, "endIndex": 36, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "storage.data.table.abl"] }, // 'b_eField.FieldSource'
|
|
99
|
+
{ "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] } // ','
|
|
100
100
|
],
|
|
101
101
|
[
|
|
102
|
-
{ "startIndex": 0, "endIndex": 16, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function
|
|
103
|
-
{ "startIndex": 16, "endIndex": 30, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function
|
|
104
|
-
{ "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.
|
|
102
|
+
{ "startIndex": 0, "endIndex": 16, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl"] }, // ' '
|
|
103
|
+
{ "startIndex": 16, "endIndex": 30, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'cParameterName'
|
|
104
|
+
{ "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // ')'
|
|
105
105
|
{ "startIndex": 31, "endIndex": 32, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] } // ','
|
|
106
106
|
],
|
|
107
107
|
[
|
|
108
|
-
{ "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "meta.function.arguments.abl"
|
|
109
|
-
{ "startIndex": 6, "endIndex": 11, "scopes": ["source.abl", "meta.function.arguments.abl", "
|
|
110
|
-
{ "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function
|
|
111
|
-
{ "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function
|
|
112
|
-
{ "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function
|
|
113
|
-
{ "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function
|
|
114
|
-
{ "startIndex": 15, "endIndex": 35, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function
|
|
115
|
-
{ "startIndex": 35, "endIndex": 36, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function
|
|
116
|
-
{ "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function
|
|
117
|
-
{ "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function
|
|
118
|
-
{ "startIndex": 38, "endIndex": 39, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function
|
|
119
|
-
{ "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function
|
|
120
|
-
{ "startIndex": 40, "endIndex": 42, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function
|
|
121
|
-
{ "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.
|
|
108
|
+
{ "startIndex": 0, "endIndex": 6, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
109
|
+
{ "startIndex": 6, "endIndex": 11, "scopes": ["source.abl", "meta.function.arguments.abl", "support.function.abl"] }, // 'entry'
|
|
110
|
+
{ "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
111
|
+
{ "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "constant.numeric.source.abl"] }, // '1'
|
|
112
|
+
{ "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
113
|
+
{ "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl"] }, // ' '
|
|
114
|
+
{ "startIndex": 15, "endIndex": 35, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "storage.data.table.abl"] }, // 'b_eField.FieldSource'
|
|
115
|
+
{ "startIndex": 35, "endIndex": 36, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
116
|
+
{ "startIndex": 36, "endIndex": 37, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl"] }, // ' '
|
|
117
|
+
{ "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
118
|
+
{ "startIndex": 38, "endIndex": 39, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // '.'
|
|
119
|
+
{ "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
120
|
+
{ "startIndex": 40, "endIndex": 42, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "support.other.abl"] }, // ':u'
|
|
121
|
+
{ "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // ')'
|
|
122
122
|
{ "startIndex": 43, "endIndex": 44, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
123
123
|
{ "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
124
124
|
]
|
|
@@ -138,33 +138,33 @@ describe('', () => {
|
|
|
138
138
|
{ "startIndex": 0, "endIndex": 15, "scopes": ["source.abl", "variable.other.abl"] }, // 'cParameterField'
|
|
139
139
|
{ "startIndex": 15, "endIndex": 16, "scopes": ["source.abl"] }, // ' '
|
|
140
140
|
{ "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '='
|
|
141
|
-
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl"
|
|
142
|
-
{ "startIndex": 18, "endIndex": 23, "scopes": ["source.abl", "
|
|
143
|
-
{ "startIndex": 23, "endIndex": 24, "scopes": ["source.abl", "meta.function
|
|
144
|
-
{ "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "meta.function
|
|
145
|
-
{ "startIndex": 25, "endIndex": 29, "scopes": ["source.abl", "meta.function
|
|
146
|
-
{ "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.function
|
|
147
|
-
{ "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "meta.function
|
|
148
|
-
{ "startIndex": 31, "endIndex": 32, "scopes": ["source.abl", "meta.function
|
|
149
|
-
{ "startIndex": 32, "endIndex": 37, "scopes": ["source.abl", "meta.function
|
|
150
|
-
{ "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "meta.function
|
|
151
|
-
{ "startIndex": 38, "endIndex": 47, "scopes": ["source.abl", "meta.function
|
|
152
|
-
{ "startIndex": 47, "endIndex": 48, "scopes": ["source.abl", "meta.function
|
|
153
|
-
{ "startIndex": 48, "endIndex": 75, "scopes": ["source.abl", "meta.function
|
|
154
|
-
{ "startIndex": 75, "endIndex": 76, "scopes": ["source.abl", "meta.function
|
|
155
|
-
{ "startIndex": 76, "endIndex": 77, "scopes": ["source.abl", "meta.function
|
|
156
|
-
{ "startIndex": 77, "endIndex": 78, "scopes": ["source.abl", "meta.function
|
|
157
|
-
{ "startIndex": 78, "endIndex": 79, "scopes": ["source.abl", "meta.function
|
|
158
|
-
{ "startIndex": 79, "endIndex": 80, "scopes": ["source.abl", "meta.function
|
|
159
|
-
{ "startIndex": 80, "endIndex": 81, "scopes": ["source.abl", "meta.function
|
|
160
|
-
{ "startIndex": 81, "endIndex": 82, "scopes": ["source.abl", "meta.function
|
|
161
|
-
{ "startIndex": 82, "endIndex": 83, "scopes": ["source.abl", "meta.function
|
|
162
|
-
{ "startIndex": 83, "endIndex": 84, "scopes": ["source.abl", "meta.function
|
|
163
|
-
{ "startIndex": 84, "endIndex": 85, "scopes": ["source.abl", "meta.function
|
|
164
|
-
{ "startIndex": 85, "endIndex": 94, "scopes": ["source.abl", "meta.function
|
|
165
|
-
{ "startIndex": 94, "endIndex": 95, "scopes": ["source.abl", "meta.function
|
|
166
|
-
{ "startIndex": 95, "endIndex": 119, "scopes": ["source.abl", "meta.function
|
|
167
|
-
{ "startIndex": 119, "endIndex": 120, "scopes": ["source.abl", "meta.
|
|
141
|
+
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl"] }, // ' '
|
|
142
|
+
{ "startIndex": 18, "endIndex": 23, "scopes": ["source.abl", "support.function.abl"] }, // 'SUBST'
|
|
143
|
+
{ "startIndex": 23, "endIndex": 24, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
144
|
+
{ "startIndex": 24, "endIndex": 25, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
145
|
+
{ "startIndex": 25, "endIndex": 29, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // '&1&2'
|
|
146
|
+
{ "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
147
|
+
{ "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
148
|
+
{ "startIndex": 31, "endIndex": 32, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
149
|
+
{ "startIndex": 32, "endIndex": 37, "scopes": ["source.abl", "meta.function.arguments.abl", "support.function.abl"] }, // 'LOWER'
|
|
150
|
+
{ "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
151
|
+
{ "startIndex": 38, "endIndex": 47, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "support.function.abl"] }, // 'SUBSTRING'
|
|
152
|
+
{ "startIndex": 47, "endIndex": 48, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
153
|
+
{ "startIndex": 48, "endIndex": 75, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "storage.data.table.abl"] }, // 'ttUniqueIndex.FieldDataType'
|
|
154
|
+
{ "startIndex": 75, "endIndex": 76, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
155
|
+
{ "startIndex": 76, "endIndex": 77, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.function.arguments.abl"] }, // ' '
|
|
156
|
+
{ "startIndex": 77, "endIndex": 78, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "constant.numeric.source.abl"] }, // '1'
|
|
157
|
+
{ "startIndex": 78, "endIndex": 79, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
158
|
+
{ "startIndex": 79, "endIndex": 80, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.function.arguments.abl"] }, // ' '
|
|
159
|
+
{ "startIndex": 80, "endIndex": 81, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "constant.numeric.source.abl"] }, // '1'
|
|
160
|
+
{ "startIndex": 81, "endIndex": 82, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // ')'
|
|
161
|
+
{ "startIndex": 82, "endIndex": 83, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // ')'
|
|
162
|
+
{ "startIndex": 83, "endIndex": 84, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
163
|
+
{ "startIndex": 84, "endIndex": 85, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
164
|
+
{ "startIndex": 85, "endIndex": 94, "scopes": ["source.abl", "meta.function.arguments.abl", "entity.name.function.abl"] }, // 'CamelCase'
|
|
165
|
+
{ "startIndex": 94, "endIndex": 95, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
166
|
+
{ "startIndex": 95, "endIndex": 119, "scopes": ["source.abl", "meta.function.arguments.abl", "storage.data.table.abl"] }, // 'ttUniqueIndex.IndexField'
|
|
167
|
+
{ "startIndex": 119, "endIndex": 120, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
168
168
|
{ "startIndex": 120, "endIndex": 121, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
169
169
|
{ "startIndex": 121, "endIndex": 122, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
170
170
|
],
|
|
@@ -177,28 +177,28 @@ describe('', () => {
|
|
|
177
177
|
[
|
|
178
178
|
{ "startIndex": 0, "endIndex": 2, "scopes": ["source.abl"] }, // ' '
|
|
179
179
|
{ "startIndex": 2, "endIndex": 4, "scopes": ["source.abl", "keyword.other.abl"] }, // 'IF'
|
|
180
|
-
{ "startIndex": 4, "endIndex": 5, "scopes": ["source.abl"
|
|
181
|
-
{ "startIndex": 5, "endIndex": 11, "scopes": ["source.abl", "
|
|
182
|
-
{ "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "meta.function
|
|
183
|
-
{ "startIndex": 12, "endIndex": 17, "scopes": ["source.abl", "meta.function
|
|
184
|
-
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.function
|
|
185
|
-
{ "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "meta.function
|
|
186
|
-
{ "startIndex": 19, "endIndex": 28, "scopes": ["source.abl", "meta.function
|
|
187
|
-
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.function
|
|
188
|
-
{ "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.function
|
|
189
|
-
{ "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "meta.function
|
|
190
|
-
{ "startIndex": 31, "endIndex": 46, "scopes": ["source.abl", "meta.function
|
|
191
|
-
{ "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.function
|
|
192
|
-
{ "startIndex": 47, "endIndex": 48, "scopes": ["source.abl", "meta.function
|
|
193
|
-
{ "startIndex": 48, "endIndex": 52, "scopes": ["source.abl", "meta.function
|
|
194
|
-
{ "startIndex": 52, "endIndex": 53, "scopes": ["source.abl", "meta.function
|
|
195
|
-
{ "startIndex": 53, "endIndex": 80, "scopes": ["source.abl", "meta.function
|
|
196
|
-
{ "startIndex": 80, "endIndex": 81, "scopes": ["source.abl", "meta.function
|
|
197
|
-
{ "startIndex": 81, "endIndex": 82, "scopes": ["source.abl", "meta.function
|
|
198
|
-
{ "startIndex": 82, "endIndex": 83, "scopes": ["source.abl", "meta.function
|
|
199
|
-
{ "startIndex": 83, "endIndex": 84, "scopes": ["source.abl", "meta.function
|
|
200
|
-
{ "startIndex": 84, "endIndex": 109, "scopes": ["source.abl", "meta.function
|
|
201
|
-
{ "startIndex": 109, "endIndex": 110, "scopes": ["source.abl", "meta.
|
|
180
|
+
{ "startIndex": 4, "endIndex": 5, "scopes": ["source.abl"] }, // ' '
|
|
181
|
+
{ "startIndex": 5, "endIndex": 11, "scopes": ["source.abl", "support.function.abl"] }, // 'LOOKUP'
|
|
182
|
+
{ "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
183
|
+
{ "startIndex": 12, "endIndex": 17, "scopes": ["source.abl", "meta.function.arguments.abl", "support.function.abl"] }, // 'SUBST'
|
|
184
|
+
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
185
|
+
{ "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
186
|
+
{ "startIndex": 19, "endIndex": 28, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // ' &1 AS &2'
|
|
187
|
+
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
188
|
+
{ "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
189
|
+
{ "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl"] }, // ' '
|
|
190
|
+
{ "startIndex": 31, "endIndex": 46, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'cParameterField'
|
|
191
|
+
{ "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
192
|
+
{ "startIndex": 47, "endIndex": 48, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl"] }, // ' '
|
|
193
|
+
{ "startIndex": 48, "endIndex": 52, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "support.function.abl"] }, // 'CAPS'
|
|
194
|
+
{ "startIndex": 52, "endIndex": 53, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
195
|
+
{ "startIndex": 53, "endIndex": 80, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "storage.data.table.abl"] }, // 'ttUniqueIndex.FieldDataType'
|
|
196
|
+
{ "startIndex": 80, "endIndex": 81, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // ')'
|
|
197
|
+
{ "startIndex": 81, "endIndex": 82, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // ')'
|
|
198
|
+
{ "startIndex": 82, "endIndex": 83, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
199
|
+
{ "startIndex": 83, "endIndex": 84, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
200
|
+
{ "startIndex": 84, "endIndex": 109, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'cParameterDefForReplicate'
|
|
201
|
+
{ "startIndex": 109, "endIndex": 110, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
202
202
|
{ "startIndex": 110, "endIndex": 111, "scopes": ["source.abl"] }, // ' '
|
|
203
203
|
{ "startIndex": 111, "endIndex": 112, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '='
|
|
204
204
|
{ "startIndex": 112, "endIndex": 113, "scopes": ["source.abl"] }, // ' '
|
|
@@ -214,25 +214,25 @@ describe('', () => {
|
|
|
214
214
|
{ "startIndex": 6, "endIndex": 31, "scopes": ["source.abl", "variable.other.abl"] }, // 'cParameterDefForReplicate'
|
|
215
215
|
{ "startIndex": 31, "endIndex": 32, "scopes": ["source.abl"] }, // ' '
|
|
216
216
|
{ "startIndex": 32, "endIndex": 33, "scopes": ["source.abl", "keyword.operator.source.abl"] }, // '='
|
|
217
|
-
{ "startIndex": 33, "endIndex": 34, "scopes": ["source.abl"
|
|
218
|
-
{ "startIndex": 34, "endIndex": 39, "scopes": ["source.abl", "
|
|
219
|
-
{ "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.function
|
|
220
|
-
{ "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.function
|
|
221
|
-
{ "startIndex": 41, "endIndex": 53, "scopes": ["source.abl", "meta.function
|
|
222
|
-
{ "startIndex": 53, "endIndex": 54, "scopes": ["source.abl", "meta.function
|
|
223
|
-
{ "startIndex": 54, "endIndex": 55, "scopes": ["source.abl", "meta.function
|
|
224
|
-
{ "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.function
|
|
225
|
-
{ "startIndex": 56, "endIndex": 81, "scopes": ["source.abl", "meta.function
|
|
226
|
-
{ "startIndex": 81, "endIndex": 82, "scopes": ["source.abl", "meta.function
|
|
227
|
-
{ "startIndex": 82, "endIndex": 83, "scopes": ["source.abl", "meta.function
|
|
228
|
-
{ "startIndex": 83, "endIndex": 98, "scopes": ["source.abl", "meta.function
|
|
229
|
-
{ "startIndex": 98, "endIndex": 99, "scopes": ["source.abl", "meta.function
|
|
230
|
-
{ "startIndex": 99, "endIndex": 100, "scopes": ["source.abl", "meta.function
|
|
231
|
-
{ "startIndex": 100, "endIndex": 104, "scopes": ["source.abl", "meta.function
|
|
232
|
-
{ "startIndex": 104, "endIndex": 105, "scopes": ["source.abl", "meta.function
|
|
233
|
-
{ "startIndex": 105, "endIndex": 132, "scopes": ["source.abl", "meta.function
|
|
234
|
-
{ "startIndex": 132, "endIndex": 133, "scopes": ["source.abl", "meta.function
|
|
235
|
-
{ "startIndex": 133, "endIndex": 134, "scopes": ["source.abl", "meta.
|
|
217
|
+
{ "startIndex": 33, "endIndex": 34, "scopes": ["source.abl"] }, // ' '
|
|
218
|
+
{ "startIndex": 34, "endIndex": 39, "scopes": ["source.abl", "support.function.abl"] }, // 'SUBST'
|
|
219
|
+
{ "startIndex": 39, "endIndex": 40, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
220
|
+
{ "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
221
|
+
{ "startIndex": 41, "endIndex": 53, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // '&1, &2 AS &3'
|
|
222
|
+
{ "startIndex": 53, "endIndex": 54, "scopes": ["source.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
223
|
+
{ "startIndex": 54, "endIndex": 55, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
224
|
+
{ "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
225
|
+
{ "startIndex": 56, "endIndex": 81, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'cParameterDefForReplicate'
|
|
226
|
+
{ "startIndex": 81, "endIndex": 82, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
227
|
+
{ "startIndex": 82, "endIndex": 83, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
228
|
+
{ "startIndex": 83, "endIndex": 98, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'cParameterField'
|
|
229
|
+
{ "startIndex": 98, "endIndex": 99, "scopes": ["source.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
230
|
+
{ "startIndex": 99, "endIndex": 100, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
231
|
+
{ "startIndex": 100, "endIndex": 104, "scopes": ["source.abl", "meta.function.arguments.abl", "support.function.abl"] }, // 'CAPS'
|
|
232
|
+
{ "startIndex": 104, "endIndex": 105, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
233
|
+
{ "startIndex": 105, "endIndex": 132, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.function.arguments.abl", "storage.data.table.abl"] }, // 'ttUniqueIndex.FieldDataType'
|
|
234
|
+
{ "startIndex": 132, "endIndex": 133, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // ')'
|
|
235
|
+
{ "startIndex": 133, "endIndex": 134, "scopes": ["source.abl", "meta.brace.round.js"] }, // ')'
|
|
236
236
|
{ "startIndex": 134, "endIndex": 135, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
237
237
|
],
|
|
238
238
|
[
|
|
@@ -34,10 +34,10 @@ trim(c_test)`;
|
|
|
34
34
|
{ "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
35
35
|
],
|
|
36
36
|
[
|
|
37
|
-
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "
|
|
38
|
-
{ "startIndex": 4, "endIndex": 5, "scopes": ["source.abl", "meta.function
|
|
39
|
-
{ "startIndex": 5, "endIndex": 11, "scopes": ["source.abl", "meta.function
|
|
40
|
-
{ "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "meta.
|
|
37
|
+
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "support.function.abl"] }, // 'trim'
|
|
38
|
+
{ "startIndex": 4, "endIndex": 5, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
39
|
+
{ "startIndex": 5, "endIndex": 11, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'c_test'
|
|
40
|
+
{ "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "meta.brace.round.js"] } // ')'
|
|
41
41
|
]
|
|
42
42
|
];
|
|
43
43
|
shared.itShouldMatchExpectedScopes(statement, expectedTokens);
|
|
@@ -76,11 +76,11 @@ trim( c_test)`;
|
|
|
76
76
|
{ "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
77
77
|
],
|
|
78
78
|
[
|
|
79
|
-
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "
|
|
80
|
-
{ "startIndex": 4, "endIndex": 5, "scopes": ["source.abl", "meta.function
|
|
81
|
-
{ "startIndex": 5, "endIndex": 6, "scopes": ["source.abl", "meta.function
|
|
82
|
-
{ "startIndex": 6, "endIndex": 12, "scopes": ["source.abl", "meta.function
|
|
83
|
-
{ "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "meta.
|
|
79
|
+
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "support.function.abl"] }, // 'trim'
|
|
80
|
+
{ "startIndex": 4, "endIndex": 5, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
81
|
+
{ "startIndex": 5, "endIndex": 6, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
82
|
+
{ "startIndex": 6, "endIndex": 12, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'c_test'
|
|
83
|
+
{ "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "meta.brace.round.js"] } // ')'
|
|
84
84
|
]
|
|
85
85
|
];
|
|
86
86
|
shared.itShouldMatchExpectedScopes(statement, expectedTokens);
|
|
@@ -118,11 +118,11 @@ trim(c_test )`;
|
|
|
118
118
|
{ "startIndex": 25, "endIndex": 26, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
119
119
|
],
|
|
120
120
|
[
|
|
121
|
-
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "
|
|
122
|
-
{ "startIndex": 4, "endIndex": 5, "scopes": ["source.abl", "meta.function
|
|
123
|
-
{ "startIndex": 5, "endIndex": 11, "scopes": ["source.abl", "meta.function
|
|
124
|
-
{ "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "meta.function
|
|
125
|
-
{ "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "meta.
|
|
121
|
+
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "support.function.abl"] }, // 'trim'
|
|
122
|
+
{ "startIndex": 4, "endIndex": 5, "scopes": ["source.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
123
|
+
{ "startIndex": 5, "endIndex": 11, "scopes": ["source.abl", "meta.function.arguments.abl", "variable.other.abl"] }, // 'c_test'
|
|
124
|
+
{ "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "meta.function.arguments.abl"] }, // ' '
|
|
125
|
+
{ "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "meta.brace.round.js"] } // ')'
|
|
126
126
|
]
|
|
127
127
|
];
|
|
128
128
|
shared.itShouldMatchExpectedScopes(statement, expectedTokens);
|
|
@@ -267,7 +267,7 @@ END FUNCTION.`;
|
|
|
267
267
|
],
|
|
268
268
|
[
|
|
269
269
|
{ "startIndex": 0, "endIndex": 2, "scopes": ["source.abl"] }, // ' '
|
|
270
|
-
{ "startIndex": 2, "endIndex": 8, "scopes": ["source.abl", "
|
|
270
|
+
{ "startIndex": 2, "endIndex": 8, "scopes": ["source.abl", "support.function.abl"] } // 'RETURN'
|
|
271
271
|
],
|
|
272
272
|
[
|
|
273
273
|
{ "startIndex": 0, "endIndex": 16, "scopes": ["source.abl"] }, // ' '
|