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
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
brackets: [
|
|
3
|
-
["{", "}"],
|
|
4
|
-
["[", "]"],
|
|
5
|
-
["(", ")"]
|
|
6
|
-
],
|
|
7
|
-
autoClosingPairs: [
|
|
8
|
-
{ open: "{", close: "}" },
|
|
9
|
-
{ open: "[", close: "]" },
|
|
10
|
-
{ open: "(", close: ")" },
|
|
11
|
-
{ open: "<", close: ">", notIn: ["string"] }
|
|
12
|
-
],
|
|
13
|
-
surroundingPairs: [
|
|
14
|
-
{ open: "(", close: ")" },
|
|
15
|
-
{ open: "[", close: "]" },
|
|
16
|
-
{ open: "`", close: "`" }
|
|
17
|
-
],
|
|
18
|
-
folding: {
|
|
19
|
-
markers: {
|
|
20
|
-
start: new RegExp("^\\s*<!--\\s*#?region\\b.*-->"),
|
|
21
|
-
end: new RegExp("^\\s*<!--\\s*#?endregion\\b.*-->")
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}, n = {
|
|
25
|
-
defaultToken: "",
|
|
26
|
-
tokenPostfix: ".rst",
|
|
27
|
-
control: /[\\`*_\[\]{}()#+\-\.!]/,
|
|
28
|
-
escapes: /\\(?:@control)/,
|
|
29
|
-
empty: [
|
|
30
|
-
"area",
|
|
31
|
-
"base",
|
|
32
|
-
"basefont",
|
|
33
|
-
"br",
|
|
34
|
-
"col",
|
|
35
|
-
"frame",
|
|
36
|
-
"hr",
|
|
37
|
-
"img",
|
|
38
|
-
"input",
|
|
39
|
-
"isindex",
|
|
40
|
-
"link",
|
|
41
|
-
"meta",
|
|
42
|
-
"param"
|
|
43
|
-
],
|
|
44
|
-
alphanumerics: /[A-Za-z0-9]/,
|
|
45
|
-
simpleRefNameWithoutBq: /(?:@alphanumerics[-_+:.]*@alphanumerics)+|(?:@alphanumerics+)/,
|
|
46
|
-
simpleRefName: /(?:`@phrase`|@simpleRefNameWithoutBq)/,
|
|
47
|
-
phrase: /@simpleRefNameWithoutBq(?:\s@simpleRefNameWithoutBq)*/,
|
|
48
|
-
citationName: /[A-Za-z][A-Za-z0-9-_.]*/,
|
|
49
|
-
blockLiteralStart: /(?:[!"#$%&'()*+,-./:;<=>?@\[\]^_`{|}~]|[\s])/,
|
|
50
|
-
precedingChars: /(?:[ -:/'"<([{])/,
|
|
51
|
-
followingChars: /(?:[ -.,:;!?/'")\]}>]|$)/,
|
|
52
|
-
punctuation: /(=|-|~|`|#|"|\^|\+|\*|:|\.|'|_|\+)/,
|
|
53
|
-
tokenizer: {
|
|
54
|
-
root: [
|
|
55
|
-
//sections
|
|
56
|
-
[/^(@punctuation{3,}$){1,1}?/, "keyword"],
|
|
57
|
-
//line-blocks
|
|
58
|
-
//No rules on it
|
|
59
|
-
//bullet-lists
|
|
60
|
-
[/^\s*([\*\-+‣•]|[a-zA-Z0-9]+\.|\([a-zA-Z0-9]+\)|[a-zA-Z0-9]+\))\s/, "keyword"],
|
|
61
|
-
//literal-blocks
|
|
62
|
-
[/([ ]::)\s*$/, "keyword", "@blankLineOfLiteralBlocks"],
|
|
63
|
-
[/(::)\s*$/, "keyword", "@blankLineOfLiteralBlocks"],
|
|
64
|
-
{ include: "@tables" },
|
|
65
|
-
{ include: "@explicitMarkupBlocks" },
|
|
66
|
-
{ include: "@inlineMarkup" }
|
|
67
|
-
],
|
|
68
|
-
explicitMarkupBlocks: [
|
|
69
|
-
//citations
|
|
70
|
-
{ include: "@citations" },
|
|
71
|
-
//footnotes
|
|
72
|
-
{ include: "@footnotes" },
|
|
73
|
-
//directives
|
|
74
|
-
[
|
|
75
|
-
/^(\.\.\s)(@simpleRefName)(::\s)(.*)$/,
|
|
76
|
-
[{ token: "", next: "subsequentLines" }, "keyword", "", ""]
|
|
77
|
-
],
|
|
78
|
-
//hyperlink-targets
|
|
79
|
-
[
|
|
80
|
-
/^(\.\.)(\s+)(_)(@simpleRefName)(:)(\s+)(.*)/,
|
|
81
|
-
[{ token: "", next: "hyperlinks" }, "", "", "string.link", "", "", "string.link"]
|
|
82
|
-
],
|
|
83
|
-
//anonymous-hyperlinks
|
|
84
|
-
[
|
|
85
|
-
/^((?:(?:\.\.)(?:\s+))?)(__)(:)(\s+)(.*)/,
|
|
86
|
-
[{ token: "", next: "subsequentLines" }, "", "", "", "string.link"]
|
|
87
|
-
],
|
|
88
|
-
[/^(__\s+)(.+)/, ["", "string.link"]],
|
|
89
|
-
//substitution-definitions
|
|
90
|
-
[
|
|
91
|
-
/^(\.\.)( \|)([^| ]+[^|]*[^| ]*)(\| )(@simpleRefName)(:: .*)/,
|
|
92
|
-
[{ token: "", next: "subsequentLines" }, "", "string.link", "", "keyword", ""],
|
|
93
|
-
"@rawBlocks"
|
|
94
|
-
],
|
|
95
|
-
[/(\|)([^| ]+[^|]*[^| ]*)(\|_{0,2})/, ["", "string.link", ""]],
|
|
96
|
-
//comments
|
|
97
|
-
[/^(\.\.)([ ].*)$/, [{ token: "", next: "@comments" }, "comment"]]
|
|
98
|
-
],
|
|
99
|
-
inlineMarkup: [
|
|
100
|
-
{ include: "@citationsReference" },
|
|
101
|
-
{ include: "@footnotesReference" },
|
|
102
|
-
//hyperlink-references
|
|
103
|
-
[/(@simpleRefName)(_{1,2})/, ["string.link", ""]],
|
|
104
|
-
//embedded-uris-and-aliases
|
|
105
|
-
[/(`)([^<`]+\s+)(<)(.*)(>)(`)(_)/, ["", "string.link", "", "string.link", "", "", ""]],
|
|
106
|
-
//emphasis
|
|
107
|
-
[/\*\*([^\\*]|\*(?!\*))+\*\*/, "strong"],
|
|
108
|
-
[/\*[^*]+\*/, "emphasis"],
|
|
109
|
-
//inline-literals
|
|
110
|
-
[/(``)((?:[^`]|\`(?!`))+)(``)/, ["", "keyword", ""]],
|
|
111
|
-
[/(__\s+)(.+)/, ["", "keyword"]],
|
|
112
|
-
//interpreted-text
|
|
113
|
-
[/(:)((?:@simpleRefNameWithoutBq)?)(:`)([^`]+)(`)/, ["", "keyword", "", "", ""]],
|
|
114
|
-
[/(`)([^`]+)(`:)((?:@simpleRefNameWithoutBq)?)(:)/, ["", "", "", "keyword", ""]],
|
|
115
|
-
[/(`)([^`]+)(`)/, ""],
|
|
116
|
-
//inline-internal-targets
|
|
117
|
-
[/(_`)(@phrase)(`)/, ["", "string.link", ""]]
|
|
118
|
-
],
|
|
119
|
-
citations: [
|
|
120
|
-
[
|
|
121
|
-
/^(\.\.\s+\[)((?:@citationName))(\]\s+)(.*)/,
|
|
122
|
-
[{ token: "", next: "@subsequentLines" }, "string.link", "", ""]
|
|
123
|
-
]
|
|
124
|
-
],
|
|
125
|
-
citationsReference: [[/(\[)(@citationName)(\]_)/, ["", "string.link", ""]]],
|
|
126
|
-
footnotes: [
|
|
127
|
-
[
|
|
128
|
-
/^(\.\.\s+\[)((?:[0-9]+))(\]\s+.*)/,
|
|
129
|
-
[{ token: "", next: "@subsequentLines" }, "string.link", ""]
|
|
130
|
-
],
|
|
131
|
-
[
|
|
132
|
-
/^(\.\.\s+\[)((?:#@simpleRefName?))(\]\s+)(.*)/,
|
|
133
|
-
[{ token: "", next: "@subsequentLines" }, "string.link", "", ""]
|
|
134
|
-
],
|
|
135
|
-
[
|
|
136
|
-
/^(\.\.\s+\[)((?:\*))(\]\s+)(.*)/,
|
|
137
|
-
[{ token: "", next: "@subsequentLines" }, "string.link", "", ""]
|
|
138
|
-
]
|
|
139
|
-
],
|
|
140
|
-
footnotesReference: [
|
|
141
|
-
[/(\[)([0-9]+)(\])(_)/, ["", "string.link", "", ""]],
|
|
142
|
-
[/(\[)(#@simpleRefName?)(\])(_)/, ["", "string.link", "", ""]],
|
|
143
|
-
[/(\[)(\*)(\])(_)/, ["", "string.link", "", ""]]
|
|
144
|
-
],
|
|
145
|
-
blankLineOfLiteralBlocks: [
|
|
146
|
-
[/^$/, "", "@subsequentLinesOfLiteralBlocks"],
|
|
147
|
-
[/^.*$/, "", "@pop"]
|
|
148
|
-
],
|
|
149
|
-
subsequentLinesOfLiteralBlocks: [
|
|
150
|
-
[/(@blockLiteralStart+)(.*)/, ["keyword", ""]],
|
|
151
|
-
[/^(?!blockLiteralStart)/, "", "@popall"]
|
|
152
|
-
],
|
|
153
|
-
subsequentLines: [
|
|
154
|
-
[/^[\s]+.*/, ""],
|
|
155
|
-
[/^(?!\s)/, "", "@pop"]
|
|
156
|
-
],
|
|
157
|
-
hyperlinks: [
|
|
158
|
-
[/^[\s]+.*/, "string.link"],
|
|
159
|
-
[/^(?!\s)/, "", "@pop"]
|
|
160
|
-
],
|
|
161
|
-
comments: [
|
|
162
|
-
[/^[\s]+.*/, "comment"],
|
|
163
|
-
[/^(?!\s)/, "", "@pop"]
|
|
164
|
-
],
|
|
165
|
-
tables: [
|
|
166
|
-
[/\+-[+-]+/, "keyword"],
|
|
167
|
-
[/\+=[+=]+/, "keyword"]
|
|
168
|
-
]
|
|
169
|
-
}
|
|
170
|
-
};
|
|
171
|
-
export {
|
|
172
|
-
e as conf,
|
|
173
|
-
n as language
|
|
174
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">",notIn:["string"]}],surroundingPairs:[{open:"(",close:")"},{open:"[",close:"]"},{open:"`",close:"`"}],folding:{markers:{start:new RegExp("^\\s*<!--\\s*#?region\\b.*-->"),end:new RegExp("^\\s*<!--\\s*#?endregion\\b.*-->")}}},n={defaultToken:"",tokenPostfix:".rst",control:/[\\`*_\[\]{}()#+\-\.!]/,escapes:/\\(?:@control)/,empty:["area","base","basefont","br","col","frame","hr","img","input","isindex","link","meta","param"],alphanumerics:/[A-Za-z0-9]/,simpleRefNameWithoutBq:/(?:@alphanumerics[-_+:.]*@alphanumerics)+|(?:@alphanumerics+)/,simpleRefName:/(?:`@phrase`|@simpleRefNameWithoutBq)/,phrase:/@simpleRefNameWithoutBq(?:\s@simpleRefNameWithoutBq)*/,citationName:/[A-Za-z][A-Za-z0-9-_.]*/,blockLiteralStart:/(?:[!"#$%&'()*+,-./:;<=>?@\[\]^_`{|}~]|[\s])/,precedingChars:/(?:[ -:/'"<([{])/,followingChars:/(?:[ -.,:;!?/'")\]}>]|$)/,punctuation:/(=|-|~|`|#|"|\^|\+|\*|:|\.|'|_|\+)/,tokenizer:{root:[[/^(@punctuation{3,}$){1,1}?/,"keyword"],[/^\s*([\*\-+‣•]|[a-zA-Z0-9]+\.|\([a-zA-Z0-9]+\)|[a-zA-Z0-9]+\))\s/,"keyword"],[/([ ]::)\s*$/,"keyword","@blankLineOfLiteralBlocks"],[/(::)\s*$/,"keyword","@blankLineOfLiteralBlocks"],{include:"@tables"},{include:"@explicitMarkupBlocks"},{include:"@inlineMarkup"}],explicitMarkupBlocks:[{include:"@citations"},{include:"@footnotes"},[/^(\.\.\s)(@simpleRefName)(::\s)(.*)$/,[{token:"",next:"subsequentLines"},"keyword","",""]],[/^(\.\.)(\s+)(_)(@simpleRefName)(:)(\s+)(.*)/,[{token:"",next:"hyperlinks"},"","","string.link","","","string.link"]],[/^((?:(?:\.\.)(?:\s+))?)(__)(:)(\s+)(.*)/,[{token:"",next:"subsequentLines"},"","","","string.link"]],[/^(__\s+)(.+)/,["","string.link"]],[/^(\.\.)( \|)([^| ]+[^|]*[^| ]*)(\| )(@simpleRefName)(:: .*)/,[{token:"",next:"subsequentLines"},"","string.link","","keyword",""],"@rawBlocks"],[/(\|)([^| ]+[^|]*[^| ]*)(\|_{0,2})/,["","string.link",""]],[/^(\.\.)([ ].*)$/,[{token:"",next:"@comments"},"comment"]]],inlineMarkup:[{include:"@citationsReference"},{include:"@footnotesReference"},[/(@simpleRefName)(_{1,2})/,["string.link",""]],[/(`)([^<`]+\s+)(<)(.*)(>)(`)(_)/,["","string.link","","string.link","","",""]],[/\*\*([^\\*]|\*(?!\*))+\*\*/,"strong"],[/\*[^*]+\*/,"emphasis"],[/(``)((?:[^`]|\`(?!`))+)(``)/,["","keyword",""]],[/(__\s+)(.+)/,["","keyword"]],[/(:)((?:@simpleRefNameWithoutBq)?)(:`)([^`]+)(`)/,["","keyword","","",""]],[/(`)([^`]+)(`:)((?:@simpleRefNameWithoutBq)?)(:)/,["","","","keyword",""]],[/(`)([^`]+)(`)/,""],[/(_`)(@phrase)(`)/,["","string.link",""]]],citations:[[/^(\.\.\s+\[)((?:@citationName))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]]],citationsReference:[[/(\[)(@citationName)(\]_)/,["","string.link",""]]],footnotes:[[/^(\.\.\s+\[)((?:[0-9]+))(\]\s+.*)/,[{token:"",next:"@subsequentLines"},"string.link",""]],[/^(\.\.\s+\[)((?:#@simpleRefName?))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]],[/^(\.\.\s+\[)((?:\*))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]]],footnotesReference:[[/(\[)([0-9]+)(\])(_)/,["","string.link","",""]],[/(\[)(#@simpleRefName?)(\])(_)/,["","string.link","",""]],[/(\[)(\*)(\])(_)/,["","string.link","",""]]],blankLineOfLiteralBlocks:[[/^$/,"","@subsequentLinesOfLiteralBlocks"],[/^.*$/,"","@pop"]],subsequentLinesOfLiteralBlocks:[[/(@blockLiteralStart+)(.*)/,["keyword",""]],[/^(?!blockLiteralStart)/,"","@popall"]],subsequentLines:[[/^[\s]+.*/,""],[/^(?!\s)/,"","@pop"]],hyperlinks:[[/^[\s]+.*/,"string.link"],[/^(?!\s)/,"","@pop"]],comments:[[/^[\s]+.*/,"comment"],[/^(?!\s)/,"","@pop"]],tables:[[/\+-[+-]+/,"keyword"],[/\+=[+=]+/,"keyword"]]}};exports.conf=e;exports.language=n;
|
package/dist/ruby-BPqQ0TOE.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={comments:{lineComment:"#",blockComment:["=begin","=end"]},brackets:[["(",")"],["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],indentationRules:{increaseIndentPattern:new RegExp(`^\\s*((begin|class|(private|protected)\\s+def|def|else|elsif|ensure|for|if|module|rescue|unless|until|when|while|case)|([^#]*\\sdo\\b)|([^#]*=\\s*(case|if|unless)))\\b([^#\\{;]|("|'|/).*\\4)*(#.*)?$`),decreaseIndentPattern:new RegExp("^\\s*([}\\]]([,)]?\\s*(#|$)|\\.[a-zA-Z_]\\w*\\b)|(end|rescue|ensure|else|elsif|when)\\b)")}},t={tokenPostfix:".ruby",keywords:["__LINE__","__ENCODING__","__FILE__","BEGIN","END","alias","and","begin","break","case","class","def","defined?","do","else","elsif","end","ensure","for","false","if","in","module","next","nil","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield"],keywordops:["::","..","...","?",":","=>"],builtins:["require","public","private","include","extend","attr_reader","protected","private_class_method","protected_class_method","new"],declarations:["module","class","def","case","do","begin","for","if","while","until","unless"],linedecls:["def","case","do","begin","for","if","while","until","unless"],operators:["^","&","|","<=>","==","===","!~","=~",">",">=","<","<=","<<",">>","+","-","*","/","%","**","~","+@","-@","[]","[]=","`","+=","-=","*=","**=","/=","^=","%=","<<=",">>=","&=","&&=","||=","|="],brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],symbols:/[=><!~?:&|+\-*\/\^%\.]+/,escape:/(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,escapes:/\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/,decpart:/\d(_?\d)*/,decimal:/0|@decpart/,delim:/[^a-zA-Z0-9\s\n\r]/,heredelim:/(?:\w+|'[^']*'|"[^"]*"|`[^`]*`)/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[AzZbBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})?/,tokenizer:{root:[[/^(\s*)([a-z_]\w*[!?=]?)/,["white",{cases:{"for|until|while":{token:"keyword.$2",next:"@dodecl.$2"},"@declarations":{token:"keyword.$2",next:"@root.$2"},end:{token:"keyword.$S2",next:"@pop"},"@keywords":"keyword","@builtins":"predefined","@default":"identifier"}}]],[/[a-z_]\w*[!?=]?/,{cases:{"if|unless|while|until":{token:"keyword.$0x",next:"@modifier.$0x"},for:{token:"keyword.$2",next:"@dodecl.$2"},"@linedecls":{token:"keyword.$0",next:"@root.$0"},end:{token:"keyword.$S2",next:"@pop"},"@keywords":"keyword","@builtins":"predefined","@default":"identifier"}}],[/[A-Z][\w]*[!?=]?/,"constructor.identifier"],[/\$[\w]*/,"global.constant"],[/@[\w]*/,"namespace.instance.identifier"],[/@@@[\w]*/,"namespace.class.identifier"],[/<<[-~](@heredelim).*/,{token:"string.heredoc.delimiter",next:"@heredoc.$1"}],[/[ \t\r\n]+<<(@heredelim).*/,{token:"string.heredoc.delimiter",next:"@heredoc.$1"}],[/^<<(@heredelim).*/,{token:"string.heredoc.delimiter",next:"@heredoc.$1"}],{include:"@whitespace"},[/"/,{token:"string.d.delim",next:'@dstring.d."'}],[/'/,{token:"string.sq.delim",next:"@sstring.sq"}],[/%([rsqxwW]|Q?)/,{token:"@rematch",next:"pstring"}],[/`/,{token:"string.x.delim",next:"@dstring.x.`"}],[/:(\w|[$@])\w*[!?=]?/,"string.s"],[/:"/,{token:"string.s.delim",next:'@dstring.s."'}],[/:'/,{token:"string.s.delim",next:"@sstring.s"}],[/\/(?=(\\\/|[^\/\n])+\/)/,{token:"regexp.delim",next:"@regexp"}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@keywordops":"keyword","@operators":"operator","@default":""}}],[/[;,]/,"delimiter"],[/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/,"number.hex"],[/0[_oO][0-7](_?[0-7])*/,"number.octal"],[/0[bB][01](_?[01])*/,"number.binary"],[/0[dD]@decpart/,"number"],[/@decimal((\.@decpart)?([eE][\-+]?@decpart)?)/,{cases:{$1:"number.float","@default":"number"}}]],dodecl:[[/^/,{token:"",switchTo:"@root.$S2"}],[/[a-z_]\w*[!?=]?/,{cases:{end:{token:"keyword.$S2",next:"@pop"},do:{token:"keyword",switchTo:"@root.$S2"},"@linedecls":{token:"@rematch",switchTo:"@root.$S2"},"@keywords":"keyword","@builtins":"predefined","@default":"identifier"}}],{include:"@root"}],modifier:[[/^/,"","@pop"],[/[a-z_]\w*[!?=]?/,{cases:{end:{token:"keyword.$S2",next:"@pop"},"then|else|elsif|do":{token:"keyword",switchTo:"@root.$S2"},"@linedecls":{token:"@rematch",switchTo:"@root.$S2"},"@keywords":"keyword","@builtins":"predefined","@default":"identifier"}}],{include:"@root"}],sstring:[[/[^\\']+/,"string.$S2"],[/\\\\|\\'|\\$/,"string.$S2.escape"],[/\\./,"string.$S2.invalid"],[/'/,{token:"string.$S2.delim",next:"@pop"}]],dstring:[[/[^\\`"#]+/,"string.$S2"],[/#/,"string.$S2.escape","@interpolated"],[/\\$/,"string.$S2.escape"],[/@escapes/,"string.$S2.escape"],[/\\./,"string.$S2.escape.invalid"],[/[`"]/,{cases:{"$#==$S3":{token:"string.$S2.delim",next:"@pop"},"@default":"string.$S2"}}]],heredoc:[[/^(\s*)(@heredelim)$/,{cases:{"$2==$S2":["string.heredoc",{token:"string.heredoc.delimiter",next:"@pop"}],"@default":["string.heredoc","string.heredoc"]}}],[/.*/,"string.heredoc"]],interpolated:[[/\$\w*/,"global.constant","@pop"],[/@\w*/,"namespace.class.identifier","@pop"],[/@@@\w*/,"namespace.instance.identifier","@pop"],[/[{]/,{token:"string.escape.curly",switchTo:"@interpolated_compound"}],["","","@pop"]],interpolated_compound:[[/[}]/,{token:"string.escape.curly",next:"@pop"}],{include:"@root"}],pregexp:[{include:"@whitespace"},[/[^\(\{\[\\]/,{cases:{"$#==$S3":{token:"regexp.delim",next:"@pop"},"$#==$S2":{token:"regexp.delim",next:"@push"},"~[)}\\]]":"@brackets.regexp.escape.control","~@regexpctl":"regexp.escape.control","@default":"regexp"}}],{include:"@regexcontrol"}],regexp:[{include:"@regexcontrol"},[/[^\\\/]/,"regexp"],["/[ixmp]*",{token:"regexp.delim"},"@pop"]],regexcontrol:[[/(\{)(\d+(?:,\d*)?)(\})/,["@brackets.regexp.escape.control","regexp.escape.control","@brackets.regexp.escape.control"]],[/(\[)(\^?)/,["@brackets.regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?[:=!])/,["@brackets.regexp.escape.control","regexp.escape.control"]],[/\(\?#/,{token:"regexp.escape.control",next:"@regexpcomment"}],[/[()]/,"@brackets.regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/\\$/,"regexp.escape"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/#/,"regexp.escape","@interpolated"]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/\\$/,"regexp.escape"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,"@brackets.regexp.escape.control","@pop"]],regexpcomment:[[/[^)]+/,"comment"],[/\)/,{token:"regexp.escape.control",next:"@pop"}]],pstring:[[/%([qws])\(/,{token:"string.$1.delim",switchTo:"@qstring.$1.(.)"}],[/%([qws])\[/,{token:"string.$1.delim",switchTo:"@qstring.$1.[.]"}],[/%([qws])\{/,{token:"string.$1.delim",switchTo:"@qstring.$1.{.}"}],[/%([qws])</,{token:"string.$1.delim",switchTo:"@qstring.$1.<.>"}],[/%([qws])(@delim)/,{token:"string.$1.delim",switchTo:"@qstring.$1.$2.$2"}],[/%r\(/,{token:"regexp.delim",switchTo:"@pregexp.(.)"}],[/%r\[/,{token:"regexp.delim",switchTo:"@pregexp.[.]"}],[/%r\{/,{token:"regexp.delim",switchTo:"@pregexp.{.}"}],[/%r</,{token:"regexp.delim",switchTo:"@pregexp.<.>"}],[/%r(@delim)/,{token:"regexp.delim",switchTo:"@pregexp.$1.$1"}],[/%(x|W|Q?)\(/,{token:"string.$1.delim",switchTo:"@qqstring.$1.(.)"}],[/%(x|W|Q?)\[/,{token:"string.$1.delim",switchTo:"@qqstring.$1.[.]"}],[/%(x|W|Q?)\{/,{token:"string.$1.delim",switchTo:"@qqstring.$1.{.}"}],[/%(x|W|Q?)</,{token:"string.$1.delim",switchTo:"@qqstring.$1.<.>"}],[/%(x|W|Q?)(@delim)/,{token:"string.$1.delim",switchTo:"@qqstring.$1.$2.$2"}],[/%([rqwsxW]|Q?)./,{token:"invalid",next:"@pop"}],[/./,{token:"invalid",next:"@pop"}]],qstring:[[/\\$/,"string.$S2.escape"],[/\\./,"string.$S2.escape"],[/./,{cases:{"$#==$S4":{token:"string.$S2.delim",next:"@pop"},"$#==$S3":{token:"string.$S2.delim",next:"@push"},"@default":"string.$S2"}}]],qqstring:[[/#/,"string.$S2.escape","@interpolated"],{include:"@qstring"}],whitespace:[[/[ \t\r\n]+/,""],[/^\s*=begin\b/,"comment","@comment"],[/#.*$/,"comment"]],comment:[[/[^=]+/,"comment"],[/^\s*=begin\b/,"comment.invalid"],[/^\s*=end\b.*/,"comment","@pop"],[/[=]/,"comment"]]}};exports.conf=e;exports.language=t;
|