@devtron-labs/devtron-fe-common-lib 1.1.6-beta-2 → 1.1.6-beta-3
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-DttVK1gE.js +1314 -0
- package/dist/apex-BjfHvyb2.js +315 -0
- package/dist/assets/index.css +1 -0
- package/dist/azcli-Ws-Trf8e.js +74 -0
- package/dist/bat-CeCHpU9_.js +95 -0
- package/dist/bicep-C7a7aEmi.js +108 -0
- package/dist/cameligo-CJeEIvX4.js +168 -0
- package/dist/clojure-CEKXhLdU.js +754 -0
- package/dist/coffee-CKu3e6V1.js +228 -0
- package/dist/cpp-CvUiT5Ec.js +390 -0
- package/dist/csharp-PmU9HJkB.js +320 -0
- package/dist/csp-DULvRLPF.js +57 -0
- package/dist/css-CNWXQPpt.js +186 -0
- package/dist/cssMode-LuGmMkrz.js +1446 -0
- package/dist/cypher-CYHOQS2R.js +262 -0
- package/dist/dart-BjGx-9Jk.js +270 -0
- package/dist/dockerfile-D0WaVIZ2.js +132 -0
- package/dist/ecl-CijaJu-p.js +454 -0
- package/dist/elixir-BI5Tc37S.js +489 -0
- package/dist/flow9-BApGtQOO.js +141 -0
- package/dist/freemarker2-x4RlP1Lb.js +643 -0
- package/dist/fsharp-VeKgt2eG.js +210 -0
- package/dist/go-Cl8cKDlN.js +208 -0
- package/dist/graphql-PfgPBmj4.js +141 -0
- package/dist/handlebars-CmzmbrC4.js +391 -0
- package/dist/hcl-CG4VZSkm.js +177 -0
- package/dist/html-C5BGMOju.js +281 -0
- package/dist/htmlMode-ojR1UPbw.js +1456 -0
- package/dist/index-D-Wm7m6U.js +163399 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +429 -430
- package/dist/ini-EhiBNPZF.js +68 -0
- package/dist/java-DPbnXhoY.js +221 -0
- package/dist/javascript-B1bShWIo.js +75 -0
- package/dist/jsonMode-COdOy9-_.js +1866 -0
- package/dist/julia-Bw7EYexg.js +496 -0
- package/dist/kotlin-BNXLDoV0.js +245 -0
- package/dist/less-DtuF_id_.js +168 -0
- package/dist/lexon-DpB0-37O.js +151 -0
- package/dist/liquid-BjXJHFpF.js +238 -0
- package/dist/lua-CzRNOk9S.js +157 -0
- package/dist/m3-pXPmDwal.js +210 -0
- package/dist/markdown-CeQ3rxjn.js +202 -0
- package/dist/mdx-XJRNLcdB.js +171 -0
- package/dist/mips-DyE0VSNz.js +194 -0
- package/dist/msdax-CbdkoqRa.js +377 -0
- package/dist/mysql-B86-uHNu.js +876 -0
- package/dist/objective-c-1xvkKPId.js +188 -0
- package/dist/pascal-DcyFhj80.js +245 -0
- package/dist/pascaligo-QnM0hvMG.js +158 -0
- package/dist/perl-Bqp3FbU4.js +599 -0
- package/dist/pgsql-HdG7BG_Z.js +847 -0
- package/dist/php-zf7L2p7t.js +471 -0
- package/dist/pla-3Ykqsyzl.js +131 -0
- package/dist/postiats-D1v08O4B.js +544 -0
- package/dist/powerquery-CiQ9b1-b.js +890 -0
- package/dist/powershell-DFNK6VaX.js +233 -0
- package/dist/protobuf-D5P2Z6tc.js +422 -0
- package/dist/pug-BeyMX5am.js +393 -0
- package/dist/python-CEuHuu7a.js +259 -0
- package/dist/qsharp-DcFOTjuP.js +282 -0
- package/dist/r-B3aJPcWp.js +245 -0
- package/dist/razor-ByG7kYAl.js +512 -0
- package/dist/redis-CyC__Tub.js +298 -0
- package/dist/redshift-NqbcQPcY.js +806 -0
- package/dist/restructuredtext-CZMxBkap.js +162 -0
- package/dist/ruby-C_jEtDv5.js +444 -0
- package/dist/rust-WAeitMCC.js +337 -0
- package/dist/sb-CSBm2pED.js +110 -0
- package/dist/scala-D76PhKmh.js +353 -0
- package/dist/scheme-CBSAjRuO.js +114 -0
- package/dist/scss-BHY8wFFg.js +244 -0
- package/dist/shell-Cwju9_l8.js +224 -0
- package/dist/solidity-BV1-nze3.js +1351 -0
- package/dist/sophia-DfoUlGAs.js +190 -0
- package/dist/sparql-4kfArTtK.js +193 -0
- package/dist/sql-DIpn0HSX.js +818 -0
- package/dist/st-BgJ_KDZh.js +415 -0
- package/dist/swift-D-ucEgIi.js +315 -0
- package/dist/systemverilog-DjkH5zuo.js +556 -0
- package/dist/tcl-gd8XLKJA.js +232 -0
- package/dist/tsMode-GtXif5Eu.js +810 -0
- package/dist/twig-D5XtTFGM.js +323 -0
- package/dist/typescript-FqIgT4Lb.js +328 -0
- package/dist/vb-DYqqYAf3.js +364 -0
- package/dist/wgsl-CkZE0qf3.js +420 -0
- package/dist/xml-BUcUe2Ft.js +95 -0
- package/dist/yaml-CFa20EYw.js +184 -0
- package/package.json +5 -4
- package/dist/@code-editor-Vbkor1r4.js +0 -18991
- package/dist/@common-rjsf-6UM_zh8b.js +0 -567
- package/dist/@framer-motion-DHY98qq3.js +0 -3437
- package/dist/@moment-C_WeV3Af.js +0 -2609
- package/dist/@monaco-editor-34kqzg3G.js +0 -70451
- package/dist/@react-dates-WNnwjI5S.js +0 -7708
- package/dist/@react-select-BbR996pa.js +0 -2636
- package/dist/@src-assets-images-DamVa6cS.js +0 -14
- package/dist/@vendor-RU8AW1bK.js +0 -20473
- package/dist/assets/@code-editor.css +0 -1
- package/dist/assets/@common-rjsf.css +0 -1
- package/dist/assets/@monaco-editor.css +0 -1
- package/dist/assets/@react-dates.css +0 -1
- package/dist/assets/@vendor.css +0 -1
|
@@ -0,0 +1,496 @@
|
|
|
1
|
+
/*!-----------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
4
|
+
* Released under the MIT license
|
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
+
*-----------------------------------------------------------------------------*/
|
|
7
|
+
var e = {
|
|
8
|
+
brackets: [
|
|
9
|
+
["{", "}"],
|
|
10
|
+
["[", "]"],
|
|
11
|
+
["(", ")"]
|
|
12
|
+
],
|
|
13
|
+
autoClosingPairs: [
|
|
14
|
+
{ open: "{", close: "}" },
|
|
15
|
+
{ open: "[", close: "]" },
|
|
16
|
+
{ open: "(", close: ")" },
|
|
17
|
+
{ open: '"', close: '"' },
|
|
18
|
+
{ open: "'", close: "'" }
|
|
19
|
+
],
|
|
20
|
+
surroundingPairs: [
|
|
21
|
+
{ open: "{", close: "}" },
|
|
22
|
+
{ open: "[", close: "]" },
|
|
23
|
+
{ open: "(", close: ")" },
|
|
24
|
+
{ open: '"', close: '"' },
|
|
25
|
+
{ open: "'", close: "'" }
|
|
26
|
+
]
|
|
27
|
+
}, t = {
|
|
28
|
+
tokenPostfix: ".julia",
|
|
29
|
+
keywords: [
|
|
30
|
+
"begin",
|
|
31
|
+
"while",
|
|
32
|
+
"if",
|
|
33
|
+
"for",
|
|
34
|
+
"try",
|
|
35
|
+
"return",
|
|
36
|
+
"break",
|
|
37
|
+
"continue",
|
|
38
|
+
"function",
|
|
39
|
+
"macro",
|
|
40
|
+
"quote",
|
|
41
|
+
"let",
|
|
42
|
+
"local",
|
|
43
|
+
"global",
|
|
44
|
+
"const",
|
|
45
|
+
"do",
|
|
46
|
+
"struct",
|
|
47
|
+
"module",
|
|
48
|
+
"baremodule",
|
|
49
|
+
"using",
|
|
50
|
+
"import",
|
|
51
|
+
"export",
|
|
52
|
+
"end",
|
|
53
|
+
"else",
|
|
54
|
+
"elseif",
|
|
55
|
+
"catch",
|
|
56
|
+
"finally",
|
|
57
|
+
"mutable",
|
|
58
|
+
"primitive",
|
|
59
|
+
"abstract",
|
|
60
|
+
"type",
|
|
61
|
+
"in",
|
|
62
|
+
"isa",
|
|
63
|
+
"where",
|
|
64
|
+
"new"
|
|
65
|
+
],
|
|
66
|
+
types: [
|
|
67
|
+
"LinRange",
|
|
68
|
+
"LineNumberNode",
|
|
69
|
+
"LinearIndices",
|
|
70
|
+
"LoadError",
|
|
71
|
+
"MIME",
|
|
72
|
+
"Matrix",
|
|
73
|
+
"Method",
|
|
74
|
+
"MethodError",
|
|
75
|
+
"Missing",
|
|
76
|
+
"MissingException",
|
|
77
|
+
"Module",
|
|
78
|
+
"NTuple",
|
|
79
|
+
"NamedTuple",
|
|
80
|
+
"Nothing",
|
|
81
|
+
"Number",
|
|
82
|
+
"OrdinalRange",
|
|
83
|
+
"OutOfMemoryError",
|
|
84
|
+
"OverflowError",
|
|
85
|
+
"Pair",
|
|
86
|
+
"PartialQuickSort",
|
|
87
|
+
"PermutedDimsArray",
|
|
88
|
+
"Pipe",
|
|
89
|
+
"Ptr",
|
|
90
|
+
"QuoteNode",
|
|
91
|
+
"Rational",
|
|
92
|
+
"RawFD",
|
|
93
|
+
"ReadOnlyMemoryError",
|
|
94
|
+
"Real",
|
|
95
|
+
"ReentrantLock",
|
|
96
|
+
"Ref",
|
|
97
|
+
"Regex",
|
|
98
|
+
"RegexMatch",
|
|
99
|
+
"RoundingMode",
|
|
100
|
+
"SegmentationFault",
|
|
101
|
+
"Set",
|
|
102
|
+
"Signed",
|
|
103
|
+
"Some",
|
|
104
|
+
"StackOverflowError",
|
|
105
|
+
"StepRange",
|
|
106
|
+
"StepRangeLen",
|
|
107
|
+
"StridedArray",
|
|
108
|
+
"StridedMatrix",
|
|
109
|
+
"StridedVecOrMat",
|
|
110
|
+
"StridedVector",
|
|
111
|
+
"String",
|
|
112
|
+
"StringIndexError",
|
|
113
|
+
"SubArray",
|
|
114
|
+
"SubString",
|
|
115
|
+
"SubstitutionString",
|
|
116
|
+
"Symbol",
|
|
117
|
+
"SystemError",
|
|
118
|
+
"Task",
|
|
119
|
+
"Text",
|
|
120
|
+
"TextDisplay",
|
|
121
|
+
"Timer",
|
|
122
|
+
"Tuple",
|
|
123
|
+
"Type",
|
|
124
|
+
"TypeError",
|
|
125
|
+
"TypeVar",
|
|
126
|
+
"UInt",
|
|
127
|
+
"UInt128",
|
|
128
|
+
"UInt16",
|
|
129
|
+
"UInt32",
|
|
130
|
+
"UInt64",
|
|
131
|
+
"UInt8",
|
|
132
|
+
"UndefInitializer",
|
|
133
|
+
"AbstractArray",
|
|
134
|
+
"UndefKeywordError",
|
|
135
|
+
"AbstractChannel",
|
|
136
|
+
"UndefRefError",
|
|
137
|
+
"AbstractChar",
|
|
138
|
+
"UndefVarError",
|
|
139
|
+
"AbstractDict",
|
|
140
|
+
"Union",
|
|
141
|
+
"AbstractDisplay",
|
|
142
|
+
"UnionAll",
|
|
143
|
+
"AbstractFloat",
|
|
144
|
+
"UnitRange",
|
|
145
|
+
"AbstractIrrational",
|
|
146
|
+
"Unsigned",
|
|
147
|
+
"AbstractMatrix",
|
|
148
|
+
"AbstractRange",
|
|
149
|
+
"Val",
|
|
150
|
+
"AbstractSet",
|
|
151
|
+
"Vararg",
|
|
152
|
+
"AbstractString",
|
|
153
|
+
"VecElement",
|
|
154
|
+
"AbstractUnitRange",
|
|
155
|
+
"VecOrMat",
|
|
156
|
+
"AbstractVecOrMat",
|
|
157
|
+
"Vector",
|
|
158
|
+
"AbstractVector",
|
|
159
|
+
"VersionNumber",
|
|
160
|
+
"Any",
|
|
161
|
+
"WeakKeyDict",
|
|
162
|
+
"ArgumentError",
|
|
163
|
+
"WeakRef",
|
|
164
|
+
"Array",
|
|
165
|
+
"AssertionError",
|
|
166
|
+
"BigFloat",
|
|
167
|
+
"BigInt",
|
|
168
|
+
"BitArray",
|
|
169
|
+
"BitMatrix",
|
|
170
|
+
"BitSet",
|
|
171
|
+
"BitVector",
|
|
172
|
+
"Bool",
|
|
173
|
+
"BoundsError",
|
|
174
|
+
"CapturedException",
|
|
175
|
+
"CartesianIndex",
|
|
176
|
+
"CartesianIndices",
|
|
177
|
+
"Cchar",
|
|
178
|
+
"Cdouble",
|
|
179
|
+
"Cfloat",
|
|
180
|
+
"Channel",
|
|
181
|
+
"Char",
|
|
182
|
+
"Cint",
|
|
183
|
+
"Cintmax_t",
|
|
184
|
+
"Clong",
|
|
185
|
+
"Clonglong",
|
|
186
|
+
"Cmd",
|
|
187
|
+
"Colon",
|
|
188
|
+
"Complex",
|
|
189
|
+
"ComplexF16",
|
|
190
|
+
"ComplexF32",
|
|
191
|
+
"ComplexF64",
|
|
192
|
+
"CompositeException",
|
|
193
|
+
"Condition",
|
|
194
|
+
"Cptrdiff_t",
|
|
195
|
+
"Cshort",
|
|
196
|
+
"Csize_t",
|
|
197
|
+
"Cssize_t",
|
|
198
|
+
"Cstring",
|
|
199
|
+
"Cuchar",
|
|
200
|
+
"Cuint",
|
|
201
|
+
"Cuintmax_t",
|
|
202
|
+
"Culong",
|
|
203
|
+
"Culonglong",
|
|
204
|
+
"Cushort",
|
|
205
|
+
"Cvoid",
|
|
206
|
+
"Cwchar_t",
|
|
207
|
+
"Cwstring",
|
|
208
|
+
"DataType",
|
|
209
|
+
"DenseArray",
|
|
210
|
+
"DenseMatrix",
|
|
211
|
+
"DenseVecOrMat",
|
|
212
|
+
"DenseVector",
|
|
213
|
+
"Dict",
|
|
214
|
+
"DimensionMismatch",
|
|
215
|
+
"Dims",
|
|
216
|
+
"DivideError",
|
|
217
|
+
"DomainError",
|
|
218
|
+
"EOFError",
|
|
219
|
+
"Enum",
|
|
220
|
+
"ErrorException",
|
|
221
|
+
"Exception",
|
|
222
|
+
"ExponentialBackOff",
|
|
223
|
+
"Expr",
|
|
224
|
+
"Float16",
|
|
225
|
+
"Float32",
|
|
226
|
+
"Float64",
|
|
227
|
+
"Function",
|
|
228
|
+
"GlobalRef",
|
|
229
|
+
"HTML",
|
|
230
|
+
"IO",
|
|
231
|
+
"IOBuffer",
|
|
232
|
+
"IOContext",
|
|
233
|
+
"IOStream",
|
|
234
|
+
"IdDict",
|
|
235
|
+
"IndexCartesian",
|
|
236
|
+
"IndexLinear",
|
|
237
|
+
"IndexStyle",
|
|
238
|
+
"InexactError",
|
|
239
|
+
"InitError",
|
|
240
|
+
"Int",
|
|
241
|
+
"Int128",
|
|
242
|
+
"Int16",
|
|
243
|
+
"Int32",
|
|
244
|
+
"Int64",
|
|
245
|
+
"Int8",
|
|
246
|
+
"Integer",
|
|
247
|
+
"InterruptException",
|
|
248
|
+
"InvalidStateException",
|
|
249
|
+
"Irrational",
|
|
250
|
+
"KeyError"
|
|
251
|
+
],
|
|
252
|
+
keywordops: ["<:", ">:", ":", "=>", "...", ".", "->", "?"],
|
|
253
|
+
allops: /[^\w\d\s()\[\]{}"'#]+/,
|
|
254
|
+
constants: [
|
|
255
|
+
"true",
|
|
256
|
+
"false",
|
|
257
|
+
"nothing",
|
|
258
|
+
"missing",
|
|
259
|
+
"undef",
|
|
260
|
+
"Inf",
|
|
261
|
+
"pi",
|
|
262
|
+
"NaN",
|
|
263
|
+
"π",
|
|
264
|
+
"ℯ",
|
|
265
|
+
"ans",
|
|
266
|
+
"PROGRAM_FILE",
|
|
267
|
+
"ARGS",
|
|
268
|
+
"C_NULL",
|
|
269
|
+
"VERSION",
|
|
270
|
+
"DEPOT_PATH",
|
|
271
|
+
"LOAD_PATH"
|
|
272
|
+
],
|
|
273
|
+
operators: [
|
|
274
|
+
"!",
|
|
275
|
+
"!=",
|
|
276
|
+
"!==",
|
|
277
|
+
"%",
|
|
278
|
+
"&",
|
|
279
|
+
"*",
|
|
280
|
+
"+",
|
|
281
|
+
"-",
|
|
282
|
+
"/",
|
|
283
|
+
"//",
|
|
284
|
+
"<",
|
|
285
|
+
"<<",
|
|
286
|
+
"<=",
|
|
287
|
+
"==",
|
|
288
|
+
"===",
|
|
289
|
+
"=>",
|
|
290
|
+
">",
|
|
291
|
+
">=",
|
|
292
|
+
">>",
|
|
293
|
+
">>>",
|
|
294
|
+
"\\",
|
|
295
|
+
"^",
|
|
296
|
+
"|",
|
|
297
|
+
"|>",
|
|
298
|
+
"~",
|
|
299
|
+
"÷",
|
|
300
|
+
"∈",
|
|
301
|
+
"∉",
|
|
302
|
+
"∋",
|
|
303
|
+
"∌",
|
|
304
|
+
"∘",
|
|
305
|
+
"√",
|
|
306
|
+
"∛",
|
|
307
|
+
"∩",
|
|
308
|
+
"∪",
|
|
309
|
+
"≈",
|
|
310
|
+
"≉",
|
|
311
|
+
"≠",
|
|
312
|
+
"≡",
|
|
313
|
+
"≢",
|
|
314
|
+
"≤",
|
|
315
|
+
"≥",
|
|
316
|
+
"⊆",
|
|
317
|
+
"⊇",
|
|
318
|
+
"⊈",
|
|
319
|
+
"⊉",
|
|
320
|
+
"⊊",
|
|
321
|
+
"⊋",
|
|
322
|
+
"⊻"
|
|
323
|
+
],
|
|
324
|
+
brackets: [
|
|
325
|
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
|
326
|
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
|
327
|
+
{ open: "[", close: "]", token: "delimiter.square" }
|
|
328
|
+
],
|
|
329
|
+
ident: /π|ℯ|\b(?!\d)\w+\b/,
|
|
330
|
+
escape: /(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,
|
|
331
|
+
escapes: /\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/,
|
|
332
|
+
tokenizer: {
|
|
333
|
+
root: [
|
|
334
|
+
[/(::)\s*|\b(isa)\s+/, "keyword", "@typeanno"],
|
|
335
|
+
[/\b(isa)(\s*\(@ident\s*,\s*)/, ["keyword", { token: "", next: "@typeanno" }]],
|
|
336
|
+
[/\b(type|struct)[ \t]+/, "keyword", "@typeanno"],
|
|
337
|
+
[/^\s*:@ident[!?]?/, "metatag"],
|
|
338
|
+
[/(return)(\s*:@ident[!?]?)/, ["keyword", "metatag"]],
|
|
339
|
+
[/(\(|\[|\{|@allops)(\s*:@ident[!?]?)/, ["", "metatag"]],
|
|
340
|
+
[/:\(/, "metatag", "@quote"],
|
|
341
|
+
[/r"""/, "regexp.delim", "@tregexp"],
|
|
342
|
+
[/r"/, "regexp.delim", "@sregexp"],
|
|
343
|
+
[/raw"""/, "string.delim", "@rtstring"],
|
|
344
|
+
[/[bv]?"""/, "string.delim", "@dtstring"],
|
|
345
|
+
[/raw"/, "string.delim", "@rsstring"],
|
|
346
|
+
[/[bv]?"/, "string.delim", "@dsstring"],
|
|
347
|
+
[
|
|
348
|
+
/(@ident)\{/,
|
|
349
|
+
{
|
|
350
|
+
cases: {
|
|
351
|
+
"$1@types": { token: "type", next: "@gen" },
|
|
352
|
+
"@default": { token: "type", next: "@gen" }
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
],
|
|
356
|
+
[
|
|
357
|
+
/@ident[!?'']?(?=\.?\()/,
|
|
358
|
+
{
|
|
359
|
+
cases: {
|
|
360
|
+
"@types": "type",
|
|
361
|
+
"@keywords": "keyword",
|
|
362
|
+
"@constants": "variable",
|
|
363
|
+
"@default": "keyword.flow"
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
],
|
|
367
|
+
[
|
|
368
|
+
/@ident[!?']?/,
|
|
369
|
+
{
|
|
370
|
+
cases: {
|
|
371
|
+
"@types": "type",
|
|
372
|
+
"@keywords": "keyword",
|
|
373
|
+
"@constants": "variable",
|
|
374
|
+
"@default": "identifier"
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
],
|
|
378
|
+
[/\$\w+/, "key"],
|
|
379
|
+
[/\$\(/, "key", "@paste"],
|
|
380
|
+
[/@@@ident/, "annotation"],
|
|
381
|
+
{ include: "@whitespace" },
|
|
382
|
+
[/'(?:@escapes|.)'/, "string.character"],
|
|
383
|
+
[/[()\[\]{}]/, "@brackets"],
|
|
384
|
+
[
|
|
385
|
+
/@allops/,
|
|
386
|
+
{
|
|
387
|
+
cases: {
|
|
388
|
+
"@keywordops": "keyword",
|
|
389
|
+
"@operators": "operator"
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
],
|
|
393
|
+
[/[;,]/, "delimiter"],
|
|
394
|
+
[/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/, "number.hex"],
|
|
395
|
+
[/0[_oO][0-7](_?[0-7])*/, "number.octal"],
|
|
396
|
+
[/0[bB][01](_?[01])*/, "number.binary"],
|
|
397
|
+
[/[+\-]?\d+(\.\d+)?(im?|[eE][+\-]?\d+(\.\d+)?)?/, "number"]
|
|
398
|
+
],
|
|
399
|
+
typeanno: [
|
|
400
|
+
[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/, "type", "@gen"],
|
|
401
|
+
[/([a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*)(\s*<:\s*)/, ["type", "keyword"]],
|
|
402
|
+
[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/, "type", "@pop"],
|
|
403
|
+
["", "", "@pop"]
|
|
404
|
+
],
|
|
405
|
+
gen: [
|
|
406
|
+
[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/, "type", "@push"],
|
|
407
|
+
[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/, "type"],
|
|
408
|
+
[/<:/, "keyword"],
|
|
409
|
+
[/(\})(\s*<:\s*)/, ["type", { token: "keyword", next: "@pop" }]],
|
|
410
|
+
[/\}/, "type", "@pop"],
|
|
411
|
+
{ include: "@root" }
|
|
412
|
+
],
|
|
413
|
+
quote: [
|
|
414
|
+
[/\$\(/, "key", "@paste"],
|
|
415
|
+
[/\(/, "@brackets", "@paren"],
|
|
416
|
+
[/\)/, "metatag", "@pop"],
|
|
417
|
+
{ include: "@root" }
|
|
418
|
+
],
|
|
419
|
+
paste: [
|
|
420
|
+
[/:\(/, "metatag", "@quote"],
|
|
421
|
+
[/\(/, "@brackets", "@paren"],
|
|
422
|
+
[/\)/, "key", "@pop"],
|
|
423
|
+
{ include: "@root" }
|
|
424
|
+
],
|
|
425
|
+
paren: [
|
|
426
|
+
[/\$\(/, "key", "@paste"],
|
|
427
|
+
[/:\(/, "metatag", "@quote"],
|
|
428
|
+
[/\(/, "@brackets", "@push"],
|
|
429
|
+
[/\)/, "@brackets", "@pop"],
|
|
430
|
+
{ include: "@root" }
|
|
431
|
+
],
|
|
432
|
+
sregexp: [
|
|
433
|
+
[/^.*/, "invalid"],
|
|
434
|
+
[/[^\\"()\[\]{}]/, "regexp"],
|
|
435
|
+
[/[()\[\]{}]/, "@brackets"],
|
|
436
|
+
[/\\./, "operator.scss"],
|
|
437
|
+
[/"[imsx]*/, "regexp.delim", "@pop"]
|
|
438
|
+
],
|
|
439
|
+
tregexp: [
|
|
440
|
+
[/[^\\"()\[\]{}]/, "regexp"],
|
|
441
|
+
[/[()\[\]{}]/, "@brackets"],
|
|
442
|
+
[/\\./, "operator.scss"],
|
|
443
|
+
[/"(?!"")/, "string"],
|
|
444
|
+
[/"""[imsx]*/, "regexp.delim", "@pop"]
|
|
445
|
+
],
|
|
446
|
+
rsstring: [
|
|
447
|
+
[/^.*/, "invalid"],
|
|
448
|
+
[/[^\\"]/, "string"],
|
|
449
|
+
[/\\./, "string.escape"],
|
|
450
|
+
[/"/, "string.delim", "@pop"]
|
|
451
|
+
],
|
|
452
|
+
rtstring: [
|
|
453
|
+
[/[^\\"]/, "string"],
|
|
454
|
+
[/\\./, "string.escape"],
|
|
455
|
+
[/"(?!"")/, "string"],
|
|
456
|
+
[/"""/, "string.delim", "@pop"]
|
|
457
|
+
],
|
|
458
|
+
dsstring: [
|
|
459
|
+
[/^.*/, "invalid"],
|
|
460
|
+
[/[^\\"\$]/, "string"],
|
|
461
|
+
[/\$/, "", "@interpolated"],
|
|
462
|
+
[/@escapes/, "string.escape"],
|
|
463
|
+
[/\\./, "string.escape.invalid"],
|
|
464
|
+
[/"/, "string.delim", "@pop"]
|
|
465
|
+
],
|
|
466
|
+
dtstring: [
|
|
467
|
+
[/[^\\"\$]/, "string"],
|
|
468
|
+
[/\$/, "", "@interpolated"],
|
|
469
|
+
[/@escapes/, "string.escape"],
|
|
470
|
+
[/\\./, "string.escape.invalid"],
|
|
471
|
+
[/"(?!"")/, "string"],
|
|
472
|
+
[/"""/, "string.delim", "@pop"]
|
|
473
|
+
],
|
|
474
|
+
interpolated: [
|
|
475
|
+
[/\(/, { token: "", switchTo: "@interpolated_compound" }],
|
|
476
|
+
[/[a-zA-Z_]\w*/, "identifier"],
|
|
477
|
+
["", "", "@pop"]
|
|
478
|
+
],
|
|
479
|
+
interpolated_compound: [[/\)/, "", "@pop"], { include: "@root" }],
|
|
480
|
+
whitespace: [
|
|
481
|
+
[/[ \t\r\n]+/, ""],
|
|
482
|
+
[/#=/, "comment", "@multi_comment"],
|
|
483
|
+
[/#.*$/, "comment"]
|
|
484
|
+
],
|
|
485
|
+
multi_comment: [
|
|
486
|
+
[/#=/, "comment", "@push"],
|
|
487
|
+
[/=#/, "comment", "@pop"],
|
|
488
|
+
[/=(?!#)|#(?!=)/, "comment"],
|
|
489
|
+
[/[^#=]+/, "comment"]
|
|
490
|
+
]
|
|
491
|
+
}
|
|
492
|
+
};
|
|
493
|
+
export {
|
|
494
|
+
e as conf,
|
|
495
|
+
t as language
|
|
496
|
+
};
|