@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.
Files changed (165) hide show
  1. package/index.js +48 -82
  2. package/package.json +2 -2
  3. package/_.contribution.js +0 -74
  4. package/abap/abap.contribution.js +0 -19
  5. package/abap/abap.js +0 -1406
  6. package/apex/apex.contribution.js +0 -20
  7. package/apex/apex.js +0 -338
  8. package/azcli/azcli.contribution.js +0 -19
  9. package/azcli/azcli.js +0 -76
  10. package/bat/bat.contribution.js +0 -19
  11. package/bat/bat.js +0 -108
  12. package/bicep/bicep.contribution.js +0 -19
  13. package/bicep/bicep.js +0 -117
  14. package/cameligo/cameligo.contribution.js +0 -19
  15. package/cameligo/cameligo.js +0 -182
  16. package/clojure/clojure.contribution.js +0 -19
  17. package/clojure/clojure.js +0 -769
  18. package/coffee/coffee.contribution.js +0 -20
  19. package/coffee/coffee.js +0 -240
  20. package/cpp/cpp.contribution.js +0 -29
  21. package/cpp/cpp.js +0 -397
  22. package/csharp/csharp.contribution.js +0 -19
  23. package/csharp/csharp.js +0 -334
  24. package/csp/csp.contribution.js +0 -19
  25. package/csp/csp.js +0 -61
  26. package/css/css.contribution.js +0 -20
  27. package/css/css.js +0 -193
  28. package/cypher/cypher.contribution.js +0 -19
  29. package/cypher/cypher.js +0 -271
  30. package/dart/dart.contribution.js +0 -20
  31. package/dart/dart.js +0 -289
  32. package/dockerfile/dockerfile.contribution.js +0 -20
  33. package/dockerfile/dockerfile.js +0 -138
  34. package/ecl/ecl.contribution.js +0 -19
  35. package/ecl/ecl.js +0 -464
  36. package/elixir/elixir.contribution.js +0 -19
  37. package/elixir/elixir.js +0 -577
  38. package/flow9/flow9.contribution.js +0 -19
  39. package/flow9/flow9.js +0 -150
  40. package/freemarker2/freemarker2.contribution.js +0 -73
  41. package/freemarker2/freemarker2.js +0 -1016
  42. package/fsharp/fsharp.contribution.js +0 -19
  43. package/fsharp/fsharp.js +0 -225
  44. package/go/go.contribution.js +0 -19
  45. package/go/go.js +0 -226
  46. package/graphql/graphql.contribution.js +0 -20
  47. package/graphql/graphql.js +0 -159
  48. package/handlebars/handlebars.contribution.js +0 -20
  49. package/handlebars/handlebars.js +0 -439
  50. package/hcl/hcl.contribution.js +0 -19
  51. package/hcl/hcl.js +0 -191
  52. package/html/html.contribution.js +0 -20
  53. package/html/html.js +0 -328
  54. package/ini/ini.contribution.js +0 -20
  55. package/ini/ini.js +0 -79
  56. package/java/java.contribution.js +0 -20
  57. package/java/java.js +0 -240
  58. package/javascript/javascript.contribution.js +0 -22
  59. package/javascript/javascript.js +0 -77
  60. package/julia/julia.contribution.js +0 -19
  61. package/julia/julia.js +0 -519
  62. package/kotlin/kotlin.contribution.js +0 -20
  63. package/kotlin/kotlin.js +0 -261
  64. package/less/less.contribution.js +0 -20
  65. package/less/less.js +0 -169
  66. package/lexon/lexon.contribution.js +0 -19
  67. package/lexon/lexon.js +0 -165
  68. package/liquid/liquid.contribution.js +0 -20
  69. package/liquid/liquid.js +0 -260
  70. package/lua/lua.contribution.js +0 -19
  71. package/lua/lua.js +0 -170
  72. package/m3/m3.contribution.js +0 -19
  73. package/m3/m3.js +0 -218
  74. package/markdown/markdown.contribution.js +0 -19
  75. package/markdown/markdown.js +0 -237
  76. package/mdx/mdx.contribution.js +0 -19
  77. package/mdx/mdx.js +0 -184
  78. package/mips/mips.contribution.js +0 -20
  79. package/mips/mips.js +0 -206
  80. package/msdax/msdax.contribution.js +0 -19
  81. package/msdax/msdax.js +0 -383
  82. package/mysql/mysql.contribution.js +0 -19
  83. package/mysql/mysql.js +0 -886
  84. package/objective-c/objective-c.contribution.js +0 -19
  85. package/objective-c/objective-c.js +0 -191
  86. package/pascal/pascal.contribution.js +0 -20
  87. package/pascal/pascal.js +0 -259
  88. package/pascaligo/pascaligo.contribution.js +0 -19
  89. package/pascaligo/pascaligo.js +0 -172
  90. package/perl/perl.contribution.js +0 -19
  91. package/perl/perl.js +0 -634
  92. package/pgsql/pgsql.contribution.js +0 -19
  93. package/pgsql/pgsql.js +0 -859
  94. package/php/php.contribution.js +0 -20
  95. package/php/php.js +0 -508
  96. package/pla/pla.contribution.js +0 -18
  97. package/pla/pla.js +0 -145
  98. package/postiats/postiats.contribution.js +0 -19
  99. package/postiats/postiats.js +0 -915
  100. package/powerquery/powerquery.contribution.js +0 -19
  101. package/powerquery/powerquery.js +0 -898
  102. package/powershell/powershell.contribution.js +0 -19
  103. package/powershell/powershell.js +0 -247
  104. package/protobuf/protobuf.contribution.js +0 -19
  105. package/protobuf/protobuf.js +0 -428
  106. package/pug/pug.contribution.js +0 -19
  107. package/pug/pug.js +0 -410
  108. package/python/python.contribution.js +0 -20
  109. package/python/python.js +0 -320
  110. package/qsharp/qsharp.contribution.js +0 -19
  111. package/qsharp/qsharp.js +0 -309
  112. package/r/r.contribution.js +0 -19
  113. package/r/r.js +0 -251
  114. package/razor/razor.contribution.js +0 -20
  115. package/razor/razor.js +0 -570
  116. package/redis/redis.contribution.js +0 -19
  117. package/redis/redis.js +0 -310
  118. package/redshift/redshift.contribution.js +0 -19
  119. package/redshift/redshift.js +0 -817
  120. package/restructuredtext/restructuredtext.contribution.js +0 -19
  121. package/restructuredtext/restructuredtext.js +0 -182
  122. package/ruby/ruby.contribution.js +0 -20
  123. package/ruby/ruby.js +0 -519
  124. package/rust/rust.contribution.js +0 -19
  125. package/rust/rust.js +0 -351
  126. package/sb/sb.contribution.js +0 -19
  127. package/sb/sb.js +0 -123
  128. package/scala/scala.contribution.js +0 -20
  129. package/scala/scala.js +0 -378
  130. package/scheme/scheme.contribution.js +0 -19
  131. package/scheme/scheme.js +0 -116
  132. package/scss/scss.contribution.js +0 -20
  133. package/scss/scss.js +0 -268
  134. package/shell/shell.contribution.js +0 -19
  135. package/shell/shell.js +0 -229
  136. package/solidity/solidity.contribution.js +0 -19
  137. package/solidity/solidity.js +0 -1375
  138. package/sophia/sophia.contribution.js +0 -19
  139. package/sophia/sophia.js +0 -207
  140. package/sparql/sparql.contribution.js +0 -19
  141. package/sparql/sparql.js +0 -209
  142. package/sql/sql.contribution.js +0 -19
  143. package/sql/sql.js +0 -861
  144. package/st/st.contribution.js +0 -19
  145. package/st/st.js +0 -424
  146. package/swift/swift.contribution.js +0 -20
  147. package/swift/swift.js +0 -320
  148. package/systemverilog/systemverilog.contribution.js +0 -29
  149. package/systemverilog/systemverilog.js +0 -584
  150. package/tcl/tcl.contribution.js +0 -19
  151. package/tcl/tcl.js +0 -240
  152. package/twig/twig.contribution.js +0 -20
  153. package/twig/twig.js +0 -400
  154. package/typescript/typescript.contribution.js +0 -20
  155. package/typescript/typescript.js +0 -362
  156. package/typespec/typespec.contribution.js +0 -19
  157. package/typespec/typespec.js +0 -135
  158. package/vb/vb.contribution.js +0 -19
  159. package/vb/vb.js +0 -380
  160. package/wgsl/wgsl.contribution.js +0 -19
  161. package/wgsl/wgsl.js +0 -461
  162. package/xml/xml.contribution.js +0 -39
  163. package/xml/xml.js +0 -114
  164. package/yaml/yaml.contribution.js +0 -20
  165. package/yaml/yaml.js +0 -225
@@ -1,138 +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/dockerfile/dockerfile.ts
10
- var conf = {
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
- };
31
- var language = {
32
- defaultToken: "",
33
- tokenPostfix: ".dockerfile",
34
- variable: /\${?[\w]+}?/,
35
- tokenizer: {
36
- root: [
37
- { include: "@whitespace" },
38
- { include: "@comment" },
39
- [/(ONBUILD)(\s+)/, ["keyword", ""]],
40
- [/(ENV)(\s+)([\w]+)/, ["keyword", "", { token: "variable", next: "@arguments" }]],
41
- [
42
- /(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|ARG|VOLUME|LABEL|USER|WORKDIR|COPY|CMD|STOPSIGNAL|SHELL|HEALTHCHECK|ENTRYPOINT)/,
43
- { token: "keyword", next: "@arguments" }
44
- ]
45
- ],
46
- arguments: [
47
- { include: "@whitespace" },
48
- { include: "@strings" },
49
- [
50
- /(@variable)/,
51
- {
52
- cases: {
53
- "@eos": { token: "variable", next: "@popall" },
54
- "@default": "variable"
55
- }
56
- }
57
- ],
58
- [
59
- /\\/,
60
- {
61
- cases: {
62
- "@eos": "",
63
- "@default": ""
64
- }
65
- }
66
- ],
67
- [
68
- /./,
69
- {
70
- cases: {
71
- "@eos": { token: "", next: "@popall" },
72
- "@default": ""
73
- }
74
- }
75
- ]
76
- ],
77
- // Deal with white space, including comments
78
- whitespace: [
79
- [
80
- /\s+/,
81
- {
82
- cases: {
83
- "@eos": { token: "", next: "@popall" },
84
- "@default": ""
85
- }
86
- }
87
- ]
88
- ],
89
- comment: [[/(^#.*$)/, "comment", "@popall"]],
90
- // Recognize strings, including those broken across lines with \ (but not without)
91
- strings: [
92
- [/\\'$/, "", "@popall"],
93
- // \' leaves @arguments at eol
94
- [/\\'/, ""],
95
- // \' is not a string
96
- [/'$/, "string", "@popall"],
97
- [/'/, "string", "@stringBody"],
98
- [/"$/, "string", "@popall"],
99
- [/"/, "string", "@dblStringBody"]
100
- ],
101
- stringBody: [
102
- [
103
- /[^\\\$']/,
104
- {
105
- cases: {
106
- "@eos": { token: "string", next: "@popall" },
107
- "@default": "string"
108
- }
109
- }
110
- ],
111
- [/\\./, "string.escape"],
112
- [/'$/, "string", "@popall"],
113
- [/'/, "string", "@pop"],
114
- [/(@variable)/, "variable"],
115
- [/\\$/, "string"],
116
- [/$/, "string", "@popall"]
117
- ],
118
- dblStringBody: [
119
- [
120
- /[^\\\$"]/,
121
- {
122
- cases: {
123
- "@eos": { token: "string", next: "@popall" },
124
- "@default": "string"
125
- }
126
- }
127
- ],
128
- [/\\./, "string.escape"],
129
- [/"$/, "string", "@popall"],
130
- [/"/, "string", "@pop"],
131
- [/(@variable)/, "variable"],
132
- [/\\$/, "string"],
133
- [/$/, "string", "@popall"]
134
- ]
135
- }
136
- };
137
-
138
- export { conf, language };
@@ -1,19 +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: "ecl",
12
- extensions: [".ecl"],
13
- aliases: ["ECL", "Ecl", "ecl"],
14
- loader: () => {
15
- {
16
- return import('./ecl.js');
17
- }
18
- }
19
- });
package/ecl/ecl.js DELETED
@@ -1,464 +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/ecl/ecl.ts
10
- var conf = {
11
- comments: {
12
- lineComment: "//",
13
- blockComment: ["/*", "*/"]
14
- },
15
- brackets: [
16
- ["{", "}"],
17
- ["[", "]"],
18
- ["(", ")"]
19
- ],
20
- autoClosingPairs: [
21
- { open: "{", close: "}" },
22
- { open: "[", close: "]" },
23
- { open: "(", close: ")" },
24
- { open: "'", close: "'", notIn: ["string", "comment"] },
25
- { open: '"', close: '"', notIn: ["string", "comment"] }
26
- ],
27
- surroundingPairs: [
28
- { open: "{", close: "}" },
29
- { open: "[", close: "]" },
30
- { open: "(", close: ")" },
31
- { open: "<", close: ">" },
32
- { open: "'", close: "'" },
33
- { open: '"', close: '"' }
34
- ]
35
- };
36
- var language = {
37
- defaultToken: "",
38
- tokenPostfix: ".ecl",
39
- ignoreCase: true,
40
- brackets: [
41
- { open: "{", close: "}", token: "delimiter.curly" },
42
- { open: "[", close: "]", token: "delimiter.square" },
43
- { open: "(", close: ")", token: "delimiter.parenthesis" },
44
- { open: "<", close: ">", token: "delimiter.angle" }
45
- ],
46
- pounds: [
47
- "append",
48
- "break",
49
- "declare",
50
- "demangle",
51
- "end",
52
- "for",
53
- "getdatatype",
54
- "if",
55
- "inmodule",
56
- "loop",
57
- "mangle",
58
- "onwarning",
59
- "option",
60
- "set",
61
- "stored",
62
- "uniquename"
63
- ].join("|"),
64
- keywords: [
65
- "__compressed__",
66
- "after",
67
- "all",
68
- "and",
69
- "any",
70
- "as",
71
- "atmost",
72
- "before",
73
- "beginc",
74
- "best",
75
- "between",
76
- "case",
77
- "cluster",
78
- "compressed",
79
- "compression",
80
- "const",
81
- "counter",
82
- "csv",
83
- "default",
84
- "descend",
85
- "embed",
86
- "encoding",
87
- "encrypt",
88
- "end",
89
- "endc",
90
- "endembed",
91
- "endmacro",
92
- "enum",
93
- "escape",
94
- "except",
95
- "exclusive",
96
- "expire",
97
- "export",
98
- "extend",
99
- "fail",
100
- "few",
101
- "fileposition",
102
- "first",
103
- "flat",
104
- "forward",
105
- "from",
106
- "full",
107
- "function",
108
- "functionmacro",
109
- "group",
110
- "grouped",
111
- "heading",
112
- "hole",
113
- "ifblock",
114
- "import",
115
- "in",
116
- "inner",
117
- "interface",
118
- "internal",
119
- "joined",
120
- "keep",
121
- "keyed",
122
- "last",
123
- "left",
124
- "limit",
125
- "linkcounted",
126
- "literal",
127
- "little_endian",
128
- "load",
129
- "local",
130
- "locale",
131
- "lookup",
132
- "lzw",
133
- "macro",
134
- "many",
135
- "maxcount",
136
- "maxlength",
137
- "min skew",
138
- "module",
139
- "mofn",
140
- "multiple",
141
- "named",
142
- "namespace",
143
- "nocase",
144
- "noroot",
145
- "noscan",
146
- "nosort",
147
- "not",
148
- "noxpath",
149
- "of",
150
- "onfail",
151
- "only",
152
- "opt",
153
- "or",
154
- "outer",
155
- "overwrite",
156
- "packed",
157
- "partition",
158
- "penalty",
159
- "physicallength",
160
- "pipe",
161
- "prefetch",
162
- "quote",
163
- "record",
164
- "repeat",
165
- "retry",
166
- "return",
167
- "right",
168
- "right1",
169
- "right2",
170
- "rows",
171
- "rowset",
172
- "scan",
173
- "scope",
174
- "self",
175
- "separator",
176
- "service",
177
- "shared",
178
- "skew",
179
- "skip",
180
- "smart",
181
- "soapaction",
182
- "sql",
183
- "stable",
184
- "store",
185
- "terminator",
186
- "thor",
187
- "threshold",
188
- "timelimit",
189
- "timeout",
190
- "token",
191
- "transform",
192
- "trim",
193
- "type",
194
- "unicodeorder",
195
- "unordered",
196
- "unsorted",
197
- "unstable",
198
- "update",
199
- "use",
200
- "validate",
201
- "virtual",
202
- "whole",
203
- "width",
204
- "wild",
205
- "within",
206
- "wnotrim",
207
- "xml",
208
- "xpath"
209
- ],
210
- functions: [
211
- "abs",
212
- "acos",
213
- "aggregate",
214
- "allnodes",
215
- "apply",
216
- "ascii",
217
- "asin",
218
- "assert",
219
- "asstring",
220
- "atan",
221
- "atan2",
222
- "ave",
223
- "build",
224
- "buildindex",
225
- "case",
226
- "catch",
227
- "choose",
228
- "choosen",
229
- "choosesets",
230
- "clustersize",
231
- "combine",
232
- "correlation",
233
- "cos",
234
- "cosh",
235
- "count",
236
- "covariance",
237
- "cron",
238
- "dataset",
239
- "dedup",
240
- "define",
241
- "denormalize",
242
- "dictionary",
243
- "distribute",
244
- "distributed",
245
- "distribution",
246
- "ebcdic",
247
- "enth",
248
- "error",
249
- "evaluate",
250
- "event",
251
- "eventextra",
252
- "eventname",
253
- "exists",
254
- "exp",
255
- "fail",
256
- "failcode",
257
- "failmessage",
258
- "fetch",
259
- "fromunicode",
260
- "fromxml",
261
- "getenv",
262
- "getisvalid",
263
- "global",
264
- "graph",
265
- "group",
266
- "hash",
267
- "hash32",
268
- "hash64",
269
- "hashcrc",
270
- "hashmd5",
271
- "having",
272
- "httpcall",
273
- "httpheader",
274
- "if",
275
- "iff",
276
- "index",
277
- "intformat",
278
- "isvalid",
279
- "iterate",
280
- "join",
281
- "keydiff",
282
- "keypatch",
283
- "keyunicode",
284
- "length",
285
- "library",
286
- "limit",
287
- "ln",
288
- "loadxml",
289
- "local",
290
- "log",
291
- "loop",
292
- "map",
293
- "matched",
294
- "matchlength",
295
- "matchposition",
296
- "matchtext",
297
- "matchunicode",
298
- "max",
299
- "merge",
300
- "mergejoin",
301
- "min",
302
- "nofold",
303
- "nolocal",
304
- "nonempty",
305
- "normalize",
306
- "nothor",
307
- "notify",
308
- "output",
309
- "parallel",
310
- "parse",
311
- "pipe",
312
- "power",
313
- "preload",
314
- "process",
315
- "project",
316
- "pull",
317
- "random",
318
- "range",
319
- "rank",
320
- "ranked",
321
- "realformat",
322
- "recordof",
323
- "regexfind",
324
- "regexreplace",
325
- "regroup",
326
- "rejected",
327
- "rollup",
328
- "round",
329
- "roundup",
330
- "row",
331
- "rowdiff",
332
- "sample",
333
- "sequential",
334
- "set",
335
- "sin",
336
- "sinh",
337
- "sizeof",
338
- "soapcall",
339
- "sort",
340
- "sorted",
341
- "sqrt",
342
- "stepped",
343
- "stored",
344
- "sum",
345
- "table",
346
- "tan",
347
- "tanh",
348
- "thisnode",
349
- "topn",
350
- "tounicode",
351
- "toxml",
352
- "transfer",
353
- "transform",
354
- "trim",
355
- "truncate",
356
- "typeof",
357
- "ungroup",
358
- "unicodeorder",
359
- "variance",
360
- "wait",
361
- "which",
362
- "workunit",
363
- "xmldecode",
364
- "xmlencode",
365
- "xmltext",
366
- "xmlunicode"
367
- ],
368
- typesint: ["integer", "unsigned"].join("|"),
369
- typesnum: ["data", "qstring", "string", "unicode", "utf8", "varstring", "varunicode"],
370
- typesone: [
371
- "ascii",
372
- "big_endian",
373
- "boolean",
374
- "data",
375
- "decimal",
376
- "ebcdic",
377
- "grouped",
378
- "integer",
379
- "linkcounted",
380
- "pattern",
381
- "qstring",
382
- "real",
383
- "record",
384
- "rule",
385
- "set of",
386
- "streamed",
387
- "string",
388
- "token",
389
- "udecimal",
390
- "unicode",
391
- "unsigned",
392
- "utf8",
393
- "varstring",
394
- "varunicode"
395
- ].join("|"),
396
- operators: ["+", "-", "/", ":=", "<", "<>", "=", ">", "\\", "and", "in", "not", "or"],
397
- symbols: /[=><!~?:&|+\-*\/\^%]+/,
398
- // escape sequences
399
- escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
400
- // The main tokenizer for our languages
401
- tokenizer: {
402
- root: [
403
- [/@typesint[4|8]/, "type"],
404
- [/#(@pounds)/, "type"],
405
- [/@typesone/, "type"],
406
- [
407
- /[a-zA-Z_$][\w-$]*/,
408
- {
409
- cases: {
410
- "@functions": "keyword.function",
411
- "@keywords": "keyword",
412
- "@operators": "operator"
413
- }
414
- }
415
- ],
416
- // whitespace
417
- { include: "@whitespace" },
418
- [/[{}()\[\]]/, "@brackets"],
419
- [/[<>](?!@symbols)/, "@brackets"],
420
- [
421
- /@symbols/,
422
- {
423
- cases: {
424
- "@operators": "delimiter",
425
- "@default": ""
426
- }
427
- }
428
- ],
429
- // numbers
430
- [/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?/, "number.float"],
431
- [/0[xX][0-9a-fA-F_]+/, "number.hex"],
432
- [/0[bB][01]+/, "number.hex"],
433
- // binary: use same theme style as hex
434
- [/[0-9_]+/, "number"],
435
- // delimiter: after number because of .\d floats
436
- [/[;,.]/, "delimiter"],
437
- // strings
438
- [/"([^"\\]|\\.)*$/, "string.invalid"],
439
- [/"/, "string", "@string"],
440
- // characters
441
- [/'[^\\']'/, "string"],
442
- [/(')(@escapes)(')/, ["string", "string.escape", "string"]],
443
- [/'/, "string.invalid"]
444
- ],
445
- whitespace: [
446
- [/[ \t\v\f\r\n]+/, ""],
447
- [/\/\*/, "comment", "@comment"],
448
- [/\/\/.*$/, "comment"]
449
- ],
450
- comment: [
451
- [/[^\/*]+/, "comment"],
452
- [/\*\//, "comment", "@pop"],
453
- [/[\/*]/, "comment"]
454
- ],
455
- string: [
456
- [/[^\\']+/, "string"],
457
- [/@escapes/, "string.escape"],
458
- [/\\./, "string.escape.invalid"],
459
- [/'/, "string", "@pop"]
460
- ]
461
- }
462
- };
463
-
464
- export { conf, language };
@@ -1,19 +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: "elixir",
12
- extensions: [".ex", ".exs"],
13
- aliases: ["Elixir", "elixir", "ex"],
14
- loader: () => {
15
- {
16
- return import('./elixir.js');
17
- }
18
- }
19
- });