act-plus 1.1.18 → 1.1.19

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.
Files changed (107) hide show
  1. package/act-plus.js +5 -3
  2. package/act-plus.umd.cjs +1729 -16
  3. package/assets/editor.worker-df55e1ff.js +8 -0
  4. package/assets/ts.worker-e151483b.js +33972 -0
  5. package/lib/abap-1354785f.js +1314 -0
  6. package/lib/apex-279d4f27.js +315 -0
  7. package/lib/azcli-ba812c55.js +74 -0
  8. package/lib/bat-4d77495d.js +95 -0
  9. package/lib/bicep-7b240724.js +108 -0
  10. package/lib/cameligo-5d2daeb8.js +168 -0
  11. package/lib/clojure-b7ea12a3.js +754 -0
  12. package/lib/coffee-1a8cfbf4.js +228 -0
  13. package/lib/{configBtns-58f43801.js → configBtns-3772e689.js} +2 -2
  14. package/lib/{configFileds-b537fd99.js → configFileds-d0911c87.js} +3 -3
  15. package/lib/{configForm-b9e9ca98.js → configForm-ae4b725e.js} +1 -1
  16. package/lib/{configTable-bdb56a9e.js → configTable-879063d4.js} +31 -24
  17. package/lib/cpp-642b10c4.js +387 -0
  18. package/lib/csharp-d987ddad.js +320 -0
  19. package/lib/csp-96407af0.js +57 -0
  20. package/lib/css-5dd354ac.js +186 -0
  21. package/lib/cssMode-6d02ab39.js +1448 -0
  22. package/lib/cypher-11e5a4b6.js +262 -0
  23. package/lib/dart-5d209f63.js +270 -0
  24. package/lib/{dialogAddField-b60d14ab.js → dialogAddField-d6b18048.js} +69 -69
  25. package/lib/{dialogConfigBtn-f5f8703d.js → dialogConfigBtn-75e37dc9.js} +74 -78
  26. package/lib/dockerfile-8739cff7.js +132 -0
  27. package/lib/ecl-a20c5155.js +454 -0
  28. package/lib/elixir-8b028584.js +467 -0
  29. package/lib/{enum-99519ce0.js → enum-cc58b8fe.js} +25 -22
  30. package/lib/flow9-0dea2e73.js +141 -0
  31. package/lib/freemarker2-205877bf.js +646 -0
  32. package/lib/fsharp-49a70fad.js +210 -0
  33. package/lib/go-46e3b371.js +208 -0
  34. package/lib/graphql-51a577e5.js +141 -0
  35. package/lib/handlebars-2d920faa.js +394 -0
  36. package/lib/hcl-56b85754.js +177 -0
  37. package/lib/html-6b99359b.js +284 -0
  38. package/lib/htmlMode-498c17d9.js +1458 -0
  39. package/lib/index-68063c4c.js +96 -0
  40. package/lib/index-7c264775.js +192 -0
  41. package/lib/index-a36b2284.js +304 -0
  42. package/lib/index-aff95ab9.js +63 -0
  43. package/lib/index-da0a0bfe.js +162173 -0
  44. package/lib/index-e2f2023d.js +35 -0
  45. package/lib/{index-9e3ed108.js → index-fb2754ee.js} +1 -1
  46. package/lib/ini-1d58d82f.js +68 -0
  47. package/lib/java-cd017f60.js +221 -0
  48. package/lib/javascript-5e40fe11.js +78 -0
  49. package/lib/jsonMode-2a821e9e.js +1869 -0
  50. package/lib/julia-a0caf483.js +496 -0
  51. package/lib/kotlin-c6e52a56.js +245 -0
  52. package/lib/less-718543b4.js +168 -0
  53. package/lib/lexon-5e6e7a44.js +151 -0
  54. package/lib/liquid-dc78aaf7.js +241 -0
  55. package/lib/lua-f159160b.js +157 -0
  56. package/lib/m3-aadaf771.js +210 -0
  57. package/lib/markdown-9b448c46.js +202 -0
  58. package/lib/mips-161e49ce.js +194 -0
  59. package/lib/msdax-f65cb1e6.js +377 -0
  60. package/lib/mysql-24549dd1.js +875 -0
  61. package/lib/objective-c-e129a5ca.js +188 -0
  62. package/lib/pascal-4ccdf5ce.js +245 -0
  63. package/lib/pascaligo-a9603dcd.js +158 -0
  64. package/lib/perl-ba1fb97a.js +599 -0
  65. package/lib/pgsql-89978310.js +843 -0
  66. package/lib/php-987b9d87.js +471 -0
  67. package/lib/pla-96c2695d.js +131 -0
  68. package/lib/postiats-7b52ebac.js +544 -0
  69. package/lib/powerquery-8954ec26.js +890 -0
  70. package/lib/powershell-f00d0274.js +233 -0
  71. package/lib/protobuf-3eb85f80.js +422 -0
  72. package/lib/pug-6fab415a.js +393 -0
  73. package/lib/python-e55144b2.js +262 -0
  74. package/lib/qsharp-4792f872.js +282 -0
  75. package/lib/r-630f5d6b.js +245 -0
  76. package/lib/razor-1fb88f53.js +515 -0
  77. package/lib/redis-276b8288.js +298 -0
  78. package/lib/redshift-520a7359.js +806 -0
  79. package/lib/restructuredtext-4676a3fc.js +162 -0
  80. package/lib/ruby-764137cd.js +444 -0
  81. package/lib/rust-97f8f6e1.js +337 -0
  82. package/lib/sb-8c22f14c.js +110 -0
  83. package/lib/scala-c68c650c.js +353 -0
  84. package/lib/scheme-e6a52cb0.js +114 -0
  85. package/lib/scss-45104c77.js +244 -0
  86. package/lib/shell-09452d42.js +224 -0
  87. package/lib/solidity-d4979008.js +1351 -0
  88. package/lib/sophia-21995caf.js +190 -0
  89. package/lib/sparql-5088743c.js +193 -0
  90. package/lib/sql-63ec8e76.js +818 -0
  91. package/lib/st-fa9ab362.js +414 -0
  92. package/lib/swift-abdf1835.js +315 -0
  93. package/lib/systemverilog-a4f858ed.js +556 -0
  94. package/lib/tcl-8adf937f.js +232 -0
  95. package/lib/tsMode-8d12d976.js +792 -0
  96. package/lib/twig-404eb73e.js +323 -0
  97. package/lib/typescript-97ed77ae.js +330 -0
  98. package/lib/vb-e21e8153.js +364 -0
  99. package/lib/xml-e843c667.js +98 -0
  100. package/lib/yaml-62bcf3fa.js +187 -0
  101. package/package.json +1 -1
  102. package/style.css +1 -1
  103. package/lib/index-14f7a543.js +0 -165
  104. package/lib/index-1f8ed34b.js +0 -11178
  105. package/lib/index-56217e0e.js +0 -96
  106. package/lib/index-8cb975d8.js +0 -297
  107. package/lib/index-9a1abd6b.js +0 -139
@@ -0,0 +1,387 @@
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
+ };
@@ -0,0 +1,320 @@
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
+ lineComment: "//",
11
+ blockComment: ["/*", "*/"]
12
+ },
13
+ brackets: [
14
+ ["{", "}"],
15
+ ["[", "]"],
16
+ ["(", ")"]
17
+ ],
18
+ autoClosingPairs: [
19
+ { open: "{", close: "}" },
20
+ { open: "[", close: "]" },
21
+ { open: "(", close: ")" },
22
+ { open: "'", close: "'", notIn: ["string", "comment"] },
23
+ { open: '"', close: '"', notIn: ["string", "comment"] }
24
+ ],
25
+ surroundingPairs: [
26
+ { open: "{", close: "}" },
27
+ { open: "[", close: "]" },
28
+ { open: "(", close: ")" },
29
+ { open: "<", close: ">" },
30
+ { open: "'", close: "'" },
31
+ { open: '"', close: '"' }
32
+ ],
33
+ folding: {
34
+ markers: {
35
+ start: new RegExp("^\\s*#region\\b"),
36
+ end: new RegExp("^\\s*#endregion\\b")
37
+ }
38
+ }
39
+ }, t = {
40
+ defaultToken: "",
41
+ tokenPostfix: ".cs",
42
+ brackets: [
43
+ { open: "{", close: "}", token: "delimiter.curly" },
44
+ { open: "[", close: "]", token: "delimiter.square" },
45
+ { open: "(", close: ")", token: "delimiter.parenthesis" },
46
+ { open: "<", close: ">", token: "delimiter.angle" }
47
+ ],
48
+ keywords: [
49
+ "extern",
50
+ "alias",
51
+ "using",
52
+ "bool",
53
+ "decimal",
54
+ "sbyte",
55
+ "byte",
56
+ "short",
57
+ "ushort",
58
+ "int",
59
+ "uint",
60
+ "long",
61
+ "ulong",
62
+ "char",
63
+ "float",
64
+ "double",
65
+ "object",
66
+ "dynamic",
67
+ "string",
68
+ "assembly",
69
+ "is",
70
+ "as",
71
+ "ref",
72
+ "out",
73
+ "this",
74
+ "base",
75
+ "new",
76
+ "typeof",
77
+ "void",
78
+ "checked",
79
+ "unchecked",
80
+ "default",
81
+ "delegate",
82
+ "var",
83
+ "const",
84
+ "if",
85
+ "else",
86
+ "switch",
87
+ "case",
88
+ "while",
89
+ "do",
90
+ "for",
91
+ "foreach",
92
+ "in",
93
+ "break",
94
+ "continue",
95
+ "goto",
96
+ "return",
97
+ "throw",
98
+ "try",
99
+ "catch",
100
+ "finally",
101
+ "lock",
102
+ "yield",
103
+ "from",
104
+ "let",
105
+ "where",
106
+ "join",
107
+ "on",
108
+ "equals",
109
+ "into",
110
+ "orderby",
111
+ "ascending",
112
+ "descending",
113
+ "select",
114
+ "group",
115
+ "by",
116
+ "namespace",
117
+ "partial",
118
+ "class",
119
+ "field",
120
+ "event",
121
+ "method",
122
+ "param",
123
+ "public",
124
+ "protected",
125
+ "internal",
126
+ "private",
127
+ "abstract",
128
+ "sealed",
129
+ "static",
130
+ "struct",
131
+ "readonly",
132
+ "volatile",
133
+ "virtual",
134
+ "override",
135
+ "params",
136
+ "get",
137
+ "set",
138
+ "add",
139
+ "remove",
140
+ "operator",
141
+ "true",
142
+ "false",
143
+ "implicit",
144
+ "explicit",
145
+ "interface",
146
+ "enum",
147
+ "null",
148
+ "async",
149
+ "await",
150
+ "fixed",
151
+ "sizeof",
152
+ "stackalloc",
153
+ "unsafe",
154
+ "nameof",
155
+ "when"
156
+ ],
157
+ namespaceFollows: ["namespace", "using"],
158
+ parenFollows: ["if", "for", "while", "switch", "foreach", "using", "catch", "when"],
159
+ operators: [
160
+ "=",
161
+ "??",
162
+ "||",
163
+ "&&",
164
+ "|",
165
+ "^",
166
+ "&",
167
+ "==",
168
+ "!=",
169
+ "<=",
170
+ ">=",
171
+ "<<",
172
+ "+",
173
+ "-",
174
+ "*",
175
+ "/",
176
+ "%",
177
+ "!",
178
+ "~",
179
+ "++",
180
+ "--",
181
+ "+=",
182
+ "-=",
183
+ "*=",
184
+ "/=",
185
+ "%=",
186
+ "&=",
187
+ "|=",
188
+ "^=",
189
+ "<<=",
190
+ ">>=",
191
+ ">>",
192
+ "=>"
193
+ ],
194
+ symbols: /[=><!~?:&|+\-*\/\^%]+/,
195
+ escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
196
+ tokenizer: {
197
+ root: [
198
+ [
199
+ /\@?[a-zA-Z_]\w*/,
200
+ {
201
+ cases: {
202
+ "@namespaceFollows": {
203
+ token: "keyword.$0",
204
+ next: "@namespace"
205
+ },
206
+ "@keywords": {
207
+ token: "keyword.$0",
208
+ next: "@qualified"
209
+ },
210
+ "@default": { token: "identifier", next: "@qualified" }
211
+ }
212
+ }
213
+ ],
214
+ { include: "@whitespace" },
215
+ [
216
+ /}/,
217
+ {
218
+ cases: {
219
+ "$S2==interpolatedstring": {
220
+ token: "string.quote",
221
+ next: "@pop"
222
+ },
223
+ "$S2==litinterpstring": {
224
+ token: "string.quote",
225
+ next: "@pop"
226
+ },
227
+ "@default": "@brackets"
228
+ }
229
+ }
230
+ ],
231
+ [/[{}()\[\]]/, "@brackets"],
232
+ [/[<>](?!@symbols)/, "@brackets"],
233
+ [
234
+ /@symbols/,
235
+ {
236
+ cases: {
237
+ "@operators": "delimiter",
238
+ "@default": ""
239
+ }
240
+ }
241
+ ],
242
+ [/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?[fFdD]?/, "number.float"],
243
+ [/0[xX][0-9a-fA-F_]+/, "number.hex"],
244
+ [/0[bB][01_]+/, "number.hex"],
245
+ [/[0-9_]+/, "number"],
246
+ [/[;,.]/, "delimiter"],
247
+ [/"([^"\\]|\\.)*$/, "string.invalid"],
248
+ [/"/, { token: "string.quote", next: "@string" }],
249
+ [/\$\@"/, { token: "string.quote", next: "@litinterpstring" }],
250
+ [/\@"/, { token: "string.quote", next: "@litstring" }],
251
+ [/\$"/, { token: "string.quote", next: "@interpolatedstring" }],
252
+ [/'[^\\']'/, "string"],
253
+ [/(')(@escapes)(')/, ["string", "string.escape", "string"]],
254
+ [/'/, "string.invalid"]
255
+ ],
256
+ qualified: [
257
+ [
258
+ /[a-zA-Z_][\w]*/,
259
+ {
260
+ cases: {
261
+ "@keywords": { token: "keyword.$0" },
262
+ "@default": "identifier"
263
+ }
264
+ }
265
+ ],
266
+ [/\./, "delimiter"],
267
+ ["", "", "@pop"]
268
+ ],
269
+ namespace: [
270
+ { include: "@whitespace" },
271
+ [/[A-Z]\w*/, "namespace"],
272
+ [/[\.=]/, "delimiter"],
273
+ ["", "", "@pop"]
274
+ ],
275
+ comment: [
276
+ [/[^\/*]+/, "comment"],
277
+ ["\\*/", "comment", "@pop"],
278
+ [/[\/*]/, "comment"]
279
+ ],
280
+ string: [
281
+ [/[^\\"]+/, "string"],
282
+ [/@escapes/, "string.escape"],
283
+ [/\\./, "string.escape.invalid"],
284
+ [/"/, { token: "string.quote", next: "@pop" }]
285
+ ],
286
+ litstring: [
287
+ [/[^"]+/, "string"],
288
+ [/""/, "string.escape"],
289
+ [/"/, { token: "string.quote", next: "@pop" }]
290
+ ],
291
+ litinterpstring: [
292
+ [/[^"{]+/, "string"],
293
+ [/""/, "string.escape"],
294
+ [/{{/, "string.escape"],
295
+ [/}}/, "string.escape"],
296
+ [/{/, { token: "string.quote", next: "root.litinterpstring" }],
297
+ [/"/, { token: "string.quote", next: "@pop" }]
298
+ ],
299
+ interpolatedstring: [
300
+ [/[^\\"{]+/, "string"],
301
+ [/@escapes/, "string.escape"],
302
+ [/\\./, "string.escape.invalid"],
303
+ [/{{/, "string.escape"],
304
+ [/}}/, "string.escape"],
305
+ [/{/, { token: "string.quote", next: "root.interpolatedstring" }],
306
+ [/"/, { token: "string.quote", next: "@pop" }]
307
+ ],
308
+ whitespace: [
309
+ [/^[ \t\v\f]*#((r)|(load))(?=\s)/, "directive.csx"],
310
+ [/^[ \t\v\f]*#\w.*$/, "namespace.cpp"],
311
+ [/[ \t\v\f\r\n]+/, ""],
312
+ [/\/\*/, "comment", "@comment"],
313
+ [/\/\/.*$/, "comment"]
314
+ ]
315
+ }
316
+ };
317
+ export {
318
+ e as conf,
319
+ t as language
320
+ };