@covalent/components 8.15.0-beta.12 → 8.15.0-beta.14
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/code-editor/code-editor.d.ts +0 -14
- package/code-editor/code-editor.d.ts.map +1 -1
- package/{code-editor-3a09cbf1.js → code-editor-857a4673.js} +89 -159
- package/{code-editor-ce557bd5.mjs → code-editor-caabbe50.mjs} +3141 -3338
- package/code-editor.js +1 -1
- package/code-editor.mjs +1 -1
- package/{html-783f1e7c.mjs → html-707a5945.mjs} +1 -1
- package/{html-4fffc46e.js → html-aa904833.js} +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/{javascript-4d09cd3c.mjs → javascript-779a52b2.mjs} +2 -2
- package/{javascript-90bb18e6.js → javascript-d8dd6c0d.js} +1 -1
- package/notebook/notebook.d.ts +14 -1
- package/notebook/notebook.d.ts.map +1 -1
- package/notebook-cell/notebook-cell.d.ts.map +1 -1
- package/notebook-cell.js +8 -5
- package/notebook-cell.mjs +12 -9
- package/notebook.js +36 -27
- package/notebook.mjs +940 -848
- package/package.json +1 -1
- package/{python-562f8e9b.mjs → python-02ca0307.mjs} +1 -1
- package/{python-af3aad7d.js → python-b0bc8e7b.js} +1 -1
- package/{typescript-76d039b3.js → typescript-1a78657a.js} +1 -1
- package/{typescript-a2a5d6b2.mjs → typescript-ba11dbe7.mjs} +1 -1
- package/cpp-642b10c4.mjs +0 -387
- package/cpp-7eec3311.js +0 -6
- package/csharp-32862cd2.js +0 -6
- package/csharp-d987ddad.mjs +0 -320
- package/dart-031264ea.js +0 -6
- package/dart-5d209f63.mjs +0 -270
- package/go-46e3b371.mjs +0 -208
- package/go-cdd943fd.js +0 -6
- package/java-32d7b433.js +0 -6
- package/java-cd017f60.mjs +0 -221
- package/kotlin-4b9019e1.js +0 -6
- package/kotlin-c6e52a56.mjs +0 -245
- package/lua-b46719a9.js +0 -6
- package/lua-f159160b.mjs +0 -157
- package/php-987b9d87.mjs +0 -471
- package/php-a6dcde52.js +0 -6
- package/rust-87887495.js +0 -6
- package/rust-97f8f6e1.mjs +0 -337
- package/scala-c68c650c.mjs +0 -353
- package/scala-e8b7bd42.js +0 -6
- package/shell-09452d42.mjs +0 -224
- package/shell-43cfbe7d.js +0 -6
- package/swift-724ff2a3.js +0 -8
- package/swift-abdf1835.mjs +0 -315
- package/xml-89571455.mjs +0 -100
- package/xml-e66929d0.js +0 -6
- package/yaml-11a91e71.js +0 -6
- package/yaml-4eccd122.mjs +0 -189
package/go-46e3b371.mjs
DELETED
@@ -1,208 +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: "`", notIn: ["string"] },
|
22
|
-
{ open: '"', close: '"', notIn: ["string"] },
|
23
|
-
{ open: "'", close: "'", notIn: ["string", "comment"] }
|
24
|
-
],
|
25
|
-
surroundingPairs: [
|
26
|
-
{ open: "{", close: "}" },
|
27
|
-
{ open: "[", close: "]" },
|
28
|
-
{ open: "(", close: ")" },
|
29
|
-
{ open: "`", close: "`" },
|
30
|
-
{ open: '"', close: '"' },
|
31
|
-
{ open: "'", close: "'" }
|
32
|
-
]
|
33
|
-
}, n = {
|
34
|
-
defaultToken: "",
|
35
|
-
tokenPostfix: ".go",
|
36
|
-
keywords: [
|
37
|
-
"break",
|
38
|
-
"case",
|
39
|
-
"chan",
|
40
|
-
"const",
|
41
|
-
"continue",
|
42
|
-
"default",
|
43
|
-
"defer",
|
44
|
-
"else",
|
45
|
-
"fallthrough",
|
46
|
-
"for",
|
47
|
-
"func",
|
48
|
-
"go",
|
49
|
-
"goto",
|
50
|
-
"if",
|
51
|
-
"import",
|
52
|
-
"interface",
|
53
|
-
"map",
|
54
|
-
"package",
|
55
|
-
"range",
|
56
|
-
"return",
|
57
|
-
"select",
|
58
|
-
"struct",
|
59
|
-
"switch",
|
60
|
-
"type",
|
61
|
-
"var",
|
62
|
-
"bool",
|
63
|
-
"true",
|
64
|
-
"false",
|
65
|
-
"uint8",
|
66
|
-
"uint16",
|
67
|
-
"uint32",
|
68
|
-
"uint64",
|
69
|
-
"int8",
|
70
|
-
"int16",
|
71
|
-
"int32",
|
72
|
-
"int64",
|
73
|
-
"float32",
|
74
|
-
"float64",
|
75
|
-
"complex64",
|
76
|
-
"complex128",
|
77
|
-
"byte",
|
78
|
-
"rune",
|
79
|
-
"uint",
|
80
|
-
"int",
|
81
|
-
"uintptr",
|
82
|
-
"string",
|
83
|
-
"nil"
|
84
|
-
],
|
85
|
-
operators: [
|
86
|
-
"+",
|
87
|
-
"-",
|
88
|
-
"*",
|
89
|
-
"/",
|
90
|
-
"%",
|
91
|
-
"&",
|
92
|
-
"|",
|
93
|
-
"^",
|
94
|
-
"<<",
|
95
|
-
">>",
|
96
|
-
"&^",
|
97
|
-
"+=",
|
98
|
-
"-=",
|
99
|
-
"*=",
|
100
|
-
"/=",
|
101
|
-
"%=",
|
102
|
-
"&=",
|
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
|
-
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
135
|
-
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
136
|
-
tokenizer: {
|
137
|
-
root: [
|
138
|
-
[
|
139
|
-
/[a-zA-Z_]\w*/,
|
140
|
-
{
|
141
|
-
cases: {
|
142
|
-
"@keywords": { token: "keyword.$0" },
|
143
|
-
"@default": "identifier"
|
144
|
-
}
|
145
|
-
}
|
146
|
-
],
|
147
|
-
{ include: "@whitespace" },
|
148
|
-
[/\[\[.*\]\]/, "annotation"],
|
149
|
-
[/^\s*#\w+/, "keyword"],
|
150
|
-
[/[{}()\[\]]/, "@brackets"],
|
151
|
-
[/[<>](?!@symbols)/, "@brackets"],
|
152
|
-
[
|
153
|
-
/@symbols/,
|
154
|
-
{
|
155
|
-
cases: {
|
156
|
-
"@operators": "delimiter",
|
157
|
-
"@default": ""
|
158
|
-
}
|
159
|
-
}
|
160
|
-
],
|
161
|
-
[/\d*\d+[eE]([\-+]?\d+)?/, "number.float"],
|
162
|
-
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
163
|
-
[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/, "number.hex"],
|
164
|
-
[/0[0-7']*[0-7]/, "number.octal"],
|
165
|
-
[/0[bB][0-1']*[0-1]/, "number.binary"],
|
166
|
-
[/\d[\d']*/, "number"],
|
167
|
-
[/\d/, "number"],
|
168
|
-
[/[;,.]/, "delimiter"],
|
169
|
-
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
170
|
-
[/"/, "string", "@string"],
|
171
|
-
[/`/, "string", "@rawstring"],
|
172
|
-
[/'[^\\']'/, "string"],
|
173
|
-
[/(')(@escapes)(')/, ["string", "string.escape", "string"]],
|
174
|
-
[/'/, "string.invalid"]
|
175
|
-
],
|
176
|
-
whitespace: [
|
177
|
-
[/[ \t\r\n]+/, ""],
|
178
|
-
[/\/\*\*(?!\/)/, "comment.doc", "@doccomment"],
|
179
|
-
[/\/\*/, "comment", "@comment"],
|
180
|
-
[/\/\/.*$/, "comment"]
|
181
|
-
],
|
182
|
-
comment: [
|
183
|
-
[/[^\/*]+/, "comment"],
|
184
|
-
[/\*\//, "comment", "@pop"],
|
185
|
-
[/[\/*]/, "comment"]
|
186
|
-
],
|
187
|
-
doccomment: [
|
188
|
-
[/[^\/*]+/, "comment.doc"],
|
189
|
-
[/\/\*/, "comment.doc.invalid"],
|
190
|
-
[/\*\//, "comment.doc", "@pop"],
|
191
|
-
[/[\/*]/, "comment.doc"]
|
192
|
-
],
|
193
|
-
string: [
|
194
|
-
[/[^\\"]+/, "string"],
|
195
|
-
[/@escapes/, "string.escape"],
|
196
|
-
[/\\./, "string.escape.invalid"],
|
197
|
-
[/"/, "string", "@pop"]
|
198
|
-
],
|
199
|
-
rawstring: [
|
200
|
-
[/[^\`]/, "string"],
|
201
|
-
[/`/, "string", "@pop"]
|
202
|
-
]
|
203
|
-
}
|
204
|
-
};
|
205
|
-
export {
|
206
|
-
e as conf,
|
207
|
-
n as language
|
208
|
-
};
|
package/go-cdd943fd.js
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
|
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
|
-
*-----------------------------------------------------------------------------*/var e={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`"},{open:'"',close:'"'},{open:"'",close:"'"}]},n={defaultToken:"",tokenPostfix:".go",keywords:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var","bool","true","false","uint8","uint16","uint32","uint64","int8","int16","int32","int64","float32","float64","complex64","complex128","byte","rune","uint","int","uintptr","string","nil"],operators:["+","-","*","/","%","&","|","^","<<",">>","&^","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=","&^=","&&","||","<-","++","--","==","<",">","=","!","!=","<=",">=",":=","...","(",")","","]","{","}",",",";",".",":"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[\[.*\]\]/,"annotation"],[/^\s*#\w+/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex"],[/0[0-7']*[0-7]/,"number.octal"],[/0[bB][0-1']*[0-1]/,"number.binary"],[/\d[\d']*/,"number"],[/\d/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/`/,"string","@rawstring"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],rawstring:[[/[^\`]/,"string"],[/`/,"string","@pop"]]}};exports.conf=e;exports.language=n;
|
package/java-32d7b433.js
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
|
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
|
-
*-----------------------------------------------------------------------------*/var e={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},t={defaultToken:"",tokenPostfix:".java",keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false","yield","record","sealed","non-sealed","permits"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[["non-sealed","keyword.non-sealed"],[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],multistring:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"""/,"string","@pop"],[/./,"string"]]}};exports.conf=e;exports.language=t;
|
package/java-cd017f60.mjs
DELETED
@@ -1,221 +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: /(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/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
|
-
{ open: "<", close: ">" }
|
32
|
-
],
|
33
|
-
folding: {
|
34
|
-
markers: {
|
35
|
-
start: new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),
|
36
|
-
end: new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")
|
37
|
-
}
|
38
|
-
}
|
39
|
-
}, t = {
|
40
|
-
defaultToken: "",
|
41
|
-
tokenPostfix: ".java",
|
42
|
-
keywords: [
|
43
|
-
"abstract",
|
44
|
-
"continue",
|
45
|
-
"for",
|
46
|
-
"new",
|
47
|
-
"switch",
|
48
|
-
"assert",
|
49
|
-
"default",
|
50
|
-
"goto",
|
51
|
-
"package",
|
52
|
-
"synchronized",
|
53
|
-
"boolean",
|
54
|
-
"do",
|
55
|
-
"if",
|
56
|
-
"private",
|
57
|
-
"this",
|
58
|
-
"break",
|
59
|
-
"double",
|
60
|
-
"implements",
|
61
|
-
"protected",
|
62
|
-
"throw",
|
63
|
-
"byte",
|
64
|
-
"else",
|
65
|
-
"import",
|
66
|
-
"public",
|
67
|
-
"throws",
|
68
|
-
"case",
|
69
|
-
"enum",
|
70
|
-
"instanceof",
|
71
|
-
"return",
|
72
|
-
"transient",
|
73
|
-
"catch",
|
74
|
-
"extends",
|
75
|
-
"int",
|
76
|
-
"short",
|
77
|
-
"try",
|
78
|
-
"char",
|
79
|
-
"final",
|
80
|
-
"interface",
|
81
|
-
"static",
|
82
|
-
"void",
|
83
|
-
"class",
|
84
|
-
"finally",
|
85
|
-
"long",
|
86
|
-
"strictfp",
|
87
|
-
"volatile",
|
88
|
-
"const",
|
89
|
-
"float",
|
90
|
-
"native",
|
91
|
-
"super",
|
92
|
-
"while",
|
93
|
-
"true",
|
94
|
-
"false",
|
95
|
-
"yield",
|
96
|
-
"record",
|
97
|
-
"sealed",
|
98
|
-
"non-sealed",
|
99
|
-
"permits"
|
100
|
-
],
|
101
|
-
operators: [
|
102
|
-
"=",
|
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
|
-
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
141
|
-
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
142
|
-
digits: /\d+(_+\d+)*/,
|
143
|
-
octaldigits: /[0-7]+(_+[0-7]+)*/,
|
144
|
-
binarydigits: /[0-1]+(_+[0-1]+)*/,
|
145
|
-
hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,
|
146
|
-
tokenizer: {
|
147
|
-
root: [
|
148
|
-
["non-sealed", "keyword.non-sealed"],
|
149
|
-
[
|
150
|
-
/[a-zA-Z_$][\w$]*/,
|
151
|
-
{
|
152
|
-
cases: {
|
153
|
-
"@keywords": { token: "keyword.$0" },
|
154
|
-
"@default": "identifier"
|
155
|
-
}
|
156
|
-
}
|
157
|
-
],
|
158
|
-
{ include: "@whitespace" },
|
159
|
-
[/[{}()\[\]]/, "@brackets"],
|
160
|
-
[/[<>](?!@symbols)/, "@brackets"],
|
161
|
-
[
|
162
|
-
/@symbols/,
|
163
|
-
{
|
164
|
-
cases: {
|
165
|
-
"@operators": "delimiter",
|
166
|
-
"@default": ""
|
167
|
-
}
|
168
|
-
}
|
169
|
-
],
|
170
|
-
[/@\s*[a-zA-Z_\$][\w\$]*/, "annotation"],
|
171
|
-
[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/, "number.float"],
|
172
|
-
[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/, "number.float"],
|
173
|
-
[/0[xX](@hexdigits)[Ll]?/, "number.hex"],
|
174
|
-
[/0(@octaldigits)[Ll]?/, "number.octal"],
|
175
|
-
[/0[bB](@binarydigits)[Ll]?/, "number.binary"],
|
176
|
-
[/(@digits)[fFdD]/, "number.float"],
|
177
|
-
[/(@digits)[lL]?/, "number"],
|
178
|
-
[/[;,.]/, "delimiter"],
|
179
|
-
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
180
|
-
[/"""/, "string", "@multistring"],
|
181
|
-
[/"/, "string", "@string"],
|
182
|
-
[/'[^\\']'/, "string"],
|
183
|
-
[/(')(@escapes)(')/, ["string", "string.escape", "string"]],
|
184
|
-
[/'/, "string.invalid"]
|
185
|
-
],
|
186
|
-
whitespace: [
|
187
|
-
[/[ \t\r\n]+/, ""],
|
188
|
-
[/\/\*\*(?!\/)/, "comment.doc", "@javadoc"],
|
189
|
-
[/\/\*/, "comment", "@comment"],
|
190
|
-
[/\/\/.*$/, "comment"]
|
191
|
-
],
|
192
|
-
comment: [
|
193
|
-
[/[^\/*]+/, "comment"],
|
194
|
-
[/\*\//, "comment", "@pop"],
|
195
|
-
[/[\/*]/, "comment"]
|
196
|
-
],
|
197
|
-
javadoc: [
|
198
|
-
[/[^\/*]+/, "comment.doc"],
|
199
|
-
[/\/\*/, "comment.doc.invalid"],
|
200
|
-
[/\*\//, "comment.doc", "@pop"],
|
201
|
-
[/[\/*]/, "comment.doc"]
|
202
|
-
],
|
203
|
-
string: [
|
204
|
-
[/[^\\"]+/, "string"],
|
205
|
-
[/@escapes/, "string.escape"],
|
206
|
-
[/\\./, "string.escape.invalid"],
|
207
|
-
[/"/, "string", "@pop"]
|
208
|
-
],
|
209
|
-
multistring: [
|
210
|
-
[/[^\\"]+/, "string"],
|
211
|
-
[/@escapes/, "string.escape"],
|
212
|
-
[/\\./, "string.escape.invalid"],
|
213
|
-
[/"""/, "string", "@pop"],
|
214
|
-
[/./, "string"]
|
215
|
-
]
|
216
|
-
}
|
217
|
-
};
|
218
|
-
export {
|
219
|
-
e as conf,
|
220
|
-
t as language
|
221
|
-
};
|
package/kotlin-4b9019e1.js
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
|
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
|
-
*-----------------------------------------------------------------------------*/var e={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},t={defaultToken:"",tokenPostfix:".kt",keywords:["as","as?","break","class","continue","do","else","false","for","fun","if","in","!in","interface","is","!is","null","object","package","return","super","this","throw","true","try","typealias","val","var","when","while","by","catch","constructor","delegate","dynamic","field","file","finally","get","import","init","param","property","receiver","set","setparam","where","actual","abstract","annotation","companion","const","crossinline","data","enum","expect","external","final","infix","inline","inner","internal","lateinit","noinline","open","operator","out","override","private","protected","public","reified","sealed","suspend","tailrec","vararg","field","it"],operators:["+","-","*","/","%","=","+=","-=","*=","/=","%=","++","--","&&","||","!","==","!=","===","!==",">","<","<=",">=","[","]","!!","?.","?:","::","..",":","?","->","@",";","$","_"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[[/[A-Z][\w\$]*/,"type.identifier"],[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc","@push"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],multistring:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"""/,"string","@pop"],[/./,"string"]]}};exports.conf=e;exports.language=t;
|