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,473 +0,0 @@
1
- //#region node_modules/monaco-editor/esm/vs/languages/definitions/php/php.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
- notIn: ["string"]
18
- },
19
- {
20
- open: "[",
21
- close: "]",
22
- notIn: ["string"]
23
- },
24
- {
25
- open: "(",
26
- close: ")",
27
- notIn: ["string"]
28
- },
29
- {
30
- open: "\"",
31
- close: "\"",
32
- notIn: ["string"]
33
- },
34
- {
35
- open: "'",
36
- close: "'",
37
- notIn: ["string", "comment"]
38
- }
39
- ],
40
- folding: { markers: {
41
- start: /* @__PURE__ */ RegExp("^\\s*(#|//)region\\b"),
42
- end: /* @__PURE__ */ RegExp("^\\s*(#|//)endregion\\b")
43
- } }
44
- }, t = {
45
- defaultToken: "",
46
- tokenPostfix: "",
47
- tokenizer: {
48
- root: [
49
- [/<\?((php)|=)?/, {
50
- token: "@rematch",
51
- switchTo: "@phpInSimpleState.root"
52
- }],
53
- [
54
- /<!DOCTYPE/,
55
- "metatag.html",
56
- "@doctype"
57
- ],
58
- [
59
- /<!--/,
60
- "comment.html",
61
- "@comment"
62
- ],
63
- [/(<)(\w+)(\/>)/, [
64
- "delimiter.html",
65
- "tag.html",
66
- "delimiter.html"
67
- ]],
68
- [/(<)(script)/, ["delimiter.html", {
69
- token: "tag.html",
70
- next: "@script"
71
- }]],
72
- [/(<)(style)/, ["delimiter.html", {
73
- token: "tag.html",
74
- next: "@style"
75
- }]],
76
- [/(<)([:\w]+)/, ["delimiter.html", {
77
- token: "tag.html",
78
- next: "@otherTag"
79
- }]],
80
- [/(<\/)(\w+)/, ["delimiter.html", {
81
- token: "tag.html",
82
- next: "@otherTag"
83
- }]],
84
- [/</, "delimiter.html"],
85
- [/[^<]+/]
86
- ],
87
- doctype: [
88
- [/<\?((php)|=)?/, {
89
- token: "@rematch",
90
- switchTo: "@phpInSimpleState.comment"
91
- }],
92
- [/[^>]+/, "metatag.content.html"],
93
- [
94
- />/,
95
- "metatag.html",
96
- "@pop"
97
- ]
98
- ],
99
- comment: [
100
- [/<\?((php)|=)?/, {
101
- token: "@rematch",
102
- switchTo: "@phpInSimpleState.comment"
103
- }],
104
- [
105
- /-->/,
106
- "comment.html",
107
- "@pop"
108
- ],
109
- [/[^-]+/, "comment.content.html"],
110
- [/./, "comment.content.html"]
111
- ],
112
- otherTag: [
113
- [/<\?((php)|=)?/, {
114
- token: "@rematch",
115
- switchTo: "@phpInSimpleState.otherTag"
116
- }],
117
- [
118
- /\/?>/,
119
- "delimiter.html",
120
- "@pop"
121
- ],
122
- [/"([^"]*)"/, "attribute.value"],
123
- [/'([^']*)'/, "attribute.value"],
124
- [/[\w\-]+/, "attribute.name"],
125
- [/=/, "delimiter"],
126
- [/[ \t\r\n]+/]
127
- ],
128
- script: [
129
- [/<\?((php)|=)?/, {
130
- token: "@rematch",
131
- switchTo: "@phpInSimpleState.script"
132
- }],
133
- [
134
- /type/,
135
- "attribute.name",
136
- "@scriptAfterType"
137
- ],
138
- [/"([^"]*)"/, "attribute.value"],
139
- [/'([^']*)'/, "attribute.value"],
140
- [/[\w\-]+/, "attribute.name"],
141
- [/=/, "delimiter"],
142
- [/>/, {
143
- token: "delimiter.html",
144
- next: "@scriptEmbedded.text/javascript",
145
- nextEmbedded: "text/javascript"
146
- }],
147
- [/[ \t\r\n]+/],
148
- [/(<\/)(script\s*)(>)/, [
149
- "delimiter.html",
150
- "tag.html",
151
- {
152
- token: "delimiter.html",
153
- next: "@pop"
154
- }
155
- ]]
156
- ],
157
- scriptAfterType: [
158
- [/<\?((php)|=)?/, {
159
- token: "@rematch",
160
- switchTo: "@phpInSimpleState.scriptAfterType"
161
- }],
162
- [
163
- /=/,
164
- "delimiter",
165
- "@scriptAfterTypeEquals"
166
- ],
167
- [/>/, {
168
- token: "delimiter.html",
169
- next: "@scriptEmbedded.text/javascript",
170
- nextEmbedded: "text/javascript"
171
- }],
172
- [/[ \t\r\n]+/],
173
- [/<\/script\s*>/, {
174
- token: "@rematch",
175
- next: "@pop"
176
- }]
177
- ],
178
- scriptAfterTypeEquals: [
179
- [/<\?((php)|=)?/, {
180
- token: "@rematch",
181
- switchTo: "@phpInSimpleState.scriptAfterTypeEquals"
182
- }],
183
- [/"([^"]*)"/, {
184
- token: "attribute.value",
185
- switchTo: "@scriptWithCustomType.$1"
186
- }],
187
- [/'([^']*)'/, {
188
- token: "attribute.value",
189
- switchTo: "@scriptWithCustomType.$1"
190
- }],
191
- [/>/, {
192
- token: "delimiter.html",
193
- next: "@scriptEmbedded.text/javascript",
194
- nextEmbedded: "text/javascript"
195
- }],
196
- [/[ \t\r\n]+/],
197
- [/<\/script\s*>/, {
198
- token: "@rematch",
199
- next: "@pop"
200
- }]
201
- ],
202
- scriptWithCustomType: [
203
- [/<\?((php)|=)?/, {
204
- token: "@rematch",
205
- switchTo: "@phpInSimpleState.scriptWithCustomType.$S2"
206
- }],
207
- [/>/, {
208
- token: "delimiter.html",
209
- next: "@scriptEmbedded.$S2",
210
- nextEmbedded: "$S2"
211
- }],
212
- [/"([^"]*)"/, "attribute.value"],
213
- [/'([^']*)'/, "attribute.value"],
214
- [/[\w\-]+/, "attribute.name"],
215
- [/=/, "delimiter"],
216
- [/[ \t\r\n]+/],
217
- [/<\/script\s*>/, {
218
- token: "@rematch",
219
- next: "@pop"
220
- }]
221
- ],
222
- scriptEmbedded: [[/<\?((php)|=)?/, {
223
- token: "@rematch",
224
- switchTo: "@phpInEmbeddedState.scriptEmbedded.$S2",
225
- nextEmbedded: "@pop"
226
- }], [/<\/script/, {
227
- token: "@rematch",
228
- next: "@pop",
229
- nextEmbedded: "@pop"
230
- }]],
231
- style: [
232
- [/<\?((php)|=)?/, {
233
- token: "@rematch",
234
- switchTo: "@phpInSimpleState.style"
235
- }],
236
- [
237
- /type/,
238
- "attribute.name",
239
- "@styleAfterType"
240
- ],
241
- [/"([^"]*)"/, "attribute.value"],
242
- [/'([^']*)'/, "attribute.value"],
243
- [/[\w\-]+/, "attribute.name"],
244
- [/=/, "delimiter"],
245
- [/>/, {
246
- token: "delimiter.html",
247
- next: "@styleEmbedded.text/css",
248
- nextEmbedded: "text/css"
249
- }],
250
- [/[ \t\r\n]+/],
251
- [/(<\/)(style\s*)(>)/, [
252
- "delimiter.html",
253
- "tag.html",
254
- {
255
- token: "delimiter.html",
256
- next: "@pop"
257
- }
258
- ]]
259
- ],
260
- styleAfterType: [
261
- [/<\?((php)|=)?/, {
262
- token: "@rematch",
263
- switchTo: "@phpInSimpleState.styleAfterType"
264
- }],
265
- [
266
- /=/,
267
- "delimiter",
268
- "@styleAfterTypeEquals"
269
- ],
270
- [/>/, {
271
- token: "delimiter.html",
272
- next: "@styleEmbedded.text/css",
273
- nextEmbedded: "text/css"
274
- }],
275
- [/[ \t\r\n]+/],
276
- [/<\/style\s*>/, {
277
- token: "@rematch",
278
- next: "@pop"
279
- }]
280
- ],
281
- styleAfterTypeEquals: [
282
- [/<\?((php)|=)?/, {
283
- token: "@rematch",
284
- switchTo: "@phpInSimpleState.styleAfterTypeEquals"
285
- }],
286
- [/"([^"]*)"/, {
287
- token: "attribute.value",
288
- switchTo: "@styleWithCustomType.$1"
289
- }],
290
- [/'([^']*)'/, {
291
- token: "attribute.value",
292
- switchTo: "@styleWithCustomType.$1"
293
- }],
294
- [/>/, {
295
- token: "delimiter.html",
296
- next: "@styleEmbedded.text/css",
297
- nextEmbedded: "text/css"
298
- }],
299
- [/[ \t\r\n]+/],
300
- [/<\/style\s*>/, {
301
- token: "@rematch",
302
- next: "@pop"
303
- }]
304
- ],
305
- styleWithCustomType: [
306
- [/<\?((php)|=)?/, {
307
- token: "@rematch",
308
- switchTo: "@phpInSimpleState.styleWithCustomType.$S2"
309
- }],
310
- [/>/, {
311
- token: "delimiter.html",
312
- next: "@styleEmbedded.$S2",
313
- nextEmbedded: "$S2"
314
- }],
315
- [/"([^"]*)"/, "attribute.value"],
316
- [/'([^']*)'/, "attribute.value"],
317
- [/[\w\-]+/, "attribute.name"],
318
- [/=/, "delimiter"],
319
- [/[ \t\r\n]+/],
320
- [/<\/style\s*>/, {
321
- token: "@rematch",
322
- next: "@pop"
323
- }]
324
- ],
325
- styleEmbedded: [[/<\?((php)|=)?/, {
326
- token: "@rematch",
327
- switchTo: "@phpInEmbeddedState.styleEmbedded.$S2",
328
- nextEmbedded: "@pop"
329
- }], [/<\/style/, {
330
- token: "@rematch",
331
- next: "@pop",
332
- nextEmbedded: "@pop"
333
- }]],
334
- phpInSimpleState: [
335
- [/<\?((php)|=)?/, "metatag.php"],
336
- [/\?>/, {
337
- token: "metatag.php",
338
- switchTo: "@$S2.$S3"
339
- }],
340
- { include: "phpRoot" }
341
- ],
342
- phpInEmbeddedState: [
343
- [/<\?((php)|=)?/, "metatag.php"],
344
- [/\?>/, {
345
- token: "metatag.php",
346
- switchTo: "@$S2.$S3",
347
- nextEmbedded: "$S3"
348
- }],
349
- { include: "phpRoot" }
350
- ],
351
- phpRoot: [
352
- [/[a-zA-Z_]\w*/, { cases: {
353
- "@phpKeywords": { token: "keyword.php" },
354
- "@phpCompileTimeConstants": { token: "constant.php" },
355
- "@default": "identifier.php"
356
- } }],
357
- [/[$a-zA-Z_]\w*/, { cases: {
358
- "@phpPreDefinedVariables": { token: "variable.predefined.php" },
359
- "@default": "variable.php"
360
- } }],
361
- [/[{}]/, "delimiter.bracket.php"],
362
- [/[\[\]]/, "delimiter.array.php"],
363
- [/[()]/, "delimiter.parenthesis.php"],
364
- [/[ \t\r\n]+/],
365
- [/(#|\/\/)$/, "comment.php"],
366
- [
367
- /(#|\/\/)/,
368
- "comment.php",
369
- "@phpLineComment"
370
- ],
371
- [
372
- /\/\*/,
373
- "comment.php",
374
- "@phpComment"
375
- ],
376
- [
377
- /"/,
378
- "string.php",
379
- "@phpDoubleQuoteString"
380
- ],
381
- [
382
- /'/,
383
- "string.php",
384
- "@phpSingleQuoteString"
385
- ],
386
- [/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,\@]/, "delimiter.php"],
387
- [/\d*\d+[eE]([\-+]?\d+)?/, "number.float.php"],
388
- [/\d*\.\d+([eE][\-+]?\d+)?/, "number.float.php"],
389
- [/0[xX][0-9a-fA-F']*[0-9a-fA-F]/, "number.hex.php"],
390
- [/0[0-7']*[0-7]/, "number.octal.php"],
391
- [/0[bB][0-1']*[0-1]/, "number.binary.php"],
392
- [/\d[\d']*/, "number.php"],
393
- [/\d/, "number.php"]
394
- ],
395
- phpComment: [
396
- [
397
- /\*\//,
398
- "comment.php",
399
- "@pop"
400
- ],
401
- [/[^*]+/, "comment.php"],
402
- [/./, "comment.php"]
403
- ],
404
- phpLineComment: [
405
- [/\?>/, {
406
- token: "@rematch",
407
- next: "@pop"
408
- }],
409
- [
410
- /.$/,
411
- "comment.php",
412
- "@pop"
413
- ],
414
- [
415
- /[^?]+$/,
416
- "comment.php",
417
- "@pop"
418
- ],
419
- [/[^?]+/, "comment.php"],
420
- [/./, "comment.php"]
421
- ],
422
- phpDoubleQuoteString: [
423
- [/[^\\"]+/, "string.php"],
424
- [/@escapes/, "string.escape.php"],
425
- [/\\./, "string.escape.invalid.php"],
426
- [
427
- /"/,
428
- "string.php",
429
- "@pop"
430
- ]
431
- ],
432
- phpSingleQuoteString: [
433
- [/[^\\']+/, "string.php"],
434
- [/@escapes/, "string.escape.php"],
435
- [/\\./, "string.escape.invalid.php"],
436
- [
437
- /'/,
438
- "string.php",
439
- "@pop"
440
- ]
441
- ]
442
- },
443
- phpKeywords: /* @__PURE__ */ "abstract.and.array.as.break.callable.case.catch.cfunction.class.clone.const.continue.declare.default.do.else.elseif.enddeclare.endfor.endforeach.endif.endswitch.endwhile.extends.false.final.for.foreach.function.global.goto.if.implements.interface.instanceof.insteadof.namespace.new.null.object.old_function.or.private.protected.public.resource.static.switch.throw.trait.try.true.use.var.while.xor.die.echo.empty.exit.eval.include.include_once.isset.list.require.require_once.return.print.unset.yield.__construct".split("."),
444
- phpCompileTimeConstants: [
445
- "__CLASS__",
446
- "__DIR__",
447
- "__FILE__",
448
- "__LINE__",
449
- "__NAMESPACE__",
450
- "__METHOD__",
451
- "__FUNCTION__",
452
- "__TRAIT__"
453
- ],
454
- phpPreDefinedVariables: [
455
- "$GLOBALS",
456
- "$_SERVER",
457
- "$_GET",
458
- "$_POST",
459
- "$_FILES",
460
- "$_REQUEST",
461
- "$_SESSION",
462
- "$_ENV",
463
- "$_COOKIE",
464
- "$php_errormsg",
465
- "$HTTP_RAW_POST_DATA",
466
- "$http_response_header",
467
- "$argc",
468
- "$argv"
469
- ],
470
- escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/
471
- };
472
- //#endregion
473
- export { e as conf, t as language };
@@ -1,213 +0,0 @@
1
- //#region node_modules/monaco-editor/esm/vs/languages/definitions/powershell/powershell.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"]
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*#region\\b"),
61
- end: /* @__PURE__ */ RegExp("^\\s*#endregion\\b")
62
- } }
63
- }, t = {
64
- defaultToken: "",
65
- ignoreCase: !0,
66
- tokenPostfix: ".ps1",
67
- brackets: [
68
- {
69
- token: "delimiter.curly",
70
- open: "{",
71
- close: "}"
72
- },
73
- {
74
- token: "delimiter.square",
75
- open: "[",
76
- close: "]"
77
- },
78
- {
79
- token: "delimiter.parenthesis",
80
- open: "(",
81
- close: ")"
82
- }
83
- ],
84
- keywords: /* @__PURE__ */ "begin.break.catch.class.continue.data.define.do.dynamicparam.else.elseif.end.exit.filter.finally.for.foreach.from.function.if.in.param.process.return.switch.throw.trap.try.until.using.var.while.workflow.parallel.sequence.inlinescript.configuration".split("."),
85
- helpKeywords: /SYNOPSIS|DESCRIPTION|PARAMETER|EXAMPLE|INPUTS|OUTPUTS|NOTES|LINK|COMPONENT|ROLE|FUNCTIONALITY|FORWARDHELPTARGETNAME|FORWARDHELPCATEGORY|REMOTEHELPRUNSPACE|EXTERNALHELP/,
86
- symbols: /[=><!~?&%|+\-*\/\^;\.,]+/,
87
- escapes: /`(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
88
- tokenizer: {
89
- root: [
90
- [/[a-zA-Z_][\w-]*/, { cases: {
91
- "@keywords": { token: "keyword.$0" },
92
- "@default": ""
93
- } }],
94
- [/[ \t\r\n]+/, ""],
95
- [/^:\w*/, "metatag"],
96
- [/\$(\{((global|local|private|script|using):)?[\w]+\}|((global|local|private|script|using):)?[\w]+)/, "variable"],
97
- [
98
- /<#/,
99
- "comment",
100
- "@comment"
101
- ],
102
- [/#.*$/, "comment"],
103
- [/[{}()\[\]]/, "@brackets"],
104
- [/@symbols/, "delimiter"],
105
- [/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
106
- [/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/, "number.hex"],
107
- [/\d+?/, "number"],
108
- [/[;,.]/, "delimiter"],
109
- [
110
- /\@"/,
111
- "string",
112
- "@herestring.\""
113
- ],
114
- [
115
- /\@'/,
116
- "string",
117
- "@herestring.'"
118
- ],
119
- [/"/, { cases: {
120
- "@eos": "string",
121
- "@default": {
122
- token: "string",
123
- next: "@string.\""
124
- }
125
- } }],
126
- [/'/, { cases: {
127
- "@eos": "string",
128
- "@default": {
129
- token: "string",
130
- next: "@string.'"
131
- }
132
- } }]
133
- ],
134
- string: [
135
- [/[^"'\$`]+/, { cases: {
136
- "@eos": {
137
- token: "string",
138
- next: "@popall"
139
- },
140
- "@default": "string"
141
- } }],
142
- [/@escapes/, { cases: {
143
- "@eos": {
144
- token: "string.escape",
145
- next: "@popall"
146
- },
147
- "@default": "string.escape"
148
- } }],
149
- [/`./, { cases: {
150
- "@eos": {
151
- token: "string.escape.invalid",
152
- next: "@popall"
153
- },
154
- "@default": "string.escape.invalid"
155
- } }],
156
- [/\$[\w]+$/, { cases: {
157
- "$S2==\"": {
158
- token: "variable",
159
- next: "@popall"
160
- },
161
- "@default": {
162
- token: "string",
163
- next: "@popall"
164
- }
165
- } }],
166
- [/\$[\w]+/, { cases: {
167
- "$S2==\"": "variable",
168
- "@default": "string"
169
- } }],
170
- [/["']/, { cases: {
171
- "$#==$S2": {
172
- token: "string",
173
- next: "@pop"
174
- },
175
- "@default": { cases: {
176
- "@eos": {
177
- token: "string",
178
- next: "@popall"
179
- },
180
- "@default": "string"
181
- } }
182
- } }]
183
- ],
184
- herestring: [
185
- [/^\s*(["'])@/, { cases: {
186
- "$1==$S2": {
187
- token: "string",
188
- next: "@pop"
189
- },
190
- "@default": "string"
191
- } }],
192
- [/[^\$`]+/, "string"],
193
- [/@escapes/, "string.escape"],
194
- [/`./, "string.escape.invalid"],
195
- [/\$[\w]+/, { cases: {
196
- "$S2==\"": "variable",
197
- "@default": "string"
198
- } }]
199
- ],
200
- comment: [
201
- [/[^#\.]+/, "comment"],
202
- [
203
- /#>/,
204
- "comment",
205
- "@pop"
206
- ],
207
- [/(\.)(@helpKeywords)(?!\w)/, { token: "comment.keyword.$2" }],
208
- [/[\.#]/, "comment"]
209
- ]
210
- }
211
- };
212
- //#endregion
213
- export { e as conf, t as language };