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/qsharp-4792f872.js
DELETED
|
@@ -1,282 +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
|
-
},
|
|
11
|
-
brackets: [
|
|
12
|
-
["{", "}"],
|
|
13
|
-
["[", "]"],
|
|
14
|
-
["(", ")"]
|
|
15
|
-
],
|
|
16
|
-
autoClosingPairs: [
|
|
17
|
-
{ open: "{", close: "}" },
|
|
18
|
-
{ open: "[", close: "]" },
|
|
19
|
-
{ open: "(", close: ")" },
|
|
20
|
-
{ open: '"', close: '"', notIn: ["string", "comment"] }
|
|
21
|
-
],
|
|
22
|
-
surroundingPairs: [
|
|
23
|
-
{ open: "{", close: "}" },
|
|
24
|
-
{ open: "[", close: "]" },
|
|
25
|
-
{ open: "(", close: ")" },
|
|
26
|
-
{ open: '"', close: '"' }
|
|
27
|
-
]
|
|
28
|
-
}, t = {
|
|
29
|
-
keywords: [
|
|
30
|
-
"namespace",
|
|
31
|
-
"open",
|
|
32
|
-
"as",
|
|
33
|
-
"operation",
|
|
34
|
-
"function",
|
|
35
|
-
"body",
|
|
36
|
-
"adjoint",
|
|
37
|
-
"newtype",
|
|
38
|
-
"controlled",
|
|
39
|
-
"if",
|
|
40
|
-
"elif",
|
|
41
|
-
"else",
|
|
42
|
-
"repeat",
|
|
43
|
-
"until",
|
|
44
|
-
"fixup",
|
|
45
|
-
"for",
|
|
46
|
-
"in",
|
|
47
|
-
"while",
|
|
48
|
-
"return",
|
|
49
|
-
"fail",
|
|
50
|
-
"within",
|
|
51
|
-
"apply",
|
|
52
|
-
"Adjoint",
|
|
53
|
-
"Controlled",
|
|
54
|
-
"Adj",
|
|
55
|
-
"Ctl",
|
|
56
|
-
"is",
|
|
57
|
-
"self",
|
|
58
|
-
"auto",
|
|
59
|
-
"distribute",
|
|
60
|
-
"invert",
|
|
61
|
-
"intrinsic",
|
|
62
|
-
"let",
|
|
63
|
-
"set",
|
|
64
|
-
"w/",
|
|
65
|
-
"new",
|
|
66
|
-
"not",
|
|
67
|
-
"and",
|
|
68
|
-
"or",
|
|
69
|
-
"use",
|
|
70
|
-
"borrow",
|
|
71
|
-
"using",
|
|
72
|
-
"borrowing",
|
|
73
|
-
"mutable",
|
|
74
|
-
"internal"
|
|
75
|
-
],
|
|
76
|
-
typeKeywords: [
|
|
77
|
-
"Unit",
|
|
78
|
-
"Int",
|
|
79
|
-
"BigInt",
|
|
80
|
-
"Double",
|
|
81
|
-
"Bool",
|
|
82
|
-
"String",
|
|
83
|
-
"Qubit",
|
|
84
|
-
"Result",
|
|
85
|
-
"Pauli",
|
|
86
|
-
"Range"
|
|
87
|
-
],
|
|
88
|
-
invalidKeywords: [
|
|
89
|
-
"abstract",
|
|
90
|
-
"base",
|
|
91
|
-
"bool",
|
|
92
|
-
"break",
|
|
93
|
-
"byte",
|
|
94
|
-
"case",
|
|
95
|
-
"catch",
|
|
96
|
-
"char",
|
|
97
|
-
"checked",
|
|
98
|
-
"class",
|
|
99
|
-
"const",
|
|
100
|
-
"continue",
|
|
101
|
-
"decimal",
|
|
102
|
-
"default",
|
|
103
|
-
"delegate",
|
|
104
|
-
"do",
|
|
105
|
-
"double",
|
|
106
|
-
"enum",
|
|
107
|
-
"event",
|
|
108
|
-
"explicit",
|
|
109
|
-
"extern",
|
|
110
|
-
"finally",
|
|
111
|
-
"fixed",
|
|
112
|
-
"float",
|
|
113
|
-
"foreach",
|
|
114
|
-
"goto",
|
|
115
|
-
"implicit",
|
|
116
|
-
"int",
|
|
117
|
-
"interface",
|
|
118
|
-
"lock",
|
|
119
|
-
"long",
|
|
120
|
-
"null",
|
|
121
|
-
"object",
|
|
122
|
-
"operator",
|
|
123
|
-
"out",
|
|
124
|
-
"override",
|
|
125
|
-
"params",
|
|
126
|
-
"private",
|
|
127
|
-
"protected",
|
|
128
|
-
"public",
|
|
129
|
-
"readonly",
|
|
130
|
-
"ref",
|
|
131
|
-
"sbyte",
|
|
132
|
-
"sealed",
|
|
133
|
-
"short",
|
|
134
|
-
"sizeof",
|
|
135
|
-
"stackalloc",
|
|
136
|
-
"static",
|
|
137
|
-
"string",
|
|
138
|
-
"struct",
|
|
139
|
-
"switch",
|
|
140
|
-
"this",
|
|
141
|
-
"throw",
|
|
142
|
-
"try",
|
|
143
|
-
"typeof",
|
|
144
|
-
"unit",
|
|
145
|
-
"ulong",
|
|
146
|
-
"unchecked",
|
|
147
|
-
"unsafe",
|
|
148
|
-
"ushort",
|
|
149
|
-
"virtual",
|
|
150
|
-
"void",
|
|
151
|
-
"volatile"
|
|
152
|
-
],
|
|
153
|
-
constants: ["true", "false", "PauliI", "PauliX", "PauliY", "PauliZ", "One", "Zero"],
|
|
154
|
-
builtin: [
|
|
155
|
-
"X",
|
|
156
|
-
"Y",
|
|
157
|
-
"Z",
|
|
158
|
-
"H",
|
|
159
|
-
"HY",
|
|
160
|
-
"S",
|
|
161
|
-
"T",
|
|
162
|
-
"SWAP",
|
|
163
|
-
"CNOT",
|
|
164
|
-
"CCNOT",
|
|
165
|
-
"MultiX",
|
|
166
|
-
"R",
|
|
167
|
-
"RFrac",
|
|
168
|
-
"Rx",
|
|
169
|
-
"Ry",
|
|
170
|
-
"Rz",
|
|
171
|
-
"R1",
|
|
172
|
-
"R1Frac",
|
|
173
|
-
"Exp",
|
|
174
|
-
"ExpFrac",
|
|
175
|
-
"Measure",
|
|
176
|
-
"M",
|
|
177
|
-
"MultiM",
|
|
178
|
-
"Message",
|
|
179
|
-
"Length",
|
|
180
|
-
"Assert",
|
|
181
|
-
"AssertProb",
|
|
182
|
-
"AssertEqual"
|
|
183
|
-
],
|
|
184
|
-
operators: [
|
|
185
|
-
"and=",
|
|
186
|
-
"<-",
|
|
187
|
-
"->",
|
|
188
|
-
"*",
|
|
189
|
-
"*=",
|
|
190
|
-
"@",
|
|
191
|
-
"!",
|
|
192
|
-
"^",
|
|
193
|
-
"^=",
|
|
194
|
-
":",
|
|
195
|
-
"::",
|
|
196
|
-
"..",
|
|
197
|
-
"==",
|
|
198
|
-
"...",
|
|
199
|
-
"=",
|
|
200
|
-
"=>",
|
|
201
|
-
">",
|
|
202
|
-
">=",
|
|
203
|
-
"<",
|
|
204
|
-
"<=",
|
|
205
|
-
"-",
|
|
206
|
-
"-=",
|
|
207
|
-
"!=",
|
|
208
|
-
"or=",
|
|
209
|
-
"%",
|
|
210
|
-
"%=",
|
|
211
|
-
"|",
|
|
212
|
-
"+",
|
|
213
|
-
"+=",
|
|
214
|
-
"?",
|
|
215
|
-
"/",
|
|
216
|
-
"/=",
|
|
217
|
-
"&&&",
|
|
218
|
-
"&&&=",
|
|
219
|
-
"^^^",
|
|
220
|
-
"^^^=",
|
|
221
|
-
">>>",
|
|
222
|
-
">>>=",
|
|
223
|
-
"<<<",
|
|
224
|
-
"<<<=",
|
|
225
|
-
"|||",
|
|
226
|
-
"|||=",
|
|
227
|
-
"~~~",
|
|
228
|
-
"_",
|
|
229
|
-
"w/",
|
|
230
|
-
"w/="
|
|
231
|
-
],
|
|
232
|
-
namespaceFollows: ["namespace", "open"],
|
|
233
|
-
symbols: /[=><!~?:&|+\-*\/\^%@._]+/,
|
|
234
|
-
escapes: /\\[\s\S]/,
|
|
235
|
-
tokenizer: {
|
|
236
|
-
root: [
|
|
237
|
-
[
|
|
238
|
-
/[a-zA-Z_$][\w$]*/,
|
|
239
|
-
{
|
|
240
|
-
cases: {
|
|
241
|
-
"@namespaceFollows": {
|
|
242
|
-
token: "keyword.$0",
|
|
243
|
-
next: "@namespace"
|
|
244
|
-
},
|
|
245
|
-
"@typeKeywords": "type",
|
|
246
|
-
"@keywords": "keyword",
|
|
247
|
-
"@constants": "constant",
|
|
248
|
-
"@builtin": "keyword",
|
|
249
|
-
"@invalidKeywords": "invalid",
|
|
250
|
-
"@default": "identifier"
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
],
|
|
254
|
-
{ include: "@whitespace" },
|
|
255
|
-
[/[{}()\[\]]/, "@brackets"],
|
|
256
|
-
[/@symbols/, { cases: { "@operators": "operator", "@default": "" } }],
|
|
257
|
-
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
|
258
|
-
[/\d+/, "number"],
|
|
259
|
-
[/[;,.]/, "delimiter"],
|
|
260
|
-
[/"/, { token: "string.quote", bracket: "@open", next: "@string" }]
|
|
261
|
-
],
|
|
262
|
-
string: [
|
|
263
|
-
[/[^\\"]+/, "string"],
|
|
264
|
-
[/@escapes/, "string.escape"],
|
|
265
|
-
[/"/, { token: "string.quote", bracket: "@close", next: "@pop" }]
|
|
266
|
-
],
|
|
267
|
-
namespace: [
|
|
268
|
-
{ include: "@whitespace" },
|
|
269
|
-
[/[A-Za-z]\w*/, "namespace"],
|
|
270
|
-
[/[\.=]/, "delimiter"],
|
|
271
|
-
["", "", "@pop"]
|
|
272
|
-
],
|
|
273
|
-
whitespace: [
|
|
274
|
-
[/[ \t\r\n]+/, "white"],
|
|
275
|
-
[/(\/\/).*/, "comment"]
|
|
276
|
-
]
|
|
277
|
-
}
|
|
278
|
-
};
|
|
279
|
-
export {
|
|
280
|
-
e as conf,
|
|
281
|
-
t as language
|
|
282
|
-
};
|
package/lib/r-630f5d6b.js
DELETED
|
@@ -1,245 +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
|
-
},
|
|
11
|
-
brackets: [
|
|
12
|
-
["{", "}"],
|
|
13
|
-
["[", "]"],
|
|
14
|
-
["(", ")"]
|
|
15
|
-
],
|
|
16
|
-
autoClosingPairs: [
|
|
17
|
-
{ open: "{", close: "}" },
|
|
18
|
-
{ open: "[", close: "]" },
|
|
19
|
-
{ open: "(", close: ")" },
|
|
20
|
-
{ open: '"', close: '"' }
|
|
21
|
-
],
|
|
22
|
-
surroundingPairs: [
|
|
23
|
-
{ open: "{", close: "}" },
|
|
24
|
-
{ open: "[", close: "]" },
|
|
25
|
-
{ open: "(", close: ")" },
|
|
26
|
-
{ open: '"', close: '"' }
|
|
27
|
-
]
|
|
28
|
-
}, o = {
|
|
29
|
-
defaultToken: "",
|
|
30
|
-
tokenPostfix: ".r",
|
|
31
|
-
roxygen: [
|
|
32
|
-
"@alias",
|
|
33
|
-
"@aliases",
|
|
34
|
-
"@assignee",
|
|
35
|
-
"@author",
|
|
36
|
-
"@backref",
|
|
37
|
-
"@callGraph",
|
|
38
|
-
"@callGraphDepth",
|
|
39
|
-
"@callGraphPrimitives",
|
|
40
|
-
"@concept",
|
|
41
|
-
"@describeIn",
|
|
42
|
-
"@description",
|
|
43
|
-
"@details",
|
|
44
|
-
"@docType",
|
|
45
|
-
"@encoding",
|
|
46
|
-
"@evalNamespace",
|
|
47
|
-
"@evalRd",
|
|
48
|
-
"@example",
|
|
49
|
-
"@examples",
|
|
50
|
-
"@export",
|
|
51
|
-
"@exportClass",
|
|
52
|
-
"@exportMethod",
|
|
53
|
-
"@exportPattern",
|
|
54
|
-
"@family",
|
|
55
|
-
"@field",
|
|
56
|
-
"@formals",
|
|
57
|
-
"@format",
|
|
58
|
-
"@import",
|
|
59
|
-
"@importClassesFrom",
|
|
60
|
-
"@importFrom",
|
|
61
|
-
"@importMethodsFrom",
|
|
62
|
-
"@include",
|
|
63
|
-
"@inherit",
|
|
64
|
-
"@inheritDotParams",
|
|
65
|
-
"@inheritParams",
|
|
66
|
-
"@inheritSection",
|
|
67
|
-
"@keywords",
|
|
68
|
-
"@md",
|
|
69
|
-
"@method",
|
|
70
|
-
"@name",
|
|
71
|
-
"@noMd",
|
|
72
|
-
"@noRd",
|
|
73
|
-
"@note",
|
|
74
|
-
"@param",
|
|
75
|
-
"@rawNamespace",
|
|
76
|
-
"@rawRd",
|
|
77
|
-
"@rdname",
|
|
78
|
-
"@references",
|
|
79
|
-
"@return",
|
|
80
|
-
"@S3method",
|
|
81
|
-
"@section",
|
|
82
|
-
"@seealso",
|
|
83
|
-
"@setClass",
|
|
84
|
-
"@slot",
|
|
85
|
-
"@source",
|
|
86
|
-
"@template",
|
|
87
|
-
"@templateVar",
|
|
88
|
-
"@title",
|
|
89
|
-
"@TODO",
|
|
90
|
-
"@usage",
|
|
91
|
-
"@useDynLib"
|
|
92
|
-
],
|
|
93
|
-
constants: [
|
|
94
|
-
"NULL",
|
|
95
|
-
"FALSE",
|
|
96
|
-
"TRUE",
|
|
97
|
-
"NA",
|
|
98
|
-
"Inf",
|
|
99
|
-
"NaN",
|
|
100
|
-
"NA_integer_",
|
|
101
|
-
"NA_real_",
|
|
102
|
-
"NA_complex_",
|
|
103
|
-
"NA_character_",
|
|
104
|
-
"T",
|
|
105
|
-
"F",
|
|
106
|
-
"LETTERS",
|
|
107
|
-
"letters",
|
|
108
|
-
"month.abb",
|
|
109
|
-
"month.name",
|
|
110
|
-
"pi",
|
|
111
|
-
"R.version.string"
|
|
112
|
-
],
|
|
113
|
-
keywords: [
|
|
114
|
-
"break",
|
|
115
|
-
"next",
|
|
116
|
-
"return",
|
|
117
|
-
"if",
|
|
118
|
-
"else",
|
|
119
|
-
"for",
|
|
120
|
-
"in",
|
|
121
|
-
"repeat",
|
|
122
|
-
"while",
|
|
123
|
-
"array",
|
|
124
|
-
"category",
|
|
125
|
-
"character",
|
|
126
|
-
"complex",
|
|
127
|
-
"double",
|
|
128
|
-
"function",
|
|
129
|
-
"integer",
|
|
130
|
-
"list",
|
|
131
|
-
"logical",
|
|
132
|
-
"matrix",
|
|
133
|
-
"numeric",
|
|
134
|
-
"vector",
|
|
135
|
-
"data.frame",
|
|
136
|
-
"factor",
|
|
137
|
-
"library",
|
|
138
|
-
"require",
|
|
139
|
-
"attach",
|
|
140
|
-
"detach",
|
|
141
|
-
"source"
|
|
142
|
-
],
|
|
143
|
-
special: ["\\n", "\\r", "\\t", "\\b", "\\a", "\\f", "\\v", "\\'", '\\"', "\\\\"],
|
|
144
|
-
brackets: [
|
|
145
|
-
{ open: "{", close: "}", token: "delimiter.curly" },
|
|
146
|
-
{ open: "[", close: "]", token: "delimiter.bracket" },
|
|
147
|
-
{ open: "(", close: ")", token: "delimiter.parenthesis" }
|
|
148
|
-
],
|
|
149
|
-
tokenizer: {
|
|
150
|
-
root: [
|
|
151
|
-
{ include: "@numbers" },
|
|
152
|
-
{ include: "@strings" },
|
|
153
|
-
[/[{}\[\]()]/, "@brackets"],
|
|
154
|
-
{ include: "@operators" },
|
|
155
|
-
[/#'$/, "comment.doc"],
|
|
156
|
-
[/#'/, "comment.doc", "@roxygen"],
|
|
157
|
-
[/(^#.*$)/, "comment"],
|
|
158
|
-
[/\s+/, "white"],
|
|
159
|
-
[/[,:;]/, "delimiter"],
|
|
160
|
-
[/@[a-zA-Z]\w*/, "tag"],
|
|
161
|
-
[
|
|
162
|
-
/[a-zA-Z]\w*/,
|
|
163
|
-
{
|
|
164
|
-
cases: {
|
|
165
|
-
"@keywords": "keyword",
|
|
166
|
-
"@constants": "constant",
|
|
167
|
-
"@default": "identifier"
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
]
|
|
171
|
-
],
|
|
172
|
-
roxygen: [
|
|
173
|
-
[
|
|
174
|
-
/@\w+/,
|
|
175
|
-
{
|
|
176
|
-
cases: {
|
|
177
|
-
"@roxygen": "tag",
|
|
178
|
-
"@eos": { token: "comment.doc", next: "@pop" },
|
|
179
|
-
"@default": "comment.doc"
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
],
|
|
183
|
-
[
|
|
184
|
-
/\s+/,
|
|
185
|
-
{
|
|
186
|
-
cases: {
|
|
187
|
-
"@eos": { token: "comment.doc", next: "@pop" },
|
|
188
|
-
"@default": "comment.doc"
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
],
|
|
192
|
-
[/.*/, { token: "comment.doc", next: "@pop" }]
|
|
193
|
-
],
|
|
194
|
-
numbers: [
|
|
195
|
-
[/0[xX][0-9a-fA-F]+/, "number.hex"],
|
|
196
|
-
[/-?(\d*\.)?\d+([eE][+\-]?\d+)?/, "number"]
|
|
197
|
-
],
|
|
198
|
-
operators: [
|
|
199
|
-
[/<{1,2}-/, "operator"],
|
|
200
|
-
[/->{1,2}/, "operator"],
|
|
201
|
-
[/%[^%\s]+%/, "operator"],
|
|
202
|
-
[/\*\*/, "operator"],
|
|
203
|
-
[/%%/, "operator"],
|
|
204
|
-
[/&&/, "operator"],
|
|
205
|
-
[/\|\|/, "operator"],
|
|
206
|
-
[/<</, "operator"],
|
|
207
|
-
[/>>/, "operator"],
|
|
208
|
-
[/[-+=&|!<>^~*/:$]/, "operator"]
|
|
209
|
-
],
|
|
210
|
-
strings: [
|
|
211
|
-
[/'/, "string.escape", "@stringBody"],
|
|
212
|
-
[/"/, "string.escape", "@dblStringBody"]
|
|
213
|
-
],
|
|
214
|
-
stringBody: [
|
|
215
|
-
[
|
|
216
|
-
/\\./,
|
|
217
|
-
{
|
|
218
|
-
cases: {
|
|
219
|
-
"@special": "string",
|
|
220
|
-
"@default": "error-token"
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
],
|
|
224
|
-
[/'/, "string.escape", "@popall"],
|
|
225
|
-
[/./, "string"]
|
|
226
|
-
],
|
|
227
|
-
dblStringBody: [
|
|
228
|
-
[
|
|
229
|
-
/\\./,
|
|
230
|
-
{
|
|
231
|
-
cases: {
|
|
232
|
-
"@special": "string",
|
|
233
|
-
"@default": "error-token"
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
],
|
|
237
|
-
[/"/, "string.escape", "@popall"],
|
|
238
|
-
[/./, "string"]
|
|
239
|
-
]
|
|
240
|
-
}
|
|
241
|
-
};
|
|
242
|
-
export {
|
|
243
|
-
e as conf,
|
|
244
|
-
o as language
|
|
245
|
-
};
|