monacozen 0.1.0 → 0.3.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.
- package/README.md +119 -24
- package/assets/{bat-C6DzPBcU.js → bat-T2vjbQzY.js} +1 -1
- package/assets/{clojure-D8WHGr6v.js → clojure-BvXzD8Uz.js} +1 -1
- package/assets/{coffee-C16Mnhbm.js → coffee-D_yet6sT.js} +1 -1
- package/assets/{cpp-_HbkGdoj.js → cpp-CsfEADPM.js} +1 -1
- package/assets/{csharp-DeGXkEgi.js → csharp-jw3fFksF.js} +1 -1
- package/assets/{css-DmO2GtiT.js → css-FsiUe-xI.js} +1 -1
- package/assets/{css.worker-zFzGcGyJ.js → css.worker-BIsSvM_Q.js} +36 -36
- package/assets/{css.worker-B59bB4vF.js → css.worker-BSHdDU9y.js} +2 -2
- package/assets/cssMode-BLJVTAbR.js +65 -0
- package/assets/{cypher-5654EJL_.js → cypher-B8DgU2PH.js} +1 -1
- package/assets/{dart-BjXVSQM-.js → dart-D1x60wEn.js} +1 -1
- package/assets/{dockerfile-DSA8TJLS.js → dockerfile-DSHxsy4G.js} +1 -1
- package/assets/{editor.api-C_6h_pYy.js → editor.api-ZYFspLPt.js} +15851 -13551
- package/assets/editorWebWorkerMain-BioN9fGU.js +33 -0
- package/assets/{editorWebWorkerMain-Cpqca1A3.js → editorWebWorkerMain-DXr8-Jst.js} +2 -2
- package/assets/{elixir-CzC02SL7.js → elixir-Cr7BtjRU.js} +1 -1
- package/assets/{fsharp-DRGCXPNW.js → fsharp-CeVKIr0d.js} +1 -1
- package/assets/{go-CyErB8P9.js → go-BL4_0srD.js} +1 -1
- package/assets/{graphql-CNnvnjR8.js → graphql-mhWekwK0.js} +1 -1
- package/assets/{handlebars-B9HHtHT5.js → handlebars-rQdtgZoQ.js} +2 -2
- package/assets/{hcl-D4a6HBjk.js → hcl-CfyDj6z_.js} +1 -1
- package/assets/{html-B5_5MvV-.js → html-DIDrd2Z7.js} +2 -2
- package/assets/{html.worker-Czi9KUKj.js → html.worker-BrBx6eB3.js} +2 -2
- package/assets/{html.worker-D4M1xqlZ.js → html.worker-CEvqvEpu.js} +27 -27
- package/assets/htmlMode-C87jndIO.js +74 -0
- package/assets/{ini-CpSjysbn.js → ini-DhiXkl_g.js} +1 -1
- package/assets/{java-DkRrYYRp.js → java-Ct9YHm5L.js} +1 -1
- package/assets/{javascript-Da2MNB2t.js → javascript-By915NHa.js} +2 -2
- package/assets/{json.worker-pkLWnKxn.js → json.worker-B0PzJ5jL.js} +2 -2
- package/assets/json.worker-CAiVr-gV.js +65 -0
- package/assets/{jsonMode-BtwFVp_X.js → jsonMode-DLDmNGq-.js} +47 -47
- package/assets/{julia-DXDdnD4p.js → julia-BAYXm_pL.js} +1 -1
- package/assets/{kotlin-BNDyMshT.js → kotlin-JEujETri.js} +1 -1
- package/assets/{less-3yDKfG4U.js → less-oHZXXDVD.js} +1 -1
- package/assets/{liquid-DCciKNzb.js → liquid-Cvs1eMgo.js} +2 -2
- package/assets/{lspLanguageFeatures-CAn_K3Js.js → lspLanguageFeatures-D6P77uh_.js} +3 -3
- package/assets/{lua-CqDy9oHE.js → lua-B3ViXcD8.js} +1 -1
- package/assets/{markdown-DIkeztiD.js → markdown-Ggb6Rgvc.js} +1 -1
- package/assets/{mdx-BcOG7QFm.js → mdx-Ce7sXDA4.js} +2 -2
- package/assets/{mips-BUbWxz0r.js → mips-cYdfQChM.js} +1 -1
- package/assets/{monaco-BMsB0TPD.js → monaco-DEq8WAj8.js} +10920 -9482
- package/assets/monaco-d37b1a8f.css +3 -0
- package/assets/{mysql-CX3tETwr.js → mysql-nklBC2QL.js} +1 -1
- package/assets/{objective-c-CK2i53vc.js → objective-c-x5BzCYEv.js} +1 -1
- package/assets/{pascal-wnGRqmNG.js → pascal-DWL5ya_C.js} +1 -1
- package/assets/{perl-DXuijcFO.js → perl-CbRoLks6.js} +1 -1
- package/assets/{pgsql-BFvD7ctB.js → pgsql-CVS-AsDB.js} +1 -1
- package/assets/{php-FZHoZ5C_.js → php-6gZIubF1.js} +1 -1
- package/assets/{powershell-Wf4X7WOf.js → powershell-DKgJI7BG.js} +1 -1
- package/assets/{protobuf-CcMDFVG6.js → protobuf-N0VyW3k9.js} +1 -1
- package/assets/{pug-OPBd_9cN.js → pug-BIMEUctf.js} +1 -1
- package/assets/{python-D2Z49Cw8.js → python-BKt2Winm.js} +2 -2
- package/assets/{r-FHjiK9Ff.js → r-Cb2uCcX6.js} +1 -1
- package/assets/{redis-CLJ_Tkzp.js → redis-D1CRAuQ1.js} +1 -1
- package/assets/{ruby-Dhjv9xsd.js → ruby-BzpgsYNr.js} +1 -1
- package/assets/{rust-Bq7le2bN.js → rust-CkIXqWDr.js} +1 -1
- package/assets/{scala-Bth6QY64.js → scala-CnJ7htCu.js} +1 -1
- package/assets/{scss-DVPfVfp2.js → scss-xP2eAFyY.js} +1 -1
- package/assets/{shell-DYY2DoAm.js → shell-JSjWPSrk.js} +1 -1
- package/assets/{solidity-C2dWya5C.js → solidity-C8AFhoIi.js} +1 -1
- package/assets/{sql-CE5EfRV1.js → sql-DqW-LmZI.js} +1 -1
- package/assets/{swift-v0LuaFKN.js → swift-BcHKQY-M.js} +1 -1
- package/assets/{systemverilog-BRC61WOW.js → systemverilog-Dmu-Ht4V.js} +1 -1
- package/assets/{ts.worker-CokkJ1Lk.js → ts.worker-BAchZA3W.js} +2 -2
- package/assets/{ts.worker-De3FAST6.js → ts.worker-DZhhT1EO.js} +131 -131
- package/assets/{tsMode-cdcRizUc.js → tsMode-DdcTxg_i.js} +7 -8
- package/assets/{twig-Dq5WyzaF.js → twig-Bj4rwioa.js} +1 -1
- package/assets/{typescript-B25ZZJLy.js → typescript-Djsb1cC9.js} +2 -2
- package/assets/{typespec-DVZXVZWY.js → typespec-xwJ6QpRP.js} +1 -1
- package/assets/{vb--Ows3SAS.js → vb-CMxAjmFH.js} +1 -1
- package/assets/{wgsl-gwRTfDFE.js → wgsl-CTYGQRo2.js} +1 -1
- package/assets/{xml-BD6eVsMx.js → xml-D7cJD5hW.js} +2 -2
- package/assets/{yaml-unVkvP57.js → yaml-B8A0QdVf.js} +2 -2
- package/assets/yaml.worker-Crtsysk5.js +474 -0
- package/assets/yaml.worker-DZ36155v.js +6 -0
- package/lib.d.ts +41 -17
- package/lib.js +2 -0
- package/package.json +1 -1
- package/src/main.js +19 -14
- package/assets/azcli-ue5GhsHI.js +0 -55
- package/assets/cameligo-BoKy-zSd.js +0 -191
- package/assets/csp-DGVEba9U.js +0 -48
- package/assets/cssMode-B-yiAIn5.js +0 -65
- package/assets/ecl-DoDWSDGs.js +0 -228
- package/assets/editorWebWorkerMain-_4oyTYIl.js +0 -33
- package/assets/freemarker2-Jvnudjht.js +0 -718
- package/assets/htmlMode-DcETbRqN.js +0 -74
- package/assets/json.worker-D3-21m4I.js +0 -65
- package/assets/m3-DyBtJGhR.js +0 -195
- package/assets/monaco-ffd8b062.css +0 -3
- package/assets/msdax-95fojGvn.js +0 -158
- package/assets/pascaligo-DR2NqTqc.js +0 -203
- package/assets/pla-Cmb_VVG6.js +0 -148
- package/assets/postiats-DUwtyBVk.js +0 -506
- package/assets/powerquery-wUlwxvME.js +0 -192
- package/assets/qsharp-C4P6iWbB.js +0 -145
- package/assets/razor-CfcSDTvR.js +0 -519
- package/assets/redshift-Cn0YgnO8.js +0 -160
- package/assets/restructuredtext-Ckzl4aRZ.js +0 -289
- package/assets/scheme-BHXdn3HT.js +0 -172
- package/assets/sophia-BdPli0VA.js +0 -149
- package/assets/sparql-Ca6NBL_y.js +0 -126
- package/assets/st-BKcHiAlg.js +0 -478
- package/assets/tcl-Xx48oN1j.js +0 -225
- package/assets/workers-qpP7-_JR.js +0 -48
package/assets/st-BKcHiAlg.js
DELETED
|
@@ -1,478 +0,0 @@
|
|
|
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 };
|
package/assets/tcl-Xx48oN1j.js
DELETED
|
@@ -1,225 +0,0 @@
|
|
|
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 };
|