@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,219 @@
|
|
|
1
|
+
var identifier = ((e) => `\\b${e}\\b`)("[_a-zA-Z][_a-zA-Z0-9]*"), keywords = [
|
|
2
|
+
"targetScope",
|
|
3
|
+
"resource",
|
|
4
|
+
"module",
|
|
5
|
+
"param",
|
|
6
|
+
"var",
|
|
7
|
+
"output",
|
|
8
|
+
"for",
|
|
9
|
+
"in",
|
|
10
|
+
"if",
|
|
11
|
+
"existing"
|
|
12
|
+
], namedLiterals = [
|
|
13
|
+
"true",
|
|
14
|
+
"false",
|
|
15
|
+
"null"
|
|
16
|
+
], nonCommentWs = "[ \\t\\r\\n]", numericLiteral = "[0-9]+", conf = {
|
|
17
|
+
comments: {
|
|
18
|
+
lineComment: "//",
|
|
19
|
+
blockComment: ["/*", "*/"]
|
|
20
|
+
},
|
|
21
|
+
brackets: [
|
|
22
|
+
["{", "}"],
|
|
23
|
+
["[", "]"],
|
|
24
|
+
["(", ")"]
|
|
25
|
+
],
|
|
26
|
+
surroundingPairs: [
|
|
27
|
+
{
|
|
28
|
+
open: "{",
|
|
29
|
+
close: "}"
|
|
30
|
+
},
|
|
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
|
+
autoClosingPairs: [
|
|
49
|
+
{
|
|
50
|
+
open: "{",
|
|
51
|
+
close: "}"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
open: "[",
|
|
55
|
+
close: "]"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
open: "(",
|
|
59
|
+
close: ")"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
open: "'",
|
|
63
|
+
close: "'",
|
|
64
|
+
notIn: ["string", "comment"]
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
open: "'''",
|
|
68
|
+
close: "'''",
|
|
69
|
+
notIn: ["string", "comment"]
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
autoCloseBefore: ":.,=}])' \n ",
|
|
73
|
+
indentationRules: {
|
|
74
|
+
increaseIndentPattern: /* @__PURE__ */ RegExp("^((?!\\/\\/).)*(\\{[^}\"'`]*|\\([^)\"'`]*|\\[[^\\]\"'`]*)$"),
|
|
75
|
+
decreaseIndentPattern: /* @__PURE__ */ RegExp("^((?!.*?\\/\\*).*\\*/)?\\s*[\\}\\]].*$")
|
|
76
|
+
}
|
|
77
|
+
}, language = {
|
|
78
|
+
defaultToken: "",
|
|
79
|
+
tokenPostfix: ".bicep",
|
|
80
|
+
brackets: [
|
|
81
|
+
{
|
|
82
|
+
open: "{",
|
|
83
|
+
close: "}",
|
|
84
|
+
token: "delimiter.curly"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
open: "[",
|
|
88
|
+
close: "]",
|
|
89
|
+
token: "delimiter.square"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
open: "(",
|
|
93
|
+
close: ")",
|
|
94
|
+
token: "delimiter.parenthesis"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
symbols: /[=><!~?:&|+\-*/^%]+/,
|
|
98
|
+
keywords,
|
|
99
|
+
namedLiterals,
|
|
100
|
+
escapes: "\\\\(u{[0-9A-Fa-f]+}|n|r|t|\\\\|'|\\${)",
|
|
101
|
+
tokenizer: {
|
|
102
|
+
root: [{ include: "@expression" }, { include: "@whitespace" }],
|
|
103
|
+
stringVerbatim: [{
|
|
104
|
+
regex: "(|'|'')[^']",
|
|
105
|
+
action: { token: "string" }
|
|
106
|
+
}, {
|
|
107
|
+
regex: "'''",
|
|
108
|
+
action: {
|
|
109
|
+
token: "string.quote",
|
|
110
|
+
next: "@pop"
|
|
111
|
+
}
|
|
112
|
+
}],
|
|
113
|
+
stringLiteral: [
|
|
114
|
+
{
|
|
115
|
+
regex: "\\${",
|
|
116
|
+
action: {
|
|
117
|
+
token: "delimiter.bracket",
|
|
118
|
+
next: "@bracketCounting"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
regex: "[^\\\\'$]+",
|
|
123
|
+
action: { token: "string" }
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
regex: "@escapes",
|
|
127
|
+
action: { token: "string.escape" }
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
regex: "\\\\.",
|
|
131
|
+
action: { token: "string.escape.invalid" }
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
regex: "'",
|
|
135
|
+
action: {
|
|
136
|
+
token: "string",
|
|
137
|
+
next: "@pop"
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
bracketCounting: [
|
|
142
|
+
{
|
|
143
|
+
regex: "{",
|
|
144
|
+
action: {
|
|
145
|
+
token: "delimiter.bracket",
|
|
146
|
+
next: "@bracketCounting"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
regex: "}",
|
|
151
|
+
action: {
|
|
152
|
+
token: "delimiter.bracket",
|
|
153
|
+
next: "@pop"
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
{ include: "expression" }
|
|
157
|
+
],
|
|
158
|
+
comment: [
|
|
159
|
+
{
|
|
160
|
+
regex: "[^\\*]+",
|
|
161
|
+
action: { token: "comment" }
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
regex: "\\*\\/",
|
|
165
|
+
action: {
|
|
166
|
+
token: "comment",
|
|
167
|
+
next: "@pop"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
regex: "[\\/*]",
|
|
172
|
+
action: { token: "comment" }
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
whitespace: [
|
|
176
|
+
{ regex: nonCommentWs },
|
|
177
|
+
{
|
|
178
|
+
regex: "\\/\\*",
|
|
179
|
+
action: {
|
|
180
|
+
token: "comment",
|
|
181
|
+
next: "@comment"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
regex: "\\/\\/.*$",
|
|
186
|
+
action: { token: "comment" }
|
|
187
|
+
}
|
|
188
|
+
],
|
|
189
|
+
expression: [
|
|
190
|
+
{
|
|
191
|
+
regex: "'''",
|
|
192
|
+
action: {
|
|
193
|
+
token: "string.quote",
|
|
194
|
+
next: "@stringVerbatim"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
regex: "'",
|
|
199
|
+
action: {
|
|
200
|
+
token: "string.quote",
|
|
201
|
+
next: "@stringLiteral"
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
regex: numericLiteral,
|
|
206
|
+
action: { token: "number" }
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
regex: identifier,
|
|
210
|
+
action: { cases: {
|
|
211
|
+
"@keywords": { token: "keyword" },
|
|
212
|
+
"@namedLiterals": { token: "keyword" },
|
|
213
|
+
"@default": { token: "identifier" }
|
|
214
|
+
} }
|
|
215
|
+
}
|
|
216
|
+
]
|
|
217
|
+
}
|
|
218
|
+
};
|
|
219
|
+
export { conf, language };
|
|
@@ -0,0 +1,189 @@
|
|
|
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
|
+
},
|
|
17
|
+
{
|
|
18
|
+
open: "[",
|
|
19
|
+
close: "]"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
open: "(",
|
|
23
|
+
close: ")"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
open: "<",
|
|
27
|
+
close: ">"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
open: "'",
|
|
31
|
+
close: "'"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
open: "\"",
|
|
35
|
+
close: "\""
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
open: "(*",
|
|
39
|
+
close: "*)"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
surroundingPairs: [
|
|
43
|
+
{
|
|
44
|
+
open: "{",
|
|
45
|
+
close: "}"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
open: "[",
|
|
49
|
+
close: "]"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
open: "(",
|
|
53
|
+
close: ")"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
open: "<",
|
|
57
|
+
close: ">"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
open: "'",
|
|
61
|
+
close: "'"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
open: "\"",
|
|
65
|
+
close: "\""
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
open: "(*",
|
|
69
|
+
close: "*)"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
}, language = {
|
|
73
|
+
defaultToken: "",
|
|
74
|
+
tokenPostfix: ".cameligo",
|
|
75
|
+
ignoreCase: !0,
|
|
76
|
+
brackets: [
|
|
77
|
+
{
|
|
78
|
+
open: "{",
|
|
79
|
+
close: "}",
|
|
80
|
+
token: "delimiter.curly"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
open: "[",
|
|
84
|
+
close: "]",
|
|
85
|
+
token: "delimiter.square"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
open: "(",
|
|
89
|
+
close: ")",
|
|
90
|
+
token: "delimiter.parenthesis"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
open: "<",
|
|
94
|
+
close: ">",
|
|
95
|
+
token: "delimiter.angle"
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
keywords: /* @__PURE__ */ "abs.assert.block.Bytes.case.Crypto.Current.else.failwith.false.for.fun.if.in.let.let%entry.let%init.List.list.Map.map.match.match%nat.mod.not.operation.Operation.of.record.Set.set.sender.skip.source.String.then.to.true.type.with".split("."),
|
|
99
|
+
typeKeywords: [
|
|
100
|
+
"int",
|
|
101
|
+
"unit",
|
|
102
|
+
"string",
|
|
103
|
+
"tz",
|
|
104
|
+
"nat",
|
|
105
|
+
"bool"
|
|
106
|
+
],
|
|
107
|
+
operators: [
|
|
108
|
+
"=",
|
|
109
|
+
">",
|
|
110
|
+
"<",
|
|
111
|
+
"<=",
|
|
112
|
+
">=",
|
|
113
|
+
"<>",
|
|
114
|
+
":",
|
|
115
|
+
":=",
|
|
116
|
+
"and",
|
|
117
|
+
"mod",
|
|
118
|
+
"or",
|
|
119
|
+
"+",
|
|
120
|
+
"-",
|
|
121
|
+
"*",
|
|
122
|
+
"/",
|
|
123
|
+
"@",
|
|
124
|
+
"&",
|
|
125
|
+
"^",
|
|
126
|
+
"%",
|
|
127
|
+
"->",
|
|
128
|
+
"<-",
|
|
129
|
+
"&&",
|
|
130
|
+
"||"
|
|
131
|
+
],
|
|
132
|
+
symbols: /[=><:@\^&|+\-*\/\^%]+/,
|
|
133
|
+
tokenizer: {
|
|
134
|
+
root: [
|
|
135
|
+
[/[a-zA-Z_][\w]*/, { cases: {
|
|
136
|
+
"@keywords": { token: "keyword.$0" },
|
|
137
|
+
"@default": "identifier"
|
|
138
|
+
} }],
|
|
139
|
+
{ include: "@whitespace" },
|
|
140
|
+
[/[{}()\[\]]/, "@brackets"],
|
|
141
|
+
[/[<>](?!@symbols)/, "@brackets"],
|
|
142
|
+
[/@symbols/, { cases: {
|
|
143
|
+
"@operators": "delimiter",
|
|
144
|
+
"@default": ""
|
|
145
|
+
} }],
|
|
146
|
+
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
|
147
|
+
[/\$[0-9a-fA-F]{1,16}/, "number.hex"],
|
|
148
|
+
[/\d+/, "number"],
|
|
149
|
+
[/[;,.]/, "delimiter"],
|
|
150
|
+
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
|
151
|
+
[
|
|
152
|
+
/'/,
|
|
153
|
+
"string",
|
|
154
|
+
"@string"
|
|
155
|
+
],
|
|
156
|
+
[/'[^\\']'/, "string"],
|
|
157
|
+
[/'/, "string.invalid"],
|
|
158
|
+
[/\#\d+/, "string"]
|
|
159
|
+
],
|
|
160
|
+
comment: [
|
|
161
|
+
[/[^\(\*]+/, "comment"],
|
|
162
|
+
[
|
|
163
|
+
/\*\)/,
|
|
164
|
+
"comment",
|
|
165
|
+
"@pop"
|
|
166
|
+
],
|
|
167
|
+
[/\(\*/, "comment"]
|
|
168
|
+
],
|
|
169
|
+
string: [
|
|
170
|
+
[/[^\\']+/, "string"],
|
|
171
|
+
[/\\./, "string.escape.invalid"],
|
|
172
|
+
[/'/, {
|
|
173
|
+
token: "string.quote",
|
|
174
|
+
bracket: "@close",
|
|
175
|
+
next: "@pop"
|
|
176
|
+
}]
|
|
177
|
+
],
|
|
178
|
+
whitespace: [
|
|
179
|
+
[/[ \t\r\n]+/, "white"],
|
|
180
|
+
[
|
|
181
|
+
/\(\*/,
|
|
182
|
+
"comment",
|
|
183
|
+
"@comment"
|
|
184
|
+
],
|
|
185
|
+
[/\/\/.*$/, "comment"]
|
|
186
|
+
]
|
|
187
|
+
}
|
|
188
|
+
};
|
|
189
|
+
export { conf, language };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./chunk-BjqF3vbe.cjs`);var t={comments:{lineComment:`//`,blockComment:[`(*`,`*)`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`],[`<`,`>`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`<`,close:`>`},{open:`'`,close:`'`},{open:`"`,close:`"`},{open:`(*`,close:`*)`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`<`,close:`>`},{open:`'`,close:`'`},{open:`"`,close:`"`},{open:`(*`,close:`*)`}]},n={defaultToken:``,tokenPostfix:`.cameligo`,ignoreCase:!0,brackets:[{open:`{`,close:`}`,token:`delimiter.curly`},{open:`[`,close:`]`,token:`delimiter.square`},{open:`(`,close:`)`,token:`delimiter.parenthesis`},{open:`<`,close:`>`,token:`delimiter.angle`}],keywords:`abs.assert.block.Bytes.case.Crypto.Current.else.failwith.false.for.fun.if.in.let.let%entry.let%init.List.list.Map.map.match.match%nat.mod.not.operation.Operation.of.record.Set.set.sender.skip.source.String.then.to.true.type.with`.split(`.`),typeKeywords:[`int`,`unit`,`string`,`tz`,`nat`,`bool`],operators:[`=`,`>`,`<`,`<=`,`>=`,`<>`,`:`,`:=`,`and`,`mod`,`or`,`+`,`-`,`*`,`/`,`@`,`&`,`^`,`%`,`->`,`<-`,`&&`,`||`],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:`keyword.$0`},"@default":`identifier`}}],{include:`@whitespace`},[/[{}()\[\]]/,`@brackets`],[/[<>](?!@symbols)/,`@brackets`],[/@symbols/,{cases:{"@operators":`delimiter`,"@default":``}}],[/\d*\.\d+([eE][\-+]?\d+)?/,`number.float`],[/\$[0-9a-fA-F]{1,16}/,`number.hex`],[/\d+/,`number`],[/[;,.]/,`delimiter`],[/'([^'\\]|\\.)*$/,`string.invalid`],[/'/,`string`,`@string`],[/'[^\\']'/,`string`],[/'/,`string.invalid`],[/\#\d+/,`string`]],comment:[[/[^\(\*]+/,`comment`],[/\*\)/,`comment`,`@pop`],[/\(\*/,`comment`]],string:[[/[^\\']+/,`string`],[/\\./,`string.escape.invalid`],[/'/,{token:`string.quote`,bracket:`@close`,next:`@pop`}]],whitespace:[[/[ \t\r\n]+/,`white`],[/\(\*/,`comment`,`@comment`],[/\/\/.*$/,`comment`]]}};exports.conf=t,exports.language=n;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(e&&(t=e(e=0)),t),s=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),c=e=>{let n={};for(var r in e)t(n,r,{get:e[r],enumerable:!0});return n},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},u=(n,r,a)=>(a=n==null?{}:e(i(n)),l(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),d=e=>l(t({},`__esModule`,{value:!0}),e);Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return s}});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
var __create = Object.create, __defProp = Object.defineProperty, __getOwnPropDesc = Object.getOwnPropertyDescriptor, __getOwnPropNames = Object.getOwnPropertyNames, __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty, __esmMin = (e, n) => () => (e && (n = e(e = 0)), n), __commonJSMin = (e, n) => () => (n || e((n = { exports: {} }).exports, n), n.exports), __export = (e) => {
|
|
2
|
+
let r = {};
|
|
3
|
+
for (var i in e) __defProp(r, i, {
|
|
4
|
+
get: e[i],
|
|
5
|
+
enumerable: !0
|
|
6
|
+
});
|
|
7
|
+
return r;
|
|
8
|
+
}, __copyProps = (e, a, s, c) => {
|
|
9
|
+
if (a && typeof a == "object" || typeof a == "function") for (var l = __getOwnPropNames(a), u = 0, d = l.length, f; u < d; u++) f = l[u], !__hasOwnProp.call(e, f) && f !== s && __defProp(e, f, {
|
|
10
|
+
get: ((e) => a[e]).bind(null, f),
|
|
11
|
+
enumerable: !(c = __getOwnPropDesc(a, f)) || c.enumerable
|
|
12
|
+
});
|
|
13
|
+
return e;
|
|
14
|
+
}, __toESM = (r, i, o) => (o = r == null ? {} : __create(__getProtoOf(r)), __copyProps(i || !r || !r.__esModule ? __defProp(o, "default", {
|
|
15
|
+
value: r,
|
|
16
|
+
enumerable: !0
|
|
17
|
+
}) : o, r)), __toCommonJS = (e) => __copyProps(__defProp({}, "__esModule", { value: !0 }), e), __require = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(e, { get: (e, n) => (typeof require < "u" ? require : e)[n] }) : e)(function(e) {
|
|
18
|
+
if (typeof require < "u") return require.apply(this, arguments);
|
|
19
|
+
throw Error("Calling `require` for \"" + e + "\" in an environment that doesn't expose the `require` function.");
|
|
20
|
+
});
|
|
21
|
+
export { __toCommonJS as a, __require as i, __esmMin as n, __toESM as o, __export as r, __commonJSMin as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./chunk-BjqF3vbe.cjs`);var t=e.t(((e,t)=>{(function(){var e={}.hasOwnProperty;function n(){for(var e=``,t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=i(e,r(n)))}return e}function r(t){if(typeof t==`string`||typeof t==`number`)return t;if(typeof t!=`object`)return``;if(Array.isArray(t))return n.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes(`[native code]`))return t.toString();var r=``;for(var a in t)e.call(t,a)&&t[a]&&(r=i(r,a));return r}function i(e,t){return t?e?e+` `+t:e+t:e}t!==void 0&&t.exports?(n.default=n,t.exports=n):typeof define==`function`&&typeof define.amd==`object`&&define.amd?define(`classnames`,[],function(){return n}):window.classNames=n})()}));Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return t}});
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { t as __commonJSMin } from "./chunk-CIp4IH9D.js";
|
|
2
|
+
var require_classnames = /* @__PURE__ */ __commonJSMin(((e, t) => {
|
|
3
|
+
(function() {
|
|
4
|
+
var e = {}.hasOwnProperty;
|
|
5
|
+
function n() {
|
|
6
|
+
for (var e = "", t = 0; t < arguments.length; t++) {
|
|
7
|
+
var n = arguments[t];
|
|
8
|
+
n && (e = i(e, r(n)));
|
|
9
|
+
}
|
|
10
|
+
return e;
|
|
11
|
+
}
|
|
12
|
+
function r(t) {
|
|
13
|
+
if (typeof t == "string" || typeof t == "number") return t;
|
|
14
|
+
if (typeof t != "object") return "";
|
|
15
|
+
if (Array.isArray(t)) return n.apply(null, t);
|
|
16
|
+
if (t.toString !== Object.prototype.toString && !t.toString.toString().includes("[native code]")) return t.toString();
|
|
17
|
+
var r = "";
|
|
18
|
+
for (var a in t) e.call(t, a) && t[a] && (r = i(r, a));
|
|
19
|
+
return r;
|
|
20
|
+
}
|
|
21
|
+
function i(e, t) {
|
|
22
|
+
return t ? e ? e + " " + t : e + t : e;
|
|
23
|
+
}
|
|
24
|
+
t !== void 0 && t.exports ? (n.default = n, t.exports = n) : typeof define == "function" && typeof define.amd == "object" && define.amd ? define("classnames", [], function() {
|
|
25
|
+
return n;
|
|
26
|
+
}) : window.classNames = n;
|
|
27
|
+
})();
|
|
28
|
+
}));
|
|
29
|
+
export { require_classnames as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./chunk-BjqF3vbe.cjs`);var t={comments:{lineComment:`;;`},brackets:[[`[`,`]`],[`(`,`)`],[`{`,`}`]],autoClosingPairs:[{open:`[`,close:`]`},{open:`"`,close:`"`},{open:`(`,close:`)`},{open:`{`,close:`}`}],surroundingPairs:[{open:`[`,close:`]`},{open:`"`,close:`"`},{open:`(`,close:`)`},{open:`{`,close:`}`}]},n={defaultToken:``,ignoreCase:!0,tokenPostfix:`.clj`,brackets:[{open:`[`,close:`]`,token:`delimiter.square`},{open:`(`,close:`)`,token:`delimiter.parenthesis`},{open:`{`,close:`}`,token:`delimiter.curly`}],constants:[`true`,`false`,`nil`],numbers:/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,characters:/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,escapes:/^\\(?:["'\\bfnrt]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,qualifiedSymbols:/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/,specialForms:[`.`,`catch`,`def`,`do`,`if`,`monitor-enter`,`monitor-exit`,`new`,`quote`,`recur`,`set!`,`throw`,`try`,`var`],coreSymbols:`*,*',*1,*2,*3,*agent*,*allow-unresolved-vars*,*assert*,*clojure-version*,*command-line-args*,*compile-files*,*compile-path*,*compiler-options*,*data-readers*,*default-data-reader-fn*,*e,*err*,*file*,*flush-on-newline*,*fn-loader*,*in*,*math-context*,*ns*,*out*,*print-dup*,*print-length*,*print-level*,*print-meta*,*print-namespace-maps*,*print-readably*,*read-eval*,*reader-resolver*,*source-path*,*suppress-read*,*unchecked-math*,*use-context-classloader*,*verbose-defrecords*,*warn-on-reflection*,+,+',-,-',->,->>,->ArrayChunk,->Eduction,->Vec,->VecNode,->VecSeq,-cache-protocol-fn,-reset-methods,..,/,<,<=,=,==,>,>=,EMPTY-NODE,Inst,StackTraceElement->vec,Throwable->map,accessor,aclone,add-classpath,add-watch,agent,agent-error,agent-errors,aget,alength,alias,all-ns,alter,alter-meta!,alter-var-root,amap,ancestors,and,any?,apply,areduce,array-map,as->,aset,aset-boolean,aset-byte,aset-char,aset-double,aset-float,aset-int,aset-long,aset-short,assert,assoc,assoc!,assoc-in,associative?,atom,await,await-for,await1,bases,bean,bigdec,bigint,biginteger,binding,bit-and,bit-and-not,bit-clear,bit-flip,bit-not,bit-or,bit-set,bit-shift-left,bit-shift-right,bit-test,bit-xor,boolean,boolean-array,boolean?,booleans,bound-fn,bound-fn*,bound?,bounded-count,butlast,byte,byte-array,bytes,bytes?,case,cast,cat,char,char-array,char-escape-string,char-name-string,char?,chars,chunk,chunk-append,chunk-buffer,chunk-cons,chunk-first,chunk-next,chunk-rest,chunked-seq?,class,class?,clear-agent-errors,clojure-version,coll?,comment,commute,comp,comparator,compare,compare-and-set!,compile,complement,completing,concat,cond,cond->,cond->>,condp,conj,conj!,cons,constantly,construct-proxy,contains?,count,counted?,create-ns,create-struct,cycle,dec,dec',decimal?,declare,dedupe,default-data-readers,definline,definterface,defmacro,defmethod,defmulti,defn,defn-,defonce,defprotocol,defrecord,defstruct,deftype,delay,delay?,deliver,denominator,deref,derive,descendants,destructure,disj,disj!,dissoc,dissoc!,distinct,distinct?,doall,dorun,doseq,dosync,dotimes,doto,double,double-array,double?,doubles,drop,drop-last,drop-while,eduction,empty,empty?,ensure,ensure-reduced,enumeration-seq,error-handler,error-mode,eval,even?,every-pred,every?,ex-data,ex-info,extend,extend-protocol,extend-type,extenders,extends?,false?,ffirst,file-seq,filter,filterv,find,find-keyword,find-ns,find-protocol-impl,find-protocol-method,find-var,first,flatten,float,float-array,float?,floats,flush,fn,fn?,fnext,fnil,for,force,format,frequencies,future,future-call,future-cancel,future-cancelled?,future-done?,future?,gen-class,gen-interface,gensym,get,get-in,get-method,get-proxy-class,get-thread-bindings,get-validator,group-by,halt-when,hash,hash-combine,hash-map,hash-ordered-coll,hash-set,hash-unordered-coll,ident?,identical?,identity,if-let,if-not,if-some,ifn?,import,in-ns,inc,inc',indexed?,init-proxy,inst-ms,inst-ms*,inst?,instance?,int,int-array,int?,integer?,interleave,intern,interpose,into,into-array,ints,io!,isa?,iterate,iterator-seq,juxt,keep,keep-indexed,key,keys,keyword,keyword?,last,lazy-cat,lazy-seq,let,letfn,line-seq,list,list*,list?,load,load-file,load-reader,load-string,loaded-libs,locking,long,long-array,longs,loop,macroexpand,macroexpand-1,make-array,make-hierarchy,map,map-entry?,map-indexed,map?,mapcat,mapv,max,max-key,memfn,memoize,merge,merge-with,meta,method-sig,methods,min,min-key,mix-collection-hash,mod,munge,name,namespace,namespace-munge,nat-int?,neg-int?,neg?,newline,next,nfirst,nil?,nnext,not,not-any?,not-empty,not-every?,not=,ns,ns-aliases,ns-imports,ns-interns,ns-map,ns-name,ns-publics,ns-refers,ns-resolve,ns-unalias,ns-unmap,nth,nthnext,nthrest,num,number?,numerator,object-array,odd?,or,parents,partial,partition,partition-all,partition-by,pcalls,peek,persistent!,pmap,pop,pop!,pop-thread-bindings,pos-int?,pos?,pr,pr-str,prefer-method,prefers,primitives-classnames,print,print-ctor,print-dup,print-method,print-simple,print-str,printf,println,println-str,prn,prn-str,promise,proxy,proxy-call-with-super,proxy-mappings,proxy-name,proxy-super,push-thread-bindings,pvalues,qualified-ident?,qualified-keyword?,qualified-symbol?,quot,rand,rand-int,rand-nth,random-sample,range,ratio?,rational?,rationalize,re-find,re-groups,re-matcher,re-matches,re-pattern,re-seq,read,read-line,read-string,reader-conditional,reader-conditional?,realized?,record?,reduce,reduce-kv,reduced,reduced?,reductions,ref,ref-history-count,ref-max-history,ref-min-history,ref-set,refer,refer-clojure,reify,release-pending-sends,rem,remove,remove-all-methods,remove-method,remove-ns,remove-watch,repeat,repeatedly,replace,replicate,require,reset!,reset-meta!,reset-vals!,resolve,rest,restart-agent,resultset-seq,reverse,reversible?,rseq,rsubseq,run!,satisfies?,second,select-keys,send,send-off,send-via,seq,seq?,seqable?,seque,sequence,sequential?,set,set-agent-send-executor!,set-agent-send-off-executor!,set-error-handler!,set-error-mode!,set-validator!,set?,short,short-array,shorts,shuffle,shutdown-agents,simple-ident?,simple-keyword?,simple-symbol?,slurp,some,some->,some->>,some-fn,some?,sort,sort-by,sorted-map,sorted-map-by,sorted-set,sorted-set-by,sorted?,special-symbol?,spit,split-at,split-with,str,string?,struct,struct-map,subs,subseq,subvec,supers,swap!,swap-vals!,symbol,symbol?,sync,tagged-literal,tagged-literal?,take,take-last,take-nth,take-while,test,the-ns,thread-bound?,time,to-array,to-array-2d,trampoline,transduce,transient,tree-seq,true?,type,unchecked-add,unchecked-add-int,unchecked-byte,unchecked-char,unchecked-dec,unchecked-dec-int,unchecked-divide-int,unchecked-double,unchecked-float,unchecked-inc,unchecked-inc-int,unchecked-int,unchecked-long,unchecked-multiply,unchecked-multiply-int,unchecked-negate,unchecked-negate-int,unchecked-remainder-int,unchecked-short,unchecked-subtract,unchecked-subtract-int,underive,unquote,unquote-splicing,unreduced,unsigned-bit-shift-right,update,update-in,update-proxy,uri?,use,uuid?,val,vals,var-get,var-set,var?,vary-meta,vec,vector,vector-of,vector?,volatile!,volatile?,vreset!,vswap!,when,when-first,when-let,when-not,when-some,while,with-bindings,with-bindings*,with-in-str,with-loading-context,with-local-vars,with-meta,with-open,with-out-str,with-precision,with-redefs,with-redefs-fn,xml-seq,zero?,zipmap`.split(`,`),tokenizer:{root:[{include:`@whitespace`},[/@numbers/,`number`],[/@characters/,`string`],{include:`@string`},[/[()\[\]{}]/,`@brackets`],[/\/#"(?:\.|(?:")|[^"\n])*"\/g/,`regexp`],[/[#'@^`~]/,`meta`],[/@qualifiedSymbols/,{cases:{"^:.+$":`constant`,"@specialForms":`keyword`,"@coreSymbols":`keyword`,"@constants":`constant`,"@default":`identifier`}}]],whitespace:[[/[\s,]+/,`white`],[/;.*$/,`comment`],[/\(comment\b/,`comment`,`@comment`]],comment:[[/\(/,`comment`,`@push`],[/\)/,`comment`,`@pop`],[/[^()]/,`comment`]],string:[[/"/,`string`,`@multiLineString`]],multiLineString:[[/"/,`string`,`@popall`],[/@escapes/,`string.escape`],[/./,`string`]]}};exports.conf=t,exports.language=n;
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
var conf = {
|
|
2
|
+
comments: { lineComment: ";;" },
|
|
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
|
+
surroundingPairs: [
|
|
27
|
+
{
|
|
28
|
+
open: "[",
|
|
29
|
+
close: "]"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
open: "\"",
|
|
33
|
+
close: "\""
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
open: "(",
|
|
37
|
+
close: ")"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
open: "{",
|
|
41
|
+
close: "}"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}, language = {
|
|
45
|
+
defaultToken: "",
|
|
46
|
+
ignoreCase: !0,
|
|
47
|
+
tokenPostfix: ".clj",
|
|
48
|
+
brackets: [
|
|
49
|
+
{
|
|
50
|
+
open: "[",
|
|
51
|
+
close: "]",
|
|
52
|
+
token: "delimiter.square"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
open: "(",
|
|
56
|
+
close: ")",
|
|
57
|
+
token: "delimiter.parenthesis"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
open: "{",
|
|
61
|
+
close: "}",
|
|
62
|
+
token: "delimiter.curly"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
constants: [
|
|
66
|
+
"true",
|
|
67
|
+
"false",
|
|
68
|
+
"nil"
|
|
69
|
+
],
|
|
70
|
+
numbers: /^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,
|
|
71
|
+
characters: /^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,
|
|
72
|
+
escapes: /^\\(?:["'\\bfnrt]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
73
|
+
qualifiedSymbols: /^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/,
|
|
74
|
+
specialForms: [
|
|
75
|
+
".",
|
|
76
|
+
"catch",
|
|
77
|
+
"def",
|
|
78
|
+
"do",
|
|
79
|
+
"if",
|
|
80
|
+
"monitor-enter",
|
|
81
|
+
"monitor-exit",
|
|
82
|
+
"new",
|
|
83
|
+
"quote",
|
|
84
|
+
"recur",
|
|
85
|
+
"set!",
|
|
86
|
+
"throw",
|
|
87
|
+
"try",
|
|
88
|
+
"var"
|
|
89
|
+
],
|
|
90
|
+
coreSymbols: /* @__PURE__ */ "*,*',*1,*2,*3,*agent*,*allow-unresolved-vars*,*assert*,*clojure-version*,*command-line-args*,*compile-files*,*compile-path*,*compiler-options*,*data-readers*,*default-data-reader-fn*,*e,*err*,*file*,*flush-on-newline*,*fn-loader*,*in*,*math-context*,*ns*,*out*,*print-dup*,*print-length*,*print-level*,*print-meta*,*print-namespace-maps*,*print-readably*,*read-eval*,*reader-resolver*,*source-path*,*suppress-read*,*unchecked-math*,*use-context-classloader*,*verbose-defrecords*,*warn-on-reflection*,+,+',-,-',->,->>,->ArrayChunk,->Eduction,->Vec,->VecNode,->VecSeq,-cache-protocol-fn,-reset-methods,..,/,<,<=,=,==,>,>=,EMPTY-NODE,Inst,StackTraceElement->vec,Throwable->map,accessor,aclone,add-classpath,add-watch,agent,agent-error,agent-errors,aget,alength,alias,all-ns,alter,alter-meta!,alter-var-root,amap,ancestors,and,any?,apply,areduce,array-map,as->,aset,aset-boolean,aset-byte,aset-char,aset-double,aset-float,aset-int,aset-long,aset-short,assert,assoc,assoc!,assoc-in,associative?,atom,await,await-for,await1,bases,bean,bigdec,bigint,biginteger,binding,bit-and,bit-and-not,bit-clear,bit-flip,bit-not,bit-or,bit-set,bit-shift-left,bit-shift-right,bit-test,bit-xor,boolean,boolean-array,boolean?,booleans,bound-fn,bound-fn*,bound?,bounded-count,butlast,byte,byte-array,bytes,bytes?,case,cast,cat,char,char-array,char-escape-string,char-name-string,char?,chars,chunk,chunk-append,chunk-buffer,chunk-cons,chunk-first,chunk-next,chunk-rest,chunked-seq?,class,class?,clear-agent-errors,clojure-version,coll?,comment,commute,comp,comparator,compare,compare-and-set!,compile,complement,completing,concat,cond,cond->,cond->>,condp,conj,conj!,cons,constantly,construct-proxy,contains?,count,counted?,create-ns,create-struct,cycle,dec,dec',decimal?,declare,dedupe,default-data-readers,definline,definterface,defmacro,defmethod,defmulti,defn,defn-,defonce,defprotocol,defrecord,defstruct,deftype,delay,delay?,deliver,denominator,deref,derive,descendants,destructure,disj,disj!,dissoc,dissoc!,distinct,distinct?,doall,dorun,doseq,dosync,dotimes,doto,double,double-array,double?,doubles,drop,drop-last,drop-while,eduction,empty,empty?,ensure,ensure-reduced,enumeration-seq,error-handler,error-mode,eval,even?,every-pred,every?,ex-data,ex-info,extend,extend-protocol,extend-type,extenders,extends?,false?,ffirst,file-seq,filter,filterv,find,find-keyword,find-ns,find-protocol-impl,find-protocol-method,find-var,first,flatten,float,float-array,float?,floats,flush,fn,fn?,fnext,fnil,for,force,format,frequencies,future,future-call,future-cancel,future-cancelled?,future-done?,future?,gen-class,gen-interface,gensym,get,get-in,get-method,get-proxy-class,get-thread-bindings,get-validator,group-by,halt-when,hash,hash-combine,hash-map,hash-ordered-coll,hash-set,hash-unordered-coll,ident?,identical?,identity,if-let,if-not,if-some,ifn?,import,in-ns,inc,inc',indexed?,init-proxy,inst-ms,inst-ms*,inst?,instance?,int,int-array,int?,integer?,interleave,intern,interpose,into,into-array,ints,io!,isa?,iterate,iterator-seq,juxt,keep,keep-indexed,key,keys,keyword,keyword?,last,lazy-cat,lazy-seq,let,letfn,line-seq,list,list*,list?,load,load-file,load-reader,load-string,loaded-libs,locking,long,long-array,longs,loop,macroexpand,macroexpand-1,make-array,make-hierarchy,map,map-entry?,map-indexed,map?,mapcat,mapv,max,max-key,memfn,memoize,merge,merge-with,meta,method-sig,methods,min,min-key,mix-collection-hash,mod,munge,name,namespace,namespace-munge,nat-int?,neg-int?,neg?,newline,next,nfirst,nil?,nnext,not,not-any?,not-empty,not-every?,not=,ns,ns-aliases,ns-imports,ns-interns,ns-map,ns-name,ns-publics,ns-refers,ns-resolve,ns-unalias,ns-unmap,nth,nthnext,nthrest,num,number?,numerator,object-array,odd?,or,parents,partial,partition,partition-all,partition-by,pcalls,peek,persistent!,pmap,pop,pop!,pop-thread-bindings,pos-int?,pos?,pr,pr-str,prefer-method,prefers,primitives-classnames,print,print-ctor,print-dup,print-method,print-simple,print-str,printf,println,println-str,prn,prn-str,promise,proxy,proxy-call-with-super,proxy-mappings,proxy-name,proxy-super,push-thread-bindings,pvalues,qualified-ident?,qualified-keyword?,qualified-symbol?,quot,rand,rand-int,rand-nth,random-sample,range,ratio?,rational?,rationalize,re-find,re-groups,re-matcher,re-matches,re-pattern,re-seq,read,read-line,read-string,reader-conditional,reader-conditional?,realized?,record?,reduce,reduce-kv,reduced,reduced?,reductions,ref,ref-history-count,ref-max-history,ref-min-history,ref-set,refer,refer-clojure,reify,release-pending-sends,rem,remove,remove-all-methods,remove-method,remove-ns,remove-watch,repeat,repeatedly,replace,replicate,require,reset!,reset-meta!,reset-vals!,resolve,rest,restart-agent,resultset-seq,reverse,reversible?,rseq,rsubseq,run!,satisfies?,second,select-keys,send,send-off,send-via,seq,seq?,seqable?,seque,sequence,sequential?,set,set-agent-send-executor!,set-agent-send-off-executor!,set-error-handler!,set-error-mode!,set-validator!,set?,short,short-array,shorts,shuffle,shutdown-agents,simple-ident?,simple-keyword?,simple-symbol?,slurp,some,some->,some->>,some-fn,some?,sort,sort-by,sorted-map,sorted-map-by,sorted-set,sorted-set-by,sorted?,special-symbol?,spit,split-at,split-with,str,string?,struct,struct-map,subs,subseq,subvec,supers,swap!,swap-vals!,symbol,symbol?,sync,tagged-literal,tagged-literal?,take,take-last,take-nth,take-while,test,the-ns,thread-bound?,time,to-array,to-array-2d,trampoline,transduce,transient,tree-seq,true?,type,unchecked-add,unchecked-add-int,unchecked-byte,unchecked-char,unchecked-dec,unchecked-dec-int,unchecked-divide-int,unchecked-double,unchecked-float,unchecked-inc,unchecked-inc-int,unchecked-int,unchecked-long,unchecked-multiply,unchecked-multiply-int,unchecked-negate,unchecked-negate-int,unchecked-remainder-int,unchecked-short,unchecked-subtract,unchecked-subtract-int,underive,unquote,unquote-splicing,unreduced,unsigned-bit-shift-right,update,update-in,update-proxy,uri?,use,uuid?,val,vals,var-get,var-set,var?,vary-meta,vec,vector,vector-of,vector?,volatile!,volatile?,vreset!,vswap!,when,when-first,when-let,when-not,when-some,while,with-bindings,with-bindings*,with-in-str,with-loading-context,with-local-vars,with-meta,with-open,with-out-str,with-precision,with-redefs,with-redefs-fn,xml-seq,zero?,zipmap".split(","),
|
|
91
|
+
tokenizer: {
|
|
92
|
+
root: [
|
|
93
|
+
{ include: "@whitespace" },
|
|
94
|
+
[/@numbers/, "number"],
|
|
95
|
+
[/@characters/, "string"],
|
|
96
|
+
{ include: "@string" },
|
|
97
|
+
[/[()\[\]{}]/, "@brackets"],
|
|
98
|
+
[/\/#"(?:\.|(?:")|[^"\n])*"\/g/, "regexp"],
|
|
99
|
+
[/[#'@^`~]/, "meta"],
|
|
100
|
+
[/@qualifiedSymbols/, { cases: {
|
|
101
|
+
"^:.+$": "constant",
|
|
102
|
+
"@specialForms": "keyword",
|
|
103
|
+
"@coreSymbols": "keyword",
|
|
104
|
+
"@constants": "constant",
|
|
105
|
+
"@default": "identifier"
|
|
106
|
+
} }]
|
|
107
|
+
],
|
|
108
|
+
whitespace: [
|
|
109
|
+
[/[\s,]+/, "white"],
|
|
110
|
+
[/;.*$/, "comment"],
|
|
111
|
+
[
|
|
112
|
+
/\(comment\b/,
|
|
113
|
+
"comment",
|
|
114
|
+
"@comment"
|
|
115
|
+
]
|
|
116
|
+
],
|
|
117
|
+
comment: [
|
|
118
|
+
[
|
|
119
|
+
/\(/,
|
|
120
|
+
"comment",
|
|
121
|
+
"@push"
|
|
122
|
+
],
|
|
123
|
+
[
|
|
124
|
+
/\)/,
|
|
125
|
+
"comment",
|
|
126
|
+
"@pop"
|
|
127
|
+
],
|
|
128
|
+
[/[^()]/, "comment"]
|
|
129
|
+
],
|
|
130
|
+
string: [[
|
|
131
|
+
/"/,
|
|
132
|
+
"string",
|
|
133
|
+
"@multiLineString"
|
|
134
|
+
]],
|
|
135
|
+
multiLineString: [
|
|
136
|
+
[
|
|
137
|
+
/"/,
|
|
138
|
+
"string",
|
|
139
|
+
"@popall"
|
|
140
|
+
],
|
|
141
|
+
[/@escapes/, "string.escape"],
|
|
142
|
+
[/./, "string"]
|
|
143
|
+
]
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
export { conf, language };
|