@infinilabs/discover 0.0.1
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/LICENSE +9 -0
- package/README.md +8 -0
- package/dist/abap-B988NUrV.js +122 -0
- package/dist/abap-obercqiY.cjs +1 -0
- package/dist/apex-B0_UGK1B.cjs +1 -0
- package/dist/apex-BlHPPQK-.js +168 -0
- package/dist/azcli-C7iyZFGk.js +53 -0
- package/dist/azcli-CEoytwx_.cjs +1 -0
- package/dist/bat-Buc0l0C3.js +123 -0
- package/dist/bat-D65OC-jj.cjs +1 -0
- package/dist/bicep-DvD_e5vW.cjs +2 -0
- package/dist/bicep-U66iJ-pV.js +219 -0
- package/dist/cameligo-C9Dwkdmm.js +189 -0
- package/dist/cameligo-DzMHfeEs.cjs +1 -0
- package/dist/chunk-BjqF3vbe.cjs +1 -0
- package/dist/chunk-CIp4IH9D.js +21 -0
- package/dist/classnames-BXjDNQ6Q.cjs +1 -0
- package/dist/classnames-eUba3oot.js +29 -0
- package/dist/clojure-BC7BzAFK.cjs +1 -0
- package/dist/clojure-DDWmWbSx.js +146 -0
- package/dist/coffee-7Sx2S8NH.js +260 -0
- package/dist/coffee-Ca9F0OWZ.cjs +1 -0
- package/dist/common-BeXEy5sz.cjs +18 -0
- package/dist/common-BlOHZJzI.js +64 -0
- package/dist/common-DuYIpe6b.cjs +1 -0
- package/dist/common-Tr1I-HCs.js +6725 -0
- package/dist/cpp-CHjqaSPQ.js +230 -0
- package/dist/cpp-DKy9h6xR.cjs +1 -0
- package/dist/createLucideIcon-239Z-2by.cjs +1 -0
- package/dist/createLucideIcon-BO6TDGE7.js +43 -0
- package/dist/csharp-CkbgT9vH.cjs +1 -0
- package/dist/csharp-jwStnVeK.js +260 -0
- package/dist/csp-C2qFd6iv.cjs +1 -0
- package/dist/csp-DkO8Np0h.js +46 -0
- package/dist/css-BFvwcljm.js +284 -0
- package/dist/css-DCKUCzD6.cjs +3 -0
- package/dist/cssMode-CU2AJQMM.js +1509 -0
- package/dist/cssMode-l7eR8WSG.cjs +4 -0
- package/dist/cypher-122TYSjJ.cjs +1 -0
- package/dist/cypher-DaQ7hFRL.js +212 -0
- package/dist/dart-D8p_2HKP.js +236 -0
- package/dist/dart-DshcPGU8.cjs +1 -0
- package/dist/dist-DCz_Qv0B.js +884 -0
- package/dist/dist-D_2dZQH5.cjs +11 -0
- package/dist/dockerfile-CL8dwZCe.cjs +1 -0
- package/dist/dockerfile-DKWOQrwp.js +191 -0
- package/dist/ecl-DP3PNWGB.js +226 -0
- package/dist/ecl-DVx2J_EE.cjs +1 -0
- package/dist/editor.api-CbUDOph7.js +70302 -0
- package/dist/editor.api-lY2thcaq.cjs +644 -0
- package/dist/elixir-Xgx_1krO.cjs +1 -0
- package/dist/elixir-e9tDp1p1.js +523 -0
- package/dist/filter_label-DRJC3vpe.js +58 -0
- package/dist/filter_label-DssaWGpx.cjs +1 -0
- package/dist/filter_operators-C-TaTcNc.js +70 -0
- package/dist/filter_operators-D0kyB-XI.cjs +1 -0
- package/dist/flow9-C9BjpX8h.js +176 -0
- package/dist/flow9-DR-EyjYV.cjs +1 -0
- package/dist/freemarker2-BTGUjvgA.cjs +3 -0
- package/dist/freemarker2-C6Iq5MB-.js +724 -0
- package/dist/fsharp-BWm_FISn.js +147 -0
- package/dist/fsharp-DaBEigN7.cjs +1 -0
- package/dist/go-Xyq33f0v.cjs +1 -0
- package/dist/go-cmqV0Vy_.js +165 -0
- package/dist/graphql-BkFHHVmI.js +174 -0
- package/dist/graphql-Cj7XAy25.cjs +1 -0
- package/dist/handlebars-B2b1q7PA.cjs +1 -0
- package/dist/handlebars-DGGN9u4Y.js +418 -0
- package/dist/hcl-5I-P7bYX.js +219 -0
- package/dist/hcl-C3dpBsgU.cjs +1 -0
- package/dist/html-RJa-j-qT.js +339 -0
- package/dist/html-qfcUzk8e.cjs +1 -0
- package/dist/htmlMode-CYIxo4hc.cjs +4 -0
- package/dist/htmlMode-DDZ48mdp.js +1520 -0
- package/dist/index.cjs +303 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +72895 -0
- package/dist/index_pattern_select--iGeA3sP.js +93 -0
- package/dist/index_pattern_select-BeN5049F.cjs +1 -0
- package/dist/ini-ChENqKh8.cjs +1 -0
- package/dist/ini-DSIAxBZt.js +94 -0
- package/dist/java-DGeAxsRb.js +173 -0
- package/dist/java-LZ6g7weJ.cjs +1 -0
- package/dist/javascript-CN5gTHH2.js +19 -0
- package/dist/javascript-CZ97a-BN.cjs +1 -0
- package/dist/jsonMode-BZDeJMLL.cjs +10 -0
- package/dist/jsonMode-DraOl-ka.js +1885 -0
- package/dist/julia-BeebccKw.cjs +1 -0
- package/dist/julia-CU4CtsP4.js +414 -0
- package/dist/kotlin-B8NxXJ89.js +183 -0
- package/dist/kotlin-M82nl514.cjs +1 -0
- package/dist/less-B4Q3fV9Y.cjs +2 -0
- package/dist/less-DbeQQzer.js +242 -0
- package/dist/lexon-CXQaaecE.cjs +1 -0
- package/dist/lexon-Cw9JuAKc.js +185 -0
- package/dist/lib-C9j_E-l0.js +47 -0
- package/dist/lib-Chy_6VKj.cjs +1 -0
- package/dist/liquid-BYNEOJvX.cjs +1 -0
- package/dist/liquid-DvB-d2w7.js +205 -0
- package/dist/lodash-C_2NO1eK.cjs +35 -0
- package/dist/lodash-D-qGlPRW.js +3769 -0
- package/dist/lua-CnG8Tpu2.cjs +1 -0
- package/dist/lua-yl5NzA_S.js +200 -0
- package/dist/m3-CVcm-OIn.cjs +1 -0
- package/dist/m3-CdNAqvIX.js +193 -0
- package/dist/markdown-C1h-EuiT.js +262 -0
- package/dist/markdown-DrRHDVSU.cjs +1 -0
- package/dist/mdx-BbiOYPr2.cjs +1 -0
- package/dist/mdx-Fk8VTCUK.js +335 -0
- package/dist/mips-DIWpzGF0.js +128 -0
- package/dist/mips-D_p8UYQb.cjs +1 -0
- package/dist/monaco.contribution-BpuUCejv.cjs +1 -0
- package/dist/monaco.contribution-Cq4QrMn0.js +134 -0
- package/dist/msdax-BiazpDQ1.js +156 -0
- package/dist/msdax-xM1_j20x.cjs +1 -0
- package/dist/mysql-DMsJkSnA.cjs +1 -0
- package/dist/mysql-DphBFJlP.js +168 -0
- package/dist/objective-c-BG02Lrht.cjs +1 -0
- package/dist/objective-c-DWZ8Qpyc.js +144 -0
- package/dist/pascal-BcvlMOdu.js +176 -0
- package/dist/pascal-CnP2Fqes.cjs +1 -0
- package/dist/pascaligo-BzDEm-l_.cjs +1 -0
- package/dist/pascaligo-DHEp4kzh.js +201 -0
- package/dist/perl-USYKPHpO.js +316 -0
- package/dist/perl-nIxw-e4R.cjs +1 -0
- package/dist/pgsql-Buk6XzVf.cjs +1 -0
- package/dist/pgsql-DzPhAh9W.js +158 -0
- package/dist/php-B3sFYUqV.cjs +1 -0
- package/dist/php-PfpSTefE.js +471 -0
- package/dist/pla-CZtnfWl6.cjs +1 -0
- package/dist/pla-DrFOZwDB.js +146 -0
- package/dist/postiats-4OGxVVUT.js +504 -0
- package/dist/postiats-CgJZf83Q.cjs +1 -0
- package/dist/powerquery-D9gzk2Dq.cjs +1 -0
- package/dist/powerquery-_h9-HEnY.js +190 -0
- package/dist/powershell-CZHaQY6z.cjs +1 -0
- package/dist/powershell-nOzcY8gy.js +211 -0
- package/dist/protobuf-DAgxhnea.js +659 -0
- package/dist/protobuf-D_C8Guej.cjs +2 -0
- package/dist/public-1PveQco4.js +1756 -0
- package/dist/public-D1K7oN7t.cjs +3 -0
- package/dist/pug-quEtG4rz.cjs +1 -0
- package/dist/pug-raGZNmZ1.js +300 -0
- package/dist/python-C45c7K7W.js +260 -0
- package/dist/python-CQX8JcT4.cjs +1 -0
- package/dist/qsharp-C2jz5tuo.js +143 -0
- package/dist/qsharp-CX1SSV_j.cjs +1 -0
- package/dist/query_bar_top_row-3UclS1nm.cjs +1 -0
- package/dist/query_bar_top_row-CfV4Iu71.cjs +1 -0
- package/dist/query_bar_top_row-D6a48VTk.js +11 -0
- package/dist/query_bar_top_row-DonV1OzY.js +2930 -0
- package/dist/query_string_input-75waAcWy.js +9 -0
- package/dist/query_string_input-CHG9w1ze.cjs +1 -0
- package/dist/query_string_input-CyPZVKif.js +366 -0
- package/dist/query_string_input-SOULY6dl.cjs +1 -0
- package/dist/r-CXkPcYYf.js +189 -0
- package/dist/r-DpVDQTST.cjs +1 -0
- package/dist/razor-BnoJmj1k.js +525 -0
- package/dist/razor-DYx4yJJn.cjs +1 -0
- package/dist/redis-DsCuCZIT.cjs +1 -0
- package/dist/redis-giKZvbbg.js +123 -0
- package/dist/redshift-qKVxBsP_.js +158 -0
- package/dist/redshift-z5_aUfdC.cjs +1 -0
- package/dist/restructuredtext-D0n4pabr.js +287 -0
- package/dist/restructuredtext-DdXoKocW.cjs +1 -0
- package/dist/ruby-BNrBlpcw.js +527 -0
- package/dist/ruby-Dj0sNBey.cjs +1 -0
- package/dist/rust-D6mpPoli.js +178 -0
- package/dist/rust-DjkW1U4M.cjs +1 -0
- package/dist/sb-BCN0JcpS.cjs +1 -0
- package/dist/sb-DhS9GhXl.js +143 -0
- package/dist/scala-BqxBEpi8.js +551 -0
- package/dist/scala-CyXWhZaJ.cjs +1 -0
- package/dist/scheme-Bh4oGAk3.js +170 -0
- package/dist/scheme-Cs9G6QEE.cjs +1 -0
- package/dist/scss-Byf08jwC.js +417 -0
- package/dist/scss-Fl7taPuq.cjs +3 -0
- package/dist/search_bar-Caqi1NVo.js +1815 -0
- package/dist/search_bar-DyO_WsC5.cjs +1 -0
- package/dist/services-9wPHk1eh.js +2350 -0
- package/dist/services-BPC3fXx4.cjs +7 -0
- package/dist/shard_failure_open_modal_button-BYTThYch.js +199 -0
- package/dist/shard_failure_open_modal_button-Dx8ML4VE.cjs +2 -0
- package/dist/shell-Cw5yNfC4.cjs +1 -0
- package/dist/shell-UoRv_tpG.js +223 -0
- package/dist/solidity-B5t7Lkol.js +147 -0
- package/dist/solidity-BoAzg9X_.cjs +1 -0
- package/dist/sophia-BrXXWhvp.js +147 -0
- package/dist/sophia-L84Jz6Ow.cjs +1 -0
- package/dist/sparql-B8ZTY48u.js +124 -0
- package/dist/sparql-D6lnG7vO.cjs +1 -0
- package/dist/sql-D_74hUL-.js +171 -0
- package/dist/sql-VXdYzIyz.cjs +1 -0
- package/dist/src/App.d.ts +2 -0
- package/dist/src/components/ResultHeader/Info.d.ts +30 -0
- package/dist/src/components/ResultHeader/index.d.ts +13 -0
- package/dist/src/components/context.d.ts +82 -0
- package/dist/src/components/euiicons.d.ts +1 -0
- package/dist/src/components/index.d.ts +8 -0
- package/dist/src/main.d.ts +1 -0
- package/dist/src/utils/request.d.ts +1 -0
- package/dist/src/utils/utils.d.ts +1 -0
- package/dist/st-CxJLwAAK.cjs +1 -0
- package/dist/st-D8Rdx9Bz.js +476 -0
- package/dist/suggestions_component-BBHwbjYT.js +1243 -0
- package/dist/suggestions_component-CF4sehth.cjs +77 -0
- package/dist/swift-ZBC6wQdc.cjs +1 -0
- package/dist/swift-s19Ivx3X.js +213 -0
- package/dist/systemverilog-DoSgAb1I.cjs +1 -0
- package/dist/systemverilog-fA72PnKj.js +298 -0
- package/dist/tcl-B8QLbcxi.js +223 -0
- package/dist/tcl-IXmy-lJ0.cjs +1 -0
- package/dist/tsMode-BrPRpJvb.js +597 -0
- package/dist/tsMode-CNvH6xuC.cjs +11 -0
- package/dist/tsup.config.d.ts +2 -0
- package/dist/twig-CT2RXmm0.cjs +1 -0
- package/dist/twig-Dy7NkzKI.js +388 -0
- package/dist/typescript-BRKHcp4S.js +263 -0
- package/dist/typescript-Bbw9fxuo.cjs +1 -0
- package/dist/typescript-CQjO9XnF.js +3 -0
- package/dist/typescript-D6q4AO2z.cjs +1 -0
- package/dist/typespec-CkKpvaMv.cjs +1 -0
- package/dist/typespec-ndyv0mQx.js +234 -0
- package/dist/vb-DET0NIW-.js +260 -0
- package/dist/vb-R3Kcrzvd.cjs +1 -0
- package/dist/vite.config.d.ts +2 -0
- package/dist/wgsl-D5TeQchR.js +145 -0
- package/dist/wgsl-FTDBzylH.cjs +298 -0
- package/dist/xml-BZjE3dtf.js +136 -0
- package/dist/xml-CxbMIueA.cjs +1 -0
- package/dist/yaml-Di_6aXC4.js +229 -0
- package/dist/yaml-DvaGkWBl.cjs +1 -0
- package/package.json +98 -0
|
@@ -0,0 +1,504 @@
|
|
|
1
|
+
var conf = {
|
|
2
|
+
comments: {
|
|
3
|
+
lineComment: "//",
|
|
4
|
+
blockComment: ["(*", "*)"]
|
|
5
|
+
},
|
|
6
|
+
brackets: [
|
|
7
|
+
["{", "}"],
|
|
8
|
+
["[", "]"],
|
|
9
|
+
["(", ")"],
|
|
10
|
+
["<", ">"]
|
|
11
|
+
],
|
|
12
|
+
autoClosingPairs: [
|
|
13
|
+
{
|
|
14
|
+
open: "\"",
|
|
15
|
+
close: "\"",
|
|
16
|
+
notIn: ["string", "comment"]
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
open: "{",
|
|
20
|
+
close: "}",
|
|
21
|
+
notIn: ["string", "comment"]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
open: "[",
|
|
25
|
+
close: "]",
|
|
26
|
+
notIn: ["string", "comment"]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
open: "(",
|
|
30
|
+
close: ")",
|
|
31
|
+
notIn: ["string", "comment"]
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}, language = {
|
|
35
|
+
tokenPostfix: ".pats",
|
|
36
|
+
defaultToken: "invalid",
|
|
37
|
+
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("."),
|
|
38
|
+
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("."),
|
|
39
|
+
keywords_srp: [
|
|
40
|
+
"#if",
|
|
41
|
+
"#ifdef",
|
|
42
|
+
"#ifndef",
|
|
43
|
+
"#then",
|
|
44
|
+
"#elif",
|
|
45
|
+
"#elifdef",
|
|
46
|
+
"#elifndef",
|
|
47
|
+
"#else",
|
|
48
|
+
"#endif",
|
|
49
|
+
"#error",
|
|
50
|
+
"#prerr",
|
|
51
|
+
"#print",
|
|
52
|
+
"#assert",
|
|
53
|
+
"#undef",
|
|
54
|
+
"#define",
|
|
55
|
+
"#include",
|
|
56
|
+
"#require",
|
|
57
|
+
"#pragma",
|
|
58
|
+
"#codegen2",
|
|
59
|
+
"#codegen3"
|
|
60
|
+
],
|
|
61
|
+
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("."),
|
|
62
|
+
keywords_types: [
|
|
63
|
+
"bool",
|
|
64
|
+
"double",
|
|
65
|
+
"byte",
|
|
66
|
+
"int",
|
|
67
|
+
"short",
|
|
68
|
+
"char",
|
|
69
|
+
"void",
|
|
70
|
+
"unit",
|
|
71
|
+
"long",
|
|
72
|
+
"float",
|
|
73
|
+
"string",
|
|
74
|
+
"strptr"
|
|
75
|
+
],
|
|
76
|
+
keywords_effects: [
|
|
77
|
+
"0",
|
|
78
|
+
"fun",
|
|
79
|
+
"clo",
|
|
80
|
+
"prf",
|
|
81
|
+
"funclo",
|
|
82
|
+
"cloptr",
|
|
83
|
+
"cloref",
|
|
84
|
+
"ref",
|
|
85
|
+
"ntm",
|
|
86
|
+
"1"
|
|
87
|
+
],
|
|
88
|
+
operators: [
|
|
89
|
+
"@",
|
|
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
|
+
brackets: [
|
|
116
|
+
{
|
|
117
|
+
open: ",(",
|
|
118
|
+
close: ")",
|
|
119
|
+
token: "delimiter.parenthesis"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
open: "`(",
|
|
123
|
+
close: ")",
|
|
124
|
+
token: "delimiter.parenthesis"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
open: "%(",
|
|
128
|
+
close: ")",
|
|
129
|
+
token: "delimiter.parenthesis"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
open: "'(",
|
|
133
|
+
close: ")",
|
|
134
|
+
token: "delimiter.parenthesis"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
open: "'{",
|
|
138
|
+
close: "}",
|
|
139
|
+
token: "delimiter.parenthesis"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
open: "@(",
|
|
143
|
+
close: ")",
|
|
144
|
+
token: "delimiter.parenthesis"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
open: "@{",
|
|
148
|
+
close: "}",
|
|
149
|
+
token: "delimiter.brace"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
open: "@[",
|
|
153
|
+
close: "]",
|
|
154
|
+
token: "delimiter.square"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
open: "#[",
|
|
158
|
+
close: "]",
|
|
159
|
+
token: "delimiter.square"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
open: "{",
|
|
163
|
+
close: "}",
|
|
164
|
+
token: "delimiter.curly"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
open: "[",
|
|
168
|
+
close: "]",
|
|
169
|
+
token: "delimiter.square"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
open: "(",
|
|
173
|
+
close: ")",
|
|
174
|
+
token: "delimiter.parenthesis"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
open: "<",
|
|
178
|
+
close: ">",
|
|
179
|
+
token: "delimiter.angle"
|
|
180
|
+
}
|
|
181
|
+
],
|
|
182
|
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
|
183
|
+
IDENTFST: /[a-zA-Z_]/,
|
|
184
|
+
IDENTRST: /[a-zA-Z0-9_'$]/,
|
|
185
|
+
symbolic: /[%&+-./:=@~`^|*!$#?<>]/,
|
|
186
|
+
digit: /[0-9]/,
|
|
187
|
+
digitseq0: /@digit*/,
|
|
188
|
+
xdigit: /[0-9A-Za-z]/,
|
|
189
|
+
xdigitseq0: /@xdigit*/,
|
|
190
|
+
INTSP: /[lLuU]/,
|
|
191
|
+
FLOATSP: /[fFlL]/,
|
|
192
|
+
fexponent: /[eE][+-]?[0-9]+/,
|
|
193
|
+
fexponent_bin: /[pP][+-]?[0-9]+/,
|
|
194
|
+
deciexp: /\.[0-9]*@fexponent?/,
|
|
195
|
+
hexiexp: /\.[0-9a-zA-Z]*@fexponent_bin?/,
|
|
196
|
+
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\*?/,
|
|
197
|
+
ESCHAR: /[ntvbrfa\\\?'"\(\[\{]/,
|
|
198
|
+
start: "root",
|
|
199
|
+
tokenizer: {
|
|
200
|
+
root: [
|
|
201
|
+
{
|
|
202
|
+
regex: /[ \t\r\n]+/,
|
|
203
|
+
action: { token: "" }
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
regex: /\(\*\)/,
|
|
207
|
+
action: { token: "invalid" }
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
regex: /\(\*/,
|
|
211
|
+
action: {
|
|
212
|
+
token: "comment",
|
|
213
|
+
next: "lexing_COMMENT_block_ml"
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
regex: /\(/,
|
|
218
|
+
action: "@brackets"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
regex: /\)/,
|
|
222
|
+
action: "@brackets"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
regex: /\[/,
|
|
226
|
+
action: "@brackets"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
regex: /\]/,
|
|
230
|
+
action: "@brackets"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
regex: /\{/,
|
|
234
|
+
action: "@brackets"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
regex: /\}/,
|
|
238
|
+
action: "@brackets"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
regex: /,\(/,
|
|
242
|
+
action: "@brackets"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
regex: /,/,
|
|
246
|
+
action: { token: "delimiter.comma" }
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
regex: /;/,
|
|
250
|
+
action: { token: "delimiter.semicolon" }
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
regex: /@\(/,
|
|
254
|
+
action: "@brackets"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
regex: /@\[/,
|
|
258
|
+
action: "@brackets"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
regex: /@\{/,
|
|
262
|
+
action: "@brackets"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
regex: /:</,
|
|
266
|
+
action: {
|
|
267
|
+
token: "keyword",
|
|
268
|
+
next: "@lexing_EFFECT_commaseq0"
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
regex: /\.@symbolic+/,
|
|
273
|
+
action: { token: "identifier.sym" }
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
regex: /\.@digit*@fexponent@FLOATSP*/,
|
|
277
|
+
action: { token: "number.float" }
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
regex: /\.@digit+/,
|
|
281
|
+
action: { token: "number.float" }
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
regex: /\$@IDENTFST@IDENTRST*/,
|
|
285
|
+
action: { cases: {
|
|
286
|
+
"@keywords_dlr": { token: "keyword.dlr" },
|
|
287
|
+
"@default": { token: "namespace" }
|
|
288
|
+
} }
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
regex: /\#@IDENTFST@IDENTRST*/,
|
|
292
|
+
action: { cases: {
|
|
293
|
+
"@keywords_srp": { token: "keyword.srp" },
|
|
294
|
+
"@default": { token: "identifier" }
|
|
295
|
+
} }
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
regex: /%\(/,
|
|
299
|
+
action: { token: "delimiter.parenthesis" }
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
regex: /^%{(#|\^|\$)?/,
|
|
303
|
+
action: {
|
|
304
|
+
token: "keyword",
|
|
305
|
+
next: "@lexing_EXTCODE",
|
|
306
|
+
nextEmbedded: "text/javascript"
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
regex: /^%}/,
|
|
311
|
+
action: { token: "keyword" }
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
regex: /'\(/,
|
|
315
|
+
action: { token: "delimiter.parenthesis" }
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
regex: /'\[/,
|
|
319
|
+
action: { token: "delimiter.bracket" }
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
regex: /'\{/,
|
|
323
|
+
action: { token: "delimiter.brace" }
|
|
324
|
+
},
|
|
325
|
+
[/(')(\\@ESCHAR|\\[xX]@xdigit+|\\@digit+)(')/, [
|
|
326
|
+
"string",
|
|
327
|
+
"string.escape",
|
|
328
|
+
"string"
|
|
329
|
+
]],
|
|
330
|
+
[/'[^\\']'/, "string"],
|
|
331
|
+
[
|
|
332
|
+
/"/,
|
|
333
|
+
"string.quote",
|
|
334
|
+
"@lexing_DQUOTE"
|
|
335
|
+
],
|
|
336
|
+
{
|
|
337
|
+
regex: /`\(/,
|
|
338
|
+
action: "@brackets"
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
regex: /\\/,
|
|
342
|
+
action: { token: "punctuation" }
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
regex: /@irregular_keywords(?!@IDENTRST)/,
|
|
346
|
+
action: { token: "keyword" }
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
regex: /@IDENTFST@IDENTRST*[<!\[]?/,
|
|
350
|
+
action: { cases: {
|
|
351
|
+
"@keywords": { token: "keyword" },
|
|
352
|
+
"@keywords_types": { token: "type" },
|
|
353
|
+
"@default": { token: "identifier" }
|
|
354
|
+
} }
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
regex: /\/\/\/\//,
|
|
358
|
+
action: {
|
|
359
|
+
token: "comment",
|
|
360
|
+
next: "@lexing_COMMENT_rest"
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
regex: /\/\/.*$/,
|
|
365
|
+
action: { token: "comment" }
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
regex: /\/\*/,
|
|
369
|
+
action: {
|
|
370
|
+
token: "comment",
|
|
371
|
+
next: "@lexing_COMMENT_block_c"
|
|
372
|
+
}
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
regex: /-<|=</,
|
|
376
|
+
action: {
|
|
377
|
+
token: "keyword",
|
|
378
|
+
next: "@lexing_EFFECT_commaseq0"
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
regex: /@symbolic+/,
|
|
383
|
+
action: { cases: {
|
|
384
|
+
"@operators": "keyword",
|
|
385
|
+
"@default": "operator"
|
|
386
|
+
} }
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
regex: /0[xX]@xdigit+(@hexiexp|@fexponent_bin)@FLOATSP*/,
|
|
390
|
+
action: { token: "number.float" }
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
regex: /0[xX]@xdigit+@INTSP*/,
|
|
394
|
+
action: { token: "number.hex" }
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
regex: /0[0-7]+(?![0-9])@INTSP*/,
|
|
398
|
+
action: { token: "number.octal" }
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
regex: /@digit+(@fexponent|@deciexp)@FLOATSP*/,
|
|
402
|
+
action: { token: "number.float" }
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
regex: /@digit@digitseq0@INTSP*/,
|
|
406
|
+
action: { token: "number.decimal" }
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
regex: /@digit+@INTSP*/,
|
|
410
|
+
action: { token: "number" }
|
|
411
|
+
}
|
|
412
|
+
],
|
|
413
|
+
lexing_COMMENT_block_ml: [
|
|
414
|
+
[/[^\(\*]+/, "comment"],
|
|
415
|
+
[
|
|
416
|
+
/\(\*/,
|
|
417
|
+
"comment",
|
|
418
|
+
"@push"
|
|
419
|
+
],
|
|
420
|
+
[/\(\*/, "comment.invalid"],
|
|
421
|
+
[
|
|
422
|
+
/\*\)/,
|
|
423
|
+
"comment",
|
|
424
|
+
"@pop"
|
|
425
|
+
],
|
|
426
|
+
[/\*/, "comment"]
|
|
427
|
+
],
|
|
428
|
+
lexing_COMMENT_block_c: [
|
|
429
|
+
[/[^\/*]+/, "comment"],
|
|
430
|
+
[
|
|
431
|
+
/\*\//,
|
|
432
|
+
"comment",
|
|
433
|
+
"@pop"
|
|
434
|
+
],
|
|
435
|
+
[/[\/*]/, "comment"]
|
|
436
|
+
],
|
|
437
|
+
lexing_COMMENT_rest: [[
|
|
438
|
+
/$/,
|
|
439
|
+
"comment",
|
|
440
|
+
"@pop"
|
|
441
|
+
], [/.*/, "comment"]],
|
|
442
|
+
lexing_EFFECT_commaseq0: [
|
|
443
|
+
{
|
|
444
|
+
regex: /@IDENTFST@IDENTRST+|@digit+/,
|
|
445
|
+
action: { cases: {
|
|
446
|
+
"@keywords_effects": { token: "type.effect" },
|
|
447
|
+
"@default": { token: "identifier" }
|
|
448
|
+
} }
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
regex: /,/,
|
|
452
|
+
action: { token: "punctuation" }
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
regex: />/,
|
|
456
|
+
action: {
|
|
457
|
+
token: "@rematch",
|
|
458
|
+
next: "@pop"
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
],
|
|
462
|
+
lexing_EXTCODE: [{
|
|
463
|
+
regex: /^%}/,
|
|
464
|
+
action: {
|
|
465
|
+
token: "@rematch",
|
|
466
|
+
next: "@pop",
|
|
467
|
+
nextEmbedded: "@pop"
|
|
468
|
+
}
|
|
469
|
+
}, {
|
|
470
|
+
regex: /[^%]+/,
|
|
471
|
+
action: ""
|
|
472
|
+
}],
|
|
473
|
+
lexing_DQUOTE: [
|
|
474
|
+
{
|
|
475
|
+
regex: /"/,
|
|
476
|
+
action: {
|
|
477
|
+
token: "string.quote",
|
|
478
|
+
next: "@pop"
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
regex: /(\{\$)(@IDENTFST@IDENTRST*)(\})/,
|
|
483
|
+
action: [
|
|
484
|
+
{ token: "string.escape" },
|
|
485
|
+
{ token: "identifier" },
|
|
486
|
+
{ token: "string.escape" }
|
|
487
|
+
]
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
regex: /\\$/,
|
|
491
|
+
action: { token: "string.escape" }
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
regex: /\\(@ESCHAR|[xX]@xdigit+|@digit+)/,
|
|
495
|
+
action: { token: "string.escape" }
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
regex: /[^\\"]+/,
|
|
499
|
+
action: { token: "string" }
|
|
500
|
+
}
|
|
501
|
+
]
|
|
502
|
+
}
|
|
503
|
+
};
|
|
504
|
+
export { conf, language };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./chunk-BjqF3vbe.cjs`);var t={comments:{lineComment:`//`,blockComment:[`(*`,`*)`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`],[`<`,`>`]],autoClosingPairs:[{open:`"`,close:`"`,notIn:[`string`,`comment`]},{open:`{`,close:`}`,notIn:[`string`,`comment`]},{open:`[`,close:`]`,notIn:[`string`,`comment`]},{open:`(`,close:`)`,notIn:[`string`,`comment`]}]},n={tokenPostfix:`.pats`,defaultToken:`invalid`,keywords:`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(`.`),keywords_dlr:`$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(`.`),keywords_srp:[`#if`,`#ifdef`,`#ifndef`,`#then`,`#elif`,`#elifdef`,`#elifndef`,`#else`,`#endif`,`#error`,`#prerr`,`#print`,`#assert`,`#undef`,`#define`,`#include`,`#require`,`#pragma`,`#codegen2`,`#codegen3`],irregular_keyword_list:`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(`.`),keywords_types:[`bool`,`double`,`byte`,`int`,`short`,`char`,`void`,`unit`,`long`,`float`,`string`,`strptr`],keywords_effects:[`0`,`fun`,`clo`,`prf`,`funclo`,`cloptr`,`cloref`,`ref`,`ntm`,`1`],operators:[`@`,`!`,`|`,"`",`:`,`$`,`.`,`=`,`#`,`~`,`..`,`...`,`=>`,`=<>`,`=/=>`,`=>>`,`=/=>>`,`<`,`>`,`><`,`.<`,`>.`,`.<>.`,`->`,`-<>`],brackets:[{open:`,(`,close:`)`,token:`delimiter.parenthesis`},{open:"`(",close:`)`,token:`delimiter.parenthesis`},{open:`%(`,close:`)`,token:`delimiter.parenthesis`},{open:`'(`,close:`)`,token:`delimiter.parenthesis`},{open:`'{`,close:`}`,token:`delimiter.parenthesis`},{open:`@(`,close:`)`,token:`delimiter.parenthesis`},{open:`@{`,close:`}`,token:`delimiter.brace`},{open:`@[`,close:`]`,token:`delimiter.square`},{open:`#[`,close:`]`,token:`delimiter.square`},{open:`{`,close:`}`,token:`delimiter.curly`},{open:`[`,close:`]`,token:`delimiter.square`},{open:`(`,close:`)`,token:`delimiter.parenthesis`},{open:`<`,close:`>`,token:`delimiter.angle`}],symbols:/[=><!~?:&|+\-*\/\^%]+/,IDENTFST:/[a-zA-Z_]/,IDENTRST:/[a-zA-Z0-9_'$]/,symbolic:/[%&+-./:=@~`^|*!$#?<>]/,digit:/[0-9]/,digitseq0:/@digit*/,xdigit:/[0-9A-Za-z]/,xdigitseq0:/@xdigit*/,INTSP:/[lLuU]/,FLOATSP:/[fFlL]/,fexponent:/[eE][+-]?[0-9]+/,fexponent_bin:/[pP][+-]?[0-9]+/,deciexp:/\.[0-9]*@fexponent?/,hexiexp:/\.[0-9a-zA-Z]*@fexponent_bin?/,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\*?/,ESCHAR:/[ntvbrfa\\\?'"\(\[\{]/,start:`root`,tokenizer:{root:[{regex:/[ \t\r\n]+/,action:{token:``}},{regex:/\(\*\)/,action:{token:`invalid`}},{regex:/\(\*/,action:{token:`comment`,next:`lexing_COMMENT_block_ml`}},{regex:/\(/,action:`@brackets`},{regex:/\)/,action:`@brackets`},{regex:/\[/,action:`@brackets`},{regex:/\]/,action:`@brackets`},{regex:/\{/,action:`@brackets`},{regex:/\}/,action:`@brackets`},{regex:/,\(/,action:`@brackets`},{regex:/,/,action:{token:`delimiter.comma`}},{regex:/;/,action:{token:`delimiter.semicolon`}},{regex:/@\(/,action:`@brackets`},{regex:/@\[/,action:`@brackets`},{regex:/@\{/,action:`@brackets`},{regex:/:</,action:{token:`keyword`,next:`@lexing_EFFECT_commaseq0`}},{regex:/\.@symbolic+/,action:{token:`identifier.sym`}},{regex:/\.@digit*@fexponent@FLOATSP*/,action:{token:`number.float`}},{regex:/\.@digit+/,action:{token:`number.float`}},{regex:/\$@IDENTFST@IDENTRST*/,action:{cases:{"@keywords_dlr":{token:`keyword.dlr`},"@default":{token:`namespace`}}}},{regex:/\#@IDENTFST@IDENTRST*/,action:{cases:{"@keywords_srp":{token:`keyword.srp`},"@default":{token:`identifier`}}}},{regex:/%\(/,action:{token:`delimiter.parenthesis`}},{regex:/^%{(#|\^|\$)?/,action:{token:`keyword`,next:`@lexing_EXTCODE`,nextEmbedded:`text/javascript`}},{regex:/^%}/,action:{token:`keyword`}},{regex:/'\(/,action:{token:`delimiter.parenthesis`}},{regex:/'\[/,action:{token:`delimiter.bracket`}},{regex:/'\{/,action:{token:`delimiter.brace`}},[/(')(\\@ESCHAR|\\[xX]@xdigit+|\\@digit+)(')/,[`string`,`string.escape`,`string`]],[/'[^\\']'/,`string`],[/"/,`string.quote`,`@lexing_DQUOTE`],{regex:/`\(/,action:`@brackets`},{regex:/\\/,action:{token:`punctuation`}},{regex:/@irregular_keywords(?!@IDENTRST)/,action:{token:`keyword`}},{regex:/@IDENTFST@IDENTRST*[<!\[]?/,action:{cases:{"@keywords":{token:`keyword`},"@keywords_types":{token:`type`},"@default":{token:`identifier`}}}},{regex:/\/\/\/\//,action:{token:`comment`,next:`@lexing_COMMENT_rest`}},{regex:/\/\/.*$/,action:{token:`comment`}},{regex:/\/\*/,action:{token:`comment`,next:`@lexing_COMMENT_block_c`}},{regex:/-<|=</,action:{token:`keyword`,next:`@lexing_EFFECT_commaseq0`}},{regex:/@symbolic+/,action:{cases:{"@operators":`keyword`,"@default":`operator`}}},{regex:/0[xX]@xdigit+(@hexiexp|@fexponent_bin)@FLOATSP*/,action:{token:`number.float`}},{regex:/0[xX]@xdigit+@INTSP*/,action:{token:`number.hex`}},{regex:/0[0-7]+(?![0-9])@INTSP*/,action:{token:`number.octal`}},{regex:/@digit+(@fexponent|@deciexp)@FLOATSP*/,action:{token:`number.float`}},{regex:/@digit@digitseq0@INTSP*/,action:{token:`number.decimal`}},{regex:/@digit+@INTSP*/,action:{token:`number`}}],lexing_COMMENT_block_ml:[[/[^\(\*]+/,`comment`],[/\(\*/,`comment`,`@push`],[/\(\*/,`comment.invalid`],[/\*\)/,`comment`,`@pop`],[/\*/,`comment`]],lexing_COMMENT_block_c:[[/[^\/*]+/,`comment`],[/\*\//,`comment`,`@pop`],[/[\/*]/,`comment`]],lexing_COMMENT_rest:[[/$/,`comment`,`@pop`],[/.*/,`comment`]],lexing_EFFECT_commaseq0:[{regex:/@IDENTFST@IDENTRST+|@digit+/,action:{cases:{"@keywords_effects":{token:`type.effect`},"@default":{token:`identifier`}}}},{regex:/,/,action:{token:`punctuation`}},{regex:/>/,action:{token:`@rematch`,next:`@pop`}}],lexing_EXTCODE:[{regex:/^%}/,action:{token:`@rematch`,next:`@pop`,nextEmbedded:`@pop`}},{regex:/[^%]+/,action:``}],lexing_DQUOTE:[{regex:/"/,action:{token:`string.quote`,next:`@pop`}},{regex:/(\{\$)(@IDENTFST@IDENTRST*)(\})/,action:[{token:`string.escape`},{token:`identifier`},{token:`string.escape`}]},{regex:/\\$/,action:{token:`string.escape`}},{regex:/\\(@ESCHAR|[xX]@xdigit+|@digit+)/,action:{token:`string.escape`}},{regex:/[^\\"]+/,action:{token:`string`}}]}};exports.conf=t,exports.language=n;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./chunk-BjqF3vbe.cjs`);var t={comments:{lineComment:`//`,blockComment:[`/*`,`*/`]},brackets:[[`[`,`]`],[`(`,`)`],[`{`,`}`]],autoClosingPairs:[{open:`"`,close:`"`,notIn:[`string`,`comment`,`identifier`]},{open:`[`,close:`]`,notIn:[`string`,`comment`,`identifier`]},{open:`(`,close:`)`,notIn:[`string`,`comment`,`identifier`]},{open:`{`,close:`}`,notIn:[`string`,`comment`,`identifier`]}]},n={defaultToken:``,tokenPostfix:`.pq`,ignoreCase:!1,brackets:[{open:`[`,close:`]`,token:`delimiter.square`},{open:`{`,close:`}`,token:`delimiter.brackets`},{open:`(`,close:`)`,token:`delimiter.parenthesis`}],operatorKeywords:[`and`,`not`,`or`],keywords:[`as`,`each`,`else`,`error`,`false`,`if`,`in`,`is`,`let`,`meta`,`otherwise`,`section`,`shared`,`then`,`true`,`try`,`type`],constructors:[`#binary`,`#date`,`#datetime`,`#datetimezone`,`#duration`,`#table`,`#time`],constants:[`#infinity`,`#nan`,`#sections`,`#shared`],typeKeywords:[`action`,`any`,`anynonnull`,`none`,`null`,`logical`,`number`,`time`,`date`,`datetime`,`datetimezone`,`duration`,`text`,`binary`,`list`,`record`,`table`,`function`],builtinFunctions:`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(`,`),builtinConstants:`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(`,`),builtinTypes:`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(`,`),tokenizer:{root:[[/#"[\w \.]+"/,`identifier.quote`],[/\d*\.\d+([eE][\-+]?\d+)?/,`number.float`],[/0[xX][0-9a-fA-F]+/,`number.hex`],[/\d+([eE][\-+]?\d+)?/,`number`],[/(#?[a-z]+)\b/,{cases:{"@typeKeywords":`type`,"@keywords":`keyword`,"@constants":`constant`,"@constructors":`constructor`,"@operatorKeywords":`operators`,"@default":`identifier`}}],[/\b([A-Z][a-zA-Z0-9]+\.Type)\b/,{cases:{"@builtinTypes":`type`,"@default":`identifier`}}],[/\b([A-Z][a-zA-Z0-9]+\.[A-Z][a-zA-Z0-9]+)\b/,{cases:{"@builtinFunctions":`keyword.function`,"@builtinConstants":`constant`,"@default":`identifier`}}],[/\b([a-zA-Z_][\w\.]*)\b/,`identifier`],{include:`@whitespace`},{include:`@comments`},{include:`@strings`},[/[{}()\[\]]/,`@brackets`],[/([=\+<>\-\*&@\?\/!])|([<>]=)|(<>)|(=>)|(\.\.\.)|(\.\.)/,`operators`],[/[,;]/,`delimiter`]],whitespace:[[/\s+/,`white`]],comments:[[`\\/\\*`,`comment`,`@comment`],[`\\/\\/+.*`,`comment`]],comment:[[`\\*\\/`,`comment`,`@pop`],[`.`,`comment`]],strings:[[`"`,`string`,`@string`]],string:[[`""`,`string.escape`],[`"`,`string`,`@pop`],[`.`,`string`]]}};exports.conf=t,exports.language=n;
|