@dronico/droni-kit 1.7.3 → 1.7.4

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 (186) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/droni-kit.cjs.js +350 -1
  3. package/dist/droni-kit.css +1 -1
  4. package/dist/droni-kit.es.js +925 -7
  5. package/dist/stories/Widgets/DuiEditor.stories.d.ts +3 -9
  6. package/dist/stories/Widgets/DuiEditor.vue.d.ts +3 -9
  7. package/package.json +1 -2
  8. package/dist/abap-CrVaG5QI.cjs +0 -6
  9. package/dist/abap-D0Neqhq6.js +0 -1404
  10. package/dist/apex-B5LhxkeG.js +0 -332
  11. package/dist/apex-CGiaaokt.cjs +0 -6
  12. package/dist/assets/css.worker-DNgQEC96.js +0 -84
  13. package/dist/assets/editor.worker-BKD3YLiN.js +0 -12
  14. package/dist/assets/html.worker-B7xpmB-M.js +0 -461
  15. package/dist/assets/json.worker-td2JV8fN.js +0 -49
  16. package/dist/assets/ts.worker-CqZGdM85.js +0 -51334
  17. package/dist/azcli-BrBH0QTU.js +0 -74
  18. package/dist/azcli-CCWOS89X.cjs +0 -6
  19. package/dist/bat-BfzAov64.js +0 -106
  20. package/dist/bat-dplVPQ-_.cjs +0 -6
  21. package/dist/bicep-C3bCSWel.js +0 -108
  22. package/dist/bicep-Q9zrsOvk.cjs +0 -7
  23. package/dist/cameligo-Dr5j7v0u.cjs +0 -6
  24. package/dist/cameligo-sFL5plcd.js +0 -180
  25. package/dist/clojure-CfeExRz0.js +0 -767
  26. package/dist/clojure-DPJGbZtj.cjs +0 -6
  27. package/dist/coffee-CUV2cHk6.cjs +0 -6
  28. package/dist/coffee-Xws5K0WL.js +0 -238
  29. package/dist/cpp-CqOUEpxN.js +0 -395
  30. package/dist/cpp-DyuKq4fH.cjs +0 -6
  31. package/dist/csharp-DVLiBOZb.js +0 -332
  32. package/dist/csharp-d4dFAWKM.cjs +0 -6
  33. package/dist/csp-DVFp9bw5.js +0 -59
  34. package/dist/csp-Lc8LbON9.cjs +0 -6
  35. package/dist/css-D8IzNaWL.cjs +0 -8
  36. package/dist/css-DwARn2R6.js +0 -193
  37. package/dist/cssMode--MfDhlXW.js +0 -1577
  38. package/dist/cssMode-B8S_b__C.cjs +0 -9
  39. package/dist/cypher-BuSmvVBI.cjs +0 -6
  40. package/dist/cypher-uY0Mffat.js +0 -269
  41. package/dist/dart-D27H-mX_.js +0 -287
  42. package/dist/dart-d-sZXKUo.cjs +0 -6
  43. package/dist/dockerfile-CmV85WZK.js +0 -136
  44. package/dist/dockerfile-OepqCuVM.cjs +0 -6
  45. package/dist/ecl--fKn7yzB.js +0 -462
  46. package/dist/ecl-GFERKf5i.cjs +0 -6
  47. package/dist/elixir-9a1efda4.cjs +0 -6
  48. package/dist/elixir-DUhH17ON.js +0 -575
  49. package/dist/flow9-B3Dx2LLe.js +0 -148
  50. package/dist/flow9-DsqME3Wt.cjs +0 -6
  51. package/dist/freemarker2-ApUh3Ubc.cjs +0 -8
  52. package/dist/freemarker2-B6ampScX.js +0 -995
  53. package/dist/fsharp-DtZL2hil.cjs +0 -6
  54. package/dist/fsharp-SyqBfUAR.js +0 -223
  55. package/dist/go-B11TqKJA.cjs +0 -6
  56. package/dist/go-BbMR2tdT.js +0 -224
  57. package/dist/graphql-DDJE6tIl.js +0 -157
  58. package/dist/graphql-DrfV554J.cjs +0 -6
  59. package/dist/handlebars-Cbhqp1NE.js +0 -425
  60. package/dist/handlebars-Ce21uehy.cjs +0 -6
  61. package/dist/hcl-B0mc1H5M.cjs +0 -6
  62. package/dist/hcl-YBvpaUqf.js +0 -189
  63. package/dist/html-BDmPyCbL.js +0 -314
  64. package/dist/html-BTFiH6Sw.cjs +0 -6
  65. package/dist/htmlMode-B18NiCAi.cjs +0 -9
  66. package/dist/htmlMode-BUHFgZKE.js +0 -1587
  67. package/dist/index-B5gLucco.js +0 -113180
  68. package/dist/index-BYLdWIQo.cjs +0 -1504
  69. package/dist/ini-Ct73dBtM.js +0 -77
  70. package/dist/ini-ymhBH5HG.cjs +0 -6
  71. package/dist/java-C_jlkwoG.js +0 -238
  72. package/dist/java-D4zTn_HA.cjs +0 -6
  73. package/dist/javascript-BR0mMjV4.js +0 -76
  74. package/dist/javascript-DrLpnVkz.cjs +0 -6
  75. package/dist/jsonMode-DHhRjk7d.cjs +0 -15
  76. package/dist/jsonMode-DvjeLIcS.js +0 -2002
  77. package/dist/julia-D8WE5U1e.js +0 -517
  78. package/dist/julia-Dp7_oxTx.cjs +0 -6
  79. package/dist/kotlin-DN07yPPp.cjs +0 -6
  80. package/dist/kotlin-Zy9aq5yB.js +0 -259
  81. package/dist/less-CtJmsSxx.cjs +0 -7
  82. package/dist/less-sZ0iHtE8.js +0 -168
  83. package/dist/lexon-BH122-aN.cjs +0 -6
  84. package/dist/lexon-CsdNL29A.js +0 -163
  85. package/dist/lib/userWorker.d.ts +0 -1
  86. package/dist/liquid-DBEv3cQo.cjs +0 -6
  87. package/dist/liquid-c8EQsxJL.js +0 -246
  88. package/dist/lua-C2YJo0zw.js +0 -168
  89. package/dist/lua-DF1giqni.cjs +0 -6
  90. package/dist/m3-BSVLgJdx.cjs +0 -6
  91. package/dist/m3-CPLP40SG.js +0 -216
  92. package/dist/markdown-B1mf5e0R.js +0 -235
  93. package/dist/markdown-DqkJT7wW.cjs +0 -6
  94. package/dist/mdx-1XKmgriI.js +0 -171
  95. package/dist/mdx-BLFumXRM.cjs +0 -6
  96. package/dist/mips-DA33BZX1.js +0 -204
  97. package/dist/mips-HcsFOvwE.cjs +0 -6
  98. package/dist/msdax-CCYFIQsP.js +0 -381
  99. package/dist/msdax-D8wkgf9t.cjs +0 -6
  100. package/dist/mysql-D1qSUjcB.cjs +0 -6
  101. package/dist/mysql-hjmIjL-D.js +0 -884
  102. package/dist/objective-c-BcY1nQEp.cjs +0 -6
  103. package/dist/objective-c-RRCpEmqC.js +0 -189
  104. package/dist/pascal-C6VID8iC.cjs +0 -6
  105. package/dist/pascal-CeV8XfxB.js +0 -257
  106. package/dist/pascaligo-CtEkUcZy.cjs +0 -6
  107. package/dist/pascaligo-IEEGVJAJ.js +0 -170
  108. package/dist/perl-B5-QbHq_.js +0 -632
  109. package/dist/perl-BS5MoSit.cjs +0 -6
  110. package/dist/pgsql-DSQqzbUN.cjs +0 -6
  111. package/dist/pgsql-s6kqEJmi.js +0 -857
  112. package/dist/php-CWWqzOo8.js +0 -506
  113. package/dist/php-Dcbv8it3.cjs +0 -6
  114. package/dist/pla-BKGu3P8x.cjs +0 -6
  115. package/dist/pla-FSvb_YP_.js +0 -143
  116. package/dist/postiats-DQdscQXO.js +0 -913
  117. package/dist/postiats-lASv8P6N.cjs +0 -6
  118. package/dist/powerquery-BuqmBiPU.cjs +0 -6
  119. package/dist/powerquery-CtA5JA1I.js +0 -896
  120. package/dist/powershell-CtRTGCOm.cjs +0 -6
  121. package/dist/powershell-DglEq96N.js +0 -245
  122. package/dist/protobuf-BSepub3e.js +0 -426
  123. package/dist/protobuf-Dk87ns3u.cjs +0 -7
  124. package/dist/pug-B1847F4G.js +0 -408
  125. package/dist/pug-CVbk24PQ.cjs +0 -6
  126. package/dist/python-CFCwn4yH.cjs +0 -6
  127. package/dist/python-kCX2MsY7.js +0 -307
  128. package/dist/qsharp-BSix4Z0w.cjs +0 -6
  129. package/dist/qsharp-D4i0Nqg9.js +0 -307
  130. package/dist/r-CSIGVqGj.cjs +0 -6
  131. package/dist/r-cdRigKxa.js +0 -249
  132. package/dist/razor-BwatS76l.cjs +0 -6
  133. package/dist/razor-CJ2-OlVm.js +0 -556
  134. package/dist/redis-1SUKo9jD.cjs +0 -6
  135. package/dist/redis-D9MFxvE8.js +0 -308
  136. package/dist/redshift-BS1FVf13.cjs +0 -6
  137. package/dist/redshift-CmCnsvL-.js +0 -815
  138. package/dist/restructuredtext-CWy8J51t.js +0 -180
  139. package/dist/restructuredtext-DU-k0-PC.cjs +0 -6
  140. package/dist/ruby-WP-c36m5.js +0 -517
  141. package/dist/ruby-aigiByO4.cjs +0 -6
  142. package/dist/rust-Q9FLdYpu.js +0 -349
  143. package/dist/rust-adCJoS28.cjs +0 -6
  144. package/dist/sb-C54-JBGT.js +0 -121
  145. package/dist/sb-CiUR99st.cjs +0 -6
  146. package/dist/scala-CzbFImc5.js +0 -376
  147. package/dist/scala-Tb5I4vBh.cjs +0 -6
  148. package/dist/scheme-BMUadJWp.cjs +0 -6
  149. package/dist/scheme-BhfDmYN3.js +0 -114
  150. package/dist/scss-BICI8Lvl.cjs +0 -8
  151. package/dist/scss-CEmiBXpS.js +0 -268
  152. package/dist/shell-BUjduzW4.cjs +0 -6
  153. package/dist/shell-Bmc1VhG0.js +0 -227
  154. package/dist/solidity-C9Q2I8Hh.js +0 -1373
  155. package/dist/solidity-DFZoFjgL.cjs +0 -6
  156. package/dist/sophia-B_a5zu_Y.cjs +0 -6
  157. package/dist/sophia-jWa1UyKz.js +0 -205
  158. package/dist/sparql-C-N2tZtn.cjs +0 -6
  159. package/dist/sparql-CM7jctbc.js +0 -207
  160. package/dist/sql-CVdEafkq.cjs +0 -6
  161. package/dist/sql-WzihTkbg.js +0 -859
  162. package/dist/st-2HB7Hiwr.cjs +0 -6
  163. package/dist/st-6y7_3aup.js +0 -422
  164. package/dist/swift-k-0zxG_D.js +0 -318
  165. package/dist/swift-xGTYXUAm.cjs +0 -8
  166. package/dist/systemverilog-BaPbkNTu.cjs +0 -6
  167. package/dist/systemverilog-Pnr5_rIP.js +0 -582
  168. package/dist/tcl-SSKta9Un.cjs +0 -6
  169. package/dist/tcl-fNPXval8.js +0 -238
  170. package/dist/tsMode-RB_vd_eb.cjs +0 -16
  171. package/dist/tsMode-Rf8OU01s.js +0 -895
  172. package/dist/twig-ByEpcNlL.cjs +0 -6
  173. package/dist/twig-L2MkztkV.js +0 -398
  174. package/dist/typescript-CV2SvKu1.cjs +0 -6
  175. package/dist/typescript-CaxFA8LZ.js +0 -349
  176. package/dist/typespec-Bxe2hBLx.cjs +0 -6
  177. package/dist/typespec-Cqqo-3Pt.js +0 -123
  178. package/dist/vb-B5YC2xN9.js +0 -378
  179. package/dist/vb-m8wPqU1B.cjs +0 -6
  180. package/dist/wgsl-B-_uRex7.js +0 -445
  181. package/dist/wgsl-CPwT7Vox.cjs +0 -303
  182. package/dist/xml-BSn2vC2Q.cjs +0 -6
  183. package/dist/xml-BYNZTm-o.js +0 -101
  184. package/dist/yaml-C7dSJq0N.cjs +0 -6
  185. package/dist/yaml-Czj6pQn5.js +0 -212
  186. package/src/lib/userWorker.ts +0 -28
@@ -1,582 +0,0 @@
1
- /*!-----------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
4
- * Released under the MIT license
5
- * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
- *-----------------------------------------------------------------------------*/
7
- var e = {
8
- comments: {
9
- lineComment: "//",
10
- blockComment: ["/*", "*/"]
11
- },
12
- brackets: [
13
- ["{", "}"],
14
- ["[", "]"],
15
- ["(", ")"],
16
- ["begin", "end"],
17
- ["case", "endcase"],
18
- ["casex", "endcase"],
19
- ["casez", "endcase"],
20
- ["checker", "endchecker"],
21
- ["class", "endclass"],
22
- ["clocking", "endclocking"],
23
- ["config", "endconfig"],
24
- ["function", "endfunction"],
25
- ["generate", "endgenerate"],
26
- ["group", "endgroup"],
27
- ["interface", "endinterface"],
28
- ["module", "endmodule"],
29
- ["package", "endpackage"],
30
- ["primitive", "endprimitive"],
31
- ["program", "endprogram"],
32
- ["property", "endproperty"],
33
- ["specify", "endspecify"],
34
- ["sequence", "endsequence"],
35
- ["table", "endtable"],
36
- ["task", "endtask"]
37
- ],
38
- autoClosingPairs: [
39
- { open: "[", close: "]" },
40
- { open: "{", close: "}" },
41
- { open: "(", close: ")" },
42
- { open: "'", close: "'", notIn: ["string", "comment"] },
43
- { open: '"', close: '"', notIn: ["string"] }
44
- ],
45
- surroundingPairs: [
46
- { open: "{", close: "}" },
47
- { open: "[", close: "]" },
48
- { open: "(", close: ")" },
49
- { open: '"', close: '"' },
50
- { open: "'", close: "'" }
51
- ],
52
- folding: {
53
- offSide: !1,
54
- markers: {
55
- start: new RegExp(
56
- "^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:begin|case(x|z)?|class|clocking|config|covergroup|function|generate|interface|module|package|primitive|property|program|sequence|specify|table|task)\\b"
57
- ),
58
- end: new RegExp(
59
- "^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:end|endcase|endclass|endclocking|endconfig|endgroup|endfunction|endgenerate|endinterface|endmodule|endpackage|endprimitive|endproperty|endprogram|endsequence|endspecify|endtable|endtask)\\b"
60
- )
61
- }
62
- }
63
- }, n = {
64
- defaultToken: "",
65
- tokenPostfix: ".sv",
66
- brackets: [
67
- { token: "delimiter.curly", open: "{", close: "}" },
68
- { token: "delimiter.parenthesis", open: "(", close: ")" },
69
- { token: "delimiter.square", open: "[", close: "]" },
70
- { token: "delimiter.angle", open: "<", close: ">" }
71
- ],
72
- keywords: [
73
- "accept_on",
74
- "alias",
75
- "always",
76
- "always_comb",
77
- "always_ff",
78
- "always_latch",
79
- "and",
80
- "assert",
81
- "assign",
82
- "assume",
83
- "automatic",
84
- "before",
85
- "begin",
86
- "bind",
87
- "bins",
88
- "binsof",
89
- "bit",
90
- "break",
91
- "buf",
92
- "bufif0",
93
- "bufif1",
94
- "byte",
95
- "case",
96
- "casex",
97
- "casez",
98
- "cell",
99
- "chandle",
100
- "checker",
101
- "class",
102
- "clocking",
103
- "cmos",
104
- "config",
105
- "const",
106
- "constraint",
107
- "context",
108
- "continue",
109
- "cover",
110
- "covergroup",
111
- "coverpoint",
112
- "cross",
113
- "deassign",
114
- "default",
115
- "defparam",
116
- "design",
117
- "disable",
118
- "dist",
119
- "do",
120
- "edge",
121
- "else",
122
- "end",
123
- "endcase",
124
- "endchecker",
125
- "endclass",
126
- "endclocking",
127
- "endconfig",
128
- "endfunction",
129
- "endgenerate",
130
- "endgroup",
131
- "endinterface",
132
- "endmodule",
133
- "endpackage",
134
- "endprimitive",
135
- "endprogram",
136
- "endproperty",
137
- "endspecify",
138
- "endsequence",
139
- "endtable",
140
- "endtask",
141
- "enum",
142
- "event",
143
- "eventually",
144
- "expect",
145
- "export",
146
- "extends",
147
- "extern",
148
- "final",
149
- "first_match",
150
- "for",
151
- "force",
152
- "foreach",
153
- "forever",
154
- "fork",
155
- "forkjoin",
156
- "function",
157
- "generate",
158
- "genvar",
159
- "global",
160
- "highz0",
161
- "highz1",
162
- "if",
163
- "iff",
164
- "ifnone",
165
- "ignore_bins",
166
- "illegal_bins",
167
- "implements",
168
- "implies",
169
- "import",
170
- "incdir",
171
- "include",
172
- "initial",
173
- "inout",
174
- "input",
175
- "inside",
176
- "instance",
177
- "int",
178
- "integer",
179
- "interconnect",
180
- "interface",
181
- "intersect",
182
- "join",
183
- "join_any",
184
- "join_none",
185
- "large",
186
- "let",
187
- "liblist",
188
- "library",
189
- "local",
190
- "localparam",
191
- "logic",
192
- "longint",
193
- "macromodule",
194
- "matches",
195
- "medium",
196
- "modport",
197
- "module",
198
- "nand",
199
- "negedge",
200
- "nettype",
201
- "new",
202
- "nexttime",
203
- "nmos",
204
- "nor",
205
- "noshowcancelled",
206
- "not",
207
- "notif0",
208
- "notif1",
209
- "null",
210
- "or",
211
- "output",
212
- "package",
213
- "packed",
214
- "parameter",
215
- "pmos",
216
- "posedge",
217
- "primitive",
218
- "priority",
219
- "program",
220
- "property",
221
- "protected",
222
- "pull0",
223
- "pull1",
224
- "pulldown",
225
- "pullup",
226
- "pulsestyle_ondetect",
227
- "pulsestyle_onevent",
228
- "pure",
229
- "rand",
230
- "randc",
231
- "randcase",
232
- "randsequence",
233
- "rcmos",
234
- "real",
235
- "realtime",
236
- "ref",
237
- "reg",
238
- "reject_on",
239
- "release",
240
- "repeat",
241
- "restrict",
242
- "return",
243
- "rnmos",
244
- "rpmos",
245
- "rtran",
246
- "rtranif0",
247
- "rtranif1",
248
- "s_always",
249
- "s_eventually",
250
- "s_nexttime",
251
- "s_until",
252
- "s_until_with",
253
- "scalared",
254
- "sequence",
255
- "shortint",
256
- "shortreal",
257
- "showcancelled",
258
- "signed",
259
- "small",
260
- "soft",
261
- "solve",
262
- "specify",
263
- "specparam",
264
- "static",
265
- "string",
266
- "strong",
267
- "strong0",
268
- "strong1",
269
- "struct",
270
- "super",
271
- "supply0",
272
- "supply1",
273
- "sync_accept_on",
274
- "sync_reject_on",
275
- "table",
276
- "tagged",
277
- "task",
278
- "this",
279
- "throughout",
280
- "time",
281
- "timeprecision",
282
- "timeunit",
283
- "tran",
284
- "tranif0",
285
- "tranif1",
286
- "tri",
287
- "tri0",
288
- "tri1",
289
- "triand",
290
- "trior",
291
- "trireg",
292
- "type",
293
- "typedef",
294
- "union",
295
- "unique",
296
- "unique0",
297
- "unsigned",
298
- "until",
299
- "until_with",
300
- "untyped",
301
- "use",
302
- "uwire",
303
- "var",
304
- "vectored",
305
- "virtual",
306
- "void",
307
- "wait",
308
- "wait_order",
309
- "wand",
310
- "weak",
311
- "weak0",
312
- "weak1",
313
- "while",
314
- "wildcard",
315
- "wire",
316
- "with",
317
- "within",
318
- "wor",
319
- "xnor",
320
- "xor"
321
- ],
322
- builtin_gates: [
323
- "and",
324
- "nand",
325
- "nor",
326
- "or",
327
- "xor",
328
- "xnor",
329
- "buf",
330
- "not",
331
- "bufif0",
332
- "bufif1",
333
- "notif1",
334
- "notif0",
335
- "cmos",
336
- "nmos",
337
- "pmos",
338
- "rcmos",
339
- "rnmos",
340
- "rpmos",
341
- "tran",
342
- "tranif1",
343
- "tranif0",
344
- "rtran",
345
- "rtranif1",
346
- "rtranif0"
347
- ],
348
- operators: [
349
- // assignment operators
350
- "=",
351
- "+=",
352
- "-=",
353
- "*=",
354
- "/=",
355
- "%=",
356
- "&=",
357
- "|=",
358
- "^=",
359
- "<<=",
360
- ">>+",
361
- "<<<=",
362
- ">>>=",
363
- // conditional expression
364
- "?",
365
- ":",
366
- // Unary operators
367
- "+",
368
- "-",
369
- "!",
370
- "~",
371
- "&",
372
- "~&",
373
- "|",
374
- "~|",
375
- "^",
376
- "~^",
377
- "^~",
378
- //binary operators
379
- "+",
380
- "-",
381
- "*",
382
- "/",
383
- "%",
384
- "==",
385
- "!=",
386
- "===",
387
- "!==",
388
- "==?",
389
- "!=?",
390
- "&&",
391
- "||",
392
- "**",
393
- "<",
394
- "<=",
395
- ">",
396
- ">=",
397
- "&",
398
- "|",
399
- "^",
400
- ">>",
401
- "<<",
402
- ">>>",
403
- "<<<",
404
- // increment or decrement operator
405
- "++",
406
- "--",
407
- //binary logical operator
408
- "->",
409
- "<->",
410
- // binary set membership operator
411
- "inside",
412
- // binary distrubution operator
413
- "dist",
414
- "::",
415
- "+:",
416
- "-:",
417
- "*>",
418
- "&&&",
419
- "|->",
420
- "|=>",
421
- "#=#"
422
- ],
423
- // we include these common regular expressions
424
- symbols: /[=><!~?:&|+\-*\/\^%#]+/,
425
- escapes: /%%|\\(?:[antvf\\"']|x[0-9A-Fa-f]{1,2}|[0-7]{1,3})/,
426
- identifier: /(?:[a-zA-Z_][a-zA-Z0-9_$\.]*|\\\S+ )/,
427
- systemcall: /[$][a-zA-Z0-9_]+/,
428
- timeunits: /s|ms|us|ns|ps|fs/,
429
- // The main tokenizer for our languages
430
- tokenizer: {
431
- root: [
432
- // module instances
433
- [
434
- /^(\s*)(@identifier)/,
435
- [
436
- "",
437
- {
438
- cases: {
439
- "@builtin_gates": {
440
- token: "keyword.$2",
441
- next: "@module_instance"
442
- },
443
- table: {
444
- token: "keyword.$2",
445
- next: "@table"
446
- },
447
- "@keywords": { token: "keyword.$2" },
448
- "@default": {
449
- token: "identifier",
450
- next: "@module_instance"
451
- }
452
- }
453
- }
454
- ]
455
- ],
456
- // include statements
457
- [/^\s*`include/, { token: "keyword.directive.include", next: "@include" }],
458
- // Preprocessor directives
459
- [/^\s*`\s*\w+/, "keyword"],
460
- // identifiers and keywords
461
- { include: "@identifier_or_keyword" },
462
- // whitespace and comments
463
- { include: "@whitespace" },
464
- // (* attributes *).
465
- [/\(\*.*\*\)/, "annotation"],
466
- // Systemcall
467
- [/@systemcall/, "variable.predefined"],
468
- // delimiters and operators
469
- [/[{}()\[\]]/, "@brackets"],
470
- [/[<>](?!@symbols)/, "@brackets"],
471
- [
472
- /@symbols/,
473
- {
474
- cases: {
475
- "@operators": "delimiter",
476
- "@default": ""
477
- }
478
- }
479
- ],
480
- // numbers
481
- { include: "@numbers" },
482
- // delimiter: after number because of .\d floats
483
- [/[;,.]/, "delimiter"],
484
- // strings
485
- { include: "@strings" }
486
- ],
487
- identifier_or_keyword: [
488
- [
489
- /@identifier/,
490
- {
491
- cases: {
492
- "@keywords": { token: "keyword.$0" },
493
- "@default": "identifier"
494
- }
495
- }
496
- ]
497
- ],
498
- numbers: [
499
- [/\d+?[\d_]*(?:\.[\d_]+)?[eE][\-+]?\d+/, "number.float"],
500
- [/\d+?[\d_]*\.[\d_]+(?:\s*@timeunits)?/, "number.float"],
501
- [/(?:\d+?[\d_]*\s*)?'[sS]?[dD]\s*[0-9xXzZ?]+?[0-9xXzZ?_]*/, "number"],
502
- [/(?:\d+?[\d_]*\s*)?'[sS]?[bB]\s*[0-1xXzZ?]+?[0-1xXzZ?_]*/, "number.binary"],
503
- [/(?:\d+?[\d_]*\s*)?'[sS]?[oO]\s*[0-7xXzZ?]+?[0-7xXzZ?_]*/, "number.octal"],
504
- [/(?:\d+?[\d_]*\s*)?'[sS]?[hH]\s*[0-9a-fA-FxXzZ?]+?[0-9a-fA-FxXzZ?_]*/, "number.hex"],
505
- [/1step/, "number"],
506
- [/[\dxXzZ]+?[\dxXzZ_]*(?:\s*@timeunits)?/, "number"],
507
- [/'[01xXzZ]+/, "number"]
508
- ],
509
- module_instance: [
510
- { include: "@whitespace" },
511
- [/(#?)(\()/, ["", { token: "@brackets", next: "@port_connection" }]],
512
- [/@identifier\s*[;={}\[\],]/, { token: "@rematch", next: "@pop" }],
513
- [/@symbols|[;={}\[\],]/, { token: "@rematch", next: "@pop" }],
514
- [/@identifier/, "type"],
515
- [/;/, "delimiter", "@pop"]
516
- ],
517
- port_connection: [
518
- { include: "@identifier_or_keyword" },
519
- { include: "@whitespace" },
520
- [/@systemcall/, "variable.predefined"],
521
- { include: "@numbers" },
522
- { include: "@strings" },
523
- [/[,]/, "delimiter"],
524
- [/\(/, "@brackets", "@port_connection"],
525
- [/\)/, "@brackets", "@pop"]
526
- ],
527
- whitespace: [
528
- [/[ \t\r\n]+/, ""],
529
- [/\/\*/, "comment", "@comment"],
530
- [/\/\/.*$/, "comment"]
531
- ],
532
- comment: [
533
- [/[^\/*]+/, "comment"],
534
- [/\*\//, "comment", "@pop"],
535
- [/[\/*]/, "comment"]
536
- ],
537
- strings: [
538
- [/"([^"\\]|\\.)*$/, "string.invalid"],
539
- // non-teminated string
540
- [/"/, "string", "@string"]
541
- ],
542
- string: [
543
- [/[^\\"]+/, "string"],
544
- [/@escapes/, "string.escape"],
545
- [/\\./, "string.escape.invalid"],
546
- [/"/, "string", "@pop"]
547
- ],
548
- include: [
549
- [
550
- /(\s*)(")([\w*\/*]*)(.\w*)(")/,
551
- [
552
- "",
553
- "string.include.identifier",
554
- "string.include.identifier",
555
- "string.include.identifier",
556
- { token: "string.include.identifier", next: "@pop" }
557
- ]
558
- ],
559
- [
560
- /(\s*)(<)([\w*\/*]*)(.\w*)(>)/,
561
- [
562
- "",
563
- "string.include.identifier",
564
- "string.include.identifier",
565
- "string.include.identifier",
566
- { token: "string.include.identifier", next: "@pop" }
567
- ]
568
- ]
569
- ],
570
- table: [
571
- { include: "@whitespace" },
572
- [/[()]/, "@brackets"],
573
- [/[:;]/, "delimiter"],
574
- [/[01\-*?xXbBrRfFpPnN]/, "variable.predefined"],
575
- ["endtable", "keyword.endtable", "@pop"]
576
- ]
577
- }
578
- };
579
- export {
580
- e as conf,
581
- n as language
582
- };
@@ -1,6 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
4
- * Released under the MIT license
5
- * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
- *-----------------------------------------------------------------------------*/var e={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},t={tokenPostfix:".tcl",specialFunctions:["set","unset","rename","variable","proc","coroutine","foreach","incr","append","lappend","linsert","lreplace"],mainFunctions:["if","then","elseif","else","case","switch","while","for","break","continue","return","package","namespace","catch","exit","eval","expr","uplevel","upvar"],builtinFunctions:["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"],symbols:/[=><!~?:&|+\-*\/\^%]+/,brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],escapes:/\\(?:[abfnrtv\\"'\[\]\{\};\$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,variables:/(?:\$+(?:(?:\:\:?)?[a-zA-Z_]\w*)+)/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@specialFunctions":{token:"keyword.flow",next:"@specialFunc"},"@mainFunctions":"keyword","@builtinFunctions":"variable","@default":"operator.scss"}}],[/\s+\-+(?!\d|\.)\w*|{\*}/,"metatag"],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,"operator"],[/\$+(?:\:\:)?\{/,{token:"identifier",next:"@nestedVariable"}],[/@variables/,"type.identifier"],[/\.(?!\d|\.)[\w\-]*/,"operator.sql"],[/\d+(\.\d+)?/,"number"],[/\d+/,"number"],[/;/,"delimiter"],[/"/,{token:"string.quote",bracket:"@open",next:"@dstring"}],[/'/,{token:"string.quote",bracket:"@open",next:"@sstring"}]],dstring:[[/\[/,{token:"@brackets",next:"@nestedCall"}],[/\$+(?:\:\:)?\{/,{token:"identifier",next:"@nestedVariable"}],[/@variables/,"type.identifier"],[/[^\\$\[\]"]+/,"string"],[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],sstring:[[/\[/,{token:"@brackets",next:"@nestedCall"}],[/\$+(?:\:\:)?\{/,{token:"identifier",next:"@nestedVariable"}],[/@variables/,"type.identifier"],[/[^\\$\[\]']+/,"string"],[/@escapes/,"string.escape"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/#.*\\$/,{token:"comment",next:"@newlineComment"}],[/#.*(?!\\)$/,"comment"]],newlineComment:[[/.*\\$/,"comment"],[/.*(?!\\)$/,{token:"comment",next:"@pop"}]],nestedVariable:[[/[^\{\}\$]+/,"type.identifier"],[/\}/,{token:"identifier",next:"@pop"}]],nestedCall:[[/\[/,{token:"@brackets",next:"@nestedCall"}],[/\]/,{token:"@brackets",next:"@pop"}],{include:"root"}],specialFunc:[[/"/,{token:"string",next:"@dstring"}],[/'/,{token:"string",next:"@sstring"}],[/\S+/,{token:"type",next:"@pop"}]]}};exports.conf=e;exports.language=t;