sun-form-v3 1.0.6 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/abap-DfvySaIJ.js +1404 -0
- package/dist/apex-B__0irD3.js +332 -0
- package/dist/assets/css.worker-OK053IOu.js +84 -0
- package/dist/assets/editor.worker-D9iUZyMP.js +11 -0
- package/dist/assets/html.worker-CL40hqKM.js +458 -0
- package/dist/assets/json.worker-6f9bhSHY.js +42 -0
- package/dist/assets/ts.worker-B6g3wjaE.js +37021 -0
- package/dist/azcli-CDMGhRmx.js +74 -0
- package/dist/bat-0Mk8aqzx.js +106 -0
- package/dist/bicep-BBi_I06Z.js +108 -0
- package/dist/cameligo-D0G_Zm6X.js +180 -0
- package/dist/clojure-o2ZKLeMp.js +767 -0
- package/dist/coffee-DOQff5VC.js +238 -0
- package/dist/cpp-CQGJnWhD.js +395 -0
- package/dist/csharp-C1jLsHl8.js +332 -0
- package/dist/csp-C_ttMQaW.js +59 -0
- package/dist/css-BC202kVV.js +193 -0
- package/dist/cssMode-B1EfCgI8.js +1541 -0
- package/dist/cypher-DwtEH7Fi.js +269 -0
- package/dist/dart-D9XknsP2.js +287 -0
- package/dist/dockerfile-DgsNjqqa.js +136 -0
- package/dist/ecl-BAMCHBl6.js +462 -0
- package/dist/elixir-CegIttP8.js +575 -0
- package/dist/favicon.ico +0 -0
- package/dist/flow9-9608t7UV.js +148 -0
- package/dist/freemarker2-h6KT8ady.js +995 -0
- package/dist/fsharp-CCtt9-1_.js +223 -0
- package/dist/go-CGUIPbct.js +224 -0
- package/dist/graphql-BNRIFFIn.js +157 -0
- package/dist/handlebars-BHZuehiC.js +425 -0
- package/dist/hcl-C__KLIXe.js +189 -0
- package/dist/html-6Ymm1XSw.js +314 -0
- package/dist/htmlMode-CAySWI08.js +1551 -0
- package/dist/index-BFqQeX1r.js +124463 -0
- package/dist/index-DmlyKQU2.js +150 -0
- package/dist/ini-CeKYn_zA.js +77 -0
- package/dist/java-Dm24deQl.js +238 -0
- package/dist/javascript-C6XEOgkR.js +76 -0
- package/dist/jsonMode-D68tkk9K.js +1957 -0
- package/dist/julia-BImNW7VE.js +517 -0
- package/dist/kotlin-BfE79GEb.js +259 -0
- package/dist/less-DglNOcaC.js +168 -0
- package/dist/lexon-BA0dRz9Q.js +163 -0
- package/dist/liquid-CU5E8KbZ.js +246 -0
- package/dist/lua-DMkWzJcm.js +168 -0
- package/dist/m3-sA-5shO8.js +216 -0
- package/dist/markdown-OYRB1igA.js +235 -0
- package/dist/mdx-BpgDRrDC.js +171 -0
- package/dist/mips-rRzkJ_7G.js +204 -0
- package/dist/msdax-DoVJdUhd.js +381 -0
- package/dist/mysql-Ty44IHXo.js +884 -0
- package/dist/objective-c-VUfyhYrA.js +189 -0
- package/dist/pascal-DkASiYyw.js +257 -0
- package/dist/pascaligo-p-ELPlVO.js +170 -0
- package/dist/perl-Cjl1FxLZ.js +632 -0
- package/dist/pgsql-DjVenF7s.js +857 -0
- package/dist/php-CwvGzZOO.js +506 -0
- package/dist/pla-Br1iaBIV.js +143 -0
- package/dist/postiats-BaeP8zZY.js +913 -0
- package/dist/powerquery-CLCshuo8.js +896 -0
- package/dist/powershell-CZV50w5N.js +245 -0
- package/dist/protobuf-MV3XTewJ.js +426 -0
- package/dist/pug-DkDg4c4l.js +408 -0
- package/dist/python-DtsYOFU9.js +282 -0
- package/dist/qsharp-BAtiKA97.js +291 -0
- package/dist/r-8ocrd-h-.js +249 -0
- package/dist/razor-74xZSF1p.js +556 -0
- package/dist/redis-9sZiddxc.js +308 -0
- package/dist/redshift-DQfTOGC0.js +815 -0
- package/dist/restructuredtext-DXU-vkgr.js +180 -0
- package/dist/ruby-DotfqwMf.js +517 -0
- package/dist/rust-BIauJ5KN.js +349 -0
- package/dist/sb-CmWMvDEV.js +121 -0
- package/dist/scala-C81brEbk.js +376 -0
- package/dist/scheme-D0pcFz2x.js +114 -0
- package/dist/scss-BOdN2fGG.js +268 -0
- package/dist/shell-6E09eAkU.js +227 -0
- package/dist/solidity-CWStzA1K.js +1373 -0
- package/dist/sophia-76Sb6CWe.js +205 -0
- package/dist/sparql-BmZTkOWT.js +207 -0
- package/dist/sql-Cs9TBAW5.js +859 -0
- package/dist/st-B-rqE1Bu.js +422 -0
- package/dist/style.css +1 -1
- package/dist/sun-form-v3.es.js +2 -47
- package/dist/sun-form-v3.umd.js +1909 -1
- package/dist/swift-Btsj6YxQ.js +318 -0
- package/dist/systemverilog-B3RHBRa2.js +582 -0
- package/dist/tcl-Dpj776pn.js +238 -0
- package/dist/tsMode-CEJACLKl.js +886 -0
- package/dist/twig-Bb9JmBsE.js +398 -0
- package/dist/typescript-IVLrzKMv.js +349 -0
- package/dist/typespec-CDWeg3SU.js +123 -0
- package/dist/vb-DEXnYwEI.js +378 -0
- package/dist/wgsl-D602c1lx.js +445 -0
- package/dist/xml-BZDLqqLQ.js +101 -0
- package/dist/yaml-Icb94D4j.js +212 -0
- package/package.json +16 -6
- package/src/assets/styles/element/index.scss +15 -0
- package/src/assets/styles/index.css +3 -0
@@ -0,0 +1,238 @@
|
|
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
|
+
brackets: [
|
9
|
+
["{", "}"],
|
10
|
+
["[", "]"],
|
11
|
+
["(", ")"]
|
12
|
+
],
|
13
|
+
autoClosingPairs: [
|
14
|
+
{ open: "{", close: "}" },
|
15
|
+
{ open: "[", close: "]" },
|
16
|
+
{ open: "(", close: ")" },
|
17
|
+
{ open: '"', close: '"' },
|
18
|
+
{ open: "'", close: "'" }
|
19
|
+
],
|
20
|
+
surroundingPairs: [
|
21
|
+
{ open: "{", close: "}" },
|
22
|
+
{ open: "[", close: "]" },
|
23
|
+
{ open: "(", close: ")" },
|
24
|
+
{ open: '"', close: '"' },
|
25
|
+
{ open: "'", close: "'" }
|
26
|
+
]
|
27
|
+
}, t = {
|
28
|
+
tokenPostfix: ".tcl",
|
29
|
+
specialFunctions: [
|
30
|
+
"set",
|
31
|
+
"unset",
|
32
|
+
"rename",
|
33
|
+
"variable",
|
34
|
+
"proc",
|
35
|
+
"coroutine",
|
36
|
+
"foreach",
|
37
|
+
"incr",
|
38
|
+
"append",
|
39
|
+
"lappend",
|
40
|
+
"linsert",
|
41
|
+
"lreplace"
|
42
|
+
],
|
43
|
+
mainFunctions: [
|
44
|
+
"if",
|
45
|
+
"then",
|
46
|
+
"elseif",
|
47
|
+
"else",
|
48
|
+
"case",
|
49
|
+
"switch",
|
50
|
+
"while",
|
51
|
+
"for",
|
52
|
+
"break",
|
53
|
+
"continue",
|
54
|
+
"return",
|
55
|
+
"package",
|
56
|
+
"namespace",
|
57
|
+
"catch",
|
58
|
+
"exit",
|
59
|
+
"eval",
|
60
|
+
"expr",
|
61
|
+
"uplevel",
|
62
|
+
"upvar"
|
63
|
+
],
|
64
|
+
builtinFunctions: [
|
65
|
+
"file",
|
66
|
+
"info",
|
67
|
+
"concat",
|
68
|
+
"join",
|
69
|
+
"lindex",
|
70
|
+
"list",
|
71
|
+
"llength",
|
72
|
+
"lrange",
|
73
|
+
"lsearch",
|
74
|
+
"lsort",
|
75
|
+
"split",
|
76
|
+
"array",
|
77
|
+
"parray",
|
78
|
+
"binary",
|
79
|
+
"format",
|
80
|
+
"regexp",
|
81
|
+
"regsub",
|
82
|
+
"scan",
|
83
|
+
"string",
|
84
|
+
"subst",
|
85
|
+
"dict",
|
86
|
+
"cd",
|
87
|
+
"clock",
|
88
|
+
"exec",
|
89
|
+
"glob",
|
90
|
+
"pid",
|
91
|
+
"pwd",
|
92
|
+
"close",
|
93
|
+
"eof",
|
94
|
+
"fblocked",
|
95
|
+
"fconfigure",
|
96
|
+
"fcopy",
|
97
|
+
"fileevent",
|
98
|
+
"flush",
|
99
|
+
"gets",
|
100
|
+
"open",
|
101
|
+
"puts",
|
102
|
+
"read",
|
103
|
+
"seek",
|
104
|
+
"socket",
|
105
|
+
"tell",
|
106
|
+
"interp",
|
107
|
+
"after",
|
108
|
+
"auto_execok",
|
109
|
+
"auto_load",
|
110
|
+
"auto_mkindex",
|
111
|
+
"auto_reset",
|
112
|
+
"bgerror",
|
113
|
+
"error",
|
114
|
+
"global",
|
115
|
+
"history",
|
116
|
+
"load",
|
117
|
+
"source",
|
118
|
+
"time",
|
119
|
+
"trace",
|
120
|
+
"unknown",
|
121
|
+
"unset",
|
122
|
+
"update",
|
123
|
+
"vwait",
|
124
|
+
"winfo",
|
125
|
+
"wm",
|
126
|
+
"bind",
|
127
|
+
"event",
|
128
|
+
"pack",
|
129
|
+
"place",
|
130
|
+
"grid",
|
131
|
+
"font",
|
132
|
+
"bell",
|
133
|
+
"clipboard",
|
134
|
+
"destroy",
|
135
|
+
"focus",
|
136
|
+
"grab",
|
137
|
+
"lower",
|
138
|
+
"option",
|
139
|
+
"raise",
|
140
|
+
"selection",
|
141
|
+
"send",
|
142
|
+
"tk",
|
143
|
+
"tkwait",
|
144
|
+
"tk_bisque",
|
145
|
+
"tk_focusNext",
|
146
|
+
"tk_focusPrev",
|
147
|
+
"tk_focusFollowsMouse",
|
148
|
+
"tk_popup",
|
149
|
+
"tk_setPalette"
|
150
|
+
],
|
151
|
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
152
|
+
brackets: [
|
153
|
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
154
|
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
155
|
+
{ open: "[", close: "]", token: "delimiter.square" }
|
156
|
+
],
|
157
|
+
escapes: /\\(?:[abfnrtv\\"'\[\]\{\};\$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
158
|
+
variables: /(?:\$+(?:(?:\:\:?)?[a-zA-Z_]\w*)+)/,
|
159
|
+
tokenizer: {
|
160
|
+
root: [
|
161
|
+
// identifiers and keywords
|
162
|
+
[
|
163
|
+
/[a-zA-Z_]\w*/,
|
164
|
+
{
|
165
|
+
cases: {
|
166
|
+
"@specialFunctions": {
|
167
|
+
token: "keyword.flow",
|
168
|
+
next: "@specialFunc"
|
169
|
+
},
|
170
|
+
"@mainFunctions": "keyword",
|
171
|
+
"@builtinFunctions": "variable",
|
172
|
+
"@default": "operator.scss"
|
173
|
+
}
|
174
|
+
}
|
175
|
+
],
|
176
|
+
[/\s+\-+(?!\d|\.)\w*|{\*}/, "metatag"],
|
177
|
+
// whitespace
|
178
|
+
{ include: "@whitespace" },
|
179
|
+
// delimiters and operators
|
180
|
+
[/[{}()\[\]]/, "@brackets"],
|
181
|
+
[/@symbols/, "operator"],
|
182
|
+
[/\$+(?:\:\:)?\{/, { token: "identifier", next: "@nestedVariable" }],
|
183
|
+
[/@variables/, "type.identifier"],
|
184
|
+
[/\.(?!\d|\.)[\w\-]*/, "operator.sql"],
|
185
|
+
// numbers
|
186
|
+
[/\d+(\.\d+)?/, "number"],
|
187
|
+
[/\d+/, "number"],
|
188
|
+
// delimiter
|
189
|
+
[/;/, "delimiter"],
|
190
|
+
// strings
|
191
|
+
[/"/, { token: "string.quote", bracket: "@open", next: "@dstring" }],
|
192
|
+
[/'/, { token: "string.quote", bracket: "@open", next: "@sstring" }]
|
193
|
+
],
|
194
|
+
dstring: [
|
195
|
+
[/\[/, { token: "@brackets", next: "@nestedCall" }],
|
196
|
+
[/\$+(?:\:\:)?\{/, { token: "identifier", next: "@nestedVariable" }],
|
197
|
+
[/@variables/, "type.identifier"],
|
198
|
+
[/[^\\$\[\]"]+/, "string"],
|
199
|
+
[/@escapes/, "string.escape"],
|
200
|
+
[/"/, { token: "string.quote", bracket: "@close", next: "@pop" }]
|
201
|
+
],
|
202
|
+
sstring: [
|
203
|
+
[/\[/, { token: "@brackets", next: "@nestedCall" }],
|
204
|
+
[/\$+(?:\:\:)?\{/, { token: "identifier", next: "@nestedVariable" }],
|
205
|
+
[/@variables/, "type.identifier"],
|
206
|
+
[/[^\\$\[\]']+/, "string"],
|
207
|
+
[/@escapes/, "string.escape"],
|
208
|
+
[/'/, { token: "string.quote", bracket: "@close", next: "@pop" }]
|
209
|
+
],
|
210
|
+
whitespace: [
|
211
|
+
[/[ \t\r\n]+/, "white"],
|
212
|
+
[/#.*\\$/, { token: "comment", next: "@newlineComment" }],
|
213
|
+
[/#.*(?!\\)$/, "comment"]
|
214
|
+
],
|
215
|
+
newlineComment: [
|
216
|
+
[/.*\\$/, "comment"],
|
217
|
+
[/.*(?!\\)$/, { token: "comment", next: "@pop" }]
|
218
|
+
],
|
219
|
+
nestedVariable: [
|
220
|
+
[/[^\{\}\$]+/, "type.identifier"],
|
221
|
+
[/\}/, { token: "identifier", next: "@pop" }]
|
222
|
+
],
|
223
|
+
nestedCall: [
|
224
|
+
[/\[/, { token: "@brackets", next: "@nestedCall" }],
|
225
|
+
[/\]/, { token: "@brackets", next: "@pop" }],
|
226
|
+
{ include: "root" }
|
227
|
+
],
|
228
|
+
specialFunc: [
|
229
|
+
[/"/, { token: "string", next: "@dstring" }],
|
230
|
+
[/'/, { token: "string", next: "@sstring" }],
|
231
|
+
[/\S+/, { token: "type", next: "@pop" }]
|
232
|
+
]
|
233
|
+
}
|
234
|
+
};
|
235
|
+
export {
|
236
|
+
e as conf,
|
237
|
+
t as language
|
238
|
+
};
|