@codingame/monaco-vscode-standalone-languages 23.1.0 → 23.2.0
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/index.js +48 -82
- package/package.json +2 -2
- package/_.contribution.js +0 -74
- package/abap/abap.contribution.js +0 -19
- package/abap/abap.js +0 -1406
- package/apex/apex.contribution.js +0 -20
- package/apex/apex.js +0 -338
- package/azcli/azcli.contribution.js +0 -19
- package/azcli/azcli.js +0 -76
- package/bat/bat.contribution.js +0 -19
- package/bat/bat.js +0 -108
- package/bicep/bicep.contribution.js +0 -19
- package/bicep/bicep.js +0 -117
- package/cameligo/cameligo.contribution.js +0 -19
- package/cameligo/cameligo.js +0 -182
- package/clojure/clojure.contribution.js +0 -19
- package/clojure/clojure.js +0 -769
- package/coffee/coffee.contribution.js +0 -20
- package/coffee/coffee.js +0 -240
- package/cpp/cpp.contribution.js +0 -29
- package/cpp/cpp.js +0 -397
- package/csharp/csharp.contribution.js +0 -19
- package/csharp/csharp.js +0 -334
- package/csp/csp.contribution.js +0 -19
- package/csp/csp.js +0 -61
- package/css/css.contribution.js +0 -20
- package/css/css.js +0 -193
- package/cypher/cypher.contribution.js +0 -19
- package/cypher/cypher.js +0 -271
- package/dart/dart.contribution.js +0 -20
- package/dart/dart.js +0 -289
- package/dockerfile/dockerfile.contribution.js +0 -20
- package/dockerfile/dockerfile.js +0 -138
- package/ecl/ecl.contribution.js +0 -19
- package/ecl/ecl.js +0 -464
- package/elixir/elixir.contribution.js +0 -19
- package/elixir/elixir.js +0 -577
- package/flow9/flow9.contribution.js +0 -19
- package/flow9/flow9.js +0 -150
- package/freemarker2/freemarker2.contribution.js +0 -73
- package/freemarker2/freemarker2.js +0 -1016
- package/fsharp/fsharp.contribution.js +0 -19
- package/fsharp/fsharp.js +0 -225
- package/go/go.contribution.js +0 -19
- package/go/go.js +0 -226
- package/graphql/graphql.contribution.js +0 -20
- package/graphql/graphql.js +0 -159
- package/handlebars/handlebars.contribution.js +0 -20
- package/handlebars/handlebars.js +0 -439
- package/hcl/hcl.contribution.js +0 -19
- package/hcl/hcl.js +0 -191
- package/html/html.contribution.js +0 -20
- package/html/html.js +0 -328
- package/ini/ini.contribution.js +0 -20
- package/ini/ini.js +0 -79
- package/java/java.contribution.js +0 -20
- package/java/java.js +0 -240
- package/javascript/javascript.contribution.js +0 -22
- package/javascript/javascript.js +0 -77
- package/julia/julia.contribution.js +0 -19
- package/julia/julia.js +0 -519
- package/kotlin/kotlin.contribution.js +0 -20
- package/kotlin/kotlin.js +0 -261
- package/less/less.contribution.js +0 -20
- package/less/less.js +0 -169
- package/lexon/lexon.contribution.js +0 -19
- package/lexon/lexon.js +0 -165
- package/liquid/liquid.contribution.js +0 -20
- package/liquid/liquid.js +0 -260
- package/lua/lua.contribution.js +0 -19
- package/lua/lua.js +0 -170
- package/m3/m3.contribution.js +0 -19
- package/m3/m3.js +0 -218
- package/markdown/markdown.contribution.js +0 -19
- package/markdown/markdown.js +0 -237
- package/mdx/mdx.contribution.js +0 -19
- package/mdx/mdx.js +0 -184
- package/mips/mips.contribution.js +0 -20
- package/mips/mips.js +0 -206
- package/msdax/msdax.contribution.js +0 -19
- package/msdax/msdax.js +0 -383
- package/mysql/mysql.contribution.js +0 -19
- package/mysql/mysql.js +0 -886
- package/objective-c/objective-c.contribution.js +0 -19
- package/objective-c/objective-c.js +0 -191
- package/pascal/pascal.contribution.js +0 -20
- package/pascal/pascal.js +0 -259
- package/pascaligo/pascaligo.contribution.js +0 -19
- package/pascaligo/pascaligo.js +0 -172
- package/perl/perl.contribution.js +0 -19
- package/perl/perl.js +0 -634
- package/pgsql/pgsql.contribution.js +0 -19
- package/pgsql/pgsql.js +0 -859
- package/php/php.contribution.js +0 -20
- package/php/php.js +0 -508
- package/pla/pla.contribution.js +0 -18
- package/pla/pla.js +0 -145
- package/postiats/postiats.contribution.js +0 -19
- package/postiats/postiats.js +0 -915
- package/powerquery/powerquery.contribution.js +0 -19
- package/powerquery/powerquery.js +0 -898
- package/powershell/powershell.contribution.js +0 -19
- package/powershell/powershell.js +0 -247
- package/protobuf/protobuf.contribution.js +0 -19
- package/protobuf/protobuf.js +0 -428
- package/pug/pug.contribution.js +0 -19
- package/pug/pug.js +0 -410
- package/python/python.contribution.js +0 -20
- package/python/python.js +0 -320
- package/qsharp/qsharp.contribution.js +0 -19
- package/qsharp/qsharp.js +0 -309
- package/r/r.contribution.js +0 -19
- package/r/r.js +0 -251
- package/razor/razor.contribution.js +0 -20
- package/razor/razor.js +0 -570
- package/redis/redis.contribution.js +0 -19
- package/redis/redis.js +0 -310
- package/redshift/redshift.contribution.js +0 -19
- package/redshift/redshift.js +0 -817
- package/restructuredtext/restructuredtext.contribution.js +0 -19
- package/restructuredtext/restructuredtext.js +0 -182
- package/ruby/ruby.contribution.js +0 -20
- package/ruby/ruby.js +0 -519
- package/rust/rust.contribution.js +0 -19
- package/rust/rust.js +0 -351
- package/sb/sb.contribution.js +0 -19
- package/sb/sb.js +0 -123
- package/scala/scala.contribution.js +0 -20
- package/scala/scala.js +0 -378
- package/scheme/scheme.contribution.js +0 -19
- package/scheme/scheme.js +0 -116
- package/scss/scss.contribution.js +0 -20
- package/scss/scss.js +0 -268
- package/shell/shell.contribution.js +0 -19
- package/shell/shell.js +0 -229
- package/solidity/solidity.contribution.js +0 -19
- package/solidity/solidity.js +0 -1375
- package/sophia/sophia.contribution.js +0 -19
- package/sophia/sophia.js +0 -207
- package/sparql/sparql.contribution.js +0 -19
- package/sparql/sparql.js +0 -209
- package/sql/sql.contribution.js +0 -19
- package/sql/sql.js +0 -861
- package/st/st.contribution.js +0 -19
- package/st/st.js +0 -424
- package/swift/swift.contribution.js +0 -20
- package/swift/swift.js +0 -320
- package/systemverilog/systemverilog.contribution.js +0 -29
- package/systemverilog/systemverilog.js +0 -584
- package/tcl/tcl.contribution.js +0 -19
- package/tcl/tcl.js +0 -240
- package/twig/twig.contribution.js +0 -20
- package/twig/twig.js +0 -400
- package/typescript/typescript.contribution.js +0 -20
- package/typescript/typescript.js +0 -362
- package/typespec/typespec.contribution.js +0 -19
- package/typespec/typespec.js +0 -135
- package/vb/vb.contribution.js +0 -19
- package/vb/vb.js +0 -380
- package/wgsl/wgsl.contribution.js +0 -19
- package/wgsl/wgsl.js +0 -461
- package/xml/xml.contribution.js +0 -39
- package/xml/xml.js +0 -114
- package/yaml/yaml.contribution.js +0 -20
- package/yaml/yaml.js +0 -225
package/r/r.js
DELETED
|
@@ -1,251 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.54.0(undefined)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
// src/basic-languages/r/r.ts
|
|
10
|
-
var conf = {
|
|
11
|
-
comments: {
|
|
12
|
-
lineComment: "#"
|
|
13
|
-
},
|
|
14
|
-
brackets: [
|
|
15
|
-
["{", "}"],
|
|
16
|
-
["[", "]"],
|
|
17
|
-
["(", ")"]
|
|
18
|
-
],
|
|
19
|
-
autoClosingPairs: [
|
|
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
|
-
]
|
|
31
|
-
};
|
|
32
|
-
var language = {
|
|
33
|
-
defaultToken: "",
|
|
34
|
-
tokenPostfix: ".r",
|
|
35
|
-
roxygen: [
|
|
36
|
-
"@alias",
|
|
37
|
-
"@aliases",
|
|
38
|
-
"@assignee",
|
|
39
|
-
"@author",
|
|
40
|
-
"@backref",
|
|
41
|
-
"@callGraph",
|
|
42
|
-
"@callGraphDepth",
|
|
43
|
-
"@callGraphPrimitives",
|
|
44
|
-
"@concept",
|
|
45
|
-
"@describeIn",
|
|
46
|
-
"@description",
|
|
47
|
-
"@details",
|
|
48
|
-
"@docType",
|
|
49
|
-
"@encoding",
|
|
50
|
-
"@evalNamespace",
|
|
51
|
-
"@evalRd",
|
|
52
|
-
"@example",
|
|
53
|
-
"@examples",
|
|
54
|
-
"@export",
|
|
55
|
-
"@exportClass",
|
|
56
|
-
"@exportMethod",
|
|
57
|
-
"@exportPattern",
|
|
58
|
-
"@family",
|
|
59
|
-
"@field",
|
|
60
|
-
"@formals",
|
|
61
|
-
"@format",
|
|
62
|
-
"@import",
|
|
63
|
-
"@importClassesFrom",
|
|
64
|
-
"@importFrom",
|
|
65
|
-
"@importMethodsFrom",
|
|
66
|
-
"@include",
|
|
67
|
-
"@inherit",
|
|
68
|
-
"@inheritDotParams",
|
|
69
|
-
"@inheritParams",
|
|
70
|
-
"@inheritSection",
|
|
71
|
-
"@keywords",
|
|
72
|
-
"@md",
|
|
73
|
-
"@method",
|
|
74
|
-
"@name",
|
|
75
|
-
"@noMd",
|
|
76
|
-
"@noRd",
|
|
77
|
-
"@note",
|
|
78
|
-
"@param",
|
|
79
|
-
"@rawNamespace",
|
|
80
|
-
"@rawRd",
|
|
81
|
-
"@rdname",
|
|
82
|
-
"@references",
|
|
83
|
-
"@return",
|
|
84
|
-
"@S3method",
|
|
85
|
-
"@section",
|
|
86
|
-
"@seealso",
|
|
87
|
-
"@setClass",
|
|
88
|
-
"@slot",
|
|
89
|
-
"@source",
|
|
90
|
-
"@template",
|
|
91
|
-
"@templateVar",
|
|
92
|
-
"@title",
|
|
93
|
-
"@TODO",
|
|
94
|
-
"@usage",
|
|
95
|
-
"@useDynLib"
|
|
96
|
-
],
|
|
97
|
-
constants: [
|
|
98
|
-
"NULL",
|
|
99
|
-
"FALSE",
|
|
100
|
-
"TRUE",
|
|
101
|
-
"NA",
|
|
102
|
-
"Inf",
|
|
103
|
-
"NaN",
|
|
104
|
-
"NA_integer_",
|
|
105
|
-
"NA_real_",
|
|
106
|
-
"NA_complex_",
|
|
107
|
-
"NA_character_",
|
|
108
|
-
"T",
|
|
109
|
-
"F",
|
|
110
|
-
"LETTERS",
|
|
111
|
-
"letters",
|
|
112
|
-
"month.abb",
|
|
113
|
-
"month.name",
|
|
114
|
-
"pi",
|
|
115
|
-
"R.version.string"
|
|
116
|
-
],
|
|
117
|
-
keywords: [
|
|
118
|
-
"break",
|
|
119
|
-
"next",
|
|
120
|
-
"return",
|
|
121
|
-
"if",
|
|
122
|
-
"else",
|
|
123
|
-
"for",
|
|
124
|
-
"in",
|
|
125
|
-
"repeat",
|
|
126
|
-
"while",
|
|
127
|
-
"array",
|
|
128
|
-
"category",
|
|
129
|
-
"character",
|
|
130
|
-
"complex",
|
|
131
|
-
"double",
|
|
132
|
-
"function",
|
|
133
|
-
"integer",
|
|
134
|
-
"list",
|
|
135
|
-
"logical",
|
|
136
|
-
"matrix",
|
|
137
|
-
"numeric",
|
|
138
|
-
"vector",
|
|
139
|
-
"data.frame",
|
|
140
|
-
"factor",
|
|
141
|
-
"library",
|
|
142
|
-
"require",
|
|
143
|
-
"attach",
|
|
144
|
-
"detach",
|
|
145
|
-
"source"
|
|
146
|
-
],
|
|
147
|
-
special: ["\\n", "\\r", "\\t", "\\b", "\\a", "\\f", "\\v", "\\'", '\\"', "\\\\"],
|
|
148
|
-
brackets: [
|
|
149
|
-
{ open: "{", close: "}", token: "delimiter.curly" },
|
|
150
|
-
{ open: "[", close: "]", token: "delimiter.bracket" },
|
|
151
|
-
{ open: "(", close: ")", token: "delimiter.parenthesis" }
|
|
152
|
-
],
|
|
153
|
-
tokenizer: {
|
|
154
|
-
root: [
|
|
155
|
-
{ include: "@numbers" },
|
|
156
|
-
{ include: "@strings" },
|
|
157
|
-
[/[{}\[\]()]/, "@brackets"],
|
|
158
|
-
{ include: "@operators" },
|
|
159
|
-
[/#'$/, "comment.doc"],
|
|
160
|
-
[/#'/, "comment.doc", "@roxygen"],
|
|
161
|
-
[/(^#.*$)/, "comment"],
|
|
162
|
-
[/\s+/, "white"],
|
|
163
|
-
[/[,:;]/, "delimiter"],
|
|
164
|
-
[/@[a-zA-Z]\w*/, "tag"],
|
|
165
|
-
[
|
|
166
|
-
/[a-zA-Z]\w*/,
|
|
167
|
-
{
|
|
168
|
-
cases: {
|
|
169
|
-
"@keywords": "keyword",
|
|
170
|
-
"@constants": "constant",
|
|
171
|
-
"@default": "identifier"
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
]
|
|
175
|
-
],
|
|
176
|
-
// Recognize Roxygen comments
|
|
177
|
-
roxygen: [
|
|
178
|
-
[
|
|
179
|
-
/@\w+/,
|
|
180
|
-
{
|
|
181
|
-
cases: {
|
|
182
|
-
"@roxygen": "tag",
|
|
183
|
-
"@eos": { token: "comment.doc", next: "@pop" },
|
|
184
|
-
"@default": "comment.doc"
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
],
|
|
188
|
-
[
|
|
189
|
-
/\s+/,
|
|
190
|
-
{
|
|
191
|
-
cases: {
|
|
192
|
-
"@eos": { token: "comment.doc", next: "@pop" },
|
|
193
|
-
"@default": "comment.doc"
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
],
|
|
197
|
-
[/.*/, { token: "comment.doc", next: "@pop" }]
|
|
198
|
-
],
|
|
199
|
-
// Recognize positives, negatives, decimals, imaginaries, and scientific notation
|
|
200
|
-
numbers: [
|
|
201
|
-
[/0[xX][0-9a-fA-F]+/, "number.hex"],
|
|
202
|
-
[/-?(\d*\.)?\d+([eE][+\-]?\d+)?/, "number"]
|
|
203
|
-
],
|
|
204
|
-
// Recognize operators
|
|
205
|
-
operators: [
|
|
206
|
-
[/<{1,2}-/, "operator"],
|
|
207
|
-
[/->{1,2}/, "operator"],
|
|
208
|
-
[/%[^%\s]+%/, "operator"],
|
|
209
|
-
[/\*\*/, "operator"],
|
|
210
|
-
[/%%/, "operator"],
|
|
211
|
-
[/&&/, "operator"],
|
|
212
|
-
[/\|\|/, "operator"],
|
|
213
|
-
[/<</, "operator"],
|
|
214
|
-
[/>>/, "operator"],
|
|
215
|
-
[/[-+=&|!<>^~*/:$]/, "operator"]
|
|
216
|
-
],
|
|
217
|
-
// Recognize strings, including those broken across lines
|
|
218
|
-
strings: [
|
|
219
|
-
[/'/, "string.escape", "@stringBody"],
|
|
220
|
-
[/"/, "string.escape", "@dblStringBody"]
|
|
221
|
-
],
|
|
222
|
-
stringBody: [
|
|
223
|
-
[
|
|
224
|
-
/\\./,
|
|
225
|
-
{
|
|
226
|
-
cases: {
|
|
227
|
-
"@special": "string",
|
|
228
|
-
"@default": "error-token"
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
],
|
|
232
|
-
[/'/, "string.escape", "@popall"],
|
|
233
|
-
[/./, "string"]
|
|
234
|
-
],
|
|
235
|
-
dblStringBody: [
|
|
236
|
-
[
|
|
237
|
-
/\\./,
|
|
238
|
-
{
|
|
239
|
-
cases: {
|
|
240
|
-
"@special": "string",
|
|
241
|
-
"@default": "error-token"
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
],
|
|
245
|
-
[/"/, "string.escape", "@popall"],
|
|
246
|
-
[/./, "string"]
|
|
247
|
-
]
|
|
248
|
-
}
|
|
249
|
-
};
|
|
250
|
-
|
|
251
|
-
export { conf, language };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { registerLanguage } from '../_.contribution.js';
|
|
2
|
-
|
|
3
|
-
/*!-----------------------------------------------------------------------------
|
|
4
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5
|
-
* Version: 0.54.0(undefined)
|
|
6
|
-
* Released under the MIT license
|
|
7
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
8
|
-
*-----------------------------------------------------------------------------*/
|
|
9
|
-
|
|
10
|
-
registerLanguage({
|
|
11
|
-
id: "razor",
|
|
12
|
-
extensions: [".cshtml"],
|
|
13
|
-
aliases: ["Razor", "razor"],
|
|
14
|
-
mimetypes: ["text/x-cshtml"],
|
|
15
|
-
loader: () => {
|
|
16
|
-
{
|
|
17
|
-
return import('./razor.js');
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
});
|