tm-grammars 1.29.0 → 1.29.1
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 +1 -1
- package/grammars/actionscript-3.json +131 -34
- package/index.js +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ import { grammars } from 'tm-grammars'
|
|
|
21
21
|
| Name | Alias | Source | License | Sponsor | Deps On | File Size |
|
|
22
22
|
| ---- | ----- | ------ | ------- | ------- | ------- | --------- |
|
|
23
23
|
| `abap` | | [pvl/abap.tmbundle](https://github.com/pvl/abap.tmbundle/blob/92e17e62a9449d2a6f87bfb30b4f920986c24018/Syntaxes/ABAP.tmLanguage) | | | | 15.12 kB |
|
|
24
|
-
| `actionscript-3` | | [BowlerHatLLC/vscode-as3mxml](https://github.com/BowlerHatLLC/vscode-as3mxml/blob/
|
|
24
|
+
| `actionscript-3` | | [BowlerHatLLC/vscode-as3mxml](https://github.com/BowlerHatLLC/vscode-as3mxml/blob/42f895fa03d4a71f590e2631b5e215cade7da1db/distribution/src/assembly/syntaxes/AS3.tmLanguage) | [Apache-2.0](https://raw.githubusercontent.com/BowlerHatLLC/vscode-as3mxml/main/LICENSE) | [Patreon: **josht**](https://patreon.com/josht) | | 14.44 kB |
|
|
25
25
|
| `ada` | | [AdaCore/ada_language_server](https://github.com/AdaCore/ada_language_server/blob/9329f709cf1aef897bfca679c54e0c3d17f2205f/integration/vscode/ada/advanced/ada.tmLanguage.json) | [GPL-3.0](https://raw.githubusercontent.com/AdaCore/ada_language_server/master/LICENSE) | | | 45.39 kB |
|
|
26
26
|
| `angular-html` | | [onivim/vscode-exthost](https://github.com/onivim/vscode-exthost/blob/cfc2a2212de9ea10943af58ebd1817a5ad196463/extensions/html/syntaxes/html-derivative.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/onivim/vscode-exthost/master/LICENSE.txt) | | `html` `angular-expression` `angular-let-declaration` `angular-template` `angular-template-blocks` | 701.00 B |
|
|
27
27
|
| `angular-ts` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/210541906e5a96ab39f9c753f921b1bd35f4138b/extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | `angular-expression` `angular-inline-style` `angular-inline-template` `angular-let-declaration` `angular-template` `angular-template-blocks` | 160.04 kB |
|
|
@@ -118,6 +118,9 @@
|
|
|
118
118
|
{
|
|
119
119
|
"include": "#class_declaration"
|
|
120
120
|
},
|
|
121
|
+
{
|
|
122
|
+
"include": "#declaration_code_block"
|
|
123
|
+
},
|
|
121
124
|
{
|
|
122
125
|
"include": "#metadata"
|
|
123
126
|
},
|
|
@@ -183,6 +186,9 @@
|
|
|
183
186
|
},
|
|
184
187
|
{
|
|
185
188
|
"include": "#object_literal"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"include": "#conditional_compilation"
|
|
186
192
|
}
|
|
187
193
|
]
|
|
188
194
|
},
|
|
@@ -210,13 +216,56 @@
|
|
|
210
216
|
}
|
|
211
217
|
]
|
|
212
218
|
},
|
|
213
|
-
"
|
|
219
|
+
"comments": {
|
|
220
|
+
"patterns": [
|
|
221
|
+
{
|
|
222
|
+
"begin": "/\\*\\*(?!/)",
|
|
223
|
+
"end": "\\*/",
|
|
224
|
+
"name": "comment.block.documentation.actionscript.3",
|
|
225
|
+
"patterns": [
|
|
226
|
+
{
|
|
227
|
+
"match": "@(copy|default|eventType|example|exampleText|includeExample|inheritDoc|internal|param|private|return|see|since|throws)\\b",
|
|
228
|
+
"name": "keyword.other.documentation.actionscript.3.asdoc"
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"begin": "/\\*",
|
|
234
|
+
"end": "\\*/",
|
|
235
|
+
"name": "comment.block.actionscript.3"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"match": "//.*",
|
|
239
|
+
"name": "comment.line.actionscript.3"
|
|
240
|
+
}
|
|
241
|
+
]
|
|
242
|
+
},
|
|
243
|
+
"conditional_compilation": {
|
|
244
|
+
"captures": {
|
|
245
|
+
"2": {
|
|
246
|
+
"name": "constant.other.actionscript.3"
|
|
247
|
+
},
|
|
248
|
+
"3": {
|
|
249
|
+
"name": "constant.other.actionscript.3"
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
"match": "(^|\\s+|;)\\b(\\w+)\\b::\\b(\\w+)\\b",
|
|
253
|
+
"name": "meta.conditional.actionscript.3"
|
|
254
|
+
},
|
|
255
|
+
"control_keywords": {
|
|
256
|
+
"match": "\\b(if|else|do|while|for|each|continue|return|switch|case|default|break|try|catch|finally|throw|with)\\b",
|
|
257
|
+
"name": "keyword.control.actionscript.3"
|
|
258
|
+
},
|
|
259
|
+
"declaration_code_block": {
|
|
214
260
|
"begin": "\\{",
|
|
215
261
|
"end": "}",
|
|
216
262
|
"name": "meta.code_block.actionscript.3",
|
|
217
263
|
"patterns": [
|
|
218
264
|
{
|
|
219
|
-
"include": "#
|
|
265
|
+
"include": "#method"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"include": "#variable_declaration"
|
|
220
269
|
},
|
|
221
270
|
{
|
|
222
271
|
"include": "#comments"
|
|
@@ -227,9 +276,6 @@
|
|
|
227
276
|
{
|
|
228
277
|
"include": "#regexp"
|
|
229
278
|
},
|
|
230
|
-
{
|
|
231
|
-
"include": "#variable_declaration"
|
|
232
|
-
},
|
|
233
279
|
{
|
|
234
280
|
"include": "#numbers"
|
|
235
281
|
},
|
|
@@ -289,34 +335,6 @@
|
|
|
289
335
|
}
|
|
290
336
|
]
|
|
291
337
|
},
|
|
292
|
-
"comments": {
|
|
293
|
-
"patterns": [
|
|
294
|
-
{
|
|
295
|
-
"begin": "/\\*\\*(?!/)",
|
|
296
|
-
"end": "\\*/",
|
|
297
|
-
"name": "comment.block.documentation.actionscript.3",
|
|
298
|
-
"patterns": [
|
|
299
|
-
{
|
|
300
|
-
"match": "@(copy|default|eventType|example|exampleText|includeExample|inheritDoc|internal|param|private|return|see|since|throws)\\b",
|
|
301
|
-
"name": "keyword.other.documentation.actionscript.3.asdoc"
|
|
302
|
-
}
|
|
303
|
-
]
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
"begin": "/\\*",
|
|
307
|
-
"end": "\\*/",
|
|
308
|
-
"name": "comment.block.actionscript.3"
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"match": "//.*",
|
|
312
|
-
"name": "comment.line.actionscript.3"
|
|
313
|
-
}
|
|
314
|
-
]
|
|
315
|
-
},
|
|
316
|
-
"control_keywords": {
|
|
317
|
-
"match": "\\b(if|else|do|while|for|each|continue|return|switch|case|default|break|try|catch|finally|throw|with)\\b",
|
|
318
|
-
"name": "keyword.control.actionscript.3"
|
|
319
|
-
},
|
|
320
338
|
"dynamic_type": {
|
|
321
339
|
"captures": {
|
|
322
340
|
"1": {
|
|
@@ -480,6 +498,85 @@
|
|
|
480
498
|
"match": "\\b(super|this|arguments)\\b",
|
|
481
499
|
"name": "variable.language.actionscript.3"
|
|
482
500
|
},
|
|
501
|
+
"local_code_block": {
|
|
502
|
+
"begin": "\\{",
|
|
503
|
+
"end": "}",
|
|
504
|
+
"name": "meta.code_block.actionscript.3",
|
|
505
|
+
"patterns": [
|
|
506
|
+
{
|
|
507
|
+
"include": "#local_code_block"
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"include": "#comments"
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"include": "#strings"
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"include": "#regexp"
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"include": "#variable_declaration"
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"include": "#numbers"
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"include": "#primitive_types"
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"include": "#primitive_error_types"
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"include": "#dynamic_type"
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"include": "#primitive_functions"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"include": "#language_constants"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"include": "#language_variables"
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"include": "#guess_type"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"include": "#guess_constant"
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"include": "#other_operators"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"include": "#arithmetic_operators"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"include": "#logical_operators"
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"include": "#array_access_operators"
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"include": "#vector_creation_operators"
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"include": "#control_keywords"
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"include": "#other_keywords"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
"include": "#use_namespace"
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"include": "#functions"
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"include": "#import"
|
|
577
|
+
}
|
|
578
|
+
]
|
|
579
|
+
},
|
|
483
580
|
"logical_operators": {
|
|
484
581
|
"match": "([!\\&<>?^|~])",
|
|
485
582
|
"name": "keyword.operator.actionscript.3"
|
|
@@ -542,7 +639,7 @@
|
|
|
542
639
|
"include": "#functions"
|
|
543
640
|
},
|
|
544
641
|
{
|
|
545
|
-
"include": "#
|
|
642
|
+
"include": "#local_code_block"
|
|
546
643
|
}
|
|
547
644
|
]
|
|
548
645
|
},
|
package/index.js
CHANGED
|
@@ -18,7 +18,7 @@ export const grammars = [
|
|
|
18
18
|
sourceApi: 'https://api.github.com/repos/pvl/abap.tmbundle/contents/Syntaxes/ABAP.tmLanguage?ref=92e17e62a9449d2a6f87bfb30b4f920986c24018',
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
|
-
byteSize:
|
|
21
|
+
byteSize: 14783,
|
|
22
22
|
categories: [
|
|
23
23
|
'scripting',
|
|
24
24
|
],
|
|
@@ -30,15 +30,15 @@ export const grammars = [
|
|
|
30
30
|
url: 'https://patreon.com/josht',
|
|
31
31
|
},
|
|
32
32
|
],
|
|
33
|
-
hash: '
|
|
34
|
-
lastUpdate: '
|
|
33
|
+
hash: 'IeDz98fkc7y0oB7SMGMrFScNLvo4Kv0sYVlRh_nakYw',
|
|
34
|
+
lastUpdate: '2026-01-22T22:54:22Z',
|
|
35
35
|
license: 'Apache-2.0',
|
|
36
36
|
licenseUrl: 'https://raw.githubusercontent.com/BowlerHatLLC/vscode-as3mxml/main/LICENSE',
|
|
37
37
|
name: 'actionscript-3',
|
|
38
38
|
scopeName: 'source.actionscript.3',
|
|
39
|
-
sha: '
|
|
40
|
-
source: 'https://github.com/BowlerHatLLC/vscode-as3mxml/blob/
|
|
41
|
-
sourceApi: 'https://api.github.com/repos/BowlerHatLLC/vscode-as3mxml/contents/distribution/src/assembly/syntaxes/AS3.tmLanguage?ref=
|
|
39
|
+
sha: '42f895fa03d4a71f590e2631b5e215cade7da1db',
|
|
40
|
+
source: 'https://github.com/BowlerHatLLC/vscode-as3mxml/blob/42f895fa03d4a71f590e2631b5e215cade7da1db/distribution/src/assembly/syntaxes/AS3.tmLanguage',
|
|
41
|
+
sourceApi: 'https://api.github.com/repos/BowlerHatLLC/vscode-as3mxml/contents/distribution/src/assembly/syntaxes/AS3.tmLanguage?ref=42f895fa03d4a71f590e2631b5e215cade7da1db',
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
byteSize: 46477,
|