abl-tmlanguage 1.3.9 → 1.3.10
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 +3 -3
- package/README.md +44 -41
- package/abl.tmLanguage.json +639 -311
- package/index.js +109 -71
- package/package.json +6 -6
- package/spec/array-extent/issue#5.spec.js +9 -9
- package/spec/comments/spacious-comment.spec.js +73 -0
- package/spec/create-widgets/create-window.spec.js +221 -0
- package/spec/db-table-and-field/create-alias.spec.js +101 -0
- package/spec/db-table-and-field/create-record.spec.js +43 -0
- package/spec/db-table-and-field/find-record.spec.js +91 -0
- package/spec/define/define-browse.spec.js +40 -40
- package/spec/define/define-query.spec.js +14 -13
- package/spec/define-variable/extent.spec.js +6 -6
- package/spec/define-variable/var-statement.spec.js +375 -0
- package/spec/include/include-file-name.spec.js +224 -0
- package/spec/include/vscode-abl-issue#77.spec.js +2 -2
- package/spec/input-output/input-from.spec.js +501 -0
- package/spec/input-output/output-to.spec.js +456 -0
- package/spec/method-attribute-property-call/get-set-method-name.spec.js +50 -5
- package/spec/method-definition/method.spec.js +184 -0
- package/spec/misc-statements/array-for.spec.js +2 -2
- package/spec/misc-statements/if-then.spec.js +118 -1
- package/spec/preprocesors/proparse-preprocessor.spec.js +3 -3
- package/spec/procedure-definition/vscode-abl-issue#26.spec.js +6 -6
- package/spec/type-name/parameter-as.spec.js +9 -9
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -68,46 +68,50 @@ The ABL-specific scopes produced by the ABL grammer listed in the table below. T
|
|
|
68
68
|
|
|
69
69
|
| Scope Name | Used for/by |
|
|
70
70
|
| ------------- | ------------- |
|
|
71
|
-
|comment.block.source.abl
|
|
72
|
-
|comment.line.double-slash.abl
|
|
73
|
-
|comment.preprocessor.analyze-suspend.abl
|
|
74
|
-
|constant.character.escape.abl
|
|
75
|
-
|constant.language.abl
|
|
76
|
-
|constant.language.source.abl
|
|
77
|
-
|constant.numeric.source.abl
|
|
78
|
-
|entity.name.function.abl
|
|
79
|
-
|entity.name.function.preprocessor.abl
|
|
80
|
-
|entity.name.include.abl
|
|
81
|
-
|entity.name.label.abl
|
|
82
|
-
|entity.name.package.abl
|
|
83
|
-
|entity.name.procedure.abl
|
|
84
|
-
|entity.name.tag.abl
|
|
85
|
-
|entity.name.type.abl
|
|
86
|
-
|entity.name.type.generic.abl
|
|
87
|
-
|entity.other.attribute-name.abl
|
|
88
|
-
|keyword.operator.source.abl
|
|
89
|
-
|keyword.other.abl
|
|
90
|
-
|punctuation.definition.
|
|
91
|
-
|punctuation.definition.
|
|
92
|
-
|punctuation.definition.
|
|
93
|
-
|punctuation.definition.
|
|
94
|
-
|punctuation.
|
|
95
|
-
|punctuation.
|
|
96
|
-
|punctuation.
|
|
97
|
-
|punctuation.separator.
|
|
98
|
-
|punctuation.
|
|
99
|
-
|
|
|
100
|
-
|
|
|
101
|
-
|storage.
|
|
102
|
-
|storage.
|
|
103
|
-
|
|
|
104
|
-
|
|
|
105
|
-
|
|
|
106
|
-
|
|
|
107
|
-
|
|
|
108
|
-
|
|
|
109
|
-
|
|
|
110
|
-
|
|
|
71
|
+
|comment.block.source.abl | Everything between `/*` and `*/` |
|
|
72
|
+
|comment.line.double-slash.abl | Everything in a `//` comment, incl slashes |
|
|
73
|
+
|comment.preprocessor.analyze-suspend.abl | `&analyze-suspend`, `&analyze-resume` |
|
|
74
|
+
|constant.character.escape.abl | `~` and the next char |
|
|
75
|
+
|constant.language.abl | `today`, `now`, `true`, `false`, `yes`, `no`, `?` (unknown value) |
|
|
76
|
+
|constant.language.source.abl | `99/99/9999` (or similar) when used as a format clause |
|
|
77
|
+
|constant.numeric.source.abl | 0x00-0xFF, 0-9 |
|
|
78
|
+
|entity.name.function.abl | Method call, property call, method name, property name, handle attributes, handle methods, event names |
|
|
79
|
+
|entity.name.function.preprocessor.abl | `&scoped-define`, `&global-define` |
|
|
80
|
+
|entity.name.include.abl | Include file names |
|
|
81
|
+
|entity.name.label.abl | Block label names |
|
|
82
|
+
|entity.name.package.abl | Package names for `using` |
|
|
83
|
+
|entity.name.procedure.abl | Internal and external procedure names |
|
|
84
|
+
|entity.name.tag.abl | Annotation names |
|
|
85
|
+
|entity.name.type.abl | Class/interface/enum names |
|
|
86
|
+
|entity.name.type.generic.abl | Generic type names |
|
|
87
|
+
|entity.other.attribute-name.abl | Annotation attribute names |
|
|
88
|
+
|keyword.operator.source.abl | `contains`, `begins`, `matches`, `eq`, `le`, `lt`, `ge`, `gt`, `ne`, `<=`, `<>`, `>=`, `=`, `+`, `-`, `/`, `<`, `>`, `*`, `+=`, `-=`, `/=`, `*=` |
|
|
89
|
+
|keyword.other.abl | Any ABL keyword (incl those covered by other scopes like `support.function.abl` and `entity.name.function.abl`) |
|
|
90
|
+
|punctuation.definition.bracket.square.begin.abl | `[` used for array arguments |
|
|
91
|
+
|punctuation.definition.bracket.square.end.abl | `]` used for array arguments |
|
|
92
|
+
|punctuation.definition.generic.begin.abl | `<` used for generic type arguments |
|
|
93
|
+
|punctuation.definition.generic.end.abl | `>` used for generic type arguments |
|
|
94
|
+
|punctuation.definition.string.begin.abl | Start of a quoted string |
|
|
95
|
+
|punctuation.definition.string.end.abl | End of a quoted string |
|
|
96
|
+
|punctuation.section.abl | `{` and `}` |
|
|
97
|
+
|punctuation.separator.comma.abl | `,` |
|
|
98
|
+
|punctuation.separator.period.abl | `.` |
|
|
99
|
+
|punctuation.separator.colon.abl | `:` |
|
|
100
|
+
|punctuation.terminator.abl | `.` and `:` |
|
|
101
|
+
|storage.data.database.abl | Statically-defined database names, e.g.in the `create alias` statement |
|
|
102
|
+
|storage.data.dataset.abl | Statically-defined dataset names, data-relation names |
|
|
103
|
+
|storage.data.table.abl | (Temp-)Table names, field names, index names |
|
|
104
|
+
|storage.other.opsys-device.abl | Files and other operating system devices |
|
|
105
|
+
|storage.type.abl | Primitive datatypes |
|
|
106
|
+
|storage.type.function.abl | ABL preprocessors, `defined` keyword |
|
|
107
|
+
|string.double.complex.abl | String in `"` quotes |
|
|
108
|
+
|string.single.complex.abl | String in `'` quotes |
|
|
109
|
+
|support.function.abl | `opsys`, `proversion`, ABL functions (eg `base64-encode`) |
|
|
110
|
+
|support.other.abl | Translation attributes `:L`, `:R`, `:T`, `:C`, `:U` |
|
|
111
|
+
|support.other.argument.abl | `&<name\|number>` arguments in includes, preprocessor values |
|
|
112
|
+
|variable.language.abl | ABL system handles (eg `session` or `this-object`) |
|
|
113
|
+
|variable.other.abl | Variable names |
|
|
114
|
+
|variable.parameter.abl | Parameter names in method, function, procedure definition |
|
|
111
115
|
|
|
112
116
|
There are also a number of 'meta' scopes that usually cover multiple other scopes.
|
|
113
117
|
| Scope Name | Used for/by |
|
|
@@ -115,7 +119,6 @@ There are also a number of 'meta' scopes that usually cover multiple other scope
|
|
|
115
119
|
|meta.array.literal.abl | Literal values in an array |
|
|
116
120
|
|meta.block.abl | A block statement like `do`, `repeat` and ` finally |
|
|
117
121
|
|meta.brace.round.js | `(` and `)` |
|
|
118
|
-
|meta.brace.square.abl | `[` and `]` |
|
|
119
122
|
|meta.declaration.annotation.abl | An annotation from the `@` to the `.` |
|
|
120
123
|
|meta.define.abl | An entire `define` statement |
|
|
121
124
|
|meta.define.class.abl | A class definition, from the `class` keyword to its closing `:` |
|