sun-form-v3 1.0.75 → 1.0.76
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{index-CcTbw1Tq.js → index-DFhw3AXw.js} +38766 -67043
- package/dist/{javascript-L09o5l7-.js → javascript-Cg8yvIbj.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/sun-form-v3.es.js +1 -1
- package/dist/sun-form-v3.umd.js +220 -1394
- package/dist/{tsMode-D2yB4q_y.js → tsMode-DC3WlIAp.js} +1 -1
- package/dist/{typescript-B66xIknh.js → typescript-qB7JvgzD.js} +1 -1
- package/package.json +3 -1
- package/dist/abap-DfvySaIJ.js +0 -1404
- package/dist/apex-B__0irD3.js +0 -332
- package/dist/azcli-CDMGhRmx.js +0 -74
- package/dist/bat-0Mk8aqzx.js +0 -106
- package/dist/bicep-BBi_I06Z.js +0 -108
- package/dist/cameligo-D0G_Zm6X.js +0 -180
- package/dist/clojure-o2ZKLeMp.js +0 -767
- package/dist/coffee-DOQff5VC.js +0 -238
- package/dist/cpp-CQGJnWhD.js +0 -395
- package/dist/csharp-C1jLsHl8.js +0 -332
- package/dist/csp-C_ttMQaW.js +0 -59
- package/dist/css-BC202kVV.js +0 -193
- package/dist/cssMode-CyjUDoDD.js +0 -1541
- package/dist/cypher-DwtEH7Fi.js +0 -269
- package/dist/dart-D9XknsP2.js +0 -287
- package/dist/dockerfile-DgsNjqqa.js +0 -136
- package/dist/ecl-BAMCHBl6.js +0 -462
- package/dist/elixir-CegIttP8.js +0 -575
- package/dist/flow9-9608t7UV.js +0 -148
- package/dist/freemarker2-CzU8Y7TO.js +0 -995
- package/dist/fsharp-CCtt9-1_.js +0 -223
- package/dist/go-CGUIPbct.js +0 -224
- package/dist/graphql-BNRIFFIn.js +0 -157
- package/dist/handlebars-DcPibhdm.js +0 -425
- package/dist/hcl-C__KLIXe.js +0 -189
- package/dist/html-B8maI1wg.js +0 -314
- package/dist/htmlMode-D8HgQk11.js +0 -1551
- package/dist/ini-CeKYn_zA.js +0 -77
- package/dist/java-Dm24deQl.js +0 -238
- package/dist/jsonMode-dkd7Mp3R.js +0 -1957
- package/dist/julia-BImNW7VE.js +0 -517
- package/dist/kotlin-BfE79GEb.js +0 -259
- package/dist/less-DglNOcaC.js +0 -168
- package/dist/lexon-BA0dRz9Q.js +0 -163
- package/dist/liquid-CkWglRzZ.js +0 -246
- package/dist/lua-DMkWzJcm.js +0 -168
- package/dist/m3-sA-5shO8.js +0 -216
- package/dist/markdown-OYRB1igA.js +0 -235
- package/dist/mdx-CCaTXl1c.js +0 -171
- package/dist/mips-rRzkJ_7G.js +0 -204
- package/dist/msdax-DoVJdUhd.js +0 -381
- package/dist/mysql-Ty44IHXo.js +0 -884
- package/dist/objective-c-VUfyhYrA.js +0 -189
- package/dist/pascal-DkASiYyw.js +0 -257
- package/dist/pascaligo-p-ELPlVO.js +0 -170
- package/dist/perl-Cjl1FxLZ.js +0 -632
- package/dist/pgsql-DjVenF7s.js +0 -857
- package/dist/php-CwvGzZOO.js +0 -506
- package/dist/pla-Br1iaBIV.js +0 -143
- package/dist/postiats-BaeP8zZY.js +0 -913
- package/dist/powerquery-CLCshuo8.js +0 -896
- package/dist/powershell-CZV50w5N.js +0 -245
- package/dist/protobuf-MV3XTewJ.js +0 -426
- package/dist/pug-DkDg4c4l.js +0 -408
- package/dist/python-4CtoY8go.js +0 -282
- package/dist/qsharp-BAtiKA97.js +0 -291
- package/dist/r-8ocrd-h-.js +0 -249
- package/dist/razor-DwoBjqQV.js +0 -556
- package/dist/redis-9sZiddxc.js +0 -308
- package/dist/redshift-DQfTOGC0.js +0 -815
- package/dist/restructuredtext-DXU-vkgr.js +0 -180
- package/dist/ruby-DotfqwMf.js +0 -517
- package/dist/rust-BIauJ5KN.js +0 -349
- package/dist/sb-CmWMvDEV.js +0 -121
- package/dist/scala-C81brEbk.js +0 -376
- package/dist/scheme-D0pcFz2x.js +0 -114
- package/dist/scss-BOdN2fGG.js +0 -268
- package/dist/shell-6E09eAkU.js +0 -227
- package/dist/solidity-CWStzA1K.js +0 -1373
- package/dist/sophia-76Sb6CWe.js +0 -205
- package/dist/sparql-BmZTkOWT.js +0 -207
- package/dist/sql-Cs9TBAW5.js +0 -859
- package/dist/st-B-rqE1Bu.js +0 -422
- package/dist/swift-Btsj6YxQ.js +0 -318
- package/dist/systemverilog-B3RHBRa2.js +0 -582
- package/dist/tcl-Dpj776pn.js +0 -238
- package/dist/twig-Bb9JmBsE.js +0 -398
- package/dist/typespec-CDWeg3SU.js +0 -123
- package/dist/vb-DEXnYwEI.js +0 -378
- package/dist/wgsl-D602c1lx.js +0 -445
- package/dist/xml-H71lCcfm.js +0 -101
- package/dist/yaml-DvTcXNYB.js +0 -212
package/dist/php-CwvGzZOO.js
DELETED
@@ -1,506 +0,0 @@
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
* Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)
|
4
|
-
* Released under the MIT license
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
|
-
*-----------------------------------------------------------------------------*/
|
7
|
-
var e = {
|
8
|
-
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
9
|
-
comments: {
|
10
|
-
lineComment: "//",
|
11
|
-
blockComment: ["/*", "*/"]
|
12
|
-
},
|
13
|
-
brackets: [
|
14
|
-
["{", "}"],
|
15
|
-
["[", "]"],
|
16
|
-
["(", ")"]
|
17
|
-
],
|
18
|
-
autoClosingPairs: [
|
19
|
-
{ open: "{", close: "}", notIn: ["string"] },
|
20
|
-
{ open: "[", close: "]", notIn: ["string"] },
|
21
|
-
{ open: "(", close: ")", notIn: ["string"] },
|
22
|
-
{ open: '"', close: '"', notIn: ["string"] },
|
23
|
-
{ open: "'", close: "'", notIn: ["string", "comment"] }
|
24
|
-
],
|
25
|
-
folding: {
|
26
|
-
markers: {
|
27
|
-
start: new RegExp("^\\s*(#|//)region\\b"),
|
28
|
-
end: new RegExp("^\\s*(#|//)endregion\\b")
|
29
|
-
}
|
30
|
-
}
|
31
|
-
}, t = {
|
32
|
-
defaultToken: "",
|
33
|
-
tokenPostfix: "",
|
34
|
-
// ignoreCase: true,
|
35
|
-
// The main tokenizer for our languages
|
36
|
-
tokenizer: {
|
37
|
-
root: [
|
38
|
-
[/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.root" }],
|
39
|
-
[/<!DOCTYPE/, "metatag.html", "@doctype"],
|
40
|
-
[/<!--/, "comment.html", "@comment"],
|
41
|
-
[/(<)(\w+)(\/>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
|
42
|
-
[/(<)(script)/, ["delimiter.html", { token: "tag.html", next: "@script" }]],
|
43
|
-
[/(<)(style)/, ["delimiter.html", { token: "tag.html", next: "@style" }]],
|
44
|
-
[/(<)([:\w]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
|
45
|
-
[/(<\/)(\w+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
|
46
|
-
[/</, "delimiter.html"],
|
47
|
-
[/[^<]+/]
|
48
|
-
// text
|
49
|
-
],
|
50
|
-
doctype: [
|
51
|
-
[/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.comment" }],
|
52
|
-
[/[^>]+/, "metatag.content.html"],
|
53
|
-
[/>/, "metatag.html", "@pop"]
|
54
|
-
],
|
55
|
-
comment: [
|
56
|
-
[/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.comment" }],
|
57
|
-
[/-->/, "comment.html", "@pop"],
|
58
|
-
[/[^-]+/, "comment.content.html"],
|
59
|
-
[/./, "comment.content.html"]
|
60
|
-
],
|
61
|
-
otherTag: [
|
62
|
-
[/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.otherTag" }],
|
63
|
-
[/\/?>/, "delimiter.html", "@pop"],
|
64
|
-
[/"([^"]*)"/, "attribute.value"],
|
65
|
-
[/'([^']*)'/, "attribute.value"],
|
66
|
-
[/[\w\-]+/, "attribute.name"],
|
67
|
-
[/=/, "delimiter"],
|
68
|
-
[/[ \t\r\n]+/]
|
69
|
-
// whitespace
|
70
|
-
],
|
71
|
-
// -- BEGIN <script> tags handling
|
72
|
-
// After <script
|
73
|
-
script: [
|
74
|
-
[/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.script" }],
|
75
|
-
[/type/, "attribute.name", "@scriptAfterType"],
|
76
|
-
[/"([^"]*)"/, "attribute.value"],
|
77
|
-
[/'([^']*)'/, "attribute.value"],
|
78
|
-
[/[\w\-]+/, "attribute.name"],
|
79
|
-
[/=/, "delimiter"],
|
80
|
-
[
|
81
|
-
/>/,
|
82
|
-
{
|
83
|
-
token: "delimiter.html",
|
84
|
-
next: "@scriptEmbedded.text/javascript",
|
85
|
-
nextEmbedded: "text/javascript"
|
86
|
-
}
|
87
|
-
],
|
88
|
-
[/[ \t\r\n]+/],
|
89
|
-
// whitespace
|
90
|
-
[
|
91
|
-
/(<\/)(script\s*)(>)/,
|
92
|
-
["delimiter.html", "tag.html", { token: "delimiter.html", next: "@pop" }]
|
93
|
-
]
|
94
|
-
],
|
95
|
-
// After <script ... type
|
96
|
-
scriptAfterType: [
|
97
|
-
[
|
98
|
-
/<\?((php)|=)?/,
|
99
|
-
{
|
100
|
-
token: "@rematch",
|
101
|
-
switchTo: "@phpInSimpleState.scriptAfterType"
|
102
|
-
}
|
103
|
-
],
|
104
|
-
[/=/, "delimiter", "@scriptAfterTypeEquals"],
|
105
|
-
[
|
106
|
-
/>/,
|
107
|
-
{
|
108
|
-
token: "delimiter.html",
|
109
|
-
next: "@scriptEmbedded.text/javascript",
|
110
|
-
nextEmbedded: "text/javascript"
|
111
|
-
}
|
112
|
-
],
|
113
|
-
// cover invalid e.g. <script type>
|
114
|
-
[/[ \t\r\n]+/],
|
115
|
-
// whitespace
|
116
|
-
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
117
|
-
],
|
118
|
-
// After <script ... type =
|
119
|
-
scriptAfterTypeEquals: [
|
120
|
-
[
|
121
|
-
/<\?((php)|=)?/,
|
122
|
-
{
|
123
|
-
token: "@rematch",
|
124
|
-
switchTo: "@phpInSimpleState.scriptAfterTypeEquals"
|
125
|
-
}
|
126
|
-
],
|
127
|
-
[
|
128
|
-
/"([^"]*)"/,
|
129
|
-
{
|
130
|
-
token: "attribute.value",
|
131
|
-
switchTo: "@scriptWithCustomType.$1"
|
132
|
-
}
|
133
|
-
],
|
134
|
-
[
|
135
|
-
/'([^']*)'/,
|
136
|
-
{
|
137
|
-
token: "attribute.value",
|
138
|
-
switchTo: "@scriptWithCustomType.$1"
|
139
|
-
}
|
140
|
-
],
|
141
|
-
[
|
142
|
-
/>/,
|
143
|
-
{
|
144
|
-
token: "delimiter.html",
|
145
|
-
next: "@scriptEmbedded.text/javascript",
|
146
|
-
nextEmbedded: "text/javascript"
|
147
|
-
}
|
148
|
-
],
|
149
|
-
// cover invalid e.g. <script type=>
|
150
|
-
[/[ \t\r\n]+/],
|
151
|
-
// whitespace
|
152
|
-
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
153
|
-
],
|
154
|
-
// After <script ... type = $S2
|
155
|
-
scriptWithCustomType: [
|
156
|
-
[
|
157
|
-
/<\?((php)|=)?/,
|
158
|
-
{
|
159
|
-
token: "@rematch",
|
160
|
-
switchTo: "@phpInSimpleState.scriptWithCustomType.$S2"
|
161
|
-
}
|
162
|
-
],
|
163
|
-
[
|
164
|
-
/>/,
|
165
|
-
{
|
166
|
-
token: "delimiter.html",
|
167
|
-
next: "@scriptEmbedded.$S2",
|
168
|
-
nextEmbedded: "$S2"
|
169
|
-
}
|
170
|
-
],
|
171
|
-
[/"([^"]*)"/, "attribute.value"],
|
172
|
-
[/'([^']*)'/, "attribute.value"],
|
173
|
-
[/[\w\-]+/, "attribute.name"],
|
174
|
-
[/=/, "delimiter"],
|
175
|
-
[/[ \t\r\n]+/],
|
176
|
-
// whitespace
|
177
|
-
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
178
|
-
],
|
179
|
-
scriptEmbedded: [
|
180
|
-
[
|
181
|
-
/<\?((php)|=)?/,
|
182
|
-
{
|
183
|
-
token: "@rematch",
|
184
|
-
switchTo: "@phpInEmbeddedState.scriptEmbedded.$S2",
|
185
|
-
nextEmbedded: "@pop"
|
186
|
-
}
|
187
|
-
],
|
188
|
-
[/<\/script/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }]
|
189
|
-
],
|
190
|
-
// -- END <script> tags handling
|
191
|
-
// -- BEGIN <style> tags handling
|
192
|
-
// After <style
|
193
|
-
style: [
|
194
|
-
[/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.style" }],
|
195
|
-
[/type/, "attribute.name", "@styleAfterType"],
|
196
|
-
[/"([^"]*)"/, "attribute.value"],
|
197
|
-
[/'([^']*)'/, "attribute.value"],
|
198
|
-
[/[\w\-]+/, "attribute.name"],
|
199
|
-
[/=/, "delimiter"],
|
200
|
-
[
|
201
|
-
/>/,
|
202
|
-
{
|
203
|
-
token: "delimiter.html",
|
204
|
-
next: "@styleEmbedded.text/css",
|
205
|
-
nextEmbedded: "text/css"
|
206
|
-
}
|
207
|
-
],
|
208
|
-
[/[ \t\r\n]+/],
|
209
|
-
// whitespace
|
210
|
-
[
|
211
|
-
/(<\/)(style\s*)(>)/,
|
212
|
-
["delimiter.html", "tag.html", { token: "delimiter.html", next: "@pop" }]
|
213
|
-
]
|
214
|
-
],
|
215
|
-
// After <style ... type
|
216
|
-
styleAfterType: [
|
217
|
-
[
|
218
|
-
/<\?((php)|=)?/,
|
219
|
-
{
|
220
|
-
token: "@rematch",
|
221
|
-
switchTo: "@phpInSimpleState.styleAfterType"
|
222
|
-
}
|
223
|
-
],
|
224
|
-
[/=/, "delimiter", "@styleAfterTypeEquals"],
|
225
|
-
[
|
226
|
-
/>/,
|
227
|
-
{
|
228
|
-
token: "delimiter.html",
|
229
|
-
next: "@styleEmbedded.text/css",
|
230
|
-
nextEmbedded: "text/css"
|
231
|
-
}
|
232
|
-
],
|
233
|
-
// cover invalid e.g. <style type>
|
234
|
-
[/[ \t\r\n]+/],
|
235
|
-
// whitespace
|
236
|
-
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
237
|
-
],
|
238
|
-
// After <style ... type =
|
239
|
-
styleAfterTypeEquals: [
|
240
|
-
[
|
241
|
-
/<\?((php)|=)?/,
|
242
|
-
{
|
243
|
-
token: "@rematch",
|
244
|
-
switchTo: "@phpInSimpleState.styleAfterTypeEquals"
|
245
|
-
}
|
246
|
-
],
|
247
|
-
[
|
248
|
-
/"([^"]*)"/,
|
249
|
-
{
|
250
|
-
token: "attribute.value",
|
251
|
-
switchTo: "@styleWithCustomType.$1"
|
252
|
-
}
|
253
|
-
],
|
254
|
-
[
|
255
|
-
/'([^']*)'/,
|
256
|
-
{
|
257
|
-
token: "attribute.value",
|
258
|
-
switchTo: "@styleWithCustomType.$1"
|
259
|
-
}
|
260
|
-
],
|
261
|
-
[
|
262
|
-
/>/,
|
263
|
-
{
|
264
|
-
token: "delimiter.html",
|
265
|
-
next: "@styleEmbedded.text/css",
|
266
|
-
nextEmbedded: "text/css"
|
267
|
-
}
|
268
|
-
],
|
269
|
-
// cover invalid e.g. <style type=>
|
270
|
-
[/[ \t\r\n]+/],
|
271
|
-
// whitespace
|
272
|
-
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
273
|
-
],
|
274
|
-
// After <style ... type = $S2
|
275
|
-
styleWithCustomType: [
|
276
|
-
[
|
277
|
-
/<\?((php)|=)?/,
|
278
|
-
{
|
279
|
-
token: "@rematch",
|
280
|
-
switchTo: "@phpInSimpleState.styleWithCustomType.$S2"
|
281
|
-
}
|
282
|
-
],
|
283
|
-
[
|
284
|
-
/>/,
|
285
|
-
{
|
286
|
-
token: "delimiter.html",
|
287
|
-
next: "@styleEmbedded.$S2",
|
288
|
-
nextEmbedded: "$S2"
|
289
|
-
}
|
290
|
-
],
|
291
|
-
[/"([^"]*)"/, "attribute.value"],
|
292
|
-
[/'([^']*)'/, "attribute.value"],
|
293
|
-
[/[\w\-]+/, "attribute.name"],
|
294
|
-
[/=/, "delimiter"],
|
295
|
-
[/[ \t\r\n]+/],
|
296
|
-
// whitespace
|
297
|
-
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
298
|
-
],
|
299
|
-
styleEmbedded: [
|
300
|
-
[
|
301
|
-
/<\?((php)|=)?/,
|
302
|
-
{
|
303
|
-
token: "@rematch",
|
304
|
-
switchTo: "@phpInEmbeddedState.styleEmbedded.$S2",
|
305
|
-
nextEmbedded: "@pop"
|
306
|
-
}
|
307
|
-
],
|
308
|
-
[/<\/style/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }]
|
309
|
-
],
|
310
|
-
// -- END <style> tags handling
|
311
|
-
phpInSimpleState: [
|
312
|
-
[/<\?((php)|=)?/, "metatag.php"],
|
313
|
-
[/\?>/, { token: "metatag.php", switchTo: "@$S2.$S3" }],
|
314
|
-
{ include: "phpRoot" }
|
315
|
-
],
|
316
|
-
phpInEmbeddedState: [
|
317
|
-
[/<\?((php)|=)?/, "metatag.php"],
|
318
|
-
[
|
319
|
-
/\?>/,
|
320
|
-
{
|
321
|
-
token: "metatag.php",
|
322
|
-
switchTo: "@$S2.$S3",
|
323
|
-
nextEmbedded: "$S3"
|
324
|
-
}
|
325
|
-
],
|
326
|
-
{ include: "phpRoot" }
|
327
|
-
],
|
328
|
-
phpRoot: [
|
329
|
-
[
|
330
|
-
/[a-zA-Z_]\w*/,
|
331
|
-
{
|
332
|
-
cases: {
|
333
|
-
"@phpKeywords": { token: "keyword.php" },
|
334
|
-
"@phpCompileTimeConstants": { token: "constant.php" },
|
335
|
-
"@default": "identifier.php"
|
336
|
-
}
|
337
|
-
}
|
338
|
-
],
|
339
|
-
[
|
340
|
-
/[$a-zA-Z_]\w*/,
|
341
|
-
{
|
342
|
-
cases: {
|
343
|
-
"@phpPreDefinedVariables": {
|
344
|
-
token: "variable.predefined.php"
|
345
|
-
},
|
346
|
-
"@default": "variable.php"
|
347
|
-
}
|
348
|
-
}
|
349
|
-
],
|
350
|
-
// brackets
|
351
|
-
[/[{}]/, "delimiter.bracket.php"],
|
352
|
-
[/[\[\]]/, "delimiter.array.php"],
|
353
|
-
[/[()]/, "delimiter.parenthesis.php"],
|
354
|
-
// whitespace
|
355
|
-
[/[ \t\r\n]+/],
|
356
|
-
// comments
|
357
|
-
[/(#|\/\/)$/, "comment.php"],
|
358
|
-
[/(#|\/\/)/, "comment.php", "@phpLineComment"],
|
359
|
-
// block comments
|
360
|
-
[/\/\*/, "comment.php", "@phpComment"],
|
361
|
-
// strings
|
362
|
-
[/"/, "string.php", "@phpDoubleQuoteString"],
|
363
|
-
[/'/, "string.php", "@phpSingleQuoteString"],
|
364
|
-
// delimiters
|
365
|
-
[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,\@]/, "delimiter.php"],
|
366
|
-
// numbers
|
367
|
-
[/\d*\d+[eE]([\-+]?\d+)?/, "number.float.php"],
|
368
|
-
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float.php"],
|
369
|
-
[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/, "number.hex.php"],
|
370
|
-
[/0[0-7']*[0-7]/, "number.octal.php"],
|
371
|
-
[/0[bB][0-1']*[0-1]/, "number.binary.php"],
|
372
|
-
[/\d[\d']*/, "number.php"],
|
373
|
-
[/\d/, "number.php"]
|
374
|
-
],
|
375
|
-
phpComment: [
|
376
|
-
[/\*\//, "comment.php", "@pop"],
|
377
|
-
[/[^*]+/, "comment.php"],
|
378
|
-
[/./, "comment.php"]
|
379
|
-
],
|
380
|
-
phpLineComment: [
|
381
|
-
[/\?>/, { token: "@rematch", next: "@pop" }],
|
382
|
-
[/.$/, "comment.php", "@pop"],
|
383
|
-
[/[^?]+$/, "comment.php", "@pop"],
|
384
|
-
[/[^?]+/, "comment.php"],
|
385
|
-
[/./, "comment.php"]
|
386
|
-
],
|
387
|
-
phpDoubleQuoteString: [
|
388
|
-
[/[^\\"]+/, "string.php"],
|
389
|
-
[/@escapes/, "string.escape.php"],
|
390
|
-
[/\\./, "string.escape.invalid.php"],
|
391
|
-
[/"/, "string.php", "@pop"]
|
392
|
-
],
|
393
|
-
phpSingleQuoteString: [
|
394
|
-
[/[^\\']+/, "string.php"],
|
395
|
-
[/@escapes/, "string.escape.php"],
|
396
|
-
[/\\./, "string.escape.invalid.php"],
|
397
|
-
[/'/, "string.php", "@pop"]
|
398
|
-
]
|
399
|
-
},
|
400
|
-
phpKeywords: [
|
401
|
-
"abstract",
|
402
|
-
"and",
|
403
|
-
"array",
|
404
|
-
"as",
|
405
|
-
"break",
|
406
|
-
"callable",
|
407
|
-
"case",
|
408
|
-
"catch",
|
409
|
-
"cfunction",
|
410
|
-
"class",
|
411
|
-
"clone",
|
412
|
-
"const",
|
413
|
-
"continue",
|
414
|
-
"declare",
|
415
|
-
"default",
|
416
|
-
"do",
|
417
|
-
"else",
|
418
|
-
"elseif",
|
419
|
-
"enddeclare",
|
420
|
-
"endfor",
|
421
|
-
"endforeach",
|
422
|
-
"endif",
|
423
|
-
"endswitch",
|
424
|
-
"endwhile",
|
425
|
-
"extends",
|
426
|
-
"false",
|
427
|
-
"final",
|
428
|
-
"for",
|
429
|
-
"foreach",
|
430
|
-
"function",
|
431
|
-
"global",
|
432
|
-
"goto",
|
433
|
-
"if",
|
434
|
-
"implements",
|
435
|
-
"interface",
|
436
|
-
"instanceof",
|
437
|
-
"insteadof",
|
438
|
-
"namespace",
|
439
|
-
"new",
|
440
|
-
"null",
|
441
|
-
"object",
|
442
|
-
"old_function",
|
443
|
-
"or",
|
444
|
-
"private",
|
445
|
-
"protected",
|
446
|
-
"public",
|
447
|
-
"resource",
|
448
|
-
"static",
|
449
|
-
"switch",
|
450
|
-
"throw",
|
451
|
-
"trait",
|
452
|
-
"try",
|
453
|
-
"true",
|
454
|
-
"use",
|
455
|
-
"var",
|
456
|
-
"while",
|
457
|
-
"xor",
|
458
|
-
"die",
|
459
|
-
"echo",
|
460
|
-
"empty",
|
461
|
-
"exit",
|
462
|
-
"eval",
|
463
|
-
"include",
|
464
|
-
"include_once",
|
465
|
-
"isset",
|
466
|
-
"list",
|
467
|
-
"require",
|
468
|
-
"require_once",
|
469
|
-
"return",
|
470
|
-
"print",
|
471
|
-
"unset",
|
472
|
-
"yield",
|
473
|
-
"__construct"
|
474
|
-
],
|
475
|
-
phpCompileTimeConstants: [
|
476
|
-
"__CLASS__",
|
477
|
-
"__DIR__",
|
478
|
-
"__FILE__",
|
479
|
-
"__LINE__",
|
480
|
-
"__NAMESPACE__",
|
481
|
-
"__METHOD__",
|
482
|
-
"__FUNCTION__",
|
483
|
-
"__TRAIT__"
|
484
|
-
],
|
485
|
-
phpPreDefinedVariables: [
|
486
|
-
"$GLOBALS",
|
487
|
-
"$_SERVER",
|
488
|
-
"$_GET",
|
489
|
-
"$_POST",
|
490
|
-
"$_FILES",
|
491
|
-
"$_REQUEST",
|
492
|
-
"$_SESSION",
|
493
|
-
"$_ENV",
|
494
|
-
"$_COOKIE",
|
495
|
-
"$php_errormsg",
|
496
|
-
"$HTTP_RAW_POST_DATA",
|
497
|
-
"$http_response_header",
|
498
|
-
"$argc",
|
499
|
-
"$argv"
|
500
|
-
],
|
501
|
-
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/
|
502
|
-
};
|
503
|
-
export {
|
504
|
-
e as conf,
|
505
|
-
t as language
|
506
|
-
};
|
package/dist/pla-Br1iaBIV.js
DELETED
@@ -1,143 +0,0 @@
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
* Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)
|
4
|
-
* Released under the MIT license
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
|
-
*-----------------------------------------------------------------------------*/
|
7
|
-
var e = {
|
8
|
-
comments: {
|
9
|
-
lineComment: "#"
|
10
|
-
},
|
11
|
-
brackets: [
|
12
|
-
["[", "]"],
|
13
|
-
["<", ">"],
|
14
|
-
["(", ")"]
|
15
|
-
],
|
16
|
-
autoClosingPairs: [
|
17
|
-
{ open: "[", close: "]" },
|
18
|
-
{ open: "<", close: ">" },
|
19
|
-
{ open: "(", close: ")" }
|
20
|
-
],
|
21
|
-
surroundingPairs: [
|
22
|
-
{ open: "[", close: "]" },
|
23
|
-
{ open: "<", close: ">" },
|
24
|
-
{ open: "(", close: ")" }
|
25
|
-
]
|
26
|
-
}, o = {
|
27
|
-
defaultToken: "",
|
28
|
-
tokenPostfix: ".pla",
|
29
|
-
brackets: [
|
30
|
-
{ open: "[", close: "]", token: "delimiter.square" },
|
31
|
-
{ open: "<", close: ">", token: "delimiter.angle" },
|
32
|
-
{ open: "(", close: ")", token: "delimiter.parenthesis" }
|
33
|
-
],
|
34
|
-
keywords: [
|
35
|
-
".i",
|
36
|
-
".o",
|
37
|
-
".mv",
|
38
|
-
".ilb",
|
39
|
-
".ob",
|
40
|
-
".label",
|
41
|
-
".type",
|
42
|
-
".phase",
|
43
|
-
".pair",
|
44
|
-
".symbolic",
|
45
|
-
".symbolic-output",
|
46
|
-
".kiss",
|
47
|
-
".p",
|
48
|
-
".e",
|
49
|
-
".end"
|
50
|
-
],
|
51
|
-
// regular expressions
|
52
|
-
comment: /#.*$/,
|
53
|
-
identifier: /[a-zA-Z]+[a-zA-Z0-9_\-]*/,
|
54
|
-
plaContent: /[01\-~\|]+/,
|
55
|
-
// The main tokenizer for our languages
|
56
|
-
tokenizer: {
|
57
|
-
root: [
|
58
|
-
// comments and whitespace
|
59
|
-
{ include: "@whitespace" },
|
60
|
-
[/@comment/, "comment"],
|
61
|
-
// keyword
|
62
|
-
[
|
63
|
-
/\.([a-zA-Z_\-]+)/,
|
64
|
-
{
|
65
|
-
cases: {
|
66
|
-
"@eos": { token: "keyword.$1" },
|
67
|
-
"@keywords": {
|
68
|
-
cases: {
|
69
|
-
".type": { token: "keyword.$1", next: "@type" },
|
70
|
-
"@default": { token: "keyword.$1", next: "@keywordArg" }
|
71
|
-
}
|
72
|
-
},
|
73
|
-
"@default": { token: "keyword.$1" }
|
74
|
-
}
|
75
|
-
}
|
76
|
-
],
|
77
|
-
// identifiers
|
78
|
-
[/@identifier/, "identifier"],
|
79
|
-
// PLA row
|
80
|
-
[/@plaContent/, "string"]
|
81
|
-
],
|
82
|
-
whitespace: [[/[ \t\r\n]+/, ""]],
|
83
|
-
type: [{ include: "@whitespace" }, [/\w+/, { token: "type", next: "@pop" }]],
|
84
|
-
keywordArg: [
|
85
|
-
// whitespace
|
86
|
-
[
|
87
|
-
/[ \t\r\n]+/,
|
88
|
-
{
|
89
|
-
cases: {
|
90
|
-
"@eos": { token: "", next: "@pop" },
|
91
|
-
"@default": ""
|
92
|
-
}
|
93
|
-
}
|
94
|
-
],
|
95
|
-
// comments
|
96
|
-
[/@comment/, "comment", "@pop"],
|
97
|
-
// brackets
|
98
|
-
[
|
99
|
-
/[<>()\[\]]/,
|
100
|
-
{
|
101
|
-
cases: {
|
102
|
-
"@eos": { token: "@brackets", next: "@pop" },
|
103
|
-
"@default": "@brackets"
|
104
|
-
}
|
105
|
-
}
|
106
|
-
],
|
107
|
-
// numbers
|
108
|
-
[
|
109
|
-
/\-?\d+/,
|
110
|
-
{
|
111
|
-
cases: {
|
112
|
-
"@eos": { token: "number", next: "@pop" },
|
113
|
-
"@default": "number"
|
114
|
-
}
|
115
|
-
}
|
116
|
-
],
|
117
|
-
// identifiers
|
118
|
-
[
|
119
|
-
/@identifier/,
|
120
|
-
{
|
121
|
-
cases: {
|
122
|
-
"@eos": { token: "identifier", next: "@pop" },
|
123
|
-
"@default": "identifier"
|
124
|
-
}
|
125
|
-
}
|
126
|
-
],
|
127
|
-
// delimiter
|
128
|
-
[
|
129
|
-
/[;=]/,
|
130
|
-
{
|
131
|
-
cases: {
|
132
|
-
"@eos": { token: "delimiter", next: "@pop" },
|
133
|
-
"@default": "delimiter"
|
134
|
-
}
|
135
|
-
}
|
136
|
-
]
|
137
|
-
]
|
138
|
-
}
|
139
|
-
};
|
140
|
-
export {
|
141
|
-
e as conf,
|
142
|
-
o as language
|
143
|
-
};
|