abl-tmlanguage 1.3.8 → 1.3.9

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 CHANGED
@@ -1,3 +1,7 @@
1
+ 1.3.9
2
+ =====
3
+ - ...
4
+
1
5
  1.2.0
2
6
  =====
3
7
  - Added support for classes
package/README.md CHANGED
@@ -64,7 +64,7 @@ When `npm run build` is executed, a file called grammer.json is created, which c
64
64
 
65
65
  # Scopes
66
66
 
67
- The ABL-specific scopes produced by the ABL grammer listed in the table below. The scope names are largely based on the naming conventions at https://macromates.com/manual/en/language_grammars#language_rules .
67
+ The ABL-specific scopes produced by the ABL grammer listed in the table below. The scope names are largely based on the naming conventions at https://macromates.com/manual/en/language_grammars#language_rules and https://www.sublimetext.com/docs/scope_naming.html .
68
68
 
69
69
  | Scope Name | Used for/by |
70
70
  | ------------- | ------------- |
@@ -78,7 +78,8 @@ The ABL-specific scopes produced by the ABL grammer listed in the table below. T
78
78
  |entity.name.function.abl | Method call, property call, method name, property name, handle attributes, handle methods, event names |
79
79
  |entity.name.function.preprocessor.abl | `&scoped-define`, `&global-define` |
80
80
  |entity.name.include.abl | Include file names |
81
- |entity.name.package.abl | Package names for `USING` |
81
+ |entity.name.label.abl | Block label names |
82
+ |entity.name.package.abl | Package names for `using` |
82
83
  |entity.name.procedure.abl | Internal and external procedure names |
83
84
  |entity.name.tag.abl | Annotation names |
84
85
  |entity.name.type.abl | Class/interface/enum names |
@@ -86,6 +87,8 @@ The ABL-specific scopes produced by the ABL grammer listed in the table below. T
86
87
  |entity.other.attribute-name.abl | Annotation attribute names |
87
88
  |keyword.operator.source.abl | `contains`, `begins`, `matches`, `eq`, `le`, `lt`, `ge`, `gt`, `ne`, `<=`, `<>`, `>=`, `=`, `+`, `-`, `/`, `<`, `>`, `*`, `+=`, `-=`, `/=`, `*=` |
88
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.generic.begin.abl | `<` used for generic type arguments |
91
+ |punctuation.definition.generic.end.abl | `>` used for generic type arguments |
89
92
  |punctuation.definition.string.begin.abl | Start of a quoted string |
90
93
  |punctuation.definition.string.end.abl | End of a quoted string |
91
94
  |punctuation.section.abl | `{` and `}` |
@@ -99,12 +102,40 @@ The ABL-specific scopes produced by the ABL grammer listed in the table below. T
99
102
  |storage.type.function.abl | ABL preprocessors, `defined` keyword |
100
103
  |string.double.complex.abl | String in `"` quotes |
101
104
  |string.single.complex.abl | String in `'` quotes |
102
- |support.function.abl | `opsys`, `proversion`, ABL functions (eg `BASE64-ENCODE`) |
105
+ |support.function.abl | `opsys`, `proversion`, ABL functions (eg `base64-encode`) |
103
106
  |support.other.abl | Translation attributes `:L`, `:R`, `:T`, `:C`, `:U` |
104
107
  |support.other.argument.abl | `&<name\|number>` arguments in includes, preprocessor values |
105
108
  |variable.language.abl | ABL system handles (eg `session` or `this-object`) |
106
109
  |variable.other.abl | Variable names |
107
110
  |variable.parameter.abl | Parameter names in method, function, procedure definition |
108
111
 
112
+ There are also a number of 'meta' scopes that usually cover multiple other scopes.
113
+ | Scope Name | Used for/by |
114
+ | ------------- | ------------- |
115
+ |meta.array.literal.abl | Literal values in an array |
116
+ |meta.block.abl | A block statement like `do`, `repeat` and ` finally |
117
+ |meta.brace.round.js | `(` and `)` |
118
+ |meta.brace.square.abl | `[` and `]` |
119
+ |meta.declaration.annotation.abl | An annotation from the `@` to the `.` |
120
+ |meta.define.abl | An entire `define` statement |
121
+ |meta.define.class.abl | A class definition, from the `class` keyword to its closing `:` |
122
+ |meta.define.enum.abl | An enum definition, from the `enum` keyword to its closing `:` |
123
+ |meta.define.function.abl | A user-defined function definition, from the `function` keyword to its closing `:` |
124
+ |meta.define.interface.abl | An interface definition, from the `interface` keyword to its closing `:` |
125
+ |meta.define.method.abl | A method, constructor or destructor definition, from the `method`keyword to the ending `:` or `.` Includes parameter definions, if any. |
126
+ |meta.define.parameter.abl | An individual parameter definition |
127
+ |meta.define.stream.abl | A stream definition |
128
+ |meta.define-type.implements.abl | The type names that a type implements and/or inherits |
129
+ |meta.function.arguments.abl | Captures what's between ( and ) when calling a function, excluding the braces |
130
+ |meta.function-call.abl | The name of an ABL function, including `get-class`, `type-of` and `cast` |
131
+ |meta.function.parameters | Parameter definitions |
132
+ |meta.generic.abl | Generic type names |
133
+ |meta.include.abl | Include file references, from `{` to `}` |
134
+ |meta.include.argument.abl | Include argument references like `&arg` and `&arg=` |
135
+ |meta.preprocessor.define.abl | Preprocessor definitions for `&global-define` and `&scoped-define` |
136
+ |meta.procedure.abl | An internal procedure definition, from the `procedure` keyword to its closing `:` or `.` |
137
+ |meta.statements.abl | All ABL statmements |
138
+ |meta.using.abl | A `using` definition |
139
+
109
140
  # License
110
- MIT
141
+ MIT