@marimo-team/islands 0.13.5-dev2 → 0.13.5-dev20
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/dist/{ConnectedDataExplorerComponent-C_AzdirZ.js → ConnectedDataExplorerComponent-DOEmJILw.js} +214 -214
- package/dist/{VegaLite-pu8JBu4X.js → VegaLite-Bi7Iwuks.js} +3 -3
- package/dist/{_baseUniq-CiTkPi5t.js → _baseUniq-CRulE2V-.js} +73 -73
- package/dist/any-language-editor-BnDhBHlW.js +45 -0
- package/dist/{architectureDiagram-IEHRJDOE-VmqfI6q1.js → architectureDiagram-IEHRJDOE-Db0q4tkp.js} +5 -5
- package/dist/{blockDiagram-JOT3LUYC-DKRBzPp1.js → blockDiagram-JOT3LUYC-BbaEONDd.js} +4 -4
- package/dist/{c4Diagram-VJAJSXHY-CEf7pRqy.js → c4Diagram-VJAJSXHY-DCAO771w.js} +2 -2
- package/dist/{channel-Bs-jlEYP.js → channel-C62j0-3G.js} +1 -1
- package/dist/{chunk-4BMEZGHF-JrnJLS3V.js → chunk-4BMEZGHF-Czsu8p_r.js} +1 -1
- package/dist/{chunk-A2AXSNBT-DumX03uO.js → chunk-A2AXSNBT-CnhUHlfN.js} +2 -2
- package/dist/{chunk-AEK57VVT-DQSlcvL4.js → chunk-AEK57VVT-CtO9BJeR.js} +2 -2
- package/dist/{chunk-D6G4REZN-BMURf-_-.js → chunk-D6G4REZN-BczCccsr.js} +1 -1
- package/dist/{chunk-RZ5BOZE2-CvR5OB8q.js → chunk-RZ5BOZE2-Ty3QgxRI.js} +1 -1
- package/dist/{chunk-XZIHB7SX-BV-SFg0C.js → chunk-XZIHB7SX-DuUkPJ99.js} +1 -1
- package/dist/{classDiagram-GIVACNV2-C43vmBPZ.js → classDiagram-GIVACNV2-DOGUy40_.js} +2 -2
- package/dist/{classDiagram-v2-COTLJTTW-C43vmBPZ.js → classDiagram-v2-COTLJTTW-DOGUy40_.js} +2 -2
- package/dist/{clone-CwdpbFLz.js → clone-BpAdDx0e.js} +1 -1
- package/dist/{dagre-OKDRZEBW-D8ZQV0Yi.js → dagre-OKDRZEBW-ncYF_jRJ.js} +6 -6
- package/dist/{data-editor-BNdfVz1v.js → data-editor-CDGfT0Ag.js} +1 -1
- package/dist/{diagram-SSKATNLV-Cv-GB8oR.js → diagram-SSKATNLV-vfJAhozB.js} +3 -3
- package/dist/{diagram-VNBRO52H-CBodmMdZ.js → diagram-VNBRO52H-CXALb0YJ.js} +3 -3
- package/dist/{erDiagram-Q7BY3M3F-BIX9Idxi.js → erDiagram-Q7BY3M3F-CofieFzl.js} +3 -3
- package/dist/{flowDiagram-4HSFHLVR-BUjSGNM7.js → flowDiagram-4HSFHLVR-DoRETZGr.js} +3 -3
- package/dist/{ganttDiagram-APWFNJXF-CaTNlNSB.js → ganttDiagram-APWFNJXF-DTb2GL3c.js} +23 -23
- package/dist/{gitGraphDiagram-7IBYFJ6S-CfCha8AW.js → gitGraphDiagram-7IBYFJ6S-B9u9lKa1.js} +4 -4
- package/dist/{graph-Be0UTFo9.js → graph-DZeV_PmP.js} +6 -6
- package/dist/{index-BeXnBqQE.js → index-B2z4T-uo.js} +3 -3
- package/dist/{index-L0oNsrk-.js → index-C_alj-BG.js} +21 -21
- package/dist/{index-BIp0EfDP.js → index-IUF61ge7.js} +1 -1
- package/dist/{index-Csq00T7J.js → index-tH4SrZXA.js} +1 -1
- package/dist/{infoDiagram-PH2N3AL5-ba3OBUZs.js → infoDiagram-PH2N3AL5-DJjfqCfO.js} +2 -2
- package/dist/{journeyDiagram-U35MCT3I-B4fxHacA.js → journeyDiagram-U35MCT3I-DwLkJG-f.js} +2 -2
- package/dist/{kanban-definition-NDS4AKOZ-DU4wIeIu.js → kanban-definition-NDS4AKOZ-n7FvGy0o.js} +1 -1
- package/dist/{layout-DOmPlfe3.js → layout-DU8_qM0P.js} +48 -48
- package/dist/{linear-DXm1WsmB.js → linear-A4R3dgx8.js} +75 -75
- package/dist/{main-BCsFolTh.js → main-CbgQoKOv.js} +72966 -55108
- package/dist/main.js +2 -2
- package/dist/{mermaid-DzPF7Ftb.js → mermaid-Bk_55X58.js} +28 -28
- package/dist/{min-edngn0Vc.js → min-BCpSZuLU.js} +23 -23
- package/dist/{mindmap-definition-ALO5MXBD-VOzxFY0A.js → mindmap-definition-ALO5MXBD-BFOOtzRp.js} +2 -2
- package/dist/{pieDiagram-IB7DONF6-TYhX-esp.js → pieDiagram-IB7DONF6-CkWbzUYC.js} +3 -3
- package/dist/{quadrantDiagram-7GDLP6J5-BuATYRdo.js → quadrantDiagram-7GDLP6J5-Bm8LGZsH.js} +2 -2
- package/dist/{radar-MK3ICKWK-P-5owg0L.js → radar-MK3ICKWK-BhGxpPEW.js} +5 -5
- package/dist/{react-plotly-YxAEIAwv.js → react-plotly-Dc7sTjOi.js} +1 -1
- package/dist/{requirementDiagram-KVF5MWMF-CRVSWoKx.js → requirementDiagram-KVF5MWMF-VYomROsQ.js} +2 -2
- package/dist/{sankeyDiagram-QLVOVGJD-BqPhT1F6.js → sankeyDiagram-QLVOVGJD-Dog6Cao1.js} +1 -1
- package/dist/{sequenceDiagram-X6HHIX6F-D3WXS_BE.js → sequenceDiagram-X6HHIX6F-BlK6Gbmq.js} +3 -3
- package/dist/{slides-component-CjjgisO8.js → slides-component-CZXNSfqh.js} +25 -25
- package/dist/{stateDiagram-DGXRK772-ByTInct0.js → stateDiagram-DGXRK772-Dsi59l9w.js} +4 -4
- package/dist/{stateDiagram-v2-YXO3MK2T-omH8pF_c.js → stateDiagram-v2-YXO3MK2T-FJK5U5YO.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{time-C8Vnun19.js → time-1tQSXwvY.js} +2 -2
- package/dist/{timeline-definition-BDJGKUSR-exRCLAbN.js → timeline-definition-BDJGKUSR-D5aLDoS-.js} +1 -1
- package/dist/{vega-component-LGQWoos7.js → vega-component-GBnHIS8i.js} +22 -22
- package/dist/{xychartDiagram-VJFVF3MP-NkfBq2mX.js → xychartDiagram-VJFVF3MP-hrlN4bis.js} +2 -2
- package/package.json +1 -1
- package/dist/any-language-editor-NCI9Qt-4.js +0 -2304
- package/dist/apl-B2DGVGxc.js +0 -76
- package/dist/asciiarmor-2LVJmxlE.js +0 -34
- package/dist/asterisk-DS281yxp.js +0 -271
- package/dist/brainfuck-C_p9pTT8.js +0 -34
- package/dist/clike-BUuHEmgZ.js +0 -620
- package/dist/cmake-CuaCgAKt.js +0 -28
- package/dist/cobol-BlTKFDRj.js +0 -72
- package/dist/coffeescript-BVCvwO8I.js +0 -179
- package/dist/commonlisp-D_kxz07b.js +0 -75
- package/dist/crystal-D309uH6_.js +0 -217
- package/dist/cypher-BMq4Fwjl.js +0 -68
- package/dist/d-BZcgY6La.js +0 -127
- package/dist/diff-Cg9d_RX2.js +0 -18
- package/dist/dockerfile-DIy8NleC.js +0 -194
- package/dist/dtd-CtLokQ-U.js +0 -84
- package/dist/dylan-QYeExnWK.js +0 -234
- package/dist/ebnf-DUPDuY4r.js +0 -78
- package/dist/ecl-CiXN-g_D.js +0 -121
- package/dist/eiffel-yQhjl4T1.js +0 -110
- package/dist/elm-CNT9vbN0.js +0 -108
- package/dist/erlang-CFOYdy9e.js +0 -487
- package/dist/factor-DDOC7X6P.js +0 -65
- package/dist/fcl-CPC2WYrI.js +0 -103
- package/dist/forth-BmxRyE9S.js +0 -60
- package/dist/fortran-9bvPyrOW.js +0 -442
- package/dist/gas-BdfkXJT_.js +0 -183
- package/dist/gherkin-CJuwpceU.js +0 -34
- package/dist/groovy-DZeT_VM-.js +0 -146
- package/dist/haskell-Bvt3Qq1t.js +0 -375
- package/dist/haxe-70NVW1pR.js +0 -359
- package/dist/http-D9LttvKF.js +0 -44
- package/dist/idl-B6TRFYjl.js +0 -947
- package/dist/index--31WSwGb.js +0 -97
- package/dist/index-AjKzuF8_.js +0 -68
- package/dist/index-BWGajeuh.js +0 -243
- package/dist/index-B_SFxcxO.js +0 -298
- package/dist/index-C7z-XoP1.js +0 -133
- package/dist/index-CCMSeZHZ.js +0 -271
- package/dist/index-CaOkFrfa.js +0 -57
- package/dist/index-D0LVf8Wa.js +0 -155
- package/dist/index-D7sXoVUZ.js +0 -74
- package/dist/index-D9crr7pQ.js +0 -92
- package/dist/index-DdLQGR2Z.js +0 -134
- package/dist/index-DsX4RoD3.js +0 -264
- package/dist/jinja2-DnB6dQmV.js +0 -154
- package/dist/julia-DpvXAuO6.js +0 -241
- package/dist/livescript-CanGTf8u.js +0 -272
- package/dist/lua-XplVlWi_.js +0 -217
- package/dist/mathematica-jaRHnSxC.js +0 -35
- package/dist/mbox-BctzC1hL.js +0 -76
- package/dist/mirc-CFBPAOaF.js +0 -72
- package/dist/modelica-vUgVs--1.js +0 -93
- package/dist/mscgen-Cpl0NYLN.js +0 -104
- package/dist/mumps-CQoS1kWX.js +0 -25
- package/dist/nginx-zDPm3Z74.js +0 -89
- package/dist/nsis-fePjrhq7.js +0 -62
- package/dist/ntriples-CsNjv2QF.js +0 -79
- package/dist/octave-C8PmmSRH.js +0 -143
- package/dist/oz-Ce8aN8oE.js +0 -151
- package/dist/pascal-De0D6mP7.js +0 -77
- package/dist/perl-B4bSCe1C.js +0 -915
- package/dist/pig-D24Z8EXi.js +0 -54
- package/dist/powershell-DkYVfTzP.js +0 -249
- package/dist/properties-Dn9wna3M.js +0 -26
- package/dist/protobuf-BPIjwpzm.js +0 -49
- package/dist/puppet-nyd4dhjf.js +0 -45
- package/dist/q-DXjKs-tC.js +0 -83
- package/dist/r-LKEuhEGI.js +0 -104
- package/dist/ruby-CcYfvIk6.js +0 -228
- package/dist/sas-7E8yHoCW.js +0 -105
- package/dist/scheme-DjibxsNh.js +0 -124
- package/dist/shell-C0C2sNA_.js +0 -182
- package/dist/sieve-Bwz7vjP5.js +0 -72
- package/dist/simple-mode-B0dvCdAA.js +0 -89
- package/dist/smalltalk-Bhddl2pB.js +0 -48
- package/dist/solr-BNlsLglM.js +0 -41
- package/dist/sparql-FarWu_Gb.js +0 -197
- package/dist/spreadsheet-C-cy4P5N.js +0 -49
- package/dist/stylus-CAdqWld3.js +0 -250
- package/dist/swift-DSxqR9R6.js +0 -230
- package/dist/tcl-xfoLljhY.js +0 -81
- package/dist/textile-D1AWE-pc.js +0 -295
- package/dist/tiddlywiki-5wqsXtSk.js +0 -155
- package/dist/tiki-__Kn3CeS.js +0 -181
- package/dist/toml-BHiuTcfn.js +0 -49
- package/dist/troff-D2UO-fKf.js +0 -35
- package/dist/ttcn-Bsa4sfRm.js +0 -123
- package/dist/turtle-xwJUxoPV.js +0 -80
- package/dist/vb-c2kQGd6-.js +0 -74
- package/dist/vbscript-Dz1TtKsy.js +0 -324
- package/dist/velocity-DJd0pTTC.js +0 -96
- package/dist/verilog-C4VGD9n1.js +0 -263
- package/dist/vhdl-T9HkrbI2.js +0 -106
- package/dist/webidl-CjfDENEo.js +0 -155
- package/dist/xquery-BUQdORAS.js +0 -422
- package/dist/yacas-C0absKBh.js +0 -73
- package/dist/z80-C8rPtw-0.js +0 -61
package/dist/troff-D2UO-fKf.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
var h = {};
|
|
2
|
-
function u(n) {
|
|
3
|
-
if (n.eatSpace()) return null;
|
|
4
|
-
var t = n.sol(), c = n.next();
|
|
5
|
-
if (c === "\\")
|
|
6
|
-
return n.match("fB") || n.match("fR") || n.match("fI") || n.match("u") || n.match("d") || n.match("%") || n.match("&") ? "string" : n.match("m[") ? (n.skipTo("]"), n.next(), "string") : n.match("s+") || n.match("s-") ? (n.eatWhile(/[\d-]/), "string") : ((n.match("(") || n.match("*(")) && n.eatWhile(/[\w-]/), "string");
|
|
7
|
-
if (t && (c === "." || c === "'") && n.eat("\\") && n.eat('"'))
|
|
8
|
-
return n.skipToEnd(), "comment";
|
|
9
|
-
if (t && c === ".") {
|
|
10
|
-
if (n.match("B ") || n.match("I ") || n.match("R "))
|
|
11
|
-
return "attribute";
|
|
12
|
-
if (n.match("TH ") || n.match("SH ") || n.match("SS ") || n.match("HP "))
|
|
13
|
-
return n.skipToEnd(), "quote";
|
|
14
|
-
if (n.match(/[A-Z]/) && n.match(/[A-Z]/) || n.match(/[a-z]/) && n.match(/[a-z]/))
|
|
15
|
-
return "attribute";
|
|
16
|
-
}
|
|
17
|
-
n.eatWhile(/[\w-]/);
|
|
18
|
-
var i = n.current();
|
|
19
|
-
return h.hasOwnProperty(i) ? h[i] : null;
|
|
20
|
-
}
|
|
21
|
-
function f(n, t) {
|
|
22
|
-
return (t.tokens[0] || u)(n, t);
|
|
23
|
-
}
|
|
24
|
-
const o = {
|
|
25
|
-
name: "troff",
|
|
26
|
-
startState: function() {
|
|
27
|
-
return { tokens: [] };
|
|
28
|
-
},
|
|
29
|
-
token: function(n, t) {
|
|
30
|
-
return f(n, t);
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
export {
|
|
34
|
-
o as troff
|
|
35
|
-
};
|
package/dist/ttcn-Bsa4sfRm.js
DELETED
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
function o(e) {
|
|
2
|
-
for (var t = {}, n = e.split(" "), r = 0; r < n.length; ++r) t[n[r]] = !0;
|
|
3
|
-
return t;
|
|
4
|
-
}
|
|
5
|
-
const i = {
|
|
6
|
-
keywords: o("activate address alive all alt altstep and and4b any break case component const continue control deactivate display do else encode enumerated except exception execute extends extension external for from function goto group if import in infinity inout interleave label language length log match message mixed mod modifies module modulepar mtc noblock not not4b nowait of on optional or or4b out override param pattern port procedure record recursive rem repeat return runs select self sender set signature system template testcase to type union value valueof var variant while with xor xor4b"),
|
|
7
|
-
builtin: o("bit2hex bit2int bit2oct bit2str char2int char2oct encvalue decomp decvalue float2int float2str hex2bit hex2int hex2oct hex2str int2bit int2char int2float int2hex int2oct int2str int2unichar isbound ischosen ispresent isvalue lengthof log2str oct2bit oct2char oct2hex oct2int oct2str regexp replace rnd sizeof str2bit str2float str2hex str2int str2oct substr unichar2int unichar2char enum2int"),
|
|
8
|
-
types: o("anytype bitstring boolean char charstring default float hexstring integer objid octetstring universal verdicttype timer"),
|
|
9
|
-
timerOps: o("read running start stop timeout"),
|
|
10
|
-
portOps: o("call catch check clear getcall getreply halt raise receive reply send trigger"),
|
|
11
|
-
configOps: o("create connect disconnect done kill killed map unmap"),
|
|
12
|
-
verdictOps: o("getverdict setverdict"),
|
|
13
|
-
sutOps: o("action"),
|
|
14
|
-
functionOps: o("apply derefers refers"),
|
|
15
|
-
verdictConsts: o("error fail inconc none pass"),
|
|
16
|
-
booleanConsts: o("true false"),
|
|
17
|
-
otherConsts: o("null NULL omit"),
|
|
18
|
-
visibilityModifiers: o("private public friend"),
|
|
19
|
-
templateMatch: o("complement ifpresent subset superset permutation")
|
|
20
|
-
};
|
|
21
|
-
var h = [];
|
|
22
|
-
function p(e) {
|
|
23
|
-
if (e) for (var t in e) e.hasOwnProperty(t) && h.push(t);
|
|
24
|
-
}
|
|
25
|
-
p(i.keywords);
|
|
26
|
-
p(i.builtin);
|
|
27
|
-
p(i.timerOps);
|
|
28
|
-
p(i.portOps);
|
|
29
|
-
var y = i.keywords || {}, v = i.builtin || {}, x = i.timerOps || {}, g = i.portOps || {}, k = i.configOps || {}, O = i.verdictOps || {}, w = i.sutOps || {}, E = i.functionOps || {}, C = i.verdictConsts || {}, I = i.booleanConsts || {}, z = i.otherConsts || {}, L = i.types || {}, M = i.visibilityModifiers || {}, S = i.templateMatch || {}, W = i.indentStatements !== !1, d = /[+\-*&@=<>!\/]/, l;
|
|
30
|
-
function T(e, t) {
|
|
31
|
-
var n = e.next();
|
|
32
|
-
if (n == '"' || n == "'")
|
|
33
|
-
return t.tokenize = N(n), t.tokenize(e, t);
|
|
34
|
-
if (/[\[\]{}\(\),;\\:\?\.]/.test(n))
|
|
35
|
-
return l = n, "punctuation";
|
|
36
|
-
if (n == "#")
|
|
37
|
-
return e.skipToEnd(), "atom";
|
|
38
|
-
if (n == "%")
|
|
39
|
-
return e.eatWhile(/\b/), "atom";
|
|
40
|
-
if (/\d/.test(n))
|
|
41
|
-
return e.eatWhile(/[\w\.]/), "number";
|
|
42
|
-
if (n == "/") {
|
|
43
|
-
if (e.eat("*"))
|
|
44
|
-
return t.tokenize = m, m(e, t);
|
|
45
|
-
if (e.eat("/"))
|
|
46
|
-
return e.skipToEnd(), "comment";
|
|
47
|
-
}
|
|
48
|
-
if (d.test(n))
|
|
49
|
-
return n == "@" && (e.match("try") || e.match("catch") || e.match("lazy")) ? "keyword" : (e.eatWhile(d), "operator");
|
|
50
|
-
e.eatWhile(/[\w\$_\xa1-\uffff]/);
|
|
51
|
-
var r = e.current();
|
|
52
|
-
return y.propertyIsEnumerable(r) ? "keyword" : v.propertyIsEnumerable(r) ? "builtin" : x.propertyIsEnumerable(r) || k.propertyIsEnumerable(r) || O.propertyIsEnumerable(r) || g.propertyIsEnumerable(r) || w.propertyIsEnumerable(r) || E.propertyIsEnumerable(r) ? "def" : C.propertyIsEnumerable(r) || I.propertyIsEnumerable(r) || z.propertyIsEnumerable(r) ? "string" : L.propertyIsEnumerable(r) ? "typeName.standard" : M.propertyIsEnumerable(r) ? "modifier" : S.propertyIsEnumerable(r) ? "atom" : "variable";
|
|
53
|
-
}
|
|
54
|
-
function N(e) {
|
|
55
|
-
return function(t, n) {
|
|
56
|
-
for (var r = !1, c, f = !1; (c = t.next()) != null; ) {
|
|
57
|
-
if (c == e && !r) {
|
|
58
|
-
var s = t.peek();
|
|
59
|
-
s && (s = s.toLowerCase(), (s == "b" || s == "h" || s == "o") && t.next()), f = !0;
|
|
60
|
-
break;
|
|
61
|
-
}
|
|
62
|
-
r = !r && c == "\\";
|
|
63
|
-
}
|
|
64
|
-
return f && (n.tokenize = null), "string";
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
function m(e, t) {
|
|
68
|
-
for (var n = !1, r; r = e.next(); ) {
|
|
69
|
-
if (r == "/" && n) {
|
|
70
|
-
t.tokenize = null;
|
|
71
|
-
break;
|
|
72
|
-
}
|
|
73
|
-
n = r == "*";
|
|
74
|
-
}
|
|
75
|
-
return "comment";
|
|
76
|
-
}
|
|
77
|
-
function b(e, t, n, r, c) {
|
|
78
|
-
this.indented = e, this.column = t, this.type = n, this.align = r, this.prev = c;
|
|
79
|
-
}
|
|
80
|
-
function a(e, t, n) {
|
|
81
|
-
var r = e.indented;
|
|
82
|
-
return e.context && e.context.type == "statement" && (r = e.context.indented), e.context = new b(r, t, n, null, e.context);
|
|
83
|
-
}
|
|
84
|
-
function u(e) {
|
|
85
|
-
var t = e.context.type;
|
|
86
|
-
return (t == ")" || t == "]" || t == "}") && (e.indented = e.context.indented), e.context = e.context.prev;
|
|
87
|
-
}
|
|
88
|
-
const P = {
|
|
89
|
-
name: "ttcn",
|
|
90
|
-
startState: function() {
|
|
91
|
-
return {
|
|
92
|
-
tokenize: null,
|
|
93
|
-
context: new b(0, 0, "top", !1),
|
|
94
|
-
indented: 0,
|
|
95
|
-
startOfLine: !0
|
|
96
|
-
};
|
|
97
|
-
},
|
|
98
|
-
token: function(e, t) {
|
|
99
|
-
var n = t.context;
|
|
100
|
-
if (e.sol() && (n.align == null && (n.align = !1), t.indented = e.indentation(), t.startOfLine = !0), e.eatSpace()) return null;
|
|
101
|
-
l = null;
|
|
102
|
-
var r = (t.tokenize || T)(e, t);
|
|
103
|
-
if (r == "comment") return r;
|
|
104
|
-
if (n.align == null && (n.align = !0), (l == ";" || l == ":" || l == ",") && n.type == "statement")
|
|
105
|
-
u(t);
|
|
106
|
-
else if (l == "{") a(t, e.column(), "}");
|
|
107
|
-
else if (l == "[") a(t, e.column(), "]");
|
|
108
|
-
else if (l == "(") a(t, e.column(), ")");
|
|
109
|
-
else if (l == "}") {
|
|
110
|
-
for (; n.type == "statement"; ) n = u(t);
|
|
111
|
-
for (n.type == "}" && (n = u(t)); n.type == "statement"; ) n = u(t);
|
|
112
|
-
} else l == n.type ? u(t) : W && ((n.type == "}" || n.type == "top") && l != ";" || n.type == "statement" && l == "newstatement") && a(t, e.column(), "statement");
|
|
113
|
-
return t.startOfLine = !1, r;
|
|
114
|
-
},
|
|
115
|
-
languageData: {
|
|
116
|
-
indentOnInput: /^\s*[{}]$/,
|
|
117
|
-
commentTokens: { line: "//", block: { open: "/*", close: "*/" } },
|
|
118
|
-
autocomplete: h
|
|
119
|
-
}
|
|
120
|
-
};
|
|
121
|
-
export {
|
|
122
|
-
P as ttcn
|
|
123
|
-
};
|
package/dist/turtle-xwJUxoPV.js
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
var r;
|
|
2
|
-
function p(e) {
|
|
3
|
-
return new RegExp("^(?:" + e.join("|") + ")$", "i");
|
|
4
|
-
}
|
|
5
|
-
p([]);
|
|
6
|
-
var d = p(["@prefix", "@base", "a"]), f = /[*+\-<>=&|]/;
|
|
7
|
-
function x(e, n) {
|
|
8
|
-
var t = e.next();
|
|
9
|
-
if (r = null, t == "<" && !e.match(/^[\s\u00a0=]/, !1))
|
|
10
|
-
return e.match(/^[^\s\u00a0>]*>?/), "atom";
|
|
11
|
-
if (t == '"' || t == "'")
|
|
12
|
-
return n.tokenize = v(t), n.tokenize(e, n);
|
|
13
|
-
if (/[{}\(\),\.;\[\]]/.test(t))
|
|
14
|
-
return r = t, null;
|
|
15
|
-
if (t == "#")
|
|
16
|
-
return e.skipToEnd(), "comment";
|
|
17
|
-
if (f.test(t))
|
|
18
|
-
return e.eatWhile(f), null;
|
|
19
|
-
if (t == ":")
|
|
20
|
-
return "operator";
|
|
21
|
-
if (e.eatWhile(/[_\w\d]/), e.peek() == ":")
|
|
22
|
-
return "variableName.special";
|
|
23
|
-
var i = e.current();
|
|
24
|
-
return d.test(i) ? "meta" : t >= "A" && t <= "Z" ? "comment" : "keyword";
|
|
25
|
-
var i = e.current();
|
|
26
|
-
}
|
|
27
|
-
function v(e) {
|
|
28
|
-
return function(n, t) {
|
|
29
|
-
for (var i = !1, o; (o = n.next()) != null; ) {
|
|
30
|
-
if (o == e && !i) {
|
|
31
|
-
t.tokenize = x;
|
|
32
|
-
break;
|
|
33
|
-
}
|
|
34
|
-
i = !i && o == "\\";
|
|
35
|
-
}
|
|
36
|
-
return "string";
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function l(e, n, t) {
|
|
40
|
-
e.context = { prev: e.context, indent: e.indent, col: t, type: n };
|
|
41
|
-
}
|
|
42
|
-
function c(e) {
|
|
43
|
-
e.indent = e.context.indent, e.context = e.context.prev;
|
|
44
|
-
}
|
|
45
|
-
const g = {
|
|
46
|
-
name: "turtle",
|
|
47
|
-
startState: function() {
|
|
48
|
-
return {
|
|
49
|
-
tokenize: x,
|
|
50
|
-
context: null,
|
|
51
|
-
indent: 0,
|
|
52
|
-
col: 0
|
|
53
|
-
};
|
|
54
|
-
},
|
|
55
|
-
token: function(e, n) {
|
|
56
|
-
if (e.sol() && (n.context && n.context.align == null && (n.context.align = !1), n.indent = e.indentation()), e.eatSpace()) return null;
|
|
57
|
-
var t = n.tokenize(e, n);
|
|
58
|
-
if (t != "comment" && n.context && n.context.align == null && n.context.type != "pattern" && (n.context.align = !0), r == "(") l(n, ")", e.column());
|
|
59
|
-
else if (r == "[") l(n, "]", e.column());
|
|
60
|
-
else if (r == "{") l(n, "}", e.column());
|
|
61
|
-
else if (/[\]\}\)]/.test(r)) {
|
|
62
|
-
for (; n.context && n.context.type == "pattern"; ) c(n);
|
|
63
|
-
n.context && r == n.context.type && c(n);
|
|
64
|
-
} else r == "." && n.context && n.context.type == "pattern" ? c(n) : /atom|string|variable/.test(t) && n.context && (/[\}\]]/.test(n.context.type) ? l(n, "pattern", e.column()) : n.context.type == "pattern" && !n.context.align && (n.context.align = !0, n.context.col = e.column()));
|
|
65
|
-
return t;
|
|
66
|
-
},
|
|
67
|
-
indent: function(e, n, t) {
|
|
68
|
-
var i = n && n.charAt(0), o = e.context;
|
|
69
|
-
if (/[\]\}]/.test(i))
|
|
70
|
-
for (; o && o.type == "pattern"; ) o = o.prev;
|
|
71
|
-
var u = o && i == o.type;
|
|
72
|
-
return o ? o.type == "pattern" ? o.col : o.align ? o.col + (u ? 0 : 1) : o.indent + (u ? 0 : t.unit) : 0;
|
|
73
|
-
},
|
|
74
|
-
languageData: {
|
|
75
|
-
commentTokens: { line: "#" }
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
|
-
export {
|
|
79
|
-
g as turtle
|
|
80
|
-
};
|
package/dist/vb-c2kQGd6-.js
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
var u = "error";
|
|
2
|
-
function o(e) {
|
|
3
|
-
return new RegExp("^((" + e.join(")|(") + "))\\b", "i");
|
|
4
|
-
}
|
|
5
|
-
var b = new RegExp("^[\\+\\-\\*/%&\\\\|\\^~<>!]"), k = new RegExp("^[\\(\\)\\[\\]\\{\\}@,:`=;\\.]"), x = new RegExp("^((==)|(<>)|(<=)|(>=)|(<>)|(<<)|(>>)|(//)|(\\*\\*))"), m = new RegExp("^((\\+=)|(\\-=)|(\\*=)|(%=)|(/=)|(&=)|(\\|=)|(\\^=))"), I = new RegExp("^((//=)|(>>=)|(<<=)|(\\*\\*=))"), R = new RegExp("^[_A-Za-z][_A-Za-z0-9]*"), a = ["class", "module", "sub", "enum", "select", "while", "if", "function", "get", "set", "property", "try", "structure", "synclock", "using", "with"], f = ["else", "elseif", "case", "catch", "finally"], h = ["next", "loop"], s = ["and", "andalso", "or", "orelse", "xor", "in", "not", "is", "isnot", "like"], O = o(s), v = ["#const", "#else", "#elseif", "#end", "#if", "#region", "addhandler", "addressof", "alias", "as", "byref", "byval", "cbool", "cbyte", "cchar", "cdate", "cdbl", "cdec", "cint", "clng", "cobj", "compare", "const", "continue", "csbyte", "cshort", "csng", "cstr", "cuint", "culng", "cushort", "declare", "default", "delegate", "dim", "directcast", "each", "erase", "error", "event", "exit", "explicit", "false", "for", "friend", "gettype", "goto", "handles", "implements", "imports", "infer", "inherits", "interface", "isfalse", "istrue", "lib", "me", "mod", "mustinherit", "mustoverride", "my", "mybase", "myclass", "namespace", "narrowing", "new", "nothing", "notinheritable", "notoverridable", "of", "off", "on", "operator", "option", "optional", "out", "overloads", "overridable", "overrides", "paramarray", "partial", "private", "protected", "public", "raiseevent", "readonly", "redim", "removehandler", "resume", "return", "shadows", "shared", "static", "step", "stop", "strict", "then", "throw", "to", "true", "trycast", "typeof", "until", "until", "when", "widening", "withevents", "writeonly"], p = ["object", "boolean", "char", "string", "byte", "sbyte", "short", "ushort", "int16", "uint16", "integer", "uinteger", "int32", "uint32", "long", "ulong", "int64", "uint64", "decimal", "single", "double", "float", "date", "datetime", "intptr", "uintptr"], z = o(v), E = o(p), C = '"', S = o(a), g = o(f), y = o(h), w = o(["end"]), T = o(["do"]);
|
|
6
|
-
function l(e, n) {
|
|
7
|
-
n.currentIndent++;
|
|
8
|
-
}
|
|
9
|
-
function c(e, n) {
|
|
10
|
-
n.currentIndent--;
|
|
11
|
-
}
|
|
12
|
-
function d(e, n) {
|
|
13
|
-
if (e.eatSpace())
|
|
14
|
-
return null;
|
|
15
|
-
var i = e.peek();
|
|
16
|
-
if (i === "'")
|
|
17
|
-
return e.skipToEnd(), "comment";
|
|
18
|
-
if (e.match(/^((&H)|(&O))?[0-9\.a-f]/i, !1)) {
|
|
19
|
-
var r = !1;
|
|
20
|
-
if ((e.match(/^\d*\.\d+F?/i) || e.match(/^\d+\.\d*F?/) || e.match(/^\.\d+F?/)) && (r = !0), r)
|
|
21
|
-
return e.eat(/J/i), "number";
|
|
22
|
-
var t = !1;
|
|
23
|
-
if (e.match(/^&H[0-9a-f]+/i) || e.match(/^&O[0-7]+/i) ? t = !0 : e.match(/^[1-9]\d*F?/) ? (e.eat(/J/i), t = !0) : e.match(/^0(?![\dx])/i) && (t = !0), t)
|
|
24
|
-
return e.eat(/L/i), "number";
|
|
25
|
-
}
|
|
26
|
-
return e.match(C) ? (n.tokenize = F(e.current()), n.tokenize(e, n)) : e.match(I) || e.match(m) ? null : e.match(x) || e.match(b) || e.match(O) ? "operator" : e.match(k) ? null : e.match(T) ? (l(e, n), n.doInCurrentLine = !0, "keyword") : e.match(S) ? (n.doInCurrentLine ? n.doInCurrentLine = !1 : l(e, n), "keyword") : e.match(g) ? "keyword" : e.match(w) ? (c(e, n), c(e, n), "keyword") : e.match(y) ? (c(e, n), "keyword") : e.match(E) || e.match(z) ? "keyword" : e.match(R) ? "variable" : (e.next(), u);
|
|
27
|
-
}
|
|
28
|
-
function F(e) {
|
|
29
|
-
var n = e.length == 1, i = "string";
|
|
30
|
-
return function(r, t) {
|
|
31
|
-
for (; !r.eol(); ) {
|
|
32
|
-
if (r.eatWhile(/[^'"]/), r.match(e))
|
|
33
|
-
return t.tokenize = d, i;
|
|
34
|
-
r.eat(/['"]/);
|
|
35
|
-
}
|
|
36
|
-
return n && (t.tokenize = d), i;
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function K(e, n) {
|
|
40
|
-
var i = n.tokenize(e, n), r = e.current();
|
|
41
|
-
if (r === ".")
|
|
42
|
-
return i = n.tokenize(e, n), i === "variable" ? "variable" : u;
|
|
43
|
-
var t = "[({".indexOf(r);
|
|
44
|
-
return t !== -1 && l(e, n), t = "])}".indexOf(r), t !== -1 && c(e, n) ? u : i;
|
|
45
|
-
}
|
|
46
|
-
const L = {
|
|
47
|
-
name: "vb",
|
|
48
|
-
startState: function() {
|
|
49
|
-
return {
|
|
50
|
-
tokenize: d,
|
|
51
|
-
lastToken: null,
|
|
52
|
-
currentIndent: 0,
|
|
53
|
-
nextLineIndent: 0,
|
|
54
|
-
doInCurrentLine: !1
|
|
55
|
-
};
|
|
56
|
-
},
|
|
57
|
-
token: function(e, n) {
|
|
58
|
-
e.sol() && (n.currentIndent += n.nextLineIndent, n.nextLineIndent = 0, n.doInCurrentLine = 0);
|
|
59
|
-
var i = K(e, n);
|
|
60
|
-
return n.lastToken = { style: i, content: e.current() }, i;
|
|
61
|
-
},
|
|
62
|
-
indent: function(e, n, i) {
|
|
63
|
-
var r = n.replace(/^\s+|\s+$/g, "");
|
|
64
|
-
return r.match(y) || r.match(w) || r.match(g) ? i.unit * (e.currentIndent - 1) : e.currentIndent < 0 ? 0 : e.currentIndent * i.unit;
|
|
65
|
-
},
|
|
66
|
-
languageData: {
|
|
67
|
-
closeBrackets: { brackets: ["(", "[", "{", '"'] },
|
|
68
|
-
commentTokens: { line: "'" },
|
|
69
|
-
autocomplete: a.concat(f).concat(h).concat(s).concat(v).concat(p)
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
export {
|
|
73
|
-
L as vb
|
|
74
|
-
};
|
|
@@ -1,324 +0,0 @@
|
|
|
1
|
-
function p(h) {
|
|
2
|
-
var v = "error";
|
|
3
|
-
function i(e) {
|
|
4
|
-
return new RegExp("^((" + e.join(")|(") + "))\\b", "i");
|
|
5
|
-
}
|
|
6
|
-
var y = new RegExp("^[\\+\\-\\*/&\\\\\\^<>=]"), g = new RegExp("^((<>)|(<=)|(>=))"), m = new RegExp("^[\\.,]"), w = new RegExp("^[\\(\\)]"), k = new RegExp("^[A-Za-z][_A-Za-z0-9]*"), x = ["class", "sub", "select", "while", "if", "function", "property", "with", "for"], C = ["else", "elseif", "case"], I = ["next", "loop", "wend"], S = i(["and", "or", "not", "xor", "is", "mod", "eqv", "imp"]), O = [
|
|
7
|
-
"dim",
|
|
8
|
-
"redim",
|
|
9
|
-
"then",
|
|
10
|
-
"until",
|
|
11
|
-
"randomize",
|
|
12
|
-
"byval",
|
|
13
|
-
"byref",
|
|
14
|
-
"new",
|
|
15
|
-
"property",
|
|
16
|
-
"exit",
|
|
17
|
-
"in",
|
|
18
|
-
"const",
|
|
19
|
-
"private",
|
|
20
|
-
"public",
|
|
21
|
-
"get",
|
|
22
|
-
"set",
|
|
23
|
-
"let",
|
|
24
|
-
"stop",
|
|
25
|
-
"on error resume next",
|
|
26
|
-
"on error goto 0",
|
|
27
|
-
"option explicit",
|
|
28
|
-
"call",
|
|
29
|
-
"me"
|
|
30
|
-
], D = ["true", "false", "nothing", "empty", "null"], R = [
|
|
31
|
-
"abs",
|
|
32
|
-
"array",
|
|
33
|
-
"asc",
|
|
34
|
-
"atn",
|
|
35
|
-
"cbool",
|
|
36
|
-
"cbyte",
|
|
37
|
-
"ccur",
|
|
38
|
-
"cdate",
|
|
39
|
-
"cdbl",
|
|
40
|
-
"chr",
|
|
41
|
-
"cint",
|
|
42
|
-
"clng",
|
|
43
|
-
"cos",
|
|
44
|
-
"csng",
|
|
45
|
-
"cstr",
|
|
46
|
-
"date",
|
|
47
|
-
"dateadd",
|
|
48
|
-
"datediff",
|
|
49
|
-
"datepart",
|
|
50
|
-
"dateserial",
|
|
51
|
-
"datevalue",
|
|
52
|
-
"day",
|
|
53
|
-
"escape",
|
|
54
|
-
"eval",
|
|
55
|
-
"execute",
|
|
56
|
-
"exp",
|
|
57
|
-
"filter",
|
|
58
|
-
"formatcurrency",
|
|
59
|
-
"formatdatetime",
|
|
60
|
-
"formatnumber",
|
|
61
|
-
"formatpercent",
|
|
62
|
-
"getlocale",
|
|
63
|
-
"getobject",
|
|
64
|
-
"getref",
|
|
65
|
-
"hex",
|
|
66
|
-
"hour",
|
|
67
|
-
"inputbox",
|
|
68
|
-
"instr",
|
|
69
|
-
"instrrev",
|
|
70
|
-
"int",
|
|
71
|
-
"fix",
|
|
72
|
-
"isarray",
|
|
73
|
-
"isdate",
|
|
74
|
-
"isempty",
|
|
75
|
-
"isnull",
|
|
76
|
-
"isnumeric",
|
|
77
|
-
"isobject",
|
|
78
|
-
"join",
|
|
79
|
-
"lbound",
|
|
80
|
-
"lcase",
|
|
81
|
-
"left",
|
|
82
|
-
"len",
|
|
83
|
-
"loadpicture",
|
|
84
|
-
"log",
|
|
85
|
-
"ltrim",
|
|
86
|
-
"rtrim",
|
|
87
|
-
"trim",
|
|
88
|
-
"maths",
|
|
89
|
-
"mid",
|
|
90
|
-
"minute",
|
|
91
|
-
"month",
|
|
92
|
-
"monthname",
|
|
93
|
-
"msgbox",
|
|
94
|
-
"now",
|
|
95
|
-
"oct",
|
|
96
|
-
"replace",
|
|
97
|
-
"rgb",
|
|
98
|
-
"right",
|
|
99
|
-
"rnd",
|
|
100
|
-
"round",
|
|
101
|
-
"scriptengine",
|
|
102
|
-
"scriptenginebuildversion",
|
|
103
|
-
"scriptenginemajorversion",
|
|
104
|
-
"scriptengineminorversion",
|
|
105
|
-
"second",
|
|
106
|
-
"setlocale",
|
|
107
|
-
"sgn",
|
|
108
|
-
"sin",
|
|
109
|
-
"space",
|
|
110
|
-
"split",
|
|
111
|
-
"sqr",
|
|
112
|
-
"strcomp",
|
|
113
|
-
"string",
|
|
114
|
-
"strreverse",
|
|
115
|
-
"tan",
|
|
116
|
-
"time",
|
|
117
|
-
"timer",
|
|
118
|
-
"timeserial",
|
|
119
|
-
"timevalue",
|
|
120
|
-
"typename",
|
|
121
|
-
"ubound",
|
|
122
|
-
"ucase",
|
|
123
|
-
"unescape",
|
|
124
|
-
"vartype",
|
|
125
|
-
"weekday",
|
|
126
|
-
"weekdayname",
|
|
127
|
-
"year"
|
|
128
|
-
], E = [
|
|
129
|
-
"vbBlack",
|
|
130
|
-
"vbRed",
|
|
131
|
-
"vbGreen",
|
|
132
|
-
"vbYellow",
|
|
133
|
-
"vbBlue",
|
|
134
|
-
"vbMagenta",
|
|
135
|
-
"vbCyan",
|
|
136
|
-
"vbWhite",
|
|
137
|
-
"vbBinaryCompare",
|
|
138
|
-
"vbTextCompare",
|
|
139
|
-
"vbSunday",
|
|
140
|
-
"vbMonday",
|
|
141
|
-
"vbTuesday",
|
|
142
|
-
"vbWednesday",
|
|
143
|
-
"vbThursday",
|
|
144
|
-
"vbFriday",
|
|
145
|
-
"vbSaturday",
|
|
146
|
-
"vbUseSystemDayOfWeek",
|
|
147
|
-
"vbFirstJan1",
|
|
148
|
-
"vbFirstFourDays",
|
|
149
|
-
"vbFirstFullWeek",
|
|
150
|
-
"vbGeneralDate",
|
|
151
|
-
"vbLongDate",
|
|
152
|
-
"vbShortDate",
|
|
153
|
-
"vbLongTime",
|
|
154
|
-
"vbShortTime",
|
|
155
|
-
"vbObjectError",
|
|
156
|
-
"vbOKOnly",
|
|
157
|
-
"vbOKCancel",
|
|
158
|
-
"vbAbortRetryIgnore",
|
|
159
|
-
"vbYesNoCancel",
|
|
160
|
-
"vbYesNo",
|
|
161
|
-
"vbRetryCancel",
|
|
162
|
-
"vbCritical",
|
|
163
|
-
"vbQuestion",
|
|
164
|
-
"vbExclamation",
|
|
165
|
-
"vbInformation",
|
|
166
|
-
"vbDefaultButton1",
|
|
167
|
-
"vbDefaultButton2",
|
|
168
|
-
"vbDefaultButton3",
|
|
169
|
-
"vbDefaultButton4",
|
|
170
|
-
"vbApplicationModal",
|
|
171
|
-
"vbSystemModal",
|
|
172
|
-
"vbOK",
|
|
173
|
-
"vbCancel",
|
|
174
|
-
"vbAbort",
|
|
175
|
-
"vbRetry",
|
|
176
|
-
"vbIgnore",
|
|
177
|
-
"vbYes",
|
|
178
|
-
"vbNo",
|
|
179
|
-
"vbCr",
|
|
180
|
-
"VbCrLf",
|
|
181
|
-
"vbFormFeed",
|
|
182
|
-
"vbLf",
|
|
183
|
-
"vbNewLine",
|
|
184
|
-
"vbNullChar",
|
|
185
|
-
"vbNullString",
|
|
186
|
-
"vbTab",
|
|
187
|
-
"vbVerticalTab",
|
|
188
|
-
"vbUseDefault",
|
|
189
|
-
"vbTrue",
|
|
190
|
-
"vbFalse",
|
|
191
|
-
"vbEmpty",
|
|
192
|
-
"vbNull",
|
|
193
|
-
"vbInteger",
|
|
194
|
-
"vbLong",
|
|
195
|
-
"vbSingle",
|
|
196
|
-
"vbDouble",
|
|
197
|
-
"vbCurrency",
|
|
198
|
-
"vbDate",
|
|
199
|
-
"vbString",
|
|
200
|
-
"vbObject",
|
|
201
|
-
"vbError",
|
|
202
|
-
"vbBoolean",
|
|
203
|
-
"vbVariant",
|
|
204
|
-
"vbDataObject",
|
|
205
|
-
"vbDecimal",
|
|
206
|
-
"vbByte",
|
|
207
|
-
"vbArray"
|
|
208
|
-
], a = ["WScript", "err", "debug", "RegExp"], L = ["description", "firstindex", "global", "helpcontext", "helpfile", "ignorecase", "length", "number", "pattern", "source", "value", "count"], T = ["clear", "execute", "raise", "replace", "test", "write", "writeline", "close", "open", "state", "eof", "update", "addnew", "end", "createobject", "quit"], j = ["server", "response", "request", "session", "application"], F = [
|
|
209
|
-
"buffer",
|
|
210
|
-
"cachecontrol",
|
|
211
|
-
"charset",
|
|
212
|
-
"contenttype",
|
|
213
|
-
"expires",
|
|
214
|
-
"expiresabsolute",
|
|
215
|
-
"isclientconnected",
|
|
216
|
-
"pics",
|
|
217
|
-
"status",
|
|
218
|
-
//response
|
|
219
|
-
"clientcertificate",
|
|
220
|
-
"cookies",
|
|
221
|
-
"form",
|
|
222
|
-
"querystring",
|
|
223
|
-
"servervariables",
|
|
224
|
-
"totalbytes",
|
|
225
|
-
//request
|
|
226
|
-
"contents",
|
|
227
|
-
"staticobjects",
|
|
228
|
-
//application
|
|
229
|
-
"codepage",
|
|
230
|
-
"lcid",
|
|
231
|
-
"sessionid",
|
|
232
|
-
"timeout",
|
|
233
|
-
//session
|
|
234
|
-
"scripttimeout"
|
|
235
|
-
], B = [
|
|
236
|
-
"addheader",
|
|
237
|
-
"appendtolog",
|
|
238
|
-
"binarywrite",
|
|
239
|
-
"end",
|
|
240
|
-
"flush",
|
|
241
|
-
"redirect",
|
|
242
|
-
//response
|
|
243
|
-
"binaryread",
|
|
244
|
-
//request
|
|
245
|
-
"remove",
|
|
246
|
-
"removeall",
|
|
247
|
-
"lock",
|
|
248
|
-
"unlock",
|
|
249
|
-
//application
|
|
250
|
-
"abandon",
|
|
251
|
-
//session
|
|
252
|
-
"getlasterror",
|
|
253
|
-
"htmlencode",
|
|
254
|
-
"mappath",
|
|
255
|
-
"transfer",
|
|
256
|
-
"urlencode"
|
|
257
|
-
], c = T.concat(L);
|
|
258
|
-
a = a.concat(E), h.isASP && (a = a.concat(j), c = c.concat(B, F));
|
|
259
|
-
var W = i(O), z = i(D), A = i(R), K = i(a), N = i(c), M = '"', P = i(x), b = i(C), d = i(I), s = i(["end"]), q = i(["do"]), V = i(["on error resume next", "exit"]), Y = i(["rem"]);
|
|
260
|
-
function f(e, n) {
|
|
261
|
-
n.currentIndent++;
|
|
262
|
-
}
|
|
263
|
-
function u(e, n) {
|
|
264
|
-
n.currentIndent--;
|
|
265
|
-
}
|
|
266
|
-
function l(e, n) {
|
|
267
|
-
if (e.eatSpace())
|
|
268
|
-
return null;
|
|
269
|
-
var r = e.peek();
|
|
270
|
-
if (r === "'" || e.match(Y))
|
|
271
|
-
return e.skipToEnd(), "comment";
|
|
272
|
-
if (e.match(/^((&H)|(&O))?[0-9\.]/i, !1) && !e.match(/^((&H)|(&O))?[0-9\.]+[a-z_]/i, !1)) {
|
|
273
|
-
var t = !1;
|
|
274
|
-
if ((e.match(/^\d*\.\d+/i) || e.match(/^\d+\.\d*/) || e.match(/^\.\d+/)) && (t = !0), t)
|
|
275
|
-
return e.eat(/J/i), "number";
|
|
276
|
-
var o = !1;
|
|
277
|
-
if (e.match(/^&H[0-9a-f]+/i) || e.match(/^&O[0-7]+/i) ? o = !0 : e.match(/^[1-9]\d*F?/) ? (e.eat(/J/i), o = !0) : e.match(/^0(?![\dx])/i) && (o = !0), o)
|
|
278
|
-
return e.eat(/L/i), "number";
|
|
279
|
-
}
|
|
280
|
-
return e.match(M) ? (n.tokenize = _(e.current()), n.tokenize(e, n)) : e.match(g) || e.match(y) || e.match(S) ? "operator" : e.match(m) ? null : e.match(w) ? "bracket" : e.match(V) ? (n.doInCurrentLine = !0, "keyword") : e.match(q) ? (f(e, n), n.doInCurrentLine = !0, "keyword") : e.match(P) ? (n.doInCurrentLine ? n.doInCurrentLine = !1 : f(e, n), "keyword") : e.match(b) ? "keyword" : e.match(s) ? (u(e, n), u(e, n), "keyword") : e.match(d) ? (n.doInCurrentLine ? n.doInCurrentLine = !1 : u(e, n), "keyword") : e.match(W) ? "keyword" : e.match(z) ? "atom" : e.match(N) ? "variableName.special" : e.match(A) || e.match(K) ? "builtin" : e.match(k) ? "variable" : (e.next(), v);
|
|
281
|
-
}
|
|
282
|
-
function _(e) {
|
|
283
|
-
var n = e.length == 1, r = "string";
|
|
284
|
-
return function(t, o) {
|
|
285
|
-
for (; !t.eol(); ) {
|
|
286
|
-
if (t.eatWhile(/[^'"]/), t.match(e))
|
|
287
|
-
return o.tokenize = l, r;
|
|
288
|
-
t.eat(/['"]/);
|
|
289
|
-
}
|
|
290
|
-
return n && (o.tokenize = l), r;
|
|
291
|
-
};
|
|
292
|
-
}
|
|
293
|
-
function H(e, n) {
|
|
294
|
-
var r = n.tokenize(e, n), t = e.current();
|
|
295
|
-
return t === "." ? (r = n.tokenize(e, n), t = e.current(), r && (r.substr(0, 8) === "variable" || r === "builtin" || r === "keyword") ? ((r === "builtin" || r === "keyword") && (r = "variable"), c.indexOf(t.substr(1)) > -1 && (r = "keyword"), r) : v) : r;
|
|
296
|
-
}
|
|
297
|
-
return {
|
|
298
|
-
name: "vbscript",
|
|
299
|
-
startState: function() {
|
|
300
|
-
return {
|
|
301
|
-
tokenize: l,
|
|
302
|
-
lastToken: null,
|
|
303
|
-
currentIndent: 0,
|
|
304
|
-
nextLineIndent: 0,
|
|
305
|
-
doInCurrentLine: !1,
|
|
306
|
-
ignoreKeyword: !1
|
|
307
|
-
};
|
|
308
|
-
},
|
|
309
|
-
token: function(e, n) {
|
|
310
|
-
e.sol() && (n.currentIndent += n.nextLineIndent, n.nextLineIndent = 0, n.doInCurrentLine = 0);
|
|
311
|
-
var r = H(e, n);
|
|
312
|
-
return n.lastToken = { style: r, content: e.current() }, r === null && (r = null), r;
|
|
313
|
-
},
|
|
314
|
-
indent: function(e, n, r) {
|
|
315
|
-
var t = n.replace(/^\s+|\s+$/g, "");
|
|
316
|
-
return t.match(d) || t.match(s) || t.match(b) ? r.unit * (e.currentIndent - 1) : e.currentIndent < 0 ? 0 : e.currentIndent * r.unit;
|
|
317
|
-
}
|
|
318
|
-
};
|
|
319
|
-
}
|
|
320
|
-
const J = p({}), U = p({ isASP: !0 });
|
|
321
|
-
export {
|
|
322
|
-
J as vbScript,
|
|
323
|
-
U as vbScriptASP
|
|
324
|
-
};
|