act-plus 1.1.22 → 1.1.24
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/act-plus.js +6 -5
- package/act-plus.umd.cjs +94 -1722
- package/lib/{configBtns-c4e55eb0.js → configBtns-15591aad.js} +51 -50
- package/lib/{configFileds-b79642bc.js → configFileds-a045430e.js} +5 -4
- package/lib/{configTable-21f37060.js → configTable-0285d3f8.js} +32 -31
- package/lib/{dialogAddField-535d4a6c.js → dialogAddField-f474439d.js} +5 -4
- package/lib/{dialogConfigBtn-f4b70a91.js → dialogConfigBtn-c97ccee8.js} +5 -4
- package/lib/{dialogSiteComponentsParams-a99a4d71.js → dialogSiteComponentsParams-e2c5b8dd.js} +1 -1
- package/lib/{index-cb908890.js → index-36c9cd81.js} +15 -14
- package/lib/{index-f2795fa7.js → index-3e20553c.js} +11 -10
- package/lib/{index-79e6c123.js → index-7de949f6.js} +4 -3
- package/lib/{index-742c1da3.js → index-85deefc8.js} +5 -4
- package/lib/index-d0c3be37.js +68438 -0
- package/lib/{index-14906725.js → index-f58e1535.js} +31 -30
- package/package.json +1 -1
- package/style.css +1 -1
- package/assets/css.worker-1af1972f.js +0 -84
- package/assets/editor.worker-df55e1ff.js +0 -8
- package/assets/html.worker-38c267f1.js +0 -456
- package/assets/json.worker-bf861c27.js +0 -39
- package/assets/ts.worker-e151483b.js +0 -33972
- package/lib/abap-1354785f.js +0 -1314
- package/lib/apex-279d4f27.js +0 -315
- package/lib/azcli-ba812c55.js +0 -74
- package/lib/bat-4d77495d.js +0 -95
- package/lib/bicep-7b240724.js +0 -108
- package/lib/cameligo-5d2daeb8.js +0 -168
- package/lib/clojure-b7ea12a3.js +0 -754
- package/lib/coffee-1a8cfbf4.js +0 -228
- package/lib/cpp-642b10c4.js +0 -387
- package/lib/csharp-d987ddad.js +0 -320
- package/lib/csp-96407af0.js +0 -57
- package/lib/css-5dd354ac.js +0 -186
- package/lib/cssMode-049c1acb.js +0 -1448
- package/lib/cypher-11e5a4b6.js +0 -262
- package/lib/dart-5d209f63.js +0 -270
- package/lib/dockerfile-8739cff7.js +0 -132
- package/lib/ecl-a20c5155.js +0 -454
- package/lib/elixir-8b028584.js +0 -467
- package/lib/flow9-0dea2e73.js +0 -141
- package/lib/freemarker2-c93dec09.js +0 -646
- package/lib/fsharp-49a70fad.js +0 -210
- package/lib/go-46e3b371.js +0 -208
- package/lib/graphql-51a577e5.js +0 -141
- package/lib/handlebars-8a7428d8.js +0 -394
- package/lib/hcl-56b85754.js +0 -177
- package/lib/html-2fad443c.js +0 -284
- package/lib/htmlMode-3c13e1c6.js +0 -1458
- package/lib/index-a2634eef.js +0 -162522
- package/lib/ini-1d58d82f.js +0 -68
- package/lib/java-cd017f60.js +0 -221
- package/lib/javascript-2ec13b45.js +0 -78
- package/lib/jsonMode-33ed8d99.js +0 -1869
- package/lib/julia-a0caf483.js +0 -496
- package/lib/kotlin-c6e52a56.js +0 -245
- package/lib/less-718543b4.js +0 -168
- package/lib/lexon-5e6e7a44.js +0 -151
- package/lib/liquid-40ee460a.js +0 -241
- package/lib/lua-f159160b.js +0 -157
- package/lib/m3-aadaf771.js +0 -210
- package/lib/markdown-9b448c46.js +0 -202
- package/lib/mips-161e49ce.js +0 -194
- package/lib/msdax-f65cb1e6.js +0 -377
- package/lib/mysql-24549dd1.js +0 -875
- package/lib/objective-c-e129a5ca.js +0 -188
- package/lib/pascal-4ccdf5ce.js +0 -245
- package/lib/pascaligo-a9603dcd.js +0 -158
- package/lib/perl-ba1fb97a.js +0 -599
- package/lib/pgsql-89978310.js +0 -843
- package/lib/php-987b9d87.js +0 -471
- package/lib/pla-96c2695d.js +0 -131
- package/lib/postiats-7b52ebac.js +0 -544
- package/lib/powerquery-8954ec26.js +0 -890
- package/lib/powershell-f00d0274.js +0 -233
- package/lib/protobuf-3eb85f80.js +0 -422
- package/lib/pug-6fab415a.js +0 -393
- package/lib/python-852dc2c1.js +0 -262
- package/lib/qsharp-4792f872.js +0 -282
- package/lib/r-630f5d6b.js +0 -245
- package/lib/razor-c24d586d.js +0 -515
- package/lib/redis-276b8288.js +0 -298
- package/lib/redshift-520a7359.js +0 -806
- package/lib/restructuredtext-4676a3fc.js +0 -162
- package/lib/ruby-764137cd.js +0 -444
- package/lib/rust-97f8f6e1.js +0 -337
- package/lib/sb-8c22f14c.js +0 -110
- package/lib/scala-c68c650c.js +0 -353
- package/lib/scheme-e6a52cb0.js +0 -114
- package/lib/scss-45104c77.js +0 -244
- package/lib/shell-09452d42.js +0 -224
- package/lib/solidity-d4979008.js +0 -1351
- package/lib/sophia-21995caf.js +0 -190
- package/lib/sparql-5088743c.js +0 -193
- package/lib/sql-63ec8e76.js +0 -818
- package/lib/st-fa9ab362.js +0 -414
- package/lib/swift-abdf1835.js +0 -315
- package/lib/systemverilog-a4f858ed.js +0 -556
- package/lib/tcl-8adf937f.js +0 -232
- package/lib/tsMode-6d6244be.js +0 -792
- package/lib/twig-404eb73e.js +0 -323
- package/lib/typescript-807ce4d9.js +0 -330
- package/lib/vb-e21e8153.js +0 -364
- package/lib/xml-cc91b485.js +0 -98
- package/lib/yaml-f2de88bb.js +0 -187
package/lib/coffee-1a8cfbf4.js
DELETED
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/
|
|
7
|
-
var e = {
|
|
8
|
-
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
|
9
|
-
comments: {
|
|
10
|
-
blockComment: ["###", "###"],
|
|
11
|
-
lineComment: "#"
|
|
12
|
-
},
|
|
13
|
-
brackets: [
|
|
14
|
-
["{", "}"],
|
|
15
|
-
["[", "]"],
|
|
16
|
-
["(", ")"]
|
|
17
|
-
],
|
|
18
|
-
autoClosingPairs: [
|
|
19
|
-
{ open: "{", close: "}" },
|
|
20
|
-
{ open: "[", close: "]" },
|
|
21
|
-
{ open: "(", close: ")" },
|
|
22
|
-
{ open: '"', close: '"' },
|
|
23
|
-
{ open: "'", close: "'" }
|
|
24
|
-
],
|
|
25
|
-
surroundingPairs: [
|
|
26
|
-
{ open: "{", close: "}" },
|
|
27
|
-
{ open: "[", close: "]" },
|
|
28
|
-
{ open: "(", close: ")" },
|
|
29
|
-
{ open: '"', close: '"' },
|
|
30
|
-
{ open: "'", close: "'" }
|
|
31
|
-
],
|
|
32
|
-
folding: {
|
|
33
|
-
markers: {
|
|
34
|
-
start: new RegExp("^\\s*#region\\b"),
|
|
35
|
-
end: new RegExp("^\\s*#endregion\\b")
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}, r = {
|
|
39
|
-
defaultToken: "",
|
|
40
|
-
ignoreCase: !0,
|
|
41
|
-
tokenPostfix: ".coffee",
|
|
42
|
-
brackets: [
|
|
43
|
-
{ open: "{", close: "}", token: "delimiter.curly" },
|
|
44
|
-
{ open: "[", close: "]", token: "delimiter.square" },
|
|
45
|
-
{ open: "(", close: ")", token: "delimiter.parenthesis" }
|
|
46
|
-
],
|
|
47
|
-
regEx: /\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,
|
|
48
|
-
keywords: [
|
|
49
|
-
"and",
|
|
50
|
-
"or",
|
|
51
|
-
"is",
|
|
52
|
-
"isnt",
|
|
53
|
-
"not",
|
|
54
|
-
"on",
|
|
55
|
-
"yes",
|
|
56
|
-
"@",
|
|
57
|
-
"no",
|
|
58
|
-
"off",
|
|
59
|
-
"true",
|
|
60
|
-
"false",
|
|
61
|
-
"null",
|
|
62
|
-
"this",
|
|
63
|
-
"new",
|
|
64
|
-
"delete",
|
|
65
|
-
"typeof",
|
|
66
|
-
"in",
|
|
67
|
-
"instanceof",
|
|
68
|
-
"return",
|
|
69
|
-
"throw",
|
|
70
|
-
"break",
|
|
71
|
-
"continue",
|
|
72
|
-
"debugger",
|
|
73
|
-
"if",
|
|
74
|
-
"else",
|
|
75
|
-
"switch",
|
|
76
|
-
"for",
|
|
77
|
-
"while",
|
|
78
|
-
"do",
|
|
79
|
-
"try",
|
|
80
|
-
"catch",
|
|
81
|
-
"finally",
|
|
82
|
-
"class",
|
|
83
|
-
"extends",
|
|
84
|
-
"super",
|
|
85
|
-
"undefined",
|
|
86
|
-
"then",
|
|
87
|
-
"unless",
|
|
88
|
-
"until",
|
|
89
|
-
"loop",
|
|
90
|
-
"of",
|
|
91
|
-
"by",
|
|
92
|
-
"when"
|
|
93
|
-
],
|
|
94
|
-
symbols: /[=><!~?&%|+\-*\/\^\.,\:]+/,
|
|
95
|
-
escapes: /\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
96
|
-
tokenizer: {
|
|
97
|
-
root: [
|
|
98
|
-
[/\@[a-zA-Z_]\w*/, "variable.predefined"],
|
|
99
|
-
[
|
|
100
|
-
/[a-zA-Z_]\w*/,
|
|
101
|
-
{
|
|
102
|
-
cases: {
|
|
103
|
-
this: "variable.predefined",
|
|
104
|
-
"@keywords": { token: "keyword.$0" },
|
|
105
|
-
"@default": ""
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
],
|
|
109
|
-
[/[ \t\r\n]+/, ""],
|
|
110
|
-
[/###/, "comment", "@comment"],
|
|
111
|
-
[/#.*$/, "comment"],
|
|
112
|
-
["///", { token: "regexp", next: "@hereregexp" }],
|
|
113
|
-
[/^(\s*)(@regEx)/, ["", "regexp"]],
|
|
114
|
-
[/(\()(\s*)(@regEx)/, ["@brackets", "", "regexp"]],
|
|
115
|
-
[/(\,)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
|
116
|
-
[/(\=)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
|
117
|
-
[/(\:)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
|
118
|
-
[/(\[)(\s*)(@regEx)/, ["@brackets", "", "regexp"]],
|
|
119
|
-
[/(\!)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
|
120
|
-
[/(\&)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
|
121
|
-
[/(\|)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
|
122
|
-
[/(\?)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
|
123
|
-
[/(\{)(\s*)(@regEx)/, ["@brackets", "", "regexp"]],
|
|
124
|
-
[/(\;)(\s*)(@regEx)/, ["", "", "regexp"]],
|
|
125
|
-
[
|
|
126
|
-
/}/,
|
|
127
|
-
{
|
|
128
|
-
cases: {
|
|
129
|
-
"$S2==interpolatedstring": {
|
|
130
|
-
token: "string",
|
|
131
|
-
next: "@pop"
|
|
132
|
-
},
|
|
133
|
-
"@default": "@brackets"
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
],
|
|
137
|
-
[/[{}()\[\]]/, "@brackets"],
|
|
138
|
-
[/@symbols/, "delimiter"],
|
|
139
|
-
[/\d+[eE]([\-+]?\d+)?/, "number.float"],
|
|
140
|
-
[/\d+\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
|
141
|
-
[/0[xX][0-9a-fA-F]+/, "number.hex"],
|
|
142
|
-
[/0[0-7]+(?!\d)/, "number.octal"],
|
|
143
|
-
[/\d+/, "number"],
|
|
144
|
-
[/[,.]/, "delimiter"],
|
|
145
|
-
[/"""/, "string", '@herestring."""'],
|
|
146
|
-
[/'''/, "string", "@herestring.'''"],
|
|
147
|
-
[
|
|
148
|
-
/"/,
|
|
149
|
-
{
|
|
150
|
-
cases: {
|
|
151
|
-
"@eos": "string",
|
|
152
|
-
"@default": { token: "string", next: '@string."' }
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
],
|
|
156
|
-
[
|
|
157
|
-
/'/,
|
|
158
|
-
{
|
|
159
|
-
cases: {
|
|
160
|
-
"@eos": "string",
|
|
161
|
-
"@default": { token: "string", next: "@string.'" }
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
]
|
|
165
|
-
],
|
|
166
|
-
string: [
|
|
167
|
-
[/[^"'\#\\]+/, "string"],
|
|
168
|
-
[/@escapes/, "string.escape"],
|
|
169
|
-
[/\./, "string.escape.invalid"],
|
|
170
|
-
[/\./, "string.escape.invalid"],
|
|
171
|
-
[
|
|
172
|
-
/#{/,
|
|
173
|
-
{
|
|
174
|
-
cases: {
|
|
175
|
-
'$S2=="': {
|
|
176
|
-
token: "string",
|
|
177
|
-
next: "root.interpolatedstring"
|
|
178
|
-
},
|
|
179
|
-
"@default": "string"
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
],
|
|
183
|
-
[
|
|
184
|
-
/["']/,
|
|
185
|
-
{
|
|
186
|
-
cases: {
|
|
187
|
-
"$#==$S2": { token: "string", next: "@pop" },
|
|
188
|
-
"@default": "string"
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
],
|
|
192
|
-
[/#/, "string"]
|
|
193
|
-
],
|
|
194
|
-
herestring: [
|
|
195
|
-
[
|
|
196
|
-
/("""|''')/,
|
|
197
|
-
{
|
|
198
|
-
cases: {
|
|
199
|
-
"$1==$S2": { token: "string", next: "@pop" },
|
|
200
|
-
"@default": "string"
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
],
|
|
204
|
-
[/[^#\\'"]+/, "string"],
|
|
205
|
-
[/['"]+/, "string"],
|
|
206
|
-
[/@escapes/, "string.escape"],
|
|
207
|
-
[/\./, "string.escape.invalid"],
|
|
208
|
-
[/#{/, { token: "string.quote", next: "root.interpolatedstring" }],
|
|
209
|
-
[/#/, "string"]
|
|
210
|
-
],
|
|
211
|
-
comment: [
|
|
212
|
-
[/[^#]+/, "comment"],
|
|
213
|
-
[/###/, "comment", "@pop"],
|
|
214
|
-
[/#/, "comment"]
|
|
215
|
-
],
|
|
216
|
-
hereregexp: [
|
|
217
|
-
[/[^\\\/#]+/, "regexp"],
|
|
218
|
-
[/\\./, "regexp"],
|
|
219
|
-
[/#.*$/, "comment"],
|
|
220
|
-
["///[igm]*", { token: "regexp", next: "@pop" }],
|
|
221
|
-
[/\//, "regexp"]
|
|
222
|
-
]
|
|
223
|
-
}
|
|
224
|
-
};
|
|
225
|
-
export {
|
|
226
|
-
e as conf,
|
|
227
|
-
r as language
|
|
228
|
-
};
|
package/lib/cpp-642b10c4.js
DELETED
|
@@ -1,387 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/
|
|
7
|
-
var e = {
|
|
8
|
-
comments: {
|
|
9
|
-
lineComment: "//",
|
|
10
|
-
blockComment: ["/*", "*/"]
|
|
11
|
-
},
|
|
12
|
-
brackets: [
|
|
13
|
-
["{", "}"],
|
|
14
|
-
["[", "]"],
|
|
15
|
-
["(", ")"]
|
|
16
|
-
],
|
|
17
|
-
autoClosingPairs: [
|
|
18
|
-
{ open: "[", close: "]" },
|
|
19
|
-
{ open: "{", close: "}" },
|
|
20
|
-
{ open: "(", close: ")" },
|
|
21
|
-
{ open: "'", close: "'", notIn: ["string", "comment"] },
|
|
22
|
-
{ open: '"', close: '"', notIn: ["string"] }
|
|
23
|
-
],
|
|
24
|
-
surroundingPairs: [
|
|
25
|
-
{ open: "{", close: "}" },
|
|
26
|
-
{ open: "[", close: "]" },
|
|
27
|
-
{ open: "(", close: ")" },
|
|
28
|
-
{ open: '"', close: '"' },
|
|
29
|
-
{ open: "'", close: "'" }
|
|
30
|
-
],
|
|
31
|
-
folding: {
|
|
32
|
-
markers: {
|
|
33
|
-
start: new RegExp("^\\s*#pragma\\s+region\\b"),
|
|
34
|
-
end: new RegExp("^\\s*#pragma\\s+endregion\\b")
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}, t = {
|
|
38
|
-
defaultToken: "",
|
|
39
|
-
tokenPostfix: ".cpp",
|
|
40
|
-
brackets: [
|
|
41
|
-
{ token: "delimiter.curly", open: "{", close: "}" },
|
|
42
|
-
{ token: "delimiter.parenthesis", open: "(", close: ")" },
|
|
43
|
-
{ token: "delimiter.square", open: "[", close: "]" },
|
|
44
|
-
{ token: "delimiter.angle", open: "<", close: ">" }
|
|
45
|
-
],
|
|
46
|
-
keywords: [
|
|
47
|
-
"abstract",
|
|
48
|
-
"amp",
|
|
49
|
-
"array",
|
|
50
|
-
"auto",
|
|
51
|
-
"bool",
|
|
52
|
-
"break",
|
|
53
|
-
"case",
|
|
54
|
-
"catch",
|
|
55
|
-
"char",
|
|
56
|
-
"class",
|
|
57
|
-
"const",
|
|
58
|
-
"constexpr",
|
|
59
|
-
"const_cast",
|
|
60
|
-
"continue",
|
|
61
|
-
"cpu",
|
|
62
|
-
"decltype",
|
|
63
|
-
"default",
|
|
64
|
-
"delegate",
|
|
65
|
-
"delete",
|
|
66
|
-
"do",
|
|
67
|
-
"double",
|
|
68
|
-
"dynamic_cast",
|
|
69
|
-
"each",
|
|
70
|
-
"else",
|
|
71
|
-
"enum",
|
|
72
|
-
"event",
|
|
73
|
-
"explicit",
|
|
74
|
-
"export",
|
|
75
|
-
"extern",
|
|
76
|
-
"false",
|
|
77
|
-
"final",
|
|
78
|
-
"finally",
|
|
79
|
-
"float",
|
|
80
|
-
"for",
|
|
81
|
-
"friend",
|
|
82
|
-
"gcnew",
|
|
83
|
-
"generic",
|
|
84
|
-
"goto",
|
|
85
|
-
"if",
|
|
86
|
-
"in",
|
|
87
|
-
"initonly",
|
|
88
|
-
"inline",
|
|
89
|
-
"int",
|
|
90
|
-
"interface",
|
|
91
|
-
"interior_ptr",
|
|
92
|
-
"internal",
|
|
93
|
-
"literal",
|
|
94
|
-
"long",
|
|
95
|
-
"mutable",
|
|
96
|
-
"namespace",
|
|
97
|
-
"new",
|
|
98
|
-
"noexcept",
|
|
99
|
-
"nullptr",
|
|
100
|
-
"__nullptr",
|
|
101
|
-
"operator",
|
|
102
|
-
"override",
|
|
103
|
-
"partial",
|
|
104
|
-
"pascal",
|
|
105
|
-
"pin_ptr",
|
|
106
|
-
"private",
|
|
107
|
-
"property",
|
|
108
|
-
"protected",
|
|
109
|
-
"public",
|
|
110
|
-
"ref",
|
|
111
|
-
"register",
|
|
112
|
-
"reinterpret_cast",
|
|
113
|
-
"restrict",
|
|
114
|
-
"return",
|
|
115
|
-
"safe_cast",
|
|
116
|
-
"sealed",
|
|
117
|
-
"short",
|
|
118
|
-
"signed",
|
|
119
|
-
"sizeof",
|
|
120
|
-
"static",
|
|
121
|
-
"static_assert",
|
|
122
|
-
"static_cast",
|
|
123
|
-
"struct",
|
|
124
|
-
"switch",
|
|
125
|
-
"template",
|
|
126
|
-
"this",
|
|
127
|
-
"thread_local",
|
|
128
|
-
"throw",
|
|
129
|
-
"tile_static",
|
|
130
|
-
"true",
|
|
131
|
-
"try",
|
|
132
|
-
"typedef",
|
|
133
|
-
"typeid",
|
|
134
|
-
"typename",
|
|
135
|
-
"union",
|
|
136
|
-
"unsigned",
|
|
137
|
-
"using",
|
|
138
|
-
"virtual",
|
|
139
|
-
"void",
|
|
140
|
-
"volatile",
|
|
141
|
-
"wchar_t",
|
|
142
|
-
"where",
|
|
143
|
-
"while",
|
|
144
|
-
"_asm",
|
|
145
|
-
"_based",
|
|
146
|
-
"_cdecl",
|
|
147
|
-
"_declspec",
|
|
148
|
-
"_fastcall",
|
|
149
|
-
"_if_exists",
|
|
150
|
-
"_if_not_exists",
|
|
151
|
-
"_inline",
|
|
152
|
-
"_multiple_inheritance",
|
|
153
|
-
"_pascal",
|
|
154
|
-
"_single_inheritance",
|
|
155
|
-
"_stdcall",
|
|
156
|
-
"_virtual_inheritance",
|
|
157
|
-
"_w64",
|
|
158
|
-
"__abstract",
|
|
159
|
-
"__alignof",
|
|
160
|
-
"__asm",
|
|
161
|
-
"__assume",
|
|
162
|
-
"__based",
|
|
163
|
-
"__box",
|
|
164
|
-
"__builtin_alignof",
|
|
165
|
-
"__cdecl",
|
|
166
|
-
"__clrcall",
|
|
167
|
-
"__declspec",
|
|
168
|
-
"__delegate",
|
|
169
|
-
"__event",
|
|
170
|
-
"__except",
|
|
171
|
-
"__fastcall",
|
|
172
|
-
"__finally",
|
|
173
|
-
"__forceinline",
|
|
174
|
-
"__gc",
|
|
175
|
-
"__hook",
|
|
176
|
-
"__identifier",
|
|
177
|
-
"__if_exists",
|
|
178
|
-
"__if_not_exists",
|
|
179
|
-
"__inline",
|
|
180
|
-
"__int128",
|
|
181
|
-
"__int16",
|
|
182
|
-
"__int32",
|
|
183
|
-
"__int64",
|
|
184
|
-
"__int8",
|
|
185
|
-
"__interface",
|
|
186
|
-
"__leave",
|
|
187
|
-
"__m128",
|
|
188
|
-
"__m128d",
|
|
189
|
-
"__m128i",
|
|
190
|
-
"__m256",
|
|
191
|
-
"__m256d",
|
|
192
|
-
"__m256i",
|
|
193
|
-
"__m64",
|
|
194
|
-
"__multiple_inheritance",
|
|
195
|
-
"__newslot",
|
|
196
|
-
"__nogc",
|
|
197
|
-
"__noop",
|
|
198
|
-
"__nounwind",
|
|
199
|
-
"__novtordisp",
|
|
200
|
-
"__pascal",
|
|
201
|
-
"__pin",
|
|
202
|
-
"__pragma",
|
|
203
|
-
"__property",
|
|
204
|
-
"__ptr32",
|
|
205
|
-
"__ptr64",
|
|
206
|
-
"__raise",
|
|
207
|
-
"__restrict",
|
|
208
|
-
"__resume",
|
|
209
|
-
"__sealed",
|
|
210
|
-
"__single_inheritance",
|
|
211
|
-
"__stdcall",
|
|
212
|
-
"__super",
|
|
213
|
-
"__thiscall",
|
|
214
|
-
"__try",
|
|
215
|
-
"__try_cast",
|
|
216
|
-
"__typeof",
|
|
217
|
-
"__unaligned",
|
|
218
|
-
"__unhook",
|
|
219
|
-
"__uuidof",
|
|
220
|
-
"__value",
|
|
221
|
-
"__virtual_inheritance",
|
|
222
|
-
"__w64",
|
|
223
|
-
"__wchar_t"
|
|
224
|
-
],
|
|
225
|
-
operators: [
|
|
226
|
-
"=",
|
|
227
|
-
">",
|
|
228
|
-
"<",
|
|
229
|
-
"!",
|
|
230
|
-
"~",
|
|
231
|
-
"?",
|
|
232
|
-
":",
|
|
233
|
-
"==",
|
|
234
|
-
"<=",
|
|
235
|
-
">=",
|
|
236
|
-
"!=",
|
|
237
|
-
"&&",
|
|
238
|
-
"||",
|
|
239
|
-
"++",
|
|
240
|
-
"--",
|
|
241
|
-
"+",
|
|
242
|
-
"-",
|
|
243
|
-
"*",
|
|
244
|
-
"/",
|
|
245
|
-
"&",
|
|
246
|
-
"|",
|
|
247
|
-
"^",
|
|
248
|
-
"%",
|
|
249
|
-
"<<",
|
|
250
|
-
">>",
|
|
251
|
-
">>>",
|
|
252
|
-
"+=",
|
|
253
|
-
"-=",
|
|
254
|
-
"*=",
|
|
255
|
-
"/=",
|
|
256
|
-
"&=",
|
|
257
|
-
"|=",
|
|
258
|
-
"^=",
|
|
259
|
-
"%=",
|
|
260
|
-
"<<=",
|
|
261
|
-
">>=",
|
|
262
|
-
">>>="
|
|
263
|
-
],
|
|
264
|
-
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
|
265
|
-
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
266
|
-
integersuffix: /([uU](ll|LL|l|L)|(ll|LL|l|L)?[uU]?)/,
|
|
267
|
-
floatsuffix: /[fFlL]?/,
|
|
268
|
-
encoding: /u|u8|U|L/,
|
|
269
|
-
tokenizer: {
|
|
270
|
-
root: [
|
|
271
|
-
[/@encoding?R\"(?:([^ ()\\\t]*))\(/, { token: "string.raw.begin", next: "@raw.$1" }],
|
|
272
|
-
[
|
|
273
|
-
/[a-zA-Z_]\w*/,
|
|
274
|
-
{
|
|
275
|
-
cases: {
|
|
276
|
-
"@keywords": { token: "keyword.$0" },
|
|
277
|
-
"@default": "identifier"
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
],
|
|
281
|
-
[/^\s*#\s*include/, { token: "keyword.directive.include", next: "@include" }],
|
|
282
|
-
[/^\s*#\s*\w+/, "keyword.directive"],
|
|
283
|
-
{ include: "@whitespace" },
|
|
284
|
-
[/\[\s*\[/, { token: "annotation", next: "@annotation" }],
|
|
285
|
-
[/[{}()\[\]]/, "@brackets"],
|
|
286
|
-
[/[<>](?!@symbols)/, "@brackets"],
|
|
287
|
-
[
|
|
288
|
-
/@symbols/,
|
|
289
|
-
{
|
|
290
|
-
cases: {
|
|
291
|
-
"@operators": "delimiter",
|
|
292
|
-
"@default": ""
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
],
|
|
296
|
-
[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/, "number.float"],
|
|
297
|
-
[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/, "number.float"],
|
|
298
|
-
[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/, "number.hex"],
|
|
299
|
-
[/0[0-7']*[0-7](@integersuffix)/, "number.octal"],
|
|
300
|
-
[/0[bB][0-1']*[0-1](@integersuffix)/, "number.binary"],
|
|
301
|
-
[/\d[\d']*\d(@integersuffix)/, "number"],
|
|
302
|
-
[/\d(@integersuffix)/, "number"],
|
|
303
|
-
[/[;,.]/, "delimiter"],
|
|
304
|
-
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
|
305
|
-
[/"/, "string", "@string"],
|
|
306
|
-
[/'[^\\']'/, "string"],
|
|
307
|
-
[/(')(@escapes)(')/, ["string", "string.escape", "string"]],
|
|
308
|
-
[/'/, "string.invalid"]
|
|
309
|
-
],
|
|
310
|
-
whitespace: [
|
|
311
|
-
[/[ \t\r\n]+/, ""],
|
|
312
|
-
[/\/\*\*(?!\/)/, "comment.doc", "@doccomment"],
|
|
313
|
-
[/\/\*/, "comment", "@comment"],
|
|
314
|
-
[/\/\/.*\\$/, "comment", "@linecomment"],
|
|
315
|
-
[/\/\/.*$/, "comment"]
|
|
316
|
-
],
|
|
317
|
-
comment: [
|
|
318
|
-
[/[^\/*]+/, "comment"],
|
|
319
|
-
[/\*\//, "comment", "@pop"],
|
|
320
|
-
[/[\/*]/, "comment"]
|
|
321
|
-
],
|
|
322
|
-
linecomment: [
|
|
323
|
-
[/.*[^\\]$/, "comment", "@pop"],
|
|
324
|
-
[/[^]+/, "comment"]
|
|
325
|
-
],
|
|
326
|
-
doccomment: [
|
|
327
|
-
[/[^\/*]+/, "comment.doc"],
|
|
328
|
-
[/\*\//, "comment.doc", "@pop"],
|
|
329
|
-
[/[\/*]/, "comment.doc"]
|
|
330
|
-
],
|
|
331
|
-
string: [
|
|
332
|
-
[/[^\\"]+/, "string"],
|
|
333
|
-
[/@escapes/, "string.escape"],
|
|
334
|
-
[/\\./, "string.escape.invalid"],
|
|
335
|
-
[/"/, "string", "@pop"]
|
|
336
|
-
],
|
|
337
|
-
raw: [
|
|
338
|
-
[
|
|
339
|
-
/(.*)(\))(?:([^ ()\\\t"]*))(\")/,
|
|
340
|
-
{
|
|
341
|
-
cases: {
|
|
342
|
-
"$3==$S2": [
|
|
343
|
-
"string.raw",
|
|
344
|
-
"string.raw.end",
|
|
345
|
-
"string.raw.end",
|
|
346
|
-
{ token: "string.raw.end", next: "@pop" }
|
|
347
|
-
],
|
|
348
|
-
"@default": ["string.raw", "string.raw", "string.raw", "string.raw"]
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
],
|
|
352
|
-
[/.*/, "string.raw"]
|
|
353
|
-
],
|
|
354
|
-
annotation: [
|
|
355
|
-
{ include: "@whitespace" },
|
|
356
|
-
[/using|alignas/, "keyword"],
|
|
357
|
-
[/[a-zA-Z0-9_]+/, "annotation"],
|
|
358
|
-
[/[,:]/, "delimiter"],
|
|
359
|
-
[/[()]/, "@brackets"],
|
|
360
|
-
[/\]\s*\]/, { token: "annotation", next: "@pop" }]
|
|
361
|
-
],
|
|
362
|
-
include: [
|
|
363
|
-
[
|
|
364
|
-
/(\s*)(<)([^<>]*)(>)/,
|
|
365
|
-
[
|
|
366
|
-
"",
|
|
367
|
-
"keyword.directive.include.begin",
|
|
368
|
-
"string.include.identifier",
|
|
369
|
-
{ token: "keyword.directive.include.end", next: "@pop" }
|
|
370
|
-
]
|
|
371
|
-
],
|
|
372
|
-
[
|
|
373
|
-
/(\s*)(")([^"]*)(")/,
|
|
374
|
-
[
|
|
375
|
-
"",
|
|
376
|
-
"keyword.directive.include.begin",
|
|
377
|
-
"string.include.identifier",
|
|
378
|
-
{ token: "keyword.directive.include.end", next: "@pop" }
|
|
379
|
-
]
|
|
380
|
-
]
|
|
381
|
-
]
|
|
382
|
-
}
|
|
383
|
-
};
|
|
384
|
-
export {
|
|
385
|
-
e as conf,
|
|
386
|
-
t as language
|
|
387
|
-
};
|