monacozen 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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-7U-ime2d.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-i6u-9r7u.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-DAP8CNa2.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-d37b1a8f.css +3 -0
- package/assets/{monaco-BMsB0TPD.js → monaco-o5F6wkXp.js} +10917 -9482
- 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-C_Fsqh0j.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
|
@@ -1,506 +0,0 @@
|
|
|
1
|
-
//#region node_modules/.bun/monaco-editor@0.56.0/node_modules/monaco-editor/esm/vs/languages/definitions/postiats/postiats.js
|
|
2
|
-
var e = {
|
|
3
|
-
comments: {
|
|
4
|
-
lineComment: "//",
|
|
5
|
-
blockComment: ["(*", "*)"]
|
|
6
|
-
},
|
|
7
|
-
brackets: [
|
|
8
|
-
["{", "}"],
|
|
9
|
-
["[", "]"],
|
|
10
|
-
["(", ")"],
|
|
11
|
-
["<", ">"]
|
|
12
|
-
],
|
|
13
|
-
autoClosingPairs: [
|
|
14
|
-
{
|
|
15
|
-
open: "\"",
|
|
16
|
-
close: "\"",
|
|
17
|
-
notIn: ["string", "comment"]
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
open: "{",
|
|
21
|
-
close: "}",
|
|
22
|
-
notIn: ["string", "comment"]
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
open: "[",
|
|
26
|
-
close: "]",
|
|
27
|
-
notIn: ["string", "comment"]
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
open: "(",
|
|
31
|
-
close: ")",
|
|
32
|
-
notIn: ["string", "comment"]
|
|
33
|
-
}
|
|
34
|
-
]
|
|
35
|
-
}, t = {
|
|
36
|
-
tokenPostfix: ".pats",
|
|
37
|
-
defaultToken: "invalid",
|
|
38
|
-
keywords: /* @__PURE__ */ "abstype.abst0ype.absprop.absview.absvtype.absviewtype.absvt0ype.absviewt0ype.as.and.assume.begin.classdec.datasort.datatype.dataprop.dataview.datavtype.dataviewtype.do.end.extern.extype.extvar.exception.fn.fnx.fun.prfn.prfun.praxi.castfn.if.then.else.ifcase.in.infix.infixl.infixr.prefix.postfix.implmnt.implement.primplmnt.primplement.import.let.local.macdef.macrodef.nonfix.symelim.symintr.overload.of.op.rec.sif.scase.sortdef.sta.stacst.stadef.static.staload.dynload.try.tkindef.typedef.propdef.viewdef.vtypedef.viewtypedef.prval.var.prvar.when.where.with.withtype.withprop.withview.withvtype.withviewtype".split("."),
|
|
39
|
-
keywords_dlr: /* @__PURE__ */ "$delay.$ldelay.$arrpsz.$arrptrsize.$d2ctype.$effmask.$effmask_ntm.$effmask_exn.$effmask_ref.$effmask_wrt.$effmask_all.$extern.$extkind.$extype.$extype_struct.$extval.$extfcall.$extmcall.$literal.$myfilename.$mylocation.$myfunction.$lst.$lst_t.$lst_vt.$list.$list_t.$list_vt.$rec.$rec_t.$rec_vt.$record.$record_t.$record_vt.$tup.$tup_t.$tup_vt.$tuple.$tuple_t.$tuple_vt.$break.$continue.$raise.$showtype.$vcopyenv_v.$vcopyenv_vt.$tempenver.$solver_assert.$solver_verify".split("."),
|
|
40
|
-
keywords_srp: [
|
|
41
|
-
"#if",
|
|
42
|
-
"#ifdef",
|
|
43
|
-
"#ifndef",
|
|
44
|
-
"#then",
|
|
45
|
-
"#elif",
|
|
46
|
-
"#elifdef",
|
|
47
|
-
"#elifndef",
|
|
48
|
-
"#else",
|
|
49
|
-
"#endif",
|
|
50
|
-
"#error",
|
|
51
|
-
"#prerr",
|
|
52
|
-
"#print",
|
|
53
|
-
"#assert",
|
|
54
|
-
"#undef",
|
|
55
|
-
"#define",
|
|
56
|
-
"#include",
|
|
57
|
-
"#require",
|
|
58
|
-
"#pragma",
|
|
59
|
-
"#codegen2",
|
|
60
|
-
"#codegen3"
|
|
61
|
-
],
|
|
62
|
-
irregular_keyword_list: /* @__PURE__ */ "val+.val-.val.case+.case-.case.addr@.addr.fold@.free@.fix@.fix.lam@.lam.llam@.llam.viewt@ype+.viewt@ype-.viewt@ype.viewtype+.viewtype-.viewtype.view+.view-.view@.view.type+.type-.type.vtype+.vtype-.vtype.vt@ype+.vt@ype-.vt@ype.viewt@ype+.viewt@ype-.viewt@ype.viewtype+.viewtype-.viewtype.prop+.prop-.prop.type+.type-.type.t@ype.t@ype+.t@ype-.abst@ype.abstype.absviewt@ype.absvt@ype.for*.for.while*.while".split("."),
|
|
63
|
-
keywords_types: [
|
|
64
|
-
"bool",
|
|
65
|
-
"double",
|
|
66
|
-
"byte",
|
|
67
|
-
"int",
|
|
68
|
-
"short",
|
|
69
|
-
"char",
|
|
70
|
-
"void",
|
|
71
|
-
"unit",
|
|
72
|
-
"long",
|
|
73
|
-
"float",
|
|
74
|
-
"string",
|
|
75
|
-
"strptr"
|
|
76
|
-
],
|
|
77
|
-
keywords_effects: [
|
|
78
|
-
"0",
|
|
79
|
-
"fun",
|
|
80
|
-
"clo",
|
|
81
|
-
"prf",
|
|
82
|
-
"funclo",
|
|
83
|
-
"cloptr",
|
|
84
|
-
"cloref",
|
|
85
|
-
"ref",
|
|
86
|
-
"ntm",
|
|
87
|
-
"1"
|
|
88
|
-
],
|
|
89
|
-
operators: [
|
|
90
|
-
"@",
|
|
91
|
-
"!",
|
|
92
|
-
"|",
|
|
93
|
-
"`",
|
|
94
|
-
":",
|
|
95
|
-
"$",
|
|
96
|
-
".",
|
|
97
|
-
"=",
|
|
98
|
-
"#",
|
|
99
|
-
"~",
|
|
100
|
-
"..",
|
|
101
|
-
"...",
|
|
102
|
-
"=>",
|
|
103
|
-
"=<>",
|
|
104
|
-
"=/=>",
|
|
105
|
-
"=>>",
|
|
106
|
-
"=/=>>",
|
|
107
|
-
"<",
|
|
108
|
-
">",
|
|
109
|
-
"><",
|
|
110
|
-
".<",
|
|
111
|
-
">.",
|
|
112
|
-
".<>.",
|
|
113
|
-
"->",
|
|
114
|
-
"-<>"
|
|
115
|
-
],
|
|
116
|
-
brackets: [
|
|
117
|
-
{
|
|
118
|
-
open: ",(",
|
|
119
|
-
close: ")",
|
|
120
|
-
token: "delimiter.parenthesis"
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
open: "`(",
|
|
124
|
-
close: ")",
|
|
125
|
-
token: "delimiter.parenthesis"
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
open: "%(",
|
|
129
|
-
close: ")",
|
|
130
|
-
token: "delimiter.parenthesis"
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
open: "'(",
|
|
134
|
-
close: ")",
|
|
135
|
-
token: "delimiter.parenthesis"
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
open: "'{",
|
|
139
|
-
close: "}",
|
|
140
|
-
token: "delimiter.parenthesis"
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
open: "@(",
|
|
144
|
-
close: ")",
|
|
145
|
-
token: "delimiter.parenthesis"
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
open: "@{",
|
|
149
|
-
close: "}",
|
|
150
|
-
token: "delimiter.brace"
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
open: "@[",
|
|
154
|
-
close: "]",
|
|
155
|
-
token: "delimiter.square"
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
open: "#[",
|
|
159
|
-
close: "]",
|
|
160
|
-
token: "delimiter.square"
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
open: "{",
|
|
164
|
-
close: "}",
|
|
165
|
-
token: "delimiter.curly"
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
open: "[",
|
|
169
|
-
close: "]",
|
|
170
|
-
token: "delimiter.square"
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
open: "(",
|
|
174
|
-
close: ")",
|
|
175
|
-
token: "delimiter.parenthesis"
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
open: "<",
|
|
179
|
-
close: ">",
|
|
180
|
-
token: "delimiter.angle"
|
|
181
|
-
}
|
|
182
|
-
],
|
|
183
|
-
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
|
184
|
-
IDENTFST: /[a-zA-Z_]/,
|
|
185
|
-
IDENTRST: /[a-zA-Z0-9_'$]/,
|
|
186
|
-
symbolic: /[%&+-./:=@~`^|*!$#?<>]/,
|
|
187
|
-
digit: /[0-9]/,
|
|
188
|
-
digitseq0: /@digit*/,
|
|
189
|
-
xdigit: /[0-9A-Za-z]/,
|
|
190
|
-
xdigitseq0: /@xdigit*/,
|
|
191
|
-
INTSP: /[lLuU]/,
|
|
192
|
-
FLOATSP: /[fFlL]/,
|
|
193
|
-
fexponent: /[eE][+-]?[0-9]+/,
|
|
194
|
-
fexponent_bin: /[pP][+-]?[0-9]+/,
|
|
195
|
-
deciexp: /\.[0-9]*@fexponent?/,
|
|
196
|
-
hexiexp: /\.[0-9a-zA-Z]*@fexponent_bin?/,
|
|
197
|
-
irregular_keywords: /val[+-]?|case[+-]?|addr\@?|fold\@|free\@|fix\@?|lam\@?|llam\@?|prop[+-]?|type[+-]?|view[+-@]?|viewt@?ype[+-]?|t@?ype[+-]?|v(iew)?t@?ype[+-]?|abst@?ype|absv(iew)?t@?ype|for\*?|while\*?/,
|
|
198
|
-
ESCHAR: /[ntvbrfa\\\?'"\(\[\{]/,
|
|
199
|
-
start: "root",
|
|
200
|
-
tokenizer: {
|
|
201
|
-
root: [
|
|
202
|
-
{
|
|
203
|
-
regex: /[ \t\r\n]+/,
|
|
204
|
-
action: { token: "" }
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
regex: /\(\*\)/,
|
|
208
|
-
action: { token: "invalid" }
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
regex: /\(\*/,
|
|
212
|
-
action: {
|
|
213
|
-
token: "comment",
|
|
214
|
-
next: "lexing_COMMENT_block_ml"
|
|
215
|
-
}
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
regex: /\(/,
|
|
219
|
-
action: "@brackets"
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
regex: /\)/,
|
|
223
|
-
action: "@brackets"
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
regex: /\[/,
|
|
227
|
-
action: "@brackets"
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
regex: /\]/,
|
|
231
|
-
action: "@brackets"
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
regex: /\{/,
|
|
235
|
-
action: "@brackets"
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
regex: /\}/,
|
|
239
|
-
action: "@brackets"
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
regex: /,\(/,
|
|
243
|
-
action: "@brackets"
|
|
244
|
-
},
|
|
245
|
-
{
|
|
246
|
-
regex: /,/,
|
|
247
|
-
action: { token: "delimiter.comma" }
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
regex: /;/,
|
|
251
|
-
action: { token: "delimiter.semicolon" }
|
|
252
|
-
},
|
|
253
|
-
{
|
|
254
|
-
regex: /@\(/,
|
|
255
|
-
action: "@brackets"
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
regex: /@\[/,
|
|
259
|
-
action: "@brackets"
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
regex: /@\{/,
|
|
263
|
-
action: "@brackets"
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
regex: /:</,
|
|
267
|
-
action: {
|
|
268
|
-
token: "keyword",
|
|
269
|
-
next: "@lexing_EFFECT_commaseq0"
|
|
270
|
-
}
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
regex: /\.@symbolic+/,
|
|
274
|
-
action: { token: "identifier.sym" }
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
regex: /\.@digit*@fexponent@FLOATSP*/,
|
|
278
|
-
action: { token: "number.float" }
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
regex: /\.@digit+/,
|
|
282
|
-
action: { token: "number.float" }
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
regex: /\$@IDENTFST@IDENTRST*/,
|
|
286
|
-
action: { cases: {
|
|
287
|
-
"@keywords_dlr": { token: "keyword.dlr" },
|
|
288
|
-
"@default": { token: "namespace" }
|
|
289
|
-
} }
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
regex: /\#@IDENTFST@IDENTRST*/,
|
|
293
|
-
action: { cases: {
|
|
294
|
-
"@keywords_srp": { token: "keyword.srp" },
|
|
295
|
-
"@default": { token: "identifier" }
|
|
296
|
-
} }
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
regex: /%\(/,
|
|
300
|
-
action: { token: "delimiter.parenthesis" }
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
regex: /^%{(#|\^|\$)?/,
|
|
304
|
-
action: {
|
|
305
|
-
token: "keyword",
|
|
306
|
-
next: "@lexing_EXTCODE",
|
|
307
|
-
nextEmbedded: "text/javascript"
|
|
308
|
-
}
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
regex: /^%}/,
|
|
312
|
-
action: { token: "keyword" }
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
regex: /'\(/,
|
|
316
|
-
action: { token: "delimiter.parenthesis" }
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
regex: /'\[/,
|
|
320
|
-
action: { token: "delimiter.bracket" }
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
regex: /'\{/,
|
|
324
|
-
action: { token: "delimiter.brace" }
|
|
325
|
-
},
|
|
326
|
-
[/(')(\\@ESCHAR|\\[xX]@xdigit+|\\@digit+)(')/, [
|
|
327
|
-
"string",
|
|
328
|
-
"string.escape",
|
|
329
|
-
"string"
|
|
330
|
-
]],
|
|
331
|
-
[/'[^\\']'/, "string"],
|
|
332
|
-
[
|
|
333
|
-
/"/,
|
|
334
|
-
"string.quote",
|
|
335
|
-
"@lexing_DQUOTE"
|
|
336
|
-
],
|
|
337
|
-
{
|
|
338
|
-
regex: /`\(/,
|
|
339
|
-
action: "@brackets"
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
regex: /\\/,
|
|
343
|
-
action: { token: "punctuation" }
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
regex: /@irregular_keywords(?!@IDENTRST)/,
|
|
347
|
-
action: { token: "keyword" }
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
regex: /@IDENTFST@IDENTRST*[<!\[]?/,
|
|
351
|
-
action: { cases: {
|
|
352
|
-
"@keywords": { token: "keyword" },
|
|
353
|
-
"@keywords_types": { token: "type" },
|
|
354
|
-
"@default": { token: "identifier" }
|
|
355
|
-
} }
|
|
356
|
-
},
|
|
357
|
-
{
|
|
358
|
-
regex: /\/\/\/\//,
|
|
359
|
-
action: {
|
|
360
|
-
token: "comment",
|
|
361
|
-
next: "@lexing_COMMENT_rest"
|
|
362
|
-
}
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
regex: /\/\/.*$/,
|
|
366
|
-
action: { token: "comment" }
|
|
367
|
-
},
|
|
368
|
-
{
|
|
369
|
-
regex: /\/\*/,
|
|
370
|
-
action: {
|
|
371
|
-
token: "comment",
|
|
372
|
-
next: "@lexing_COMMENT_block_c"
|
|
373
|
-
}
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
regex: /-<|=</,
|
|
377
|
-
action: {
|
|
378
|
-
token: "keyword",
|
|
379
|
-
next: "@lexing_EFFECT_commaseq0"
|
|
380
|
-
}
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
regex: /@symbolic+/,
|
|
384
|
-
action: { cases: {
|
|
385
|
-
"@operators": "keyword",
|
|
386
|
-
"@default": "operator"
|
|
387
|
-
} }
|
|
388
|
-
},
|
|
389
|
-
{
|
|
390
|
-
regex: /0[xX]@xdigit+(@hexiexp|@fexponent_bin)@FLOATSP*/,
|
|
391
|
-
action: { token: "number.float" }
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
regex: /0[xX]@xdigit+@INTSP*/,
|
|
395
|
-
action: { token: "number.hex" }
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
regex: /0[0-7]+(?![0-9])@INTSP*/,
|
|
399
|
-
action: { token: "number.octal" }
|
|
400
|
-
},
|
|
401
|
-
{
|
|
402
|
-
regex: /@digit+(@fexponent|@deciexp)@FLOATSP*/,
|
|
403
|
-
action: { token: "number.float" }
|
|
404
|
-
},
|
|
405
|
-
{
|
|
406
|
-
regex: /@digit@digitseq0@INTSP*/,
|
|
407
|
-
action: { token: "number.decimal" }
|
|
408
|
-
},
|
|
409
|
-
{
|
|
410
|
-
regex: /@digit+@INTSP*/,
|
|
411
|
-
action: { token: "number" }
|
|
412
|
-
}
|
|
413
|
-
],
|
|
414
|
-
lexing_COMMENT_block_ml: [
|
|
415
|
-
[/[^\(\*]+/, "comment"],
|
|
416
|
-
[
|
|
417
|
-
/\(\*/,
|
|
418
|
-
"comment",
|
|
419
|
-
"@push"
|
|
420
|
-
],
|
|
421
|
-
[/\(\*/, "comment.invalid"],
|
|
422
|
-
[
|
|
423
|
-
/\*\)/,
|
|
424
|
-
"comment",
|
|
425
|
-
"@pop"
|
|
426
|
-
],
|
|
427
|
-
[/\*/, "comment"]
|
|
428
|
-
],
|
|
429
|
-
lexing_COMMENT_block_c: [
|
|
430
|
-
[/[^\/*]+/, "comment"],
|
|
431
|
-
[
|
|
432
|
-
/\*\//,
|
|
433
|
-
"comment",
|
|
434
|
-
"@pop"
|
|
435
|
-
],
|
|
436
|
-
[/[\/*]/, "comment"]
|
|
437
|
-
],
|
|
438
|
-
lexing_COMMENT_rest: [[
|
|
439
|
-
/$/,
|
|
440
|
-
"comment",
|
|
441
|
-
"@pop"
|
|
442
|
-
], [/.*/, "comment"]],
|
|
443
|
-
lexing_EFFECT_commaseq0: [
|
|
444
|
-
{
|
|
445
|
-
regex: /@IDENTFST@IDENTRST+|@digit+/,
|
|
446
|
-
action: { cases: {
|
|
447
|
-
"@keywords_effects": { token: "type.effect" },
|
|
448
|
-
"@default": { token: "identifier" }
|
|
449
|
-
} }
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
regex: /,/,
|
|
453
|
-
action: { token: "punctuation" }
|
|
454
|
-
},
|
|
455
|
-
{
|
|
456
|
-
regex: />/,
|
|
457
|
-
action: {
|
|
458
|
-
token: "@rematch",
|
|
459
|
-
next: "@pop"
|
|
460
|
-
}
|
|
461
|
-
}
|
|
462
|
-
],
|
|
463
|
-
lexing_EXTCODE: [{
|
|
464
|
-
regex: /^%}/,
|
|
465
|
-
action: {
|
|
466
|
-
token: "@rematch",
|
|
467
|
-
next: "@pop",
|
|
468
|
-
nextEmbedded: "@pop"
|
|
469
|
-
}
|
|
470
|
-
}, {
|
|
471
|
-
regex: /[^%]+/,
|
|
472
|
-
action: ""
|
|
473
|
-
}],
|
|
474
|
-
lexing_DQUOTE: [
|
|
475
|
-
{
|
|
476
|
-
regex: /"/,
|
|
477
|
-
action: {
|
|
478
|
-
token: "string.quote",
|
|
479
|
-
next: "@pop"
|
|
480
|
-
}
|
|
481
|
-
},
|
|
482
|
-
{
|
|
483
|
-
regex: /(\{\$)(@IDENTFST@IDENTRST*)(\})/,
|
|
484
|
-
action: [
|
|
485
|
-
{ token: "string.escape" },
|
|
486
|
-
{ token: "identifier" },
|
|
487
|
-
{ token: "string.escape" }
|
|
488
|
-
]
|
|
489
|
-
},
|
|
490
|
-
{
|
|
491
|
-
regex: /\\$/,
|
|
492
|
-
action: { token: "string.escape" }
|
|
493
|
-
},
|
|
494
|
-
{
|
|
495
|
-
regex: /\\(@ESCHAR|[xX]@xdigit+|@digit+)/,
|
|
496
|
-
action: { token: "string.escape" }
|
|
497
|
-
},
|
|
498
|
-
{
|
|
499
|
-
regex: /[^\\"]+/,
|
|
500
|
-
action: { token: "string" }
|
|
501
|
-
}
|
|
502
|
-
]
|
|
503
|
-
}
|
|
504
|
-
};
|
|
505
|
-
//#endregion
|
|
506
|
-
export { e as conf, t as language };
|
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
//#region node_modules/.bun/monaco-editor@0.56.0/node_modules/monaco-editor/esm/vs/languages/definitions/powerquery/powerquery.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
|
-
notIn: [
|
|
17
|
-
"string",
|
|
18
|
-
"comment",
|
|
19
|
-
"identifier"
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
open: "[",
|
|
24
|
-
close: "]",
|
|
25
|
-
notIn: [
|
|
26
|
-
"string",
|
|
27
|
-
"comment",
|
|
28
|
-
"identifier"
|
|
29
|
-
]
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
open: "(",
|
|
33
|
-
close: ")",
|
|
34
|
-
notIn: [
|
|
35
|
-
"string",
|
|
36
|
-
"comment",
|
|
37
|
-
"identifier"
|
|
38
|
-
]
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
open: "{",
|
|
42
|
-
close: "}",
|
|
43
|
-
notIn: [
|
|
44
|
-
"string",
|
|
45
|
-
"comment",
|
|
46
|
-
"identifier"
|
|
47
|
-
]
|
|
48
|
-
}
|
|
49
|
-
]
|
|
50
|
-
}, t = {
|
|
51
|
-
defaultToken: "",
|
|
52
|
-
tokenPostfix: ".pq",
|
|
53
|
-
ignoreCase: !1,
|
|
54
|
-
brackets: [
|
|
55
|
-
{
|
|
56
|
-
open: "[",
|
|
57
|
-
close: "]",
|
|
58
|
-
token: "delimiter.square"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
open: "{",
|
|
62
|
-
close: "}",
|
|
63
|
-
token: "delimiter.brackets"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
open: "(",
|
|
67
|
-
close: ")",
|
|
68
|
-
token: "delimiter.parenthesis"
|
|
69
|
-
}
|
|
70
|
-
],
|
|
71
|
-
operatorKeywords: [
|
|
72
|
-
"and",
|
|
73
|
-
"not",
|
|
74
|
-
"or"
|
|
75
|
-
],
|
|
76
|
-
keywords: [
|
|
77
|
-
"as",
|
|
78
|
-
"each",
|
|
79
|
-
"else",
|
|
80
|
-
"error",
|
|
81
|
-
"false",
|
|
82
|
-
"if",
|
|
83
|
-
"in",
|
|
84
|
-
"is",
|
|
85
|
-
"let",
|
|
86
|
-
"meta",
|
|
87
|
-
"otherwise",
|
|
88
|
-
"section",
|
|
89
|
-
"shared",
|
|
90
|
-
"then",
|
|
91
|
-
"true",
|
|
92
|
-
"try",
|
|
93
|
-
"type"
|
|
94
|
-
],
|
|
95
|
-
constructors: [
|
|
96
|
-
"#binary",
|
|
97
|
-
"#date",
|
|
98
|
-
"#datetime",
|
|
99
|
-
"#datetimezone",
|
|
100
|
-
"#duration",
|
|
101
|
-
"#table",
|
|
102
|
-
"#time"
|
|
103
|
-
],
|
|
104
|
-
constants: [
|
|
105
|
-
"#infinity",
|
|
106
|
-
"#nan",
|
|
107
|
-
"#sections",
|
|
108
|
-
"#shared"
|
|
109
|
-
],
|
|
110
|
-
typeKeywords: [
|
|
111
|
-
"action",
|
|
112
|
-
"any",
|
|
113
|
-
"anynonnull",
|
|
114
|
-
"none",
|
|
115
|
-
"null",
|
|
116
|
-
"logical",
|
|
117
|
-
"number",
|
|
118
|
-
"time",
|
|
119
|
-
"date",
|
|
120
|
-
"datetime",
|
|
121
|
-
"datetimezone",
|
|
122
|
-
"duration",
|
|
123
|
-
"text",
|
|
124
|
-
"binary",
|
|
125
|
-
"list",
|
|
126
|
-
"record",
|
|
127
|
-
"table",
|
|
128
|
-
"function"
|
|
129
|
-
],
|
|
130
|
-
builtinFunctions: /* @__PURE__ */ "Access.Database,Action.Return,Action.Sequence,Action.Try,ActiveDirectory.Domains,AdoDotNet.DataSource,AdoDotNet.Query,AdobeAnalytics.Cubes,AnalysisServices.Database,AnalysisServices.Databases,AzureStorage.BlobContents,AzureStorage.Blobs,AzureStorage.Tables,Binary.Buffer,Binary.Combine,Binary.Compress,Binary.Decompress,Binary.End,Binary.From,Binary.FromList,Binary.FromText,Binary.InferContentType,Binary.Length,Binary.ToList,Binary.ToText,BinaryFormat.7BitEncodedSignedInteger,BinaryFormat.7BitEncodedUnsignedInteger,BinaryFormat.Binary,BinaryFormat.Byte,BinaryFormat.ByteOrder,BinaryFormat.Choice,BinaryFormat.Decimal,BinaryFormat.Double,BinaryFormat.Group,BinaryFormat.Length,BinaryFormat.List,BinaryFormat.Null,BinaryFormat.Record,BinaryFormat.SignedInteger16,BinaryFormat.SignedInteger32,BinaryFormat.SignedInteger64,BinaryFormat.Single,BinaryFormat.Text,BinaryFormat.Transform,BinaryFormat.UnsignedInteger16,BinaryFormat.UnsignedInteger32,BinaryFormat.UnsignedInteger64,Byte.From,Character.FromNumber,Character.ToNumber,Combiner.CombineTextByDelimiter,Combiner.CombineTextByEachDelimiter,Combiner.CombineTextByLengths,Combiner.CombineTextByPositions,Combiner.CombineTextByRanges,Comparer.Equals,Comparer.FromCulture,Comparer.Ordinal,Comparer.OrdinalIgnoreCase,Csv.Document,Cube.AddAndExpandDimensionColumn,Cube.AddMeasureColumn,Cube.ApplyParameter,Cube.AttributeMemberId,Cube.AttributeMemberProperty,Cube.CollapseAndRemoveColumns,Cube.Dimensions,Cube.DisplayFolders,Cube.Measures,Cube.Parameters,Cube.Properties,Cube.PropertyKey,Cube.ReplaceDimensions,Cube.Transform,Currency.From,DB2.Database,Date.AddDays,Date.AddMonths,Date.AddQuarters,Date.AddWeeks,Date.AddYears,Date.Day,Date.DayOfWeek,Date.DayOfWeekName,Date.DayOfYear,Date.DaysInMonth,Date.EndOfDay,Date.EndOfMonth,Date.EndOfQuarter,Date.EndOfWeek,Date.EndOfYear,Date.From,Date.FromText,Date.IsInCurrentDay,Date.IsInCurrentMonth,Date.IsInCurrentQuarter,Date.IsInCurrentWeek,Date.IsInCurrentYear,Date.IsInNextDay,Date.IsInNextMonth,Date.IsInNextNDays,Date.IsInNextNMonths,Date.IsInNextNQuarters,Date.IsInNextNWeeks,Date.IsInNextNYears,Date.IsInNextQuarter,Date.IsInNextWeek,Date.IsInNextYear,Date.IsInPreviousDay,Date.IsInPreviousMonth,Date.IsInPreviousNDays,Date.IsInPreviousNMonths,Date.IsInPreviousNQuarters,Date.IsInPreviousNWeeks,Date.IsInPreviousNYears,Date.IsInPreviousQuarter,Date.IsInPreviousWeek,Date.IsInPreviousYear,Date.IsInYearToDate,Date.IsLeapYear,Date.Month,Date.MonthName,Date.QuarterOfYear,Date.StartOfDay,Date.StartOfMonth,Date.StartOfQuarter,Date.StartOfWeek,Date.StartOfYear,Date.ToRecord,Date.ToText,Date.WeekOfMonth,Date.WeekOfYear,Date.Year,DateTime.AddZone,DateTime.Date,DateTime.FixedLocalNow,DateTime.From,DateTime.FromFileTime,DateTime.FromText,DateTime.IsInCurrentHour,DateTime.IsInCurrentMinute,DateTime.IsInCurrentSecond,DateTime.IsInNextHour,DateTime.IsInNextMinute,DateTime.IsInNextNHours,DateTime.IsInNextNMinutes,DateTime.IsInNextNSeconds,DateTime.IsInNextSecond,DateTime.IsInPreviousHour,DateTime.IsInPreviousMinute,DateTime.IsInPreviousNHours,DateTime.IsInPreviousNMinutes,DateTime.IsInPreviousNSeconds,DateTime.IsInPreviousSecond,DateTime.LocalNow,DateTime.Time,DateTime.ToRecord,DateTime.ToText,DateTimeZone.FixedLocalNow,DateTimeZone.FixedUtcNow,DateTimeZone.From,DateTimeZone.FromFileTime,DateTimeZone.FromText,DateTimeZone.LocalNow,DateTimeZone.RemoveZone,DateTimeZone.SwitchZone,DateTimeZone.ToLocal,DateTimeZone.ToRecord,DateTimeZone.ToText,DateTimeZone.ToUtc,DateTimeZone.UtcNow,DateTimeZone.ZoneHours,DateTimeZone.ZoneMinutes,Decimal.From,Diagnostics.ActivityId,Diagnostics.Trace,DirectQueryCapabilities.From,Double.From,Duration.Days,Duration.From,Duration.FromText,Duration.Hours,Duration.Minutes,Duration.Seconds,Duration.ToRecord,Duration.ToText,Duration.TotalDays,Duration.TotalHours,Duration.TotalMinutes,Duration.TotalSeconds,Embedded.Value,Error.Record,Excel.CurrentWorkbook,Excel.Workbook,Exchange.Contents,Expression.Constant,Expression.Evaluate,Expression.Identifier,Facebook.Graph,File.Contents,Folder.Contents,Folder.Files,Function.From,Function.Invoke,Function.InvokeAfter,Function.IsDataSource,GoogleAnalytics.Accounts,Guid.From,HdInsight.Containers,HdInsight.Contents,HdInsight.Files,Hdfs.Contents,Hdfs.Files,Informix.Database,Int16.From,Int32.From,Int64.From,Int8.From,ItemExpression.From,Json.Document,Json.FromValue,Lines.FromBinary,Lines.FromText,Lines.ToBinary,Lines.ToText,List.Accumulate,List.AllTrue,List.Alternate,List.AnyTrue,List.Average,List.Buffer,List.Combine,List.Contains,List.ContainsAll,List.ContainsAny,List.Count,List.Covariance,List.DateTimeZones,List.DateTimes,List.Dates,List.Difference,List.Distinct,List.Durations,List.FindText,List.First,List.FirstN,List.Generate,List.InsertRange,List.Intersect,List.IsDistinct,List.IsEmpty,List.Last,List.LastN,List.MatchesAll,List.MatchesAny,List.Max,List.MaxN,List.Median,List.Min,List.MinN,List.Mode,List.Modes,List.NonNullCount,List.Numbers,List.PositionOf,List.PositionOfAny,List.Positions,List.Product,List.Random,List.Range,List.RemoveFirstN,List.RemoveItems,List.RemoveLastN,List.RemoveMatchingItems,List.RemoveNulls,List.RemoveRange,List.Repeat,List.ReplaceMatchingItems,List.ReplaceRange,List.ReplaceValue,List.Reverse,List.Select,List.Single,List.SingleOrDefault,List.Skip,List.Sort,List.StandardDeviation,List.Sum,List.Times,List.Transform,List.TransformMany,List.Union,List.Zip,Logical.From,Logical.FromText,Logical.ToText,MQ.Queue,MySQL.Database,Number.Abs,Number.Acos,Number.Asin,Number.Atan,Number.Atan2,Number.BitwiseAnd,Number.BitwiseNot,Number.BitwiseOr,Number.BitwiseShiftLeft,Number.BitwiseShiftRight,Number.BitwiseXor,Number.Combinations,Number.Cos,Number.Cosh,Number.Exp,Number.Factorial,Number.From,Number.FromText,Number.IntegerDivide,Number.IsEven,Number.IsNaN,Number.IsOdd,Number.Ln,Number.Log,Number.Log10,Number.Mod,Number.Permutations,Number.Power,Number.Random,Number.RandomBetween,Number.Round,Number.RoundAwayFromZero,Number.RoundDown,Number.RoundTowardZero,Number.RoundUp,Number.Sign,Number.Sin,Number.Sinh,Number.Sqrt,Number.Tan,Number.Tanh,Number.ToText,OData.Feed,Odbc.DataSource,Odbc.Query,OleDb.DataSource,OleDb.Query,Oracle.Database,Percentage.From,PostgreSQL.Database,RData.FromBinary,Record.AddField,Record.Combine,Record.Field,Record.FieldCount,Record.FieldNames,Record.FieldOrDefault,Record.FieldValues,Record.FromList,Record.FromTable,Record.HasFields,Record.RemoveFields,Record.RenameFields,Record.ReorderFields,Record.SelectFields,Record.ToList,Record.ToTable,Record.TransformFields,Replacer.ReplaceText,Replacer.ReplaceValue,RowExpression.Column,RowExpression.From,Salesforce.Data,Salesforce.Reports,SapBusinessWarehouse.Cubes,SapHana.Database,SharePoint.Contents,SharePoint.Files,SharePoint.Tables,Single.From,Soda.Feed,Splitter.SplitByNothing,Splitter.SplitTextByAnyDelimiter,Splitter.SplitTextByDelimiter,Splitter.SplitTextByEachDelimiter,Splitter.SplitTextByLengths,Splitter.SplitTextByPositions,Splitter.SplitTextByRanges,Splitter.SplitTextByRepeatedLengths,Splitter.SplitTextByWhitespace,Sql.Database,Sql.Databases,SqlExpression.SchemaFrom,SqlExpression.ToExpression,Sybase.Database,Table.AddColumn,Table.AddIndexColumn,Table.AddJoinColumn,Table.AddKey,Table.AggregateTableColumn,Table.AlternateRows,Table.Buffer,Table.Column,Table.ColumnCount,Table.ColumnNames,Table.ColumnsOfType,Table.Combine,Table.CombineColumns,Table.Contains,Table.ContainsAll,Table.ContainsAny,Table.DemoteHeaders,Table.Distinct,Table.DuplicateColumn,Table.ExpandListColumn,Table.ExpandRecordColumn,Table.ExpandTableColumn,Table.FillDown,Table.FillUp,Table.FilterWithDataTable,Table.FindText,Table.First,Table.FirstN,Table.FirstValue,Table.FromColumns,Table.FromList,Table.FromPartitions,Table.FromRecords,Table.FromRows,Table.FromValue,Table.Group,Table.HasColumns,Table.InsertRows,Table.IsDistinct,Table.IsEmpty,Table.Join,Table.Keys,Table.Last,Table.LastN,Table.MatchesAllRows,Table.MatchesAnyRows,Table.Max,Table.MaxN,Table.Min,Table.MinN,Table.NestedJoin,Table.Partition,Table.PartitionValues,Table.Pivot,Table.PositionOf,Table.PositionOfAny,Table.PrefixColumns,Table.Profile,Table.PromoteHeaders,Table.Range,Table.RemoveColumns,Table.RemoveFirstN,Table.RemoveLastN,Table.RemoveMatchingRows,Table.RemoveRows,Table.RemoveRowsWithErrors,Table.RenameColumns,Table.ReorderColumns,Table.Repeat,Table.ReplaceErrorValues,Table.ReplaceKeys,Table.ReplaceMatchingRows,Table.ReplaceRelationshipIdentity,Table.ReplaceRows,Table.ReplaceValue,Table.ReverseRows,Table.RowCount,Table.Schema,Table.SelectColumns,Table.SelectRows,Table.SelectRowsWithErrors,Table.SingleRow,Table.Skip,Table.Sort,Table.SplitColumn,Table.ToColumns,Table.ToList,Table.ToRecords,Table.ToRows,Table.TransformColumnNames,Table.TransformColumnTypes,Table.TransformColumns,Table.TransformRows,Table.Transpose,Table.Unpivot,Table.UnpivotOtherColumns,Table.View,Table.ViewFunction,TableAction.DeleteRows,TableAction.InsertRows,TableAction.UpdateRows,Tables.GetRelationships,Teradata.Database,Text.AfterDelimiter,Text.At,Text.BeforeDelimiter,Text.BetweenDelimiters,Text.Clean,Text.Combine,Text.Contains,Text.End,Text.EndsWith,Text.Format,Text.From,Text.FromBinary,Text.Insert,Text.Length,Text.Lower,Text.Middle,Text.NewGuid,Text.PadEnd,Text.PadStart,Text.PositionOf,Text.PositionOfAny,Text.Proper,Text.Range,Text.Remove,Text.RemoveRange,Text.Repeat,Text.Replace,Text.ReplaceRange,Text.Select,Text.Split,Text.SplitAny,Text.Start,Text.StartsWith,Text.ToBinary,Text.ToList,Text.Trim,Text.TrimEnd,Text.TrimStart,Text.Upper,Time.EndOfHour,Time.From,Time.FromText,Time.Hour,Time.Minute,Time.Second,Time.StartOfHour,Time.ToRecord,Time.ToText,Type.AddTableKey,Type.ClosedRecord,Type.Facets,Type.ForFunction,Type.ForRecord,Type.FunctionParameters,Type.FunctionRequiredParameters,Type.FunctionReturn,Type.Is,Type.IsNullable,Type.IsOpenRecord,Type.ListItem,Type.NonNullable,Type.OpenRecord,Type.RecordFields,Type.ReplaceFacets,Type.ReplaceTableKeys,Type.TableColumn,Type.TableKeys,Type.TableRow,Type.TableSchema,Type.Union,Uri.BuildQueryString,Uri.Combine,Uri.EscapeDataString,Uri.Parts,Value.Add,Value.As,Value.Compare,Value.Divide,Value.Equals,Value.Firewall,Value.FromText,Value.Is,Value.Metadata,Value.Multiply,Value.NativeQuery,Value.NullableEquals,Value.RemoveMetadata,Value.ReplaceMetadata,Value.ReplaceType,Value.Subtract,Value.Type,ValueAction.NativeStatement,ValueAction.Replace,Variable.Value,Web.Contents,Web.Page,WebAction.Request,Xml.Document,Xml.Tables".split(","),
|
|
131
|
-
builtinConstants: /* @__PURE__ */ "BinaryEncoding.Base64,BinaryEncoding.Hex,BinaryOccurrence.Optional,BinaryOccurrence.Repeating,BinaryOccurrence.Required,ByteOrder.BigEndian,ByteOrder.LittleEndian,Compression.Deflate,Compression.GZip,CsvStyle.QuoteAfterDelimiter,CsvStyle.QuoteAlways,Culture.Current,Day.Friday,Day.Monday,Day.Saturday,Day.Sunday,Day.Thursday,Day.Tuesday,Day.Wednesday,ExtraValues.Error,ExtraValues.Ignore,ExtraValues.List,GroupKind.Global,GroupKind.Local,JoinAlgorithm.Dynamic,JoinAlgorithm.LeftHash,JoinAlgorithm.LeftIndex,JoinAlgorithm.PairwiseHash,JoinAlgorithm.RightHash,JoinAlgorithm.RightIndex,JoinAlgorithm.SortMerge,JoinKind.FullOuter,JoinKind.Inner,JoinKind.LeftAnti,JoinKind.LeftOuter,JoinKind.RightAnti,JoinKind.RightOuter,JoinSide.Left,JoinSide.Right,MissingField.Error,MissingField.Ignore,MissingField.UseNull,Number.E,Number.Epsilon,Number.NaN,Number.NegativeInfinity,Number.PI,Number.PositiveInfinity,Occurrence.All,Occurrence.First,Occurrence.Last,Occurrence.Optional,Occurrence.Repeating,Occurrence.Required,Order.Ascending,Order.Descending,Precision.Decimal,Precision.Double,QuoteStyle.Csv,QuoteStyle.None,RelativePosition.FromEnd,RelativePosition.FromStart,RoundingMode.AwayFromZero,RoundingMode.Down,RoundingMode.ToEven,RoundingMode.TowardZero,RoundingMode.Up,SapHanaDistribution.All,SapHanaDistribution.Connection,SapHanaDistribution.Off,SapHanaDistribution.Statement,SapHanaRangeOperator.Equals,SapHanaRangeOperator.GreaterThan,SapHanaRangeOperator.GreaterThanOrEquals,SapHanaRangeOperator.LessThan,SapHanaRangeOperator.LessThanOrEquals,SapHanaRangeOperator.NotEquals,TextEncoding.Ascii,TextEncoding.BigEndianUnicode,TextEncoding.Unicode,TextEncoding.Utf16,TextEncoding.Utf8,TextEncoding.Windows,TraceLevel.Critical,TraceLevel.Error,TraceLevel.Information,TraceLevel.Verbose,TraceLevel.Warning,WebMethod.Delete,WebMethod.Get,WebMethod.Head,WebMethod.Patch,WebMethod.Post,WebMethod.Put".split(","),
|
|
132
|
-
builtinTypes: /* @__PURE__ */ "Action.Type,Any.Type,Binary.Type,BinaryEncoding.Type,BinaryOccurrence.Type,Byte.Type,ByteOrder.Type,Character.Type,Compression.Type,CsvStyle.Type,Currency.Type,Date.Type,DateTime.Type,DateTimeZone.Type,Day.Type,Decimal.Type,Double.Type,Duration.Type,ExtraValues.Type,Function.Type,GroupKind.Type,Guid.Type,Int16.Type,Int32.Type,Int64.Type,Int8.Type,JoinAlgorithm.Type,JoinKind.Type,JoinSide.Type,List.Type,Logical.Type,MissingField.Type,None.Type,Null.Type,Number.Type,Occurrence.Type,Order.Type,Password.Type,Percentage.Type,Precision.Type,QuoteStyle.Type,Record.Type,RelativePosition.Type,RoundingMode.Type,SapHanaDistribution.Type,SapHanaRangeOperator.Type,Single.Type,Table.Type,Text.Type,TextEncoding.Type,Time.Type,TraceLevel.Type,Type.Type,Uri.Type,WebMethod.Type".split(","),
|
|
133
|
-
tokenizer: {
|
|
134
|
-
root: [
|
|
135
|
-
[/#"[\w \.]+"/, "identifier.quote"],
|
|
136
|
-
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
|
137
|
-
[/0[xX][0-9a-fA-F]+/, "number.hex"],
|
|
138
|
-
[/\d+([eE][\-+]?\d+)?/, "number"],
|
|
139
|
-
[/(#?[a-z]+)\b/, { cases: {
|
|
140
|
-
"@typeKeywords": "type",
|
|
141
|
-
"@keywords": "keyword",
|
|
142
|
-
"@constants": "constant",
|
|
143
|
-
"@constructors": "constructor",
|
|
144
|
-
"@operatorKeywords": "operators",
|
|
145
|
-
"@default": "identifier"
|
|
146
|
-
} }],
|
|
147
|
-
[/\b([A-Z][a-zA-Z0-9]+\.Type)\b/, { cases: {
|
|
148
|
-
"@builtinTypes": "type",
|
|
149
|
-
"@default": "identifier"
|
|
150
|
-
} }],
|
|
151
|
-
[/\b([A-Z][a-zA-Z0-9]+\.[A-Z][a-zA-Z0-9]+)\b/, { cases: {
|
|
152
|
-
"@builtinFunctions": "keyword.function",
|
|
153
|
-
"@builtinConstants": "constant",
|
|
154
|
-
"@default": "identifier"
|
|
155
|
-
} }],
|
|
156
|
-
[/\b([a-zA-Z_][\w\.]*)\b/, "identifier"],
|
|
157
|
-
{ include: "@whitespace" },
|
|
158
|
-
{ include: "@comments" },
|
|
159
|
-
{ include: "@strings" },
|
|
160
|
-
[/[{}()\[\]]/, "@brackets"],
|
|
161
|
-
[/([=\+<>\-\*&@\?\/!])|([<>]=)|(<>)|(=>)|(\.\.\.)|(\.\.)/, "operators"],
|
|
162
|
-
[/[,;]/, "delimiter"]
|
|
163
|
-
],
|
|
164
|
-
whitespace: [[/\s+/, "white"]],
|
|
165
|
-
comments: [[
|
|
166
|
-
"\\/\\*",
|
|
167
|
-
"comment",
|
|
168
|
-
"@comment"
|
|
169
|
-
], ["\\/\\/+.*", "comment"]],
|
|
170
|
-
comment: [[
|
|
171
|
-
"\\*\\/",
|
|
172
|
-
"comment",
|
|
173
|
-
"@pop"
|
|
174
|
-
], [".", "comment"]],
|
|
175
|
-
strings: [[
|
|
176
|
-
"\"",
|
|
177
|
-
"string",
|
|
178
|
-
"@string"
|
|
179
|
-
]],
|
|
180
|
-
string: [
|
|
181
|
-
["\"\"", "string.escape"],
|
|
182
|
-
[
|
|
183
|
-
"\"",
|
|
184
|
-
"string",
|
|
185
|
-
"@pop"
|
|
186
|
-
],
|
|
187
|
-
[".", "string"]
|
|
188
|
-
]
|
|
189
|
-
}
|
|
190
|
-
};
|
|
191
|
-
//#endregion
|
|
192
|
-
export { e as conf, t as language };
|