monacozen 0.5.1 → 0.6.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 +4 -0
- package/assets/_omit-monaco-features_css-qxObuaCQ.js +1 -0
- package/assets/_omit-monaco-features_html-VygYHg7B.js +1 -0
- package/assets/_omit-monaco-features_typescript-D_BnRRMx.js +1 -0
- package/assets/antimono-400-b0f584bd.woff2 +0 -0
- package/assets/antimono-400-italic-09f4c1ae.woff2 +0 -0
- package/assets/antimono-700-2072e038.woff2 +0 -0
- package/assets/antimono-700-italic-78952312.woff2 +0 -0
- package/assets/antimono-XFdMCgZb.js +2 -0
- package/assets/antimono-zBXMptjq.css +1 -1
- package/assets/bat-DkMb6tS9.js +1 -0
- package/assets/bicep-gz7oXw8V.js +2 -0
- package/assets/clojure-BeArCv4U.js +1 -0
- package/assets/codicon-77f90255.ttf +0 -0
- package/assets/coffee-hLOn_V5A.js +1 -0
- package/assets/cpp-DxRo2s7O.js +1 -0
- package/assets/csharp-C1LINnKt.js +1 -0
- package/assets/css-1Eg8GPA8.js +3 -0
- package/assets/cypher-Ca1JvSwk.js +1 -0
- package/assets/dart-Bje7CIuI.js +1 -0
- package/assets/dist-DiJdi6br.js +11 -0
- package/assets/dockerfile-DZFCIeNp.js +1 -0
- package/assets/editor.api-ClTSSybg.js +912 -0
- package/assets/editorWebWorkerMain-9q7AG3J9.js +1 -0
- package/assets/editorWebWorkerMain-BeKU-a3I.js +33 -0
- package/assets/elixir-6RTg0lbw.js +1 -0
- package/assets/fsharp-p7RecL-a.js +1 -0
- package/assets/go-B21Jr2Lc.js +1 -0
- package/assets/graphql-fmXr3nnJ.js +1 -0
- package/assets/handlebars-CyuWwLhs.js +1 -0
- package/assets/hcl-CpzslTdj.js +1 -0
- package/assets/html-D-6ViuBT.js +1 -0
- package/assets/ini-sBoK_t0W.js +1 -0
- package/assets/java-ByyLeZXC.js +1 -0
- package/assets/javascript-Cs-KDyqn.js +1 -0
- package/assets/{json.worker-CAiVr-gV.js → json.worker-BO5JkV3c.js} +6 -6
- package/assets/json.worker-D4KZT3k0.js +1 -0
- package/assets/jsonMode-CgXNHhiW.js +12 -0
- package/assets/julia-BNQOXozl.js +1 -0
- package/assets/kotlin-fjNqnENY.js +1 -0
- package/assets/less-B9-X_OHM.js +2 -0
- package/assets/liquid-Co_Rw9yK.js +1 -0
- package/assets/lua-CsQS60Ue.js +1 -0
- package/assets/main-DhJSBJDT.js +1 -0
- package/assets/main-HAVFq1WZ.js +1 -0
- package/assets/main-e2I2uRcQ.js +1 -0
- package/assets/markdown-D9M8UCDQ.js +1 -0
- package/assets/mdx-QikHivq4.js +1 -0
- package/assets/mips-DwkTBQD5.js +1 -0
- package/assets/monaco-9bd99409.css +3 -0
- package/assets/monaco-BPDUy015.js +59 -0
- package/assets/mysql-B9tHR_c9.js +1 -0
- package/assets/objective-c-Csug38Zp.js +1 -0
- package/assets/pascal-BruRBdsr.js +1 -0
- package/assets/perl-Dql_Egn0.js +1 -0
- package/assets/pgsql-DI4tfWYt.js +1 -0
- package/assets/php-DjHJy6xV.js +1 -0
- package/assets/powershell-DOR_yACD.js +1 -0
- package/assets/protobuf-B6qBET1H.js +2 -0
- package/assets/pug-BC7GTg9W.js +1 -0
- package/assets/python-ywrvpsv-.js +1 -0
- package/assets/r-B-J1yMT1.js +1 -0
- package/assets/redis-DZRGuxk2.js +1 -0
- package/assets/ruby-aklVn8qB.js +1 -0
- package/assets/rust-nh76nEti.js +1 -0
- package/assets/scala-BvnaqAb1.js +1 -0
- package/assets/scss-9xZSuRET.js +3 -0
- package/assets/shell-BOwo4WfX.js +1 -0
- package/assets/solidity-hGP85dDs.js +1 -0
- package/assets/sql-CIrXk7iQ.js +1 -0
- package/assets/swift-B0ETVgO9.js +1 -0
- package/assets/systemverilog-C0rJIDsQ.js +1 -0
- package/assets/twig-B_taSrVf.js +1 -0
- package/assets/typescript-pjjiBLxk.js +1 -0
- package/assets/typespec-uhVOI7Qs.js +1 -0
- package/assets/vb-4iFT4G4y.js +1 -0
- package/assets/wgsl-DpFanUEy.js +298 -0
- package/assets/xml-CuyY6WsM.js +1 -0
- package/assets/yaml-BDf1vVDq.js +1 -0
- package/assets/yaml.worker-D0QDX0Zj.js +1 -0
- package/assets/yaml.worker-DD5NU0Ed.js +431 -0
- package/package.json +1 -1
- package/src/main.js +19 -19
- package/assets/antimono-ClsI0fxy.js +0 -5
- package/assets/bat-CAz1OfAu.js +0 -125
- package/assets/bicep-B6UDBWZN.js +0 -220
- package/assets/clojure-BmcSQAck.js +0 -148
- package/assets/coffee-BjQKeqpj.js +0 -262
- package/assets/cpp-SbfDT5PL.js +0 -232
- package/assets/csharp-DIgVBsD4.js +0 -262
- package/assets/css-CyL9hcFb.js +0 -286
- package/assets/css.worker-BIsSvM_Q.js +0 -96
- package/assets/css.worker-ZGAWMrD5.js +0 -6
- package/assets/cssMode-CJXOwqou.js +0 -65
- package/assets/cypher-CFQunzEa.js +0 -214
- package/assets/dart-DeIsDVRt.js +0 -238
- package/assets/dist-Bx9hOuoB.js +0 -624
- package/assets/dockerfile-Yk3LuDQk.js +0 -193
- package/assets/editor.api-BzOtwRIu.js +0 -85776
- package/assets/editorWebWorkerMain-5pwK50BL.js +0 -6
- package/assets/editorWebWorkerMain-BioN9fGU.js +0 -33
- package/assets/elixir-y_NY5k67.js +0 -525
- package/assets/fsharp-DdRbc-sH.js +0 -149
- package/assets/go-D7w79i6g.js +0 -167
- package/assets/graphql-BsDuKp-c.js +0 -176
- package/assets/handlebars-CBxzRnT2.js +0 -412
- package/assets/hcl-CXnaLDBx.js +0 -221
- package/assets/html-2O_gNlhN.js +0 -333
- package/assets/html.worker-CEvqvEpu.js +0 -509
- package/assets/html.worker-CjDeE2MB.js +0 -6
- package/assets/htmlMode-DXEYjoJO.js +0 -74
- package/assets/ini-DAoNsTkV.js +0 -96
- package/assets/java-Cp0vrvO9.js +0 -175
- package/assets/javascript-b4MphFng.js +0 -20
- package/assets/json.worker-C4u3dDHp.js +0 -6
- package/assets/jsonMode-CJ6m-6ix.js +0 -450
- package/assets/julia-CVutXSdh.js +0 -416
- package/assets/kotlin-DYeWZuUb.js +0 -184
- package/assets/less-INmgXeDn.js +0 -244
- package/assets/liquid-vTiq1Xyj.js +0 -199
- package/assets/lspLanguageFeatures-bOiKIJ8R.js +0 -1455
- package/assets/lua-COF3XwLj.js +0 -202
- package/assets/main-16cPxgwS.js +0 -107
- package/assets/main-CB71Lf5W.js +0 -129
- package/assets/main-HEYSEiwe.js +0 -66
- package/assets/markdown-CCGC2kAW.js +0 -264
- package/assets/mdx-CDmJWd6e.js +0 -329
- package/assets/mips-ll8pdQLQ.js +0 -130
- package/assets/monaco-d37b1a8f.css +0 -3
- package/assets/monaco-eCLjoH9K.js +0 -40922
- package/assets/mysql-CnCmYLcK.js +0 -170
- package/assets/objective-c-D-xZGaTr.js +0 -146
- package/assets/pascal-CKVRL3bp.js +0 -178
- package/assets/perl-DqL2sfnN.js +0 -318
- package/assets/pgsql-BpvbArh-.js +0 -160
- package/assets/php-BbqlrNqC.js +0 -473
- package/assets/powershell-0oEoSDwW.js +0 -213
- package/assets/protobuf-DlOMtU4U.js +0 -661
- package/assets/pug-CTxaaQKP.js +0 -302
- package/assets/python-H0euVUAi.js +0 -254
- package/assets/r-DF_g8_2l.js +0 -191
- package/assets/redis-B09Z6nB5.js +0 -125
- package/assets/ruby-CWBObvDC.js +0 -529
- package/assets/rust-DdLDSWVK.js +0 -180
- package/assets/scala-Bg3GaqPc.js +0 -553
- package/assets/scss-D-qk8UVY.js +0 -419
- package/assets/shell-CpVOERQd.js +0 -225
- package/assets/solidity-CVmhJ22u.js +0 -149
- package/assets/sql-DHvzW7ba.js +0 -173
- package/assets/swift-DIkzszb_.js +0 -215
- package/assets/systemverilog-T3rz_k7V.js +0 -300
- package/assets/ts.worker-BydNuElr.js +0 -6
- package/assets/ts.worker-DZhhT1EO.js +0 -67741
- package/assets/tsMode-x1GCvxZU.js +0 -566
- package/assets/twig-CWOr6DII.js +0 -390
- package/assets/typescript-DGfbroT9.js +0 -257
- package/assets/typespec-4ubJw-FV.js +0 -236
- package/assets/vb-SSAHHOVh.js +0 -262
- package/assets/wgsl-hf5cqFtC.js +0 -147
- package/assets/xml-Bz6VGB5E.js +0 -130
- package/assets/yaml-D00PSO5v.js +0 -223
- package/assets/yaml.worker-DzOKX3TP.js +0 -474
- package/assets/yaml.worker-Y0uWi-gi.js +0 -6
package/assets/scss-D-qk8UVY.js
DELETED
|
@@ -1,419 +0,0 @@
|
|
|
1
|
-
//#region 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 };
|
package/assets/shell-CpVOERQd.js
DELETED
|
@@ -1,225 +0,0 @@
|
|
|
1
|
-
//#region 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 };
|