monacozen 0.0.1 → 0.1.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/README.md +124 -0
- package/assets/antimono-ClsI0fxy.js +5 -0
- package/assets/antimono-zBXMptjq.css +1 -0
- package/assets/azcli-ue5GhsHI.js +55 -0
- package/assets/bat-C6DzPBcU.js +125 -0
- package/assets/bicep-B6UDBWZN.js +220 -0
- package/assets/cameligo-BoKy-zSd.js +191 -0
- package/assets/clojure-D8WHGr6v.js +148 -0
- package/assets/coffee-C16Mnhbm.js +262 -0
- package/assets/cpp-_HbkGdoj.js +232 -0
- package/assets/csharp-DeGXkEgi.js +262 -0
- package/assets/csp-DGVEba9U.js +48 -0
- package/assets/css-DmO2GtiT.js +286 -0
- package/assets/css.worker-B59bB4vF.js +6 -0
- package/assets/css.worker-zFzGcGyJ.js +96 -0
- package/assets/cssMode-B-yiAIn5.js +65 -0
- package/assets/cypher-5654EJL_.js +214 -0
- package/assets/dart-BjXVSQM-.js +238 -0
- package/assets/dist-Bx9hOuoB.js +624 -0
- package/assets/dockerfile-DSA8TJLS.js +193 -0
- package/assets/ecl-DoDWSDGs.js +228 -0
- package/assets/editor.api-C_6h_pYy.js +83476 -0
- package/assets/editorWebWorkerMain-Cpqca1A3.js +6 -0
- package/assets/editorWebWorkerMain-_4oyTYIl.js +33 -0
- package/assets/elixir-CzC02SL7.js +525 -0
- package/assets/freemarker2-Jvnudjht.js +718 -0
- package/assets/fsharp-DRGCXPNW.js +149 -0
- package/assets/go-CyErB8P9.js +167 -0
- package/assets/graphql-CNnvnjR8.js +176 -0
- package/assets/handlebars-B9HHtHT5.js +412 -0
- package/assets/hcl-D4a6HBjk.js +221 -0
- package/assets/html-B5_5MvV-.js +333 -0
- package/assets/html.worker-Czi9KUKj.js +6 -0
- package/assets/html.worker-D4M1xqlZ.js +509 -0
- package/assets/htmlMode-DcETbRqN.js +74 -0
- package/assets/ini-CpSjysbn.js +96 -0
- package/assets/java-DkRrYYRp.js +175 -0
- package/assets/javascript-Da2MNB2t.js +20 -0
- package/assets/json.worker-D3-21m4I.js +65 -0
- package/assets/json.worker-pkLWnKxn.js +6 -0
- package/assets/jsonMode-BtwFVp_X.js +450 -0
- package/assets/julia-DXDdnD4p.js +416 -0
- package/assets/kotlin-BNDyMshT.js +184 -0
- package/assets/less-3yDKfG4U.js +244 -0
- package/assets/liquid-DCciKNzb.js +199 -0
- package/assets/lspLanguageFeatures-CAn_K3Js.js +1455 -0
- package/assets/lua-CqDy9oHE.js +202 -0
- package/assets/m3-DyBtJGhR.js +195 -0
- package/assets/main-16cPxgwS.js +107 -0
- package/assets/main-CB71Lf5W.js +129 -0
- package/assets/main-HEYSEiwe.js +66 -0
- package/assets/markdown-DIkeztiD.js +264 -0
- package/assets/mdx-BcOG7QFm.js +329 -0
- package/assets/mips-BUbWxz0r.js +130 -0
- package/assets/monaco-BMsB0TPD.js +39430 -0
- package/assets/monaco-ffd8b062.css +3 -0
- package/assets/msdax-95fojGvn.js +158 -0
- package/assets/mysql-CX3tETwr.js +170 -0
- package/assets/objective-c-CK2i53vc.js +146 -0
- package/assets/pascal-wnGRqmNG.js +178 -0
- package/assets/pascaligo-DR2NqTqc.js +203 -0
- package/assets/perl-DXuijcFO.js +318 -0
- package/assets/pgsql-BFvD7ctB.js +160 -0
- package/assets/php-FZHoZ5C_.js +473 -0
- package/assets/pla-Cmb_VVG6.js +148 -0
- package/assets/postiats-DUwtyBVk.js +506 -0
- package/assets/powerquery-wUlwxvME.js +192 -0
- package/assets/powershell-Wf4X7WOf.js +213 -0
- package/assets/protobuf-CcMDFVG6.js +661 -0
- package/assets/pug-OPBd_9cN.js +302 -0
- package/assets/python-D2Z49Cw8.js +254 -0
- package/assets/qsharp-C4P6iWbB.js +145 -0
- package/assets/r-FHjiK9Ff.js +191 -0
- package/assets/razor-CfcSDTvR.js +519 -0
- package/assets/redis-CLJ_Tkzp.js +125 -0
- package/assets/redshift-Cn0YgnO8.js +160 -0
- package/assets/restructuredtext-Ckzl4aRZ.js +289 -0
- package/assets/ruby-Dhjv9xsd.js +529 -0
- package/assets/rust-Bq7le2bN.js +180 -0
- package/assets/scala-Bth6QY64.js +553 -0
- package/assets/scheme-BHXdn3HT.js +172 -0
- package/assets/scss-DVPfVfp2.js +419 -0
- package/assets/shell-DYY2DoAm.js +225 -0
- package/assets/solidity-C2dWya5C.js +149 -0
- package/assets/sophia-BdPli0VA.js +149 -0
- package/assets/sparql-Ca6NBL_y.js +126 -0
- package/assets/sql-CE5EfRV1.js +173 -0
- package/assets/st-BKcHiAlg.js +478 -0
- package/assets/swift-v0LuaFKN.js +215 -0
- package/assets/systemverilog-BRC61WOW.js +300 -0
- package/assets/tcl-Xx48oN1j.js +225 -0
- package/assets/ts.worker-CokkJ1Lk.js +6 -0
- package/assets/ts.worker-De3FAST6.js +67741 -0
- package/assets/tsMode-cdcRizUc.js +567 -0
- package/assets/twig-Dq5WyzaF.js +390 -0
- package/assets/typescript-B25ZZJLy.js +257 -0
- package/assets/typespec-DVZXVZWY.js +236 -0
- package/assets/vb--Ows3SAS.js +262 -0
- package/assets/wgsl-gwRTfDFE.js +147 -0
- package/assets/workers-qpP7-_JR.js +48 -0
- package/assets/xml-BD6eVsMx.js +130 -0
- package/assets/yaml-unVkvP57.js +223 -0
- package/lib.d.ts +8379 -0
- package/package.json +1 -1
- package/src/main.js +24 -0
- package/index.d.ts +0 -6
- package/index.js +0 -1
- package/readme.md +0 -1
- /package/{license.txt → LICENSE} +0 -0
|
@@ -0,0 +1,419 @@
|
|
|
1
|
+
//#region node_modules/.bun/monaco-editor@0.56.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.56.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 };
|