@univerjs/uniscript 0.4.0-alpha.0 → 0.4.0-nightly.202410121605
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/abap-BZS-1p12.js +6 -0
- package/lib/abap-D8H3nII2.mjs +1404 -0
- package/lib/apex-B2xdRF0k.js +6 -0
- package/lib/apex-BVHYDV51.mjs +334 -0
- package/lib/azcli-BwJ4gbR1.mjs +74 -0
- package/lib/azcli-CKk2q0zF.js +6 -0
- package/lib/bat-BDmMqWXx.mjs +106 -0
- package/lib/bat-Ehz5Z_mk.js +6 -0
- package/lib/bicep-B5L2IbSj.mjs +110 -0
- package/lib/bicep-WbLMPUMj.js +7 -0
- package/lib/cameligo-B_ldnAvM.js +6 -0
- package/lib/cameligo-CmyOPZUd.mjs +180 -0
- package/lib/cjs/index.js +1 -9
- package/lib/clojure-Dg-qgg-1.js +6 -0
- package/lib/clojure-iSXHsTlR.mjs +767 -0
- package/lib/coffee-BCg0pb49.js +6 -0
- package/lib/coffee-BUCk2FHC.mjs +238 -0
- package/lib/cpp-CJWZ7Zo7.js +6 -0
- package/lib/cpp-MUyeqRt5.mjs +395 -0
- package/lib/csharp-B9vyMfVU.mjs +332 -0
- package/lib/csharp-BZypj8XG.js +6 -0
- package/lib/csp-BfXxGnNN.js +6 -0
- package/lib/csp-CbylPXe5.mjs +59 -0
- package/lib/css-BPDnvT2s.js +8 -0
- package/lib/css-BQSMT8k7.mjs +193 -0
- package/lib/cssMode-B_of5tVd.js +9 -0
- package/lib/cssMode-BuX-eUHc.mjs +1604 -0
- package/lib/cypher-3bNWMNCJ.js +6 -0
- package/lib/cypher-D7IWy_82.mjs +269 -0
- package/lib/dart-BCVbUKaH.mjs +287 -0
- package/lib/dart-C9Glm5m-.js +6 -0
- package/lib/dockerfile-CjnlcV5o.js +6 -0
- package/lib/dockerfile-D2-hSnDX.mjs +136 -0
- package/lib/ecl-DRJlPmOb.mjs +462 -0
- package/lib/ecl-UyoSfv7F.js +6 -0
- package/lib/elixir-Bol0p0Ia.js +6 -0
- package/lib/elixir-D8NBXKCb.mjs +575 -0
- package/lib/es/index.js +5 -262
- package/lib/flow9-Be1OUdJl.js +6 -0
- package/lib/flow9-Dp7h8rKW.mjs +148 -0
- package/lib/freemarker2-D8-fH4uC.mjs +1001 -0
- package/lib/freemarker2-S5ay_GEf.js +8 -0
- package/lib/fsharp-CJxdVP7r.mjs +223 -0
- package/lib/fsharp-CKIYWNYJ.js +6 -0
- package/lib/go-DWj6zslQ.js +6 -0
- package/lib/go-IPaMO3Uz.mjs +224 -0
- package/lib/graphql-BzJpwfxN.js +6 -0
- package/lib/graphql-CMoDK5uf.mjs +157 -0
- package/lib/handlebars-CEMNnGaU.mjs +427 -0
- package/lib/handlebars-CM3PRDRO.js +6 -0
- package/lib/hcl-BCY6T0iq.js +6 -0
- package/lib/hcl-BTAYK4pT.mjs +189 -0
- package/lib/html-BSUn7oJR.mjs +316 -0
- package/lib/html-Df-Osxjs.js +6 -0
- package/lib/htmlMode-Bj4CfAzA.js +9 -0
- package/lib/htmlMode-xJPwX0cD.mjs +1615 -0
- package/lib/index-D6nY5NdF.mjs +116821 -0
- package/lib/index-rYV4VmC2.js +1163 -0
- package/lib/index.css +1 -1
- package/lib/ini-CC3_THb4.js +6 -0
- package/lib/ini-CiaphB6F.mjs +77 -0
- package/lib/java-CwRV8Dsg.js +6 -0
- package/lib/java-DxksziCw.mjs +238 -0
- package/lib/javascript-D1eKEotE.js +6 -0
- package/lib/javascript-c8D1_K05.mjs +76 -0
- package/lib/jsonMode-8-L3-E9k.mjs +2042 -0
- package/lib/jsonMode-BdBVsN9_.js +15 -0
- package/lib/julia-7Z1jwT4W.js +6 -0
- package/lib/julia-TTty8och.mjs +517 -0
- package/lib/kotlin-BAXgl2QX.js +6 -0
- package/lib/kotlin-Dzand-bM.mjs +259 -0
- package/lib/less-CSG9Zdoy.js +7 -0
- package/lib/less-CWDFQI_i.mjs +168 -0
- package/lib/lexon-BiTtMD9F.js +6 -0
- package/lib/lexon-bZpjZioh.mjs +163 -0
- package/lib/liquid-BmlJOXgY.js +6 -0
- package/lib/liquid-Bs7DM5cg.mjs +248 -0
- package/lib/lua-CoWYKXUu.mjs +168 -0
- package/lib/lua-o7UTFJ05.js +6 -0
- package/lib/m3-DIJY3uEe.mjs +216 -0
- package/lib/m3-DOYTRLxi.js +6 -0
- package/lib/markdown-CDlkMTMZ.mjs +235 -0
- package/lib/markdown-Di5faXtP.js +6 -0
- package/lib/mdx-BEI71kqO.mjs +173 -0
- package/lib/mdx-DJV2KJ98.js +6 -0
- package/lib/mips-CIiuS33B.mjs +204 -0
- package/lib/mips-CjGjcf9D.js +6 -0
- package/lib/msdax-4_jBeazN.mjs +381 -0
- package/lib/msdax-DZFpIwAH.js +6 -0
- package/lib/mysql-6Y0DL_eO.js +6 -0
- package/lib/mysql-D_KZRjSR.mjs +884 -0
- package/lib/objective-c-7nsY1fc1.mjs +189 -0
- package/lib/objective-c-BtrzMwBz.js +6 -0
- package/lib/pascal-BF06Dt9I.js +6 -0
- package/lib/pascal-BHpF9PW1.mjs +257 -0
- package/lib/pascaligo-BDrxVOcH.js +6 -0
- package/lib/pascaligo-C3mRbxmU.mjs +170 -0
- package/lib/perl-BMlqAyyD.js +6 -0
- package/lib/perl-F3tWDMLI.mjs +632 -0
- package/lib/pgsql-D62t1RD_.mjs +857 -0
- package/lib/pgsql-DXYBcnYD.js +6 -0
- package/lib/php-C8GGPjjI.mjs +506 -0
- package/lib/php-DmDmMNs3.js +6 -0
- package/lib/pla-2A6q3K8_.js +6 -0
- package/lib/pla-C_W_x2fV.mjs +143 -0
- package/lib/postiats-CMS8WwLg.mjs +913 -0
- package/lib/postiats-DQ-6iLGI.js +6 -0
- package/lib/powerquery-CuZPk7NC.js +6 -0
- package/lib/powerquery-Dcs0XplE.mjs +896 -0
- package/lib/powershell-Brx1N_3T.mjs +245 -0
- package/lib/powershell-D7BqJxnS.js +6 -0
- package/lib/protobuf-CkqkhuUG.js +7 -0
- package/lib/protobuf-UEJDuX6l.mjs +426 -0
- package/lib/pug-65DF18O8.js +6 -0
- package/lib/pug-LDwDmrMc.mjs +408 -0
- package/lib/python-BOeTitp9.mjs +309 -0
- package/lib/python-DRyE-VQQ.js +6 -0
- package/lib/qsharp-Cb7hPwnM.mjs +307 -0
- package/lib/qsharp-Dw07PXbd.js +6 -0
- package/lib/r-BHuY0po5.js +6 -0
- package/lib/r-BiFgSgcs.mjs +249 -0
- package/lib/razor-D0RPXCAO.mjs +558 -0
- package/lib/razor-DtDOotKq.js +6 -0
- package/lib/redis-BdzqoKC2.mjs +308 -0
- package/lib/redis-_Q4kv9ug.js +6 -0
- package/lib/redshift-DNNCHCLR.js +6 -0
- package/lib/redshift-Df6PoiEL.mjs +815 -0
- package/lib/restructuredtext-C9FM3r80.js +6 -0
- package/lib/restructuredtext-CW0ZtQ2l.mjs +180 -0
- package/lib/ruby-DyIFepcy.mjs +517 -0
- package/lib/ruby-DyJmXCYh.js +6 -0
- package/lib/rust-BiRHKB0S.mjs +349 -0
- package/lib/rust-DVvzZ_uH.js +6 -0
- package/lib/sb-CFwmZh3c.js +6 -0
- package/lib/sb-CahkGwPC.mjs +121 -0
- package/lib/scala-Cg9Wfw6B.mjs +376 -0
- package/lib/scala-DjaRe0PR.js +6 -0
- package/lib/scheme-Bqb0wlMX.mjs +114 -0
- package/lib/scheme-ZdeLzG0d.js +6 -0
- package/lib/scss-3qd2syug.mjs +268 -0
- package/lib/scss-Dqv1RljX.js +8 -0
- package/lib/shell-B5iW6U-v.mjs +227 -0
- package/lib/shell-BJ5zD_-e.js +6 -0
- package/lib/solidity-8Ys0iSgd.mjs +1373 -0
- package/lib/solidity-CagYWQAe.js +6 -0
- package/lib/sophia-PnZfErC3.mjs +205 -0
- package/lib/sophia-szuux90p.js +6 -0
- package/lib/sparql-CXz1-gkd.js +6 -0
- package/lib/sparql-CgWX-KRM.mjs +207 -0
- package/lib/sql-CN3Vg4Sm.mjs +859 -0
- package/lib/sql-CWZ5x4mg.js +6 -0
- package/lib/st-CcWMPoh3.js +6 -0
- package/lib/st-DKDuarOh.mjs +422 -0
- package/lib/swift-DUBoAkDR.js +8 -0
- package/lib/swift-DnXH6Con.mjs +318 -0
- package/lib/systemverilog-5hQzl-99.js +6 -0
- package/lib/systemverilog-pJOgZU46.mjs +582 -0
- package/lib/tcl-Bls9iNXn.mjs +238 -0
- package/lib/tcl-CiK0GhJi.js +6 -0
- package/lib/tsMode-BB2mDc5d.mjs +906 -0
- package/lib/tsMode-N-LS5RKx.js +16 -0
- package/lib/twig-B14HEeE0.mjs +398 -0
- package/lib/twig-Cbq-Ua-E.js +6 -0
- package/lib/typescript-CZplv8KD.js +6 -0
- package/lib/typescript-f9PHTVoW.mjs +351 -0
- package/lib/typespec-Br_LC070.js +6 -0
- package/lib/typespec-dAaIdBal.mjs +125 -0
- package/lib/umd/index.js +1914 -2
- package/lib/vb-B1HzwoGL.js +6 -0
- package/lib/vb-CPBujGrP.mjs +378 -0
- package/lib/wgsl-BNAUPMiJ.js +303 -0
- package/lib/wgsl-CqCqdnZC.mjs +448 -0
- package/lib/xml-BSe-ETnG.js +6 -0
- package/lib/xml-Dv0cmUxw.mjs +103 -0
- package/lib/yaml-O_DoXtBP.js +6 -0
- package/lib/yaml-eXS7QSgG.mjs +214 -0
- package/package.json +9 -16
- package/LICENSE +0 -176
@@ -0,0 +1,136 @@
|
|
1
|
+
/*!-----------------------------------------------------------------------------
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
* Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
|
4
|
+
* Released under the MIT license
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
|
+
*-----------------------------------------------------------------------------*/
|
7
|
+
var conf = {
|
8
|
+
brackets: [
|
9
|
+
["{", "}"],
|
10
|
+
["[", "]"],
|
11
|
+
["(", ")"]
|
12
|
+
],
|
13
|
+
autoClosingPairs: [
|
14
|
+
{ open: "{", close: "}" },
|
15
|
+
{ open: "[", close: "]" },
|
16
|
+
{ open: "(", close: ")" },
|
17
|
+
{ open: '"', close: '"' },
|
18
|
+
{ open: "'", close: "'" }
|
19
|
+
],
|
20
|
+
surroundingPairs: [
|
21
|
+
{ open: "{", close: "}" },
|
22
|
+
{ open: "[", close: "]" },
|
23
|
+
{ open: "(", close: ")" },
|
24
|
+
{ open: '"', close: '"' },
|
25
|
+
{ open: "'", close: "'" }
|
26
|
+
]
|
27
|
+
}, language = {
|
28
|
+
defaultToken: "",
|
29
|
+
tokenPostfix: ".dockerfile",
|
30
|
+
variable: /\${?[\w]+}?/,
|
31
|
+
tokenizer: {
|
32
|
+
root: [
|
33
|
+
{ include: "@whitespace" },
|
34
|
+
{ include: "@comment" },
|
35
|
+
[/(ONBUILD)(\s+)/, ["keyword", ""]],
|
36
|
+
[/(ENV)(\s+)([\w]+)/, ["keyword", "", { token: "variable", next: "@arguments" }]],
|
37
|
+
[
|
38
|
+
/(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|ARG|VOLUME|LABEL|USER|WORKDIR|COPY|CMD|STOPSIGNAL|SHELL|HEALTHCHECK|ENTRYPOINT)/,
|
39
|
+
{ token: "keyword", next: "@arguments" }
|
40
|
+
]
|
41
|
+
],
|
42
|
+
arguments: [
|
43
|
+
{ include: "@whitespace" },
|
44
|
+
{ include: "@strings" },
|
45
|
+
[
|
46
|
+
/(@variable)/,
|
47
|
+
{
|
48
|
+
cases: {
|
49
|
+
"@eos": { token: "variable", next: "@popall" },
|
50
|
+
"@default": "variable"
|
51
|
+
}
|
52
|
+
}
|
53
|
+
],
|
54
|
+
[
|
55
|
+
/\\/,
|
56
|
+
{
|
57
|
+
cases: {
|
58
|
+
"@eos": "",
|
59
|
+
"@default": ""
|
60
|
+
}
|
61
|
+
}
|
62
|
+
],
|
63
|
+
[
|
64
|
+
/./,
|
65
|
+
{
|
66
|
+
cases: {
|
67
|
+
"@eos": { token: "", next: "@popall" },
|
68
|
+
"@default": ""
|
69
|
+
}
|
70
|
+
}
|
71
|
+
]
|
72
|
+
],
|
73
|
+
// Deal with white space, including comments
|
74
|
+
whitespace: [
|
75
|
+
[
|
76
|
+
/\s+/,
|
77
|
+
{
|
78
|
+
cases: {
|
79
|
+
"@eos": { token: "", next: "@popall" },
|
80
|
+
"@default": ""
|
81
|
+
}
|
82
|
+
}
|
83
|
+
]
|
84
|
+
],
|
85
|
+
comment: [[/(^#.*$)/, "comment", "@popall"]],
|
86
|
+
// Recognize strings, including those broken across lines with \ (but not without)
|
87
|
+
strings: [
|
88
|
+
[/\\'$/, "", "@popall"],
|
89
|
+
// \' leaves @arguments at eol
|
90
|
+
[/\\'/, ""],
|
91
|
+
// \' is not a string
|
92
|
+
[/'$/, "string", "@popall"],
|
93
|
+
[/'/, "string", "@stringBody"],
|
94
|
+
[/"$/, "string", "@popall"],
|
95
|
+
[/"/, "string", "@dblStringBody"]
|
96
|
+
],
|
97
|
+
stringBody: [
|
98
|
+
[
|
99
|
+
/[^\\\$']/,
|
100
|
+
{
|
101
|
+
cases: {
|
102
|
+
"@eos": { token: "string", next: "@popall" },
|
103
|
+
"@default": "string"
|
104
|
+
}
|
105
|
+
}
|
106
|
+
],
|
107
|
+
[/\\./, "string.escape"],
|
108
|
+
[/'$/, "string", "@popall"],
|
109
|
+
[/'/, "string", "@pop"],
|
110
|
+
[/(@variable)/, "variable"],
|
111
|
+
[/\\$/, "string"],
|
112
|
+
[/$/, "string", "@popall"]
|
113
|
+
],
|
114
|
+
dblStringBody: [
|
115
|
+
[
|
116
|
+
/[^\\\$"]/,
|
117
|
+
{
|
118
|
+
cases: {
|
119
|
+
"@eos": { token: "string", next: "@popall" },
|
120
|
+
"@default": "string"
|
121
|
+
}
|
122
|
+
}
|
123
|
+
],
|
124
|
+
[/\\./, "string.escape"],
|
125
|
+
[/"$/, "string", "@popall"],
|
126
|
+
[/"/, "string", "@pop"],
|
127
|
+
[/(@variable)/, "variable"],
|
128
|
+
[/\\$/, "string"],
|
129
|
+
[/$/, "string", "@popall"]
|
130
|
+
]
|
131
|
+
}
|
132
|
+
};
|
133
|
+
export {
|
134
|
+
conf,
|
135
|
+
language
|
136
|
+
};
|
@@ -0,0 +1,462 @@
|
|
1
|
+
/*!-----------------------------------------------------------------------------
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
* Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
|
4
|
+
* Released under the MIT license
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
|
+
*-----------------------------------------------------------------------------*/
|
7
|
+
var conf = {
|
8
|
+
comments: {
|
9
|
+
lineComment: "//",
|
10
|
+
blockComment: ["/*", "*/"]
|
11
|
+
},
|
12
|
+
brackets: [
|
13
|
+
["{", "}"],
|
14
|
+
["[", "]"],
|
15
|
+
["(", ")"]
|
16
|
+
],
|
17
|
+
autoClosingPairs: [
|
18
|
+
{ open: "{", close: "}" },
|
19
|
+
{ open: "[", close: "]" },
|
20
|
+
{ open: "(", close: ")" },
|
21
|
+
{ open: "'", close: "'", notIn: ["string", "comment"] },
|
22
|
+
{ open: '"', close: '"', notIn: ["string", "comment"] }
|
23
|
+
],
|
24
|
+
surroundingPairs: [
|
25
|
+
{ open: "{", close: "}" },
|
26
|
+
{ open: "[", close: "]" },
|
27
|
+
{ open: "(", close: ")" },
|
28
|
+
{ open: "<", close: ">" },
|
29
|
+
{ open: "'", close: "'" },
|
30
|
+
{ open: '"', close: '"' }
|
31
|
+
]
|
32
|
+
}, language = {
|
33
|
+
defaultToken: "",
|
34
|
+
tokenPostfix: ".ecl",
|
35
|
+
ignoreCase: !0,
|
36
|
+
brackets: [
|
37
|
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
38
|
+
{ open: "[", close: "]", token: "delimiter.square" },
|
39
|
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
40
|
+
{ open: "<", close: ">", token: "delimiter.angle" }
|
41
|
+
],
|
42
|
+
pounds: [
|
43
|
+
"append",
|
44
|
+
"break",
|
45
|
+
"declare",
|
46
|
+
"demangle",
|
47
|
+
"end",
|
48
|
+
"for",
|
49
|
+
"getdatatype",
|
50
|
+
"if",
|
51
|
+
"inmodule",
|
52
|
+
"loop",
|
53
|
+
"mangle",
|
54
|
+
"onwarning",
|
55
|
+
"option",
|
56
|
+
"set",
|
57
|
+
"stored",
|
58
|
+
"uniquename"
|
59
|
+
].join("|"),
|
60
|
+
keywords: [
|
61
|
+
"__compressed__",
|
62
|
+
"after",
|
63
|
+
"all",
|
64
|
+
"and",
|
65
|
+
"any",
|
66
|
+
"as",
|
67
|
+
"atmost",
|
68
|
+
"before",
|
69
|
+
"beginc",
|
70
|
+
"best",
|
71
|
+
"between",
|
72
|
+
"case",
|
73
|
+
"cluster",
|
74
|
+
"compressed",
|
75
|
+
"compression",
|
76
|
+
"const",
|
77
|
+
"counter",
|
78
|
+
"csv",
|
79
|
+
"default",
|
80
|
+
"descend",
|
81
|
+
"embed",
|
82
|
+
"encoding",
|
83
|
+
"encrypt",
|
84
|
+
"end",
|
85
|
+
"endc",
|
86
|
+
"endembed",
|
87
|
+
"endmacro",
|
88
|
+
"enum",
|
89
|
+
"escape",
|
90
|
+
"except",
|
91
|
+
"exclusive",
|
92
|
+
"expire",
|
93
|
+
"export",
|
94
|
+
"extend",
|
95
|
+
"fail",
|
96
|
+
"few",
|
97
|
+
"fileposition",
|
98
|
+
"first",
|
99
|
+
"flat",
|
100
|
+
"forward",
|
101
|
+
"from",
|
102
|
+
"full",
|
103
|
+
"function",
|
104
|
+
"functionmacro",
|
105
|
+
"group",
|
106
|
+
"grouped",
|
107
|
+
"heading",
|
108
|
+
"hole",
|
109
|
+
"ifblock",
|
110
|
+
"import",
|
111
|
+
"in",
|
112
|
+
"inner",
|
113
|
+
"interface",
|
114
|
+
"internal",
|
115
|
+
"joined",
|
116
|
+
"keep",
|
117
|
+
"keyed",
|
118
|
+
"last",
|
119
|
+
"left",
|
120
|
+
"limit",
|
121
|
+
"linkcounted",
|
122
|
+
"literal",
|
123
|
+
"little_endian",
|
124
|
+
"load",
|
125
|
+
"local",
|
126
|
+
"locale",
|
127
|
+
"lookup",
|
128
|
+
"lzw",
|
129
|
+
"macro",
|
130
|
+
"many",
|
131
|
+
"maxcount",
|
132
|
+
"maxlength",
|
133
|
+
"min skew",
|
134
|
+
"module",
|
135
|
+
"mofn",
|
136
|
+
"multiple",
|
137
|
+
"named",
|
138
|
+
"namespace",
|
139
|
+
"nocase",
|
140
|
+
"noroot",
|
141
|
+
"noscan",
|
142
|
+
"nosort",
|
143
|
+
"not",
|
144
|
+
"noxpath",
|
145
|
+
"of",
|
146
|
+
"onfail",
|
147
|
+
"only",
|
148
|
+
"opt",
|
149
|
+
"or",
|
150
|
+
"outer",
|
151
|
+
"overwrite",
|
152
|
+
"packed",
|
153
|
+
"partition",
|
154
|
+
"penalty",
|
155
|
+
"physicallength",
|
156
|
+
"pipe",
|
157
|
+
"prefetch",
|
158
|
+
"quote",
|
159
|
+
"record",
|
160
|
+
"repeat",
|
161
|
+
"retry",
|
162
|
+
"return",
|
163
|
+
"right",
|
164
|
+
"right1",
|
165
|
+
"right2",
|
166
|
+
"rows",
|
167
|
+
"rowset",
|
168
|
+
"scan",
|
169
|
+
"scope",
|
170
|
+
"self",
|
171
|
+
"separator",
|
172
|
+
"service",
|
173
|
+
"shared",
|
174
|
+
"skew",
|
175
|
+
"skip",
|
176
|
+
"smart",
|
177
|
+
"soapaction",
|
178
|
+
"sql",
|
179
|
+
"stable",
|
180
|
+
"store",
|
181
|
+
"terminator",
|
182
|
+
"thor",
|
183
|
+
"threshold",
|
184
|
+
"timelimit",
|
185
|
+
"timeout",
|
186
|
+
"token",
|
187
|
+
"transform",
|
188
|
+
"trim",
|
189
|
+
"type",
|
190
|
+
"unicodeorder",
|
191
|
+
"unordered",
|
192
|
+
"unsorted",
|
193
|
+
"unstable",
|
194
|
+
"update",
|
195
|
+
"use",
|
196
|
+
"validate",
|
197
|
+
"virtual",
|
198
|
+
"whole",
|
199
|
+
"width",
|
200
|
+
"wild",
|
201
|
+
"within",
|
202
|
+
"wnotrim",
|
203
|
+
"xml",
|
204
|
+
"xpath"
|
205
|
+
],
|
206
|
+
functions: [
|
207
|
+
"abs",
|
208
|
+
"acos",
|
209
|
+
"aggregate",
|
210
|
+
"allnodes",
|
211
|
+
"apply",
|
212
|
+
"ascii",
|
213
|
+
"asin",
|
214
|
+
"assert",
|
215
|
+
"asstring",
|
216
|
+
"atan",
|
217
|
+
"atan2",
|
218
|
+
"ave",
|
219
|
+
"build",
|
220
|
+
"buildindex",
|
221
|
+
"case",
|
222
|
+
"catch",
|
223
|
+
"choose",
|
224
|
+
"choosen",
|
225
|
+
"choosesets",
|
226
|
+
"clustersize",
|
227
|
+
"combine",
|
228
|
+
"correlation",
|
229
|
+
"cos",
|
230
|
+
"cosh",
|
231
|
+
"count",
|
232
|
+
"covariance",
|
233
|
+
"cron",
|
234
|
+
"dataset",
|
235
|
+
"dedup",
|
236
|
+
"define",
|
237
|
+
"denormalize",
|
238
|
+
"dictionary",
|
239
|
+
"distribute",
|
240
|
+
"distributed",
|
241
|
+
"distribution",
|
242
|
+
"ebcdic",
|
243
|
+
"enth",
|
244
|
+
"error",
|
245
|
+
"evaluate",
|
246
|
+
"event",
|
247
|
+
"eventextra",
|
248
|
+
"eventname",
|
249
|
+
"exists",
|
250
|
+
"exp",
|
251
|
+
"fail",
|
252
|
+
"failcode",
|
253
|
+
"failmessage",
|
254
|
+
"fetch",
|
255
|
+
"fromunicode",
|
256
|
+
"fromxml",
|
257
|
+
"getenv",
|
258
|
+
"getisvalid",
|
259
|
+
"global",
|
260
|
+
"graph",
|
261
|
+
"group",
|
262
|
+
"hash",
|
263
|
+
"hash32",
|
264
|
+
"hash64",
|
265
|
+
"hashcrc",
|
266
|
+
"hashmd5",
|
267
|
+
"having",
|
268
|
+
"httpcall",
|
269
|
+
"httpheader",
|
270
|
+
"if",
|
271
|
+
"iff",
|
272
|
+
"index",
|
273
|
+
"intformat",
|
274
|
+
"isvalid",
|
275
|
+
"iterate",
|
276
|
+
"join",
|
277
|
+
"keydiff",
|
278
|
+
"keypatch",
|
279
|
+
"keyunicode",
|
280
|
+
"length",
|
281
|
+
"library",
|
282
|
+
"limit",
|
283
|
+
"ln",
|
284
|
+
"loadxml",
|
285
|
+
"local",
|
286
|
+
"log",
|
287
|
+
"loop",
|
288
|
+
"map",
|
289
|
+
"matched",
|
290
|
+
"matchlength",
|
291
|
+
"matchposition",
|
292
|
+
"matchtext",
|
293
|
+
"matchunicode",
|
294
|
+
"max",
|
295
|
+
"merge",
|
296
|
+
"mergejoin",
|
297
|
+
"min",
|
298
|
+
"nofold",
|
299
|
+
"nolocal",
|
300
|
+
"nonempty",
|
301
|
+
"normalize",
|
302
|
+
"nothor",
|
303
|
+
"notify",
|
304
|
+
"output",
|
305
|
+
"parallel",
|
306
|
+
"parse",
|
307
|
+
"pipe",
|
308
|
+
"power",
|
309
|
+
"preload",
|
310
|
+
"process",
|
311
|
+
"project",
|
312
|
+
"pull",
|
313
|
+
"random",
|
314
|
+
"range",
|
315
|
+
"rank",
|
316
|
+
"ranked",
|
317
|
+
"realformat",
|
318
|
+
"recordof",
|
319
|
+
"regexfind",
|
320
|
+
"regexreplace",
|
321
|
+
"regroup",
|
322
|
+
"rejected",
|
323
|
+
"rollup",
|
324
|
+
"round",
|
325
|
+
"roundup",
|
326
|
+
"row",
|
327
|
+
"rowdiff",
|
328
|
+
"sample",
|
329
|
+
"sequential",
|
330
|
+
"set",
|
331
|
+
"sin",
|
332
|
+
"sinh",
|
333
|
+
"sizeof",
|
334
|
+
"soapcall",
|
335
|
+
"sort",
|
336
|
+
"sorted",
|
337
|
+
"sqrt",
|
338
|
+
"stepped",
|
339
|
+
"stored",
|
340
|
+
"sum",
|
341
|
+
"table",
|
342
|
+
"tan",
|
343
|
+
"tanh",
|
344
|
+
"thisnode",
|
345
|
+
"topn",
|
346
|
+
"tounicode",
|
347
|
+
"toxml",
|
348
|
+
"transfer",
|
349
|
+
"transform",
|
350
|
+
"trim",
|
351
|
+
"truncate",
|
352
|
+
"typeof",
|
353
|
+
"ungroup",
|
354
|
+
"unicodeorder",
|
355
|
+
"variance",
|
356
|
+
"wait",
|
357
|
+
"which",
|
358
|
+
"workunit",
|
359
|
+
"xmldecode",
|
360
|
+
"xmlencode",
|
361
|
+
"xmltext",
|
362
|
+
"xmlunicode"
|
363
|
+
],
|
364
|
+
typesint: ["integer", "unsigned"].join("|"),
|
365
|
+
typesnum: ["data", "qstring", "string", "unicode", "utf8", "varstring", "varunicode"],
|
366
|
+
typesone: [
|
367
|
+
"ascii",
|
368
|
+
"big_endian",
|
369
|
+
"boolean",
|
370
|
+
"data",
|
371
|
+
"decimal",
|
372
|
+
"ebcdic",
|
373
|
+
"grouped",
|
374
|
+
"integer",
|
375
|
+
"linkcounted",
|
376
|
+
"pattern",
|
377
|
+
"qstring",
|
378
|
+
"real",
|
379
|
+
"record",
|
380
|
+
"rule",
|
381
|
+
"set of",
|
382
|
+
"streamed",
|
383
|
+
"string",
|
384
|
+
"token",
|
385
|
+
"udecimal",
|
386
|
+
"unicode",
|
387
|
+
"unsigned",
|
388
|
+
"utf8",
|
389
|
+
"varstring",
|
390
|
+
"varunicode"
|
391
|
+
].join("|"),
|
392
|
+
operators: ["+", "-", "/", ":=", "<", "<>", "=", ">", "\\", "and", "in", "not", "or"],
|
393
|
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
394
|
+
// escape sequences
|
395
|
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
396
|
+
// The main tokenizer for our languages
|
397
|
+
tokenizer: {
|
398
|
+
root: [
|
399
|
+
[/@typesint[4|8]/, "type"],
|
400
|
+
[/#(@pounds)/, "type"],
|
401
|
+
[/@typesone/, "type"],
|
402
|
+
[
|
403
|
+
/[a-zA-Z_$][\w-$]*/,
|
404
|
+
{
|
405
|
+
cases: {
|
406
|
+
"@functions": "keyword.function",
|
407
|
+
"@keywords": "keyword",
|
408
|
+
"@operators": "operator"
|
409
|
+
}
|
410
|
+
}
|
411
|
+
],
|
412
|
+
// whitespace
|
413
|
+
{ include: "@whitespace" },
|
414
|
+
[/[{}()\[\]]/, "@brackets"],
|
415
|
+
[/[<>](?!@symbols)/, "@brackets"],
|
416
|
+
[
|
417
|
+
/@symbols/,
|
418
|
+
{
|
419
|
+
cases: {
|
420
|
+
"@operators": "delimiter",
|
421
|
+
"@default": ""
|
422
|
+
}
|
423
|
+
}
|
424
|
+
],
|
425
|
+
// numbers
|
426
|
+
[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?/, "number.float"],
|
427
|
+
[/0[xX][0-9a-fA-F_]+/, "number.hex"],
|
428
|
+
[/0[bB][01]+/, "number.hex"],
|
429
|
+
// binary: use same theme style as hex
|
430
|
+
[/[0-9_]+/, "number"],
|
431
|
+
// delimiter: after number because of .\d floats
|
432
|
+
[/[;,.]/, "delimiter"],
|
433
|
+
// strings
|
434
|
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
435
|
+
[/"/, "string", "@string"],
|
436
|
+
// characters
|
437
|
+
[/'[^\\']'/, "string"],
|
438
|
+
[/(')(@escapes)(')/, ["string", "string.escape", "string"]],
|
439
|
+
[/'/, "string.invalid"]
|
440
|
+
],
|
441
|
+
whitespace: [
|
442
|
+
[/[ \t\v\f\r\n]+/, ""],
|
443
|
+
[/\/\*/, "comment", "@comment"],
|
444
|
+
[/\/\/.*$/, "comment"]
|
445
|
+
],
|
446
|
+
comment: [
|
447
|
+
[/[^\/*]+/, "comment"],
|
448
|
+
[/\*\//, "comment", "@pop"],
|
449
|
+
[/[\/*]/, "comment"]
|
450
|
+
],
|
451
|
+
string: [
|
452
|
+
[/[^\\']+/, "string"],
|
453
|
+
[/@escapes/, "string.escape"],
|
454
|
+
[/\\./, "string.escape.invalid"],
|
455
|
+
[/'/, "string", "@pop"]
|
456
|
+
]
|
457
|
+
}
|
458
|
+
};
|
459
|
+
export {
|
460
|
+
conf,
|
461
|
+
language
|
462
|
+
};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
* Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
|
4
|
+
* Released under the MIT license
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
|
+
*-----------------------------------------------------------------------------*/var conf={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}]},language={defaultToken:"",tokenPostfix:".ecl",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],pounds:["append","break","declare","demangle","end","for","getdatatype","if","inmodule","loop","mangle","onwarning","option","set","stored","uniquename"].join("|"),keywords:["__compressed__","after","all","and","any","as","atmost","before","beginc","best","between","case","cluster","compressed","compression","const","counter","csv","default","descend","embed","encoding","encrypt","end","endc","endembed","endmacro","enum","escape","except","exclusive","expire","export","extend","fail","few","fileposition","first","flat","forward","from","full","function","functionmacro","group","grouped","heading","hole","ifblock","import","in","inner","interface","internal","joined","keep","keyed","last","left","limit","linkcounted","literal","little_endian","load","local","locale","lookup","lzw","macro","many","maxcount","maxlength","min skew","module","mofn","multiple","named","namespace","nocase","noroot","noscan","nosort","not","noxpath","of","onfail","only","opt","or","outer","overwrite","packed","partition","penalty","physicallength","pipe","prefetch","quote","record","repeat","retry","return","right","right1","right2","rows","rowset","scan","scope","self","separator","service","shared","skew","skip","smart","soapaction","sql","stable","store","terminator","thor","threshold","timelimit","timeout","token","transform","trim","type","unicodeorder","unordered","unsorted","unstable","update","use","validate","virtual","whole","width","wild","within","wnotrim","xml","xpath"],functions:["abs","acos","aggregate","allnodes","apply","ascii","asin","assert","asstring","atan","atan2","ave","build","buildindex","case","catch","choose","choosen","choosesets","clustersize","combine","correlation","cos","cosh","count","covariance","cron","dataset","dedup","define","denormalize","dictionary","distribute","distributed","distribution","ebcdic","enth","error","evaluate","event","eventextra","eventname","exists","exp","fail","failcode","failmessage","fetch","fromunicode","fromxml","getenv","getisvalid","global","graph","group","hash","hash32","hash64","hashcrc","hashmd5","having","httpcall","httpheader","if","iff","index","intformat","isvalid","iterate","join","keydiff","keypatch","keyunicode","length","library","limit","ln","loadxml","local","log","loop","map","matched","matchlength","matchposition","matchtext","matchunicode","max","merge","mergejoin","min","nofold","nolocal","nonempty","normalize","nothor","notify","output","parallel","parse","pipe","power","preload","process","project","pull","random","range","rank","ranked","realformat","recordof","regexfind","regexreplace","regroup","rejected","rollup","round","roundup","row","rowdiff","sample","sequential","set","sin","sinh","sizeof","soapcall","sort","sorted","sqrt","stepped","stored","sum","table","tan","tanh","thisnode","topn","tounicode","toxml","transfer","transform","trim","truncate","typeof","ungroup","unicodeorder","variance","wait","which","workunit","xmldecode","xmlencode","xmltext","xmlunicode"],typesint:["integer","unsigned"].join("|"),typesnum:["data","qstring","string","unicode","utf8","varstring","varunicode"],typesone:["ascii","big_endian","boolean","data","decimal","ebcdic","grouped","integer","linkcounted","pattern","qstring","real","record","rule","set of","streamed","string","token","udecimal","unicode","unsigned","utf8","varstring","varunicode"].join("|"),operators:["+","-","/",":=","<","<>","=",">","\\","and","in","not","or"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/@typesint[4|8]/,"type"],[/#(@pounds)/,"type"],[/@typesone/,"type"],[/[a-zA-Z_$][\w-$]*/,{cases:{"@functions":"keyword.function","@keywords":"keyword","@operators":"operator"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]+/,"number.hex"],[/0[bB][01]+/,"number.hex"],[/[0-9_]+/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\v\f\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]]}};exports.conf=conf;exports.language=language;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
* Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
|
4
|
+
* Released under the MIT license
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
|
+
*-----------------------------------------------------------------------------*/var conf={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'"},{open:'"',close:'"'}],autoClosingPairs:[{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["comment"]},{open:'"""',close:'"""'},{open:"`",close:"`",notIn:["string","comment"]},{open:"(",close:")"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"<<",close:">>"}],indentationRules:{increaseIndentPattern:/^\s*(after|else|catch|rescue|fn|[^#]*(do|<\-|\->|\{|\[|\=))\s*$/,decreaseIndentPattern:/^\s*((\}|\])\s*$|(after|else|catch|rescue|end)\b)/}},language={defaultToken:"source",tokenPostfix:".elixir",brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"<<",close:">>",token:"delimiter.angle.special"}],declarationKeywords:["def","defp","defn","defnp","defguard","defguardp","defmacro","defmacrop","defdelegate","defcallback","defmacrocallback","defmodule","defprotocol","defexception","defimpl","defstruct"],operatorKeywords:["and","in","not","or","when"],namespaceKeywords:["alias","import","require","use"],otherKeywords:["after","case","catch","cond","do","else","end","fn","for","if","quote","raise","receive","rescue","super","throw","try","unless","unquote_splicing","unquote","with"],constants:["true","false","nil"],nameBuiltin:["__MODULE__","__DIR__","__ENV__","__CALLER__","__STACKTRACE__"],operator:/-[->]?|!={0,2}|\*{1,2}|\/|\\\\|&{1,3}|\.\.?|\^(?:\^\^)?|\+\+?|<(?:-|<<|=|>|\|>|~>?)?|=~|={1,3}|>(?:=|>>)?|\|~>|\|>|\|{1,3}|~>>?|~~~|::/,variableName:/[a-z_][a-zA-Z0-9_]*[?!]?/,atomName:/[a-zA-Z_][a-zA-Z0-9_@]*[?!]?|@specialAtomName|@operator/,specialAtomName:/\.\.\.|<<>>|%\{\}|%|\{\}/,aliasPart:/[A-Z][a-zA-Z0-9_]*/,moduleName:/@aliasPart(?:\.@aliasPart)*/,sigilSymmetricDelimiter:/"""|'''|"|'|\/|\|/,sigilStartDelimiter:/@sigilSymmetricDelimiter|<|\{|\[|\(/,sigilEndDelimiter:/@sigilSymmetricDelimiter|>|\}|\]|\)/,sigilModifiers:/[a-zA-Z0-9]*/,decimal:/\d(?:_?\d)*/,hex:/[0-9a-fA-F](_?[0-9a-fA-F])*/,octal:/[0-7](_?[0-7])*/,binary:/[01](_?[01])*/,escape:/\\u[0-9a-fA-F]{4}|\\x[0-9a-fA-F]{2}|\\./,tokenizer:{root:[{include:"@whitespace"},{include:"@comments"},{include:"@keywordsShorthand"},{include:"@numbers"},{include:"@identifiers"},{include:"@strings"},{include:"@atoms"},{include:"@sigils"},{include:"@attributes"},{include:"@symbols"}],whitespace:[[/\s+/,"white"]],comments:[[/(#)(.*)/,["comment.punctuation","comment"]]],keywordsShorthand:[[/(@atomName)(:)(\s+)/,["constant","constant.punctuation","white"]],[/"(?=([^"]|#\{.*?\}|\\")*":)/,{token:"constant.delimiter",next:"@doubleQuotedStringKeyword"}],[/'(?=([^']|#\{.*?\}|\\')*':)/,{token:"constant.delimiter",next:"@singleQuotedStringKeyword"}]],doubleQuotedStringKeyword:[[/":/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],singleQuotedStringKeyword:[[/':/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],numbers:[[/0b@binary/,"number.binary"],[/0o@octal/,"number.octal"],[/0x@hex/,"number.hex"],[/@decimal\.@decimal([eE]-?@decimal)?/,"number.float"],[/@decimal/,"number"]],identifiers:[[/\b(defp?|defnp?|defmacrop?|defguardp?|defdelegate)(\s+)(@variableName)(?!\s+@operator)/,["keyword.declaration","white",{cases:{unquote:"keyword","@default":"function"}}]],[/(@variableName)(?=\s*\.?\s*\()/,{cases:{"@declarationKeywords":"keyword.declaration","@namespaceKeywords":"keyword","@otherKeywords":"keyword","@default":"function.call"}}],[/(@moduleName)(\s*)(\.)(\s*)(@variableName)/,["type.identifier","white","operator","white","function.call"]],[/(:)(@atomName)(\s*)(\.)(\s*)(@variableName)/,["constant.punctuation","constant","white","operator","white","function.call"]],[/(\|>)(\s*)(@variableName)/,["operator","white",{cases:{"@otherKeywords":"keyword","@default":"function.call"}}]],[/(&)(\s*)(@variableName)/,["operator","white","function.call"]],[/@variableName/,{cases:{"@declarationKeywords":"keyword.declaration","@operatorKeywords":"keyword.operator","@namespaceKeywords":"keyword","@otherKeywords":"keyword","@constants":"constant.language","@nameBuiltin":"variable.language","_.*":"comment.unused","@default":"identifier"}}],[/@moduleName/,"type.identifier"]],strings:[[/"""/,{token:"string.delimiter",next:"@doubleQuotedHeredoc"}],[/'''/,{token:"string.delimiter",next:"@singleQuotedHeredoc"}],[/"/,{token:"string.delimiter",next:"@doubleQuotedString"}],[/'/,{token:"string.delimiter",next:"@singleQuotedString"}]],doubleQuotedHeredoc:[[/"""/,{token:"string.delimiter",next:"@pop"}],{include:"@stringContentInterpol"}],singleQuotedHeredoc:[[/'''/,{token:"string.delimiter",next:"@pop"}],{include:"@stringContentInterpol"}],doubleQuotedString:[[/"/,{token:"string.delimiter",next:"@pop"}],{include:"@stringContentInterpol"}],singleQuotedString:[[/'/,{token:"string.delimiter",next:"@pop"}],{include:"@stringContentInterpol"}],atoms:[[/(:)(@atomName)/,["constant.punctuation","constant"]],[/:"/,{token:"constant.delimiter",next:"@doubleQuotedStringAtom"}],[/:'/,{token:"constant.delimiter",next:"@singleQuotedStringAtom"}]],doubleQuotedStringAtom:[[/"/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],singleQuotedStringAtom:[[/'/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],sigils:[[/~[a-z]@sigilStartDelimiter/,{token:"@rematch",next:"@sigil.interpol"}],[/~([A-Z]+)@sigilStartDelimiter/,{token:"@rematch",next:"@sigil.noInterpol"}]],sigil:[[/~([a-z]|[A-Z]+)\{/,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.{.}"}],[/~([a-z]|[A-Z]+)\[/,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.[.]"}],[/~([a-z]|[A-Z]+)\(/,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.(.)"}],[/~([a-z]|[A-Z]+)\</,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.<.>"}],[/~([a-z]|[A-Z]+)(@sigilSymmetricDelimiter)/,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.$2.$2"}]],"sigilStart.interpol.s":[[/~s@sigilStartDelimiter/,{token:"string.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.interpol.s":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"string.delimiter",next:"@pop"},"@default":"string"}}],{include:"@stringContentInterpol"}],"sigilStart.noInterpol.S":[[/~S@sigilStartDelimiter/,{token:"string.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.noInterpol.S":[[/(^|[^\\])\\@sigilEndDelimiter/,"string"],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"string.delimiter",next:"@pop"},"@default":"string"}}],{include:"@stringContent"}],"sigilStart.interpol.r":[[/~r@sigilStartDelimiter/,{token:"regexp.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.interpol.r":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"regexp.delimiter",next:"@pop"},"@default":"regexp"}}],{include:"@regexpContentInterpol"}],"sigilStart.noInterpol.R":[[/~R@sigilStartDelimiter/,{token:"regexp.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.noInterpol.R":[[/(^|[^\\])\\@sigilEndDelimiter/,"regexp"],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"regexp.delimiter",next:"@pop"},"@default":"regexp"}}],{include:"@regexpContent"}],"sigilStart.interpol":[[/~([a-z]|[A-Z]+)@sigilStartDelimiter/,{token:"sigil.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.interpol":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"sigil.delimiter",next:"@pop"},"@default":"sigil"}}],{include:"@sigilContentInterpol"}],"sigilStart.noInterpol":[[/~([a-z]|[A-Z]+)@sigilStartDelimiter/,{token:"sigil.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.noInterpol":[[/(^|[^\\])\\@sigilEndDelimiter/,"sigil"],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"sigil.delimiter",next:"@pop"},"@default":"sigil"}}],{include:"@sigilContent"}],attributes:[[/\@(module|type)?doc (~[sS])?"""/,{token:"comment.block.documentation",next:"@doubleQuotedHeredocDocstring"}],[/\@(module|type)?doc (~[sS])?'''/,{token:"comment.block.documentation",next:"@singleQuotedHeredocDocstring"}],[/\@(module|type)?doc (~[sS])?"/,{token:"comment.block.documentation",next:"@doubleQuotedStringDocstring"}],[/\@(module|type)?doc (~[sS])?'/,{token:"comment.block.documentation",next:"@singleQuotedStringDocstring"}],[/\@(module|type)?doc false/,"comment.block.documentation"],[/\@(@variableName)/,"variable"]],doubleQuotedHeredocDocstring:[[/"""/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringContent"}],singleQuotedHeredocDocstring:[[/'''/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringContent"}],doubleQuotedStringDocstring:[[/"/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringContent"}],singleQuotedStringDocstring:[[/'/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringContent"}],symbols:[[/\?(\\.|[^\\\s])/,"number.constant"],[/&\d+/,"operator"],[/<<<|>>>/,"operator"],[/[()\[\]\{\}]|<<|>>/,"@brackets"],[/\.\.\./,"identifier"],[/=>/,"punctuation"],[/@operator/,"operator"],[/[:;,.%]/,"punctuation"]],stringContentInterpol:[{include:"@interpolation"},{include:"@escapeChar"},{include:"@stringContent"}],stringContent:[[/./,"string"]],stringConstantContentInterpol:[{include:"@interpolation"},{include:"@escapeChar"},{include:"@stringConstantContent"}],stringConstantContent:[[/./,"constant"]],regexpContentInterpol:[{include:"@interpolation"},{include:"@escapeChar"},{include:"@regexpContent"}],regexpContent:[[/(\s)(#)(\s.*)$/,["white","comment.punctuation","comment"]],[/./,"regexp"]],sigilContentInterpol:[{include:"@interpolation"},{include:"@escapeChar"},{include:"@sigilContent"}],sigilContent:[[/./,"sigil"]],docstringContent:[[/./,"comment.block.documentation"]],escapeChar:[[/@escape/,"constant.character.escape"]],interpolation:[[/#{/,{token:"delimiter.bracket.embed",next:"@interpolationContinue"}]],interpolationContinue:[[/}/,{token:"delimiter.bracket.embed",next:"@pop"}],{include:"@root"}]}};exports.conf=conf;exports.language=language;
|