abl-tmlanguage 1.3.15 → 1.3.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/ci.yml +36 -0
- package/CHANGELOG.md +18 -0
- package/README.md +17 -12
- package/abl.tmLanguage.json +280 -69
- package/package.json +1 -1
- package/spec/annotations/annotation.spec.js +49 -50
- package/spec/blocks/block-labels.spec.js +3 -3
- package/spec/blocks/block-options.spec.js +157 -1
- package/spec/comments/comment-in-block-statement.spec.js +20 -14
- package/spec/comments/comment-in-for-each.spec.js +9 -6
- package/spec/comments/comment-in-function-args.spec.js +4 -5
- package/spec/comments/vscode-abl-issue#127.spec.js +4 -4
- package/spec/create-widgets/create-window.spec.js +11 -8
- package/spec/db-table-and-field/buffer-copy.spec.js +45 -39
- package/spec/db-table-and-field/create-alias.spec.js +3 -3
- package/spec/db-table-and-field/field-in-function.spec.js +6 -6
- package/spec/db-table-and-field/foreach.spec.js +3 -3
- package/spec/db-table-and-field/issue#88.spec.js +2 -2
- package/spec/db-table-and-field/new-record.spec.js +46 -25
- package/spec/define/define-browse.spec.js +54 -54
- package/spec/define/define-button.spec.js +3 -3
- package/spec/define/define-query.spec.js +43 -0
- package/spec/define-buffer/create-buffer.spec.js +3 -3
- package/spec/define-buffer/simple-single-line.spec.js +9 -9
- package/spec/define-frame/issue#173.spec.js +56 -50
- package/spec/define-parameter/simple-single-line.spec.js +3 -3
- package/spec/define-property/property-getter.spec.js +4 -4
- package/spec/define-temp-table/define-dataset.spec.js +23 -17
- package/spec/define-temp-table/define-temp-table.spec.js +68 -53
- package/spec/define-variable/extent.spec.js +6 -6
- package/spec/define-variable/initial.spec.js +15 -15
- package/spec/define-variable/issue#6.spec.js +39 -39
- package/spec/define-variable/issue#9.spec.js +3 -3
- package/spec/define-variable/var-statement.spec.js +7 -4
- package/spec/do/do-blocks.spec.js +25 -19
- package/spec/for-each/issue#321.spec.js +2 -2
- package/spec/function-call/can-find.spec.js +10 -11
- package/spec/function-call/misc-abl-functions.spec.js +3 -3
- package/spec/function-call/nested-functions.spec.js +21 -22
- package/spec/function-call/udf-calls.spec.js +22 -23
- package/spec/function-call/vscode-abl-issue#19.spec.js +12 -12
- package/spec/global-scoped-define/global-define.spec.js +54 -7
- package/spec/global-scoped-define/scoped-define-with-procedure-keyword.spec.js +49 -15
- package/spec/global-scoped-define/undefine.spec.js +44 -0
- package/spec/include/abl-tmlanguage-issues#5.spec.js +3 -3
- package/spec/include/include-file-name.spec.js +16 -4
- package/spec/include/unnamed-arguments.spec.js +4 -5
- package/spec/include/vscode-abl-issue#45.spec.js +3 -3
- package/spec/include/vscode-abl-issue#77.spec.js +16 -17
- package/spec/include/vscode-abl-issue#80.spec.js +10 -7
- package/spec/input-output/input-from.spec.js +19 -16
- package/spec/input-output/output-to.spec.js +15 -15
- package/spec/method-attribute-property-call/abl-method-attribute-call.spec.js +16 -17
- package/spec/method-attribute-property-call/connected-method.spec.js +3 -4
- package/spec/method-attribute-property-call/datset-table-attribute-method-call.spec.js +53 -0
- package/spec/method-attribute-property-call/method-call.spec.js +16 -16
- package/spec/method-attribute-property-call/unqualified-method-call.spec.js +3 -4
- package/spec/method-definition/constructor.spec.js +6 -6
- package/spec/method-definition/method.spec.js +12 -12
- package/spec/misc-statements/case-statement.spec.js +9 -9
- package/spec/misc-statements/class-in-var-name.spec.js +9 -10
- package/spec/misc-statements/copy-lob.spec.js +3 -3
- package/spec/misc-statements/do-in-name.spec.js +21 -22
- package/spec/misc-statements/event-subscribe.spec.js +14 -15
- package/spec/misc-statements/export-delimiter.spec.js +6 -6
- package/spec/misc-statements/if-then.spec.js +9 -9
- package/spec/misc-statements/issue#173.spec.js +3 -4
- package/spec/misc-statements/message-statement.spec.js +3 -3
- package/spec/misc-statements/record-buffer-functions.spec.js +3 -3
- package/spec/misc-statements/release.spec.js +3 -4
- package/spec/misc-statements/skip-statement-and-fuction.spec.js +3 -4
- package/spec/numbers/scientific-notation.spec.js +212 -0
- package/spec/operators/operators.spec.js +10 -10
- package/spec/preprocesors/issue166.spec.js +27 -19
- package/spec/preprocesors/preprocessor-functions.spec.js +77 -0
- package/spec/preprocesors/proparse-preprocessor.spec.js +27 -3
- package/spec/procedure-definition/trigger-procedure.spec.js +8 -2
- package/spec/procedure-definition/vscode-abl-issue#22.spec.js +3 -3
- package/spec/procedure-definition/vscode-abl-issue#26.spec.js +4 -4
- package/spec/procedure-definition/vscode-abl-issue#325.spec.js +26 -2
- package/spec/procedure-definition/vscode-abl-issue#62.spec.js +7 -4
- package/spec/run-statement/run-statement.spec.js +25 -13
- package/spec/shared.js +12 -11
- package/spec/strings/translation-attribute.spec.js +4 -4
- package/spec/strings/vscode-abl-issue#11.spec.js +24 -24
- package/spec/strings/vscode-abl-issue#28.spec.js +9 -9
- package/spec/type-name/argument.spec.js +11 -12
- package/spec/type-name/cast.spec.js +7 -7
- package/spec/type-name/define-temp-table.spec.js +6 -6
- package/spec/type-name/new.spec.js +3 -3
- package/spec/type-name/parameter-as.spec.js +6 -6
- package/spec/type-name/type-name.spec.js +22 -20
|
@@ -7,30 +7,64 @@ describe('', () => {
|
|
|
7
7
|
// &Scoped-define DB-AWARE no`;
|
|
8
8
|
|
|
9
9
|
let expectedTokens = [
|
|
10
|
-
{ "startIndex": 0, "endIndex":
|
|
11
|
-
{ "startIndex":
|
|
12
|
-
{ "startIndex":
|
|
13
|
-
{ "startIndex":
|
|
14
|
-
{ "startIndex":
|
|
10
|
+
{ "startIndex": 0, "endIndex": 1, "scopes": ["source.abl", "meta.preprocessor.abl", "punctuation.definition.preprocessor.abl"] }, // '&'
|
|
11
|
+
{ "startIndex": 1, "endIndex": 14, "scopes": ["source.abl", "meta.preprocessor.abl", "keyword.control.directive.define.abl"] }, // 'Scoped-define'
|
|
12
|
+
{ "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.preprocessor.abl"] }, // ' '
|
|
13
|
+
{ "startIndex": 15, "endIndex": 29, "scopes": ["source.abl", "meta.preprocessor.abl", "entity.name.function.preprocessor.abl"] }, // 'PROCEDURE-TYPE'
|
|
14
|
+
{ "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.preprocessor.abl"] }, // ' '
|
|
15
|
+
{ "startIndex": 30, "endIndex": 39, "scopes": ["source.abl", "keyword.other.abl"] } // 'Procedure'
|
|
15
16
|
];
|
|
16
17
|
shared.itShouldMatchExpectedScopes(statement, expectedTokens);
|
|
17
18
|
})
|
|
19
|
+
|
|
18
20
|
describe('', () => {
|
|
19
21
|
let statement =
|
|
20
22
|
`&Scoped-define PROCEDURE-TYPE Procedure
|
|
21
23
|
&Scoped-define DB-AWARE no`;
|
|
22
24
|
|
|
23
25
|
let expectedTokens = [
|
|
24
|
-
[
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
26
|
+
[
|
|
27
|
+
{ "startIndex": 0, "endIndex": 1, "scopes": ["source.abl", "meta.preprocessor.abl", "punctuation.definition.preprocessor.abl"] }, // '&'
|
|
28
|
+
{ "startIndex": 1, "endIndex": 14, "scopes": ["source.abl", "meta.preprocessor.abl", "keyword.control.directive.define.abl"] }, // 'Scoped-define'
|
|
29
|
+
{ "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.preprocessor.abl"] }, // ' '
|
|
30
|
+
{ "startIndex": 15, "endIndex": 29, "scopes": ["source.abl", "meta.preprocessor.abl", "entity.name.function.preprocessor.abl"] }, // 'PROCEDURE-TYPE'
|
|
31
|
+
{ "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.preprocessor.abl"] }, // ' '
|
|
32
|
+
{ "startIndex": 30, "endIndex": 39, "scopes": ["source.abl", "keyword.other.abl"] } // 'Procedure'
|
|
33
|
+
],
|
|
34
|
+
[
|
|
35
|
+
{ "startIndex": 0, "endIndex": 1, "scopes": ["source.abl", "meta.preprocessor.abl", "punctuation.definition.preprocessor.abl"] }, // '&'
|
|
36
|
+
{ "startIndex": 1, "endIndex": 14, "scopes": ["source.abl", "meta.preprocessor.abl", "keyword.control.directive.define.abl"] }, // 'Scoped-define'
|
|
37
|
+
{ "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.preprocessor.abl"] }, // ' '
|
|
38
|
+
{ "startIndex": 15, "endIndex": 23, "scopes": ["source.abl", "meta.preprocessor.abl", "entity.name.function.preprocessor.abl"] }, // 'DB-AWARE'
|
|
39
|
+
{ "startIndex": 23, "endIndex": 24, "scopes": ["source.abl", "meta.preprocessor.abl"] }, // ' '
|
|
40
|
+
{ "startIndex": 24, "endIndex": 26, "scopes": ["source.abl", "constant.language.abl"] } // 'no'
|
|
41
|
+
]
|
|
42
|
+
];
|
|
43
|
+
shared.itShouldMatchExpectedScopes(statement, expectedTokens);
|
|
44
|
+
})
|
|
45
|
+
|
|
46
|
+
describe('', () => {
|
|
47
|
+
let statement = `&Scoped-define ~
|
|
48
|
+
PROCEDURE-TYPE ~
|
|
49
|
+
Procedure`;
|
|
50
|
+
// `&Scoped-define PROCEDURE-TYPE Procedure
|
|
51
|
+
// &Scoped-define DB-AWARE no`;
|
|
52
|
+
|
|
53
|
+
let expectedTokens = [
|
|
54
|
+
[
|
|
55
|
+
{ "startIndex": 0, "endIndex": 1, "scopes": ["source.abl", "meta.preprocessor.abl", "punctuation.definition.preprocessor.abl"] }, // '&'
|
|
56
|
+
{ "startIndex": 1, "endIndex": 14, "scopes": ["source.abl", "meta.preprocessor.abl", "keyword.control.directive.define.abl"] }, // 'Scoped-define'
|
|
57
|
+
{ "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.preprocessor.abl"] }, // ' '
|
|
58
|
+
{ "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.preprocessor.abl", "punctuation.separator.continuation"] } // '~'
|
|
59
|
+
],
|
|
60
|
+
[
|
|
61
|
+
{ "startIndex": 0, "endIndex": 14, "scopes": ["source.abl", "meta.preprocessor.abl", "entity.name.function.preprocessor.abl"] }, // 'PROCEDURE-TYPE'
|
|
62
|
+
{ "startIndex": 14, "endIndex": 16, "scopes": ["source.abl", "meta.preprocessor.abl"] }, // ' '
|
|
63
|
+
{ "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "punctuation.separator.continuation"] } // '~'
|
|
64
|
+
],
|
|
65
|
+
[
|
|
66
|
+
{ "startIndex": 0, "endIndex": 9, "scopes": ["source.abl", "keyword.other.abl"] } // 'Procedure'
|
|
67
|
+
]
|
|
34
68
|
];
|
|
35
69
|
shared.itShouldMatchExpectedScopes(statement, expectedTokens);
|
|
36
70
|
})
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
const { assert, expect } = require('chai');
|
|
2
|
+
const shared = require('../shared.js');
|
|
3
|
+
|
|
4
|
+
describe('', () => {
|
|
5
|
+
let statement = `&undefine PROCEDURE-TYPE`;
|
|
6
|
+
// `&Scoped-define PROCEDURE-TYPE Procedure
|
|
7
|
+
// &Scoped-define DB-AWARE no`;
|
|
8
|
+
|
|
9
|
+
let expectedTokens = [
|
|
10
|
+
{ "startIndex": 0, "endIndex": 1, "scopes": ["source.abl", "meta.preprocessor.abl", "punctuation.definition.preprocessor.abl"] }, // '&'
|
|
11
|
+
{ "startIndex": 1, "endIndex": 9, "scopes": ["source.abl", "meta.preprocessor.abl", "keyword.control.directive.define.abl"] }, // 'undefine'
|
|
12
|
+
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.preprocessor.abl"] }, // ' '
|
|
13
|
+
{ "startIndex": 10, "endIndex": 24, "scopes": ["source.abl", "meta.preprocessor.abl", "entity.name.function.preprocessor.abl"] } // 'PROCEDURE-TYPE'
|
|
14
|
+
];
|
|
15
|
+
shared.itShouldMatchExpectedScopes(statement, expectedTokens);
|
|
16
|
+
})
|
|
17
|
+
|
|
18
|
+
describe('', () => {
|
|
19
|
+
let statement = `&undefi PROCEDURE-TYPE`;
|
|
20
|
+
// `&Scoped-define PROCEDURE-TYPE Procedure
|
|
21
|
+
// &Scoped-define DB-AWARE no`;
|
|
22
|
+
|
|
23
|
+
let expectedTokens = [
|
|
24
|
+
{ "startIndex": 0, "endIndex": 1, "scopes": ["source.abl", "meta.preprocessor.abl", "punctuation.definition.preprocessor.abl"] }, // '&'
|
|
25
|
+
{ "startIndex": 1, "endIndex": 7, "scopes": ["source.abl", "meta.preprocessor.abl", "keyword.control.directive.define.abl"] }, // 'undefi'
|
|
26
|
+
{ "startIndex": 7, "endIndex": 8, "scopes": ["source.abl", "meta.preprocessor.abl"] }, // ' '
|
|
27
|
+
{ "startIndex": 8, "endIndex": 22, "scopes": ["source.abl", "meta.preprocessor.abl", "entity.name.function.preprocessor.abl"] } // 'PROCEDURE-TYPE'
|
|
28
|
+
];
|
|
29
|
+
shared.itShouldMatchExpectedScopes(statement, expectedTokens);
|
|
30
|
+
})
|
|
31
|
+
|
|
32
|
+
describe('', () => {
|
|
33
|
+
let statement = `&undef PROCEDURE-TYPE`;
|
|
34
|
+
// `&Scoped-define PROCEDURE-TYPE Procedure
|
|
35
|
+
// &Scoped-define DB-AWARE no`;
|
|
36
|
+
|
|
37
|
+
let expectedTokens = [
|
|
38
|
+
{ "startIndex": 0, "endIndex": 1, "scopes": ["source.abl", "meta.preprocessor.abl", "punctuation.definition.preprocessor.abl"] }, // '&'
|
|
39
|
+
{ "startIndex": 1, "endIndex": 6, "scopes": ["source.abl", "meta.preprocessor.abl", "keyword.control.directive.define.abl"] }, // 'undef'
|
|
40
|
+
{ "startIndex": 6, "endIndex": 7, "scopes": ["source.abl", "meta.preprocessor.abl"] }, // ' '
|
|
41
|
+
{ "startIndex": 7, "endIndex": 21, "scopes": ["source.abl", "meta.preprocessor.abl", "entity.name.function.preprocessor.abl"] } // 'PROCEDURE-TYPE'
|
|
42
|
+
];
|
|
43
|
+
shared.itShouldMatchExpectedScopes(statement, expectedTokens);
|
|
44
|
+
})
|
|
@@ -9,9 +9,9 @@ describe('', () => {
|
|
|
9
9
|
{ "startIndex": 0, "endIndex": 1, "scopes": ["source.abl", "meta.include.abl", "punctuation.section.abl"] }, // '{'
|
|
10
10
|
{ "startIndex": 1, "endIndex": 9, "scopes": ["source.abl", "meta.include.abl", "entity.name.include.abl"] }, // 'assigned'
|
|
11
11
|
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.include.abl"] }, // ' '
|
|
12
|
-
{ "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
13
|
-
{ "startIndex": 11, "endIndex": 18, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
14
|
-
{ "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
12
|
+
{ "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
13
|
+
{ "startIndex": 11, "endIndex": 18, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl"] }, // 'mExtVar'
|
|
14
|
+
{ "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
15
15
|
{ "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "meta.include.abl", "punctuation.section.abl"] }, // '}'
|
|
16
16
|
{ "startIndex": 20, "endIndex": 26, "scopes": ["source.abl", "meta.include.abl"] }, // ' '
|
|
17
17
|
{ "startIndex": 26, "endIndex": 28, "scopes": ["source.abl", "comment.block.source.abl"] }, // '/*'
|
|
@@ -53,7 +53,10 @@ describe('', () => {
|
|
|
53
53
|
{ "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.include.abl", "meta.include.argument.abl"] }, // ' '
|
|
54
54
|
{ "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.include.abl", "meta.include.argument.abl", "keyword.operator.source.abl"] }, // '='
|
|
55
55
|
{ "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.include.abl"] }, // ' '
|
|
56
|
-
{ "startIndex": 16, "endIndex":
|
|
56
|
+
{ "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "meta.include.abl", "meta.preprocessor.abl", "punctuation.section.abl"] }, // '{'
|
|
57
|
+
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.include.abl", "meta.preprocessor.abl", "punctuation.definition.preprocessor.abl"] }, // '&'
|
|
58
|
+
{ "startIndex": 18, "endIndex": 28, "scopes": ["source.abl", "meta.include.abl", "meta.preprocessor.abl", "entity.name.function.preprocessor.abl"] }, // 'FRAME-NAME'
|
|
59
|
+
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.include.abl", "meta.preprocessor.abl", "punctuation.section.abl"] } // '}'
|
|
57
60
|
],
|
|
58
61
|
[
|
|
59
62
|
{ "startIndex": 0, "endIndex": 2, "scopes": ["source.abl", "meta.include.abl"] }, // ' '
|
|
@@ -61,7 +64,10 @@ describe('', () => {
|
|
|
61
64
|
{ "startIndex": 10, "endIndex": 14, "scopes": ["source.abl", "meta.include.abl", "meta.include.argument.abl"] }, // ' '
|
|
62
65
|
{ "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.include.abl", "meta.include.argument.abl", "keyword.operator.source.abl"] }, // '='
|
|
63
66
|
{ "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.include.abl"] }, // ' '
|
|
64
|
-
{ "startIndex": 16, "endIndex":
|
|
67
|
+
{ "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "meta.include.abl", "meta.preprocessor.abl", "punctuation.section.abl"] }, // '{'
|
|
68
|
+
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.include.abl", "meta.preprocessor.abl", "punctuation.definition.preprocessor.abl"] }, // '&'
|
|
69
|
+
{ "startIndex": 18, "endIndex": 41, "scopes": ["source.abl", "meta.include.abl", "meta.preprocessor.abl", "entity.name.function.preprocessor.abl"] }, // 'Menu_Editor_Res_Dlg_Box'
|
|
70
|
+
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.include.abl", "meta.preprocessor.abl", "punctuation.section.abl"] }, // '}'
|
|
65
71
|
{ "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.include.abl", "punctuation.section.abl"] } // '}'
|
|
66
72
|
],
|
|
67
73
|
[
|
|
@@ -90,7 +96,10 @@ describe('', () => {
|
|
|
90
96
|
{ "startIndex": 13, "endIndex": 14, "scopes": ["source.abl", "meta.include.abl", "meta.include.argument.abl"] }, // ' '
|
|
91
97
|
{ "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.include.abl", "meta.include.argument.abl", "keyword.operator.source.abl"] }, // '='
|
|
92
98
|
{ "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.include.abl"] }, // ' '
|
|
93
|
-
{ "startIndex": 16, "endIndex":
|
|
99
|
+
{ "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "meta.include.abl", "meta.preprocessor.abl", "punctuation.section.abl"] }, // '{'
|
|
100
|
+
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.include.abl", "meta.preprocessor.abl", "punctuation.definition.preprocessor.abl"] }, // '&'
|
|
101
|
+
{ "startIndex": 18, "endIndex": 28, "scopes": ["source.abl", "meta.include.abl", "meta.preprocessor.abl", "entity.name.function.preprocessor.abl"] }, // 'FRAME-NAME'
|
|
102
|
+
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.include.abl", "meta.preprocessor.abl", "punctuation.section.abl"] } // '}'
|
|
94
103
|
],
|
|
95
104
|
[
|
|
96
105
|
{ "startIndex": 0, "endIndex": 2, "scopes": ["source.abl", "meta.include.abl"] }, // ' '
|
|
@@ -98,7 +107,10 @@ describe('', () => {
|
|
|
98
107
|
{ "startIndex": 10, "endIndex": 14, "scopes": ["source.abl", "meta.include.abl", "meta.include.argument.abl"] }, // ' '
|
|
99
108
|
{ "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.include.abl", "meta.include.argument.abl", "keyword.operator.source.abl"] }, // '='
|
|
100
109
|
{ "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.include.abl"] }, // ' '
|
|
101
|
-
{ "startIndex": 16, "endIndex":
|
|
110
|
+
{ "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "meta.include.abl", "meta.preprocessor.abl", "punctuation.section.abl"] }, // '{'
|
|
111
|
+
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.include.abl", "meta.preprocessor.abl", "punctuation.definition.preprocessor.abl"] }, // '&'
|
|
112
|
+
{ "startIndex": 18, "endIndex": 41, "scopes": ["source.abl", "meta.include.abl", "meta.preprocessor.abl", "entity.name.function.preprocessor.abl"] }, // 'Menu_Editor_Res_Dlg_Box'
|
|
113
|
+
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.include.abl", "meta.preprocessor.abl", "punctuation.section.abl"] }, // '}'
|
|
102
114
|
{ "startIndex": 42, "endIndex": 43, "scopes": ["source.abl", "meta.include.abl", "punctuation.section.abl"] } // '}'
|
|
103
115
|
],
|
|
104
116
|
[
|
|
@@ -26,14 +26,13 @@ describe('', () => {
|
|
|
26
26
|
{ "startIndex": 12, "endIndex": 13, "scopes": ["source.abl", "meta.include.abl"] }, // ' '
|
|
27
27
|
{ "startIndex": 13, "endIndex": 15, "scopes": ["source.abl", "meta.include.abl", "support.other.argument.abl"] }, // 'EQ'
|
|
28
28
|
{ "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.include.abl"] }, // ' '
|
|
29
|
-
{ "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
30
|
-
{ "startIndex": 17, "endIndex": 35, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
31
|
-
{ "startIndex": 35, "endIndex": 36, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
32
|
-
{ "startIndex": 36, "endIndex": 38, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
29
|
+
{ "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
30
|
+
{ "startIndex": 17, "endIndex": 35, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl"] }, // ''@ParameterSchema''
|
|
31
|
+
{ "startIndex": 35, "endIndex": 36, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
32
|
+
{ "startIndex": 36, "endIndex": 38, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl", "support.other.abl"] }, // ':U'
|
|
33
33
|
{ "startIndex": 38, "endIndex": 39, "scopes": ["source.abl", "meta.include.abl", "punctuation.section.abl"] } // '}'
|
|
34
34
|
]
|
|
35
35
|
];
|
|
36
36
|
|
|
37
37
|
shared.itShouldMatchExpectedScopes(statement, expectedTokens);
|
|
38
38
|
})
|
|
39
|
-
|
|
@@ -10,9 +10,9 @@ describe('', () => {
|
|
|
10
10
|
{ "startIndex": 1, "endIndex": 2, "scopes": ["source.abl", "meta.include.abl"] }, // ' '
|
|
11
11
|
{ "startIndex": 2, "endIndex": 8, "scopes": ["source.abl", "meta.include.abl", "entity.name.include.abl"] }, // 'test.i'
|
|
12
12
|
{ "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.include.abl"] }, // ' '
|
|
13
|
-
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
14
|
-
{ "startIndex": 10, "endIndex": 17, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
15
|
-
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
13
|
+
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
14
|
+
{ "startIndex": 10, "endIndex": 17, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl"] }, // '{&Test}'
|
|
15
|
+
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
16
16
|
{ "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "meta.include.abl"] }, // ' '
|
|
17
17
|
{ "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "meta.include.abl", "punctuation.section.abl"] } // '}'
|
|
18
18
|
];
|
|
@@ -11,9 +11,9 @@ describe('', () => {
|
|
|
11
11
|
{ "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.include.abl"] }, // ' '
|
|
12
12
|
{ "startIndex": 15, "endIndex": 21, "scopes": ["source.abl", "meta.include.abl", "meta.include.argument.abl", "support.other.argument.abl"] }, // '&where'
|
|
13
13
|
{ "startIndex": 21, "endIndex": 22, "scopes": ["source.abl", "meta.include.abl", "meta.include.argument.abl", "keyword.operator.source.abl"] }, // '='
|
|
14
|
-
{ "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
15
|
-
{ "startIndex": 23, "endIndex": 32, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
16
|
-
{ "startIndex": 32, "endIndex": 33, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
14
|
+
{ "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
15
|
+
{ "startIndex": 23, "endIndex": 32, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl"] }, // 'zetin.act'
|
|
16
|
+
{ "startIndex": 32, "endIndex": 33, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
17
17
|
{ "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "meta.include.abl", "punctuation.section.abl"] } // '}'
|
|
18
18
|
];
|
|
19
19
|
shared.itShouldMatchExpectedScopes(statement, expectedTokens);
|
|
@@ -34,9 +34,9 @@ describe('', () => {
|
|
|
34
34
|
{ "startIndex": 0, "endIndex": 4, "scopes": ["source.abl", "meta.include.abl"] }, // ' '
|
|
35
35
|
{ "startIndex": 4, "endIndex": 10, "scopes": ["source.abl", "meta.include.abl", "meta.include.argument.abl", "support.other.argument.abl"] }, // '&where'
|
|
36
36
|
{ "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "meta.include.abl", "meta.include.argument.abl", "keyword.operator.source.abl"] }, // '='
|
|
37
|
-
{ "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
38
|
-
{ "startIndex": 12, "endIndex": 21, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
39
|
-
{ "startIndex": 21, "endIndex": 22, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
37
|
+
{ "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
38
|
+
{ "startIndex": 12, "endIndex": 21, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl"] }, // 'zetin.act'
|
|
39
|
+
{ "startIndex": 21, "endIndex": 22, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] } // '"'
|
|
40
40
|
],
|
|
41
41
|
[
|
|
42
42
|
{ "startIndex": 0, "endIndex": 1, "scopes": ["source.abl", "meta.include.abl", "punctuation.section.abl"] } // '}'
|
|
@@ -58,12 +58,12 @@ describe('', () => {
|
|
|
58
58
|
{ "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.include.abl"] }, // ' '
|
|
59
59
|
{ "startIndex": 15, "endIndex": 21, "scopes": ["source.abl", "meta.include.abl", "meta.include.argument.abl", "support.other.argument.abl"] }, // '&where'
|
|
60
60
|
{ "startIndex": 21, "endIndex": 22, "scopes": ["source.abl", "meta.include.abl", "meta.include.argument.abl", "keyword.operator.source.abl"] }, // '='
|
|
61
|
-
{ "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
62
|
-
{ "startIndex": 23, "endIndex": 33, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
61
|
+
{ "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
62
|
+
{ "startIndex": 23, "endIndex": 33, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl"] } // 'zetin.act'
|
|
63
63
|
],
|
|
64
64
|
[
|
|
65
|
-
{ "startIndex": 0, "endIndex": 71, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
66
|
-
{ "startIndex": 71, "endIndex": 72, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
65
|
+
{ "startIndex": 0, "endIndex": 71, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl"] }, // ' AND CAN-FIND(FIRST ztihu WHERE ztihu.zetin_iden = zetin.zetin_iden)'
|
|
66
|
+
{ "startIndex": 71, "endIndex": 72, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
67
67
|
{ "startIndex": 72, "endIndex": 73, "scopes": ["source.abl", "meta.include.abl", "punctuation.section.abl"] } // '}'
|
|
68
68
|
],
|
|
69
69
|
[
|
|
@@ -82,9 +82,9 @@ describe('', () => {
|
|
|
82
82
|
{ "startIndex": 14, "endIndex": 15, "scopes": ["source.abl", "meta.include.abl"] }, // ' '
|
|
83
83
|
{ "startIndex": 15, "endIndex": 21, "scopes": ["source.abl", "meta.include.abl", "meta.include.argument.abl", "support.other.argument.abl"] }, // '&where'
|
|
84
84
|
{ "startIndex": 21, "endIndex": 22, "scopes": ["source.abl", "meta.include.abl", "meta.include.argument.abl", "keyword.operator.source.abl"] }, // '='
|
|
85
|
-
{ "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
86
|
-
{ "startIndex": 23, "endIndex": 32, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
87
|
-
{ "startIndex": 32, "endIndex": 33, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
85
|
+
{ "startIndex": 22, "endIndex": 23, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
86
|
+
{ "startIndex": 23, "endIndex": 32, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl"] }, // 'zetin.act'
|
|
87
|
+
{ "startIndex": 32, "endIndex": 33, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
88
88
|
{ "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "meta.include.abl"] }, // ' '
|
|
89
89
|
{ "startIndex": 34, "endIndex": 40, "scopes": ["source.abl", "meta.include.abl", "meta.include.argument.abl", "support.other.argument.abl"] }, // '&MyArg'
|
|
90
90
|
{ "startIndex": 40, "endIndex": 41, "scopes": ["source.abl", "meta.include.abl", "meta.include.argument.abl"] }, // ' '
|
|
@@ -110,9 +110,9 @@ describe('', () => {
|
|
|
110
110
|
{ "startIndex": 0, "endIndex": 2, "scopes": ["source.abl", "meta.include.abl"] }, // ' '
|
|
111
111
|
{ "startIndex": 2, "endIndex": 8, "scopes": ["source.abl", "meta.include.abl", "meta.include.argument.abl", "support.other.argument.abl"] }, // '&where'
|
|
112
112
|
{ "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.include.abl", "meta.include.argument.abl", "keyword.operator.source.abl"] }, // '='
|
|
113
|
-
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
114
|
-
{ "startIndex": 10, "endIndex": 19, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
115
|
-
{ "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
113
|
+
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
114
|
+
{ "startIndex": 10, "endIndex": 19, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl"] }, // 'zetin.act'
|
|
115
|
+
{ "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] } // '"'
|
|
116
116
|
],
|
|
117
117
|
[
|
|
118
118
|
{ "startIndex": 0, "endIndex": 2, "scopes": ["source.abl", "meta.include.abl"] }, // ' '
|
|
@@ -126,4 +126,3 @@ describe('', () => {
|
|
|
126
126
|
];
|
|
127
127
|
shared.itShouldMatchExpectedScopes(statement, expectedTokens);
|
|
128
128
|
})
|
|
129
|
-
|
|
@@ -7,7 +7,10 @@ describe('', () => {
|
|
|
7
7
|
{ "startIndex": 1, "endIndex": 2, "scopes": ["source.abl", "meta.include.abl"] }, // ' '
|
|
8
8
|
{ "startIndex": 2, "endIndex": 8, "scopes": ["source.abl", "meta.include.abl", "entity.name.include.abl"] }, // 'test.i'
|
|
9
9
|
{ "startIndex": 8, "endIndex": 9, "scopes": ["source.abl", "meta.include.abl"] }, // ' '
|
|
10
|
-
{ "startIndex": 9, "endIndex":
|
|
10
|
+
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.include.abl", "meta.preprocessor.abl", "punctuation.section.abl"] }, // '{'
|
|
11
|
+
{ "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "meta.include.abl", "meta.preprocessor.abl", "punctuation.definition.preprocessor.abl"] }, // '&'
|
|
12
|
+
{ "startIndex": 11, "endIndex": 15, "scopes": ["source.abl", "meta.include.abl", "meta.preprocessor.abl", "entity.name.function.preprocessor.abl"] }, // 'Test'
|
|
13
|
+
{ "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.include.abl", "meta.preprocessor.abl", "punctuation.section.abl"] }, // '}'
|
|
11
14
|
{ "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "meta.include.abl"] }, // ' '
|
|
12
15
|
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.include.abl", "punctuation.section.abl"] } // '}'
|
|
13
16
|
];
|
|
@@ -31,15 +34,15 @@ describe('', () => {
|
|
|
31
34
|
{ "startIndex": 24, "endIndex": 28, "scopes": ["source.abl", "meta.include.abl", "meta.include.argument.abl"] }, // ' '
|
|
32
35
|
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl", "meta.include.abl", "meta.include.argument.abl", "keyword.operator.source.abl"] }, // '='
|
|
33
36
|
{ "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.include.abl"] }, // ' '
|
|
34
|
-
{ "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "meta.include.abl", "string.single.
|
|
35
|
-
{ "startIndex": 31, "endIndex": 37, "scopes": ["source.abl", "meta.include.abl", "string.single.
|
|
36
|
-
{ "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "meta.include.abl", "string.single.
|
|
37
|
+
{ "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "meta.include.abl", "string.quoted.single.abl", "punctuation.definition.string.begin.abl"] }, // '''
|
|
38
|
+
{ "startIndex": 31, "endIndex": 37, "scopes": ["source.abl", "meta.include.abl", "string.quoted.single.abl"] }, // 'D E F'
|
|
39
|
+
{ "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "meta.include.abl", "string.quoted.single.abl", "punctuation.definition.string.end.abl"] }, // '''
|
|
37
40
|
{ "startIndex": 38, "endIndex": 39, "scopes": ["source.abl", "meta.include.abl"] }, // ' '
|
|
38
41
|
{ "startIndex": 39, "endIndex": 43, "scopes": ["source.abl", "meta.include.abl", "meta.include.argument.abl", "support.other.argument.abl"] }, // '&hij'
|
|
39
42
|
{ "startIndex": 43, "endIndex": 44, "scopes": ["source.abl", "meta.include.abl", "meta.include.argument.abl", "keyword.operator.source.abl"] }, // '='
|
|
40
|
-
{ "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
41
|
-
{ "startIndex": 45, "endIndex": 54, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
42
|
-
{ "startIndex": 54, "endIndex": 55, "scopes": ["source.abl", "meta.include.abl", "string.double.
|
|
43
|
+
{ "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
44
|
+
{ "startIndex": 45, "endIndex": 54, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl"] }, // 'H I J'
|
|
45
|
+
{ "startIndex": 54, "endIndex": 55, "scopes": ["source.abl", "meta.include.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
43
46
|
{ "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.include.abl"] }, // ' '
|
|
44
47
|
{ "startIndex": 56, "endIndex": 57, "scopes": ["source.abl", "meta.include.abl", "punctuation.section.abl"] } // '}'
|
|
45
48
|
];
|
|
@@ -130,9 +130,9 @@ describe('', () => {
|
|
|
130
130
|
{ "startIndex": 5, "endIndex": 6, "scopes": ["source.abl"] }, // ' '
|
|
131
131
|
{ "startIndex": 6, "endIndex": 10, "scopes": ["source.abl", "keyword.other.abl"] }, // 'from'
|
|
132
132
|
{ "startIndex": 10, "endIndex": 11, "scopes": ["source.abl"] }, // ' '
|
|
133
|
-
{ "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "string.double.
|
|
134
|
-
{ "startIndex": 12, "endIndex": 19, "scopes": ["source.abl", "string.double.
|
|
135
|
-
{ "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "string.double.
|
|
133
|
+
{ "startIndex": 11, "endIndex": 12, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
134
|
+
{ "startIndex": 12, "endIndex": 19, "scopes": ["source.abl", "string.quoted.double.abl"] }, // 'c:/blah'
|
|
135
|
+
{ "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
136
136
|
{ "startIndex": 20, "endIndex": 21, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
137
137
|
];
|
|
138
138
|
shared.itShouldMatchExpectedScopes(statement, expectedTokens);
|
|
@@ -180,9 +180,9 @@ describe('', () => {
|
|
|
180
180
|
{ "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "meta.function-call.abl"] }, // ' '
|
|
181
181
|
{ "startIndex": 11, "endIndex": 16, "scopes": ["source.abl", "meta.function-call.abl", "support.function.abl"] }, // 'value'
|
|
182
182
|
{ "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
183
|
-
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
184
|
-
{ "startIndex": 18, "endIndex": 30, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
185
|
-
{ "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
183
|
+
{ "startIndex": 17, "endIndex": 18, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
184
|
+
{ "startIndex": 18, "endIndex": 30, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'path/to/file'
|
|
185
|
+
{ "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
186
186
|
{ "startIndex": 31, "endIndex": 32, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // ')'
|
|
187
187
|
{ "startIndex": 32, "endIndex": 33, "scopes": ["source.abl"] }, // ' '
|
|
188
188
|
{ "startIndex": 33, "endIndex": 34, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
@@ -289,9 +289,9 @@ describe('', () => {
|
|
|
289
289
|
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
290
290
|
{ "startIndex": 42, "endIndex": 44, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "constant.numeric.source.abl"] }, // '-1'
|
|
291
291
|
{ "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
292
|
-
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
293
|
-
{ "startIndex": 46, "endIndex": 55, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
294
|
-
{ "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
292
|
+
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
293
|
+
{ "startIndex": 46, "endIndex": 55, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'character'
|
|
294
|
+
{ "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
295
295
|
{ "startIndex": 56, "endIndex": 57, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // ')'
|
|
296
296
|
{ "startIndex": 57, "endIndex": 58, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] } // ')'
|
|
297
297
|
],
|
|
@@ -351,9 +351,9 @@ describe('', () => {
|
|
|
351
351
|
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
352
352
|
{ "startIndex": 42, "endIndex": 44, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "constant.numeric.source.abl"] }, // '-1'
|
|
353
353
|
{ "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
354
|
-
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
355
|
-
{ "startIndex": 46, "endIndex": 55, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
356
|
-
{ "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
354
|
+
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
355
|
+
{ "startIndex": 46, "endIndex": 55, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'character'
|
|
356
|
+
{ "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
357
357
|
{ "startIndex": 56, "endIndex": 57, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // ')'
|
|
358
358
|
{ "startIndex": 57, "endIndex": 58, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] } // ')'
|
|
359
359
|
],
|
|
@@ -426,9 +426,9 @@ describe('', () => {
|
|
|
426
426
|
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
427
427
|
{ "startIndex": 42, "endIndex": 44, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "constant.numeric.source.abl"] }, // '-1'
|
|
428
428
|
{ "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
429
|
-
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
430
|
-
{ "startIndex": 46, "endIndex": 55, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
431
|
-
{ "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
429
|
+
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
430
|
+
{ "startIndex": 46, "endIndex": 55, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'character'
|
|
431
|
+
{ "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
432
432
|
{ "startIndex": 56, "endIndex": 57, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // ')'
|
|
433
433
|
{ "startIndex": 57, "endIndex": 58, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] } // ')'
|
|
434
434
|
],
|
|
@@ -493,7 +493,10 @@ describe('', () => {
|
|
|
493
493
|
{ "startIndex": 28, "endIndex": 29, "scopes": ["source.abl"] }, // ' '
|
|
494
494
|
{ "startIndex": 29, "endIndex": 36, "scopes": ["source.abl", "keyword.other.abl"] }, // 'NO-ECHO'
|
|
495
495
|
{ "startIndex": 36, "endIndex": 37, "scopes": ["source.abl"] }, // ' '
|
|
496
|
-
{ "startIndex": 37, "endIndex":
|
|
496
|
+
{ "startIndex": 37, "endIndex": 38, "scopes": ["source.abl", "meta.preprocessor.abl", "punctuation.section.abl"] }, // '{'
|
|
497
|
+
{ "startIndex": 38, "endIndex": 39, "scopes": ["source.abl", "meta.preprocessor.abl", "punctuation.definition.preprocessor.abl"] }, // '&'
|
|
498
|
+
{ "startIndex": 39, "endIndex": 45, "scopes": ["source.abl", "meta.preprocessor.abl", "entity.name.function.preprocessor.abl"] }, // 'NO-MAP'
|
|
499
|
+
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.preprocessor.abl", "punctuation.section.abl"] }, // '}'
|
|
497
500
|
{ "startIndex": 46, "endIndex": 47, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
498
501
|
];
|
|
499
502
|
|
|
@@ -130,9 +130,9 @@ describe('', () => {
|
|
|
130
130
|
{ "startIndex": 6, "endIndex": 7, "scopes": ["source.abl"] }, // ' '
|
|
131
131
|
{ "startIndex": 7, "endIndex": 9, "scopes": ["source.abl", "keyword.other.abl"] }, // 'to'
|
|
132
132
|
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl"] }, // ' '
|
|
133
|
-
{ "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "string.double.
|
|
134
|
-
{ "startIndex": 11, "endIndex": 18, "scopes": ["source.abl", "string.double.
|
|
135
|
-
{ "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "string.double.
|
|
133
|
+
{ "startIndex": 10, "endIndex": 11, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
134
|
+
{ "startIndex": 11, "endIndex": 18, "scopes": ["source.abl", "string.quoted.double.abl"] }, // 'c:/blah'
|
|
135
|
+
{ "startIndex": 18, "endIndex": 19, "scopes": ["source.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
136
136
|
{ "startIndex": 19, "endIndex": 20, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
137
137
|
];
|
|
138
138
|
shared.itShouldMatchExpectedScopes(statement, expectedTokens);
|
|
@@ -180,9 +180,9 @@ describe('', () => {
|
|
|
180
180
|
{ "startIndex": 9, "endIndex": 10, "scopes": ["source.abl", "meta.function-call.abl"] }, // ' '
|
|
181
181
|
{ "startIndex": 10, "endIndex": 15, "scopes": ["source.abl", "meta.function-call.abl", "support.function.abl"] }, // 'value'
|
|
182
182
|
{ "startIndex": 15, "endIndex": 16, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.brace.round.js"] }, // '('
|
|
183
|
-
{ "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
184
|
-
{ "startIndex": 17, "endIndex": 29, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
185
|
-
{ "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
183
|
+
{ "startIndex": 16, "endIndex": 17, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
184
|
+
{ "startIndex": 17, "endIndex": 29, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'path/to/file'
|
|
185
|
+
{ "startIndex": 29, "endIndex": 30, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
186
186
|
{ "startIndex": 30, "endIndex": 31, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // ')'
|
|
187
187
|
{ "startIndex": 31, "endIndex": 32, "scopes": ["source.abl"] }, // ' '
|
|
188
188
|
{ "startIndex": 32, "endIndex": 33, "scopes": ["source.abl", "punctuation.terminator.abl"] } // '.'
|
|
@@ -289,9 +289,9 @@ describe('', () => {
|
|
|
289
289
|
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
290
290
|
{ "startIndex": 42, "endIndex": 44, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "constant.numeric.source.abl"] }, // '-1'
|
|
291
291
|
{ "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
292
|
-
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
293
|
-
{ "startIndex": 46, "endIndex": 55, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
294
|
-
{ "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
292
|
+
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
293
|
+
{ "startIndex": 46, "endIndex": 55, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'character'
|
|
294
|
+
{ "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
295
295
|
{ "startIndex": 56, "endIndex": 57, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // ')'
|
|
296
296
|
{ "startIndex": 57, "endIndex": 58, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] } // ')'
|
|
297
297
|
],
|
|
@@ -351,9 +351,9 @@ describe('', () => {
|
|
|
351
351
|
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
352
352
|
{ "startIndex": 42, "endIndex": 44, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "constant.numeric.source.abl"] }, // '-1'
|
|
353
353
|
{ "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
354
|
-
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
355
|
-
{ "startIndex": 46, "endIndex": 55, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
356
|
-
{ "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
354
|
+
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
355
|
+
{ "startIndex": 46, "endIndex": 55, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'character'
|
|
356
|
+
{ "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
357
357
|
{ "startIndex": 56, "endIndex": 57, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // ')'
|
|
358
358
|
{ "startIndex": 57, "endIndex": 58, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] } // ')'
|
|
359
359
|
],
|
|
@@ -426,9 +426,9 @@ describe('', () => {
|
|
|
426
426
|
{ "startIndex": 41, "endIndex": 42, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
427
427
|
{ "startIndex": 42, "endIndex": 44, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "constant.numeric.source.abl"] }, // '-1'
|
|
428
428
|
{ "startIndex": 44, "endIndex": 45, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "punctuation.separator.comma.abl"] }, // ','
|
|
429
|
-
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
430
|
-
{ "startIndex": 46, "endIndex": 55, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
431
|
-
{ "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.double.
|
|
429
|
+
{ "startIndex": 45, "endIndex": 46, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.begin.abl"] }, // '"'
|
|
430
|
+
{ "startIndex": 46, "endIndex": 55, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl"] }, // 'character'
|
|
431
|
+
{ "startIndex": 55, "endIndex": 56, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.function.arguments.abl", "string.quoted.double.abl", "punctuation.definition.string.end.abl"] }, // '"'
|
|
432
432
|
{ "startIndex": 56, "endIndex": 57, "scopes": ["source.abl", "meta.function-call.abl", "meta.function.arguments.abl", "meta.function-call.abl", "meta.brace.round.js"] }, // ')'
|
|
433
433
|
{ "startIndex": 57, "endIndex": 58, "scopes": ["source.abl", "meta.function-call.abl", "meta.brace.round.js"] } // ')'
|
|
434
434
|
],
|