act-plus 1.1.18 → 1.1.19
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 +5 -3
- package/act-plus.umd.cjs +1729 -16
- package/assets/editor.worker-df55e1ff.js +8 -0
- package/assets/ts.worker-e151483b.js +33972 -0
- package/lib/abap-1354785f.js +1314 -0
- package/lib/apex-279d4f27.js +315 -0
- package/lib/azcli-ba812c55.js +74 -0
- package/lib/bat-4d77495d.js +95 -0
- package/lib/bicep-7b240724.js +108 -0
- package/lib/cameligo-5d2daeb8.js +168 -0
- package/lib/clojure-b7ea12a3.js +754 -0
- package/lib/coffee-1a8cfbf4.js +228 -0
- package/lib/{configBtns-58f43801.js → configBtns-3772e689.js} +2 -2
- package/lib/{configFileds-b537fd99.js → configFileds-d0911c87.js} +3 -3
- package/lib/{configForm-b9e9ca98.js → configForm-ae4b725e.js} +1 -1
- package/lib/{configTable-bdb56a9e.js → configTable-879063d4.js} +31 -24
- package/lib/cpp-642b10c4.js +387 -0
- package/lib/csharp-d987ddad.js +320 -0
- package/lib/csp-96407af0.js +57 -0
- package/lib/css-5dd354ac.js +186 -0
- package/lib/cssMode-6d02ab39.js +1448 -0
- package/lib/cypher-11e5a4b6.js +262 -0
- package/lib/dart-5d209f63.js +270 -0
- package/lib/{dialogAddField-b60d14ab.js → dialogAddField-d6b18048.js} +69 -69
- package/lib/{dialogConfigBtn-f5f8703d.js → dialogConfigBtn-75e37dc9.js} +74 -78
- package/lib/dockerfile-8739cff7.js +132 -0
- package/lib/ecl-a20c5155.js +454 -0
- package/lib/elixir-8b028584.js +467 -0
- package/lib/{enum-99519ce0.js → enum-cc58b8fe.js} +25 -22
- package/lib/flow9-0dea2e73.js +141 -0
- package/lib/freemarker2-205877bf.js +646 -0
- package/lib/fsharp-49a70fad.js +210 -0
- package/lib/go-46e3b371.js +208 -0
- package/lib/graphql-51a577e5.js +141 -0
- package/lib/handlebars-2d920faa.js +394 -0
- package/lib/hcl-56b85754.js +177 -0
- package/lib/html-6b99359b.js +284 -0
- package/lib/htmlMode-498c17d9.js +1458 -0
- package/lib/index-68063c4c.js +96 -0
- package/lib/index-7c264775.js +192 -0
- package/lib/index-a36b2284.js +304 -0
- package/lib/index-aff95ab9.js +63 -0
- package/lib/index-da0a0bfe.js +162173 -0
- package/lib/index-e2f2023d.js +35 -0
- package/lib/{index-9e3ed108.js → index-fb2754ee.js} +1 -1
- package/lib/ini-1d58d82f.js +68 -0
- package/lib/java-cd017f60.js +221 -0
- package/lib/javascript-5e40fe11.js +78 -0
- package/lib/jsonMode-2a821e9e.js +1869 -0
- package/lib/julia-a0caf483.js +496 -0
- package/lib/kotlin-c6e52a56.js +245 -0
- package/lib/less-718543b4.js +168 -0
- package/lib/lexon-5e6e7a44.js +151 -0
- package/lib/liquid-dc78aaf7.js +241 -0
- package/lib/lua-f159160b.js +157 -0
- package/lib/m3-aadaf771.js +210 -0
- package/lib/markdown-9b448c46.js +202 -0
- package/lib/mips-161e49ce.js +194 -0
- package/lib/msdax-f65cb1e6.js +377 -0
- package/lib/mysql-24549dd1.js +875 -0
- package/lib/objective-c-e129a5ca.js +188 -0
- package/lib/pascal-4ccdf5ce.js +245 -0
- package/lib/pascaligo-a9603dcd.js +158 -0
- package/lib/perl-ba1fb97a.js +599 -0
- package/lib/pgsql-89978310.js +843 -0
- package/lib/php-987b9d87.js +471 -0
- package/lib/pla-96c2695d.js +131 -0
- package/lib/postiats-7b52ebac.js +544 -0
- package/lib/powerquery-8954ec26.js +890 -0
- package/lib/powershell-f00d0274.js +233 -0
- package/lib/protobuf-3eb85f80.js +422 -0
- package/lib/pug-6fab415a.js +393 -0
- package/lib/python-e55144b2.js +262 -0
- package/lib/qsharp-4792f872.js +282 -0
- package/lib/r-630f5d6b.js +245 -0
- package/lib/razor-1fb88f53.js +515 -0
- package/lib/redis-276b8288.js +298 -0
- package/lib/redshift-520a7359.js +806 -0
- package/lib/restructuredtext-4676a3fc.js +162 -0
- package/lib/ruby-764137cd.js +444 -0
- package/lib/rust-97f8f6e1.js +337 -0
- package/lib/sb-8c22f14c.js +110 -0
- package/lib/scala-c68c650c.js +353 -0
- package/lib/scheme-e6a52cb0.js +114 -0
- package/lib/scss-45104c77.js +244 -0
- package/lib/shell-09452d42.js +224 -0
- package/lib/solidity-d4979008.js +1351 -0
- package/lib/sophia-21995caf.js +190 -0
- package/lib/sparql-5088743c.js +193 -0
- package/lib/sql-63ec8e76.js +818 -0
- package/lib/st-fa9ab362.js +414 -0
- package/lib/swift-abdf1835.js +315 -0
- package/lib/systemverilog-a4f858ed.js +556 -0
- package/lib/tcl-8adf937f.js +232 -0
- package/lib/tsMode-8d12d976.js +792 -0
- package/lib/twig-404eb73e.js +323 -0
- package/lib/typescript-97ed77ae.js +330 -0
- package/lib/vb-e21e8153.js +364 -0
- package/lib/xml-e843c667.js +98 -0
- package/lib/yaml-62bcf3fa.js +187 -0
- package/package.json +1 -1
- package/style.css +1 -1
- package/lib/index-14f7a543.js +0 -165
- package/lib/index-1f8ed34b.js +0 -11178
- package/lib/index-56217e0e.js +0 -96
- package/lib/index-8cb975d8.js +0 -297
- package/lib/index-9a1abd6b.js +0 -139
|
@@ -0,0 +1,467 @@
|
|
|
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
|
+
},
|
|
11
|
+
brackets: [
|
|
12
|
+
["{", "}"],
|
|
13
|
+
["[", "]"],
|
|
14
|
+
["(", ")"]
|
|
15
|
+
],
|
|
16
|
+
surroundingPairs: [
|
|
17
|
+
{ open: "{", close: "}" },
|
|
18
|
+
{ open: "[", close: "]" },
|
|
19
|
+
{ open: "(", close: ")" },
|
|
20
|
+
{ open: "'", close: "'" },
|
|
21
|
+
{ open: '"', close: '"' }
|
|
22
|
+
],
|
|
23
|
+
autoClosingPairs: [
|
|
24
|
+
{ open: "'", close: "'", notIn: ["string", "comment"] },
|
|
25
|
+
{ open: '"', close: '"', notIn: ["comment"] },
|
|
26
|
+
{ open: '"""', close: '"""' },
|
|
27
|
+
{ open: "`", close: "`", notIn: ["string", "comment"] },
|
|
28
|
+
{ open: "(", close: ")" },
|
|
29
|
+
{ open: "{", close: "}" },
|
|
30
|
+
{ open: "[", close: "]" },
|
|
31
|
+
{ open: "<<", close: ">>" }
|
|
32
|
+
],
|
|
33
|
+
indentationRules: {
|
|
34
|
+
increaseIndentPattern: /^\s*(after|else|catch|rescue|fn|[^#]*(do|<\-|\->|\{|\[|\=))\s*$/,
|
|
35
|
+
decreaseIndentPattern: /^\s*((\}|\])\s*$|(after|else|catch|rescue|end)\b)/
|
|
36
|
+
}
|
|
37
|
+
}, t = {
|
|
38
|
+
defaultToken: "source",
|
|
39
|
+
tokenPostfix: ".elixir",
|
|
40
|
+
brackets: [
|
|
41
|
+
{ open: "[", close: "]", token: "delimiter.square" },
|
|
42
|
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
|
43
|
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
|
44
|
+
{ open: "<<", close: ">>", token: "delimiter.angle.special" }
|
|
45
|
+
],
|
|
46
|
+
declarationKeywords: [
|
|
47
|
+
"def",
|
|
48
|
+
"defp",
|
|
49
|
+
"defn",
|
|
50
|
+
"defnp",
|
|
51
|
+
"defguard",
|
|
52
|
+
"defguardp",
|
|
53
|
+
"defmacro",
|
|
54
|
+
"defmacrop",
|
|
55
|
+
"defdelegate",
|
|
56
|
+
"defcallback",
|
|
57
|
+
"defmacrocallback",
|
|
58
|
+
"defmodule",
|
|
59
|
+
"defprotocol",
|
|
60
|
+
"defexception",
|
|
61
|
+
"defimpl",
|
|
62
|
+
"defstruct"
|
|
63
|
+
],
|
|
64
|
+
operatorKeywords: ["and", "in", "not", "or", "when"],
|
|
65
|
+
namespaceKeywords: ["alias", "import", "require", "use"],
|
|
66
|
+
otherKeywords: [
|
|
67
|
+
"after",
|
|
68
|
+
"case",
|
|
69
|
+
"catch",
|
|
70
|
+
"cond",
|
|
71
|
+
"do",
|
|
72
|
+
"else",
|
|
73
|
+
"end",
|
|
74
|
+
"fn",
|
|
75
|
+
"for",
|
|
76
|
+
"if",
|
|
77
|
+
"quote",
|
|
78
|
+
"raise",
|
|
79
|
+
"receive",
|
|
80
|
+
"rescue",
|
|
81
|
+
"super",
|
|
82
|
+
"throw",
|
|
83
|
+
"try",
|
|
84
|
+
"unless",
|
|
85
|
+
"unquote_splicing",
|
|
86
|
+
"unquote",
|
|
87
|
+
"with"
|
|
88
|
+
],
|
|
89
|
+
constants: ["true", "false", "nil"],
|
|
90
|
+
nameBuiltin: ["__MODULE__", "__DIR__", "__ENV__", "__CALLER__", "__STACKTRACE__"],
|
|
91
|
+
operator: /-[->]?|!={0,2}|\*{1,2}|\/|\\\\|&{1,3}|\.\.?|\^(?:\^\^)?|\+\+?|<(?:-|<<|=|>|\|>|~>?)?|=~|={1,3}|>(?:=|>>)?|\|~>|\|>|\|{1,3}|~>>?|~~~|::/,
|
|
92
|
+
variableName: /[a-z_][a-zA-Z0-9_]*[?!]?/,
|
|
93
|
+
atomName: /[a-zA-Z_][a-zA-Z0-9_@]*[?!]?|@specialAtomName|@operator/,
|
|
94
|
+
specialAtomName: /\.\.\.|<<>>|%\{\}|%|\{\}/,
|
|
95
|
+
aliasPart: /[A-Z][a-zA-Z0-9_]*/,
|
|
96
|
+
moduleName: /@aliasPart(?:\.@aliasPart)*/,
|
|
97
|
+
sigilSymmetricDelimiter: /"""|'''|"|'|\/|\|/,
|
|
98
|
+
sigilStartDelimiter: /@sigilSymmetricDelimiter|<|\{|\[|\(/,
|
|
99
|
+
sigilEndDelimiter: /@sigilSymmetricDelimiter|>|\}|\]|\)/,
|
|
100
|
+
sigilModifiers: /[a-zA-Z0-9]*/,
|
|
101
|
+
decimal: /\d(?:_?\d)*/,
|
|
102
|
+
hex: /[0-9a-fA-F](_?[0-9a-fA-F])*/,
|
|
103
|
+
octal: /[0-7](_?[0-7])*/,
|
|
104
|
+
binary: /[01](_?[01])*/,
|
|
105
|
+
escape: /\\u[0-9a-fA-F]{4}|\\x[0-9a-fA-F]{2}|\\./,
|
|
106
|
+
tokenizer: {
|
|
107
|
+
root: [
|
|
108
|
+
{ include: "@whitespace" },
|
|
109
|
+
{ include: "@comments" },
|
|
110
|
+
{ include: "@keywordsShorthand" },
|
|
111
|
+
{ include: "@numbers" },
|
|
112
|
+
{ include: "@identifiers" },
|
|
113
|
+
{ include: "@strings" },
|
|
114
|
+
{ include: "@atoms" },
|
|
115
|
+
{ include: "@sigils" },
|
|
116
|
+
{ include: "@attributes" },
|
|
117
|
+
{ include: "@symbols" }
|
|
118
|
+
],
|
|
119
|
+
whitespace: [[/\s+/, "white"]],
|
|
120
|
+
comments: [[/(#)(.*)/, ["comment.punctuation", "comment"]]],
|
|
121
|
+
keywordsShorthand: [
|
|
122
|
+
[/(@atomName)(:)/, ["constant", "constant.punctuation"]],
|
|
123
|
+
[
|
|
124
|
+
/"(?=([^"]|#\{.*?\}|\\")*":)/,
|
|
125
|
+
{ token: "constant.delimiter", next: "@doubleQuotedStringKeyword" }
|
|
126
|
+
],
|
|
127
|
+
[
|
|
128
|
+
/'(?=([^']|#\{.*?\}|\\')*':)/,
|
|
129
|
+
{ token: "constant.delimiter", next: "@singleQuotedStringKeyword" }
|
|
130
|
+
]
|
|
131
|
+
],
|
|
132
|
+
doubleQuotedStringKeyword: [
|
|
133
|
+
[/":/, { token: "constant.delimiter", next: "@pop" }],
|
|
134
|
+
{ include: "@stringConstantContentInterpol" }
|
|
135
|
+
],
|
|
136
|
+
singleQuotedStringKeyword: [
|
|
137
|
+
[/':/, { token: "constant.delimiter", next: "@pop" }],
|
|
138
|
+
{ include: "@stringConstantContentInterpol" }
|
|
139
|
+
],
|
|
140
|
+
numbers: [
|
|
141
|
+
[/0b@binary/, "number.binary"],
|
|
142
|
+
[/0o@octal/, "number.octal"],
|
|
143
|
+
[/0x@hex/, "number.hex"],
|
|
144
|
+
[/@decimal\.@decimal([eE]-?@decimal)?/, "number.float"],
|
|
145
|
+
[/@decimal/, "number"]
|
|
146
|
+
],
|
|
147
|
+
identifiers: [
|
|
148
|
+
[
|
|
149
|
+
/\b(defp?|defnp?|defmacrop?|defguardp?|defdelegate)(\s+)(@variableName)(?!\s+@operator)/,
|
|
150
|
+
[
|
|
151
|
+
"keyword.declaration",
|
|
152
|
+
"white",
|
|
153
|
+
{
|
|
154
|
+
cases: {
|
|
155
|
+
unquote: "keyword",
|
|
156
|
+
"@default": "function"
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
]
|
|
160
|
+
],
|
|
161
|
+
[
|
|
162
|
+
/(@variableName)(?=\s*\.?\s*\()/,
|
|
163
|
+
{
|
|
164
|
+
cases: {
|
|
165
|
+
"@declarationKeywords": "keyword.declaration",
|
|
166
|
+
"@namespaceKeywords": "keyword",
|
|
167
|
+
"@otherKeywords": "keyword",
|
|
168
|
+
"@default": "function.call"
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
],
|
|
172
|
+
[
|
|
173
|
+
/(@moduleName)(\s*)(\.)(\s*)(@variableName)/,
|
|
174
|
+
["type.identifier", "white", "operator", "white", "function.call"]
|
|
175
|
+
],
|
|
176
|
+
[
|
|
177
|
+
/(:)(@atomName)(\s*)(\.)(\s*)(@variableName)/,
|
|
178
|
+
["constant.punctuation", "constant", "white", "operator", "white", "function.call"]
|
|
179
|
+
],
|
|
180
|
+
[
|
|
181
|
+
/(\|>)(\s*)(@variableName)/,
|
|
182
|
+
[
|
|
183
|
+
"operator",
|
|
184
|
+
"white",
|
|
185
|
+
{
|
|
186
|
+
cases: {
|
|
187
|
+
"@otherKeywords": "keyword",
|
|
188
|
+
"@default": "function.call"
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
]
|
|
192
|
+
],
|
|
193
|
+
[
|
|
194
|
+
/(&)(\s*)(@variableName)/,
|
|
195
|
+
["operator", "white", "function.call"]
|
|
196
|
+
],
|
|
197
|
+
[
|
|
198
|
+
/@variableName/,
|
|
199
|
+
{
|
|
200
|
+
cases: {
|
|
201
|
+
"@declarationKeywords": "keyword.declaration",
|
|
202
|
+
"@operatorKeywords": "keyword.operator",
|
|
203
|
+
"@namespaceKeywords": "keyword",
|
|
204
|
+
"@otherKeywords": "keyword",
|
|
205
|
+
"@constants": "constant.language",
|
|
206
|
+
"@nameBuiltin": "variable.language",
|
|
207
|
+
"_.*": "comment.unused",
|
|
208
|
+
"@default": "identifier"
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
],
|
|
212
|
+
[/@moduleName/, "type.identifier"]
|
|
213
|
+
],
|
|
214
|
+
strings: [
|
|
215
|
+
[/"""/, { token: "string.delimiter", next: "@doubleQuotedHeredoc" }],
|
|
216
|
+
[/'''/, { token: "string.delimiter", next: "@singleQuotedHeredoc" }],
|
|
217
|
+
[/"/, { token: "string.delimiter", next: "@doubleQuotedString" }],
|
|
218
|
+
[/'/, { token: "string.delimiter", next: "@singleQuotedString" }]
|
|
219
|
+
],
|
|
220
|
+
doubleQuotedHeredoc: [
|
|
221
|
+
[/"""/, { token: "string.delimiter", next: "@pop" }],
|
|
222
|
+
{ include: "@stringContentInterpol" }
|
|
223
|
+
],
|
|
224
|
+
singleQuotedHeredoc: [
|
|
225
|
+
[/'''/, { token: "string.delimiter", next: "@pop" }],
|
|
226
|
+
{ include: "@stringContentInterpol" }
|
|
227
|
+
],
|
|
228
|
+
doubleQuotedString: [
|
|
229
|
+
[/"/, { token: "string.delimiter", next: "@pop" }],
|
|
230
|
+
{ include: "@stringContentInterpol" }
|
|
231
|
+
],
|
|
232
|
+
singleQuotedString: [
|
|
233
|
+
[/'/, { token: "string.delimiter", next: "@pop" }],
|
|
234
|
+
{ include: "@stringContentInterpol" }
|
|
235
|
+
],
|
|
236
|
+
atoms: [
|
|
237
|
+
[/(:)(@atomName)/, ["constant.punctuation", "constant"]],
|
|
238
|
+
[/:"/, { token: "constant.delimiter", next: "@doubleQuotedStringAtom" }],
|
|
239
|
+
[/:'/, { token: "constant.delimiter", next: "@singleQuotedStringAtom" }]
|
|
240
|
+
],
|
|
241
|
+
doubleQuotedStringAtom: [
|
|
242
|
+
[/"/, { token: "constant.delimiter", next: "@pop" }],
|
|
243
|
+
{ include: "@stringConstantContentInterpol" }
|
|
244
|
+
],
|
|
245
|
+
singleQuotedStringAtom: [
|
|
246
|
+
[/'/, { token: "constant.delimiter", next: "@pop" }],
|
|
247
|
+
{ include: "@stringConstantContentInterpol" }
|
|
248
|
+
],
|
|
249
|
+
sigils: [
|
|
250
|
+
[/~[a-z]@sigilStartDelimiter/, { token: "@rematch", next: "@sigil.interpol" }],
|
|
251
|
+
[/~[A-Z]@sigilStartDelimiter/, { token: "@rematch", next: "@sigil.noInterpol" }]
|
|
252
|
+
],
|
|
253
|
+
sigil: [
|
|
254
|
+
[/~([a-zA-Z])\{/, { token: "@rematch", switchTo: "@sigilStart.$S2.$1.{.}" }],
|
|
255
|
+
[/~([a-zA-Z])\[/, { token: "@rematch", switchTo: "@sigilStart.$S2.$1.[.]" }],
|
|
256
|
+
[/~([a-zA-Z])\(/, { token: "@rematch", switchTo: "@sigilStart.$S2.$1.(.)" }],
|
|
257
|
+
[/~([a-zA-Z])\</, { token: "@rematch", switchTo: "@sigilStart.$S2.$1.<.>" }],
|
|
258
|
+
[
|
|
259
|
+
/~([a-zA-Z])(@sigilSymmetricDelimiter)/,
|
|
260
|
+
{ token: "@rematch", switchTo: "@sigilStart.$S2.$1.$2.$2" }
|
|
261
|
+
]
|
|
262
|
+
],
|
|
263
|
+
"sigilStart.interpol.s": [
|
|
264
|
+
[
|
|
265
|
+
/~s@sigilStartDelimiter/,
|
|
266
|
+
{
|
|
267
|
+
token: "string.delimiter",
|
|
268
|
+
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
|
269
|
+
}
|
|
270
|
+
]
|
|
271
|
+
],
|
|
272
|
+
"sigilContinue.interpol.s": [
|
|
273
|
+
[
|
|
274
|
+
/(@sigilEndDelimiter)@sigilModifiers/,
|
|
275
|
+
{
|
|
276
|
+
cases: {
|
|
277
|
+
"$1==$S5": { token: "string.delimiter", next: "@pop" },
|
|
278
|
+
"@default": "string"
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
],
|
|
282
|
+
{ include: "@stringContentInterpol" }
|
|
283
|
+
],
|
|
284
|
+
"sigilStart.noInterpol.S": [
|
|
285
|
+
[
|
|
286
|
+
/~S@sigilStartDelimiter/,
|
|
287
|
+
{
|
|
288
|
+
token: "string.delimiter",
|
|
289
|
+
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
|
290
|
+
}
|
|
291
|
+
]
|
|
292
|
+
],
|
|
293
|
+
"sigilContinue.noInterpol.S": [
|
|
294
|
+
[/(^|[^\\])\\@sigilEndDelimiter/, "string"],
|
|
295
|
+
[
|
|
296
|
+
/(@sigilEndDelimiter)@sigilModifiers/,
|
|
297
|
+
{
|
|
298
|
+
cases: {
|
|
299
|
+
"$1==$S5": { token: "string.delimiter", next: "@pop" },
|
|
300
|
+
"@default": "string"
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
],
|
|
304
|
+
{ include: "@stringContent" }
|
|
305
|
+
],
|
|
306
|
+
"sigilStart.interpol.r": [
|
|
307
|
+
[
|
|
308
|
+
/~r@sigilStartDelimiter/,
|
|
309
|
+
{
|
|
310
|
+
token: "regexp.delimiter",
|
|
311
|
+
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
|
312
|
+
}
|
|
313
|
+
]
|
|
314
|
+
],
|
|
315
|
+
"sigilContinue.interpol.r": [
|
|
316
|
+
[
|
|
317
|
+
/(@sigilEndDelimiter)@sigilModifiers/,
|
|
318
|
+
{
|
|
319
|
+
cases: {
|
|
320
|
+
"$1==$S5": { token: "regexp.delimiter", next: "@pop" },
|
|
321
|
+
"@default": "regexp"
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
],
|
|
325
|
+
{ include: "@regexpContentInterpol" }
|
|
326
|
+
],
|
|
327
|
+
"sigilStart.noInterpol.R": [
|
|
328
|
+
[
|
|
329
|
+
/~R@sigilStartDelimiter/,
|
|
330
|
+
{
|
|
331
|
+
token: "regexp.delimiter",
|
|
332
|
+
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
|
333
|
+
}
|
|
334
|
+
]
|
|
335
|
+
],
|
|
336
|
+
"sigilContinue.noInterpol.R": [
|
|
337
|
+
[/(^|[^\\])\\@sigilEndDelimiter/, "regexp"],
|
|
338
|
+
[
|
|
339
|
+
/(@sigilEndDelimiter)@sigilModifiers/,
|
|
340
|
+
{
|
|
341
|
+
cases: {
|
|
342
|
+
"$1==$S5": { token: "regexp.delimiter", next: "@pop" },
|
|
343
|
+
"@default": "regexp"
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
],
|
|
347
|
+
{ include: "@regexpContent" }
|
|
348
|
+
],
|
|
349
|
+
"sigilStart.interpol": [
|
|
350
|
+
[
|
|
351
|
+
/~([a-zA-Z])@sigilStartDelimiter/,
|
|
352
|
+
{
|
|
353
|
+
token: "sigil.delimiter",
|
|
354
|
+
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
|
355
|
+
}
|
|
356
|
+
]
|
|
357
|
+
],
|
|
358
|
+
"sigilContinue.interpol": [
|
|
359
|
+
[
|
|
360
|
+
/(@sigilEndDelimiter)@sigilModifiers/,
|
|
361
|
+
{
|
|
362
|
+
cases: {
|
|
363
|
+
"$1==$S5": { token: "sigil.delimiter", next: "@pop" },
|
|
364
|
+
"@default": "sigil"
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
],
|
|
368
|
+
{ include: "@sigilContentInterpol" }
|
|
369
|
+
],
|
|
370
|
+
"sigilStart.noInterpol": [
|
|
371
|
+
[
|
|
372
|
+
/~([a-zA-Z])@sigilStartDelimiter/,
|
|
373
|
+
{
|
|
374
|
+
token: "sigil.delimiter",
|
|
375
|
+
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
|
376
|
+
}
|
|
377
|
+
]
|
|
378
|
+
],
|
|
379
|
+
"sigilContinue.noInterpol": [
|
|
380
|
+
[/(^|[^\\])\\@sigilEndDelimiter/, "sigil"],
|
|
381
|
+
[
|
|
382
|
+
/(@sigilEndDelimiter)@sigilModifiers/,
|
|
383
|
+
{
|
|
384
|
+
cases: {
|
|
385
|
+
"$1==$S5": { token: "sigil.delimiter", next: "@pop" },
|
|
386
|
+
"@default": "sigil"
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
],
|
|
390
|
+
{ include: "@sigilContent" }
|
|
391
|
+
],
|
|
392
|
+
attributes: [
|
|
393
|
+
[
|
|
394
|
+
/\@(module|type)?doc (~[sS])?"""/,
|
|
395
|
+
{
|
|
396
|
+
token: "comment.block.documentation",
|
|
397
|
+
next: "@doubleQuotedHeredocDocstring"
|
|
398
|
+
}
|
|
399
|
+
],
|
|
400
|
+
[
|
|
401
|
+
/\@(module|type)?doc (~[sS])?"/,
|
|
402
|
+
{
|
|
403
|
+
token: "comment.block.documentation",
|
|
404
|
+
next: "@doubleQuotedStringDocstring"
|
|
405
|
+
}
|
|
406
|
+
],
|
|
407
|
+
[/\@(module|type)?doc false/, "comment.block.documentation"],
|
|
408
|
+
[/\@(@variableName)/, "variable"]
|
|
409
|
+
],
|
|
410
|
+
doubleQuotedHeredocDocstring: [
|
|
411
|
+
[/"""/, { token: "comment.block.documentation", next: "@pop" }],
|
|
412
|
+
{ include: "@docstringContent" }
|
|
413
|
+
],
|
|
414
|
+
doubleQuotedStringDocstring: [
|
|
415
|
+
[/"/, { token: "comment.block.documentation", next: "@pop" }],
|
|
416
|
+
{ include: "@docstringContent" }
|
|
417
|
+
],
|
|
418
|
+
symbols: [
|
|
419
|
+
[/\?(\\.|[^\\\s])/, "number.constant"],
|
|
420
|
+
[/&\d+/, "operator"],
|
|
421
|
+
[/<<<|>>>/, "operator"],
|
|
422
|
+
[/[()\[\]\{\}]|<<|>>/, "@brackets"],
|
|
423
|
+
[/\.\.\./, "identifier"],
|
|
424
|
+
[/=>/, "punctuation"],
|
|
425
|
+
[/@operator/, "operator"],
|
|
426
|
+
[/[:;,.%]/, "punctuation"]
|
|
427
|
+
],
|
|
428
|
+
stringContentInterpol: [
|
|
429
|
+
{ include: "@interpolation" },
|
|
430
|
+
{ include: "@escapeChar" },
|
|
431
|
+
{ include: "@stringContent" }
|
|
432
|
+
],
|
|
433
|
+
stringContent: [[/./, "string"]],
|
|
434
|
+
stringConstantContentInterpol: [
|
|
435
|
+
{ include: "@interpolation" },
|
|
436
|
+
{ include: "@escapeChar" },
|
|
437
|
+
{ include: "@stringConstantContent" }
|
|
438
|
+
],
|
|
439
|
+
stringConstantContent: [[/./, "constant"]],
|
|
440
|
+
regexpContentInterpol: [
|
|
441
|
+
{ include: "@interpolation" },
|
|
442
|
+
{ include: "@escapeChar" },
|
|
443
|
+
{ include: "@regexpContent" }
|
|
444
|
+
],
|
|
445
|
+
regexpContent: [
|
|
446
|
+
[/(\s)(#)(\s.*)$/, ["white", "comment.punctuation", "comment"]],
|
|
447
|
+
[/./, "regexp"]
|
|
448
|
+
],
|
|
449
|
+
sigilContentInterpol: [
|
|
450
|
+
{ include: "@interpolation" },
|
|
451
|
+
{ include: "@escapeChar" },
|
|
452
|
+
{ include: "@sigilContent" }
|
|
453
|
+
],
|
|
454
|
+
sigilContent: [[/./, "sigil"]],
|
|
455
|
+
docstringContent: [[/./, "comment.block.documentation"]],
|
|
456
|
+
escapeChar: [[/@escape/, "constant.character.escape"]],
|
|
457
|
+
interpolation: [[/#{/, { token: "delimiter.bracket.embed", next: "@interpolationContinue" }]],
|
|
458
|
+
interpolationContinue: [
|
|
459
|
+
[/}/, { token: "delimiter.bracket.embed", next: "@pop" }],
|
|
460
|
+
{ include: "@root" }
|
|
461
|
+
]
|
|
462
|
+
}
|
|
463
|
+
};
|
|
464
|
+
export {
|
|
465
|
+
e as conf,
|
|
466
|
+
t as language
|
|
467
|
+
};
|
|
@@ -17,32 +17,35 @@ const e = [
|
|
|
17
17
|
{ key: "导入", value: "import" },
|
|
18
18
|
{ key: "导出", value: "export" },
|
|
19
19
|
{ key: "关联子表", value: "associationSubTable" }
|
|
20
|
-
],
|
|
20
|
+
], t = [
|
|
21
21
|
{ key: "数组", value: "array" },
|
|
22
22
|
{ key: "字符串", value: "string" },
|
|
23
23
|
{ key: "数字", value: "number" },
|
|
24
24
|
{ key: "布尔", value: "boolean" }
|
|
25
|
-
],
|
|
25
|
+
], y = [
|
|
26
26
|
{ key: "且", value: "&&" },
|
|
27
27
|
{ key: "或", value: "||" }
|
|
28
|
-
],
|
|
28
|
+
], v = [
|
|
29
29
|
{ key: "匹配", value: "match" },
|
|
30
30
|
{ key: "默认值", value: "default" }
|
|
31
|
-
],
|
|
31
|
+
], k = [
|
|
32
32
|
{ key: "默认匹配", value: "default" },
|
|
33
33
|
{ key: "用户信息变量", value: "userInfo" }
|
|
34
34
|
], s = [
|
|
35
35
|
{ key: "组件", value: "component" },
|
|
36
36
|
{ key: "代码", value: "code" }
|
|
37
|
-
],
|
|
37
|
+
], n = [
|
|
38
38
|
{ key: "GET", value: "GET" },
|
|
39
39
|
{ key: "POST", value: "POST" }
|
|
40
|
-
],
|
|
40
|
+
], o = [
|
|
41
41
|
{ key: "隐式", value: "implicit" },
|
|
42
42
|
{ key: "输入框", value: "input" },
|
|
43
|
+
{ key: "数字输入框", value: "inputNumber" },
|
|
43
44
|
{ key: "textarea文本框", value: "textarea" },
|
|
44
45
|
{ key: "下拉框", value: "select" },
|
|
46
|
+
{ key: "虚拟下拉框", value: "virtualizedSelect" },
|
|
45
47
|
{ key: "下拉多选框", value: "multipleSelect" },
|
|
48
|
+
{ key: "虚拟下拉多选框", value: "virtualizedMultipleSelect" },
|
|
46
49
|
{ key: "树形下拉框", value: "treeSelect" },
|
|
47
50
|
{ key: "时间框", value: "date" },
|
|
48
51
|
{ key: "时间范围框", value: "dateRange" },
|
|
@@ -51,10 +54,10 @@ const e = [
|
|
|
51
54
|
{ key: "富文本", value: "editor" },
|
|
52
55
|
{ key: "switch开关", value: "switch" }
|
|
53
56
|
// { key: '关联子表', value: 'associatedChildTable' },
|
|
54
|
-
],
|
|
57
|
+
], S = [
|
|
55
58
|
{ key: "默认值", value: "default" },
|
|
56
59
|
{ key: "动态参数", value: "dynamic" }
|
|
57
|
-
],
|
|
60
|
+
], T = [
|
|
58
61
|
{ key: "数组", value: "array" },
|
|
59
62
|
{ key: "字符串", value: "string" },
|
|
60
63
|
{ key: "数字", value: "number" }
|
|
@@ -66,15 +69,15 @@ const e = [
|
|
|
66
69
|
{ key: "默认文字", value: "default" },
|
|
67
70
|
{ key: "链接", value: "link" },
|
|
68
71
|
{ key: "标签", value: "tag" }
|
|
69
|
-
],
|
|
72
|
+
], i = [
|
|
70
73
|
{ key: "默认宽", value: "default" },
|
|
71
74
|
{ key: "最小宽", value: "min" }
|
|
72
|
-
],
|
|
75
|
+
], _ = [
|
|
73
76
|
{ key: "数组", value: "array" },
|
|
74
77
|
{ key: "字符串", value: "string" },
|
|
75
78
|
{ key: "数字", value: "number" },
|
|
76
79
|
{ key: "布尔", value: "boolean" }
|
|
77
|
-
],
|
|
80
|
+
], E = [
|
|
78
81
|
{ key: "左侧", value: "right" },
|
|
79
82
|
{ key: "上侧", value: "top" }
|
|
80
83
|
], P = [
|
|
@@ -95,20 +98,20 @@ export {
|
|
|
95
98
|
c as A,
|
|
96
99
|
a as B,
|
|
97
100
|
r as C,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
101
|
+
E as F,
|
|
102
|
+
S as P,
|
|
103
|
+
_ as S,
|
|
104
|
+
i as T,
|
|
102
105
|
P as U,
|
|
103
|
-
|
|
106
|
+
o as a,
|
|
104
107
|
e as b,
|
|
105
108
|
l as c,
|
|
106
109
|
u as d,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
110
|
+
v as e,
|
|
111
|
+
t as f,
|
|
112
|
+
k as g,
|
|
113
|
+
y as h,
|
|
111
114
|
s as i,
|
|
112
|
-
|
|
113
|
-
|
|
115
|
+
n as j,
|
|
116
|
+
T as k
|
|
114
117
|
};
|