@inspectr/ui 1.8.0 → 1.8.1

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 (90) hide show
  1. package/dist/abap-Bs8kvjsq.js +1398 -0
  2. package/dist/apex-Dspwrl5m.js +326 -0
  3. package/dist/azcli-k1BiOau1.js +68 -0
  4. package/dist/bat-BIP72KWc.js +100 -0
  5. package/dist/bicep-VhQeYhS3.js +102 -0
  6. package/dist/cameligo-DnuAXtHg.js +174 -0
  7. package/dist/clojure-BAuDPsal.js +761 -0
  8. package/dist/coffee-BV06qSnj.js +232 -0
  9. package/dist/cpp-Cz8Jeyrf.js +389 -0
  10. package/dist/csharp-F6hhlXFb.js +326 -0
  11. package/dist/csp-KzlEHCyI.js +53 -0
  12. package/dist/css-e4FKntZ3.js +187 -0
  13. package/dist/cssMode-CCxwJWiv.js +1571 -0
  14. package/dist/cypher-CpvDGKRr.js +263 -0
  15. package/dist/dart-DdHeFWR0.js +281 -0
  16. package/dist/dockerfile-aoNXDcio.js +130 -0
  17. package/dist/ecl-C4Q0DYuA.js +456 -0
  18. package/dist/editor.main-CP-oXbVe.js +110802 -0
  19. package/dist/elixir-C9X42b0T.js +569 -0
  20. package/dist/flow9-Bff42pfB.js +142 -0
  21. package/dist/freemarker2-BZveqxNO.js +989 -0
  22. package/dist/fsharp-C6vPAsHG.js +217 -0
  23. package/dist/go-DEr8zx9f.js +218 -0
  24. package/dist/graphql-BiNBBRFh.js +151 -0
  25. package/dist/handlebars-DFLvXTZ8.js +419 -0
  26. package/dist/hcl-2T9lKuFg.js +183 -0
  27. package/dist/html-DxXqfwFE.js +308 -0
  28. package/dist/htmlMode-C9gIo-LK.js +1581 -0
  29. package/dist/ini-CZGtssYM.js +71 -0
  30. package/dist/inspectr-ui.es.js +16141 -15983
  31. package/dist/inspectr-ui.umd.js +1180 -125
  32. package/dist/java-B260NeH3.js +232 -0
  33. package/dist/javascript-CYYD6pGr.js +70 -0
  34. package/dist/jsonMode-jVbIoPc6.js +1996 -0
  35. package/dist/julia-kuNLM9c5.js +511 -0
  36. package/dist/kotlin-Bz6kAefA.js +253 -0
  37. package/dist/less-AZUtS89I.js +162 -0
  38. package/dist/lexon-BcmgnyRb.js +157 -0
  39. package/dist/liquid-PYsubg5u.js +240 -0
  40. package/dist/lua-Dz1RbATg.js +162 -0
  41. package/dist/m3-CIMooLFn.js +210 -0
  42. package/dist/markdown-C1BsCK9P.js +229 -0
  43. package/dist/mdx-DRJsmowz.js +165 -0
  44. package/dist/mips-BovsnfLQ.js +198 -0
  45. package/dist/msdax-CiRB2ZB-.js +375 -0
  46. package/dist/mysql-BwdpPE19.js +878 -0
  47. package/dist/objective-c-D4nfHfso.js +183 -0
  48. package/dist/pascal--j5-PYtz.js +251 -0
  49. package/dist/pascaligo-C7TcJxNL.js +164 -0
  50. package/dist/perl-BzEWqUb5.js +626 -0
  51. package/dist/pgsql-B_KZ0mGX.js +851 -0
  52. package/dist/php-A19QHzQV.js +500 -0
  53. package/dist/pla-COeKY1hA.js +137 -0
  54. package/dist/postiats-BfMp7zJL.js +907 -0
  55. package/dist/powerquery-B0TS_5Gb.js +890 -0
  56. package/dist/powershell-5jSbKdYB.js +239 -0
  57. package/dist/protobuf-YgnOutn3.js +420 -0
  58. package/dist/pug-DLej6kn5.js +402 -0
  59. package/dist/python-M8MItOfu.js +301 -0
  60. package/dist/qsharp-AhjqtSHB.js +301 -0
  61. package/dist/r-D-F4P80w.js +243 -0
  62. package/dist/razor-CkROrZip.js +550 -0
  63. package/dist/redis-hwwIlMnV.js +302 -0
  64. package/dist/redshift-Bcm_kjEG.js +809 -0
  65. package/dist/restructuredtext-CrdzfPP-.js +174 -0
  66. package/dist/ruby-QC2UNm1s.js +511 -0
  67. package/dist/rust-5aqiQ3L5.js +343 -0
  68. package/dist/sb-B1g1ZfLJ.js +115 -0
  69. package/dist/scala-C2U4R5Gb.js +370 -0
  70. package/dist/scheme-DeFRbslr.js +108 -0
  71. package/dist/scss-RSTCiCmI.js +262 -0
  72. package/dist/shell-BpF-iNu8.js +221 -0
  73. package/dist/solidity-C00r2mbQ.js +1367 -0
  74. package/dist/sophia-DVW5ZKDB.js +199 -0
  75. package/dist/sparql-B0nmpxeX.js +201 -0
  76. package/dist/sql-CJwKPERn.js +853 -0
  77. package/dist/st-DPlKG5DT.js +416 -0
  78. package/dist/swift-YZBAbVHV.js +309 -0
  79. package/dist/systemverilog-CDQSaH63.js +576 -0
  80. package/dist/tcl-Dlu8sp6Q.js +232 -0
  81. package/dist/tsMode-D1me_v4f.js +886 -0
  82. package/dist/twig-C5TO7-kw.js +392 -0
  83. package/dist/typescript-D8U3Pc3R.js +343 -0
  84. package/dist/typespec-BsmjDEu7.js +117 -0
  85. package/dist/ui.css +1 -1
  86. package/dist/vb-ChHvIDrk.js +372 -0
  87. package/dist/wgsl-XEp1ju8c.js +439 -0
  88. package/dist/xml-CTIvZv70.js +95 -0
  89. package/dist/yaml-BgbINe9U.js +206 -0
  90. package/package.json +3 -1
@@ -0,0 +1,326 @@
1
+ var n = {
2
+ // the default separators except `@$`
3
+ wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
4
+ comments: {
5
+ lineComment: "//",
6
+ blockComment: ["/*", "*/"]
7
+ },
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
+ { open: "<", close: ">" }
27
+ ],
28
+ folding: {
29
+ markers: {
30
+ start: new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),
31
+ end: new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")
32
+ }
33
+ }
34
+ }, s = [
35
+ "abstract",
36
+ "activate",
37
+ "and",
38
+ "any",
39
+ "array",
40
+ "as",
41
+ "asc",
42
+ "assert",
43
+ "autonomous",
44
+ "begin",
45
+ "bigdecimal",
46
+ "blob",
47
+ "boolean",
48
+ "break",
49
+ "bulk",
50
+ "by",
51
+ "case",
52
+ "cast",
53
+ "catch",
54
+ "char",
55
+ "class",
56
+ "collect",
57
+ "commit",
58
+ "const",
59
+ "continue",
60
+ "convertcurrency",
61
+ "decimal",
62
+ "default",
63
+ "delete",
64
+ "desc",
65
+ "do",
66
+ "double",
67
+ "else",
68
+ "end",
69
+ "enum",
70
+ "exception",
71
+ "exit",
72
+ "export",
73
+ "extends",
74
+ "false",
75
+ "final",
76
+ "finally",
77
+ "float",
78
+ "for",
79
+ "from",
80
+ "future",
81
+ "get",
82
+ "global",
83
+ "goto",
84
+ "group",
85
+ "having",
86
+ "hint",
87
+ "if",
88
+ "implements",
89
+ "import",
90
+ "in",
91
+ "inner",
92
+ "insert",
93
+ "instanceof",
94
+ "int",
95
+ "interface",
96
+ "into",
97
+ "join",
98
+ "last_90_days",
99
+ "last_month",
100
+ "last_n_days",
101
+ "last_week",
102
+ "like",
103
+ "limit",
104
+ "list",
105
+ "long",
106
+ "loop",
107
+ "map",
108
+ "merge",
109
+ "native",
110
+ "new",
111
+ "next_90_days",
112
+ "next_month",
113
+ "next_n_days",
114
+ "next_week",
115
+ "not",
116
+ "null",
117
+ "nulls",
118
+ "number",
119
+ "object",
120
+ "of",
121
+ "on",
122
+ "or",
123
+ "outer",
124
+ "override",
125
+ "package",
126
+ "parallel",
127
+ "pragma",
128
+ "private",
129
+ "protected",
130
+ "public",
131
+ "retrieve",
132
+ "return",
133
+ "returning",
134
+ "rollback",
135
+ "savepoint",
136
+ "search",
137
+ "select",
138
+ "set",
139
+ "short",
140
+ "sort",
141
+ "stat",
142
+ "static",
143
+ "strictfp",
144
+ "super",
145
+ "switch",
146
+ "synchronized",
147
+ "system",
148
+ "testmethod",
149
+ "then",
150
+ "this",
151
+ "this_month",
152
+ "this_week",
153
+ "throw",
154
+ "throws",
155
+ "today",
156
+ "tolabel",
157
+ "tomorrow",
158
+ "transaction",
159
+ "transient",
160
+ "trigger",
161
+ "true",
162
+ "try",
163
+ "type",
164
+ "undelete",
165
+ "update",
166
+ "upsert",
167
+ "using",
168
+ "virtual",
169
+ "void",
170
+ "volatile",
171
+ "webservice",
172
+ "when",
173
+ "where",
174
+ "while",
175
+ "yesterday"
176
+ ], o = (e) => e.charAt(0).toUpperCase() + e.substr(1), t = [];
177
+ s.forEach((e) => {
178
+ t.push(e), t.push(e.toUpperCase()), t.push(o(e));
179
+ });
180
+ var i = {
181
+ defaultToken: "",
182
+ tokenPostfix: ".apex",
183
+ keywords: t,
184
+ operators: [
185
+ "=",
186
+ ">",
187
+ "<",
188
+ "!",
189
+ "~",
190
+ "?",
191
+ ":",
192
+ "==",
193
+ "<=",
194
+ ">=",
195
+ "!=",
196
+ "&&",
197
+ "||",
198
+ "++",
199
+ "--",
200
+ "+",
201
+ "-",
202
+ "*",
203
+ "/",
204
+ "&",
205
+ "|",
206
+ "^",
207
+ "%",
208
+ "<<",
209
+ ">>",
210
+ ">>>",
211
+ "+=",
212
+ "-=",
213
+ "*=",
214
+ "/=",
215
+ "&=",
216
+ "|=",
217
+ "^=",
218
+ "%=",
219
+ "<<=",
220
+ ">>=",
221
+ ">>>="
222
+ ],
223
+ // we include these common regular expressions
224
+ symbols: /[=><!~?:&|+\-*\/\^%]+/,
225
+ escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
226
+ digits: /\d+(_+\d+)*/,
227
+ octaldigits: /[0-7]+(_+[0-7]+)*/,
228
+ binarydigits: /[0-1]+(_+[0-1]+)*/,
229
+ hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,
230
+ // The main tokenizer for our languages
231
+ tokenizer: {
232
+ root: [
233
+ // identifiers and keywords
234
+ [
235
+ /[a-z_$][\w$]*/,
236
+ {
237
+ cases: {
238
+ "@keywords": { token: "keyword.$0" },
239
+ "@default": "identifier"
240
+ }
241
+ }
242
+ ],
243
+ // assume that identifiers starting with an uppercase letter are types
244
+ [
245
+ /[A-Z][\w\$]*/,
246
+ {
247
+ cases: {
248
+ "@keywords": { token: "keyword.$0" },
249
+ "@default": "type.identifier"
250
+ }
251
+ }
252
+ ],
253
+ // whitespace
254
+ { include: "@whitespace" },
255
+ // delimiters and operators
256
+ [/[{}()\[\]]/, "@brackets"],
257
+ [/[<>](?!@symbols)/, "@brackets"],
258
+ [
259
+ /@symbols/,
260
+ {
261
+ cases: {
262
+ "@operators": "delimiter",
263
+ "@default": ""
264
+ }
265
+ }
266
+ ],
267
+ // @ annotations.
268
+ [/@\s*[a-zA-Z_\$][\w\$]*/, "annotation"],
269
+ // numbers
270
+ [/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/, "number.float"],
271
+ [/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/, "number.float"],
272
+ [/(@digits)[fFdD]/, "number.float"],
273
+ [/(@digits)[lL]?/, "number"],
274
+ // delimiter: after number because of .\d floats
275
+ [/[;,.]/, "delimiter"],
276
+ // strings
277
+ [/"([^"\\]|\\.)*$/, "string.invalid"],
278
+ // non-teminated string
279
+ [/'([^'\\]|\\.)*$/, "string.invalid"],
280
+ // non-teminated string
281
+ [/"/, "string", '@string."'],
282
+ [/'/, "string", "@string.'"],
283
+ // characters
284
+ [/'[^\\']'/, "string"],
285
+ [/(')(@escapes)(')/, ["string", "string.escape", "string"]],
286
+ [/'/, "string.invalid"]
287
+ ],
288
+ whitespace: [
289
+ [/[ \t\r\n]+/, ""],
290
+ [/\/\*\*(?!\/)/, "comment.doc", "@apexdoc"],
291
+ [/\/\*/, "comment", "@comment"],
292
+ [/\/\/.*$/, "comment"]
293
+ ],
294
+ comment: [
295
+ [/[^\/*]+/, "comment"],
296
+ // [/\/\*/, 'comment', '@push' ], // nested comment not allowed :-(
297
+ // [/\/\*/, 'comment.invalid' ], // this breaks block comments in the shape of /* //*/
298
+ [/\*\//, "comment", "@pop"],
299
+ [/[\/*]/, "comment"]
300
+ ],
301
+ //Identical copy of comment above, except for the addition of .doc
302
+ apexdoc: [
303
+ [/[^\/*]+/, "comment.doc"],
304
+ [/\*\//, "comment.doc", "@pop"],
305
+ [/[\/*]/, "comment.doc"]
306
+ ],
307
+ string: [
308
+ [/[^\\"']+/, "string"],
309
+ [/@escapes/, "string.escape"],
310
+ [/\\./, "string.escape.invalid"],
311
+ [
312
+ /["']/,
313
+ {
314
+ cases: {
315
+ "$#==$S2": { token: "string", next: "@pop" },
316
+ "@default": "string"
317
+ }
318
+ }
319
+ ]
320
+ ]
321
+ }
322
+ };
323
+ export {
324
+ n as conf,
325
+ i as language
326
+ };
@@ -0,0 +1,68 @@
1
+ var e = {
2
+ comments: {
3
+ lineComment: "#"
4
+ }
5
+ }, t = {
6
+ defaultToken: "keyword",
7
+ ignoreCase: !0,
8
+ tokenPostfix: ".azcli",
9
+ str: /[^#\s]/,
10
+ tokenizer: {
11
+ root: [
12
+ { include: "@comment" },
13
+ [
14
+ /\s-+@str*\s*/,
15
+ {
16
+ cases: {
17
+ "@eos": { token: "key.identifier", next: "@popall" },
18
+ "@default": { token: "key.identifier", next: "@type" }
19
+ }
20
+ }
21
+ ],
22
+ [
23
+ /^-+@str*\s*/,
24
+ {
25
+ cases: {
26
+ "@eos": { token: "key.identifier", next: "@popall" },
27
+ "@default": { token: "key.identifier", next: "@type" }
28
+ }
29
+ }
30
+ ]
31
+ ],
32
+ type: [
33
+ { include: "@comment" },
34
+ [
35
+ /-+@str*\s*/,
36
+ {
37
+ cases: {
38
+ "@eos": { token: "key.identifier", next: "@popall" },
39
+ "@default": "key.identifier"
40
+ }
41
+ }
42
+ ],
43
+ [
44
+ /@str+\s*/,
45
+ {
46
+ cases: {
47
+ "@eos": { token: "string", next: "@popall" },
48
+ "@default": "string"
49
+ }
50
+ }
51
+ ]
52
+ ],
53
+ comment: [
54
+ [
55
+ /#.*$/,
56
+ {
57
+ cases: {
58
+ "@eos": { token: "comment", next: "@popall" }
59
+ }
60
+ }
61
+ ]
62
+ ]
63
+ }
64
+ };
65
+ export {
66
+ e as conf,
67
+ t as language
68
+ };
@@ -0,0 +1,100 @@
1
+ var e = {
2
+ comments: {
3
+ lineComment: "REM"
4
+ },
5
+ brackets: [
6
+ ["{", "}"],
7
+ ["[", "]"],
8
+ ["(", ")"]
9
+ ],
10
+ autoClosingPairs: [
11
+ { open: "{", close: "}" },
12
+ { open: "[", close: "]" },
13
+ { open: "(", close: ")" },
14
+ { open: '"', close: '"' }
15
+ ],
16
+ surroundingPairs: [
17
+ { open: "[", close: "]" },
18
+ { open: "(", close: ")" },
19
+ { open: '"', close: '"' }
20
+ ],
21
+ folding: {
22
+ markers: {
23
+ start: new RegExp("^\\s*(::\\s*|REM\\s+)#region"),
24
+ end: new RegExp("^\\s*(::\\s*|REM\\s+)#endregion")
25
+ }
26
+ }
27
+ }, s = {
28
+ defaultToken: "",
29
+ ignoreCase: !0,
30
+ tokenPostfix: ".bat",
31
+ brackets: [
32
+ { token: "delimiter.bracket", open: "{", close: "}" },
33
+ { token: "delimiter.parenthesis", open: "(", close: ")" },
34
+ { token: "delimiter.square", open: "[", close: "]" }
35
+ ],
36
+ keywords: /call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,
37
+ // we include these common regular expressions
38
+ symbols: /[=><!~?&|+\-*\/\^;\.,]+/,
39
+ escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
40
+ // The main tokenizer for our languages
41
+ tokenizer: {
42
+ root: [
43
+ [/^(\s*)(rem(?:\s.*|))$/, ["", "comment"]],
44
+ [/(\@?)(@keywords)(?!\w)/, [{ token: "keyword" }, { token: "keyword.$2" }]],
45
+ // whitespace
46
+ [/[ \t\r\n]+/, ""],
47
+ // blocks
48
+ [/setlocal(?!\w)/, "keyword.tag-setlocal"],
49
+ [/endlocal(?!\w)/, "keyword.tag-setlocal"],
50
+ // words
51
+ [/[a-zA-Z_]\w*/, ""],
52
+ // labels
53
+ [/:\w*/, "metatag"],
54
+ // variables
55
+ [/%[^%]+%/, "variable"],
56
+ [/%%[\w]+(?!\w)/, "variable"],
57
+ // punctuations
58
+ [/[{}()\[\]]/, "@brackets"],
59
+ [/@symbols/, "delimiter"],
60
+ // numbers
61
+ [/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
62
+ [/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/, "number.hex"],
63
+ [/\d+/, "number"],
64
+ // punctuation: after number because of .\d floats
65
+ [/[;,.]/, "delimiter"],
66
+ // strings:
67
+ [/"/, "string", '@string."'],
68
+ [/'/, "string", "@string.'"]
69
+ ],
70
+ string: [
71
+ [
72
+ /[^\\"'%]+/,
73
+ {
74
+ cases: {
75
+ "@eos": { token: "string", next: "@popall" },
76
+ "@default": "string"
77
+ }
78
+ }
79
+ ],
80
+ [/@escapes/, "string.escape"],
81
+ [/\\./, "string.escape.invalid"],
82
+ [/%[\w ]+%/, "variable"],
83
+ [/%%[\w]+(?!\w)/, "variable"],
84
+ [
85
+ /["']/,
86
+ {
87
+ cases: {
88
+ "$#==$S2": { token: "string", next: "@pop" },
89
+ "@default": "string"
90
+ }
91
+ }
92
+ ],
93
+ [/$/, "string", "@popall"]
94
+ ]
95
+ }
96
+ };
97
+ export {
98
+ e as conf,
99
+ s as language
100
+ };
@@ -0,0 +1,102 @@
1
+ var n = (e) => `\\b${e}\\b`, t = "[_a-zA-Z]", o = "[_a-zA-Z0-9]", r = n(`${t}${o}*`), i = [
2
+ "targetScope",
3
+ "resource",
4
+ "module",
5
+ "param",
6
+ "var",
7
+ "output",
8
+ "for",
9
+ "in",
10
+ "if",
11
+ "existing"
12
+ ], a = ["true", "false", "null"], s = "[ \\t\\r\\n]", c = "[0-9]+", g = {
13
+ comments: {
14
+ lineComment: "//",
15
+ blockComment: ["/*", "*/"]
16
+ },
17
+ brackets: [
18
+ ["{", "}"],
19
+ ["[", "]"],
20
+ ["(", ")"]
21
+ ],
22
+ surroundingPairs: [
23
+ { open: "{", close: "}" },
24
+ { open: "[", close: "]" },
25
+ { open: "(", close: ")" },
26
+ { open: "'", close: "'" },
27
+ { open: "'''", close: "'''" }
28
+ ],
29
+ autoClosingPairs: [
30
+ { open: "{", close: "}" },
31
+ { open: "[", close: "]" },
32
+ { open: "(", close: ")" },
33
+ { open: "'", close: "'", notIn: ["string", "comment"] },
34
+ { open: "'''", close: "'''", notIn: ["string", "comment"] }
35
+ ],
36
+ autoCloseBefore: `:.,=}])'
37
+ `,
38
+ indentationRules: {
39
+ increaseIndentPattern: new RegExp("^((?!\\/\\/).)*(\\{[^}\"'`]*|\\([^)\"'`]*|\\[[^\\]\"'`]*)$"),
40
+ decreaseIndentPattern: new RegExp("^((?!.*?\\/\\*).*\\*/)?\\s*[\\}\\]].*$")
41
+ }
42
+ }, l = {
43
+ defaultToken: "",
44
+ tokenPostfix: ".bicep",
45
+ brackets: [
46
+ { open: "{", close: "}", token: "delimiter.curly" },
47
+ { open: "[", close: "]", token: "delimiter.square" },
48
+ { open: "(", close: ")", token: "delimiter.parenthesis" }
49
+ ],
50
+ symbols: /[=><!~?:&|+\-*/^%]+/,
51
+ keywords: i,
52
+ namedLiterals: a,
53
+ escapes: "\\\\(u{[0-9A-Fa-f]+}|n|r|t|\\\\|'|\\${)",
54
+ tokenizer: {
55
+ root: [{ include: "@expression" }, { include: "@whitespace" }],
56
+ stringVerbatim: [
57
+ { regex: "(|'|'')[^']", action: { token: "string" } },
58
+ { regex: "'''", action: { token: "string.quote", next: "@pop" } }
59
+ ],
60
+ stringLiteral: [
61
+ { regex: "\\${", action: { token: "delimiter.bracket", next: "@bracketCounting" } },
62
+ { regex: "[^\\\\'$]+", action: { token: "string" } },
63
+ { regex: "@escapes", action: { token: "string.escape" } },
64
+ { regex: "\\\\.", action: { token: "string.escape.invalid" } },
65
+ { regex: "'", action: { token: "string", next: "@pop" } }
66
+ ],
67
+ bracketCounting: [
68
+ { regex: "{", action: { token: "delimiter.bracket", next: "@bracketCounting" } },
69
+ { regex: "}", action: { token: "delimiter.bracket", next: "@pop" } },
70
+ { include: "expression" }
71
+ ],
72
+ comment: [
73
+ { regex: "[^\\*]+", action: { token: "comment" } },
74
+ { regex: "\\*\\/", action: { token: "comment", next: "@pop" } },
75
+ { regex: "[\\/*]", action: { token: "comment" } }
76
+ ],
77
+ whitespace: [
78
+ { regex: s },
79
+ { regex: "\\/\\*", action: { token: "comment", next: "@comment" } },
80
+ { regex: "\\/\\/.*$", action: { token: "comment" } }
81
+ ],
82
+ expression: [
83
+ { regex: "'''", action: { token: "string.quote", next: "@stringVerbatim" } },
84
+ { regex: "'", action: { token: "string.quote", next: "@stringLiteral" } },
85
+ { regex: c, action: { token: "number" } },
86
+ {
87
+ regex: r,
88
+ action: {
89
+ cases: {
90
+ "@keywords": { token: "keyword" },
91
+ "@namedLiterals": { token: "keyword" },
92
+ "@default": { token: "identifier" }
93
+ }
94
+ }
95
+ }
96
+ ]
97
+ }
98
+ };
99
+ export {
100
+ g as conf,
101
+ l as language
102
+ };