sun-form-v3 1.0.59 → 1.0.61
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-DWwV46Yy.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/flow9-9608t7UV.js +148 -0
- package/dist/freemarker2-BVlB-x4G.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-pCi8UOTm.js +425 -0
- package/dist/hcl-C__KLIXe.js +189 -0
- package/dist/html-DWvfqtKD.js +314 -0
- package/dist/htmlMode-Bfa2Bher.js +1551 -0
- package/dist/index2-B3cLsOke.js +124627 -0
- package/dist/ini-CeKYn_zA.js +77 -0
- package/dist/java-Dm24deQl.js +238 -0
- package/dist/javascript-oWiWgnB8.js +76 -0
- package/dist/jsonMode-JNqAkiDp.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-uVCDNMuK.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-CWEd_lWX.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-iUJZHr3n.js +282 -0
- package/dist/qsharp-BAtiKA97.js +291 -0
- package/dist/r-8ocrd-h-.js +249 -0
- package/dist/razor-DPayOemd.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 -6117
- package/dist/sun-form-v3.umd.js +1904 -6
- package/dist/swift-Btsj6YxQ.js +318 -0
- package/dist/systemverilog-B3RHBRa2.js +582 -0
- package/dist/tcl-Dpj776pn.js +238 -0
- package/dist/tsMode-CB3QHkAX.js +886 -0
- package/dist/twig-Bb9JmBsE.js +398 -0
- package/dist/typescript-ilTjwbbS.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-CDRrzAeF.js +101 -0
- package/dist/yaml-DFEpUU2s.js +212 -0
- package/package.json +3 -2
@@ -0,0 +1,77 @@
|
|
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
|
+
{ open: '"', close: '"' },
|
21
|
+
{ open: "'", close: "'" }
|
22
|
+
],
|
23
|
+
surroundingPairs: [
|
24
|
+
{ open: "{", close: "}" },
|
25
|
+
{ open: "[", close: "]" },
|
26
|
+
{ open: "(", close: ")" },
|
27
|
+
{ open: '"', close: '"' },
|
28
|
+
{ open: "'", close: "'" }
|
29
|
+
]
|
30
|
+
}, n = {
|
31
|
+
defaultToken: "",
|
32
|
+
tokenPostfix: ".ini",
|
33
|
+
// we include these common regular expressions
|
34
|
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
35
|
+
// The main tokenizer for our languages
|
36
|
+
tokenizer: {
|
37
|
+
root: [
|
38
|
+
// sections
|
39
|
+
[/^\[[^\]]*\]/, "metatag"],
|
40
|
+
// keys
|
41
|
+
[/(^\w+)(\s*)(\=)/, ["key", "", "delimiter"]],
|
42
|
+
// whitespace
|
43
|
+
{ include: "@whitespace" },
|
44
|
+
// numbers
|
45
|
+
[/\d+/, "number"],
|
46
|
+
// strings: recover on non-terminated strings
|
47
|
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
48
|
+
// non-teminated string
|
49
|
+
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
50
|
+
// non-teminated string
|
51
|
+
[/"/, "string", '@string."'],
|
52
|
+
[/'/, "string", "@string.'"]
|
53
|
+
],
|
54
|
+
whitespace: [
|
55
|
+
[/[ \t\r\n]+/, ""],
|
56
|
+
[/^\s*[#;].*$/, "comment"]
|
57
|
+
],
|
58
|
+
string: [
|
59
|
+
[/[^\\"']+/, "string"],
|
60
|
+
[/@escapes/, "string.escape"],
|
61
|
+
[/\\./, "string.escape.invalid"],
|
62
|
+
[
|
63
|
+
/["']/,
|
64
|
+
{
|
65
|
+
cases: {
|
66
|
+
"$#==$S2": { token: "string", next: "@pop" },
|
67
|
+
"@default": "string"
|
68
|
+
}
|
69
|
+
}
|
70
|
+
]
|
71
|
+
]
|
72
|
+
}
|
73
|
+
};
|
74
|
+
export {
|
75
|
+
e as conf,
|
76
|
+
n as language
|
77
|
+
};
|
@@ -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
|
+
// the default separators except `@$`
|
9
|
+
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
10
|
+
comments: {
|
11
|
+
lineComment: "//",
|
12
|
+
blockComment: ["/*", "*/"]
|
13
|
+
},
|
14
|
+
brackets: [
|
15
|
+
["{", "}"],
|
16
|
+
["[", "]"],
|
17
|
+
["(", ")"]
|
18
|
+
],
|
19
|
+
autoClosingPairs: [
|
20
|
+
{ open: "{", close: "}" },
|
21
|
+
{ open: "[", close: "]" },
|
22
|
+
{ open: "(", close: ")" },
|
23
|
+
{ open: '"', close: '"' },
|
24
|
+
{ open: "'", close: "'" }
|
25
|
+
],
|
26
|
+
surroundingPairs: [
|
27
|
+
{ open: "{", close: "}" },
|
28
|
+
{ open: "[", close: "]" },
|
29
|
+
{ open: "(", close: ")" },
|
30
|
+
{ open: '"', close: '"' },
|
31
|
+
{ open: "'", close: "'" },
|
32
|
+
{ open: "<", close: ">" }
|
33
|
+
],
|
34
|
+
folding: {
|
35
|
+
markers: {
|
36
|
+
start: new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),
|
37
|
+
end: new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}, t = {
|
41
|
+
defaultToken: "",
|
42
|
+
tokenPostfix: ".java",
|
43
|
+
keywords: [
|
44
|
+
"abstract",
|
45
|
+
"continue",
|
46
|
+
"for",
|
47
|
+
"new",
|
48
|
+
"switch",
|
49
|
+
"assert",
|
50
|
+
"default",
|
51
|
+
"goto",
|
52
|
+
"package",
|
53
|
+
"synchronized",
|
54
|
+
"boolean",
|
55
|
+
"do",
|
56
|
+
"if",
|
57
|
+
"private",
|
58
|
+
"this",
|
59
|
+
"break",
|
60
|
+
"double",
|
61
|
+
"implements",
|
62
|
+
"protected",
|
63
|
+
"throw",
|
64
|
+
"byte",
|
65
|
+
"else",
|
66
|
+
"import",
|
67
|
+
"public",
|
68
|
+
"throws",
|
69
|
+
"case",
|
70
|
+
"enum",
|
71
|
+
"instanceof",
|
72
|
+
"return",
|
73
|
+
"transient",
|
74
|
+
"catch",
|
75
|
+
"extends",
|
76
|
+
"int",
|
77
|
+
"short",
|
78
|
+
"try",
|
79
|
+
"char",
|
80
|
+
"final",
|
81
|
+
"interface",
|
82
|
+
"static",
|
83
|
+
"void",
|
84
|
+
"class",
|
85
|
+
"finally",
|
86
|
+
"long",
|
87
|
+
"strictfp",
|
88
|
+
"volatile",
|
89
|
+
"const",
|
90
|
+
"float",
|
91
|
+
"native",
|
92
|
+
"super",
|
93
|
+
"while",
|
94
|
+
"true",
|
95
|
+
"false",
|
96
|
+
"yield",
|
97
|
+
"record",
|
98
|
+
"sealed",
|
99
|
+
"non-sealed",
|
100
|
+
"permits"
|
101
|
+
],
|
102
|
+
operators: [
|
103
|
+
"=",
|
104
|
+
">",
|
105
|
+
"<",
|
106
|
+
"!",
|
107
|
+
"~",
|
108
|
+
"?",
|
109
|
+
":",
|
110
|
+
"==",
|
111
|
+
"<=",
|
112
|
+
">=",
|
113
|
+
"!=",
|
114
|
+
"&&",
|
115
|
+
"||",
|
116
|
+
"++",
|
117
|
+
"--",
|
118
|
+
"+",
|
119
|
+
"-",
|
120
|
+
"*",
|
121
|
+
"/",
|
122
|
+
"&",
|
123
|
+
"|",
|
124
|
+
"^",
|
125
|
+
"%",
|
126
|
+
"<<",
|
127
|
+
">>",
|
128
|
+
">>>",
|
129
|
+
"+=",
|
130
|
+
"-=",
|
131
|
+
"*=",
|
132
|
+
"/=",
|
133
|
+
"&=",
|
134
|
+
"|=",
|
135
|
+
"^=",
|
136
|
+
"%=",
|
137
|
+
"<<=",
|
138
|
+
">>=",
|
139
|
+
">>>="
|
140
|
+
],
|
141
|
+
// we include these common regular expressions
|
142
|
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
143
|
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
144
|
+
digits: /\d+(_+\d+)*/,
|
145
|
+
octaldigits: /[0-7]+(_+[0-7]+)*/,
|
146
|
+
binarydigits: /[0-1]+(_+[0-1]+)*/,
|
147
|
+
hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,
|
148
|
+
// The main tokenizer for our languages
|
149
|
+
tokenizer: {
|
150
|
+
root: [
|
151
|
+
// Special keyword with a dash
|
152
|
+
["non-sealed", "keyword.non-sealed"],
|
153
|
+
// identifiers and keywords
|
154
|
+
[
|
155
|
+
/[a-zA-Z_$][\w$]*/,
|
156
|
+
{
|
157
|
+
cases: {
|
158
|
+
"@keywords": { token: "keyword.$0" },
|
159
|
+
"@default": "identifier"
|
160
|
+
}
|
161
|
+
}
|
162
|
+
],
|
163
|
+
// whitespace
|
164
|
+
{ include: "@whitespace" },
|
165
|
+
// delimiters and operators
|
166
|
+
[/[{}()\[\]]/, "@brackets"],
|
167
|
+
[/[<>](?!@symbols)/, "@brackets"],
|
168
|
+
[
|
169
|
+
/@symbols/,
|
170
|
+
{
|
171
|
+
cases: {
|
172
|
+
"@operators": "delimiter",
|
173
|
+
"@default": ""
|
174
|
+
}
|
175
|
+
}
|
176
|
+
],
|
177
|
+
// @ annotations.
|
178
|
+
[/@\s*[a-zA-Z_\$][\w\$]*/, "annotation"],
|
179
|
+
// numbers
|
180
|
+
[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/, "number.float"],
|
181
|
+
[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/, "number.float"],
|
182
|
+
[/0[xX](@hexdigits)[Ll]?/, "number.hex"],
|
183
|
+
[/0(@octaldigits)[Ll]?/, "number.octal"],
|
184
|
+
[/0[bB](@binarydigits)[Ll]?/, "number.binary"],
|
185
|
+
[/(@digits)[fFdD]/, "number.float"],
|
186
|
+
[/(@digits)[lL]?/, "number"],
|
187
|
+
// delimiter: after number because of .\d floats
|
188
|
+
[/[;,.]/, "delimiter"],
|
189
|
+
// strings
|
190
|
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
191
|
+
// non-teminated string
|
192
|
+
[/"""/, "string", "@multistring"],
|
193
|
+
[/"/, "string", "@string"],
|
194
|
+
// characters
|
195
|
+
[/'[^\\']'/, "string"],
|
196
|
+
[/(')(@escapes)(')/, ["string", "string.escape", "string"]],
|
197
|
+
[/'/, "string.invalid"]
|
198
|
+
],
|
199
|
+
whitespace: [
|
200
|
+
[/[ \t\r\n]+/, ""],
|
201
|
+
[/\/\*\*(?!\/)/, "comment.doc", "@javadoc"],
|
202
|
+
[/\/\*/, "comment", "@comment"],
|
203
|
+
[/\/\/.*$/, "comment"]
|
204
|
+
],
|
205
|
+
comment: [
|
206
|
+
[/[^\/*]+/, "comment"],
|
207
|
+
// [/\/\*/, 'comment', '@push' ], // nested comment not allowed :-(
|
208
|
+
// [/\/\*/, 'comment.invalid' ], // this breaks block comments in the shape of /* //*/
|
209
|
+
[/\*\//, "comment", "@pop"],
|
210
|
+
[/[\/*]/, "comment"]
|
211
|
+
],
|
212
|
+
//Identical copy of comment above, except for the addition of .doc
|
213
|
+
javadoc: [
|
214
|
+
[/[^\/*]+/, "comment.doc"],
|
215
|
+
// [/\/\*/, 'comment.doc', '@push' ], // nested comment not allowed :-(
|
216
|
+
[/\/\*/, "comment.doc.invalid"],
|
217
|
+
[/\*\//, "comment.doc", "@pop"],
|
218
|
+
[/[\/*]/, "comment.doc"]
|
219
|
+
],
|
220
|
+
string: [
|
221
|
+
[/[^\\"]+/, "string"],
|
222
|
+
[/@escapes/, "string.escape"],
|
223
|
+
[/\\./, "string.escape.invalid"],
|
224
|
+
[/"/, "string", "@pop"]
|
225
|
+
],
|
226
|
+
multistring: [
|
227
|
+
[/[^\\"]+/, "string"],
|
228
|
+
[/@escapes/, "string.escape"],
|
229
|
+
[/\\./, "string.escape.invalid"],
|
230
|
+
[/"""/, "string", "@pop"],
|
231
|
+
[/./, "string"]
|
232
|
+
]
|
233
|
+
}
|
234
|
+
};
|
235
|
+
export {
|
236
|
+
e as conf,
|
237
|
+
t as language
|
238
|
+
};
|
@@ -0,0 +1,76 @@
|
|
1
|
+
import { conf as t, language as e } from "./typescript-ilTjwbbS.js";
|
2
|
+
/*!-----------------------------------------------------------------------------
|
3
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
4
|
+
* Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)
|
5
|
+
* Released under the MIT license
|
6
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
7
|
+
*-----------------------------------------------------------------------------*/
|
8
|
+
var i = t, o = {
|
9
|
+
// Set defaultToken to invalid to see what you do not tokenize yet
|
10
|
+
defaultToken: "invalid",
|
11
|
+
tokenPostfix: ".js",
|
12
|
+
keywords: [
|
13
|
+
"break",
|
14
|
+
"case",
|
15
|
+
"catch",
|
16
|
+
"class",
|
17
|
+
"continue",
|
18
|
+
"const",
|
19
|
+
"constructor",
|
20
|
+
"debugger",
|
21
|
+
"default",
|
22
|
+
"delete",
|
23
|
+
"do",
|
24
|
+
"else",
|
25
|
+
"export",
|
26
|
+
"extends",
|
27
|
+
"false",
|
28
|
+
"finally",
|
29
|
+
"for",
|
30
|
+
"from",
|
31
|
+
"function",
|
32
|
+
"get",
|
33
|
+
"if",
|
34
|
+
"import",
|
35
|
+
"in",
|
36
|
+
"instanceof",
|
37
|
+
"let",
|
38
|
+
"new",
|
39
|
+
"null",
|
40
|
+
"return",
|
41
|
+
"set",
|
42
|
+
"static",
|
43
|
+
"super",
|
44
|
+
"switch",
|
45
|
+
"symbol",
|
46
|
+
"this",
|
47
|
+
"throw",
|
48
|
+
"true",
|
49
|
+
"try",
|
50
|
+
"typeof",
|
51
|
+
"undefined",
|
52
|
+
"var",
|
53
|
+
"void",
|
54
|
+
"while",
|
55
|
+
"with",
|
56
|
+
"yield",
|
57
|
+
"async",
|
58
|
+
"await",
|
59
|
+
"of"
|
60
|
+
],
|
61
|
+
typeKeywords: [],
|
62
|
+
operators: e.operators,
|
63
|
+
symbols: e.symbols,
|
64
|
+
escapes: e.escapes,
|
65
|
+
digits: e.digits,
|
66
|
+
octaldigits: e.octaldigits,
|
67
|
+
binarydigits: e.binarydigits,
|
68
|
+
hexdigits: e.hexdigits,
|
69
|
+
regexpctl: e.regexpctl,
|
70
|
+
regexpesc: e.regexpesc,
|
71
|
+
tokenizer: e.tokenizer
|
72
|
+
};
|
73
|
+
export {
|
74
|
+
i as conf,
|
75
|
+
o as language
|
76
|
+
};
|