sun-form-v3 1.0.50 → 1.0.52
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-D45lxKGY.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-C5c6cqO5.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-CnNQzLDj.js +425 -0
- package/dist/hcl-C__KLIXe.js +189 -0
- package/dist/html-CiZ8fiaP.js +314 -0
- package/dist/htmlMode-Dus2ru9E.js +1551 -0
- package/dist/index2-CjCXYnQw.js +110864 -0
- package/dist/ini-CeKYn_zA.js +77 -0
- package/dist/java-Dm24deQl.js +238 -0
- package/dist/javascript-IKydnX8w.js +76 -0
- package/dist/jsonMode-CfkTtfN1.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-C_UYsilK.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-C3JSJ9-L.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-CqYwzGqW.js +282 -0
- package/dist/qsharp-BAtiKA97.js +291 -0
- package/dist/r-8ocrd-h-.js +249 -0
- package/dist/razor-BS6FM1Di.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 -4685
- package/dist/sun-form-v3.umd.js +1881 -10
- package/dist/swift-Btsj6YxQ.js +318 -0
- package/dist/systemverilog-B3RHBRa2.js +582 -0
- package/dist/tcl-Dpj776pn.js +238 -0
- package/dist/tsMode-Dbl96ki0.js +886 -0
- package/dist/twig-Bb9JmBsE.js +398 -0
- package/dist/typescript-CtVOBIu6.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-BRkm61cw.js +101 -0
- package/dist/yaml-8VMD2KxU.js +212 -0
- package/package.json +1 -1
@@ -0,0 +1,148 @@
|
|
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
|
+
blockComment: ["/*", "*/"],
|
10
|
+
lineComment: "//"
|
11
|
+
},
|
12
|
+
brackets: [
|
13
|
+
["{", "}"],
|
14
|
+
["[", "]"],
|
15
|
+
["(", ")"]
|
16
|
+
],
|
17
|
+
autoClosingPairs: [
|
18
|
+
{ open: "{", close: "}", notIn: ["string"] },
|
19
|
+
{ open: "[", close: "]", notIn: ["string"] },
|
20
|
+
{ open: "(", close: ")", notIn: ["string"] },
|
21
|
+
{ open: '"', close: '"', notIn: ["string"] },
|
22
|
+
{ open: "'", close: "'", notIn: ["string"] }
|
23
|
+
],
|
24
|
+
surroundingPairs: [
|
25
|
+
{ open: "{", close: "}" },
|
26
|
+
{ open: "[", close: "]" },
|
27
|
+
{ open: "(", close: ")" },
|
28
|
+
{ open: '"', close: '"' },
|
29
|
+
{ open: "'", close: "'" },
|
30
|
+
{ open: "<", close: ">" }
|
31
|
+
]
|
32
|
+
}, o = {
|
33
|
+
defaultToken: "",
|
34
|
+
tokenPostfix: ".flow",
|
35
|
+
keywords: [
|
36
|
+
"import",
|
37
|
+
"require",
|
38
|
+
"export",
|
39
|
+
"forbid",
|
40
|
+
"native",
|
41
|
+
"if",
|
42
|
+
"else",
|
43
|
+
"cast",
|
44
|
+
"unsafe",
|
45
|
+
"switch",
|
46
|
+
"default"
|
47
|
+
],
|
48
|
+
types: [
|
49
|
+
"io",
|
50
|
+
"mutable",
|
51
|
+
"bool",
|
52
|
+
"int",
|
53
|
+
"double",
|
54
|
+
"string",
|
55
|
+
"flow",
|
56
|
+
"void",
|
57
|
+
"ref",
|
58
|
+
"true",
|
59
|
+
"false",
|
60
|
+
"with"
|
61
|
+
],
|
62
|
+
operators: [
|
63
|
+
"=",
|
64
|
+
">",
|
65
|
+
"<",
|
66
|
+
"<=",
|
67
|
+
">=",
|
68
|
+
"==",
|
69
|
+
"!",
|
70
|
+
"!=",
|
71
|
+
":=",
|
72
|
+
"::=",
|
73
|
+
"&&",
|
74
|
+
"||",
|
75
|
+
"+",
|
76
|
+
"-",
|
77
|
+
"*",
|
78
|
+
"/",
|
79
|
+
"@",
|
80
|
+
"&",
|
81
|
+
"%",
|
82
|
+
":",
|
83
|
+
"->",
|
84
|
+
"\\",
|
85
|
+
"$",
|
86
|
+
"??",
|
87
|
+
"^"
|
88
|
+
],
|
89
|
+
symbols: /[@$=><!~?:&|+\-*\\\/\^%]+/,
|
90
|
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
91
|
+
// The main tokenizer for our languages
|
92
|
+
tokenizer: {
|
93
|
+
root: [
|
94
|
+
// identifiers and keywords
|
95
|
+
[
|
96
|
+
/[a-zA-Z_]\w*/,
|
97
|
+
{
|
98
|
+
cases: {
|
99
|
+
"@keywords": "keyword",
|
100
|
+
"@types": "type",
|
101
|
+
"@default": "identifier"
|
102
|
+
}
|
103
|
+
}
|
104
|
+
],
|
105
|
+
// whitespace
|
106
|
+
{ include: "@whitespace" },
|
107
|
+
// delimiters and operators
|
108
|
+
[/[{}()\[\]]/, "delimiter"],
|
109
|
+
[/[<>](?!@symbols)/, "delimiter"],
|
110
|
+
[
|
111
|
+
/@symbols/,
|
112
|
+
{
|
113
|
+
cases: {
|
114
|
+
"@operators": "delimiter",
|
115
|
+
"@default": ""
|
116
|
+
}
|
117
|
+
}
|
118
|
+
],
|
119
|
+
// numbers
|
120
|
+
[/((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)/, "number"],
|
121
|
+
// delimiter: after number because of .\d floats
|
122
|
+
[/[;,.]/, "delimiter"],
|
123
|
+
// strings
|
124
|
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
125
|
+
[/"/, "string", "@string"]
|
126
|
+
],
|
127
|
+
whitespace: [
|
128
|
+
[/[ \t\r\n]+/, ""],
|
129
|
+
[/\/\*/, "comment", "@comment"],
|
130
|
+
[/\/\/.*$/, "comment"]
|
131
|
+
],
|
132
|
+
comment: [
|
133
|
+
[/[^\/*]+/, "comment"],
|
134
|
+
[/\*\//, "comment", "@pop"],
|
135
|
+
[/[\/*]/, "comment"]
|
136
|
+
],
|
137
|
+
string: [
|
138
|
+
[/[^\\"]+/, "string"],
|
139
|
+
[/@escapes/, "string.escape"],
|
140
|
+
[/\\./, "string.escape.invalid"],
|
141
|
+
[/"/, "string", "@pop"]
|
142
|
+
]
|
143
|
+
}
|
144
|
+
};
|
145
|
+
export {
|
146
|
+
e as conf,
|
147
|
+
o as language
|
148
|
+
};
|