@sava-info-systems/api-maker-with-extensions 1.19.5 → 1.19.7
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/dist/3081.dd32ee0f5db41577.js +1 -0
- package/dist/5249.73e35de880a7af92.js +1 -0
- package/dist/5765.2b385a8405d8e7b2.js +1 -0
- package/dist/913.e60cadd27b99097f.js +1 -0
- package/dist/assets/monaco-assets/grammars/javascript.tmLanguage.json +3574 -5913
- package/dist/assets/monaco-assets/grammars/magicpython.tmLanguage.json +3437 -4212
- package/dist/assets/monaco-assets/grammars/rust.tmLanguage.json +89 -72
- package/dist/assets/monaco-assets/grammars/typescript.tmLanguage.json +3302 -5664
- package/dist/assets/monaco-assets/grammars/xml.tmLanguage.json +1 -1
- package/dist/assets/monaco-assets/onig.wasm +0 -0
- package/dist/assets/primeng-theme/primeng-theme-overrides.scss +1 -1
- package/dist/assets/schema-types/types.ts +21 -2
- package/dist/assets/styles/out/styles.css +1 -1
- package/dist/assets/styles/styles.scss +2 -1
- package/dist/index.html +14 -6
- package/dist/main.45d0e6ca86c448ba.js +1 -0
- package/dist/runtime.662c613ba3c97743.js +1 -0
- package/dist/{styles.1764f1e35ed631e4.css → styles.242217e145c3f7ab.css} +1 -1
- package/main.js +1 -1
- package/package.json +4 -4
- package/sandbox/sandbox.js +1 -1
- package/src/assets/schema-types/types.ts +21 -2
- package/src/public/dist-db-masters/browser/index.html +1 -1
- package/src/public/dist-db-masters/browser/main-ANQDJFEO.js +139 -0
- package/src/tools/local-client.js +1 -1
- package/dist/3081.e470a8aeed4a7745.js +0 -1
- package/dist/5249.52aa732ef6a173c5.js +0 -1
- package/dist/5765.e70cd773673bfe27.js +0 -1
- package/dist/913.7d41933171ab9fbe.js +0 -1
- package/dist/assets/styles/out/bootstrap-overrides.css.map +0 -1
- package/dist/assets/styles/out/colors-dark.css.map +0 -1
- package/dist/assets/styles/out/colors-light.css.map +0 -1
- package/dist/assets/styles/out/monaco-editor-overrides.css.map +0 -1
- package/dist/assets/styles/out/styles.css.map +0 -1
- package/dist/assets/styles/out/variables.css.map +0 -1
- package/dist/main.9630ecd9c9613e82.js +0 -1
- package/dist/runtime.21919a870e05d69b.js +0 -1
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"This file has been converted from https://github.com/dustypomerleau/rust-syntax/blob/master/syntaxes/rust.tmLanguage.json",
|
|
4
|
-
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
5
|
-
"Once accepted there, we are happy to receive an update request."
|
|
6
|
-
],
|
|
7
|
-
"version": "https://github.com/dustypomerleau/rust-syntax/commit/20462d50ff97338f42c6b64c3f421c634fd60734",
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
|
|
8
3
|
"name": "Rust",
|
|
4
|
+
"fileTypes": [
|
|
5
|
+
"rs"
|
|
6
|
+
],
|
|
9
7
|
"scopeName": "source.rust",
|
|
10
8
|
"patterns": [
|
|
11
9
|
{
|
|
@@ -52,7 +50,7 @@
|
|
|
52
50
|
{
|
|
53
51
|
"comment": "macro type metavariables",
|
|
54
52
|
"name": "meta.macro.metavariable.type.rust",
|
|
55
|
-
"match": "(\\$)((crate)|([A-Z]
|
|
53
|
+
"match": "(\\$)((crate)|([A-Z]\\w*))(\\s*(:)\\s*(block|expr(?:_2021)?|ident|item|lifetime|literal|meta|pat(?:_param)?|path|stmt|tt|ty|vis)\\b)?",
|
|
56
54
|
"captures": {
|
|
57
55
|
"1": {
|
|
58
56
|
"name": "keyword.operator.macro.dollar.rust"
|
|
@@ -79,7 +77,7 @@
|
|
|
79
77
|
{
|
|
80
78
|
"comment": "macro metavariables",
|
|
81
79
|
"name": "meta.macro.metavariable.rust",
|
|
82
|
-
"match": "(\\$)([a-z]
|
|
80
|
+
"match": "(\\$)([a-z]\\w*)(\\s*(:)\\s*(block|expr(?:_2021)?|ident|item|lifetime|literal|meta|pat(?:_param)?|path|stmt|tt|ty|vis)\\b)?",
|
|
83
81
|
"captures": {
|
|
84
82
|
"1": {
|
|
85
83
|
"name": "keyword.operator.macro.dollar.rust"
|
|
@@ -119,54 +117,6 @@
|
|
|
119
117
|
}
|
|
120
118
|
}
|
|
121
119
|
},
|
|
122
|
-
{
|
|
123
|
-
"comment": "attributes",
|
|
124
|
-
"name": "meta.attribute.rust",
|
|
125
|
-
"begin": "(#)(\\!?)(\\[)",
|
|
126
|
-
"beginCaptures": {
|
|
127
|
-
"1": {
|
|
128
|
-
"name": "punctuation.definition.attribute.rust"
|
|
129
|
-
},
|
|
130
|
-
"2": {
|
|
131
|
-
"name": "keyword.operator.attribute.inner.rust"
|
|
132
|
-
},
|
|
133
|
-
"3": {
|
|
134
|
-
"name": "punctuation.brackets.attribute.rust"
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
"end": "\\]",
|
|
138
|
-
"endCaptures": {
|
|
139
|
-
"0": {
|
|
140
|
-
"name": "punctuation.brackets.attribute.rust"
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
"patterns": [
|
|
144
|
-
{
|
|
145
|
-
"include": "#block-comments"
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
"include": "#comments"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"include": "#keywords"
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
"include": "#lifetimes"
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"include": "#punctuation"
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
"include": "#strings"
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"include": "#gtypes"
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
"include": "#types"
|
|
167
|
-
}
|
|
168
|
-
]
|
|
169
|
-
},
|
|
170
120
|
{
|
|
171
121
|
"comment": "modules",
|
|
172
122
|
"match": "(mod)\\s+((?:r#(?!crate|[Ss]elf|super))?[a-z][A-Za-z0-9_]*)",
|
|
@@ -257,6 +207,9 @@
|
|
|
257
207
|
{
|
|
258
208
|
"include": "#comments"
|
|
259
209
|
},
|
|
210
|
+
{
|
|
211
|
+
"include": "#attributes"
|
|
212
|
+
},
|
|
260
213
|
{
|
|
261
214
|
"include": "#lvariables"
|
|
262
215
|
},
|
|
@@ -300,12 +253,22 @@
|
|
|
300
253
|
{
|
|
301
254
|
"comment": "documentation comments",
|
|
302
255
|
"name": "comment.line.documentation.rust",
|
|
303
|
-
"match": "
|
|
256
|
+
"match": "(///).*$",
|
|
257
|
+
"captures": {
|
|
258
|
+
"1": {
|
|
259
|
+
"name": "punctuation.definition.comment.rust"
|
|
260
|
+
}
|
|
261
|
+
}
|
|
304
262
|
},
|
|
305
263
|
{
|
|
306
264
|
"comment": "line comments",
|
|
307
265
|
"name": "comment.line.double-slash.rust",
|
|
308
|
-
"match": "
|
|
266
|
+
"match": "(//).*$",
|
|
267
|
+
"captures": {
|
|
268
|
+
"1": {
|
|
269
|
+
"name": "punctuation.definition.comment.rust"
|
|
270
|
+
}
|
|
271
|
+
}
|
|
309
272
|
}
|
|
310
273
|
]
|
|
311
274
|
},
|
|
@@ -362,7 +325,7 @@
|
|
|
362
325
|
{
|
|
363
326
|
"comment": "decimal integers and floats",
|
|
364
327
|
"name": "constant.numeric.decimal.rust",
|
|
365
|
-
"match": "\\b\\d[\\d_]*(\\.?)[\\d_]*(?:(E)([+-])([\\d_]+))?(f32|f64|i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\b",
|
|
328
|
+
"match": "\\b\\d[\\d_]*(\\.?)[\\d_]*(?:(E|e)([+-]?)([\\d_]+))?(f32|f64|i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\b",
|
|
366
329
|
"captures": {
|
|
367
330
|
"1": {
|
|
368
331
|
"name": "punctuation.separator.dot.decimal.rust"
|
|
@@ -421,7 +384,7 @@
|
|
|
421
384
|
"escapes": {
|
|
422
385
|
"comment": "escapes: ASCII, byte, Unicode, quote, regex",
|
|
423
386
|
"name": "constant.character.escape.rust",
|
|
424
|
-
"match": "(\\\\)(?:(?:(x[0-7][
|
|
387
|
+
"match": "(\\\\)(?:(?:(x[0-7][\\da-fA-F])|(u(\\{)[\\da-fA-F]{4,6}(\\}))|.))",
|
|
425
388
|
"captures": {
|
|
426
389
|
"1": {
|
|
427
390
|
"name": "constant.character.escape.backslash.rust"
|
|
@@ -440,6 +403,51 @@
|
|
|
440
403
|
}
|
|
441
404
|
}
|
|
442
405
|
},
|
|
406
|
+
"attributes": {
|
|
407
|
+
"comment": "attributes",
|
|
408
|
+
"name": "meta.attribute.rust",
|
|
409
|
+
"begin": "(#)(\\!?)(\\[)",
|
|
410
|
+
"beginCaptures": {
|
|
411
|
+
"1": {
|
|
412
|
+
"name": "punctuation.definition.attribute.rust"
|
|
413
|
+
},
|
|
414
|
+
"3": {
|
|
415
|
+
"name": "punctuation.brackets.attribute.rust"
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
"end": "\\]",
|
|
419
|
+
"endCaptures": {
|
|
420
|
+
"0": {
|
|
421
|
+
"name": "punctuation.brackets.attribute.rust"
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
"patterns": [
|
|
425
|
+
{
|
|
426
|
+
"include": "#block-comments"
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"include": "#comments"
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"include": "#keywords"
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"include": "#lifetimes"
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"include": "#punctuation"
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"include": "#strings"
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"include": "#gtypes"
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"include": "#types"
|
|
448
|
+
}
|
|
449
|
+
]
|
|
450
|
+
},
|
|
443
451
|
"functions": {
|
|
444
452
|
"patterns": [
|
|
445
453
|
{
|
|
@@ -472,10 +480,13 @@
|
|
|
472
480
|
"name": "punctuation.brackets.angle.rust"
|
|
473
481
|
}
|
|
474
482
|
},
|
|
475
|
-
"end": "\\{
|
|
483
|
+
"end": "(\\{)|(;)",
|
|
476
484
|
"endCaptures": {
|
|
477
|
-
"
|
|
485
|
+
"1": {
|
|
478
486
|
"name": "punctuation.brackets.curly.rust"
|
|
487
|
+
},
|
|
488
|
+
"2": {
|
|
489
|
+
"name": "punctuation.semi.rust"
|
|
479
490
|
}
|
|
480
491
|
},
|
|
481
492
|
"patterns": [
|
|
@@ -548,6 +559,9 @@
|
|
|
548
559
|
{
|
|
549
560
|
"include": "#comments"
|
|
550
561
|
},
|
|
562
|
+
{
|
|
563
|
+
"include": "#attributes"
|
|
564
|
+
},
|
|
551
565
|
{
|
|
552
566
|
"include": "#keywords"
|
|
553
567
|
},
|
|
@@ -608,6 +622,9 @@
|
|
|
608
622
|
{
|
|
609
623
|
"include": "#comments"
|
|
610
624
|
},
|
|
625
|
+
{
|
|
626
|
+
"include": "#attributes"
|
|
627
|
+
},
|
|
611
628
|
{
|
|
612
629
|
"include": "#keywords"
|
|
613
630
|
},
|
|
@@ -693,7 +710,7 @@
|
|
|
693
710
|
{
|
|
694
711
|
"comment": "other keywords",
|
|
695
712
|
"name": "keyword.other.rust",
|
|
696
|
-
"match": "\\b(as|async|become|box|dyn|move|final|impl|in|override|priv|pub|ref|typeof|union|unsafe|unsized|use|virtual|where)\\b"
|
|
713
|
+
"match": "\\b(as|async|become|box|dyn|move|final|gen|impl|in|override|priv|pub|ref|typeof|union|unsafe|unsized|use|virtual|where)\\b"
|
|
697
714
|
},
|
|
698
715
|
{
|
|
699
716
|
"comment": "fn",
|
|
@@ -804,7 +821,7 @@
|
|
|
804
821
|
{
|
|
805
822
|
"comment": "dashrocket, skinny arrow",
|
|
806
823
|
"name": "keyword.operator.arrow.skinny.rust",
|
|
807
|
-
"match": "
|
|
824
|
+
"match": "->|<-"
|
|
808
825
|
},
|
|
809
826
|
{
|
|
810
827
|
"comment": "hashrocket, fat arrow",
|
|
@@ -888,7 +905,7 @@
|
|
|
888
905
|
"patterns": [
|
|
889
906
|
{
|
|
890
907
|
"comment": "namespace (non-type, non-function path segment)",
|
|
891
|
-
"match": "(?<![A-Za-z0-9_])([
|
|
908
|
+
"match": "(?<![A-Za-z0-9_])([A-Za-z0-9_]+)((?<!super|self)::)",
|
|
892
909
|
"captures": {
|
|
893
910
|
"1": {
|
|
894
911
|
"name": "entity.name.namespace.rust"
|
|
@@ -913,7 +930,7 @@
|
|
|
913
930
|
},
|
|
914
931
|
{
|
|
915
932
|
"comment": "parameterized types",
|
|
916
|
-
"begin": "\\b([A-Z][A-Za-z0-
|
|
933
|
+
"begin": "\\b(_?[A-Z][A-Za-z0-9_]*)(<)",
|
|
917
934
|
"beginCaptures": {
|
|
918
935
|
"1": {
|
|
919
936
|
"name": "entity.name.type.rust"
|
|
@@ -962,7 +979,7 @@
|
|
|
962
979
|
},
|
|
963
980
|
{
|
|
964
981
|
"comment": "trait declarations",
|
|
965
|
-
"match": "\\b(trait)\\s+([A-Z][A-Za-z0-
|
|
982
|
+
"match": "\\b(trait)\\s+(_?[A-Z][A-Za-z0-9_]*)\\b",
|
|
966
983
|
"captures": {
|
|
967
984
|
"1": {
|
|
968
985
|
"name": "keyword.declaration.trait.rust storage.type.rust"
|
|
@@ -974,7 +991,7 @@
|
|
|
974
991
|
},
|
|
975
992
|
{
|
|
976
993
|
"comment": "struct declarations",
|
|
977
|
-
"match": "\\b(struct)\\s+([A-Z][A-Za-z0-
|
|
994
|
+
"match": "\\b(struct)\\s+(_?[A-Z][A-Za-z0-9_]*)\\b",
|
|
978
995
|
"captures": {
|
|
979
996
|
"1": {
|
|
980
997
|
"name": "keyword.declaration.struct.rust storage.type.rust"
|
|
@@ -986,7 +1003,7 @@
|
|
|
986
1003
|
},
|
|
987
1004
|
{
|
|
988
1005
|
"comment": "enum declarations",
|
|
989
|
-
"match": "\\b(enum)\\s+([A-Z][A-Za-z0-9_]*)\\b",
|
|
1006
|
+
"match": "\\b(enum)\\s+(_?[A-Z][A-Za-z0-9_]*)\\b",
|
|
990
1007
|
"captures": {
|
|
991
1008
|
"1": {
|
|
992
1009
|
"name": "keyword.declaration.enum.rust storage.type.rust"
|
|
@@ -998,7 +1015,7 @@
|
|
|
998
1015
|
},
|
|
999
1016
|
{
|
|
1000
1017
|
"comment": "type declarations",
|
|
1001
|
-
"match": "\\b(type)\\s+([A-Z][A-Za-z0-9_]*)\\b",
|
|
1018
|
+
"match": "\\b(type)\\s+(_?[A-Z][A-Za-z0-9_]*)\\b",
|
|
1002
1019
|
"captures": {
|
|
1003
1020
|
"1": {
|
|
1004
1021
|
"name": "keyword.declaration.type.rust storage.type.rust"
|
|
@@ -1011,7 +1028,7 @@
|
|
|
1011
1028
|
{
|
|
1012
1029
|
"comment": "types",
|
|
1013
1030
|
"name": "entity.name.type.rust",
|
|
1014
|
-
"match": "\\
|
|
1031
|
+
"match": "\\b_?[A-Z][A-Za-z0-9_]*\\b(?!!)"
|
|
1015
1032
|
}
|
|
1016
1033
|
]
|
|
1017
1034
|
},
|
|
@@ -1167,4 +1184,4 @@
|
|
|
1167
1184
|
]
|
|
1168
1185
|
}
|
|
1169
1186
|
}
|
|
1170
|
-
}
|
|
1187
|
+
}
|