@codingame/monaco-vscode-standalone-languages 23.2.0 → 23.2.2
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/_.contribution.js +48 -0
- package/abap/abap.contribution.js +8 -0
- package/abap/abap.js +1397 -0
- package/apex/apex.contribution.js +9 -0
- package/apex/apex.js +329 -0
- package/azcli/azcli.contribution.js +8 -0
- package/azcli/azcli.js +67 -0
- package/bat/bat.contribution.js +8 -0
- package/bat/bat.js +99 -0
- package/bicep/bicep.contribution.js +8 -0
- package/bicep/bicep.js +108 -0
- package/cameligo/cameligo.contribution.js +8 -0
- package/cameligo/cameligo.js +173 -0
- package/clojure/clojure.contribution.js +8 -0
- package/clojure/clojure.js +760 -0
- package/coffee/coffee.contribution.js +9 -0
- package/coffee/coffee.js +231 -0
- package/cpp/cpp.contribution.js +14 -0
- package/cpp/cpp.js +388 -0
- package/csharp/csharp.contribution.js +8 -0
- package/csharp/csharp.js +325 -0
- package/csp/csp.contribution.js +8 -0
- package/csp/csp.js +52 -0
- package/css/css.contribution.js +9 -0
- package/css/css.js +184 -0
- package/cypher/cypher.contribution.js +8 -0
- package/cypher/cypher.js +262 -0
- package/dart/dart.contribution.js +9 -0
- package/dart/dart.js +280 -0
- package/dockerfile/dockerfile.contribution.js +9 -0
- package/dockerfile/dockerfile.js +129 -0
- package/ecl/ecl.contribution.js +8 -0
- package/ecl/ecl.js +455 -0
- package/elixir/elixir.contribution.js +8 -0
- package/elixir/elixir.js +568 -0
- package/flow9/flow9.contribution.js +8 -0
- package/flow9/flow9.js +141 -0
- package/freemarker2/freemarker2.contribution.js +52 -0
- package/freemarker2/freemarker2.js +990 -0
- package/fsharp/fsharp.contribution.js +8 -0
- package/fsharp/fsharp.js +216 -0
- package/go/go.contribution.js +8 -0
- package/go/go.js +217 -0
- package/graphql/graphql.contribution.js +9 -0
- package/graphql/graphql.js +150 -0
- package/handlebars/handlebars.contribution.js +9 -0
- package/handlebars/handlebars.js +413 -0
- package/hcl/hcl.contribution.js +8 -0
- package/hcl/hcl.js +182 -0
- package/html/html.contribution.js +9 -0
- package/html/html.js +302 -0
- package/index.js +81 -48
- package/ini/ini.contribution.js +9 -0
- package/ini/ini.js +70 -0
- package/java/java.contribution.js +9 -0
- package/java/java.js +231 -0
- package/javascript/javascript.contribution.js +11 -0
- package/javascript/javascript.js +70 -0
- package/julia/julia.contribution.js +8 -0
- package/julia/julia.js +510 -0
- package/kotlin/kotlin.contribution.js +9 -0
- package/kotlin/kotlin.js +251 -0
- package/less/less.contribution.js +9 -0
- package/less/less.js +160 -0
- package/lexon/lexon.contribution.js +8 -0
- package/lexon/lexon.js +156 -0
- package/liquid/liquid.contribution.js +9 -0
- package/liquid/liquid.js +234 -0
- package/lua/lua.contribution.js +8 -0
- package/lua/lua.js +161 -0
- package/m3/m3.contribution.js +8 -0
- package/m3/m3.js +209 -0
- package/markdown/markdown.contribution.js +8 -0
- package/markdown/markdown.js +228 -0
- package/mdx/mdx.contribution.js +8 -0
- package/mdx/mdx.js +158 -0
- package/mips/mips.contribution.js +9 -0
- package/mips/mips.js +197 -0
- package/msdax/msdax.contribution.js +8 -0
- package/msdax/msdax.js +374 -0
- package/mysql/mysql.contribution.js +8 -0
- package/mysql/mysql.js +877 -0
- package/objective-c/objective-c.contribution.js +8 -0
- package/objective-c/objective-c.js +182 -0
- package/package.json +2 -2
- package/pascal/pascal.contribution.js +9 -0
- package/pascal/pascal.js +250 -0
- package/pascaligo/pascaligo.contribution.js +8 -0
- package/pascaligo/pascaligo.js +163 -0
- package/perl/perl.contribution.js +8 -0
- package/perl/perl.js +625 -0
- package/pgsql/pgsql.contribution.js +8 -0
- package/pgsql/pgsql.js +850 -0
- package/php/php.contribution.js +9 -0
- package/php/php.js +499 -0
- package/pla/pla.contribution.js +7 -0
- package/pla/pla.js +136 -0
- package/postiats/postiats.contribution.js +8 -0
- package/postiats/postiats.js +906 -0
- package/powerquery/powerquery.contribution.js +8 -0
- package/powerquery/powerquery.js +889 -0
- package/powershell/powershell.contribution.js +8 -0
- package/powershell/powershell.js +238 -0
- package/protobuf/protobuf.contribution.js +8 -0
- package/protobuf/protobuf.js +419 -0
- package/pug/pug.contribution.js +8 -0
- package/pug/pug.js +401 -0
- package/python/python.contribution.js +9 -0
- package/python/python.js +294 -0
- package/qsharp/qsharp.contribution.js +8 -0
- package/qsharp/qsharp.js +300 -0
- package/r/r.contribution.js +8 -0
- package/r/r.js +242 -0
- package/razor/razor.contribution.js +9 -0
- package/razor/razor.js +544 -0
- package/redis/redis.contribution.js +8 -0
- package/redis/redis.js +301 -0
- package/redshift/redshift.contribution.js +8 -0
- package/redshift/redshift.js +808 -0
- package/restructuredtext/restructuredtext.contribution.js +8 -0
- package/restructuredtext/restructuredtext.js +173 -0
- package/ruby/ruby.contribution.js +9 -0
- package/ruby/ruby.js +510 -0
- package/rust/rust.contribution.js +8 -0
- package/rust/rust.js +342 -0
- package/sb/sb.contribution.js +8 -0
- package/sb/sb.js +114 -0
- package/scala/scala.contribution.js +9 -0
- package/scala/scala.js +369 -0
- package/scheme/scheme.contribution.js +8 -0
- package/scheme/scheme.js +107 -0
- package/scss/scss.contribution.js +9 -0
- package/scss/scss.js +259 -0
- package/shell/shell.contribution.js +8 -0
- package/shell/shell.js +220 -0
- package/solidity/solidity.contribution.js +8 -0
- package/solidity/solidity.js +1366 -0
- package/sophia/sophia.contribution.js +8 -0
- package/sophia/sophia.js +198 -0
- package/sparql/sparql.contribution.js +8 -0
- package/sparql/sparql.js +200 -0
- package/sql/sql.contribution.js +8 -0
- package/sql/sql.js +852 -0
- package/st/st.contribution.js +8 -0
- package/st/st.js +415 -0
- package/swift/swift.contribution.js +9 -0
- package/swift/swift.js +311 -0
- package/systemverilog/systemverilog.contribution.js +14 -0
- package/systemverilog/systemverilog.js +575 -0
- package/tcl/tcl.contribution.js +8 -0
- package/tcl/tcl.js +231 -0
- package/twig/twig.contribution.js +9 -0
- package/twig/twig.js +391 -0
- package/typescript/typescript.contribution.js +11 -0
- package/typescript/typescript.js +336 -0
- package/typespec/typespec.contribution.js +8 -0
- package/typespec/typespec.js +126 -0
- package/vb/vb.contribution.js +8 -0
- package/vb/vb.js +371 -0
- package/wgsl/wgsl.contribution.js +8 -0
- package/wgsl/wgsl.js +452 -0
- package/xml/xml.contribution.js +28 -0
- package/xml/xml.js +88 -0
- package/yaml/yaml.contribution.js +9 -0
- package/yaml/yaml.js +199 -0
package/vb/vb.js
ADDED
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
const conf = {
|
|
2
|
+
comments: {
|
|
3
|
+
lineComment: "'",
|
|
4
|
+
blockComment: ["/*", "*/"]
|
|
5
|
+
},
|
|
6
|
+
brackets: [
|
|
7
|
+
["{", "}"],
|
|
8
|
+
["[", "]"],
|
|
9
|
+
["(", ")"],
|
|
10
|
+
["<", ">"],
|
|
11
|
+
["addhandler", "end addhandler"],
|
|
12
|
+
["class", "end class"],
|
|
13
|
+
["enum", "end enum"],
|
|
14
|
+
["event", "end event"],
|
|
15
|
+
["function", "end function"],
|
|
16
|
+
["get", "end get"],
|
|
17
|
+
["if", "end if"],
|
|
18
|
+
["interface", "end interface"],
|
|
19
|
+
["module", "end module"],
|
|
20
|
+
["namespace", "end namespace"],
|
|
21
|
+
["operator", "end operator"],
|
|
22
|
+
["property", "end property"],
|
|
23
|
+
["raiseevent", "end raiseevent"],
|
|
24
|
+
["removehandler", "end removehandler"],
|
|
25
|
+
["select", "end select"],
|
|
26
|
+
["set", "end set"],
|
|
27
|
+
["structure", "end structure"],
|
|
28
|
+
["sub", "end sub"],
|
|
29
|
+
["synclock", "end synclock"],
|
|
30
|
+
["try", "end try"],
|
|
31
|
+
["while", "end while"],
|
|
32
|
+
["with", "end with"],
|
|
33
|
+
["using", "end using"],
|
|
34
|
+
["do", "loop"],
|
|
35
|
+
["for", "next"]
|
|
36
|
+
],
|
|
37
|
+
autoClosingPairs: [
|
|
38
|
+
{ open: "{", close: "}", notIn: ["string", "comment"] },
|
|
39
|
+
{ open: "[", close: "]", notIn: ["string", "comment"] },
|
|
40
|
+
{ open: "(", close: ")", notIn: ["string", "comment"] },
|
|
41
|
+
{ open: '"', close: '"', notIn: ["string", "comment"] },
|
|
42
|
+
{ open: "<", close: ">", notIn: ["string", "comment"] }
|
|
43
|
+
],
|
|
44
|
+
folding: {
|
|
45
|
+
markers: {
|
|
46
|
+
start: new RegExp("^\\s*#Region\\b"),
|
|
47
|
+
end: new RegExp("^\\s*#End Region\\b")
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
const language = {
|
|
52
|
+
defaultToken: "",
|
|
53
|
+
tokenPostfix: ".vb",
|
|
54
|
+
ignoreCase: true,
|
|
55
|
+
brackets: [
|
|
56
|
+
{ token: "delimiter.bracket", open: "{", close: "}" },
|
|
57
|
+
{ token: "delimiter.array", open: "[", close: "]" },
|
|
58
|
+
{ token: "delimiter.parenthesis", open: "(", close: ")" },
|
|
59
|
+
{ token: "delimiter.angle", open: "<", close: ">" },
|
|
60
|
+
// Special bracket statement pairs
|
|
61
|
+
// according to https://msdn.microsoft.com/en-us/library/tsw2a11z.aspx
|
|
62
|
+
{
|
|
63
|
+
token: "keyword.tag-addhandler",
|
|
64
|
+
open: "addhandler",
|
|
65
|
+
close: "end addhandler"
|
|
66
|
+
},
|
|
67
|
+
{ token: "keyword.tag-class", open: "class", close: "end class" },
|
|
68
|
+
{ token: "keyword.tag-enum", open: "enum", close: "end enum" },
|
|
69
|
+
{ token: "keyword.tag-event", open: "event", close: "end event" },
|
|
70
|
+
{
|
|
71
|
+
token: "keyword.tag-function",
|
|
72
|
+
open: "function",
|
|
73
|
+
close: "end function"
|
|
74
|
+
},
|
|
75
|
+
{ token: "keyword.tag-get", open: "get", close: "end get" },
|
|
76
|
+
{ token: "keyword.tag-if", open: "if", close: "end if" },
|
|
77
|
+
{
|
|
78
|
+
token: "keyword.tag-interface",
|
|
79
|
+
open: "interface",
|
|
80
|
+
close: "end interface"
|
|
81
|
+
},
|
|
82
|
+
{ token: "keyword.tag-module", open: "module", close: "end module" },
|
|
83
|
+
{
|
|
84
|
+
token: "keyword.tag-namespace",
|
|
85
|
+
open: "namespace",
|
|
86
|
+
close: "end namespace"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
token: "keyword.tag-operator",
|
|
90
|
+
open: "operator",
|
|
91
|
+
close: "end operator"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
token: "keyword.tag-property",
|
|
95
|
+
open: "property",
|
|
96
|
+
close: "end property"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
token: "keyword.tag-raiseevent",
|
|
100
|
+
open: "raiseevent",
|
|
101
|
+
close: "end raiseevent"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
token: "keyword.tag-removehandler",
|
|
105
|
+
open: "removehandler",
|
|
106
|
+
close: "end removehandler"
|
|
107
|
+
},
|
|
108
|
+
{ token: "keyword.tag-select", open: "select", close: "end select" },
|
|
109
|
+
{ token: "keyword.tag-set", open: "set", close: "end set" },
|
|
110
|
+
{
|
|
111
|
+
token: "keyword.tag-structure",
|
|
112
|
+
open: "structure",
|
|
113
|
+
close: "end structure"
|
|
114
|
+
},
|
|
115
|
+
{ token: "keyword.tag-sub", open: "sub", close: "end sub" },
|
|
116
|
+
{
|
|
117
|
+
token: "keyword.tag-synclock",
|
|
118
|
+
open: "synclock",
|
|
119
|
+
close: "end synclock"
|
|
120
|
+
},
|
|
121
|
+
{ token: "keyword.tag-try", open: "try", close: "end try" },
|
|
122
|
+
{ token: "keyword.tag-while", open: "while", close: "end while" },
|
|
123
|
+
{ token: "keyword.tag-with", open: "with", close: "end with" },
|
|
124
|
+
// Other pairs
|
|
125
|
+
{ token: "keyword.tag-using", open: "using", close: "end using" },
|
|
126
|
+
{ token: "keyword.tag-do", open: "do", close: "loop" },
|
|
127
|
+
{ token: "keyword.tag-for", open: "for", close: "next" }
|
|
128
|
+
],
|
|
129
|
+
keywords: [
|
|
130
|
+
"AddHandler",
|
|
131
|
+
"AddressOf",
|
|
132
|
+
"Alias",
|
|
133
|
+
"And",
|
|
134
|
+
"AndAlso",
|
|
135
|
+
"As",
|
|
136
|
+
"Async",
|
|
137
|
+
"Boolean",
|
|
138
|
+
"ByRef",
|
|
139
|
+
"Byte",
|
|
140
|
+
"ByVal",
|
|
141
|
+
"Call",
|
|
142
|
+
"Case",
|
|
143
|
+
"Catch",
|
|
144
|
+
"CBool",
|
|
145
|
+
"CByte",
|
|
146
|
+
"CChar",
|
|
147
|
+
"CDate",
|
|
148
|
+
"CDbl",
|
|
149
|
+
"CDec",
|
|
150
|
+
"Char",
|
|
151
|
+
"CInt",
|
|
152
|
+
"Class",
|
|
153
|
+
"CLng",
|
|
154
|
+
"CObj",
|
|
155
|
+
"Const",
|
|
156
|
+
"Continue",
|
|
157
|
+
"CSByte",
|
|
158
|
+
"CShort",
|
|
159
|
+
"CSng",
|
|
160
|
+
"CStr",
|
|
161
|
+
"CType",
|
|
162
|
+
"CUInt",
|
|
163
|
+
"CULng",
|
|
164
|
+
"CUShort",
|
|
165
|
+
"Date",
|
|
166
|
+
"Decimal",
|
|
167
|
+
"Declare",
|
|
168
|
+
"Default",
|
|
169
|
+
"Delegate",
|
|
170
|
+
"Dim",
|
|
171
|
+
"DirectCast",
|
|
172
|
+
"Do",
|
|
173
|
+
"Double",
|
|
174
|
+
"Each",
|
|
175
|
+
"Else",
|
|
176
|
+
"ElseIf",
|
|
177
|
+
"End",
|
|
178
|
+
"EndIf",
|
|
179
|
+
"Enum",
|
|
180
|
+
"Erase",
|
|
181
|
+
"Error",
|
|
182
|
+
"Event",
|
|
183
|
+
"Exit",
|
|
184
|
+
"False",
|
|
185
|
+
"Finally",
|
|
186
|
+
"For",
|
|
187
|
+
"Friend",
|
|
188
|
+
"Function",
|
|
189
|
+
"Get",
|
|
190
|
+
"GetType",
|
|
191
|
+
"GetXMLNamespace",
|
|
192
|
+
"Global",
|
|
193
|
+
"GoSub",
|
|
194
|
+
"GoTo",
|
|
195
|
+
"Handles",
|
|
196
|
+
"If",
|
|
197
|
+
"Implements",
|
|
198
|
+
"Imports",
|
|
199
|
+
"In",
|
|
200
|
+
"Inherits",
|
|
201
|
+
"Integer",
|
|
202
|
+
"Interface",
|
|
203
|
+
"Is",
|
|
204
|
+
"IsNot",
|
|
205
|
+
"Let",
|
|
206
|
+
"Lib",
|
|
207
|
+
"Like",
|
|
208
|
+
"Long",
|
|
209
|
+
"Loop",
|
|
210
|
+
"Me",
|
|
211
|
+
"Mod",
|
|
212
|
+
"Module",
|
|
213
|
+
"MustInherit",
|
|
214
|
+
"MustOverride",
|
|
215
|
+
"MyBase",
|
|
216
|
+
"MyClass",
|
|
217
|
+
"NameOf",
|
|
218
|
+
"Namespace",
|
|
219
|
+
"Narrowing",
|
|
220
|
+
"New",
|
|
221
|
+
"Next",
|
|
222
|
+
"Not",
|
|
223
|
+
"Nothing",
|
|
224
|
+
"NotInheritable",
|
|
225
|
+
"NotOverridable",
|
|
226
|
+
"Object",
|
|
227
|
+
"Of",
|
|
228
|
+
"On",
|
|
229
|
+
"Operator",
|
|
230
|
+
"Option",
|
|
231
|
+
"Optional",
|
|
232
|
+
"Or",
|
|
233
|
+
"OrElse",
|
|
234
|
+
"Out",
|
|
235
|
+
"Overloads",
|
|
236
|
+
"Overridable",
|
|
237
|
+
"Overrides",
|
|
238
|
+
"ParamArray",
|
|
239
|
+
"Partial",
|
|
240
|
+
"Private",
|
|
241
|
+
"Property",
|
|
242
|
+
"Protected",
|
|
243
|
+
"Public",
|
|
244
|
+
"RaiseEvent",
|
|
245
|
+
"ReadOnly",
|
|
246
|
+
"ReDim",
|
|
247
|
+
"RemoveHandler",
|
|
248
|
+
"Resume",
|
|
249
|
+
"Return",
|
|
250
|
+
"SByte",
|
|
251
|
+
"Select",
|
|
252
|
+
"Set",
|
|
253
|
+
"Shadows",
|
|
254
|
+
"Shared",
|
|
255
|
+
"Short",
|
|
256
|
+
"Single",
|
|
257
|
+
"Static",
|
|
258
|
+
"Step",
|
|
259
|
+
"Stop",
|
|
260
|
+
"String",
|
|
261
|
+
"Structure",
|
|
262
|
+
"Sub",
|
|
263
|
+
"SyncLock",
|
|
264
|
+
"Then",
|
|
265
|
+
"Throw",
|
|
266
|
+
"To",
|
|
267
|
+
"True",
|
|
268
|
+
"Try",
|
|
269
|
+
"TryCast",
|
|
270
|
+
"TypeOf",
|
|
271
|
+
"UInteger",
|
|
272
|
+
"ULong",
|
|
273
|
+
"UShort",
|
|
274
|
+
"Using",
|
|
275
|
+
"Variant",
|
|
276
|
+
"Wend",
|
|
277
|
+
"When",
|
|
278
|
+
"While",
|
|
279
|
+
"Widening",
|
|
280
|
+
"With",
|
|
281
|
+
"WithEvents",
|
|
282
|
+
"WriteOnly",
|
|
283
|
+
"Xor"
|
|
284
|
+
],
|
|
285
|
+
tagwords: [
|
|
286
|
+
"If",
|
|
287
|
+
"Sub",
|
|
288
|
+
"Select",
|
|
289
|
+
"Try",
|
|
290
|
+
"Class",
|
|
291
|
+
"Enum",
|
|
292
|
+
"Function",
|
|
293
|
+
"Get",
|
|
294
|
+
"Interface",
|
|
295
|
+
"Module",
|
|
296
|
+
"Namespace",
|
|
297
|
+
"Operator",
|
|
298
|
+
"Set",
|
|
299
|
+
"Structure",
|
|
300
|
+
"Using",
|
|
301
|
+
"While",
|
|
302
|
+
"With",
|
|
303
|
+
"Do",
|
|
304
|
+
"Loop",
|
|
305
|
+
"For",
|
|
306
|
+
"Next",
|
|
307
|
+
"Property",
|
|
308
|
+
"Continue",
|
|
309
|
+
"AddHandler",
|
|
310
|
+
"RemoveHandler",
|
|
311
|
+
"Event",
|
|
312
|
+
"RaiseEvent",
|
|
313
|
+
"SyncLock"
|
|
314
|
+
],
|
|
315
|
+
// we include these common regular expressions
|
|
316
|
+
symbols: /[=><!~?;\.,:&|+\-*\/\^%]+/,
|
|
317
|
+
integersuffix: /U?[DI%L&S@]?/,
|
|
318
|
+
floatsuffix: /[R#F!]?/,
|
|
319
|
+
// The main tokenizer for our languages
|
|
320
|
+
tokenizer: {
|
|
321
|
+
root: [
|
|
322
|
+
// whitespace
|
|
323
|
+
{ include: "@whitespace" },
|
|
324
|
+
// special ending tag-words
|
|
325
|
+
[/next(?!\w)/, { token: "keyword.tag-for" }],
|
|
326
|
+
[/loop(?!\w)/, { token: "keyword.tag-do" }],
|
|
327
|
+
// usual ending tags
|
|
328
|
+
[
|
|
329
|
+
/end\s+(?!for|do)(addhandler|class|enum|event|function|get|if|interface|module|namespace|operator|property|raiseevent|removehandler|select|set|structure|sub|synclock|try|while|with|using)/,
|
|
330
|
+
{ token: "keyword.tag-$1" }
|
|
331
|
+
],
|
|
332
|
+
// identifiers, tagwords, and keywords
|
|
333
|
+
[
|
|
334
|
+
/[a-zA-Z_]\w*/,
|
|
335
|
+
{
|
|
336
|
+
cases: {
|
|
337
|
+
"@tagwords": { token: "keyword.tag-$0" },
|
|
338
|
+
"@keywords": { token: "keyword.$0" },
|
|
339
|
+
"@default": "identifier"
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
],
|
|
343
|
+
// Preprocessor directive
|
|
344
|
+
[/^\s*#\w+/, "keyword"],
|
|
345
|
+
// numbers
|
|
346
|
+
[/\d*\d+e([\-+]?\d+)?(@floatsuffix)/, "number.float"],
|
|
347
|
+
[/\d*\.\d+(e[\-+]?\d+)?(@floatsuffix)/, "number.float"],
|
|
348
|
+
[/&H[0-9a-f]+(@integersuffix)/, "number.hex"],
|
|
349
|
+
[/&0[0-7]+(@integersuffix)/, "number.octal"],
|
|
350
|
+
[/\d+(@integersuffix)/, "number"],
|
|
351
|
+
// date literal
|
|
352
|
+
[/#.*#/, "number"],
|
|
353
|
+
// delimiters and operators
|
|
354
|
+
[/[{}()\[\]]/, "@brackets"],
|
|
355
|
+
[/@symbols/, "delimiter"],
|
|
356
|
+
// strings
|
|
357
|
+
[/["\u201c\u201d]/, { token: "string.quote", next: "@string" }]
|
|
358
|
+
],
|
|
359
|
+
whitespace: [
|
|
360
|
+
[/[ \t\r\n]+/, ""],
|
|
361
|
+
[/(\'|REM(?!\w)).*$/, "comment"]
|
|
362
|
+
],
|
|
363
|
+
string: [
|
|
364
|
+
[/[^"\u201c\u201d]+/, "string"],
|
|
365
|
+
[/["\u201c\u201d]{2}/, "string.escape"],
|
|
366
|
+
[/["\u201c\u201d]C?/, { token: "string.quote", next: "@pop" }]
|
|
367
|
+
]
|
|
368
|
+
}
|
|
369
|
+
};
|
|
370
|
+
|
|
371
|
+
export { conf, language };
|