abl-tmlanguage 1.3.1 → 1.3.3

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/README.md CHANGED
@@ -56,8 +56,11 @@ Note: I plan on using the YAML syntax (even more compact and readable) but it ne
56
56
  This project uses the [vscode-textmate](https://www.npmjs.com/package/vscode-textmate) package to tokenize and test the grammar.
57
57
 
58
58
  ## Keywords
59
- Part of this grammar is generated from a keyword list file.
60
- See [index.js].
59
+ Part of this grammar is generated from a keyword list file. See [index.js] for information on how to generate that file, as well as the others required for the generation.
60
+
61
+ When `npm run build` is executed, a file called grammer.json is created, which contains properties for `keywords` (all the keywords), `abl-functions` and `handle-attributes` (attributes and method calls on ABL handles). The contents of this file should be copied into the `abl.tmLanguage.json` file, replacing the existing contents.
62
+
63
+
61
64
 
62
65
  # Scopes
63
66
 
@@ -72,15 +75,17 @@ The ABL-specific scopes produced by the ABL grammer listed in the table below. T
72
75
  |constant.language.abl | `today`, `now`, `true`, `false`, `yes`, `no`, `?` (unknown value) |
73
76
  |constant.language.source.abl | `99/99/9999` (or similar) when used as a format clause |
74
77
  |constant.numeric.source.abl | 0x00-0xFF, 0-9 |
75
- |entity.name.function.abl | Method call, property call, procedure name, method name, property name, handle attributes, handle methods, event names |
78
+ |entity.name.function.abl | Method call, property call, method name, property name, handle attributes, handle methods, event names |
76
79
  |entity.name.function.preprocessor.abl | `&scoped-define`, `&global-define` |
80
+ |entity.name.include.abl | Include file names |
77
81
  |entity.name.package.abl | Package names for `USING` |
82
+ |entity.name.procedure.abl | Internal and external procedure names |
78
83
  |entity.name.tag.abl | Annotation names |
79
84
  |entity.name.type.abl | Class/interface/enum names |
80
85
  |entity.name.type.generic.abl | Generic type names |
81
86
  |entity.other.attribute-name.abl | Annotation attribute names |
82
- |keyword.operator.source.abl | `contains`, `begins`, `matches`, `eq`, `le`, `lt`, `ge`, `gt`, `ne`, `<=`, `<>`, `>=`, `=`, `+`, `-`, `/`, `<`, `>`, `*` |
83
- |keyword.other.abl | Any ABL keyword (incl those covered by other scopes) |
87
+ |keyword.operator.source.abl | `contains`, `begins`, `matches`, `eq`, `le`, `lt`, `ge`, `gt`, `ne`, `<=`, `<>`, `>=`, `=`, `+`, `-`, `/`, `<`, `>`, `*`, `+=`, `-=`, `/=`, `*=` |
88
+ |keyword.other.abl | Any ABL keyword (incl those covered by other scopes like support.function.abl and entity.name.function.abl) |
84
89
  |punctuation.definition.string.begin.abl | Start of a quoted string |
85
90
  |punctuation.definition.string.end.abl | End of a quoted string |
86
91
  |punctuation.section.abl | `{` and `}` |
@@ -88,14 +93,14 @@ The ABL-specific scopes produced by the ABL grammer listed in the table below. T
88
93
  |punctuation.separator.period.abl | `.` |
89
94
  |punctuation.separator.colon.abl | `:` |
90
95
  |punctuation.terminator.abl | `.` and `:` |
91
- |storage.data.dataset.abl | Statically-defined dataset names |
96
+ |storage.data.dataset.abl | Statically-defined dataset names, data-relation names |
92
97
  |storage.data.table.abl | (Temp-)Table names, field names, index names |
93
98
  |storage.type.abl | Primitive datatypes |
94
99
  |storage.type.function.abl | ABL preprocessors, `defined` keyword |
95
100
  |string.double.complex.abl | String in `"` quotes |
96
101
  |string.single.complex.abl | String in `'` quotes |
97
102
  |support.function.abl | `opsys`, `proversion`, ABL functions (eg `BASE64-ENCODE`) |
98
- |support.other.abl | `:L`, `:R`, `:T`, `:C`, `:U` |
103
+ |support.other.abl | Translation attributes `:L`, `:R`, `:T`, `:C`, `:U` |
99
104
  |support.other.argument.abl | `&<name\|number>` arguments in includes, preprocessor values |
100
105
  |variable.language.abl | ABL system handles (eg `session` or `this-object`) |
101
106
  |variable.other.abl | Variable names |