@kong-ui-public/monaco-editor 0.1.1 → 0.1.2-pr.2609.2ce4f4787.0
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/abap-D0Neqhq6.js +1404 -0
- package/dist/apex-B5LhxkeG.js +332 -0
- package/dist/azcli-BrBH0QTU.js +74 -0
- package/dist/bat-BfzAov64.js +106 -0
- package/dist/bicep-C3bCSWel.js +108 -0
- package/dist/cameligo-sFL5plcd.js +180 -0
- package/dist/clojure-CfeExRz0.js +767 -0
- package/dist/coffee-Xws5K0WL.js +238 -0
- package/dist/cpp-CqOUEpxN.js +395 -0
- package/dist/csharp-DVLiBOZb.js +332 -0
- package/dist/csp-DVFp9bw5.js +59 -0
- package/dist/css-DwARn2R6.js +193 -0
- package/dist/cssMode-BRHW0OjB.js +1577 -0
- package/dist/cypher-uY0Mffat.js +269 -0
- package/dist/dart-D27H-mX_.js +287 -0
- package/dist/dockerfile-CmV85WZK.js +136 -0
- package/dist/ecl--fKn7yzB.js +462 -0
- package/dist/editor.main-BVWEsGeM.js +112170 -0
- package/dist/elixir-DUhH17ON.js +575 -0
- package/dist/flow9-B3Dx2LLe.js +148 -0
- package/dist/freemarker2-DrnILGvf.js +995 -0
- package/dist/fsharp-SyqBfUAR.js +223 -0
- package/dist/go-BbMR2tdT.js +224 -0
- package/dist/graphql-DDJE6tIl.js +157 -0
- package/dist/handlebars-D2vGkdp7.js +425 -0
- package/dist/hcl-YBvpaUqf.js +189 -0
- package/dist/html-D3HI-WFO.js +314 -0
- package/dist/htmlMode-CNpiDTvN.js +1587 -0
- package/dist/ini-Ct73dBtM.js +77 -0
- package/dist/java-C_jlkwoG.js +238 -0
- package/dist/javascript-DLZMP-Wa.js +76 -0
- package/dist/jsonMode-CEQtUpLb.js +2002 -0
- package/dist/julia-D8WE5U1e.js +517 -0
- package/dist/kotlin-Zy9aq5yB.js +259 -0
- package/dist/less-sZ0iHtE8.js +168 -0
- package/dist/lexon-CsdNL29A.js +163 -0
- package/dist/liquid-CnqLoV0A.js +246 -0
- package/dist/lua-C2YJo0zw.js +168 -0
- package/dist/m3-CPLP40SG.js +216 -0
- package/dist/markdown-B1mf5e0R.js +235 -0
- package/dist/mdx-C6hXTTY6.js +171 -0
- package/dist/mips-DA33BZX1.js +204 -0
- package/dist/monaco-editor.es.js +224 -14
- package/dist/monaco-editor.umd.js +1913 -1
- package/dist/msdax-CCYFIQsP.js +381 -0
- package/dist/mysql-hjmIjL-D.js +884 -0
- package/dist/objective-c-RRCpEmqC.js +189 -0
- package/dist/pascal-CeV8XfxB.js +257 -0
- package/dist/pascaligo-IEEGVJAJ.js +170 -0
- package/dist/perl-B5-QbHq_.js +632 -0
- package/dist/pgsql-s6kqEJmi.js +857 -0
- package/dist/php-CWWqzOo8.js +506 -0
- package/dist/pla-FSvb_YP_.js +143 -0
- package/dist/postiats-DQdscQXO.js +913 -0
- package/dist/powerquery-CtA5JA1I.js +896 -0
- package/dist/powershell-DglEq96N.js +245 -0
- package/dist/protobuf-BSepub3e.js +426 -0
- package/dist/pug-B1847F4G.js +408 -0
- package/dist/python-CGI_fE8F.js +307 -0
- package/dist/qsharp-D4i0Nqg9.js +307 -0
- package/dist/r-cdRigKxa.js +249 -0
- package/dist/razor-DNVpjohl.js +556 -0
- package/dist/redis-D9MFxvE8.js +308 -0
- package/dist/redshift-CmCnsvL-.js +815 -0
- package/dist/restructuredtext-CWy8J51t.js +180 -0
- package/dist/ruby-WP-c36m5.js +517 -0
- package/dist/rust-Q9FLdYpu.js +349 -0
- package/dist/sb-C54-JBGT.js +121 -0
- package/dist/scala-CzbFImc5.js +376 -0
- package/dist/scheme-BhfDmYN3.js +114 -0
- package/dist/scss-CEmiBXpS.js +268 -0
- package/dist/shell-Bmc1VhG0.js +227 -0
- package/dist/solidity-C9Q2I8Hh.js +1373 -0
- package/dist/sophia-jWa1UyKz.js +205 -0
- package/dist/sparql-CM7jctbc.js +207 -0
- package/dist/sql-WzihTkbg.js +859 -0
- package/dist/st-6y7_3aup.js +422 -0
- package/dist/style.css +1 -0
- package/dist/swift-k-0zxG_D.js +318 -0
- package/dist/systemverilog-Pnr5_rIP.js +582 -0
- package/dist/tcl-fNPXval8.js +238 -0
- package/dist/tsMode-CRUDJ1Gx.js +895 -0
- package/dist/twig-L2MkztkV.js +398 -0
- package/dist/types/composables/useMonacoEditor.d.ts +25 -0
- package/dist/types/composables/useMonacoEditor.d.ts.map +1 -0
- package/dist/types/constants/index.d.ts +3 -0
- package/dist/types/constants/index.d.ts.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/tests/mocks/monaco-editor-api.d.ts +78 -0
- package/dist/types/tests/mocks/monaco-editor-api.d.ts.map +1 -0
- package/dist/types/types/index.d.ts +68 -1
- package/dist/types/types/index.d.ts.map +1 -1
- package/dist/typescript-C2FvJtQm.js +349 -0
- package/dist/typespec-Cqqo-3Pt.js +123 -0
- package/dist/vb-B5YC2xN9.js +378 -0
- package/dist/wgsl-B-_uRex7.js +445 -0
- package/dist/xml-e_XsfZP6.js +101 -0
- package/dist/yaml-DOzdDlyx.js +212 -0
- package/package.json +14 -8
|
@@ -0,0 +1,462 @@
|
|
|
1
|
+
/*!-----------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
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", "comment"] }
|
|
23
|
+
],
|
|
24
|
+
surroundingPairs: [
|
|
25
|
+
{ open: "{", close: "}" },
|
|
26
|
+
{ open: "[", close: "]" },
|
|
27
|
+
{ open: "(", close: ")" },
|
|
28
|
+
{ open: "<", close: ">" },
|
|
29
|
+
{ open: "'", close: "'" },
|
|
30
|
+
{ open: '"', close: '"' }
|
|
31
|
+
]
|
|
32
|
+
}, o = {
|
|
33
|
+
defaultToken: "",
|
|
34
|
+
tokenPostfix: ".ecl",
|
|
35
|
+
ignoreCase: !0,
|
|
36
|
+
brackets: [
|
|
37
|
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
|
38
|
+
{ open: "[", close: "]", token: "delimiter.square" },
|
|
39
|
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
|
40
|
+
{ open: "<", close: ">", token: "delimiter.angle" }
|
|
41
|
+
],
|
|
42
|
+
pounds: [
|
|
43
|
+
"append",
|
|
44
|
+
"break",
|
|
45
|
+
"declare",
|
|
46
|
+
"demangle",
|
|
47
|
+
"end",
|
|
48
|
+
"for",
|
|
49
|
+
"getdatatype",
|
|
50
|
+
"if",
|
|
51
|
+
"inmodule",
|
|
52
|
+
"loop",
|
|
53
|
+
"mangle",
|
|
54
|
+
"onwarning",
|
|
55
|
+
"option",
|
|
56
|
+
"set",
|
|
57
|
+
"stored",
|
|
58
|
+
"uniquename"
|
|
59
|
+
].join("|"),
|
|
60
|
+
keywords: [
|
|
61
|
+
"__compressed__",
|
|
62
|
+
"after",
|
|
63
|
+
"all",
|
|
64
|
+
"and",
|
|
65
|
+
"any",
|
|
66
|
+
"as",
|
|
67
|
+
"atmost",
|
|
68
|
+
"before",
|
|
69
|
+
"beginc",
|
|
70
|
+
"best",
|
|
71
|
+
"between",
|
|
72
|
+
"case",
|
|
73
|
+
"cluster",
|
|
74
|
+
"compressed",
|
|
75
|
+
"compression",
|
|
76
|
+
"const",
|
|
77
|
+
"counter",
|
|
78
|
+
"csv",
|
|
79
|
+
"default",
|
|
80
|
+
"descend",
|
|
81
|
+
"embed",
|
|
82
|
+
"encoding",
|
|
83
|
+
"encrypt",
|
|
84
|
+
"end",
|
|
85
|
+
"endc",
|
|
86
|
+
"endembed",
|
|
87
|
+
"endmacro",
|
|
88
|
+
"enum",
|
|
89
|
+
"escape",
|
|
90
|
+
"except",
|
|
91
|
+
"exclusive",
|
|
92
|
+
"expire",
|
|
93
|
+
"export",
|
|
94
|
+
"extend",
|
|
95
|
+
"fail",
|
|
96
|
+
"few",
|
|
97
|
+
"fileposition",
|
|
98
|
+
"first",
|
|
99
|
+
"flat",
|
|
100
|
+
"forward",
|
|
101
|
+
"from",
|
|
102
|
+
"full",
|
|
103
|
+
"function",
|
|
104
|
+
"functionmacro",
|
|
105
|
+
"group",
|
|
106
|
+
"grouped",
|
|
107
|
+
"heading",
|
|
108
|
+
"hole",
|
|
109
|
+
"ifblock",
|
|
110
|
+
"import",
|
|
111
|
+
"in",
|
|
112
|
+
"inner",
|
|
113
|
+
"interface",
|
|
114
|
+
"internal",
|
|
115
|
+
"joined",
|
|
116
|
+
"keep",
|
|
117
|
+
"keyed",
|
|
118
|
+
"last",
|
|
119
|
+
"left",
|
|
120
|
+
"limit",
|
|
121
|
+
"linkcounted",
|
|
122
|
+
"literal",
|
|
123
|
+
"little_endian",
|
|
124
|
+
"load",
|
|
125
|
+
"local",
|
|
126
|
+
"locale",
|
|
127
|
+
"lookup",
|
|
128
|
+
"lzw",
|
|
129
|
+
"macro",
|
|
130
|
+
"many",
|
|
131
|
+
"maxcount",
|
|
132
|
+
"maxlength",
|
|
133
|
+
"min skew",
|
|
134
|
+
"module",
|
|
135
|
+
"mofn",
|
|
136
|
+
"multiple",
|
|
137
|
+
"named",
|
|
138
|
+
"namespace",
|
|
139
|
+
"nocase",
|
|
140
|
+
"noroot",
|
|
141
|
+
"noscan",
|
|
142
|
+
"nosort",
|
|
143
|
+
"not",
|
|
144
|
+
"noxpath",
|
|
145
|
+
"of",
|
|
146
|
+
"onfail",
|
|
147
|
+
"only",
|
|
148
|
+
"opt",
|
|
149
|
+
"or",
|
|
150
|
+
"outer",
|
|
151
|
+
"overwrite",
|
|
152
|
+
"packed",
|
|
153
|
+
"partition",
|
|
154
|
+
"penalty",
|
|
155
|
+
"physicallength",
|
|
156
|
+
"pipe",
|
|
157
|
+
"prefetch",
|
|
158
|
+
"quote",
|
|
159
|
+
"record",
|
|
160
|
+
"repeat",
|
|
161
|
+
"retry",
|
|
162
|
+
"return",
|
|
163
|
+
"right",
|
|
164
|
+
"right1",
|
|
165
|
+
"right2",
|
|
166
|
+
"rows",
|
|
167
|
+
"rowset",
|
|
168
|
+
"scan",
|
|
169
|
+
"scope",
|
|
170
|
+
"self",
|
|
171
|
+
"separator",
|
|
172
|
+
"service",
|
|
173
|
+
"shared",
|
|
174
|
+
"skew",
|
|
175
|
+
"skip",
|
|
176
|
+
"smart",
|
|
177
|
+
"soapaction",
|
|
178
|
+
"sql",
|
|
179
|
+
"stable",
|
|
180
|
+
"store",
|
|
181
|
+
"terminator",
|
|
182
|
+
"thor",
|
|
183
|
+
"threshold",
|
|
184
|
+
"timelimit",
|
|
185
|
+
"timeout",
|
|
186
|
+
"token",
|
|
187
|
+
"transform",
|
|
188
|
+
"trim",
|
|
189
|
+
"type",
|
|
190
|
+
"unicodeorder",
|
|
191
|
+
"unordered",
|
|
192
|
+
"unsorted",
|
|
193
|
+
"unstable",
|
|
194
|
+
"update",
|
|
195
|
+
"use",
|
|
196
|
+
"validate",
|
|
197
|
+
"virtual",
|
|
198
|
+
"whole",
|
|
199
|
+
"width",
|
|
200
|
+
"wild",
|
|
201
|
+
"within",
|
|
202
|
+
"wnotrim",
|
|
203
|
+
"xml",
|
|
204
|
+
"xpath"
|
|
205
|
+
],
|
|
206
|
+
functions: [
|
|
207
|
+
"abs",
|
|
208
|
+
"acos",
|
|
209
|
+
"aggregate",
|
|
210
|
+
"allnodes",
|
|
211
|
+
"apply",
|
|
212
|
+
"ascii",
|
|
213
|
+
"asin",
|
|
214
|
+
"assert",
|
|
215
|
+
"asstring",
|
|
216
|
+
"atan",
|
|
217
|
+
"atan2",
|
|
218
|
+
"ave",
|
|
219
|
+
"build",
|
|
220
|
+
"buildindex",
|
|
221
|
+
"case",
|
|
222
|
+
"catch",
|
|
223
|
+
"choose",
|
|
224
|
+
"choosen",
|
|
225
|
+
"choosesets",
|
|
226
|
+
"clustersize",
|
|
227
|
+
"combine",
|
|
228
|
+
"correlation",
|
|
229
|
+
"cos",
|
|
230
|
+
"cosh",
|
|
231
|
+
"count",
|
|
232
|
+
"covariance",
|
|
233
|
+
"cron",
|
|
234
|
+
"dataset",
|
|
235
|
+
"dedup",
|
|
236
|
+
"define",
|
|
237
|
+
"denormalize",
|
|
238
|
+
"dictionary",
|
|
239
|
+
"distribute",
|
|
240
|
+
"distributed",
|
|
241
|
+
"distribution",
|
|
242
|
+
"ebcdic",
|
|
243
|
+
"enth",
|
|
244
|
+
"error",
|
|
245
|
+
"evaluate",
|
|
246
|
+
"event",
|
|
247
|
+
"eventextra",
|
|
248
|
+
"eventname",
|
|
249
|
+
"exists",
|
|
250
|
+
"exp",
|
|
251
|
+
"fail",
|
|
252
|
+
"failcode",
|
|
253
|
+
"failmessage",
|
|
254
|
+
"fetch",
|
|
255
|
+
"fromunicode",
|
|
256
|
+
"fromxml",
|
|
257
|
+
"getenv",
|
|
258
|
+
"getisvalid",
|
|
259
|
+
"global",
|
|
260
|
+
"graph",
|
|
261
|
+
"group",
|
|
262
|
+
"hash",
|
|
263
|
+
"hash32",
|
|
264
|
+
"hash64",
|
|
265
|
+
"hashcrc",
|
|
266
|
+
"hashmd5",
|
|
267
|
+
"having",
|
|
268
|
+
"httpcall",
|
|
269
|
+
"httpheader",
|
|
270
|
+
"if",
|
|
271
|
+
"iff",
|
|
272
|
+
"index",
|
|
273
|
+
"intformat",
|
|
274
|
+
"isvalid",
|
|
275
|
+
"iterate",
|
|
276
|
+
"join",
|
|
277
|
+
"keydiff",
|
|
278
|
+
"keypatch",
|
|
279
|
+
"keyunicode",
|
|
280
|
+
"length",
|
|
281
|
+
"library",
|
|
282
|
+
"limit",
|
|
283
|
+
"ln",
|
|
284
|
+
"loadxml",
|
|
285
|
+
"local",
|
|
286
|
+
"log",
|
|
287
|
+
"loop",
|
|
288
|
+
"map",
|
|
289
|
+
"matched",
|
|
290
|
+
"matchlength",
|
|
291
|
+
"matchposition",
|
|
292
|
+
"matchtext",
|
|
293
|
+
"matchunicode",
|
|
294
|
+
"max",
|
|
295
|
+
"merge",
|
|
296
|
+
"mergejoin",
|
|
297
|
+
"min",
|
|
298
|
+
"nofold",
|
|
299
|
+
"nolocal",
|
|
300
|
+
"nonempty",
|
|
301
|
+
"normalize",
|
|
302
|
+
"nothor",
|
|
303
|
+
"notify",
|
|
304
|
+
"output",
|
|
305
|
+
"parallel",
|
|
306
|
+
"parse",
|
|
307
|
+
"pipe",
|
|
308
|
+
"power",
|
|
309
|
+
"preload",
|
|
310
|
+
"process",
|
|
311
|
+
"project",
|
|
312
|
+
"pull",
|
|
313
|
+
"random",
|
|
314
|
+
"range",
|
|
315
|
+
"rank",
|
|
316
|
+
"ranked",
|
|
317
|
+
"realformat",
|
|
318
|
+
"recordof",
|
|
319
|
+
"regexfind",
|
|
320
|
+
"regexreplace",
|
|
321
|
+
"regroup",
|
|
322
|
+
"rejected",
|
|
323
|
+
"rollup",
|
|
324
|
+
"round",
|
|
325
|
+
"roundup",
|
|
326
|
+
"row",
|
|
327
|
+
"rowdiff",
|
|
328
|
+
"sample",
|
|
329
|
+
"sequential",
|
|
330
|
+
"set",
|
|
331
|
+
"sin",
|
|
332
|
+
"sinh",
|
|
333
|
+
"sizeof",
|
|
334
|
+
"soapcall",
|
|
335
|
+
"sort",
|
|
336
|
+
"sorted",
|
|
337
|
+
"sqrt",
|
|
338
|
+
"stepped",
|
|
339
|
+
"stored",
|
|
340
|
+
"sum",
|
|
341
|
+
"table",
|
|
342
|
+
"tan",
|
|
343
|
+
"tanh",
|
|
344
|
+
"thisnode",
|
|
345
|
+
"topn",
|
|
346
|
+
"tounicode",
|
|
347
|
+
"toxml",
|
|
348
|
+
"transfer",
|
|
349
|
+
"transform",
|
|
350
|
+
"trim",
|
|
351
|
+
"truncate",
|
|
352
|
+
"typeof",
|
|
353
|
+
"ungroup",
|
|
354
|
+
"unicodeorder",
|
|
355
|
+
"variance",
|
|
356
|
+
"wait",
|
|
357
|
+
"which",
|
|
358
|
+
"workunit",
|
|
359
|
+
"xmldecode",
|
|
360
|
+
"xmlencode",
|
|
361
|
+
"xmltext",
|
|
362
|
+
"xmlunicode"
|
|
363
|
+
],
|
|
364
|
+
typesint: ["integer", "unsigned"].join("|"),
|
|
365
|
+
typesnum: ["data", "qstring", "string", "unicode", "utf8", "varstring", "varunicode"],
|
|
366
|
+
typesone: [
|
|
367
|
+
"ascii",
|
|
368
|
+
"big_endian",
|
|
369
|
+
"boolean",
|
|
370
|
+
"data",
|
|
371
|
+
"decimal",
|
|
372
|
+
"ebcdic",
|
|
373
|
+
"grouped",
|
|
374
|
+
"integer",
|
|
375
|
+
"linkcounted",
|
|
376
|
+
"pattern",
|
|
377
|
+
"qstring",
|
|
378
|
+
"real",
|
|
379
|
+
"record",
|
|
380
|
+
"rule",
|
|
381
|
+
"set of",
|
|
382
|
+
"streamed",
|
|
383
|
+
"string",
|
|
384
|
+
"token",
|
|
385
|
+
"udecimal",
|
|
386
|
+
"unicode",
|
|
387
|
+
"unsigned",
|
|
388
|
+
"utf8",
|
|
389
|
+
"varstring",
|
|
390
|
+
"varunicode"
|
|
391
|
+
].join("|"),
|
|
392
|
+
operators: ["+", "-", "/", ":=", "<", "<>", "=", ">", "\\", "and", "in", "not", "or"],
|
|
393
|
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
|
394
|
+
// escape sequences
|
|
395
|
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
396
|
+
// The main tokenizer for our languages
|
|
397
|
+
tokenizer: {
|
|
398
|
+
root: [
|
|
399
|
+
[/@typesint[4|8]/, "type"],
|
|
400
|
+
[/#(@pounds)/, "type"],
|
|
401
|
+
[/@typesone/, "type"],
|
|
402
|
+
[
|
|
403
|
+
/[a-zA-Z_$][\w-$]*/,
|
|
404
|
+
{
|
|
405
|
+
cases: {
|
|
406
|
+
"@functions": "keyword.function",
|
|
407
|
+
"@keywords": "keyword",
|
|
408
|
+
"@operators": "operator"
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
],
|
|
412
|
+
// whitespace
|
|
413
|
+
{ include: "@whitespace" },
|
|
414
|
+
[/[{}()\[\]]/, "@brackets"],
|
|
415
|
+
[/[<>](?!@symbols)/, "@brackets"],
|
|
416
|
+
[
|
|
417
|
+
/@symbols/,
|
|
418
|
+
{
|
|
419
|
+
cases: {
|
|
420
|
+
"@operators": "delimiter",
|
|
421
|
+
"@default": ""
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
],
|
|
425
|
+
// numbers
|
|
426
|
+
[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?/, "number.float"],
|
|
427
|
+
[/0[xX][0-9a-fA-F_]+/, "number.hex"],
|
|
428
|
+
[/0[bB][01]+/, "number.hex"],
|
|
429
|
+
// binary: use same theme style as hex
|
|
430
|
+
[/[0-9_]+/, "number"],
|
|
431
|
+
// delimiter: after number because of .\d floats
|
|
432
|
+
[/[;,.]/, "delimiter"],
|
|
433
|
+
// strings
|
|
434
|
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
|
435
|
+
[/"/, "string", "@string"],
|
|
436
|
+
// characters
|
|
437
|
+
[/'[^\\']'/, "string"],
|
|
438
|
+
[/(')(@escapes)(')/, ["string", "string.escape", "string"]],
|
|
439
|
+
[/'/, "string.invalid"]
|
|
440
|
+
],
|
|
441
|
+
whitespace: [
|
|
442
|
+
[/[ \t\v\f\r\n]+/, ""],
|
|
443
|
+
[/\/\*/, "comment", "@comment"],
|
|
444
|
+
[/\/\/.*$/, "comment"]
|
|
445
|
+
],
|
|
446
|
+
comment: [
|
|
447
|
+
[/[^\/*]+/, "comment"],
|
|
448
|
+
[/\*\//, "comment", "@pop"],
|
|
449
|
+
[/[\/*]/, "comment"]
|
|
450
|
+
],
|
|
451
|
+
string: [
|
|
452
|
+
[/[^\\']+/, "string"],
|
|
453
|
+
[/@escapes/, "string.escape"],
|
|
454
|
+
[/\\./, "string.escape.invalid"],
|
|
455
|
+
[/'/, "string", "@pop"]
|
|
456
|
+
]
|
|
457
|
+
}
|
|
458
|
+
};
|
|
459
|
+
export {
|
|
460
|
+
e as conf,
|
|
461
|
+
o as language
|
|
462
|
+
};
|