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.
Files changed (163) hide show
  1. package/README.md +4 -0
  2. package/assets/_omit-monaco-features_css-qxObuaCQ.js +1 -0
  3. package/assets/_omit-monaco-features_html-VygYHg7B.js +1 -0
  4. package/assets/_omit-monaco-features_typescript-D_BnRRMx.js +1 -0
  5. package/assets/antimono-400-b0f584bd.woff2 +0 -0
  6. package/assets/antimono-400-italic-09f4c1ae.woff2 +0 -0
  7. package/assets/antimono-700-2072e038.woff2 +0 -0
  8. package/assets/antimono-700-italic-78952312.woff2 +0 -0
  9. package/assets/antimono-XFdMCgZb.js +2 -0
  10. package/assets/antimono-zBXMptjq.css +1 -1
  11. package/assets/bat-DkMb6tS9.js +1 -0
  12. package/assets/bicep-gz7oXw8V.js +2 -0
  13. package/assets/clojure-BeArCv4U.js +1 -0
  14. package/assets/codicon-77f90255.ttf +0 -0
  15. package/assets/coffee-hLOn_V5A.js +1 -0
  16. package/assets/cpp-DxRo2s7O.js +1 -0
  17. package/assets/csharp-C1LINnKt.js +1 -0
  18. package/assets/css-1Eg8GPA8.js +3 -0
  19. package/assets/cypher-Ca1JvSwk.js +1 -0
  20. package/assets/dart-Bje7CIuI.js +1 -0
  21. package/assets/dist-DiJdi6br.js +11 -0
  22. package/assets/dockerfile-DZFCIeNp.js +1 -0
  23. package/assets/editor.api-ClTSSybg.js +912 -0
  24. package/assets/editorWebWorkerMain-9q7AG3J9.js +1 -0
  25. package/assets/editorWebWorkerMain-BeKU-a3I.js +33 -0
  26. package/assets/elixir-6RTg0lbw.js +1 -0
  27. package/assets/fsharp-p7RecL-a.js +1 -0
  28. package/assets/go-B21Jr2Lc.js +1 -0
  29. package/assets/graphql-fmXr3nnJ.js +1 -0
  30. package/assets/handlebars-CyuWwLhs.js +1 -0
  31. package/assets/hcl-CpzslTdj.js +1 -0
  32. package/assets/html-D-6ViuBT.js +1 -0
  33. package/assets/ini-sBoK_t0W.js +1 -0
  34. package/assets/java-ByyLeZXC.js +1 -0
  35. package/assets/javascript-Cs-KDyqn.js +1 -0
  36. package/assets/{json.worker-CAiVr-gV.js → json.worker-BO5JkV3c.js} +6 -6
  37. package/assets/json.worker-D4KZT3k0.js +1 -0
  38. package/assets/jsonMode-CgXNHhiW.js +12 -0
  39. package/assets/julia-BNQOXozl.js +1 -0
  40. package/assets/kotlin-fjNqnENY.js +1 -0
  41. package/assets/less-B9-X_OHM.js +2 -0
  42. package/assets/liquid-Co_Rw9yK.js +1 -0
  43. package/assets/lua-CsQS60Ue.js +1 -0
  44. package/assets/main-DhJSBJDT.js +1 -0
  45. package/assets/main-HAVFq1WZ.js +1 -0
  46. package/assets/main-e2I2uRcQ.js +1 -0
  47. package/assets/markdown-D9M8UCDQ.js +1 -0
  48. package/assets/mdx-QikHivq4.js +1 -0
  49. package/assets/mips-DwkTBQD5.js +1 -0
  50. package/assets/monaco-9bd99409.css +3 -0
  51. package/assets/monaco-BPDUy015.js +59 -0
  52. package/assets/mysql-B9tHR_c9.js +1 -0
  53. package/assets/objective-c-Csug38Zp.js +1 -0
  54. package/assets/pascal-BruRBdsr.js +1 -0
  55. package/assets/perl-Dql_Egn0.js +1 -0
  56. package/assets/pgsql-DI4tfWYt.js +1 -0
  57. package/assets/php-DjHJy6xV.js +1 -0
  58. package/assets/powershell-DOR_yACD.js +1 -0
  59. package/assets/protobuf-B6qBET1H.js +2 -0
  60. package/assets/pug-BC7GTg9W.js +1 -0
  61. package/assets/python-ywrvpsv-.js +1 -0
  62. package/assets/r-B-J1yMT1.js +1 -0
  63. package/assets/redis-DZRGuxk2.js +1 -0
  64. package/assets/ruby-aklVn8qB.js +1 -0
  65. package/assets/rust-nh76nEti.js +1 -0
  66. package/assets/scala-BvnaqAb1.js +1 -0
  67. package/assets/scss-9xZSuRET.js +3 -0
  68. package/assets/shell-BOwo4WfX.js +1 -0
  69. package/assets/solidity-hGP85dDs.js +1 -0
  70. package/assets/sql-CIrXk7iQ.js +1 -0
  71. package/assets/swift-B0ETVgO9.js +1 -0
  72. package/assets/systemverilog-C0rJIDsQ.js +1 -0
  73. package/assets/twig-B_taSrVf.js +1 -0
  74. package/assets/typescript-pjjiBLxk.js +1 -0
  75. package/assets/typespec-uhVOI7Qs.js +1 -0
  76. package/assets/vb-4iFT4G4y.js +1 -0
  77. package/assets/wgsl-DpFanUEy.js +298 -0
  78. package/assets/xml-CuyY6WsM.js +1 -0
  79. package/assets/yaml-BDf1vVDq.js +1 -0
  80. package/assets/yaml.worker-D0QDX0Zj.js +1 -0
  81. package/assets/yaml.worker-DD5NU0Ed.js +431 -0
  82. package/package.json +1 -1
  83. package/src/main.js +19 -19
  84. package/assets/antimono-ClsI0fxy.js +0 -5
  85. package/assets/bat-CAz1OfAu.js +0 -125
  86. package/assets/bicep-B6UDBWZN.js +0 -220
  87. package/assets/clojure-BmcSQAck.js +0 -148
  88. package/assets/coffee-BjQKeqpj.js +0 -262
  89. package/assets/cpp-SbfDT5PL.js +0 -232
  90. package/assets/csharp-DIgVBsD4.js +0 -262
  91. package/assets/css-CyL9hcFb.js +0 -286
  92. package/assets/css.worker-BIsSvM_Q.js +0 -96
  93. package/assets/css.worker-ZGAWMrD5.js +0 -6
  94. package/assets/cssMode-CJXOwqou.js +0 -65
  95. package/assets/cypher-CFQunzEa.js +0 -214
  96. package/assets/dart-DeIsDVRt.js +0 -238
  97. package/assets/dist-Bx9hOuoB.js +0 -624
  98. package/assets/dockerfile-Yk3LuDQk.js +0 -193
  99. package/assets/editor.api-BzOtwRIu.js +0 -85776
  100. package/assets/editorWebWorkerMain-5pwK50BL.js +0 -6
  101. package/assets/editorWebWorkerMain-BioN9fGU.js +0 -33
  102. package/assets/elixir-y_NY5k67.js +0 -525
  103. package/assets/fsharp-DdRbc-sH.js +0 -149
  104. package/assets/go-D7w79i6g.js +0 -167
  105. package/assets/graphql-BsDuKp-c.js +0 -176
  106. package/assets/handlebars-CBxzRnT2.js +0 -412
  107. package/assets/hcl-CXnaLDBx.js +0 -221
  108. package/assets/html-2O_gNlhN.js +0 -333
  109. package/assets/html.worker-CEvqvEpu.js +0 -509
  110. package/assets/html.worker-CjDeE2MB.js +0 -6
  111. package/assets/htmlMode-DXEYjoJO.js +0 -74
  112. package/assets/ini-DAoNsTkV.js +0 -96
  113. package/assets/java-Cp0vrvO9.js +0 -175
  114. package/assets/javascript-b4MphFng.js +0 -20
  115. package/assets/json.worker-C4u3dDHp.js +0 -6
  116. package/assets/jsonMode-CJ6m-6ix.js +0 -450
  117. package/assets/julia-CVutXSdh.js +0 -416
  118. package/assets/kotlin-DYeWZuUb.js +0 -184
  119. package/assets/less-INmgXeDn.js +0 -244
  120. package/assets/liquid-vTiq1Xyj.js +0 -199
  121. package/assets/lspLanguageFeatures-bOiKIJ8R.js +0 -1455
  122. package/assets/lua-COF3XwLj.js +0 -202
  123. package/assets/main-16cPxgwS.js +0 -107
  124. package/assets/main-CB71Lf5W.js +0 -129
  125. package/assets/main-HEYSEiwe.js +0 -66
  126. package/assets/markdown-CCGC2kAW.js +0 -264
  127. package/assets/mdx-CDmJWd6e.js +0 -329
  128. package/assets/mips-ll8pdQLQ.js +0 -130
  129. package/assets/monaco-d37b1a8f.css +0 -3
  130. package/assets/monaco-eCLjoH9K.js +0 -40922
  131. package/assets/mysql-CnCmYLcK.js +0 -170
  132. package/assets/objective-c-D-xZGaTr.js +0 -146
  133. package/assets/pascal-CKVRL3bp.js +0 -178
  134. package/assets/perl-DqL2sfnN.js +0 -318
  135. package/assets/pgsql-BpvbArh-.js +0 -160
  136. package/assets/php-BbqlrNqC.js +0 -473
  137. package/assets/powershell-0oEoSDwW.js +0 -213
  138. package/assets/protobuf-DlOMtU4U.js +0 -661
  139. package/assets/pug-CTxaaQKP.js +0 -302
  140. package/assets/python-H0euVUAi.js +0 -254
  141. package/assets/r-DF_g8_2l.js +0 -191
  142. package/assets/redis-B09Z6nB5.js +0 -125
  143. package/assets/ruby-CWBObvDC.js +0 -529
  144. package/assets/rust-DdLDSWVK.js +0 -180
  145. package/assets/scala-Bg3GaqPc.js +0 -553
  146. package/assets/scss-D-qk8UVY.js +0 -419
  147. package/assets/shell-CpVOERQd.js +0 -225
  148. package/assets/solidity-CVmhJ22u.js +0 -149
  149. package/assets/sql-DHvzW7ba.js +0 -173
  150. package/assets/swift-DIkzszb_.js +0 -215
  151. package/assets/systemverilog-T3rz_k7V.js +0 -300
  152. package/assets/ts.worker-BydNuElr.js +0 -6
  153. package/assets/ts.worker-DZhhT1EO.js +0 -67741
  154. package/assets/tsMode-x1GCvxZU.js +0 -566
  155. package/assets/twig-CWOr6DII.js +0 -390
  156. package/assets/typescript-DGfbroT9.js +0 -257
  157. package/assets/typespec-4ubJw-FV.js +0 -236
  158. package/assets/vb-SSAHHOVh.js +0 -262
  159. package/assets/wgsl-hf5cqFtC.js +0 -147
  160. package/assets/xml-Bz6VGB5E.js +0 -130
  161. package/assets/yaml-D00PSO5v.js +0 -223
  162. package/assets/yaml.worker-DzOKX3TP.js +0 -474
  163. package/assets/yaml.worker-Y0uWi-gi.js +0 -6
@@ -1,262 +0,0 @@
1
- //#region node_modules/monaco-editor/esm/vs/languages/definitions/csharp/csharp.js
2
- var e = {
3
- wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\#\$\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
4
- comments: {
5
- lineComment: "//",
6
- blockComment: ["/*", "*/"]
7
- },
8
- brackets: [
9
- ["{", "}"],
10
- ["[", "]"],
11
- ["(", ")"]
12
- ],
13
- autoClosingPairs: [
14
- {
15
- open: "{",
16
- close: "}"
17
- },
18
- {
19
- open: "[",
20
- close: "]"
21
- },
22
- {
23
- open: "(",
24
- close: ")"
25
- },
26
- {
27
- open: "'",
28
- close: "'",
29
- notIn: ["string", "comment"]
30
- },
31
- {
32
- open: "\"",
33
- close: "\"",
34
- notIn: ["string", "comment"]
35
- }
36
- ],
37
- surroundingPairs: [
38
- {
39
- open: "{",
40
- close: "}"
41
- },
42
- {
43
- open: "[",
44
- close: "]"
45
- },
46
- {
47
- open: "(",
48
- close: ")"
49
- },
50
- {
51
- open: "<",
52
- close: ">"
53
- },
54
- {
55
- open: "'",
56
- close: "'"
57
- },
58
- {
59
- open: "\"",
60
- close: "\""
61
- }
62
- ],
63
- folding: { markers: {
64
- start: /* @__PURE__ */ RegExp("^\\s*#region\\b"),
65
- end: /* @__PURE__ */ RegExp("^\\s*#endregion\\b")
66
- } }
67
- }, t = {
68
- defaultToken: "",
69
- tokenPostfix: ".cs",
70
- brackets: [
71
- {
72
- open: "{",
73
- close: "}",
74
- token: "delimiter.curly"
75
- },
76
- {
77
- open: "[",
78
- close: "]",
79
- token: "delimiter.square"
80
- },
81
- {
82
- open: "(",
83
- close: ")",
84
- token: "delimiter.parenthesis"
85
- },
86
- {
87
- open: "<",
88
- close: ">",
89
- token: "delimiter.angle"
90
- }
91
- ],
92
- keywords: /* @__PURE__ */ "extern.alias.using.bool.decimal.sbyte.byte.short.ushort.int.uint.long.ulong.char.float.double.object.dynamic.string.assembly.is.as.ref.out.this.base.new.typeof.void.checked.unchecked.default.delegate.var.const.if.else.switch.case.while.do.for.foreach.in.break.continue.goto.return.throw.try.catch.finally.lock.yield.from.let.where.join.on.equals.into.orderby.ascending.descending.select.group.by.namespace.partial.class.field.event.method.param.public.protected.internal.private.abstract.sealed.static.struct.readonly.volatile.virtual.override.params.get.set.add.remove.operator.true.false.implicit.explicit.interface.enum.null.async.await.fixed.sizeof.stackalloc.unsafe.nameof.when".split("."),
93
- namespaceFollows: ["namespace", "using"],
94
- parenFollows: [
95
- "if",
96
- "for",
97
- "while",
98
- "switch",
99
- "foreach",
100
- "using",
101
- "catch",
102
- "when"
103
- ],
104
- operators: /* @__PURE__ */ "=.??.||.&&.|.^.&.==.!=.<=.>=.<<.+.-.*./.%.!.~.++.--.+=.-=.*=./=.%=.&=.|=.^=.<<=.>>=.>>.=>".split("."),
105
- symbols: /[=><!~?:&|+\-*\/\^%]+/,
106
- escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
107
- tokenizer: {
108
- root: [
109
- [/\@?[a-zA-Z_]\w*/, { cases: {
110
- "@namespaceFollows": {
111
- token: "keyword.$0",
112
- next: "@namespace"
113
- },
114
- "@keywords": {
115
- token: "keyword.$0",
116
- next: "@qualified"
117
- },
118
- "@default": {
119
- token: "identifier",
120
- next: "@qualified"
121
- }
122
- } }],
123
- { include: "@whitespace" },
124
- [/}/, { cases: {
125
- "$S2==interpolatedstring": {
126
- token: "string.quote",
127
- next: "@pop"
128
- },
129
- "$S2==litinterpstring": {
130
- token: "string.quote",
131
- next: "@pop"
132
- },
133
- "@default": "@brackets"
134
- } }],
135
- [/[{}()\[\]]/, "@brackets"],
136
- [/[<>](?!@symbols)/, "@brackets"],
137
- [/@symbols/, { cases: {
138
- "@operators": "delimiter",
139
- "@default": ""
140
- } }],
141
- [/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?[fFdD]?/, "number.float"],
142
- [/0[xX][0-9a-fA-F_]+/, "number.hex"],
143
- [/0[bB][01_]+/, "number.hex"],
144
- [/[0-9_]+/, "number"],
145
- [/[;,.]/, "delimiter"],
146
- [/"([^"\\]|\\.)*$/, "string.invalid"],
147
- [/"/, {
148
- token: "string.quote",
149
- next: "@string"
150
- }],
151
- [/\$\@"/, {
152
- token: "string.quote",
153
- next: "@litinterpstring"
154
- }],
155
- [/\@"/, {
156
- token: "string.quote",
157
- next: "@litstring"
158
- }],
159
- [/\$"/, {
160
- token: "string.quote",
161
- next: "@interpolatedstring"
162
- }],
163
- [/'[^\\']'/, "string"],
164
- [/(')(@escapes)(')/, [
165
- "string",
166
- "string.escape",
167
- "string"
168
- ]],
169
- [/'/, "string.invalid"]
170
- ],
171
- qualified: [
172
- [/[a-zA-Z_][\w]*/, { cases: {
173
- "@keywords": { token: "keyword.$0" },
174
- "@default": "identifier"
175
- } }],
176
- [/\./, "delimiter"],
177
- [
178
- "",
179
- "",
180
- "@pop"
181
- ]
182
- ],
183
- namespace: [
184
- { include: "@whitespace" },
185
- [/[A-Z]\w*/, "namespace"],
186
- [/[\.=]/, "delimiter"],
187
- [
188
- "",
189
- "",
190
- "@pop"
191
- ]
192
- ],
193
- comment: [
194
- [/[^\/*]+/, "comment"],
195
- [
196
- "\\*/",
197
- "comment",
198
- "@pop"
199
- ],
200
- [/[\/*]/, "comment"]
201
- ],
202
- string: [
203
- [/[^\\"]+/, "string"],
204
- [/@escapes/, "string.escape"],
205
- [/\\./, "string.escape.invalid"],
206
- [/"/, {
207
- token: "string.quote",
208
- next: "@pop"
209
- }]
210
- ],
211
- litstring: [
212
- [/[^"]+/, "string"],
213
- [/""/, "string.escape"],
214
- [/"/, {
215
- token: "string.quote",
216
- next: "@pop"
217
- }]
218
- ],
219
- litinterpstring: [
220
- [/[^"{]+/, "string"],
221
- [/""/, "string.escape"],
222
- [/{{/, "string.escape"],
223
- [/}}/, "string.escape"],
224
- [/{/, {
225
- token: "string.quote",
226
- next: "root.litinterpstring"
227
- }],
228
- [/"/, {
229
- token: "string.quote",
230
- next: "@pop"
231
- }]
232
- ],
233
- interpolatedstring: [
234
- [/[^\\"{]+/, "string"],
235
- [/@escapes/, "string.escape"],
236
- [/\\./, "string.escape.invalid"],
237
- [/{{/, "string.escape"],
238
- [/}}/, "string.escape"],
239
- [/{/, {
240
- token: "string.quote",
241
- next: "root.interpolatedstring"
242
- }],
243
- [/"/, {
244
- token: "string.quote",
245
- next: "@pop"
246
- }]
247
- ],
248
- whitespace: [
249
- [/^[ \t\v\f]*#((r)|(load))(?=\s)/, "directive.csx"],
250
- [/^[ \t\v\f]*#\w.*$/, "namespace.cpp"],
251
- [/[ \t\v\f\r\n]+/, ""],
252
- [
253
- /\/\*/,
254
- "comment",
255
- "@comment"
256
- ],
257
- [/\/\/.*$/, "comment"]
258
- ]
259
- }
260
- };
261
- //#endregion
262
- export { e as conf, t as language };
@@ -1,286 +0,0 @@
1
- //#region node_modules/monaco-editor/esm/vs/languages/definitions/css/css.js
2
- var e = {
3
- wordPattern: /(#?-?\d*\.\d\w*%?)|((::|[@#.!:])?[\w-?]+%?)|::|[@#.!:]/g,
4
- comments: { blockComment: ["/*", "*/"] },
5
- brackets: [
6
- ["{", "}"],
7
- ["[", "]"],
8
- ["(", ")"]
9
- ],
10
- autoClosingPairs: [
11
- {
12
- open: "{",
13
- close: "}",
14
- notIn: ["string", "comment"]
15
- },
16
- {
17
- open: "[",
18
- close: "]",
19
- notIn: ["string", "comment"]
20
- },
21
- {
22
- open: "(",
23
- close: ")",
24
- notIn: ["string", "comment"]
25
- },
26
- {
27
- open: "\"",
28
- close: "\"",
29
- notIn: ["string", "comment"]
30
- },
31
- {
32
- open: "'",
33
- close: "'",
34
- notIn: ["string", "comment"]
35
- }
36
- ],
37
- surroundingPairs: [
38
- {
39
- open: "{",
40
- close: "}"
41
- },
42
- {
43
- open: "[",
44
- close: "]"
45
- },
46
- {
47
- open: "(",
48
- close: ")"
49
- },
50
- {
51
- open: "\"",
52
- close: "\""
53
- },
54
- {
55
- open: "'",
56
- close: "'"
57
- }
58
- ],
59
- folding: { markers: {
60
- start: /* @__PURE__ */ RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),
61
- end: /* @__PURE__ */ RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")
62
- } }
63
- }, t = {
64
- defaultToken: "",
65
- tokenPostfix: ".css",
66
- ws: "[ \n\r\f]*",
67
- 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])))*",
68
- brackets: [
69
- {
70
- open: "{",
71
- close: "}",
72
- token: "delimiter.bracket"
73
- },
74
- {
75
- open: "[",
76
- close: "]",
77
- token: "delimiter.bracket"
78
- },
79
- {
80
- open: "(",
81
- close: ")",
82
- token: "delimiter.parenthesis"
83
- },
84
- {
85
- open: "<",
86
- close: ">",
87
- token: "delimiter.angle"
88
- }
89
- ],
90
- tokenizer: {
91
- root: [{ include: "@selector" }],
92
- selector: [
93
- { include: "@comments" },
94
- { include: "@import" },
95
- { include: "@strings" },
96
- ["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)", {
97
- token: "keyword",
98
- next: "@keyframedeclaration"
99
- }],
100
- ["[@](page|content|font-face|-moz-document)", { token: "keyword" }],
101
- ["[@](charset|namespace)", {
102
- token: "keyword",
103
- next: "@declarationbody"
104
- }],
105
- ["(url-prefix)(\\()", ["attribute.value", {
106
- token: "delimiter.parenthesis",
107
- next: "@urldeclaration"
108
- }]],
109
- ["(url)(\\()", ["attribute.value", {
110
- token: "delimiter.parenthesis",
111
- next: "@urldeclaration"
112
- }]],
113
- { include: "@selectorname" },
114
- ["[\\*]", "tag"],
115
- ["[>\\+,]", "delimiter"],
116
- ["\\[", {
117
- token: "delimiter.bracket",
118
- next: "@selectorattribute"
119
- }],
120
- ["{", {
121
- token: "delimiter.bracket",
122
- next: "@selectorbody"
123
- }]
124
- ],
125
- selectorbody: [
126
- { include: "@comments" },
127
- [
128
- "[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))",
129
- "attribute.name",
130
- "@rulevalue"
131
- ],
132
- ["}", {
133
- token: "delimiter.bracket",
134
- next: "@pop"
135
- }]
136
- ],
137
- selectorname: [["(\\.|#(?=[^{])|%|(@identifier)|:)+", "tag"]],
138
- selectorattribute: [{ include: "@term" }, ["]", {
139
- token: "delimiter.bracket",
140
- next: "@pop"
141
- }]],
142
- term: [
143
- { include: "@comments" },
144
- ["(url-prefix)(\\()", ["attribute.value", {
145
- token: "delimiter.parenthesis",
146
- next: "@urldeclaration"
147
- }]],
148
- ["(url)(\\()", ["attribute.value", {
149
- token: "delimiter.parenthesis",
150
- next: "@urldeclaration"
151
- }]],
152
- { include: "@functioninvocation" },
153
- { include: "@numbers" },
154
- { include: "@name" },
155
- { include: "@strings" },
156
- ["([<>=\\+\\-\\*\\/\\^\\|\\~,])", "delimiter"],
157
- [",", "delimiter"]
158
- ],
159
- rulevalue: [
160
- { include: "@comments" },
161
- { include: "@strings" },
162
- { include: "@term" },
163
- ["!important", "keyword"],
164
- [
165
- ";",
166
- "delimiter",
167
- "@pop"
168
- ],
169
- ["(?=})", {
170
- token: "",
171
- next: "@pop"
172
- }]
173
- ],
174
- warndebug: [["[@](warn|debug)", {
175
- token: "keyword",
176
- next: "@declarationbody"
177
- }]],
178
- import: [["[@](import)", {
179
- token: "keyword",
180
- next: "@declarationbody"
181
- }]],
182
- urldeclaration: [
183
- { include: "@strings" },
184
- ["[^)\r\n]+", "string"],
185
- ["\\)", {
186
- token: "delimiter.parenthesis",
187
- next: "@pop"
188
- }]
189
- ],
190
- parenthizedterm: [{ include: "@term" }, ["\\)", {
191
- token: "delimiter.parenthesis",
192
- next: "@pop"
193
- }]],
194
- declarationbody: [
195
- { include: "@term" },
196
- [
197
- ";",
198
- "delimiter",
199
- "@pop"
200
- ],
201
- ["(?=})", {
202
- token: "",
203
- next: "@pop"
204
- }]
205
- ],
206
- comments: [[
207
- "\\/\\*",
208
- "comment",
209
- "@comment"
210
- ], ["\\/\\/+.*", "comment"]],
211
- comment: [
212
- [
213
- "\\*\\/",
214
- "comment",
215
- "@pop"
216
- ],
217
- [/[^*/]+/, "comment"],
218
- [/./, "comment"]
219
- ],
220
- name: [["@identifier", "attribute.value"]],
221
- numbers: [["-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?", {
222
- token: "attribute.value.number",
223
- next: "@units"
224
- }], ["#[0-9a-fA-F_]+(?!\\w)", "attribute.value.hex"]],
225
- units: [[
226
- "(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?",
227
- "attribute.value.unit",
228
- "@pop"
229
- ]],
230
- keyframedeclaration: [["@identifier", "attribute.value"], ["{", {
231
- token: "delimiter.bracket",
232
- switchTo: "@keyframebody"
233
- }]],
234
- keyframebody: [
235
- { include: "@term" },
236
- ["{", {
237
- token: "delimiter.bracket",
238
- next: "@selectorbody"
239
- }],
240
- ["}", {
241
- token: "delimiter.bracket",
242
- next: "@pop"
243
- }]
244
- ],
245
- functioninvocation: [["@identifier\\(", {
246
- token: "attribute.value",
247
- next: "@functionarguments"
248
- }]],
249
- functionarguments: [
250
- ["\\$@identifier@ws:", "attribute.name"],
251
- ["[,]", "delimiter"],
252
- { include: "@term" },
253
- ["\\)", {
254
- token: "attribute.value",
255
- next: "@pop"
256
- }]
257
- ],
258
- strings: [["~?\"", {
259
- token: "string",
260
- next: "@stringenddoublequote"
261
- }], ["~?'", {
262
- token: "string",
263
- next: "@stringendquote"
264
- }]],
265
- stringenddoublequote: [
266
- ["\\\\.", "string"],
267
- ["\"", {
268
- token: "string",
269
- next: "@pop"
270
- }],
271
- [/[^\\"]+/, "string"],
272
- [".", "string"]
273
- ],
274
- stringendquote: [
275
- ["\\\\.", "string"],
276
- ["'", {
277
- token: "string",
278
- next: "@pop"
279
- }],
280
- [/[^\\']+/, "string"],
281
- [".", "string"]
282
- ]
283
- }
284
- };
285
- //#endregion
286
- export { e as conf, t as language };