@vrowzer/vite-plugin 0.0.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 (39) hide show
  1. package/LICENSE +20 -0
  2. package/README.md +290 -0
  3. package/dist/ide/assets/css.worker-uWEFNxvl.js +89 -0
  4. package/dist/ide/assets/html.worker-1tLoAl5Z.js +502 -0
  5. package/dist/ide/assets/json.worker-CL3sVQd6.js +58 -0
  6. package/dist/ide/assets/ts.worker-BFpNHPy5.js +67719 -0
  7. package/dist/ide/css-CPSW8DVZ.js +286 -0
  8. package/dist/ide/cssMode-B5DtFEwy.js +65 -0
  9. package/dist/ide/graphql-BteLL2CG.js +176 -0
  10. package/dist/ide/handlebars-BcqMM6pa.js +412 -0
  11. package/dist/ide/html-CxO5OaJl.js +333 -0
  12. package/dist/ide/htmlMode-DxpUG2jm.js +74 -0
  13. package/dist/ide/ide.css +2 -0
  14. package/dist/ide/ide.js +5523 -0
  15. package/dist/ide/javascript-CvtLx4_Z.js +21 -0
  16. package/dist/ide/jsonMode-LVtiYWKr.js +449 -0
  17. package/dist/ide/less-BubkcFWW.js +244 -0
  18. package/dist/ide/lspLanguageFeatures-BDyekQt2.js +1455 -0
  19. package/dist/ide/markdown-DPB5N4OB.js +264 -0
  20. package/dist/ide/mdx-Sun87_nd.js +329 -0
  21. package/dist/ide/monaco.contribution-DVj8eGe_.js +116 -0
  22. package/dist/ide/pug-BONHZNEg.js +302 -0
  23. package/dist/ide/scss-0r6NeK1P.js +419 -0
  24. package/dist/ide/shell-Vh_eZpea.js +225 -0
  25. package/dist/ide/toggleHighContrast-DI4ZeqFk.js +113328 -0
  26. package/dist/ide/tsMode-BKTkt1bt.js +567 -0
  27. package/dist/ide/typescript-CHC4VYBW.js +257 -0
  28. package/dist/ide/workers-IG_hD8Jy.js +47 -0
  29. package/dist/ide/xml-C0QFzMaz.js +130 -0
  30. package/dist/ide/yaml-o-RP7lYY.js +223 -0
  31. package/dist/index.d.mts +138 -0
  32. package/dist/index.d.mts.map +1 -0
  33. package/dist/index.mjs +1335 -0
  34. package/dist/index.mjs.map +1 -0
  35. package/dist/manifest-generate.d.mts +89 -0
  36. package/dist/manifest-generate.d.mts.map +1 -0
  37. package/dist/manifest-generate.mjs +438 -0
  38. package/dist/manifest-generate.mjs.map +1 -0
  39. package/package.json +88 -0
@@ -0,0 +1,302 @@
1
+ //#region ../../node_modules/.pnpm/monaco-editor@0.55.1/node_modules/monaco-editor/esm/vs/basic-languages/pug/pug.js
2
+ var e = {
3
+ comments: { lineComment: "//" },
4
+ brackets: [
5
+ ["{", "}"],
6
+ ["[", "]"],
7
+ ["(", ")"]
8
+ ],
9
+ autoClosingPairs: [
10
+ {
11
+ open: "\"",
12
+ close: "\"",
13
+ notIn: ["string", "comment"]
14
+ },
15
+ {
16
+ open: "'",
17
+ close: "'",
18
+ notIn: ["string", "comment"]
19
+ },
20
+ {
21
+ open: "{",
22
+ close: "}",
23
+ notIn: ["string", "comment"]
24
+ },
25
+ {
26
+ open: "[",
27
+ close: "]",
28
+ notIn: ["string", "comment"]
29
+ },
30
+ {
31
+ open: "(",
32
+ close: ")",
33
+ notIn: ["string", "comment"]
34
+ }
35
+ ],
36
+ folding: { offSide: !0 }
37
+ }, t = {
38
+ defaultToken: "",
39
+ tokenPostfix: ".pug",
40
+ ignoreCase: !0,
41
+ brackets: [
42
+ {
43
+ token: "delimiter.curly",
44
+ open: "{",
45
+ close: "}"
46
+ },
47
+ {
48
+ token: "delimiter.array",
49
+ open: "[",
50
+ close: "]"
51
+ },
52
+ {
53
+ token: "delimiter.parenthesis",
54
+ open: "(",
55
+ close: ")"
56
+ }
57
+ ],
58
+ keywords: [
59
+ "append",
60
+ "block",
61
+ "case",
62
+ "default",
63
+ "doctype",
64
+ "each",
65
+ "else",
66
+ "extends",
67
+ "for",
68
+ "if",
69
+ "in",
70
+ "include",
71
+ "mixin",
72
+ "typeof",
73
+ "unless",
74
+ "var",
75
+ "when"
76
+ ],
77
+ tags: /* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.base.basefont.bdi.bdo.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.command.datalist.dd.del.details.dfn.div.dl.dt.em.embed.fieldset.figcaption.figure.font.footer.form.frame.frameset.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.iframe.img.input.ins.keygen.kbd.label.li.link.map.mark.menu.meta.meter.nav.noframes.noscript.object.ol.optgroup.option.output.p.param.pre.progress.q.rp.rt.ruby.s.samp.script.section.select.small.source.span.strike.strong.style.sub.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.title.tr.tracks.tt.u.ul.video.wbr".split("."),
78
+ symbols: /[\+\-\*\%\&\|\!\=\/\.\,\:]+/,
79
+ escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
80
+ tokenizer: {
81
+ root: [
82
+ [/^(\s*)([a-zA-Z_-][\w-]*)/, { cases: {
83
+ "$2@tags": { cases: {
84
+ "@eos": ["", "tag"],
85
+ "@default": ["", {
86
+ token: "tag",
87
+ next: "@tag.$1"
88
+ }]
89
+ } },
90
+ "$2@keywords": ["", { token: "keyword.$2" }],
91
+ "@default": ["", ""]
92
+ } }],
93
+ [/^(\s*)(#[a-zA-Z_-][\w-]*)/, { cases: {
94
+ "@eos": ["", "tag.id"],
95
+ "@default": ["", {
96
+ token: "tag.id",
97
+ next: "@tag.$1"
98
+ }]
99
+ } }],
100
+ [/^(\s*)(\.[a-zA-Z_-][\w-]*)/, { cases: {
101
+ "@eos": ["", "tag.class"],
102
+ "@default": ["", {
103
+ token: "tag.class",
104
+ next: "@tag.$1"
105
+ }]
106
+ } }],
107
+ [/^(\s*)(\|.*)$/, ""],
108
+ { include: "@whitespace" },
109
+ [/[a-zA-Z_$][\w$]*/, { cases: {
110
+ "@keywords": { token: "keyword.$0" },
111
+ "@default": ""
112
+ } }],
113
+ [/[{}()\[\]]/, "@brackets"],
114
+ [/@symbols/, "delimiter"],
115
+ [/\d+\.\d+([eE][\-+]?\d+)?/, "number.float"],
116
+ [/\d+/, "number"],
117
+ [
118
+ /"/,
119
+ "string",
120
+ "@string.\""
121
+ ],
122
+ [
123
+ /'/,
124
+ "string",
125
+ "@string.'"
126
+ ]
127
+ ],
128
+ tag: [
129
+ [/(\.)(\s*$)/, [{
130
+ token: "delimiter",
131
+ next: "@blockText.$S2."
132
+ }, ""]],
133
+ [/\s+/, {
134
+ token: "",
135
+ next: "@simpleText"
136
+ }],
137
+ [/#[a-zA-Z_-][\w-]*/, { cases: {
138
+ "@eos": {
139
+ token: "tag.id",
140
+ next: "@pop"
141
+ },
142
+ "@default": "tag.id"
143
+ } }],
144
+ [/\.[a-zA-Z_-][\w-]*/, { cases: {
145
+ "@eos": {
146
+ token: "tag.class",
147
+ next: "@pop"
148
+ },
149
+ "@default": "tag.class"
150
+ } }],
151
+ [/\(/, {
152
+ token: "delimiter.parenthesis",
153
+ next: "@attributeList"
154
+ }]
155
+ ],
156
+ simpleText: [
157
+ [/[^#]+$/, {
158
+ token: "",
159
+ next: "@popall"
160
+ }],
161
+ [/[^#]+/, { token: "" }],
162
+ [/(#{)([^}]*)(})/, { cases: {
163
+ "@eos": [
164
+ "interpolation.delimiter",
165
+ "interpolation",
166
+ {
167
+ token: "interpolation.delimiter",
168
+ next: "@popall"
169
+ }
170
+ ],
171
+ "@default": [
172
+ "interpolation.delimiter",
173
+ "interpolation",
174
+ "interpolation.delimiter"
175
+ ]
176
+ } }],
177
+ [/#$/, {
178
+ token: "",
179
+ next: "@popall"
180
+ }],
181
+ [/#/, ""]
182
+ ],
183
+ attributeList: [
184
+ [/\s+/, ""],
185
+ [/(\w+)(\s*=\s*)("|')/, [
186
+ "attribute.name",
187
+ "delimiter",
188
+ {
189
+ token: "attribute.value",
190
+ next: "@value.$3"
191
+ }
192
+ ]],
193
+ [/\w+/, "attribute.name"],
194
+ [/,/, { cases: {
195
+ "@eos": {
196
+ token: "attribute.delimiter",
197
+ next: "@popall"
198
+ },
199
+ "@default": "attribute.delimiter"
200
+ } }],
201
+ [/\)$/, {
202
+ token: "delimiter.parenthesis",
203
+ next: "@popall"
204
+ }],
205
+ [/\)/, {
206
+ token: "delimiter.parenthesis",
207
+ next: "@pop"
208
+ }]
209
+ ],
210
+ whitespace: [
211
+ [/^(\s*)(\/\/.*)$/, {
212
+ token: "comment",
213
+ next: "@blockText.$1.comment"
214
+ }],
215
+ [/[ \t\r\n]+/, ""],
216
+ [/<!--/, {
217
+ token: "comment",
218
+ next: "@comment"
219
+ }]
220
+ ],
221
+ blockText: [[/^\s+.*$/, { cases: {
222
+ "($S2\\s+.*$)": { token: "$S3" },
223
+ "@default": {
224
+ token: "@rematch",
225
+ next: "@popall"
226
+ }
227
+ } }], [/./, {
228
+ token: "@rematch",
229
+ next: "@popall"
230
+ }]],
231
+ comment: [
232
+ [/[^<\-]+/, "comment.content"],
233
+ [/-->/, {
234
+ token: "comment",
235
+ next: "@pop"
236
+ }],
237
+ [/<!--/, "comment.content.invalid"],
238
+ [/[<\-]/, "comment.content"]
239
+ ],
240
+ string: [
241
+ [/[^\\"'#]+/, { cases: {
242
+ "@eos": {
243
+ token: "string",
244
+ next: "@popall"
245
+ },
246
+ "@default": "string"
247
+ } }],
248
+ [/@escapes/, { cases: {
249
+ "@eos": {
250
+ token: "string.escape",
251
+ next: "@popall"
252
+ },
253
+ "@default": "string.escape"
254
+ } }],
255
+ [/\\./, { cases: {
256
+ "@eos": {
257
+ token: "string.escape.invalid",
258
+ next: "@popall"
259
+ },
260
+ "@default": "string.escape.invalid"
261
+ } }],
262
+ [/(#{)([^}]*)(})/, [
263
+ "interpolation.delimiter",
264
+ "interpolation",
265
+ "interpolation.delimiter"
266
+ ]],
267
+ [/#/, "string"],
268
+ [/["']/, { cases: {
269
+ "$#==$S2": {
270
+ token: "string",
271
+ next: "@pop"
272
+ },
273
+ "@default": { token: "string" }
274
+ } }]
275
+ ],
276
+ value: [
277
+ [/[^\\"']+/, { cases: {
278
+ "@eos": {
279
+ token: "attribute.value",
280
+ next: "@popall"
281
+ },
282
+ "@default": "attribute.value"
283
+ } }],
284
+ [/\\./, { cases: {
285
+ "@eos": {
286
+ token: "attribute.value",
287
+ next: "@popall"
288
+ },
289
+ "@default": "attribute.value"
290
+ } }],
291
+ [/["']/, { cases: {
292
+ "$#==$S2": {
293
+ token: "attribute.value",
294
+ next: "@pop"
295
+ },
296
+ "@default": { token: "attribute.value" }
297
+ } }]
298
+ ]
299
+ }
300
+ };
301
+ //#endregion
302
+ export { e as conf, t as language };
@@ -0,0 +1,419 @@
1
+ //#region ../../node_modules/.pnpm/monaco-editor@0.55.1/node_modules/monaco-editor/esm/vs/basic-languages/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 };