act-plus 1.1.23 → 1.1.25

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 (106) hide show
  1. package/act-plus.js +6 -5
  2. package/act-plus.umd.cjs +87 -1733
  3. package/lib/configBtns-63d416ef.js +152 -0
  4. package/lib/{configFileds-4633be91.js → configFileds-105ca288.js} +13 -11
  5. package/lib/{configTable-160a99e8.js → configTable-5bf09aac.js} +33 -31
  6. package/lib/{dialogAddField-a8db1c57.js → dialogAddField-bb493c88.js} +6 -4
  7. package/lib/{dialogConfigBtn-e5c41ad9.js → dialogConfigBtn-1fcd1496.js} +57 -55
  8. package/lib/{dialogSiteComponentsParams-05a400cc.js → dialogSiteComponentsParams-708737d2.js} +1 -1
  9. package/lib/{index-28cfa770.js → index-6b7ddc83.js} +74 -65
  10. package/lib/{index-44e2732a.js → index-740fe217.js} +10 -8
  11. package/lib/{index-7a1700c3.js → index-9071c381.js} +12 -10
  12. package/lib/{index-421ea84f.js → index-9bd009b2.js} +32 -30
  13. package/lib/index-ba8fa827.js +61597 -0
  14. package/lib/{index-cceb15dd.js → index-f8e81c41.js} +126 -148
  15. package/package.json +2 -6
  16. package/style.css +1 -1
  17. package/assets/css.worker-1af1972f.js +0 -84
  18. package/assets/editor.worker-df55e1ff.js +0 -8
  19. package/assets/html.worker-38c267f1.js +0 -456
  20. package/assets/json.worker-bf861c27.js +0 -39
  21. package/assets/ts.worker-e151483b.js +0 -33972
  22. package/lib/abap-1354785f.js +0 -1314
  23. package/lib/apex-279d4f27.js +0 -315
  24. package/lib/azcli-ba812c55.js +0 -74
  25. package/lib/bat-4d77495d.js +0 -95
  26. package/lib/bicep-7b240724.js +0 -108
  27. package/lib/cameligo-5d2daeb8.js +0 -168
  28. package/lib/clojure-b7ea12a3.js +0 -754
  29. package/lib/coffee-1a8cfbf4.js +0 -228
  30. package/lib/configBtns-c51c642b.js +0 -150
  31. package/lib/cpp-642b10c4.js +0 -387
  32. package/lib/csharp-d987ddad.js +0 -320
  33. package/lib/csp-96407af0.js +0 -57
  34. package/lib/css-5dd354ac.js +0 -186
  35. package/lib/cssMode-55e3e2b9.js +0 -1448
  36. package/lib/cypher-11e5a4b6.js +0 -262
  37. package/lib/dart-5d209f63.js +0 -270
  38. package/lib/dockerfile-8739cff7.js +0 -132
  39. package/lib/ecl-a20c5155.js +0 -454
  40. package/lib/elixir-8b028584.js +0 -467
  41. package/lib/flow9-0dea2e73.js +0 -141
  42. package/lib/freemarker2-86429a9d.js +0 -646
  43. package/lib/fsharp-49a70fad.js +0 -210
  44. package/lib/go-46e3b371.js +0 -208
  45. package/lib/graphql-51a577e5.js +0 -141
  46. package/lib/handlebars-dcad112f.js +0 -394
  47. package/lib/hcl-56b85754.js +0 -177
  48. package/lib/html-95cf87e3.js +0 -284
  49. package/lib/htmlMode-93d4ea14.js +0 -1458
  50. package/lib/index-22ab90dc.js +0 -162522
  51. package/lib/index-e2f2023d.js +0 -35
  52. package/lib/ini-1d58d82f.js +0 -68
  53. package/lib/java-cd017f60.js +0 -221
  54. package/lib/javascript-55252557.js +0 -78
  55. package/lib/jsonMode-b73c28d1.js +0 -1869
  56. package/lib/julia-a0caf483.js +0 -496
  57. package/lib/kotlin-c6e52a56.js +0 -245
  58. package/lib/less-718543b4.js +0 -168
  59. package/lib/lexon-5e6e7a44.js +0 -151
  60. package/lib/liquid-c923578c.js +0 -241
  61. package/lib/lua-f159160b.js +0 -157
  62. package/lib/m3-aadaf771.js +0 -210
  63. package/lib/markdown-9b448c46.js +0 -202
  64. package/lib/mips-161e49ce.js +0 -194
  65. package/lib/msdax-f65cb1e6.js +0 -377
  66. package/lib/mysql-24549dd1.js +0 -875
  67. package/lib/objective-c-e129a5ca.js +0 -188
  68. package/lib/pascal-4ccdf5ce.js +0 -245
  69. package/lib/pascaligo-a9603dcd.js +0 -158
  70. package/lib/perl-ba1fb97a.js +0 -599
  71. package/lib/pgsql-89978310.js +0 -843
  72. package/lib/php-987b9d87.js +0 -471
  73. package/lib/pla-96c2695d.js +0 -131
  74. package/lib/postiats-7b52ebac.js +0 -544
  75. package/lib/powerquery-8954ec26.js +0 -890
  76. package/lib/powershell-f00d0274.js +0 -233
  77. package/lib/protobuf-3eb85f80.js +0 -422
  78. package/lib/pug-6fab415a.js +0 -393
  79. package/lib/python-319c4cbb.js +0 -262
  80. package/lib/qsharp-4792f872.js +0 -282
  81. package/lib/r-630f5d6b.js +0 -245
  82. package/lib/razor-9a8bae51.js +0 -515
  83. package/lib/redis-276b8288.js +0 -298
  84. package/lib/redshift-520a7359.js +0 -806
  85. package/lib/restructuredtext-4676a3fc.js +0 -162
  86. package/lib/ruby-764137cd.js +0 -444
  87. package/lib/rust-97f8f6e1.js +0 -337
  88. package/lib/sb-8c22f14c.js +0 -110
  89. package/lib/scala-c68c650c.js +0 -353
  90. package/lib/scheme-e6a52cb0.js +0 -114
  91. package/lib/scss-45104c77.js +0 -244
  92. package/lib/shell-09452d42.js +0 -224
  93. package/lib/solidity-d4979008.js +0 -1351
  94. package/lib/sophia-21995caf.js +0 -190
  95. package/lib/sparql-5088743c.js +0 -193
  96. package/lib/sql-63ec8e76.js +0 -818
  97. package/lib/st-fa9ab362.js +0 -414
  98. package/lib/swift-abdf1835.js +0 -315
  99. package/lib/systemverilog-a4f858ed.js +0 -556
  100. package/lib/tcl-8adf937f.js +0 -232
  101. package/lib/tsMode-7111578e.js +0 -792
  102. package/lib/twig-404eb73e.js +0 -323
  103. package/lib/typescript-0c5e909b.js +0 -330
  104. package/lib/vb-e21e8153.js +0 -364
  105. package/lib/xml-acd745c7.js +0 -98
  106. package/lib/yaml-c114fa81.js +0 -187
@@ -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
- };
@@ -1,320 +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
- 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
- };