monacozen 0.0.1 → 0.1.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 (109) hide show
  1. package/README.md +124 -0
  2. package/assets/antimono-ClsI0fxy.js +5 -0
  3. package/assets/antimono-zBXMptjq.css +1 -0
  4. package/assets/azcli-ue5GhsHI.js +55 -0
  5. package/assets/bat-C6DzPBcU.js +125 -0
  6. package/assets/bicep-B6UDBWZN.js +220 -0
  7. package/assets/cameligo-BoKy-zSd.js +191 -0
  8. package/assets/clojure-D8WHGr6v.js +148 -0
  9. package/assets/coffee-C16Mnhbm.js +262 -0
  10. package/assets/cpp-_HbkGdoj.js +232 -0
  11. package/assets/csharp-DeGXkEgi.js +262 -0
  12. package/assets/csp-DGVEba9U.js +48 -0
  13. package/assets/css-DmO2GtiT.js +286 -0
  14. package/assets/css.worker-B59bB4vF.js +6 -0
  15. package/assets/css.worker-zFzGcGyJ.js +96 -0
  16. package/assets/cssMode-B-yiAIn5.js +65 -0
  17. package/assets/cypher-5654EJL_.js +214 -0
  18. package/assets/dart-BjXVSQM-.js +238 -0
  19. package/assets/dist-Bx9hOuoB.js +624 -0
  20. package/assets/dockerfile-DSA8TJLS.js +193 -0
  21. package/assets/ecl-DoDWSDGs.js +228 -0
  22. package/assets/editor.api-C_6h_pYy.js +83476 -0
  23. package/assets/editorWebWorkerMain-Cpqca1A3.js +6 -0
  24. package/assets/editorWebWorkerMain-_4oyTYIl.js +33 -0
  25. package/assets/elixir-CzC02SL7.js +525 -0
  26. package/assets/freemarker2-Jvnudjht.js +718 -0
  27. package/assets/fsharp-DRGCXPNW.js +149 -0
  28. package/assets/go-CyErB8P9.js +167 -0
  29. package/assets/graphql-CNnvnjR8.js +176 -0
  30. package/assets/handlebars-B9HHtHT5.js +412 -0
  31. package/assets/hcl-D4a6HBjk.js +221 -0
  32. package/assets/html-B5_5MvV-.js +333 -0
  33. package/assets/html.worker-Czi9KUKj.js +6 -0
  34. package/assets/html.worker-D4M1xqlZ.js +509 -0
  35. package/assets/htmlMode-DcETbRqN.js +74 -0
  36. package/assets/ini-CpSjysbn.js +96 -0
  37. package/assets/java-DkRrYYRp.js +175 -0
  38. package/assets/javascript-Da2MNB2t.js +20 -0
  39. package/assets/json.worker-D3-21m4I.js +65 -0
  40. package/assets/json.worker-pkLWnKxn.js +6 -0
  41. package/assets/jsonMode-BtwFVp_X.js +450 -0
  42. package/assets/julia-DXDdnD4p.js +416 -0
  43. package/assets/kotlin-BNDyMshT.js +184 -0
  44. package/assets/less-3yDKfG4U.js +244 -0
  45. package/assets/liquid-DCciKNzb.js +199 -0
  46. package/assets/lspLanguageFeatures-CAn_K3Js.js +1455 -0
  47. package/assets/lua-CqDy9oHE.js +202 -0
  48. package/assets/m3-DyBtJGhR.js +195 -0
  49. package/assets/main-16cPxgwS.js +107 -0
  50. package/assets/main-CB71Lf5W.js +129 -0
  51. package/assets/main-HEYSEiwe.js +66 -0
  52. package/assets/markdown-DIkeztiD.js +264 -0
  53. package/assets/mdx-BcOG7QFm.js +329 -0
  54. package/assets/mips-BUbWxz0r.js +130 -0
  55. package/assets/monaco-BMsB0TPD.js +39430 -0
  56. package/assets/monaco-ffd8b062.css +3 -0
  57. package/assets/msdax-95fojGvn.js +158 -0
  58. package/assets/mysql-CX3tETwr.js +170 -0
  59. package/assets/objective-c-CK2i53vc.js +146 -0
  60. package/assets/pascal-wnGRqmNG.js +178 -0
  61. package/assets/pascaligo-DR2NqTqc.js +203 -0
  62. package/assets/perl-DXuijcFO.js +318 -0
  63. package/assets/pgsql-BFvD7ctB.js +160 -0
  64. package/assets/php-FZHoZ5C_.js +473 -0
  65. package/assets/pla-Cmb_VVG6.js +148 -0
  66. package/assets/postiats-DUwtyBVk.js +506 -0
  67. package/assets/powerquery-wUlwxvME.js +192 -0
  68. package/assets/powershell-Wf4X7WOf.js +213 -0
  69. package/assets/protobuf-CcMDFVG6.js +661 -0
  70. package/assets/pug-OPBd_9cN.js +302 -0
  71. package/assets/python-D2Z49Cw8.js +254 -0
  72. package/assets/qsharp-C4P6iWbB.js +145 -0
  73. package/assets/r-FHjiK9Ff.js +191 -0
  74. package/assets/razor-CfcSDTvR.js +519 -0
  75. package/assets/redis-CLJ_Tkzp.js +125 -0
  76. package/assets/redshift-Cn0YgnO8.js +160 -0
  77. package/assets/restructuredtext-Ckzl4aRZ.js +289 -0
  78. package/assets/ruby-Dhjv9xsd.js +529 -0
  79. package/assets/rust-Bq7le2bN.js +180 -0
  80. package/assets/scala-Bth6QY64.js +553 -0
  81. package/assets/scheme-BHXdn3HT.js +172 -0
  82. package/assets/scss-DVPfVfp2.js +419 -0
  83. package/assets/shell-DYY2DoAm.js +225 -0
  84. package/assets/solidity-C2dWya5C.js +149 -0
  85. package/assets/sophia-BdPli0VA.js +149 -0
  86. package/assets/sparql-Ca6NBL_y.js +126 -0
  87. package/assets/sql-CE5EfRV1.js +173 -0
  88. package/assets/st-BKcHiAlg.js +478 -0
  89. package/assets/swift-v0LuaFKN.js +215 -0
  90. package/assets/systemverilog-BRC61WOW.js +300 -0
  91. package/assets/tcl-Xx48oN1j.js +225 -0
  92. package/assets/ts.worker-CokkJ1Lk.js +6 -0
  93. package/assets/ts.worker-De3FAST6.js +67741 -0
  94. package/assets/tsMode-cdcRizUc.js +567 -0
  95. package/assets/twig-Dq5WyzaF.js +390 -0
  96. package/assets/typescript-B25ZZJLy.js +257 -0
  97. package/assets/typespec-DVZXVZWY.js +236 -0
  98. package/assets/vb--Ows3SAS.js +262 -0
  99. package/assets/wgsl-gwRTfDFE.js +147 -0
  100. package/assets/workers-qpP7-_JR.js +48 -0
  101. package/assets/xml-BD6eVsMx.js +130 -0
  102. package/assets/yaml-unVkvP57.js +223 -0
  103. package/lib.d.ts +8379 -0
  104. package/package.json +1 -1
  105. package/src/main.js +24 -0
  106. package/index.d.ts +0 -6
  107. package/index.js +0 -1
  108. package/readme.md +0 -1
  109. /package/{license.txt → LICENSE} +0 -0
@@ -0,0 +1,478 @@
1
+ //#region node_modules/.bun/monaco-editor@0.56.0/node_modules/monaco-editor/esm/vs/languages/definitions/st/st.js
2
+ var e = {
3
+ comments: {
4
+ lineComment: "//",
5
+ blockComment: ["(*", "*)"]
6
+ },
7
+ brackets: [
8
+ ["{", "}"],
9
+ ["[", "]"],
10
+ ["(", ")"],
11
+ ["var", "end_var"],
12
+ ["var_input", "end_var"],
13
+ ["var_output", "end_var"],
14
+ ["var_in_out", "end_var"],
15
+ ["var_temp", "end_var"],
16
+ ["var_global", "end_var"],
17
+ ["var_access", "end_var"],
18
+ ["var_external", "end_var"],
19
+ ["type", "end_type"],
20
+ ["struct", "end_struct"],
21
+ ["program", "end_program"],
22
+ ["function", "end_function"],
23
+ ["function_block", "end_function_block"],
24
+ ["action", "end_action"],
25
+ ["step", "end_step"],
26
+ ["initial_step", "end_step"],
27
+ ["transaction", "end_transaction"],
28
+ ["configuration", "end_configuration"],
29
+ ["tcp", "end_tcp"],
30
+ ["recource", "end_recource"],
31
+ ["channel", "end_channel"],
32
+ ["library", "end_library"],
33
+ ["folder", "end_folder"],
34
+ ["binaries", "end_binaries"],
35
+ ["includes", "end_includes"],
36
+ ["sources", "end_sources"]
37
+ ],
38
+ autoClosingPairs: [
39
+ {
40
+ open: "[",
41
+ close: "]"
42
+ },
43
+ {
44
+ open: "{",
45
+ close: "}"
46
+ },
47
+ {
48
+ open: "(",
49
+ close: ")"
50
+ },
51
+ {
52
+ open: "/*",
53
+ close: "*/"
54
+ },
55
+ {
56
+ open: "'",
57
+ close: "'",
58
+ notIn: ["string_sq"]
59
+ },
60
+ {
61
+ open: "\"",
62
+ close: "\"",
63
+ notIn: ["string_dq"]
64
+ },
65
+ {
66
+ open: "var_input",
67
+ close: "end_var"
68
+ },
69
+ {
70
+ open: "var_output",
71
+ close: "end_var"
72
+ },
73
+ {
74
+ open: "var_in_out",
75
+ close: "end_var"
76
+ },
77
+ {
78
+ open: "var_temp",
79
+ close: "end_var"
80
+ },
81
+ {
82
+ open: "var_global",
83
+ close: "end_var"
84
+ },
85
+ {
86
+ open: "var_access",
87
+ close: "end_var"
88
+ },
89
+ {
90
+ open: "var_external",
91
+ close: "end_var"
92
+ },
93
+ {
94
+ open: "type",
95
+ close: "end_type"
96
+ },
97
+ {
98
+ open: "struct",
99
+ close: "end_struct"
100
+ },
101
+ {
102
+ open: "program",
103
+ close: "end_program"
104
+ },
105
+ {
106
+ open: "function",
107
+ close: "end_function"
108
+ },
109
+ {
110
+ open: "function_block",
111
+ close: "end_function_block"
112
+ },
113
+ {
114
+ open: "action",
115
+ close: "end_action"
116
+ },
117
+ {
118
+ open: "step",
119
+ close: "end_step"
120
+ },
121
+ {
122
+ open: "initial_step",
123
+ close: "end_step"
124
+ },
125
+ {
126
+ open: "transaction",
127
+ close: "end_transaction"
128
+ },
129
+ {
130
+ open: "configuration",
131
+ close: "end_configuration"
132
+ },
133
+ {
134
+ open: "tcp",
135
+ close: "end_tcp"
136
+ },
137
+ {
138
+ open: "recource",
139
+ close: "end_recource"
140
+ },
141
+ {
142
+ open: "channel",
143
+ close: "end_channel"
144
+ },
145
+ {
146
+ open: "library",
147
+ close: "end_library"
148
+ },
149
+ {
150
+ open: "folder",
151
+ close: "end_folder"
152
+ },
153
+ {
154
+ open: "binaries",
155
+ close: "end_binaries"
156
+ },
157
+ {
158
+ open: "includes",
159
+ close: "end_includes"
160
+ },
161
+ {
162
+ open: "sources",
163
+ close: "end_sources"
164
+ }
165
+ ],
166
+ surroundingPairs: [
167
+ {
168
+ open: "{",
169
+ close: "}"
170
+ },
171
+ {
172
+ open: "[",
173
+ close: "]"
174
+ },
175
+ {
176
+ open: "(",
177
+ close: ")"
178
+ },
179
+ {
180
+ open: "\"",
181
+ close: "\""
182
+ },
183
+ {
184
+ open: "'",
185
+ close: "'"
186
+ },
187
+ {
188
+ open: "var",
189
+ close: "end_var"
190
+ },
191
+ {
192
+ open: "var_input",
193
+ close: "end_var"
194
+ },
195
+ {
196
+ open: "var_output",
197
+ close: "end_var"
198
+ },
199
+ {
200
+ open: "var_in_out",
201
+ close: "end_var"
202
+ },
203
+ {
204
+ open: "var_temp",
205
+ close: "end_var"
206
+ },
207
+ {
208
+ open: "var_global",
209
+ close: "end_var"
210
+ },
211
+ {
212
+ open: "var_access",
213
+ close: "end_var"
214
+ },
215
+ {
216
+ open: "var_external",
217
+ close: "end_var"
218
+ },
219
+ {
220
+ open: "type",
221
+ close: "end_type"
222
+ },
223
+ {
224
+ open: "struct",
225
+ close: "end_struct"
226
+ },
227
+ {
228
+ open: "program",
229
+ close: "end_program"
230
+ },
231
+ {
232
+ open: "function",
233
+ close: "end_function"
234
+ },
235
+ {
236
+ open: "function_block",
237
+ close: "end_function_block"
238
+ },
239
+ {
240
+ open: "action",
241
+ close: "end_action"
242
+ },
243
+ {
244
+ open: "step",
245
+ close: "end_step"
246
+ },
247
+ {
248
+ open: "initial_step",
249
+ close: "end_step"
250
+ },
251
+ {
252
+ open: "transaction",
253
+ close: "end_transaction"
254
+ },
255
+ {
256
+ open: "configuration",
257
+ close: "end_configuration"
258
+ },
259
+ {
260
+ open: "tcp",
261
+ close: "end_tcp"
262
+ },
263
+ {
264
+ open: "recource",
265
+ close: "end_recource"
266
+ },
267
+ {
268
+ open: "channel",
269
+ close: "end_channel"
270
+ },
271
+ {
272
+ open: "library",
273
+ close: "end_library"
274
+ },
275
+ {
276
+ open: "folder",
277
+ close: "end_folder"
278
+ },
279
+ {
280
+ open: "binaries",
281
+ close: "end_binaries"
282
+ },
283
+ {
284
+ open: "includes",
285
+ close: "end_includes"
286
+ },
287
+ {
288
+ open: "sources",
289
+ close: "end_sources"
290
+ }
291
+ ],
292
+ folding: { markers: {
293
+ start: /* @__PURE__ */ RegExp("^\\s*#pragma\\s+region\\b"),
294
+ end: /* @__PURE__ */ RegExp("^\\s*#pragma\\s+endregion\\b")
295
+ } }
296
+ }, t = {
297
+ defaultToken: "",
298
+ tokenPostfix: ".st",
299
+ ignoreCase: !0,
300
+ brackets: [
301
+ {
302
+ token: "delimiter.curly",
303
+ open: "{",
304
+ close: "}"
305
+ },
306
+ {
307
+ token: "delimiter.parenthesis",
308
+ open: "(",
309
+ close: ")"
310
+ },
311
+ {
312
+ token: "delimiter.square",
313
+ open: "[",
314
+ close: "]"
315
+ }
316
+ ],
317
+ keywords: /* @__PURE__ */ "if.end_if.elsif.else.case.of.to.__try.__catch.__finally.do.with.by.while.repeat.end_while.end_repeat.end_case.for.end_for.task.retain.non_retain.constant.with.at.exit.return.interval.priority.address.port.on_channel.then.iec.file.uses.version.packagetype.displayname.copyright.summary.vendor.common_source.from.extends.implements".split("."),
318
+ constant: [
319
+ "false",
320
+ "true",
321
+ "null"
322
+ ],
323
+ defineKeywords: /* @__PURE__ */ "var.var_input.var_output.var_in_out.var_temp.var_global.var_access.var_external.end_var.type.end_type.struct.end_struct.program.end_program.function.end_function.function_block.end_function_block.interface.end_interface.method.end_method.property.end_property.namespace.end_namespace.configuration.end_configuration.tcp.end_tcp.resource.end_resource.channel.end_channel.library.end_library.folder.end_folder.binaries.end_binaries.includes.end_includes.sources.end_sources.action.end_action.step.initial_step.end_step.transaction.end_transaction".split("."),
324
+ typeKeywords: [
325
+ "int",
326
+ "sint",
327
+ "dint",
328
+ "lint",
329
+ "usint",
330
+ "uint",
331
+ "udint",
332
+ "ulint",
333
+ "real",
334
+ "lreal",
335
+ "time",
336
+ "date",
337
+ "time_of_day",
338
+ "date_and_time",
339
+ "string",
340
+ "bool",
341
+ "byte",
342
+ "word",
343
+ "dword",
344
+ "array",
345
+ "pointer",
346
+ "lword"
347
+ ],
348
+ operators: /* @__PURE__ */ "=.>.<.:.:=.<=.>=.<>.&.+.-.*.**.MOD.^.or.and.not.xor.abs.acos.asin.atan.cos.exp.expt.ln.log.sin.sqrt.tan.sel.max.min.limit.mux.shl.shr.rol.ror.indexof.sizeof.adr.adrinst.bitadr.is_valid.ref.ref_to".split("."),
349
+ builtinVariables: [],
350
+ builtinFunctions: /* @__PURE__ */ "sr.rs.tp.ton.tof.eq.ge.le.lt.ne.round.trunc.ctd.сtu.ctud.r_trig.f_trig.move.concat.delete.find.insert.left.len.replace.right.rtc".split("."),
351
+ symbols: /[=><!~?:&|+\-*\/\^%]+/,
352
+ escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
353
+ tokenizer: {
354
+ root: [
355
+ [/(\.\.)/, "delimiter"],
356
+ [/\b(16#[0-9A-Fa-f\_]*)+\b/, "number.hex"],
357
+ [/\b(2#[01\_]+)+\b/, "number.binary"],
358
+ [/\b(8#[0-9\_]*)+\b/, "number.octal"],
359
+ [/\b\d*\.\d+([eE][\-+]?\d+)?\b/, "number.float"],
360
+ [/\b(L?REAL)#[0-9\_\.e]+\b/, "number.float"],
361
+ [/\b(BYTE|(?:D|L)?WORD|U?(?:S|D|L)?INT)#[0-9\_]+\b/, "number"],
362
+ [/\d+/, "number"],
363
+ [/\b(T|DT|TOD)#[0-9:-_shmyd]+\b/, "tag"],
364
+ [/\%(I|Q|M)(X|B|W|D|L)[0-9\.]+/, "tag"],
365
+ [/\%(I|Q|M)[0-9\.]*/, "tag"],
366
+ [/\b[A-Za-z]{1,6}#[0-9]+\b/, "tag"],
367
+ [/\b(TO_|CTU_|CTD_|CTUD_|MUX_|SEL_)[A_Za-z]+\b/, "predefined"],
368
+ [/\b[A_Za-z]+(_TO_)[A_Za-z]+\b/, "predefined"],
369
+ [/[;]/, "delimiter"],
370
+ [/[.]/, {
371
+ token: "delimiter",
372
+ next: "@params"
373
+ }],
374
+ [/[a-zA-Z_]\w*/, { cases: {
375
+ "@operators": "operators",
376
+ "@keywords": "keyword",
377
+ "@typeKeywords": "type",
378
+ "@defineKeywords": "variable",
379
+ "@constant": "constant",
380
+ "@builtinVariables": "predefined",
381
+ "@builtinFunctions": "predefined",
382
+ "@default": "identifier"
383
+ } }],
384
+ { include: "@whitespace" },
385
+ [/[{}()\[\]]/, "@brackets"],
386
+ [/"([^"\\]|\\.)*$/, "string.invalid"],
387
+ [/"/, {
388
+ token: "string.quote",
389
+ bracket: "@open",
390
+ next: "@string_dq"
391
+ }],
392
+ [/'/, {
393
+ token: "string.quote",
394
+ bracket: "@open",
395
+ next: "@string_sq"
396
+ }],
397
+ [/'[^\\']'/, "string"],
398
+ [/(')(@escapes)(')/, [
399
+ "string",
400
+ "string.escape",
401
+ "string"
402
+ ]],
403
+ [/'/, "string.invalid"]
404
+ ],
405
+ params: [[/\b[A-Za-z0-9_]+\b(?=\()/, {
406
+ token: "identifier",
407
+ next: "@pop"
408
+ }], [
409
+ /\b[A-Za-z0-9_]+\b/,
410
+ "variable.name",
411
+ "@pop"
412
+ ]],
413
+ comment: [
414
+ [/[^\/*]+/, "comment"],
415
+ [
416
+ /\/\*/,
417
+ "comment",
418
+ "@push"
419
+ ],
420
+ [
421
+ "\\*/",
422
+ "comment",
423
+ "@pop"
424
+ ],
425
+ [/[\/*]/, "comment"]
426
+ ],
427
+ comment2: [
428
+ [/[^\(*]+/, "comment"],
429
+ [
430
+ /\(\*/,
431
+ "comment",
432
+ "@push"
433
+ ],
434
+ [
435
+ "\\*\\)",
436
+ "comment",
437
+ "@pop"
438
+ ],
439
+ [/[\(*]/, "comment"]
440
+ ],
441
+ whitespace: [
442
+ [/[ \t\r\n]+/, "white"],
443
+ [/\/\/.*$/, "comment"],
444
+ [
445
+ /\/\*/,
446
+ "comment",
447
+ "@comment"
448
+ ],
449
+ [
450
+ /\(\*/,
451
+ "comment",
452
+ "@comment2"
453
+ ]
454
+ ],
455
+ string_dq: [
456
+ [/[^\\"]+/, "string"],
457
+ [/@escapes/, "string.escape"],
458
+ [/\\./, "string.escape.invalid"],
459
+ [/"/, {
460
+ token: "string.quote",
461
+ bracket: "@close",
462
+ next: "@pop"
463
+ }]
464
+ ],
465
+ string_sq: [
466
+ [/[^\\']+/, "string"],
467
+ [/@escapes/, "string.escape"],
468
+ [/\\./, "string.escape.invalid"],
469
+ [/'/, {
470
+ token: "string.quote",
471
+ bracket: "@close",
472
+ next: "@pop"
473
+ }]
474
+ ]
475
+ }
476
+ };
477
+ //#endregion
478
+ export { e as conf, t as language };
@@ -0,0 +1,215 @@
1
+ //#region node_modules/.bun/monaco-editor@0.56.0/node_modules/monaco-editor/esm/vs/languages/definitions/swift/swift.js
2
+ var e = {
3
+ comments: {
4
+ lineComment: "//",
5
+ blockComment: ["/*", "*/"]
6
+ },
7
+ brackets: [
8
+ ["{", "}"],
9
+ ["[", "]"],
10
+ ["(", ")"]
11
+ ],
12
+ autoClosingPairs: [
13
+ {
14
+ open: "{",
15
+ close: "}"
16
+ },
17
+ {
18
+ open: "[",
19
+ close: "]"
20
+ },
21
+ {
22
+ open: "(",
23
+ close: ")"
24
+ },
25
+ {
26
+ open: "\"",
27
+ close: "\""
28
+ },
29
+ {
30
+ open: "'",
31
+ close: "'"
32
+ },
33
+ {
34
+ open: "`",
35
+ close: "`"
36
+ }
37
+ ],
38
+ surroundingPairs: [
39
+ {
40
+ open: "{",
41
+ close: "}"
42
+ },
43
+ {
44
+ open: "[",
45
+ close: "]"
46
+ },
47
+ {
48
+ open: "(",
49
+ close: ")"
50
+ },
51
+ {
52
+ open: "\"",
53
+ close: "\""
54
+ },
55
+ {
56
+ open: "'",
57
+ close: "'"
58
+ },
59
+ {
60
+ open: "`",
61
+ close: "`"
62
+ }
63
+ ]
64
+ }, t = {
65
+ defaultToken: "",
66
+ tokenPostfix: ".swift",
67
+ identifier: /[a-zA-Z_][\w$]*/,
68
+ attributes: /* @__PURE__ */ "@GKInspectable.@IBAction.@IBDesignable.@IBInspectable.@IBOutlet.@IBSegueAction.@NSApplicationMain.@NSCopying.@NSManaged.@Sendable.@UIApplicationMain.@autoclosure.@actorIndependent.@asyncHandler.@available.@convention.@derivative.@differentiable.@discardableResult.@dynamicCallable.@dynamicMemberLookup.@escaping.@frozen.@globalActor.@inlinable.@inline.@main.@noDerivative.@nonobjc.@noreturn.@objc.@objcMembers.@preconcurrency.@propertyWrapper.@requires_stored_property_inits.@resultBuilder.@testable.@unchecked.@unknown.@usableFromInline.@warn_unqualified_access".split("."),
69
+ accessmodifiers: [
70
+ "open",
71
+ "public",
72
+ "internal",
73
+ "fileprivate",
74
+ "private"
75
+ ],
76
+ keywords: /* @__PURE__ */ "#available.#colorLiteral.#column.#dsohandle.#else.#elseif.#endif.#error.#file.#fileID.#fileLiteral.#filePath.#function.#if.#imageLiteral.#keyPath.#line.#selector.#sourceLocation.#warning.Any.Protocol.Self.Type.actor.as.assignment.associatedtype.associativity.async.await.break.case.catch.class.continue.convenience.default.defer.deinit.didSet.do.dynamic.dynamicType.else.enum.extension.fallthrough.false.fileprivate.final.for.func.get.guard.higherThan.if.import.in.indirect.infix.init.inout.internal.is.isolated.lazy.left.let.lowerThan.mutating.nil.none.nonisolated.nonmutating.open.operator.optional.override.postfix.precedence.precedencegroup.prefix.private.protocol.public.repeat.required.rethrows.return.right.safe.self.set.some.static.struct.subscript.super.switch.throw.throws.true.try.typealias.unowned.unsafe.var.weak.where.while.willSet.__consuming.__owned".split("."),
77
+ symbols: /[=(){}\[\].,:;@#\_&\-<>`?!+*\\\/]/,
78
+ operatorstart: /[\/=\-+!*%<>&|^~?\u00A1-\u00A7\u00A9\u00AB\u00AC\u00AE\u00B0-\u00B1\u00B6\u00BB\u00BF\u00D7\u00F7\u2016-\u2017\u2020-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u23FF\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3030]/,
79
+ operatorend: /[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE00-\uFE0F\uFE20-\uFE2F\uE0100-\uE01EF]/,
80
+ operators: /(@operatorstart)((@operatorstart)|(@operatorend))*/,
81
+ escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
82
+ tokenizer: {
83
+ root: [
84
+ { include: "@whitespace" },
85
+ { include: "@comment" },
86
+ { include: "@attribute" },
87
+ { include: "@literal" },
88
+ { include: "@keyword" },
89
+ { include: "@invokedmethod" },
90
+ { include: "@symbol" }
91
+ ],
92
+ whitespace: [[/\s+/, "white"], [
93
+ /"""/,
94
+ "string.quote",
95
+ "@endDblDocString"
96
+ ]],
97
+ endDblDocString: [
98
+ [/[^"]+/, "string"],
99
+ [/\\"/, "string"],
100
+ [
101
+ /"""/,
102
+ "string.quote",
103
+ "@popall"
104
+ ],
105
+ [/"/, "string"]
106
+ ],
107
+ symbol: [
108
+ [/[{}()\[\]]/, "@brackets"],
109
+ [/[<>](?!@symbols)/, "@brackets"],
110
+ [/[.]/, "delimiter"],
111
+ [/@operators/, "operator"],
112
+ [/@symbols/, "operator"]
113
+ ],
114
+ comment: [
115
+ [/\/\/\/.*$/, "comment.doc"],
116
+ [
117
+ /\/\*\*/,
118
+ "comment.doc",
119
+ "@commentdocbody"
120
+ ],
121
+ [/\/\/.*$/, "comment"],
122
+ [
123
+ /\/\*/,
124
+ "comment",
125
+ "@commentbody"
126
+ ]
127
+ ],
128
+ commentdocbody: [
129
+ [
130
+ /\/\*/,
131
+ "comment",
132
+ "@commentbody"
133
+ ],
134
+ [
135
+ /\*\//,
136
+ "comment.doc",
137
+ "@pop"
138
+ ],
139
+ [/\:[a-zA-Z]+\:/, "comment.doc.param"],
140
+ [/./, "comment.doc"]
141
+ ],
142
+ commentbody: [
143
+ [
144
+ /\/\*/,
145
+ "comment",
146
+ "@commentbody"
147
+ ],
148
+ [
149
+ /\*\//,
150
+ "comment",
151
+ "@pop"
152
+ ],
153
+ [/./, "comment"]
154
+ ],
155
+ attribute: [[/@@@identifier/, { cases: {
156
+ "@attributes": "keyword.control",
157
+ "@default": ""
158
+ } }]],
159
+ literal: [
160
+ [/"/, {
161
+ token: "string.quote",
162
+ next: "@stringlit"
163
+ }],
164
+ [/0[b]([01]_?)+/, "number.binary"],
165
+ [/0[o]([0-7]_?)+/, "number.octal"],
166
+ [/0[x]([0-9a-fA-F]_?)+([pP][\-+](\d_?)+)?/, "number.hex"],
167
+ [/(\d_?)*\.(\d_?)+([eE][\-+]?(\d_?)+)?/, "number.float"],
168
+ [/(\d_?)+/, "number"]
169
+ ],
170
+ stringlit: [
171
+ [/\\\(/, {
172
+ token: "operator",
173
+ next: "@interpolatedexpression"
174
+ }],
175
+ [/@escapes/, "string"],
176
+ [/\\./, "string.escape.invalid"],
177
+ [/"/, {
178
+ token: "string.quote",
179
+ next: "@pop"
180
+ }],
181
+ [/./, "string"]
182
+ ],
183
+ interpolatedexpression: [
184
+ [/\(/, {
185
+ token: "operator",
186
+ next: "@interpolatedexpression"
187
+ }],
188
+ [/\)/, {
189
+ token: "operator",
190
+ next: "@pop"
191
+ }],
192
+ { include: "@literal" },
193
+ { include: "@keyword" },
194
+ { include: "@symbol" }
195
+ ],
196
+ keyword: [[/`/, {
197
+ token: "operator",
198
+ next: "@escapedkeyword"
199
+ }], [/@identifier/, { cases: {
200
+ "@keywords": "keyword",
201
+ "[A-Z][a-zA-Z0-9$]*": "type.identifier",
202
+ "@default": "identifier"
203
+ } }]],
204
+ escapedkeyword: [[/`/, {
205
+ token: "operator",
206
+ next: "@pop"
207
+ }], [/./, "identifier"]],
208
+ invokedmethod: [[/([.])(@identifier)/, { cases: {
209
+ $2: ["delimeter", "type.identifier"],
210
+ "@default": ""
211
+ } }]]
212
+ }
213
+ };
214
+ //#endregion
215
+ export { e as conf, t as language };