act-plus 1.1.23 → 1.1.25
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/act-plus.js +6 -5
- package/act-plus.umd.cjs +87 -1733
- package/lib/configBtns-63d416ef.js +152 -0
- package/lib/{configFileds-4633be91.js → configFileds-105ca288.js} +13 -11
- package/lib/{configTable-160a99e8.js → configTable-5bf09aac.js} +33 -31
- package/lib/{dialogAddField-a8db1c57.js → dialogAddField-bb493c88.js} +6 -4
- package/lib/{dialogConfigBtn-e5c41ad9.js → dialogConfigBtn-1fcd1496.js} +57 -55
- package/lib/{dialogSiteComponentsParams-05a400cc.js → dialogSiteComponentsParams-708737d2.js} +1 -1
- package/lib/{index-28cfa770.js → index-6b7ddc83.js} +74 -65
- package/lib/{index-44e2732a.js → index-740fe217.js} +10 -8
- package/lib/{index-7a1700c3.js → index-9071c381.js} +12 -10
- package/lib/{index-421ea84f.js → index-9bd009b2.js} +32 -30
- package/lib/index-ba8fa827.js +61597 -0
- package/lib/{index-cceb15dd.js → index-f8e81c41.js} +126 -148
- package/package.json +2 -6
- package/style.css +1 -1
- package/assets/css.worker-1af1972f.js +0 -84
- package/assets/editor.worker-df55e1ff.js +0 -8
- package/assets/html.worker-38c267f1.js +0 -456
- package/assets/json.worker-bf861c27.js +0 -39
- package/assets/ts.worker-e151483b.js +0 -33972
- package/lib/abap-1354785f.js +0 -1314
- package/lib/apex-279d4f27.js +0 -315
- package/lib/azcli-ba812c55.js +0 -74
- package/lib/bat-4d77495d.js +0 -95
- package/lib/bicep-7b240724.js +0 -108
- package/lib/cameligo-5d2daeb8.js +0 -168
- package/lib/clojure-b7ea12a3.js +0 -754
- package/lib/coffee-1a8cfbf4.js +0 -228
- package/lib/configBtns-c51c642b.js +0 -150
- package/lib/cpp-642b10c4.js +0 -387
- package/lib/csharp-d987ddad.js +0 -320
- package/lib/csp-96407af0.js +0 -57
- package/lib/css-5dd354ac.js +0 -186
- package/lib/cssMode-55e3e2b9.js +0 -1448
- package/lib/cypher-11e5a4b6.js +0 -262
- package/lib/dart-5d209f63.js +0 -270
- package/lib/dockerfile-8739cff7.js +0 -132
- package/lib/ecl-a20c5155.js +0 -454
- package/lib/elixir-8b028584.js +0 -467
- package/lib/flow9-0dea2e73.js +0 -141
- package/lib/freemarker2-86429a9d.js +0 -646
- package/lib/fsharp-49a70fad.js +0 -210
- package/lib/go-46e3b371.js +0 -208
- package/lib/graphql-51a577e5.js +0 -141
- package/lib/handlebars-dcad112f.js +0 -394
- package/lib/hcl-56b85754.js +0 -177
- package/lib/html-95cf87e3.js +0 -284
- package/lib/htmlMode-93d4ea14.js +0 -1458
- package/lib/index-22ab90dc.js +0 -162522
- package/lib/index-e2f2023d.js +0 -35
- package/lib/ini-1d58d82f.js +0 -68
- package/lib/java-cd017f60.js +0 -221
- package/lib/javascript-55252557.js +0 -78
- package/lib/jsonMode-b73c28d1.js +0 -1869
- package/lib/julia-a0caf483.js +0 -496
- package/lib/kotlin-c6e52a56.js +0 -245
- package/lib/less-718543b4.js +0 -168
- package/lib/lexon-5e6e7a44.js +0 -151
- package/lib/liquid-c923578c.js +0 -241
- package/lib/lua-f159160b.js +0 -157
- package/lib/m3-aadaf771.js +0 -210
- package/lib/markdown-9b448c46.js +0 -202
- package/lib/mips-161e49ce.js +0 -194
- package/lib/msdax-f65cb1e6.js +0 -377
- package/lib/mysql-24549dd1.js +0 -875
- package/lib/objective-c-e129a5ca.js +0 -188
- package/lib/pascal-4ccdf5ce.js +0 -245
- package/lib/pascaligo-a9603dcd.js +0 -158
- package/lib/perl-ba1fb97a.js +0 -599
- package/lib/pgsql-89978310.js +0 -843
- package/lib/php-987b9d87.js +0 -471
- package/lib/pla-96c2695d.js +0 -131
- package/lib/postiats-7b52ebac.js +0 -544
- package/lib/powerquery-8954ec26.js +0 -890
- package/lib/powershell-f00d0274.js +0 -233
- package/lib/protobuf-3eb85f80.js +0 -422
- package/lib/pug-6fab415a.js +0 -393
- package/lib/python-319c4cbb.js +0 -262
- package/lib/qsharp-4792f872.js +0 -282
- package/lib/r-630f5d6b.js +0 -245
- package/lib/razor-9a8bae51.js +0 -515
- package/lib/redis-276b8288.js +0 -298
- package/lib/redshift-520a7359.js +0 -806
- package/lib/restructuredtext-4676a3fc.js +0 -162
- package/lib/ruby-764137cd.js +0 -444
- package/lib/rust-97f8f6e1.js +0 -337
- package/lib/sb-8c22f14c.js +0 -110
- package/lib/scala-c68c650c.js +0 -353
- package/lib/scheme-e6a52cb0.js +0 -114
- package/lib/scss-45104c77.js +0 -244
- package/lib/shell-09452d42.js +0 -224
- package/lib/solidity-d4979008.js +0 -1351
- package/lib/sophia-21995caf.js +0 -190
- package/lib/sparql-5088743c.js +0 -193
- package/lib/sql-63ec8e76.js +0 -818
- package/lib/st-fa9ab362.js +0 -414
- package/lib/swift-abdf1835.js +0 -315
- package/lib/systemverilog-a4f858ed.js +0 -556
- package/lib/tcl-8adf937f.js +0 -232
- package/lib/tsMode-7111578e.js +0 -792
- package/lib/twig-404eb73e.js +0 -323
- package/lib/typescript-0c5e909b.js +0 -330
- package/lib/vb-e21e8153.js +0 -364
- package/lib/xml-acd745c7.js +0 -98
- package/lib/yaml-c114fa81.js +0 -187
package/lib/scala-c68c650c.js
DELETED
|
@@ -1,353 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/
|
|
7
|
-
var e = {
|
|
8
|
-
wordPattern: /(unary_[@~!#%^&*()\-=+\\|:<>\/?]+)|([a-zA-Z_$][\w$]*?_=)|(`[^`]+`)|([a-zA-Z_$][\w$]*)/g,
|
|
9
|
-
comments: {
|
|
10
|
-
lineComment: "//",
|
|
11
|
-
blockComment: ["/*", "*/"]
|
|
12
|
-
},
|
|
13
|
-
brackets: [
|
|
14
|
-
["{", "}"],
|
|
15
|
-
["[", "]"],
|
|
16
|
-
["(", ")"]
|
|
17
|
-
],
|
|
18
|
-
autoClosingPairs: [
|
|
19
|
-
{ open: "{", close: "}" },
|
|
20
|
-
{ open: "[", close: "]" },
|
|
21
|
-
{ open: "(", close: ")" },
|
|
22
|
-
{ open: '"', close: '"' },
|
|
23
|
-
{ open: "'", close: "'" }
|
|
24
|
-
],
|
|
25
|
-
surroundingPairs: [
|
|
26
|
-
{ open: "{", close: "}" },
|
|
27
|
-
{ open: "[", close: "]" },
|
|
28
|
-
{ open: "(", close: ")" },
|
|
29
|
-
{ open: '"', close: '"' },
|
|
30
|
-
{ open: "'", close: "'" }
|
|
31
|
-
],
|
|
32
|
-
folding: {
|
|
33
|
-
markers: {
|
|
34
|
-
start: new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),
|
|
35
|
-
end: new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}, t = {
|
|
39
|
-
tokenPostfix: ".scala",
|
|
40
|
-
keywords: [
|
|
41
|
-
"asInstanceOf",
|
|
42
|
-
"catch",
|
|
43
|
-
"class",
|
|
44
|
-
"classOf",
|
|
45
|
-
"def",
|
|
46
|
-
"do",
|
|
47
|
-
"else",
|
|
48
|
-
"extends",
|
|
49
|
-
"finally",
|
|
50
|
-
"for",
|
|
51
|
-
"foreach",
|
|
52
|
-
"forSome",
|
|
53
|
-
"if",
|
|
54
|
-
"import",
|
|
55
|
-
"isInstanceOf",
|
|
56
|
-
"macro",
|
|
57
|
-
"match",
|
|
58
|
-
"new",
|
|
59
|
-
"object",
|
|
60
|
-
"package",
|
|
61
|
-
"return",
|
|
62
|
-
"throw",
|
|
63
|
-
"trait",
|
|
64
|
-
"try",
|
|
65
|
-
"type",
|
|
66
|
-
"until",
|
|
67
|
-
"val",
|
|
68
|
-
"var",
|
|
69
|
-
"while",
|
|
70
|
-
"with",
|
|
71
|
-
"yield",
|
|
72
|
-
"given",
|
|
73
|
-
"enum",
|
|
74
|
-
"then"
|
|
75
|
-
],
|
|
76
|
-
softKeywords: ["as", "export", "extension", "end", "derives", "on"],
|
|
77
|
-
constants: ["true", "false", "null", "this", "super"],
|
|
78
|
-
modifiers: [
|
|
79
|
-
"abstract",
|
|
80
|
-
"final",
|
|
81
|
-
"implicit",
|
|
82
|
-
"lazy",
|
|
83
|
-
"override",
|
|
84
|
-
"private",
|
|
85
|
-
"protected",
|
|
86
|
-
"sealed"
|
|
87
|
-
],
|
|
88
|
-
softModifiers: ["inline", "opaque", "open", "transparent", "using"],
|
|
89
|
-
name: /(?:[a-z_$][\w$]*|`[^`]+`)/,
|
|
90
|
-
type: /(?:[A-Z][\w$]*)/,
|
|
91
|
-
symbols: /[=><!~?:&|+\-*\/^\\%@#]+/,
|
|
92
|
-
digits: /\d+(_+\d+)*/,
|
|
93
|
-
hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,
|
|
94
|
-
escapes: /\\(?:[btnfr\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
95
|
-
fstring_conv: /[bBhHsScCdoxXeEfgGaAt]|[Tn](?:[HIklMSLNpzZsQ]|[BbhAaCYyjmde]|[RTrDFC])/,
|
|
96
|
-
tokenizer: {
|
|
97
|
-
root: [
|
|
98
|
-
[/\braw"""/, { token: "string.quote", bracket: "@open", next: "@rawstringt" }],
|
|
99
|
-
[/\braw"/, { token: "string.quote", bracket: "@open", next: "@rawstring" }],
|
|
100
|
-
[/\bs"""/, { token: "string.quote", bracket: "@open", next: "@sstringt" }],
|
|
101
|
-
[/\bs"/, { token: "string.quote", bracket: "@open", next: "@sstring" }],
|
|
102
|
-
[/\bf""""/, { token: "string.quote", bracket: "@open", next: "@fstringt" }],
|
|
103
|
-
[/\bf"/, { token: "string.quote", bracket: "@open", next: "@fstring" }],
|
|
104
|
-
[/"""/, { token: "string.quote", bracket: "@open", next: "@stringt" }],
|
|
105
|
-
[/"/, { token: "string.quote", bracket: "@open", next: "@string" }],
|
|
106
|
-
[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/, "number.float", "@allowMethod"],
|
|
107
|
-
[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/, "number.float", "@allowMethod"],
|
|
108
|
-
[/0[xX](@hexdigits)[Ll]?/, "number.hex", "@allowMethod"],
|
|
109
|
-
[/(@digits)[fFdD]/, "number.float", "@allowMethod"],
|
|
110
|
-
[/(@digits)[lL]?/, "number", "@allowMethod"],
|
|
111
|
-
[/\b_\*/, "key"],
|
|
112
|
-
[/\b(_)\b/, "keyword", "@allowMethod"],
|
|
113
|
-
[/\bimport\b/, "keyword", "@import"],
|
|
114
|
-
[/\b(case)([ \t]+)(class)\b/, ["keyword.modifier", "white", "keyword"]],
|
|
115
|
-
[/\bcase\b/, "keyword", "@case"],
|
|
116
|
-
[/\bva[lr]\b/, "keyword", "@vardef"],
|
|
117
|
-
[
|
|
118
|
-
/\b(def)([ \t]+)((?:unary_)?@symbols|@name(?:_=)|@name)/,
|
|
119
|
-
["keyword", "white", "identifier"]
|
|
120
|
-
],
|
|
121
|
-
[/@name(?=[ \t]*:(?!:))/, "variable"],
|
|
122
|
-
[/(\.)(@name|@symbols)/, ["operator", { token: "@rematch", next: "@allowMethod" }]],
|
|
123
|
-
[/([{(])(\s*)(@name(?=\s*=>))/, ["@brackets", "white", "variable"]],
|
|
124
|
-
[
|
|
125
|
-
/@name/,
|
|
126
|
-
{
|
|
127
|
-
cases: {
|
|
128
|
-
"@keywords": "keyword",
|
|
129
|
-
"@softKeywords": "keyword",
|
|
130
|
-
"@modifiers": "keyword.modifier",
|
|
131
|
-
"@softModifiers": "keyword.modifier",
|
|
132
|
-
"@constants": {
|
|
133
|
-
token: "constant",
|
|
134
|
-
next: "@allowMethod"
|
|
135
|
-
},
|
|
136
|
-
"@default": {
|
|
137
|
-
token: "identifier",
|
|
138
|
-
next: "@allowMethod"
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
],
|
|
143
|
-
[/@type/, "type", "@allowMethod"],
|
|
144
|
-
{ include: "@whitespace" },
|
|
145
|
-
[/@[a-zA-Z_$][\w$]*(?:\.[a-zA-Z_$][\w$]*)*/, "annotation"],
|
|
146
|
-
[/[{(]/, "@brackets"],
|
|
147
|
-
[/[})]/, "@brackets", "@allowMethod"],
|
|
148
|
-
[/\[/, "operator.square"],
|
|
149
|
-
[/](?!\s*(?:va[rl]|def|type)\b)/, "operator.square", "@allowMethod"],
|
|
150
|
-
[/]/, "operator.square"],
|
|
151
|
-
[/([=-]>|<-|>:|<:|:>|<%)(?=[\s\w()[\]{},\."'`])/, "keyword"],
|
|
152
|
-
[/@symbols/, "operator"],
|
|
153
|
-
[/[;,\.]/, "delimiter"],
|
|
154
|
-
[/'[a-zA-Z$][\w$]*(?!')/, "attribute.name"],
|
|
155
|
-
[/'[^\\']'/, "string", "@allowMethod"],
|
|
156
|
-
[/(')(@escapes)(')/, ["string", "string.escape", { token: "string", next: "@allowMethod" }]],
|
|
157
|
-
[/'/, "string.invalid"]
|
|
158
|
-
],
|
|
159
|
-
import: [
|
|
160
|
-
[/;/, "delimiter", "@pop"],
|
|
161
|
-
[/^|$/, "", "@pop"],
|
|
162
|
-
[/[ \t]+/, "white"],
|
|
163
|
-
[/[\n\r]+/, "white", "@pop"],
|
|
164
|
-
[/\/\*/, "comment", "@comment"],
|
|
165
|
-
[/@name|@type/, "type"],
|
|
166
|
-
[/[(){}]/, "@brackets"],
|
|
167
|
-
[/[[\]]/, "operator.square"],
|
|
168
|
-
[/[\.,]/, "delimiter"]
|
|
169
|
-
],
|
|
170
|
-
allowMethod: [
|
|
171
|
-
[/^|$/, "", "@pop"],
|
|
172
|
-
[/[ \t]+/, "white"],
|
|
173
|
-
[/[\n\r]+/, "white", "@pop"],
|
|
174
|
-
[/\/\*/, "comment", "@comment"],
|
|
175
|
-
[/(?==>[\s\w([{])/, "keyword", "@pop"],
|
|
176
|
-
[
|
|
177
|
-
/(@name|@symbols)(?=[ \t]*[[({"'`]|[ \t]+(?:[+-]?\.?\d|\w))/,
|
|
178
|
-
{
|
|
179
|
-
cases: {
|
|
180
|
-
"@keywords": { token: "keyword", next: "@pop" },
|
|
181
|
-
"->|<-|>:|<:|<%": { token: "keyword", next: "@pop" },
|
|
182
|
-
"@default": { token: "@rematch", next: "@pop" }
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
],
|
|
186
|
-
["", "", "@pop"]
|
|
187
|
-
],
|
|
188
|
-
comment: [
|
|
189
|
-
[/[^\/*]+/, "comment"],
|
|
190
|
-
[/\/\*/, "comment", "@push"],
|
|
191
|
-
[/\*\//, "comment", "@pop"],
|
|
192
|
-
[/[\/*]/, "comment"]
|
|
193
|
-
],
|
|
194
|
-
case: [
|
|
195
|
-
[/\b_\*/, "key"],
|
|
196
|
-
[/\b(_|true|false|null|this|super)\b/, "keyword", "@allowMethod"],
|
|
197
|
-
[/\bif\b|=>/, "keyword", "@pop"],
|
|
198
|
-
[/`[^`]+`/, "identifier", "@allowMethod"],
|
|
199
|
-
[/@name/, "variable", "@allowMethod"],
|
|
200
|
-
[/:::?|\||@(?![a-z_$])/, "keyword"],
|
|
201
|
-
{ include: "@root" }
|
|
202
|
-
],
|
|
203
|
-
vardef: [
|
|
204
|
-
[/\b_\*/, "key"],
|
|
205
|
-
[/\b(_|true|false|null|this|super)\b/, "keyword"],
|
|
206
|
-
[/@name/, "variable"],
|
|
207
|
-
[/:::?|\||@(?![a-z_$])/, "keyword"],
|
|
208
|
-
[/=|:(?!:)/, "operator", "@pop"],
|
|
209
|
-
[/$/, "white", "@pop"],
|
|
210
|
-
{ include: "@root" }
|
|
211
|
-
],
|
|
212
|
-
string: [
|
|
213
|
-
[/[^\\"\n\r]+/, "string"],
|
|
214
|
-
[/@escapes/, "string.escape"],
|
|
215
|
-
[/\\./, "string.escape.invalid"],
|
|
216
|
-
[
|
|
217
|
-
/"/,
|
|
218
|
-
{
|
|
219
|
-
token: "string.quote",
|
|
220
|
-
bracket: "@close",
|
|
221
|
-
switchTo: "@allowMethod"
|
|
222
|
-
}
|
|
223
|
-
]
|
|
224
|
-
],
|
|
225
|
-
stringt: [
|
|
226
|
-
[/[^\\"\n\r]+/, "string"],
|
|
227
|
-
[/@escapes/, "string.escape"],
|
|
228
|
-
[/\\./, "string.escape.invalid"],
|
|
229
|
-
[/"(?=""")/, "string"],
|
|
230
|
-
[
|
|
231
|
-
/"""/,
|
|
232
|
-
{
|
|
233
|
-
token: "string.quote",
|
|
234
|
-
bracket: "@close",
|
|
235
|
-
switchTo: "@allowMethod"
|
|
236
|
-
}
|
|
237
|
-
],
|
|
238
|
-
[/"/, "string"]
|
|
239
|
-
],
|
|
240
|
-
fstring: [
|
|
241
|
-
[/@escapes/, "string.escape"],
|
|
242
|
-
[
|
|
243
|
-
/"/,
|
|
244
|
-
{
|
|
245
|
-
token: "string.quote",
|
|
246
|
-
bracket: "@close",
|
|
247
|
-
switchTo: "@allowMethod"
|
|
248
|
-
}
|
|
249
|
-
],
|
|
250
|
-
[/\$\$/, "string"],
|
|
251
|
-
[/(\$)([a-z_]\w*)/, ["operator", "identifier"]],
|
|
252
|
-
[/\$\{/, "operator", "@interp"],
|
|
253
|
-
[/%%/, "string"],
|
|
254
|
-
[
|
|
255
|
-
/(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,
|
|
256
|
-
["metatag", "keyword.modifier", "number", "metatag"]
|
|
257
|
-
],
|
|
258
|
-
[/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/, ["metatag", "number", "metatag"]],
|
|
259
|
-
[/(%)([\-#+ 0,(])(@fstring_conv)/, ["metatag", "keyword.modifier", "metatag"]],
|
|
260
|
-
[/(%)(@fstring_conv)/, ["metatag", "metatag"]],
|
|
261
|
-
[/./, "string"]
|
|
262
|
-
],
|
|
263
|
-
fstringt: [
|
|
264
|
-
[/@escapes/, "string.escape"],
|
|
265
|
-
[/"(?=""")/, "string"],
|
|
266
|
-
[
|
|
267
|
-
/"""/,
|
|
268
|
-
{
|
|
269
|
-
token: "string.quote",
|
|
270
|
-
bracket: "@close",
|
|
271
|
-
switchTo: "@allowMethod"
|
|
272
|
-
}
|
|
273
|
-
],
|
|
274
|
-
[/\$\$/, "string"],
|
|
275
|
-
[/(\$)([a-z_]\w*)/, ["operator", "identifier"]],
|
|
276
|
-
[/\$\{/, "operator", "@interp"],
|
|
277
|
-
[/%%/, "string"],
|
|
278
|
-
[
|
|
279
|
-
/(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,
|
|
280
|
-
["metatag", "keyword.modifier", "number", "metatag"]
|
|
281
|
-
],
|
|
282
|
-
[/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/, ["metatag", "number", "metatag"]],
|
|
283
|
-
[/(%)([\-#+ 0,(])(@fstring_conv)/, ["metatag", "keyword.modifier", "metatag"]],
|
|
284
|
-
[/(%)(@fstring_conv)/, ["metatag", "metatag"]],
|
|
285
|
-
[/./, "string"]
|
|
286
|
-
],
|
|
287
|
-
sstring: [
|
|
288
|
-
[/@escapes/, "string.escape"],
|
|
289
|
-
[
|
|
290
|
-
/"/,
|
|
291
|
-
{
|
|
292
|
-
token: "string.quote",
|
|
293
|
-
bracket: "@close",
|
|
294
|
-
switchTo: "@allowMethod"
|
|
295
|
-
}
|
|
296
|
-
],
|
|
297
|
-
[/\$\$/, "string"],
|
|
298
|
-
[/(\$)([a-z_]\w*)/, ["operator", "identifier"]],
|
|
299
|
-
[/\$\{/, "operator", "@interp"],
|
|
300
|
-
[/./, "string"]
|
|
301
|
-
],
|
|
302
|
-
sstringt: [
|
|
303
|
-
[/@escapes/, "string.escape"],
|
|
304
|
-
[/"(?=""")/, "string"],
|
|
305
|
-
[
|
|
306
|
-
/"""/,
|
|
307
|
-
{
|
|
308
|
-
token: "string.quote",
|
|
309
|
-
bracket: "@close",
|
|
310
|
-
switchTo: "@allowMethod"
|
|
311
|
-
}
|
|
312
|
-
],
|
|
313
|
-
[/\$\$/, "string"],
|
|
314
|
-
[/(\$)([a-z_]\w*)/, ["operator", "identifier"]],
|
|
315
|
-
[/\$\{/, "operator", "@interp"],
|
|
316
|
-
[/./, "string"]
|
|
317
|
-
],
|
|
318
|
-
interp: [[/{/, "operator", "@push"], [/}/, "operator", "@pop"], { include: "@root" }],
|
|
319
|
-
rawstring: [
|
|
320
|
-
[/[^"]/, "string"],
|
|
321
|
-
[
|
|
322
|
-
/"/,
|
|
323
|
-
{
|
|
324
|
-
token: "string.quote",
|
|
325
|
-
bracket: "@close",
|
|
326
|
-
switchTo: "@allowMethod"
|
|
327
|
-
}
|
|
328
|
-
]
|
|
329
|
-
],
|
|
330
|
-
rawstringt: [
|
|
331
|
-
[/[^"]/, "string"],
|
|
332
|
-
[/"(?=""")/, "string"],
|
|
333
|
-
[
|
|
334
|
-
/"""/,
|
|
335
|
-
{
|
|
336
|
-
token: "string.quote",
|
|
337
|
-
bracket: "@close",
|
|
338
|
-
switchTo: "@allowMethod"
|
|
339
|
-
}
|
|
340
|
-
],
|
|
341
|
-
[/"/, "string"]
|
|
342
|
-
],
|
|
343
|
-
whitespace: [
|
|
344
|
-
[/[ \t\r\n]+/, "white"],
|
|
345
|
-
[/\/\*/, "comment", "@comment"],
|
|
346
|
-
[/\/\/.*$/, "comment"]
|
|
347
|
-
]
|
|
348
|
-
}
|
|
349
|
-
};
|
|
350
|
-
export {
|
|
351
|
-
e as conf,
|
|
352
|
-
t as language
|
|
353
|
-
};
|
package/lib/scheme-e6a52cb0.js
DELETED
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
|
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
|
-
blockComment: ["#|", "|#"]
|
|
11
|
-
},
|
|
12
|
-
brackets: [
|
|
13
|
-
["(", ")"],
|
|
14
|
-
["{", "}"],
|
|
15
|
-
["[", "]"]
|
|
16
|
-
],
|
|
17
|
-
autoClosingPairs: [
|
|
18
|
-
{ open: "{", close: "}" },
|
|
19
|
-
{ open: "[", close: "]" },
|
|
20
|
-
{ open: "(", close: ")" },
|
|
21
|
-
{ open: '"', close: '"' }
|
|
22
|
-
],
|
|
23
|
-
surroundingPairs: [
|
|
24
|
-
{ open: "{", close: "}" },
|
|
25
|
-
{ open: "[", close: "]" },
|
|
26
|
-
{ open: "(", close: ")" },
|
|
27
|
-
{ open: '"', close: '"' }
|
|
28
|
-
]
|
|
29
|
-
}, o = {
|
|
30
|
-
defaultToken: "",
|
|
31
|
-
ignoreCase: !0,
|
|
32
|
-
tokenPostfix: ".scheme",
|
|
33
|
-
brackets: [
|
|
34
|
-
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
|
35
|
-
{ open: "{", close: "}", token: "delimiter.curly" },
|
|
36
|
-
{ open: "[", close: "]", token: "delimiter.square" }
|
|
37
|
-
],
|
|
38
|
-
keywords: [
|
|
39
|
-
"case",
|
|
40
|
-
"do",
|
|
41
|
-
"let",
|
|
42
|
-
"loop",
|
|
43
|
-
"if",
|
|
44
|
-
"else",
|
|
45
|
-
"when",
|
|
46
|
-
"cons",
|
|
47
|
-
"car",
|
|
48
|
-
"cdr",
|
|
49
|
-
"cond",
|
|
50
|
-
"lambda",
|
|
51
|
-
"lambda*",
|
|
52
|
-
"syntax-rules",
|
|
53
|
-
"format",
|
|
54
|
-
"set!",
|
|
55
|
-
"quote",
|
|
56
|
-
"eval",
|
|
57
|
-
"append",
|
|
58
|
-
"list",
|
|
59
|
-
"list?",
|
|
60
|
-
"member?",
|
|
61
|
-
"load"
|
|
62
|
-
],
|
|
63
|
-
constants: ["#t", "#f"],
|
|
64
|
-
operators: ["eq?", "eqv?", "equal?", "and", "or", "not", "null?"],
|
|
65
|
-
tokenizer: {
|
|
66
|
-
root: [
|
|
67
|
-
[/#[xXoObB][0-9a-fA-F]+/, "number.hex"],
|
|
68
|
-
[/[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?/, "number.float"],
|
|
69
|
-
[
|
|
70
|
-
/(?:\b(?:(define|define-syntax|define-macro))\b)(\s+)((?:\w|\-|\!|\?)*)/,
|
|
71
|
-
["keyword", "white", "variable"]
|
|
72
|
-
],
|
|
73
|
-
{ include: "@whitespace" },
|
|
74
|
-
{ include: "@strings" },
|
|
75
|
-
[
|
|
76
|
-
/[a-zA-Z_#][a-zA-Z0-9_\-\?\!\*]*/,
|
|
77
|
-
{
|
|
78
|
-
cases: {
|
|
79
|
-
"@keywords": "keyword",
|
|
80
|
-
"@constants": "constant",
|
|
81
|
-
"@operators": "operators",
|
|
82
|
-
"@default": "identifier"
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
]
|
|
86
|
-
],
|
|
87
|
-
comment: [
|
|
88
|
-
[/[^\|#]+/, "comment"],
|
|
89
|
-
[/#\|/, "comment", "@push"],
|
|
90
|
-
[/\|#/, "comment", "@pop"],
|
|
91
|
-
[/[\|#]/, "comment"]
|
|
92
|
-
],
|
|
93
|
-
whitespace: [
|
|
94
|
-
[/[ \t\r\n]+/, "white"],
|
|
95
|
-
[/#\|/, "comment", "@comment"],
|
|
96
|
-
[/;.*$/, "comment"]
|
|
97
|
-
],
|
|
98
|
-
strings: [
|
|
99
|
-
[/"$/, "string", "@popall"],
|
|
100
|
-
[/"(?=.)/, "string", "@multiLineString"]
|
|
101
|
-
],
|
|
102
|
-
multiLineString: [
|
|
103
|
-
[/[^\\"]+$/, "string", "@popall"],
|
|
104
|
-
[/[^\\"]+/, "string"],
|
|
105
|
-
[/\\./, "string.escape"],
|
|
106
|
-
[/"/, "string", "@popall"],
|
|
107
|
-
[/\\$/, "string"]
|
|
108
|
-
]
|
|
109
|
-
}
|
|
110
|
-
};
|
|
111
|
-
export {
|
|
112
|
-
e as conf,
|
|
113
|
-
o as language
|
|
114
|
-
};
|