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,300 @@
1
+ //#region node_modules/.bun/monaco-editor@0.56.0/node_modules/monaco-editor/esm/vs/languages/definitions/systemverilog/systemverilog.js
2
+ var e = {
3
+ comments: {
4
+ lineComment: "//",
5
+ blockComment: ["/*", "*/"]
6
+ },
7
+ brackets: [
8
+ ["{", "}"],
9
+ ["[", "]"],
10
+ ["(", ")"],
11
+ ["begin", "end"],
12
+ ["case", "endcase"],
13
+ ["casex", "endcase"],
14
+ ["casez", "endcase"],
15
+ ["checker", "endchecker"],
16
+ ["class", "endclass"],
17
+ ["clocking", "endclocking"],
18
+ ["config", "endconfig"],
19
+ ["function", "endfunction"],
20
+ ["generate", "endgenerate"],
21
+ ["group", "endgroup"],
22
+ ["interface", "endinterface"],
23
+ ["module", "endmodule"],
24
+ ["package", "endpackage"],
25
+ ["primitive", "endprimitive"],
26
+ ["program", "endprogram"],
27
+ ["property", "endproperty"],
28
+ ["specify", "endspecify"],
29
+ ["sequence", "endsequence"],
30
+ ["table", "endtable"],
31
+ ["task", "endtask"]
32
+ ],
33
+ autoClosingPairs: [
34
+ {
35
+ open: "[",
36
+ close: "]"
37
+ },
38
+ {
39
+ open: "{",
40
+ close: "}"
41
+ },
42
+ {
43
+ open: "(",
44
+ close: ")"
45
+ },
46
+ {
47
+ open: "'",
48
+ close: "'",
49
+ notIn: ["string", "comment"]
50
+ },
51
+ {
52
+ open: "\"",
53
+ close: "\"",
54
+ notIn: ["string"]
55
+ }
56
+ ],
57
+ surroundingPairs: [
58
+ {
59
+ open: "{",
60
+ close: "}"
61
+ },
62
+ {
63
+ open: "[",
64
+ close: "]"
65
+ },
66
+ {
67
+ open: "(",
68
+ close: ")"
69
+ },
70
+ {
71
+ open: "\"",
72
+ close: "\""
73
+ },
74
+ {
75
+ open: "'",
76
+ close: "'"
77
+ }
78
+ ],
79
+ folding: {
80
+ offSide: !1,
81
+ markers: {
82
+ start: /* @__PURE__ */ RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:begin|case(x|z)?|class|clocking|config|covergroup|function|generate|interface|module|package|primitive|property|program|sequence|specify|table|task)\\b"),
83
+ end: /* @__PURE__ */ RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:end|endcase|endclass|endclocking|endconfig|endgroup|endfunction|endgenerate|endinterface|endmodule|endpackage|endprimitive|endproperty|endprogram|endsequence|endspecify|endtable|endtask)\\b")
84
+ }
85
+ }
86
+ }, t = {
87
+ defaultToken: "",
88
+ tokenPostfix: ".sv",
89
+ brackets: [
90
+ {
91
+ token: "delimiter.curly",
92
+ open: "{",
93
+ close: "}"
94
+ },
95
+ {
96
+ token: "delimiter.parenthesis",
97
+ open: "(",
98
+ close: ")"
99
+ },
100
+ {
101
+ token: "delimiter.square",
102
+ open: "[",
103
+ close: "]"
104
+ },
105
+ {
106
+ token: "delimiter.angle",
107
+ open: "<",
108
+ close: ">"
109
+ }
110
+ ],
111
+ keywords: /* @__PURE__ */ "accept_on.alias.always.always_comb.always_ff.always_latch.and.assert.assign.assume.automatic.before.begin.bind.bins.binsof.bit.break.buf.bufif0.bufif1.byte.case.casex.casez.cell.chandle.checker.class.clocking.cmos.config.const.constraint.context.continue.cover.covergroup.coverpoint.cross.deassign.default.defparam.design.disable.dist.do.edge.else.end.endcase.endchecker.endclass.endclocking.endconfig.endfunction.endgenerate.endgroup.endinterface.endmodule.endpackage.endprimitive.endprogram.endproperty.endspecify.endsequence.endtable.endtask.enum.event.eventually.expect.export.extends.extern.final.first_match.for.force.foreach.forever.fork.forkjoin.function.generate.genvar.global.highz0.highz1.if.iff.ifnone.ignore_bins.illegal_bins.implements.implies.import.incdir.include.initial.inout.input.inside.instance.int.integer.interconnect.interface.intersect.join.join_any.join_none.large.let.liblist.library.local.localparam.logic.longint.macromodule.matches.medium.modport.module.nand.negedge.nettype.new.nexttime.nmos.nor.noshowcancelled.not.notif0.notif1.null.or.output.package.packed.parameter.pmos.posedge.primitive.priority.program.property.protected.pull0.pull1.pulldown.pullup.pulsestyle_ondetect.pulsestyle_onevent.pure.rand.randc.randcase.randsequence.rcmos.real.realtime.ref.reg.reject_on.release.repeat.restrict.return.rnmos.rpmos.rtran.rtranif0.rtranif1.s_always.s_eventually.s_nexttime.s_until.s_until_with.scalared.sequence.shortint.shortreal.showcancelled.signed.small.soft.solve.specify.specparam.static.string.strong.strong0.strong1.struct.super.supply0.supply1.sync_accept_on.sync_reject_on.table.tagged.task.this.throughout.time.timeprecision.timeunit.tran.tranif0.tranif1.tri.tri0.tri1.triand.trior.trireg.type.typedef.union.unique.unique0.unsigned.until.until_with.untyped.use.uwire.var.vectored.virtual.void.wait.wait_order.wand.weak.weak0.weak1.while.wildcard.wire.with.within.wor.xnor.xor".split("."),
112
+ builtin_gates: [
113
+ "and",
114
+ "nand",
115
+ "nor",
116
+ "or",
117
+ "xor",
118
+ "xnor",
119
+ "buf",
120
+ "not",
121
+ "bufif0",
122
+ "bufif1",
123
+ "notif1",
124
+ "notif0",
125
+ "cmos",
126
+ "nmos",
127
+ "pmos",
128
+ "rcmos",
129
+ "rnmos",
130
+ "rpmos",
131
+ "tran",
132
+ "tranif1",
133
+ "tranif0",
134
+ "rtran",
135
+ "rtranif1",
136
+ "rtranif0"
137
+ ],
138
+ operators: /* @__PURE__ */ "=.+=.-=.*=./=.%=.&=.|=.^=.<<=.>>+.<<<=.>>>=.?.:.+.-.!.~.&.~&.|.~|.^.~^.^~.+.-.*./.%.==.!=.===.!==.==?.!=?.&&.||.**.<.<=.>.>=.&.|.^.>>.<<.>>>.<<<.++.--.->.<->.inside.dist.::.+:.-:.*>.&&&.|->.|=>.#=#".split("."),
139
+ symbols: /[=><!~?:&|+\-*\/\^%#]+/,
140
+ escapes: /%%|\\(?:[antvf\\"']|x[0-9A-Fa-f]{1,2}|[0-7]{1,3})/,
141
+ identifier: /(?:[a-zA-Z_][a-zA-Z0-9_$\.]*|\\\S+ )/,
142
+ systemcall: /[$][a-zA-Z0-9_]+/,
143
+ timeunits: /s|ms|us|ns|ps|fs/,
144
+ tokenizer: {
145
+ root: [
146
+ [/^(\s*)(@identifier)/, ["", { cases: {
147
+ "@builtin_gates": {
148
+ token: "keyword.$2",
149
+ next: "@module_instance"
150
+ },
151
+ table: {
152
+ token: "keyword.$2",
153
+ next: "@table"
154
+ },
155
+ "@keywords": { token: "keyword.$2" },
156
+ "@default": {
157
+ token: "identifier",
158
+ next: "@module_instance"
159
+ }
160
+ } }]],
161
+ [/^\s*`include/, {
162
+ token: "keyword.directive.include",
163
+ next: "@include"
164
+ }],
165
+ [/^\s*`\s*\w+/, "keyword"],
166
+ { include: "@identifier_or_keyword" },
167
+ { include: "@whitespace" },
168
+ [/\(\*.*\*\)/, "annotation"],
169
+ [/@systemcall/, "variable.predefined"],
170
+ [/[{}()\[\]]/, "@brackets"],
171
+ [/[<>](?!@symbols)/, "@brackets"],
172
+ [/@symbols/, { cases: {
173
+ "@operators": "delimiter",
174
+ "@default": ""
175
+ } }],
176
+ { include: "@numbers" },
177
+ [/[;,.]/, "delimiter"],
178
+ { include: "@strings" }
179
+ ],
180
+ identifier_or_keyword: [[/@identifier/, { cases: {
181
+ "@keywords": { token: "keyword.$0" },
182
+ "@default": "identifier"
183
+ } }]],
184
+ numbers: [
185
+ [/\d+?[\d_]*(?:\.[\d_]+)?[eE][\-+]?\d+/, "number.float"],
186
+ [/\d+?[\d_]*\.[\d_]+(?:\s*@timeunits)?/, "number.float"],
187
+ [/(?:\d+?[\d_]*\s*)?'[sS]?[dD]\s*[0-9xXzZ?]+?[0-9xXzZ?_]*/, "number"],
188
+ [/(?:\d+?[\d_]*\s*)?'[sS]?[bB]\s*[0-1xXzZ?]+?[0-1xXzZ?_]*/, "number.binary"],
189
+ [/(?:\d+?[\d_]*\s*)?'[sS]?[oO]\s*[0-7xXzZ?]+?[0-7xXzZ?_]*/, "number.octal"],
190
+ [/(?:\d+?[\d_]*\s*)?'[sS]?[hH]\s*[0-9a-fA-FxXzZ?]+?[0-9a-fA-FxXzZ?_]*/, "number.hex"],
191
+ [/1step/, "number"],
192
+ [/[\dxXzZ]+?[\dxXzZ_]*(?:\s*@timeunits)?/, "number"],
193
+ [/'[01xXzZ]+/, "number"]
194
+ ],
195
+ module_instance: [
196
+ { include: "@whitespace" },
197
+ [/(#?)(\()/, ["", {
198
+ token: "@brackets",
199
+ next: "@port_connection"
200
+ }]],
201
+ [/@identifier\s*[;={}\[\],]/, {
202
+ token: "@rematch",
203
+ next: "@pop"
204
+ }],
205
+ [/@symbols|[;={}\[\],]/, {
206
+ token: "@rematch",
207
+ next: "@pop"
208
+ }],
209
+ [/@identifier/, "type"],
210
+ [
211
+ /;/,
212
+ "delimiter",
213
+ "@pop"
214
+ ]
215
+ ],
216
+ port_connection: [
217
+ { include: "@identifier_or_keyword" },
218
+ { include: "@whitespace" },
219
+ [/@systemcall/, "variable.predefined"],
220
+ { include: "@numbers" },
221
+ { include: "@strings" },
222
+ [/[,]/, "delimiter"],
223
+ [
224
+ /\(/,
225
+ "@brackets",
226
+ "@port_connection"
227
+ ],
228
+ [
229
+ /\)/,
230
+ "@brackets",
231
+ "@pop"
232
+ ]
233
+ ],
234
+ whitespace: [
235
+ [/[ \t\r\n]+/, ""],
236
+ [
237
+ /\/\*/,
238
+ "comment",
239
+ "@comment"
240
+ ],
241
+ [/\/\/.*$/, "comment"]
242
+ ],
243
+ comment: [
244
+ [/[^\/*]+/, "comment"],
245
+ [
246
+ /\*\//,
247
+ "comment",
248
+ "@pop"
249
+ ],
250
+ [/[\/*]/, "comment"]
251
+ ],
252
+ strings: [[/"([^"\\]|\\.)*$/, "string.invalid"], [
253
+ /"/,
254
+ "string",
255
+ "@string"
256
+ ]],
257
+ string: [
258
+ [/[^\\"]+/, "string"],
259
+ [/@escapes/, "string.escape"],
260
+ [/\\./, "string.escape.invalid"],
261
+ [
262
+ /"/,
263
+ "string",
264
+ "@pop"
265
+ ]
266
+ ],
267
+ include: [[/(\s*)(")([\w*\/*]*)(.\w*)(")/, [
268
+ "",
269
+ "string.include.identifier",
270
+ "string.include.identifier",
271
+ "string.include.identifier",
272
+ {
273
+ token: "string.include.identifier",
274
+ next: "@pop"
275
+ }
276
+ ]], [/(\s*)(<)([\w*\/*]*)(.\w*)(>)/, [
277
+ "",
278
+ "string.include.identifier",
279
+ "string.include.identifier",
280
+ "string.include.identifier",
281
+ {
282
+ token: "string.include.identifier",
283
+ next: "@pop"
284
+ }
285
+ ]]],
286
+ table: [
287
+ { include: "@whitespace" },
288
+ [/[()]/, "@brackets"],
289
+ [/[:;]/, "delimiter"],
290
+ [/[01\-*?xXbBrRfFpPnN]/, "variable.predefined"],
291
+ [
292
+ "endtable",
293
+ "keyword.endtable",
294
+ "@pop"
295
+ ]
296
+ ]
297
+ }
298
+ };
299
+ //#endregion
300
+ export { e as conf, t as language };
@@ -0,0 +1,225 @@
1
+ //#region node_modules/.bun/monaco-editor@0.56.0/node_modules/monaco-editor/esm/vs/languages/definitions/tcl/tcl.js
2
+ var e = {
3
+ brackets: [
4
+ ["{", "}"],
5
+ ["[", "]"],
6
+ ["(", ")"]
7
+ ],
8
+ autoClosingPairs: [
9
+ {
10
+ open: "{",
11
+ close: "}"
12
+ },
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
+ surroundingPairs: [
31
+ {
32
+ open: "{",
33
+ close: "}"
34
+ },
35
+ {
36
+ open: "[",
37
+ close: "]"
38
+ },
39
+ {
40
+ open: "(",
41
+ close: ")"
42
+ },
43
+ {
44
+ open: "\"",
45
+ close: "\""
46
+ },
47
+ {
48
+ open: "'",
49
+ close: "'"
50
+ }
51
+ ]
52
+ }, t = {
53
+ tokenPostfix: ".tcl",
54
+ specialFunctions: [
55
+ "set",
56
+ "unset",
57
+ "rename",
58
+ "variable",
59
+ "proc",
60
+ "coroutine",
61
+ "foreach",
62
+ "incr",
63
+ "append",
64
+ "lappend",
65
+ "linsert",
66
+ "lreplace"
67
+ ],
68
+ mainFunctions: [
69
+ "if",
70
+ "then",
71
+ "elseif",
72
+ "else",
73
+ "case",
74
+ "switch",
75
+ "while",
76
+ "for",
77
+ "break",
78
+ "continue",
79
+ "return",
80
+ "package",
81
+ "namespace",
82
+ "catch",
83
+ "exit",
84
+ "eval",
85
+ "expr",
86
+ "uplevel",
87
+ "upvar"
88
+ ],
89
+ builtinFunctions: /* @__PURE__ */ "file.info.concat.join.lindex.list.llength.lrange.lsearch.lsort.split.array.parray.binary.format.regexp.regsub.scan.string.subst.dict.cd.clock.exec.glob.pid.pwd.close.eof.fblocked.fconfigure.fcopy.fileevent.flush.gets.open.puts.read.seek.socket.tell.interp.after.auto_execok.auto_load.auto_mkindex.auto_reset.bgerror.error.global.history.load.source.time.trace.unknown.unset.update.vwait.winfo.wm.bind.event.pack.place.grid.font.bell.clipboard.destroy.focus.grab.lower.option.raise.selection.send.tk.tkwait.tk_bisque.tk_focusNext.tk_focusPrev.tk_focusFollowsMouse.tk_popup.tk_setPalette".split("."),
90
+ symbols: /[=><!~?:&|+\-*\/\^%]+/,
91
+ brackets: [
92
+ {
93
+ open: "(",
94
+ close: ")",
95
+ token: "delimiter.parenthesis"
96
+ },
97
+ {
98
+ open: "{",
99
+ close: "}",
100
+ token: "delimiter.curly"
101
+ },
102
+ {
103
+ open: "[",
104
+ close: "]",
105
+ token: "delimiter.square"
106
+ }
107
+ ],
108
+ escapes: /\\(?:[abfnrtv\\"'\[\]\{\};\$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
109
+ variables: /(?:\$+(?:(?:\:\:?)?[a-zA-Z_]\w*)+)/,
110
+ tokenizer: {
111
+ root: [
112
+ [/[a-zA-Z_]\w*/, { cases: {
113
+ "@specialFunctions": {
114
+ token: "keyword.flow",
115
+ next: "@specialFunc"
116
+ },
117
+ "@mainFunctions": "keyword",
118
+ "@builtinFunctions": "variable",
119
+ "@default": "operator.scss"
120
+ } }],
121
+ [/\s+\-+(?!\d|\.)\w*|{\*}/, "metatag"],
122
+ { include: "@whitespace" },
123
+ [/[{}()\[\]]/, "@brackets"],
124
+ [/@symbols/, "operator"],
125
+ [/\$+(?:\:\:)?\{/, {
126
+ token: "identifier",
127
+ next: "@nestedVariable"
128
+ }],
129
+ [/@variables/, "type.identifier"],
130
+ [/\.(?!\d|\.)[\w\-]*/, "operator.sql"],
131
+ [/\d+(\.\d+)?/, "number"],
132
+ [/\d+/, "number"],
133
+ [/;/, "delimiter"],
134
+ [/"/, {
135
+ token: "string.quote",
136
+ bracket: "@open",
137
+ next: "@dstring"
138
+ }],
139
+ [/'/, {
140
+ token: "string.quote",
141
+ bracket: "@open",
142
+ next: "@sstring"
143
+ }]
144
+ ],
145
+ dstring: [
146
+ [/\[/, {
147
+ token: "@brackets",
148
+ next: "@nestedCall"
149
+ }],
150
+ [/\$+(?:\:\:)?\{/, {
151
+ token: "identifier",
152
+ next: "@nestedVariable"
153
+ }],
154
+ [/@variables/, "type.identifier"],
155
+ [/[^\\$\[\]"]+/, "string"],
156
+ [/@escapes/, "string.escape"],
157
+ [/"/, {
158
+ token: "string.quote",
159
+ bracket: "@close",
160
+ next: "@pop"
161
+ }]
162
+ ],
163
+ sstring: [
164
+ [/\[/, {
165
+ token: "@brackets",
166
+ next: "@nestedCall"
167
+ }],
168
+ [/\$+(?:\:\:)?\{/, {
169
+ token: "identifier",
170
+ next: "@nestedVariable"
171
+ }],
172
+ [/@variables/, "type.identifier"],
173
+ [/[^\\$\[\]']+/, "string"],
174
+ [/@escapes/, "string.escape"],
175
+ [/'/, {
176
+ token: "string.quote",
177
+ bracket: "@close",
178
+ next: "@pop"
179
+ }]
180
+ ],
181
+ whitespace: [
182
+ [/[ \t\r\n]+/, "white"],
183
+ [/#.*\\$/, {
184
+ token: "comment",
185
+ next: "@newlineComment"
186
+ }],
187
+ [/#.*(?!\\)$/, "comment"]
188
+ ],
189
+ newlineComment: [[/.*\\$/, "comment"], [/.*(?!\\)$/, {
190
+ token: "comment",
191
+ next: "@pop"
192
+ }]],
193
+ nestedVariable: [[/[^\{\}\$]+/, "type.identifier"], [/\}/, {
194
+ token: "identifier",
195
+ next: "@pop"
196
+ }]],
197
+ nestedCall: [
198
+ [/\[/, {
199
+ token: "@brackets",
200
+ next: "@nestedCall"
201
+ }],
202
+ [/\]/, {
203
+ token: "@brackets",
204
+ next: "@pop"
205
+ }],
206
+ { include: "root" }
207
+ ],
208
+ specialFunc: [
209
+ [/"/, {
210
+ token: "string",
211
+ next: "@dstring"
212
+ }],
213
+ [/'/, {
214
+ token: "string",
215
+ next: "@sstring"
216
+ }],
217
+ [/\S+/, {
218
+ token: "type",
219
+ next: "@pop"
220
+ }]
221
+ ]
222
+ }
223
+ };
224
+ //#endregion
225
+ export { e as conf, t as language };
@@ -0,0 +1,6 @@
1
+ //#region node_modules/.bun/monaco-editor@0.56.0/node_modules/monaco-editor/esm/vs/languages/features/typescript/ts.worker.js?worker
2
+ function e(e) {
3
+ return new Worker(new URL("ts.worker-De3FAST6.js", import.meta.url).href, { name: e?.name });
4
+ }
5
+ //#endregion
6
+ export { e as default };