monacozen 0.0.1 → 0.2.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.
Files changed (91) hide show
  1. package/README.md +219 -0
  2. package/assets/antimono-ClsI0fxy.js +5 -0
  3. package/assets/antimono-zBXMptjq.css +1 -0
  4. package/assets/bat-T2vjbQzY.js +125 -0
  5. package/assets/bicep-B6UDBWZN.js +220 -0
  6. package/assets/clojure-BvXzD8Uz.js +148 -0
  7. package/assets/coffee-D_yet6sT.js +262 -0
  8. package/assets/cpp-CsfEADPM.js +232 -0
  9. package/assets/csharp-jw3fFksF.js +262 -0
  10. package/assets/css-FsiUe-xI.js +286 -0
  11. package/assets/css.worker-BIsSvM_Q.js +96 -0
  12. package/assets/css.worker-BSHdDU9y.js +6 -0
  13. package/assets/cssMode-7U-ime2d.js +65 -0
  14. package/assets/cypher-B8DgU2PH.js +214 -0
  15. package/assets/dart-D1x60wEn.js +238 -0
  16. package/assets/dist-Bx9hOuoB.js +624 -0
  17. package/assets/dockerfile-DSHxsy4G.js +193 -0
  18. package/assets/editor.api-ZYFspLPt.js +85776 -0
  19. package/assets/editorWebWorkerMain-BioN9fGU.js +33 -0
  20. package/assets/editorWebWorkerMain-DXr8-Jst.js +6 -0
  21. package/assets/elixir-Cr7BtjRU.js +525 -0
  22. package/assets/fsharp-CeVKIr0d.js +149 -0
  23. package/assets/go-BL4_0srD.js +167 -0
  24. package/assets/graphql-mhWekwK0.js +176 -0
  25. package/assets/handlebars-rQdtgZoQ.js +412 -0
  26. package/assets/hcl-CfyDj6z_.js +221 -0
  27. package/assets/html-DIDrd2Z7.js +333 -0
  28. package/assets/html.worker-BrBx6eB3.js +6 -0
  29. package/assets/html.worker-CEvqvEpu.js +509 -0
  30. package/assets/htmlMode-i6u-9r7u.js +74 -0
  31. package/assets/ini-DhiXkl_g.js +96 -0
  32. package/assets/java-Ct9YHm5L.js +175 -0
  33. package/assets/javascript-By915NHa.js +20 -0
  34. package/assets/json.worker-B0PzJ5jL.js +6 -0
  35. package/assets/json.worker-CAiVr-gV.js +65 -0
  36. package/assets/jsonMode-DAP8CNa2.js +450 -0
  37. package/assets/julia-BAYXm_pL.js +416 -0
  38. package/assets/kotlin-JEujETri.js +184 -0
  39. package/assets/less-oHZXXDVD.js +244 -0
  40. package/assets/liquid-Cvs1eMgo.js +199 -0
  41. package/assets/lspLanguageFeatures-D6P77uh_.js +1455 -0
  42. package/assets/lua-B3ViXcD8.js +202 -0
  43. package/assets/main-16cPxgwS.js +107 -0
  44. package/assets/main-CB71Lf5W.js +129 -0
  45. package/assets/main-HEYSEiwe.js +66 -0
  46. package/assets/markdown-Ggb6Rgvc.js +264 -0
  47. package/assets/mdx-Ce7sXDA4.js +329 -0
  48. package/assets/mips-cYdfQChM.js +130 -0
  49. package/assets/monaco-d37b1a8f.css +3 -0
  50. package/assets/monaco-o5F6wkXp.js +40865 -0
  51. package/assets/mysql-nklBC2QL.js +170 -0
  52. package/assets/objective-c-x5BzCYEv.js +146 -0
  53. package/assets/pascal-DWL5ya_C.js +178 -0
  54. package/assets/perl-CbRoLks6.js +318 -0
  55. package/assets/pgsql-CVS-AsDB.js +160 -0
  56. package/assets/php-6gZIubF1.js +473 -0
  57. package/assets/powershell-DKgJI7BG.js +213 -0
  58. package/assets/protobuf-N0VyW3k9.js +661 -0
  59. package/assets/pug-BIMEUctf.js +302 -0
  60. package/assets/python-BKt2Winm.js +254 -0
  61. package/assets/r-Cb2uCcX6.js +191 -0
  62. package/assets/redis-D1CRAuQ1.js +125 -0
  63. package/assets/ruby-BzpgsYNr.js +529 -0
  64. package/assets/rust-CkIXqWDr.js +180 -0
  65. package/assets/scala-CnJ7htCu.js +553 -0
  66. package/assets/scss-xP2eAFyY.js +419 -0
  67. package/assets/shell-JSjWPSrk.js +225 -0
  68. package/assets/solidity-C8AFhoIi.js +149 -0
  69. package/assets/sql-DqW-LmZI.js +173 -0
  70. package/assets/swift-BcHKQY-M.js +215 -0
  71. package/assets/systemverilog-Dmu-Ht4V.js +300 -0
  72. package/assets/ts.worker-BAchZA3W.js +6 -0
  73. package/assets/ts.worker-DZhhT1EO.js +67741 -0
  74. package/assets/tsMode-C_Fsqh0j.js +566 -0
  75. package/assets/twig-Bj4rwioa.js +390 -0
  76. package/assets/typescript-Djsb1cC9.js +257 -0
  77. package/assets/typespec-xwJ6QpRP.js +236 -0
  78. package/assets/vb-CMxAjmFH.js +262 -0
  79. package/assets/wgsl-CTYGQRo2.js +147 -0
  80. package/assets/xml-D7cJD5hW.js +130 -0
  81. package/assets/yaml-B8A0QdVf.js +223 -0
  82. package/assets/yaml.worker-Crtsysk5.js +474 -0
  83. package/assets/yaml.worker-DZ36155v.js +6 -0
  84. package/lib.d.ts +8403 -0
  85. package/lib.js +2 -0
  86. package/package.json +1 -1
  87. package/src/main.js +29 -0
  88. package/index.d.ts +0 -6
  89. package/index.js +0 -1
  90. package/readme.md +0 -1
  91. /package/{license.txt → LICENSE} +0 -0
@@ -0,0 +1,419 @@
1
+ //#region node_modules/.bun/monaco-editor@0.57.0/node_modules/monaco-editor/esm/vs/languages/definitions/scss/scss.js
2
+ var e = {
3
+ wordPattern: /(#?-?\d*\.\d\w*%?)|([@$#!.:]?[\w-?]+%?)|[@#!.]/g,
4
+ comments: {
5
+ blockComment: ["/*", "*/"],
6
+ lineComment: "//"
7
+ },
8
+ brackets: [
9
+ ["{", "}"],
10
+ ["[", "]"],
11
+ ["(", ")"]
12
+ ],
13
+ autoClosingPairs: [
14
+ {
15
+ open: "{",
16
+ close: "}",
17
+ notIn: ["string", "comment"]
18
+ },
19
+ {
20
+ open: "[",
21
+ close: "]",
22
+ notIn: ["string", "comment"]
23
+ },
24
+ {
25
+ open: "(",
26
+ close: ")",
27
+ notIn: ["string", "comment"]
28
+ },
29
+ {
30
+ open: "\"",
31
+ close: "\"",
32
+ notIn: ["string", "comment"]
33
+ },
34
+ {
35
+ open: "'",
36
+ close: "'",
37
+ notIn: ["string", "comment"]
38
+ }
39
+ ],
40
+ surroundingPairs: [
41
+ {
42
+ open: "{",
43
+ close: "}"
44
+ },
45
+ {
46
+ open: "[",
47
+ close: "]"
48
+ },
49
+ {
50
+ open: "(",
51
+ close: ")"
52
+ },
53
+ {
54
+ open: "\"",
55
+ close: "\""
56
+ },
57
+ {
58
+ open: "'",
59
+ close: "'"
60
+ }
61
+ ],
62
+ folding: { markers: {
63
+ start: /* @__PURE__ */ RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),
64
+ end: /* @__PURE__ */ RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")
65
+ } }
66
+ }, t = {
67
+ defaultToken: "",
68
+ tokenPostfix: ".scss",
69
+ ws: "[ \n\r\f]*",
70
+ identifier: "-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",
71
+ brackets: [
72
+ {
73
+ open: "{",
74
+ close: "}",
75
+ token: "delimiter.curly"
76
+ },
77
+ {
78
+ open: "[",
79
+ close: "]",
80
+ token: "delimiter.bracket"
81
+ },
82
+ {
83
+ open: "(",
84
+ close: ")",
85
+ token: "delimiter.parenthesis"
86
+ },
87
+ {
88
+ open: "<",
89
+ close: ">",
90
+ token: "delimiter.angle"
91
+ }
92
+ ],
93
+ tokenizer: {
94
+ root: [{ include: "@selector" }],
95
+ selector: [
96
+ { include: "@comments" },
97
+ { include: "@import" },
98
+ { include: "@variabledeclaration" },
99
+ { include: "@warndebug" },
100
+ ["[@](include)", {
101
+ token: "keyword",
102
+ next: "@includedeclaration"
103
+ }],
104
+ ["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)", {
105
+ token: "keyword",
106
+ next: "@keyframedeclaration"
107
+ }],
108
+ ["[@](page|content|font-face|-moz-document)", { token: "keyword" }],
109
+ ["[@](charset|namespace)", {
110
+ token: "keyword",
111
+ next: "@declarationbody"
112
+ }],
113
+ ["[@](function)", {
114
+ token: "keyword",
115
+ next: "@functiondeclaration"
116
+ }],
117
+ ["[@](mixin)", {
118
+ token: "keyword",
119
+ next: "@mixindeclaration"
120
+ }],
121
+ ["url(\\-prefix)?\\(", {
122
+ token: "meta",
123
+ next: "@urldeclaration"
124
+ }],
125
+ { include: "@controlstatement" },
126
+ { include: "@selectorname" },
127
+ ["[&\\*]", "tag"],
128
+ ["[>\\+,]", "delimiter"],
129
+ ["\\[", {
130
+ token: "delimiter.bracket",
131
+ next: "@selectorattribute"
132
+ }],
133
+ ["{", {
134
+ token: "delimiter.curly",
135
+ next: "@selectorbody"
136
+ }]
137
+ ],
138
+ selectorbody: [
139
+ [
140
+ "[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))",
141
+ "attribute.name",
142
+ "@rulevalue"
143
+ ],
144
+ { include: "@selector" },
145
+ ["[@](extend)", {
146
+ token: "keyword",
147
+ next: "@extendbody"
148
+ }],
149
+ ["[@](return)", {
150
+ token: "keyword",
151
+ next: "@declarationbody"
152
+ }],
153
+ ["}", {
154
+ token: "delimiter.curly",
155
+ next: "@pop"
156
+ }]
157
+ ],
158
+ selectorname: [["#{", {
159
+ token: "meta",
160
+ next: "@variableinterpolation"
161
+ }], ["(\\.|#(?=[^{])|%|(@identifier)|:)+", "tag"]],
162
+ selectorattribute: [{ include: "@term" }, ["]", {
163
+ token: "delimiter.bracket",
164
+ next: "@pop"
165
+ }]],
166
+ term: [
167
+ { include: "@comments" },
168
+ ["url(\\-prefix)?\\(", {
169
+ token: "meta",
170
+ next: "@urldeclaration"
171
+ }],
172
+ { include: "@functioninvocation" },
173
+ { include: "@numbers" },
174
+ { include: "@strings" },
175
+ { include: "@variablereference" },
176
+ ["(and\\b|or\\b|not\\b)", "operator"],
177
+ { include: "@name" },
178
+ ["([<>=\\+\\-\\*\\/\\^\\|\\~,])", "operator"],
179
+ [",", "delimiter"],
180
+ ["!default", "literal"],
181
+ ["\\(", {
182
+ token: "delimiter.parenthesis",
183
+ next: "@parenthizedterm"
184
+ }]
185
+ ],
186
+ rulevalue: [
187
+ { include: "@term" },
188
+ ["!important", "literal"],
189
+ [
190
+ ";",
191
+ "delimiter",
192
+ "@pop"
193
+ ],
194
+ ["{", {
195
+ token: "delimiter.curly",
196
+ switchTo: "@nestedproperty"
197
+ }],
198
+ ["(?=})", {
199
+ token: "",
200
+ next: "@pop"
201
+ }]
202
+ ],
203
+ nestedproperty: [
204
+ [
205
+ "[*_]?@identifier@ws:",
206
+ "attribute.name",
207
+ "@rulevalue"
208
+ ],
209
+ { include: "@comments" },
210
+ ["}", {
211
+ token: "delimiter.curly",
212
+ next: "@pop"
213
+ }]
214
+ ],
215
+ warndebug: [["[@](warn|debug)", {
216
+ token: "keyword",
217
+ next: "@declarationbody"
218
+ }]],
219
+ import: [["[@](import)", {
220
+ token: "keyword",
221
+ next: "@declarationbody"
222
+ }]],
223
+ variabledeclaration: [[
224
+ "\\$@identifier@ws:",
225
+ "variable.decl",
226
+ "@declarationbody"
227
+ ]],
228
+ urldeclaration: [
229
+ { include: "@strings" },
230
+ ["[^)\r\n]+", "string"],
231
+ ["\\)", {
232
+ token: "meta",
233
+ next: "@pop"
234
+ }]
235
+ ],
236
+ parenthizedterm: [{ include: "@term" }, ["\\)", {
237
+ token: "delimiter.parenthesis",
238
+ next: "@pop"
239
+ }]],
240
+ declarationbody: [
241
+ { include: "@term" },
242
+ [
243
+ ";",
244
+ "delimiter",
245
+ "@pop"
246
+ ],
247
+ ["(?=})", {
248
+ token: "",
249
+ next: "@pop"
250
+ }]
251
+ ],
252
+ extendbody: [
253
+ { include: "@selectorname" },
254
+ ["!optional", "literal"],
255
+ [
256
+ ";",
257
+ "delimiter",
258
+ "@pop"
259
+ ],
260
+ ["(?=})", {
261
+ token: "",
262
+ next: "@pop"
263
+ }]
264
+ ],
265
+ variablereference: [
266
+ ["\\$@identifier", "variable.ref"],
267
+ ["\\.\\.\\.", "operator"],
268
+ ["#{", {
269
+ token: "meta",
270
+ next: "@variableinterpolation"
271
+ }]
272
+ ],
273
+ variableinterpolation: [{ include: "@variablereference" }, ["}", {
274
+ token: "meta",
275
+ next: "@pop"
276
+ }]],
277
+ comments: [[
278
+ "\\/\\*",
279
+ "comment",
280
+ "@comment"
281
+ ], ["\\/\\/+.*", "comment"]],
282
+ comment: [[
283
+ "\\*\\/",
284
+ "comment",
285
+ "@pop"
286
+ ], [".", "comment"]],
287
+ name: [["@identifier", "attribute.value"]],
288
+ numbers: [["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?", {
289
+ token: "number",
290
+ next: "@units"
291
+ }], ["#[0-9a-fA-F_]+(?!\\w)", "number.hex"]],
292
+ units: [[
293
+ "(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?",
294
+ "number",
295
+ "@pop"
296
+ ]],
297
+ functiondeclaration: [["@identifier@ws\\(", {
298
+ token: "meta",
299
+ next: "@parameterdeclaration"
300
+ }], ["{", {
301
+ token: "delimiter.curly",
302
+ switchTo: "@functionbody"
303
+ }]],
304
+ mixindeclaration: [
305
+ ["@identifier@ws\\(", {
306
+ token: "meta",
307
+ next: "@parameterdeclaration"
308
+ }],
309
+ ["@identifier", "meta"],
310
+ ["{", {
311
+ token: "delimiter.curly",
312
+ switchTo: "@selectorbody"
313
+ }]
314
+ ],
315
+ parameterdeclaration: [
316
+ ["\\$@identifier@ws:", "variable.decl"],
317
+ ["\\.\\.\\.", "operator"],
318
+ [",", "delimiter"],
319
+ { include: "@term" },
320
+ ["\\)", {
321
+ token: "meta",
322
+ next: "@pop"
323
+ }]
324
+ ],
325
+ includedeclaration: [
326
+ { include: "@functioninvocation" },
327
+ ["@identifier", "meta"],
328
+ [
329
+ ";",
330
+ "delimiter",
331
+ "@pop"
332
+ ],
333
+ ["(?=})", {
334
+ token: "",
335
+ next: "@pop"
336
+ }],
337
+ ["{", {
338
+ token: "delimiter.curly",
339
+ switchTo: "@selectorbody"
340
+ }]
341
+ ],
342
+ keyframedeclaration: [["@identifier", "meta"], ["{", {
343
+ token: "delimiter.curly",
344
+ switchTo: "@keyframebody"
345
+ }]],
346
+ keyframebody: [
347
+ { include: "@term" },
348
+ ["{", {
349
+ token: "delimiter.curly",
350
+ next: "@selectorbody"
351
+ }],
352
+ ["}", {
353
+ token: "delimiter.curly",
354
+ next: "@pop"
355
+ }]
356
+ ],
357
+ controlstatement: [["[@](if|else|for|while|each|media)", {
358
+ token: "keyword.flow",
359
+ next: "@controlstatementdeclaration"
360
+ }]],
361
+ controlstatementdeclaration: [
362
+ ["(in|from|through|if|to)\\b", { token: "keyword.flow" }],
363
+ { include: "@term" },
364
+ ["{", {
365
+ token: "delimiter.curly",
366
+ switchTo: "@selectorbody"
367
+ }]
368
+ ],
369
+ functionbody: [
370
+ ["[@](return)", { token: "keyword" }],
371
+ { include: "@variabledeclaration" },
372
+ { include: "@term" },
373
+ { include: "@controlstatement" },
374
+ [";", "delimiter"],
375
+ ["}", {
376
+ token: "delimiter.curly",
377
+ next: "@pop"
378
+ }]
379
+ ],
380
+ functioninvocation: [["@identifier\\(", {
381
+ token: "meta",
382
+ next: "@functionarguments"
383
+ }]],
384
+ functionarguments: [
385
+ ["\\$@identifier@ws:", "attribute.name"],
386
+ ["[,]", "delimiter"],
387
+ { include: "@term" },
388
+ ["\\)", {
389
+ token: "meta",
390
+ next: "@pop"
391
+ }]
392
+ ],
393
+ strings: [["~?\"", {
394
+ token: "string.delimiter",
395
+ next: "@stringenddoublequote"
396
+ }], ["~?'", {
397
+ token: "string.delimiter",
398
+ next: "@stringendquote"
399
+ }]],
400
+ stringenddoublequote: [
401
+ ["\\\\.", "string"],
402
+ ["\"", {
403
+ token: "string.delimiter",
404
+ next: "@pop"
405
+ }],
406
+ [".", "string"]
407
+ ],
408
+ stringendquote: [
409
+ ["\\\\.", "string"],
410
+ ["'", {
411
+ token: "string.delimiter",
412
+ next: "@pop"
413
+ }],
414
+ [".", "string"]
415
+ ]
416
+ }
417
+ };
418
+ //#endregion
419
+ export { e as conf, t as language };
@@ -0,0 +1,225 @@
1
+ //#region node_modules/.bun/monaco-editor@0.57.0/node_modules/monaco-editor/esm/vs/languages/definitions/shell/shell.js
2
+ var e = {
3
+ comments: { lineComment: "#" },
4
+ brackets: [
5
+ ["{", "}"],
6
+ ["[", "]"],
7
+ ["(", ")"]
8
+ ],
9
+ autoClosingPairs: [
10
+ {
11
+ open: "{",
12
+ close: "}"
13
+ },
14
+ {
15
+ open: "[",
16
+ close: "]"
17
+ },
18
+ {
19
+ open: "(",
20
+ close: ")"
21
+ },
22
+ {
23
+ open: "\"",
24
+ close: "\""
25
+ },
26
+ {
27
+ open: "'",
28
+ close: "'"
29
+ },
30
+ {
31
+ open: "`",
32
+ close: "`"
33
+ }
34
+ ],
35
+ surroundingPairs: [
36
+ {
37
+ open: "{",
38
+ close: "}"
39
+ },
40
+ {
41
+ open: "[",
42
+ close: "]"
43
+ },
44
+ {
45
+ open: "(",
46
+ close: ")"
47
+ },
48
+ {
49
+ open: "\"",
50
+ close: "\""
51
+ },
52
+ {
53
+ open: "'",
54
+ close: "'"
55
+ },
56
+ {
57
+ open: "`",
58
+ close: "`"
59
+ }
60
+ ]
61
+ }, t = {
62
+ defaultToken: "",
63
+ ignoreCase: !0,
64
+ tokenPostfix: ".shell",
65
+ brackets: [
66
+ {
67
+ token: "delimiter.bracket",
68
+ open: "{",
69
+ close: "}"
70
+ },
71
+ {
72
+ token: "delimiter.parenthesis",
73
+ open: "(",
74
+ close: ")"
75
+ },
76
+ {
77
+ token: "delimiter.square",
78
+ open: "[",
79
+ close: "]"
80
+ }
81
+ ],
82
+ keywords: [
83
+ "if",
84
+ "then",
85
+ "do",
86
+ "else",
87
+ "elif",
88
+ "while",
89
+ "until",
90
+ "for",
91
+ "in",
92
+ "esac",
93
+ "fi",
94
+ "fin",
95
+ "fil",
96
+ "done",
97
+ "exit",
98
+ "set",
99
+ "unset",
100
+ "export",
101
+ "function"
102
+ ],
103
+ builtins: /* @__PURE__ */ "ab.awk.bash.beep.cat.cc.cd.chown.chmod.chroot.clear.cp.curl.cut.diff.echo.find.gawk.gcc.get.git.grep.hg.kill.killall.ln.ls.make.mkdir.openssl.mv.nc.node.npm.ping.ps.restart.rm.rmdir.sed.service.sh.shopt.shred.source.sort.sleep.ssh.start.stop.su.sudo.svn.tee.telnet.top.touch.vi.vim.wall.wc.wget.who.write.yes.zsh".split("."),
104
+ startingWithDash: /\-+\w+/,
105
+ identifiersWithDashes: /[a-zA-Z]\w+(?:@startingWithDash)+/,
106
+ symbols: /[=><!~?&|+\-*\/\^;\.,]+/,
107
+ tokenizer: {
108
+ root: [
109
+ [/@identifiersWithDashes/, ""],
110
+ [/(\s)((?:@startingWithDash)+)/, ["white", "attribute.name"]],
111
+ [/[a-zA-Z]\w*/, { cases: {
112
+ "@keywords": "keyword",
113
+ "@builtins": "type.identifier",
114
+ "@default": ""
115
+ } }],
116
+ { include: "@whitespace" },
117
+ { include: "@strings" },
118
+ { include: "@parameters" },
119
+ { include: "@heredoc" },
120
+ [/[{}\[\]()]/, "@brackets"],
121
+ [/@symbols/, "delimiter"],
122
+ { include: "@numbers" },
123
+ [/[,;]/, "delimiter"]
124
+ ],
125
+ whitespace: [
126
+ [/\s+/, "white"],
127
+ [/(^#!.*$)/, "metatag"],
128
+ [/(^#.*$)/, "comment"]
129
+ ],
130
+ numbers: [
131
+ [/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
132
+ [/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/, "number.hex"],
133
+ [/\d+/, "number"]
134
+ ],
135
+ strings: [[
136
+ /'/,
137
+ "string",
138
+ "@stringBody"
139
+ ], [
140
+ /"/,
141
+ "string",
142
+ "@dblStringBody"
143
+ ]],
144
+ stringBody: [[
145
+ /'/,
146
+ "string",
147
+ "@popall"
148
+ ], [/./, "string"]],
149
+ dblStringBody: [[
150
+ /"/,
151
+ "string",
152
+ "@popall"
153
+ ], [/./, "string"]],
154
+ heredoc: [[/(<<[-<]?)(\s*)(['"`]?)([\w\-]+)(['"`]?)/, [
155
+ "constants",
156
+ "white",
157
+ "string.heredoc.delimiter",
158
+ "string.heredoc",
159
+ "string.heredoc.delimiter"
160
+ ]]],
161
+ parameters: [
162
+ [/\$\d+/, "variable.predefined"],
163
+ [/\$\w+/, "variable"],
164
+ [/\$[*@#?\-$!0_]/, "variable"],
165
+ [
166
+ /\$'/,
167
+ "variable",
168
+ "@parameterBodyQuote"
169
+ ],
170
+ [
171
+ /\$"/,
172
+ "variable",
173
+ "@parameterBodyDoubleQuote"
174
+ ],
175
+ [
176
+ /\$\(/,
177
+ "variable",
178
+ "@parameterBodyParen"
179
+ ],
180
+ [
181
+ /\$\{/,
182
+ "variable",
183
+ "@parameterBodyCurlyBrace"
184
+ ]
185
+ ],
186
+ parameterBodyQuote: [
187
+ [/[^#:%*@\-!_']+/, "variable"],
188
+ [/[#:%*@\-!_]/, "delimiter"],
189
+ [
190
+ /[']/,
191
+ "variable",
192
+ "@pop"
193
+ ]
194
+ ],
195
+ parameterBodyDoubleQuote: [
196
+ [/[^#:%*@\-!_"]+/, "variable"],
197
+ [/[#:%*@\-!_]/, "delimiter"],
198
+ [
199
+ /["]/,
200
+ "variable",
201
+ "@pop"
202
+ ]
203
+ ],
204
+ parameterBodyParen: [
205
+ [/[^#:%*@\-!_)]+/, "variable"],
206
+ [/[#:%*@\-!_]/, "delimiter"],
207
+ [
208
+ /[)]/,
209
+ "variable",
210
+ "@pop"
211
+ ]
212
+ ],
213
+ parameterBodyCurlyBrace: [
214
+ [/[^#:%*@\-!_}]+/, "variable"],
215
+ [/[#:%*@\-!_]/, "delimiter"],
216
+ [
217
+ /[}]/,
218
+ "variable",
219
+ "@pop"
220
+ ]
221
+ ]
222
+ }
223
+ };
224
+ //#endregion
225
+ export { e as conf, t as language };