monaco-editor11 1.2.1 → 1.2.4
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/assets/editor.worker-iXcRX1Tq.js +26 -0
- package/dist/index.d.ts +2 -3
- package/dist/monaco-editor11.es.js +55 -0
- package/dist/monaco-editor11.umd.js +1 -0
- package/dist/views/Home.vue.d.ts +1 -1
- package/dist/worker/json.worker.js +0 -0
- package/package.json +9 -13
- package/dist/abap-BmV14C8H.js +0 -1
- package/dist/abap-CrvW7_qN.mjs +0 -1398
- package/dist/apex-BAOI8p1v.mjs +0 -327
- package/dist/apex-vQDebnNk.js +0 -1
- package/dist/azcli-BlCk_UqW.mjs +0 -68
- package/dist/azcli-C4hxwus7.js +0 -1
- package/dist/bat-DPoEelVx.mjs +0 -100
- package/dist/bat-DYHIOgJW.js +0 -1
- package/dist/bicep-BJDZ3U7c.js +0 -2
- package/dist/bicep-Cp1F394l.mjs +0 -102
- package/dist/cameligo-CWqtSlQs.mjs +0 -174
- package/dist/cameligo-l0J6eaPU.js +0 -1
- package/dist/clojure-BUv_1vEn.js +0 -1
- package/dist/clojure-CKBp32Gf.mjs +0 -761
- package/dist/coffee-CDo6vc-J.mjs +0 -232
- package/dist/coffee-Cw3141X6.js +0 -1
- package/dist/cpp-CHPWmTTa.js +0 -1
- package/dist/cpp-DokufPgf.mjs +0 -389
- package/dist/csharp-0ISFInBU.js +0 -1
- package/dist/csharp-BQi3szM0.mjs +0 -326
- package/dist/csp-BSGtCCZ-.mjs +0 -53
- package/dist/csp-Dcy9EUAZ.js +0 -1
- package/dist/css-DEPFDJfb.mjs +0 -187
- package/dist/css-UDjyEDNM.js +0 -3
- package/dist/css.worker.js +0 -66
- package/dist/cssMode-CZvh5Cxi.js +0 -1
- package/dist/cssMode-D5wFpBcJ.mjs +0 -141
- package/dist/cypher-BoSKj8sy.js +0 -1
- package/dist/cypher-DAb1vOxS.mjs +0 -263
- package/dist/dart-75fOVMIC.js +0 -1
- package/dist/dart-C8p4jewR.mjs +0 -281
- package/dist/dockerfile-CeTDdZJB.js +0 -1
- package/dist/dockerfile-DP0iLFPN.mjs +0 -130
- package/dist/ecl-BDQHA6fi.mjs +0 -456
- package/dist/ecl-BZ8GfbIS.js +0 -1
- package/dist/editor.worker.js +0 -1
- package/dist/editorWorkerHost-CXSl__Sw.mjs +0 -11917
- package/dist/editorWorkerHost-J3OLr02l.js +0 -33
- package/dist/elixir-D4II6kDM.mjs +0 -569
- package/dist/elixir-HwUoMs-6.js +0 -1
- package/dist/flow9-Co-egZvn.js +0 -1
- package/dist/flow9-StcnL-VB.mjs +0 -142
- package/dist/freemarker2-0KWO0y3D.mjs +0 -982
- package/dist/freemarker2-CWgJ4a-p.js +0 -3
- package/dist/fsharp-By4FMj_K.js +0 -1
- package/dist/fsharp-DdUVp3EN.mjs +0 -217
- package/dist/go-D0-3Iavh.js +0 -1
- package/dist/go-D1-I258M.mjs +0 -218
- package/dist/graphql-DWkL3f8U.mjs +0 -151
- package/dist/graphql-arXy5b1U.js +0 -1
- package/dist/handlebars-B3DRUYqI.js +0 -1
- package/dist/handlebars-CtTh3MzK.mjs +0 -412
- package/dist/hcl-DQpT3BXv.js +0 -1
- package/dist/hcl-D_0MNifv.mjs +0 -183
- package/dist/html-Bfagd5f8.mjs +0 -301
- package/dist/html-Cq6ODg2A.js +0 -1
- package/dist/htmlMode-BCWHN8H1.js +0 -1
- package/dist/htmlMode-Ca4o_48E.mjs +0 -152
- package/dist/index-BnVmN2qp.js +0 -875
- package/dist/index-CcXLAo11.js +0 -1
- package/dist/index-D7fx9aNv.mjs +0 -498
- package/dist/index-DnKFAZ-F.mjs +0 -117301
- package/dist/index.js +0 -1
- package/dist/ini-C4I2-MT7.mjs +0 -71
- package/dist/ini-CHrdBSR6.js +0 -1
- package/dist/initialize-7Tsg9DJ6.mjs +0 -44
- package/dist/initialize-8Cpp42Fp.js +0 -1
- package/dist/java-DkNlCtA8.js +0 -1
- package/dist/java-OBvaP_SS.mjs +0 -232
- package/dist/javascript-C_YSapv9.js +0 -1
- package/dist/javascript-D2KmymLa.mjs +0 -70
- package/dist/json.worker.js +0 -17
- package/dist/jsonMode-DaXUMuRa.js +0 -1
- package/dist/jsonMode-Dnqj4FWW.mjs +0 -306
- package/dist/julia-BmDH8Kkf.mjs +0 -511
- package/dist/julia-D2YHJdZy.js +0 -1
- package/dist/kotlin-BSyr2f_w.js +0 -1
- package/dist/kotlin-Dhu5AGOD.mjs +0 -252
- package/dist/less-C8csD237.js +0 -2
- package/dist/less-CzmjXREq.mjs +0 -162
- package/dist/lexon-CV2c4pN9.mjs +0 -157
- package/dist/lexon-Dg5XMXM-.js +0 -1
- package/dist/liquid-CQtA4TA-.mjs +0 -233
- package/dist/liquid-Dc6vO2KK.js +0 -1
- package/dist/lspLanguageFeatures-CeustN1U.js +0 -2
- package/dist/lspLanguageFeatures-DUzyYYsS.mjs +0 -534
- package/dist/lua-BOoO7Ej7.js +0 -1
- package/dist/lua-CFY5U8qF.mjs +0 -162
- package/dist/m3-BL_AnZVh.mjs +0 -210
- package/dist/m3-Bny7JARg.js +0 -1
- package/dist/main-B2xgQ6G2.mjs +0 -687
- package/dist/main-C27EQSK2.mjs +0 -947
- package/dist/main-DXJICgQq.js +0 -3
- package/dist/main-Dt1Bdcpc.js +0 -15
- package/dist/markdown-CWKQPXCv.mjs +0 -229
- package/dist/markdown-cseWCS9n.js +0 -1
- package/dist/mdx-C2nK3qTe.js +0 -1
- package/dist/mdx-cjfOdSKt.mjs +0 -158
- package/dist/mips-7JuqcyJ4.js +0 -1
- package/dist/mips-ButYmJ5E.mjs +0 -198
- package/dist/monaco-editor11.css +0 -1
- package/dist/msdax-BmYA5eV5.js +0 -1
- package/dist/msdax-C3cnXqDh.mjs +0 -375
- package/dist/mysql-CHTrPhJ_.js +0 -1
- package/dist/mysql-YlSHaf6G.mjs +0 -878
- package/dist/objective-c-CUdbM2R7.js +0 -1
- package/dist/objective-c-Dwnlproe.mjs +0 -183
- package/dist/pascal-CNC6uGuD.js +0 -1
- package/dist/pascal-UzGbSWEN.mjs +0 -251
- package/dist/pascaligo-BEZzSZnI.js +0 -1
- package/dist/pascaligo-CslTgu68.mjs +0 -164
- package/dist/perl-JOl0jAD9.js +0 -1
- package/dist/perl-oj6r_mgw.mjs +0 -626
- package/dist/pgsql-BlC3cJBr.js +0 -1
- package/dist/pgsql-DSBO0Mev.mjs +0 -851
- package/dist/php-6ijfJ2jK.js +0 -1
- package/dist/php-YzCD--7j.mjs +0 -500
- package/dist/pla-CmylB8vQ.mjs +0 -137
- package/dist/pla-DB8tU9Tm.js +0 -1
- package/dist/postiats-BMJJQsUH.js +0 -1
- package/dist/postiats-CLFW5gNY.mjs +0 -907
- package/dist/powerquery-CmOWUvlh.mjs +0 -890
- package/dist/powerquery-CoLfQ6__.js +0 -1
- package/dist/powershell-BA5owzqH.js +0 -1
- package/dist/powershell-fHQcmBLK.mjs +0 -239
- package/dist/protobuf-DUMRTG9C.js +0 -2
- package/dist/protobuf-p5BArb-9.mjs +0 -420
- package/dist/pug-D3HDBCR9.js +0 -1
- package/dist/pug-gVdUDvqf.mjs +0 -402
- package/dist/python-BaSW5leI.js +0 -1
- package/dist/python-DA6ByLCZ.mjs +0 -294
- package/dist/qsharp-DN7Y6XhL.js +0 -1
- package/dist/qsharp-DnrWSUlt.mjs +0 -301
- package/dist/r-Bc6rlFXl.js +0 -1
- package/dist/r-Cv309K2z.mjs +0 -243
- package/dist/razor-3z9XYGZf.mjs +0 -543
- package/dist/razor-nQE2Djhf.js +0 -1
- package/dist/redis-BVBmvApp.js +0 -1
- package/dist/redis-DTcS4wMj.mjs +0 -302
- package/dist/redshift-BdEMv0YI.js +0 -1
- package/dist/redshift-hLxZVESM.mjs +0 -809
- package/dist/restructuredtext-C898lK4f.mjs +0 -174
- package/dist/restructuredtext-Cwgkbiv3.js +0 -1
- package/dist/ruby-BPqQ0TOE.js +0 -1
- package/dist/ruby-CgKtnJIQ.mjs +0 -511
- package/dist/rust-DGojqpAN.js +0 -1
- package/dist/rust-bj8oxVnh.mjs +0 -343
- package/dist/sb-B572kJZe.js +0 -1
- package/dist/sb-DWynz26l.mjs +0 -115
- package/dist/scala-BL5z1UEd.mjs +0 -370
- package/dist/scala-CDQ1h1Nd.js +0 -1
- package/dist/scheme-CgaAfqMQ.js +0 -1
- package/dist/scheme-DUJsH6VU.mjs +0 -108
- package/dist/scss-CxjmhvaL.mjs +0 -262
- package/dist/scss-DZHIl239.js +0 -3
- package/dist/shell-D14Zs1dF.mjs +0 -221
- package/dist/shell-D5kOdfAA.js +0 -1
- package/dist/solidity-D6vCwnFo.js +0 -1
- package/dist/solidity-WyRm-BGK.mjs +0 -1367
- package/dist/sophia-BJdevZpo.js +0 -1
- package/dist/sophia-CKk-_Oa5.mjs +0 -199
- package/dist/sparql-DHtmINMZ.mjs +0 -201
- package/dist/sparql-v4dsLpAQ.js +0 -1
- package/dist/sql-Dqaj5JHC.mjs +0 -853
- package/dist/sql-RAt0uxGh.js +0 -1
- package/dist/st-Bj2IIaop.mjs +0 -416
- package/dist/st-CjwpLApO.js +0 -1
- package/dist/swift-BcIVfYEa.js +0 -3
- package/dist/swift-DwxP72iM.mjs +0 -312
- package/dist/systemverilog-CX2A8v2w.js +0 -1
- package/dist/systemverilog-D7wJfuql.mjs +0 -576
- package/dist/tcl-0ApMt-eC.mjs +0 -232
- package/dist/tcl-CCvdS1Ng.js +0 -1
- package/dist/ts.worker.js +0 -67706
- package/dist/tsMode-CieVaThB.js +0 -11
- package/dist/tsMode-pbVGEqHg.mjs +0 -946
- package/dist/twig-DxwbdmvQ.mjs +0 -392
- package/dist/twig-KWJe-gee.js +0 -1
- package/dist/typescript-CL7lZGgL.mjs +0 -336
- package/dist/typescript-D-fgoGBJ.js +0 -1
- package/dist/typespec-Fd-JwSuS.mjs +0 -117
- package/dist/typespec-gb5rMy4D.js +0 -1
- package/dist/vb-CxuyYE1I.mjs +0 -372
- package/dist/vb-D2rfixXK.js +0 -1
- package/dist/wgsl-DoEGc31J.mjs +0 -439
- package/dist/wgsl-Dpy8Oyoq.js +0 -298
- package/dist/xml-Dm8zU0Zq.mjs +0 -88
- package/dist/xml-luJ1w-__.js +0 -1
- package/dist/yaml-DDKFPb37.mjs +0 -199
- package/dist/yaml-DZkx0RTO.js +0 -1
package/dist/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BnVmN2qp.js");exports.monaco=e.editor_main;exports.setupMonacoEnvironment=e.setupMonacoEnvironment;
|
package/dist/ini-C4I2-MT7.mjs
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
comments: {
|
|
3
|
-
lineComment: "#"
|
|
4
|
-
},
|
|
5
|
-
brackets: [
|
|
6
|
-
["{", "}"],
|
|
7
|
-
["[", "]"],
|
|
8
|
-
["(", ")"]
|
|
9
|
-
],
|
|
10
|
-
autoClosingPairs: [
|
|
11
|
-
{ open: "{", close: "}" },
|
|
12
|
-
{ open: "[", close: "]" },
|
|
13
|
-
{ open: "(", close: ")" },
|
|
14
|
-
{ open: '"', close: '"' },
|
|
15
|
-
{ open: "'", close: "'" }
|
|
16
|
-
],
|
|
17
|
-
surroundingPairs: [
|
|
18
|
-
{ open: "{", close: "}" },
|
|
19
|
-
{ open: "[", close: "]" },
|
|
20
|
-
{ open: "(", close: ")" },
|
|
21
|
-
{ open: '"', close: '"' },
|
|
22
|
-
{ open: "'", close: "'" }
|
|
23
|
-
]
|
|
24
|
-
}, n = {
|
|
25
|
-
defaultToken: "",
|
|
26
|
-
tokenPostfix: ".ini",
|
|
27
|
-
// we include these common regular expressions
|
|
28
|
-
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
29
|
-
// The main tokenizer for our languages
|
|
30
|
-
tokenizer: {
|
|
31
|
-
root: [
|
|
32
|
-
// sections
|
|
33
|
-
[/^\[[^\]]*\]/, "metatag"],
|
|
34
|
-
// keys
|
|
35
|
-
[/(^\w+)(\s*)(\=)/, ["key", "", "delimiter"]],
|
|
36
|
-
// whitespace
|
|
37
|
-
{ include: "@whitespace" },
|
|
38
|
-
// numbers
|
|
39
|
-
[/\d+/, "number"],
|
|
40
|
-
// strings: recover on non-terminated strings
|
|
41
|
-
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
|
42
|
-
// non-teminated string
|
|
43
|
-
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
|
44
|
-
// non-teminated string
|
|
45
|
-
[/"/, "string", '@string."'],
|
|
46
|
-
[/'/, "string", "@string.'"]
|
|
47
|
-
],
|
|
48
|
-
whitespace: [
|
|
49
|
-
[/[ \t\r\n]+/, ""],
|
|
50
|
-
[/^\s*[#;].*$/, "comment"]
|
|
51
|
-
],
|
|
52
|
-
string: [
|
|
53
|
-
[/[^\\"']+/, "string"],
|
|
54
|
-
[/@escapes/, "string.escape"],
|
|
55
|
-
[/\\./, "string.escape.invalid"],
|
|
56
|
-
[
|
|
57
|
-
/["']/,
|
|
58
|
-
{
|
|
59
|
-
cases: {
|
|
60
|
-
"$#==$S2": { token: "string", next: "@pop" },
|
|
61
|
-
"@default": "string"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
]
|
|
65
|
-
]
|
|
66
|
-
}
|
|
67
|
-
};
|
|
68
|
-
export {
|
|
69
|
-
e as conf,
|
|
70
|
-
n as language
|
|
71
|
-
};
|
package/dist/ini-CHrdBSR6.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},n={defaultToken:"",tokenPostfix:".ini",escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^\[[^\]]*\]/,"metatag"],[/(^\w+)(\s*)(\=)/,["key","","delimiter"]],{include:"@whitespace"},[/\d+/,"number"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],whitespace:[[/[ \t\r\n]+/,""],[/^\s*[#;].*$/,"comment"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}};exports.conf=e;exports.language=n;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { eG as u, dJ as f, dL as c } from "./editorWorkerHost-CXSl__Sw.mjs";
|
|
2
|
-
let i = !1;
|
|
3
|
-
function g(t) {
|
|
4
|
-
if (i)
|
|
5
|
-
throw new Error("WebWorker already initialized!");
|
|
6
|
-
i = !0;
|
|
7
|
-
const r = new u((e) => globalThis.postMessage(e), (e) => t(e));
|
|
8
|
-
return globalThis.onmessage = (e) => {
|
|
9
|
-
r.onmessage(e.data);
|
|
10
|
-
}, r;
|
|
11
|
-
}
|
|
12
|
-
function h(t) {
|
|
13
|
-
let r;
|
|
14
|
-
const e = g((s) => {
|
|
15
|
-
const a = f.getChannel(s), l = {
|
|
16
|
-
host: new Proxy({}, {
|
|
17
|
-
get(w, n, k) {
|
|
18
|
-
if (n !== "then") {
|
|
19
|
-
if (typeof n != "string")
|
|
20
|
-
throw new Error("Not supported");
|
|
21
|
-
return (...d) => a.$fhr(n, d);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}),
|
|
25
|
-
getMirrorModels: () => e.requestHandler.getModels()
|
|
26
|
-
};
|
|
27
|
-
return r = t(l), new c(r);
|
|
28
|
-
});
|
|
29
|
-
return r;
|
|
30
|
-
}
|
|
31
|
-
let o = !1;
|
|
32
|
-
function z() {
|
|
33
|
-
return o;
|
|
34
|
-
}
|
|
35
|
-
function m(t) {
|
|
36
|
-
o = !0, self.onmessage = (r) => {
|
|
37
|
-
h((e) => t(e, r.data));
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
export {
|
|
41
|
-
m as a,
|
|
42
|
-
z as i,
|
|
43
|
-
h as s
|
|
44
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const n=require("./editorWorkerHost-J3OLr02l.js");let o=!1;function f(t){if(o)throw new Error("WebWorker already initialized!");o=!0;const r=new n.WebWorkerServer(e=>globalThis.postMessage(e),e=>t(e));return globalThis.onmessage=e=>{r.onmessage(e.data)},r}function s(t){let r;const e=f(l=>{const u=n.EditorWorkerHost.getChannel(l),d={host:new Proxy({},{get(k,i,w){if(i!=="then"){if(typeof i!="string")throw new Error("Not supported");return(...c)=>u.$fhr(i,c)}}}),getMirrorModels:()=>e.requestHandler.getModels()};return r=t(d),new n.EditorWorker(r)});return r}let a=!1;function g(){return a}function W(t){a=!0,self.onmessage=r=>{s(e=>t(e,r.data))}}exports.initialize=W;exports.isWorkerInitialized=g;exports.start=s;
|
package/dist/java-DkNlCtA8.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},t={defaultToken:"",tokenPostfix:".java",keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false","yield","record","sealed","non-sealed","permits"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[["non-sealed","keyword.non-sealed"],[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],multistring:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"""/,"string","@pop"],[/./,"string"]]}};exports.conf=e;exports.language=t;
|
package/dist/java-OBvaP_SS.mjs
DELETED
|
@@ -1,232 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
// the default separators except `@$`
|
|
3
|
-
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
|
4
|
-
comments: {
|
|
5
|
-
lineComment: "//",
|
|
6
|
-
blockComment: ["/*", "*/"]
|
|
7
|
-
},
|
|
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
|
-
{ open: "<", close: ">" }
|
|
27
|
-
],
|
|
28
|
-
folding: {
|
|
29
|
-
markers: {
|
|
30
|
-
start: new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),
|
|
31
|
-
end: new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}, t = {
|
|
35
|
-
defaultToken: "",
|
|
36
|
-
tokenPostfix: ".java",
|
|
37
|
-
keywords: [
|
|
38
|
-
"abstract",
|
|
39
|
-
"continue",
|
|
40
|
-
"for",
|
|
41
|
-
"new",
|
|
42
|
-
"switch",
|
|
43
|
-
"assert",
|
|
44
|
-
"default",
|
|
45
|
-
"goto",
|
|
46
|
-
"package",
|
|
47
|
-
"synchronized",
|
|
48
|
-
"boolean",
|
|
49
|
-
"do",
|
|
50
|
-
"if",
|
|
51
|
-
"private",
|
|
52
|
-
"this",
|
|
53
|
-
"break",
|
|
54
|
-
"double",
|
|
55
|
-
"implements",
|
|
56
|
-
"protected",
|
|
57
|
-
"throw",
|
|
58
|
-
"byte",
|
|
59
|
-
"else",
|
|
60
|
-
"import",
|
|
61
|
-
"public",
|
|
62
|
-
"throws",
|
|
63
|
-
"case",
|
|
64
|
-
"enum",
|
|
65
|
-
"instanceof",
|
|
66
|
-
"return",
|
|
67
|
-
"transient",
|
|
68
|
-
"catch",
|
|
69
|
-
"extends",
|
|
70
|
-
"int",
|
|
71
|
-
"short",
|
|
72
|
-
"try",
|
|
73
|
-
"char",
|
|
74
|
-
"final",
|
|
75
|
-
"interface",
|
|
76
|
-
"static",
|
|
77
|
-
"void",
|
|
78
|
-
"class",
|
|
79
|
-
"finally",
|
|
80
|
-
"long",
|
|
81
|
-
"strictfp",
|
|
82
|
-
"volatile",
|
|
83
|
-
"const",
|
|
84
|
-
"float",
|
|
85
|
-
"native",
|
|
86
|
-
"super",
|
|
87
|
-
"while",
|
|
88
|
-
"true",
|
|
89
|
-
"false",
|
|
90
|
-
"yield",
|
|
91
|
-
"record",
|
|
92
|
-
"sealed",
|
|
93
|
-
"non-sealed",
|
|
94
|
-
"permits"
|
|
95
|
-
],
|
|
96
|
-
operators: [
|
|
97
|
-
"=",
|
|
98
|
-
">",
|
|
99
|
-
"<",
|
|
100
|
-
"!",
|
|
101
|
-
"~",
|
|
102
|
-
"?",
|
|
103
|
-
":",
|
|
104
|
-
"==",
|
|
105
|
-
"<=",
|
|
106
|
-
">=",
|
|
107
|
-
"!=",
|
|
108
|
-
"&&",
|
|
109
|
-
"||",
|
|
110
|
-
"++",
|
|
111
|
-
"--",
|
|
112
|
-
"+",
|
|
113
|
-
"-",
|
|
114
|
-
"*",
|
|
115
|
-
"/",
|
|
116
|
-
"&",
|
|
117
|
-
"|",
|
|
118
|
-
"^",
|
|
119
|
-
"%",
|
|
120
|
-
"<<",
|
|
121
|
-
">>",
|
|
122
|
-
">>>",
|
|
123
|
-
"+=",
|
|
124
|
-
"-=",
|
|
125
|
-
"*=",
|
|
126
|
-
"/=",
|
|
127
|
-
"&=",
|
|
128
|
-
"|=",
|
|
129
|
-
"^=",
|
|
130
|
-
"%=",
|
|
131
|
-
"<<=",
|
|
132
|
-
">>=",
|
|
133
|
-
">>>="
|
|
134
|
-
],
|
|
135
|
-
// we include these common regular expressions
|
|
136
|
-
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
|
137
|
-
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
138
|
-
digits: /\d+(_+\d+)*/,
|
|
139
|
-
octaldigits: /[0-7]+(_+[0-7]+)*/,
|
|
140
|
-
binarydigits: /[0-1]+(_+[0-1]+)*/,
|
|
141
|
-
hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,
|
|
142
|
-
// The main tokenizer for our languages
|
|
143
|
-
tokenizer: {
|
|
144
|
-
root: [
|
|
145
|
-
// Special keyword with a dash
|
|
146
|
-
["non-sealed", "keyword.non-sealed"],
|
|
147
|
-
// identifiers and keywords
|
|
148
|
-
[
|
|
149
|
-
/[a-zA-Z_$][\w$]*/,
|
|
150
|
-
{
|
|
151
|
-
cases: {
|
|
152
|
-
"@keywords": { token: "keyword.$0" },
|
|
153
|
-
"@default": "identifier"
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
],
|
|
157
|
-
// whitespace
|
|
158
|
-
{ include: "@whitespace" },
|
|
159
|
-
// delimiters and operators
|
|
160
|
-
[/[{}()\[\]]/, "@brackets"],
|
|
161
|
-
[/[<>](?!@symbols)/, "@brackets"],
|
|
162
|
-
[
|
|
163
|
-
/@symbols/,
|
|
164
|
-
{
|
|
165
|
-
cases: {
|
|
166
|
-
"@operators": "delimiter",
|
|
167
|
-
"@default": ""
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
],
|
|
171
|
-
// @ annotations.
|
|
172
|
-
[/@\s*[a-zA-Z_\$][\w\$]*/, "annotation"],
|
|
173
|
-
// numbers
|
|
174
|
-
[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/, "number.float"],
|
|
175
|
-
[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/, "number.float"],
|
|
176
|
-
[/0[xX](@hexdigits)[Ll]?/, "number.hex"],
|
|
177
|
-
[/0(@octaldigits)[Ll]?/, "number.octal"],
|
|
178
|
-
[/0[bB](@binarydigits)[Ll]?/, "number.binary"],
|
|
179
|
-
[/(@digits)[fFdD]/, "number.float"],
|
|
180
|
-
[/(@digits)[lL]?/, "number"],
|
|
181
|
-
// delimiter: after number because of .\d floats
|
|
182
|
-
[/[;,.]/, "delimiter"],
|
|
183
|
-
// strings
|
|
184
|
-
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
|
185
|
-
// non-teminated string
|
|
186
|
-
[/"""/, "string", "@multistring"],
|
|
187
|
-
[/"/, "string", "@string"],
|
|
188
|
-
// characters
|
|
189
|
-
[/'[^\\']'/, "string"],
|
|
190
|
-
[/(')(@escapes)(')/, ["string", "string.escape", "string"]],
|
|
191
|
-
[/'/, "string.invalid"]
|
|
192
|
-
],
|
|
193
|
-
whitespace: [
|
|
194
|
-
[/[ \t\r\n]+/, ""],
|
|
195
|
-
[/\/\*\*(?!\/)/, "comment.doc", "@javadoc"],
|
|
196
|
-
[/\/\*/, "comment", "@comment"],
|
|
197
|
-
[/\/\/.*$/, "comment"]
|
|
198
|
-
],
|
|
199
|
-
comment: [
|
|
200
|
-
[/[^\/*]+/, "comment"],
|
|
201
|
-
// [/\/\*/, 'comment', '@push' ], // nested comment not allowed :-(
|
|
202
|
-
// [/\/\*/, 'comment.invalid' ], // this breaks block comments in the shape of /* //*/
|
|
203
|
-
[/\*\//, "comment", "@pop"],
|
|
204
|
-
[/[\/*]/, "comment"]
|
|
205
|
-
],
|
|
206
|
-
//Identical copy of comment above, except for the addition of .doc
|
|
207
|
-
javadoc: [
|
|
208
|
-
[/[^\/*]+/, "comment.doc"],
|
|
209
|
-
// [/\/\*/, 'comment.doc', '@push' ], // nested comment not allowed :-(
|
|
210
|
-
[/\/\*/, "comment.doc.invalid"],
|
|
211
|
-
[/\*\//, "comment.doc", "@pop"],
|
|
212
|
-
[/[\/*]/, "comment.doc"]
|
|
213
|
-
],
|
|
214
|
-
string: [
|
|
215
|
-
[/[^\\"]+/, "string"],
|
|
216
|
-
[/@escapes/, "string.escape"],
|
|
217
|
-
[/\\./, "string.escape.invalid"],
|
|
218
|
-
[/"/, "string", "@pop"]
|
|
219
|
-
],
|
|
220
|
-
multistring: [
|
|
221
|
-
[/[^\\"]+/, "string"],
|
|
222
|
-
[/@escapes/, "string.escape"],
|
|
223
|
-
[/\\./, "string.escape.invalid"],
|
|
224
|
-
[/"""/, "string", "@pop"],
|
|
225
|
-
[/./, "string"]
|
|
226
|
-
]
|
|
227
|
-
}
|
|
228
|
-
};
|
|
229
|
-
export {
|
|
230
|
-
e as conf,
|
|
231
|
-
t as language
|
|
232
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./typescript-D-fgoGBJ.js"),t=e.conf,a={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","static","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:e.language.operators,symbols:e.language.symbols,escapes:e.language.escapes,digits:e.language.digits,octaldigits:e.language.octaldigits,binarydigits:e.language.binarydigits,hexdigits:e.language.hexdigits,regexpctl:e.language.regexpctl,regexpesc:e.language.regexpesc,tokenizer:e.language.tokenizer};exports.conf=t;exports.language=a;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { conf as t, language as e } from "./typescript-CL7lZGgL.mjs";
|
|
2
|
-
const i = t, o = {
|
|
3
|
-
// Set defaultToken to invalid to see what you do not tokenize yet
|
|
4
|
-
defaultToken: "invalid",
|
|
5
|
-
tokenPostfix: ".js",
|
|
6
|
-
keywords: [
|
|
7
|
-
"break",
|
|
8
|
-
"case",
|
|
9
|
-
"catch",
|
|
10
|
-
"class",
|
|
11
|
-
"continue",
|
|
12
|
-
"const",
|
|
13
|
-
"constructor",
|
|
14
|
-
"debugger",
|
|
15
|
-
"default",
|
|
16
|
-
"delete",
|
|
17
|
-
"do",
|
|
18
|
-
"else",
|
|
19
|
-
"export",
|
|
20
|
-
"extends",
|
|
21
|
-
"false",
|
|
22
|
-
"finally",
|
|
23
|
-
"for",
|
|
24
|
-
"from",
|
|
25
|
-
"function",
|
|
26
|
-
"get",
|
|
27
|
-
"if",
|
|
28
|
-
"import",
|
|
29
|
-
"in",
|
|
30
|
-
"instanceof",
|
|
31
|
-
"let",
|
|
32
|
-
"new",
|
|
33
|
-
"null",
|
|
34
|
-
"return",
|
|
35
|
-
"set",
|
|
36
|
-
"static",
|
|
37
|
-
"super",
|
|
38
|
-
"switch",
|
|
39
|
-
"symbol",
|
|
40
|
-
"this",
|
|
41
|
-
"throw",
|
|
42
|
-
"true",
|
|
43
|
-
"try",
|
|
44
|
-
"typeof",
|
|
45
|
-
"undefined",
|
|
46
|
-
"var",
|
|
47
|
-
"void",
|
|
48
|
-
"while",
|
|
49
|
-
"with",
|
|
50
|
-
"yield",
|
|
51
|
-
"async",
|
|
52
|
-
"await",
|
|
53
|
-
"of"
|
|
54
|
-
],
|
|
55
|
-
typeKeywords: [],
|
|
56
|
-
operators: e.operators,
|
|
57
|
-
symbols: e.symbols,
|
|
58
|
-
escapes: e.escapes,
|
|
59
|
-
digits: e.digits,
|
|
60
|
-
octaldigits: e.octaldigits,
|
|
61
|
-
binarydigits: e.binarydigits,
|
|
62
|
-
hexdigits: e.hexdigits,
|
|
63
|
-
regexpctl: e.regexpctl,
|
|
64
|
-
regexpesc: e.regexpesc,
|
|
65
|
-
tokenizer: e.tokenizer
|
|
66
|
-
};
|
|
67
|
-
export {
|
|
68
|
-
i as conf,
|
|
69
|
-
o as language
|
|
70
|
-
};
|