@oscloudlab/knowledge-card 0.0.1 → 0.0.2
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/abap-bNFqRLO1.js +84 -0
- package/dist/abnf-hvXtkKLY.js +87 -0
- package/dist/actionscript-6i80VbAv.js +43 -0
- package/dist/ada-CiSKRw34.js +52 -0
- package/dist/agda-BELchEdZ.js +56 -0
- package/dist/al-DkPZllof.js +56 -0
- package/dist/antlr4-D6U2qvIr.js +96 -0
- package/dist/apacheconf-DoADUQkC.js +80 -0
- package/dist/apex-Dwxgykqz.js +104 -0
- package/dist/apl-n43gQAL3.js +65 -0
- package/dist/applescript-DUNzhl2t.js +50 -0
- package/dist/aql-BNnsomU8.js +82 -0
- package/dist/arduino-Ctiiir5A.js +41 -0
- package/dist/arff-CF3A9Ff-.js +43 -0
- package/dist/asciidoc-BORHAu3L.js +240 -0
- package/dist/asm6502-OhJaS22O.js +62 -0
- package/dist/asmatmel-CG3mJBJs.js +74 -0
- package/dist/aspnet-Bgu9cVxS.js +83 -0
- package/dist/autohotkey-BMzF8w3W.js +64 -0
- package/dist/autoit-BUz7W_A-.js +67 -0
- package/dist/avisynth-D_5DsX9W.js +195 -0
- package/dist/avro-idl-DXBF-8pT.js +74 -0
- package/dist/bash-0-vitIuH.js +223 -0
- package/dist/bash-CmPTK8K6.js +26 -0
- package/dist/basic-CBrKUqQp.js +28 -0
- package/dist/basic-CgjK_kM4.js +26 -0
- package/dist/batch-DDuJqYDJ.js +125 -0
- package/dist/bbcode-BBBJW4h9.js +60 -0
- package/dist/bicep-B7Vet2aR.js +102 -0
- package/dist/birb-DPs12VRI.js +53 -0
- package/dist/bison-BKvEoKEG.js +73 -0
- package/dist/bnf-CaE0Bt3T.js +52 -0
- package/dist/brainfuck-GdsepcND.js +53 -0
- package/dist/brightscript-CaQ-B4pE.js +76 -0
- package/dist/bro-C_rmjGgn.js +60 -0
- package/dist/bsl-DQhyt9j4.js +101 -0
- package/dist/c-D8-laUL_.js +26 -0
- package/dist/c-b2c4WJSm.js +83 -0
- package/dist/cfscript-DcwVkFDX.js +71 -0
- package/dist/chaiscript-C1jdPAs0.js +89 -0
- package/dist/cil-C54xDxMg.js +52 -0
- package/dist/clike-D8ff3B0t.js +61 -0
- package/dist/clojure-BtKUzyKV.js +63 -0
- package/dist/cmake-CcFmEv5M.js +62 -0
- package/dist/cobol-SnYz3b9P.js +82 -0
- package/dist/coffeescript-CKJzYVhc.js +110 -0
- package/dist/concurnas-C6YKMKIG.js +90 -0
- package/dist/coq-AH1nKVcq.js +81 -0
- package/dist/core-CcwoL92f.js +1712 -0
- package/dist/cpp-Bh1PKWEj.js +26 -0
- package/dist/cpp-C0j-5811.js +115 -0
- package/dist/crystal-ByWjq0Om.js +87 -0
- package/dist/csharp-BmDeN1AH.js +388 -0
- package/dist/csharp-C-RIlwgF.js +26 -0
- package/dist/cshtml-BX2903vs.js +134 -0
- package/dist/csp-BKqyZN9w.js +90 -0
- package/dist/css-9KZNpeR_.js +90 -0
- package/dist/css-extras-DWWoGQa1.js +139 -0
- package/dist/csv-6jawsFvm.js +37 -0
- package/dist/cypher-GT5Ln_K4.js +65 -0
- package/dist/d-DQuNeOB7.js +109 -0
- package/dist/dart-CHER8X1l.js +101 -0
- package/dist/dataweave-DL_Y2LqP.js +73 -0
- package/dist/dax-D27J9qU6.js +60 -0
- package/dist/dhall-C-Dtjrdj.js +95 -0
- package/dist/diff-Dg1kV9wC.js +78 -0
- package/dist/django-LEJ_YyjH.js +81 -0
- package/dist/dns-zone-file-CX7rXdX2.js +64 -0
- package/dist/docker-CtY3JCLx.js +127 -0
- package/dist/dot-od_DZdpT.js +102 -0
- package/dist/ebnf-DIuzViAe.js +53 -0
- package/dist/editorconfig-CX02cRV5.js +60 -0
- package/dist/eiffel-D3XUiBw2.js +67 -0
- package/dist/ejs-2AfMOM5A.js +58 -0
- package/dist/elixir-722y_YPp.js +129 -0
- package/dist/elm-CIyhdE5y.js +78 -0
- package/dist/erb-B4chbVqA.js +60 -0
- package/dist/erlang-DxizlpkP.js +76 -0
- package/dist/etlua-D_9hun9v.js +58 -0
- package/dist/excel-formula-CmpI_82m.js +95 -0
- package/dist/factor-krg_8lb-.js +949 -0
- package/dist/false-B2gdCewG.js +60 -0
- package/dist/firestore-security-rules-xige90gq.js +67 -0
- package/dist/flow-bpD4sbhm.js +57 -0
- package/dist/fortran-B4crZzNk.js +73 -0
- package/dist/fsharp-BnvVN9HC.js +105 -0
- package/dist/ftl-BoWDVp6s.js +146 -0
- package/dist/gap-DxJ82BxA.js +78 -0
- package/dist/gcode-u6kBGAFD.js +49 -0
- package/dist/gdscript-DvuFm0WL.js +60 -0
- package/dist/gedcom-D6YNHC5R.js +61 -0
- package/dist/gherkin-DhC07ENE.js +115 -0
- package/dist/git-5vwNu_fL.js +96 -0
- package/dist/glsl-BGzQvWQa.js +39 -0
- package/dist/gml-DQQsqa0X.js +40 -0
- package/dist/gn-Bz3fehJS.js +76 -0
- package/dist/go-DQVNbr0F.js +57 -0
- package/dist/go-module-DAdBkEV6.js +55 -0
- package/dist/graphql-b5aI1fau.js +154 -0
- package/dist/groovy-C4Zi8h0f.js +82 -0
- package/dist/haml-B9jL77OH.js +172 -0
- package/dist/handlebars-BWszzUxR.js +74 -0
- package/dist/haskell-BrIvnyGx.js +26 -0
- package/dist/haskell-DR6jYji5.js +75 -0
- package/dist/haxe-DUpmVd5P.js +105 -0
- package/dist/hcl-CLqVpYtA.js +93 -0
- package/dist/hlsl-CsYJVSWg.js +55 -0
- package/dist/hoon-D0TgxHvB.js +47 -0
- package/dist/hpkp-BiU-mQjG.js +41 -0
- package/dist/hsts-DE54dR1b.js +41 -0
- package/dist/http-CfgOm4UI.js +155 -0
- package/dist/ichigojam-CVZ6Aj_t.js +46 -0
- package/dist/icon-CekiVVmc.js +53 -0
- package/dist/icu-message-format-CJA9loKb.js +165 -0
- package/dist/idris-KG9ztadM.js +51 -0
- package/dist/iecst-wFMMjMpf.js +65 -0
- package/dist/ignore-Byv4NN_B.js +51 -0
- package/dist/index-Sj89RFCY.js +136569 -0
- package/dist/index.esm.js +2 -683
- package/dist/index.umd.js +1611 -15
- package/dist/inform7-YsL-LiaC.js +90 -0
- package/dist/ini-ChNiYeuM.js +73 -0
- package/dist/io-BzLClKN_.js +55 -0
- package/dist/j-BuLAn7Gf.js +61 -0
- package/dist/java-3PJ6FLyt.js +26 -0
- package/dist/java-DYIb7l3j.js +98 -0
- package/dist/javadoc-BnSaiIyg.js +118 -0
- package/dist/javadoclike-BSqXhy54.js +26 -0
- package/dist/javadoclike-CHbTYI14.js +59 -0
- package/dist/javascript-Cl708kfq.js +152 -0
- package/dist/javastacktrace-DVGIqwxN.js +167 -0
- package/dist/jexl-DMjq6Vaw.js +47 -0
- package/dist/jolie-DXoSR52A.js +72 -0
- package/dist/jq-Dp1c5kuj.js +100 -0
- package/dist/js-extras-DJfB1MC8.js +150 -0
- package/dist/js-templates--GrCX2F1.js +197 -0
- package/dist/jsdoc-vErSu9Cr.js +116 -0
- package/dist/json-BW8KBIeJ.js +35 -0
- package/dist/json-BefNJCW-.js +26 -0
- package/dist/json5-CsdIXkOZ.js +56 -0
- package/dist/jsonp-Dz_5Lt-E.js +41 -0
- package/dist/jsstacktrace-DbBQ3Cv7.js +74 -0
- package/dist/jsx-Bv5_R7Yd.js +26 -0
- package/dist/jsx-FTe7XA1B.js +77 -0
- package/dist/julia-CoYGw2IR.js +68 -0
- package/dist/keepalived-CPWdwddz.js +81 -0
- package/dist/keyman-DNslP0Yy.js +76 -0
- package/dist/kotlin-CbZgjbyh.js +108 -0
- package/dist/kumir-Q_jLwxfZ.js +120 -0
- package/dist/kusto-dM9uOfWk.js +71 -0
- package/dist/latex-Bfeq39tO.js +92 -0
- package/dist/latte-CFxOlcdj.js +101 -0
- package/dist/less-DwfFB3qp.js +75 -0
- package/dist/lilypond-DaH_baew.js +104 -0
- package/dist/liquid-5rAVI9Ad.js +97 -0
- package/dist/lisp-Btc3xid7.js +194 -0
- package/dist/livescript-DQvJc3cA.js +150 -0
- package/dist/llvm-B7k0U20m.js +52 -0
- package/dist/log-B7ulCZCI.js +133 -0
- package/dist/lolcode-BEEMlfuU.js +81 -0
- package/dist/lua-BggcDXQp.js +31 -0
- package/dist/lua-D-T62TZ5.js +26 -0
- package/dist/magma-DAN3ZGAI.js +63 -0
- package/dist/makefile-Bjl-N6S3.js +63 -0
- package/dist/markdown-6Q2QSFJe.js +355 -0
- package/dist/markup-Bwuswjib.js +194 -0
- package/dist/markup-templating-BLspI5oq.js +26 -0
- package/dist/markup-templating-CVTxtFGH.js +77 -0
- package/dist/matlab-Bim6HLuO.js +46 -0
- package/dist/maxscript-BJqnafAC.js +97 -0
- package/dist/mel-C4iJe_aZ.js +74 -0
- package/dist/mermaid-DbKsw5IU.js +137 -0
- package/dist/mizar-DdUuEnQ0.js +45 -0
- package/dist/mongodb-C7OZqIiL.js +321 -0
- package/dist/monkey-CFQNpGhn.js +61 -0
- package/dist/moonscript-BDdCZd5M.js +87 -0
- package/dist/n1ql-C-ll6pgt.js +55 -0
- package/dist/n4js-DCLtuFdY.js +43 -0
- package/dist/nand2tetris-hdl-DJsK5r3l.js +42 -0
- package/dist/naniscript-DtHo8Sfl.js +165 -0
- package/dist/nasm-gJZT8LPh.js +57 -0
- package/dist/neon-SaMGcsnU.js +73 -0
- package/dist/nevod-Dqvto6vw.js +158 -0
- package/dist/nginx-Cp89qRQy.js +82 -0
- package/dist/nim-CdGVC6Mb.js +75 -0
- package/dist/nix-jnfiSyYI.js +69 -0
- package/dist/nsis-BZ4yPak6.js +58 -0
- package/dist/objectivec-B9lo2Gq2.js +44 -0
- package/dist/ocaml-DtZ_IyiS.js +88 -0
- package/dist/opencl-CtUznKol.js +83 -0
- package/dist/openqasm-BAmjbx7B.js +50 -0
- package/dist/oz-mvOvhn7u.js +61 -0
- package/dist/parigp-B5Xdmiju.js +81 -0
- package/dist/parser-Ct77dMe3.js +106 -0
- package/dist/pascal-Dwf-aqDs.js +95 -0
- package/dist/pascaligo-DWTvG1fw.js +115 -0
- package/dist/pcaxis-BUnNg5h_.js +84 -0
- package/dist/peoplecode-CewkQs1u.js +74 -0
- package/dist/perl-CmRi-uRU.js +164 -0
- package/dist/php-C_FrOCG4.js +334 -0
- package/dist/php-e7f7GtZ8.js +26 -0
- package/dist/php-extras-ATZDccPm.js +50 -0
- package/dist/phpdoc-uba1O-5-.js +61 -0
- package/dist/plsql-BLNilzVM.js +51 -0
- package/dist/powerquery-CddEWH0P.js +83 -0
- package/dist/powershell-SimxvdWh.js +88 -0
- package/dist/processing-IeXhsRmw.js +46 -0
- package/dist/prolog-CnTr7enQ.js +52 -0
- package/dist/promql-DpmXmCiA.js +120 -0
- package/dist/properties-BraQbkIL.js +42 -0
- package/dist/protobuf-BKmtm9wI.js +71 -0
- package/dist/psl-DfJLNMzA.js +68 -0
- package/dist/pug-C7olXkyh.js +212 -0
- package/dist/puppet-DMdAuQ_Z.js +167 -0
- package/dist/pure-BVQraXQo.js +111 -0
- package/dist/purebasic-DnAwivDW.js +87 -0
- package/dist/purescript-BBcUX3cf.js +62 -0
- package/dist/python-C9JXUpy2.js +94 -0
- package/dist/q-Ct9Ut4C4.js +83 -0
- package/dist/qml-DubjWeE3.js +103 -0
- package/dist/qore-CDjxpVlT.js +53 -0
- package/dist/qsharp-Dyr5mrma.js +128 -0
- package/dist/r-B4F2KUJL.js +55 -0
- package/dist/racket-D5k9UW-t.js +50 -0
- package/dist/reason-Cs82zJO7.js +54 -0
- package/dist/regex-Z8MvaNEm.js +124 -0
- package/dist/rego-CcGrxeab.js +58 -0
- package/dist/renpy-mByYQWSM.js +51 -0
- package/dist/rest-BoR9ZMoX.js +231 -0
- package/dist/rip-C3Bf4Bpl.js +62 -0
- package/dist/roboconf-1MYmsJJ7.js +60 -0
- package/dist/robotframework-fBSrPGHK.js +122 -0
- package/dist/ruby-BQlisu6i.js +182 -0
- package/dist/ruby-DRrUXRqW.js +26 -0
- package/dist/rust-DhUR7ICB.js +149 -0
- package/dist/sas-D7DM5vmM.js +362 -0
- package/dist/sass-B-3W9xmk.js +96 -0
- package/dist/scala-DmHnWeTz.js +80 -0
- package/dist/scheme-B-TWMKN_.js +122 -0
- package/dist/scheme-egHBLRqV.js +26 -0
- package/dist/scss-BU4D1BLj.js +106 -0
- package/dist/shell-session-6QFBv7G6.js +93 -0
- package/dist/smali-B48Y4QYt.js +112 -0
- package/dist/smalltalk-w59b04aF.js +71 -0
- package/dist/smarty-CnWvL-Ef.js +147 -0
- package/dist/sml-cUUD1qMQ.js +91 -0
- package/dist/solidity-Drt__SLk.js +49 -0
- package/dist/solution-file-CYG1BOQK.js +79 -0
- package/dist/soy-BZNQzgkB.js +112 -0
- package/dist/sparql-BQDndvZG.js +49 -0
- package/dist/splunk-spl-ezOLCJwA.js +57 -0
- package/dist/sqf-C83ezg-4.js +63 -0
- package/dist/sql-CVBSuRzU.js +26 -0
- package/dist/sql-qhcRp-Km.js +44 -0
- package/dist/squirrel-2r-3bEO_.js +74 -0
- package/dist/stan-D2wLHzr8.js +86 -0
- package/dist/style.css +1 -1
- package/dist/stylus-KkSvURTJ.js +165 -0
- package/dist/swift-c7528WsQ.js +152 -0
- package/dist/systemd-DWsV0AtP.js +88 -0
- package/dist/t4-cs-D7NmzTCB.js +38 -0
- package/dist/t4-templating-Bc9GyRcs.js +26 -0
- package/dist/t4-templating-yxm91MEk.js +56 -0
- package/dist/t4-vb-Df3tMe1Q.js +38 -0
- package/dist/tap-wFXvu_No.js +56 -0
- package/dist/tcl-BZqzhUcQ.js +79 -0
- package/dist/textile-DrTKyn7T.js +289 -0
- package/dist/toml-LVQpNmZe.js +86 -0
- package/dist/tremor-A_cxX8C4.js +90 -0
- package/dist/tsx-CQKNNLzi.js +46 -0
- package/dist/tt2-CPOtfoBh.js +78 -0
- package/dist/turtle-BjRE9oBS.js +26 -0
- package/dist/turtle-z6QfbtiY.js +61 -0
- package/dist/twig-Cz25rowk.js +72 -0
- package/dist/typescript--VNBoLO-.js +56 -0
- package/dist/typescript-Bx2QMcny.js +26 -0
- package/dist/typoscript-BdH7x5a4.js +109 -0
- package/dist/unrealscript-Cb8322pT.js +71 -0
- package/dist/uorazor-CHv0VHYn.js +81 -0
- package/dist/uri-ci9M926F.js +116 -0
- package/dist/v-DL4z_kNT.js +106 -0
- package/dist/vala-CPIzd5en.js +113 -0
- package/dist/vbnet-BoCvq106.js +26 -0
- package/dist/vbnet-ClfmYufs.js +36 -0
- package/dist/velocity-CBXhMUrK.js +99 -0
- package/dist/verilog-C1ZX-Tr8.js +59 -0
- package/dist/vhdl-CLlMgFjz.js +56 -0
- package/dist/vim-BuFUFT06.js +43 -0
- package/dist/visual-basic-CzPES6jG.js +59 -0
- package/dist/warpscript-C5YvStKz.js +54 -0
- package/dist/wasm-txCKMkgE.js +64 -0
- package/dist/web-idl-B4OgJf1y.js +118 -0
- package/dist/wiki-C6_DR7WK.js +110 -0
- package/dist/wolfram-D9ETP9M6.js +58 -0
- package/dist/wren-CkhJWcmB.js +121 -0
- package/dist/xeora-Cg3OrGlT.js +147 -0
- package/dist/xml-doc-C0mFvWUS.js +56 -0
- package/dist/xojo-CW6K9MHL.js +51 -0
- package/dist/xquery-B0ssbj_m.js +118 -0
- package/dist/yaml-S0xfBtlT.js +26 -0
- package/dist/yaml-hxc7aP7n.js +92 -0
- package/dist/yang-Dg6OSQ6Y.js +53 -0
- package/dist/zig-xuUtE8Pe.js +117 -0
- package/package.json +30 -4
- package/dist/index.d.ts +0 -2
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { g } from "./index-Sj89RFCY.js";
|
|
2
|
+
function d(e, n) {
|
|
3
|
+
for (var r = 0; r < n.length; r++) {
|
|
4
|
+
const i = n[r];
|
|
5
|
+
if (typeof i != "string" && !Array.isArray(i)) {
|
|
6
|
+
for (const t in i)
|
|
7
|
+
if (t !== "default" && !(t in e)) {
|
|
8
|
+
const o = Object.getOwnPropertyDescriptor(i, t);
|
|
9
|
+
o && Object.defineProperty(e, t, o.get ? o : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => i[t]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var s, a;
|
|
19
|
+
function u() {
|
|
20
|
+
if (a) return s;
|
|
21
|
+
a = 1, s = e, e.displayName = "inform7", e.aliases = [];
|
|
22
|
+
function e(n) {
|
|
23
|
+
n.languages.inform7 = {
|
|
24
|
+
string: {
|
|
25
|
+
pattern: /"[^"]*"/,
|
|
26
|
+
inside: {
|
|
27
|
+
substitution: {
|
|
28
|
+
pattern: /\[[^\[\]]+\]/,
|
|
29
|
+
inside: {
|
|
30
|
+
delimiter: {
|
|
31
|
+
pattern: /\[|\]/,
|
|
32
|
+
alias: "punctuation"
|
|
33
|
+
}
|
|
34
|
+
// See rest below
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
comment: {
|
|
40
|
+
pattern: /\[[^\[\]]+\]/,
|
|
41
|
+
greedy: !0
|
|
42
|
+
},
|
|
43
|
+
title: {
|
|
44
|
+
pattern: /^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,
|
|
45
|
+
alias: "important"
|
|
46
|
+
},
|
|
47
|
+
number: {
|
|
48
|
+
pattern: /(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,
|
|
49
|
+
lookbehind: !0
|
|
50
|
+
},
|
|
51
|
+
verb: {
|
|
52
|
+
pattern: /(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,
|
|
53
|
+
lookbehind: !0,
|
|
54
|
+
alias: "operator"
|
|
55
|
+
},
|
|
56
|
+
keyword: {
|
|
57
|
+
pattern: /(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,
|
|
58
|
+
lookbehind: !0
|
|
59
|
+
},
|
|
60
|
+
property: {
|
|
61
|
+
pattern: /(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,
|
|
62
|
+
lookbehind: !0,
|
|
63
|
+
alias: "symbol"
|
|
64
|
+
},
|
|
65
|
+
position: {
|
|
66
|
+
pattern: /(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,
|
|
67
|
+
lookbehind: !0,
|
|
68
|
+
alias: "keyword"
|
|
69
|
+
},
|
|
70
|
+
type: {
|
|
71
|
+
pattern: /(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,
|
|
72
|
+
lookbehind: !0,
|
|
73
|
+
alias: "variable"
|
|
74
|
+
},
|
|
75
|
+
punctuation: /[.,:;(){}]/
|
|
76
|
+
}, n.languages.inform7.string.inside.substitution.inside.rest = n.languages.inform7, n.languages.inform7.string.inside.substitution.inside.rest.text = {
|
|
77
|
+
pattern: /\S(?:\s*\S)*/,
|
|
78
|
+
alias: "comment"
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
return s;
|
|
82
|
+
}
|
|
83
|
+
var l = u();
|
|
84
|
+
const p = /* @__PURE__ */ g(l), b = /* @__PURE__ */ d({
|
|
85
|
+
__proto__: null,
|
|
86
|
+
default: p
|
|
87
|
+
}, [l]);
|
|
88
|
+
export {
|
|
89
|
+
b as i
|
|
90
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { g as s } from "./index-Sj89RFCY.js";
|
|
2
|
+
function l(t, r) {
|
|
3
|
+
for (var i = 0; i < r.length; i++) {
|
|
4
|
+
const e = r[i];
|
|
5
|
+
if (typeof e != "string" && !Array.isArray(e)) {
|
|
6
|
+
for (const n in e)
|
|
7
|
+
if (n !== "default" && !(n in t)) {
|
|
8
|
+
const a = Object.getOwnPropertyDescriptor(e, n);
|
|
9
|
+
a && Object.defineProperty(t, n, a.get ? a : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => e[n]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var o, f;
|
|
19
|
+
function v() {
|
|
20
|
+
if (f) return o;
|
|
21
|
+
f = 1, o = t, t.displayName = "ini", t.aliases = [];
|
|
22
|
+
function t(r) {
|
|
23
|
+
r.languages.ini = {
|
|
24
|
+
/**
|
|
25
|
+
* The component mimics the behavior of the Win32 API parser.
|
|
26
|
+
*
|
|
27
|
+
* @see {@link https://github.com/PrismJS/prism/issues/2775#issuecomment-787477723}
|
|
28
|
+
*/
|
|
29
|
+
comment: {
|
|
30
|
+
pattern: /(^[ \f\t\v]*)[#;][^\n\r]*/m,
|
|
31
|
+
lookbehind: !0
|
|
32
|
+
},
|
|
33
|
+
section: {
|
|
34
|
+
pattern: /(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,
|
|
35
|
+
lookbehind: !0,
|
|
36
|
+
inside: {
|
|
37
|
+
"section-name": {
|
|
38
|
+
pattern: /(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,
|
|
39
|
+
lookbehind: !0,
|
|
40
|
+
alias: "selector"
|
|
41
|
+
},
|
|
42
|
+
punctuation: /\[|\]/
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
key: {
|
|
46
|
+
pattern: /(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,
|
|
47
|
+
lookbehind: !0,
|
|
48
|
+
alias: "attr-name"
|
|
49
|
+
},
|
|
50
|
+
value: {
|
|
51
|
+
pattern: /(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,
|
|
52
|
+
lookbehind: !0,
|
|
53
|
+
alias: "attr-value",
|
|
54
|
+
inside: {
|
|
55
|
+
"inner-value": {
|
|
56
|
+
pattern: /^("|').+(?=\1$)/,
|
|
57
|
+
lookbehind: !0
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
punctuation: /=/
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
return o;
|
|
65
|
+
}
|
|
66
|
+
var u = v();
|
|
67
|
+
const c = /* @__PURE__ */ s(u), d = /* @__PURE__ */ l({
|
|
68
|
+
__proto__: null,
|
|
69
|
+
default: c
|
|
70
|
+
}, [u]);
|
|
71
|
+
export {
|
|
72
|
+
d as i
|
|
73
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { g as u } from "./index-Sj89RFCY.js";
|
|
2
|
+
function c(e, o) {
|
|
3
|
+
for (var i = 0; i < o.length; i++) {
|
|
4
|
+
const r = o[i];
|
|
5
|
+
if (typeof r != "string" && !Array.isArray(r)) {
|
|
6
|
+
for (const t in r)
|
|
7
|
+
if (t !== "default" && !(t in e)) {
|
|
8
|
+
const n = Object.getOwnPropertyDescriptor(r, t);
|
|
9
|
+
n && Object.defineProperty(e, t, n.get ? n : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => r[t]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var a, s;
|
|
19
|
+
function d() {
|
|
20
|
+
if (s) return a;
|
|
21
|
+
s = 1, a = e, e.displayName = "io", e.aliases = [];
|
|
22
|
+
function e(o) {
|
|
23
|
+
o.languages.io = {
|
|
24
|
+
comment: {
|
|
25
|
+
pattern: /(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,
|
|
26
|
+
lookbehind: !0,
|
|
27
|
+
greedy: !0
|
|
28
|
+
},
|
|
29
|
+
"triple-quoted-string": {
|
|
30
|
+
pattern: /"""(?:\\[\s\S]|(?!""")[^\\])*"""/,
|
|
31
|
+
greedy: !0,
|
|
32
|
+
alias: "string"
|
|
33
|
+
},
|
|
34
|
+
string: {
|
|
35
|
+
pattern: /"(?:\\.|[^\\\r\n"])*"/,
|
|
36
|
+
greedy: !0
|
|
37
|
+
},
|
|
38
|
+
keyword: /\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,
|
|
39
|
+
builtin: /\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,
|
|
40
|
+
boolean: /\b(?:false|nil|true)\b/,
|
|
41
|
+
number: /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,
|
|
42
|
+
operator: /[=!*/%+\-^&|]=|>>?=?|<<?=?|:?:?=|\+\+?|--?|\*\*?|\/\/?|%|\|\|?|&&?|\b(?:and|not|or|return)\b|@@?|\?\??|\.\./,
|
|
43
|
+
punctuation: /[{}[\];(),.:]/
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
return a;
|
|
47
|
+
}
|
|
48
|
+
var l = d();
|
|
49
|
+
const p = /* @__PURE__ */ u(l), g = /* @__PURE__ */ c({
|
|
50
|
+
__proto__: null,
|
|
51
|
+
default: p
|
|
52
|
+
}, [l]);
|
|
53
|
+
export {
|
|
54
|
+
g as i
|
|
55
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { g as u } from "./index-Sj89RFCY.js";
|
|
2
|
+
function c(e, a) {
|
|
3
|
+
for (var n = 0; n < a.length; n++) {
|
|
4
|
+
const r = a[n];
|
|
5
|
+
if (typeof r != "string" && !Array.isArray(r)) {
|
|
6
|
+
for (const t in r)
|
|
7
|
+
if (t !== "default" && !(t in e)) {
|
|
8
|
+
const o = Object.getOwnPropertyDescriptor(r, t);
|
|
9
|
+
o && Object.defineProperty(e, t, o.get ? o : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => r[t]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var i, d;
|
|
19
|
+
function f() {
|
|
20
|
+
if (d) return i;
|
|
21
|
+
d = 1, i = e, e.displayName = "j", e.aliases = [];
|
|
22
|
+
function e(a) {
|
|
23
|
+
a.languages.j = {
|
|
24
|
+
comment: {
|
|
25
|
+
pattern: /\bNB\..*/,
|
|
26
|
+
greedy: !0
|
|
27
|
+
},
|
|
28
|
+
string: {
|
|
29
|
+
pattern: /'(?:''|[^'\r\n])*'/,
|
|
30
|
+
greedy: !0
|
|
31
|
+
},
|
|
32
|
+
keyword: /\b(?:(?:CR|LF|adverb|conjunction|def|define|dyad|monad|noun|verb)\b|(?:assert|break|case|catch[dt]?|continue|do|else|elseif|end|fcase|for|for_\w+|goto_\w+|if|label_\w+|return|select|throw|try|while|whilst)\.)/,
|
|
33
|
+
verb: {
|
|
34
|
+
// Negative look-ahead prevents bad highlighting
|
|
35
|
+
// of ^: ;. =. =: !. !:
|
|
36
|
+
pattern: /(?!\^:|;\.|[=!][.:])(?:\{(?:\.|::?)?|p(?:\.\.?|:)|[=!\]]|[<>+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,
|
|
37
|
+
alias: "keyword"
|
|
38
|
+
},
|
|
39
|
+
number: /\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,
|
|
40
|
+
adverb: {
|
|
41
|
+
pattern: /[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,
|
|
42
|
+
alias: "builtin"
|
|
43
|
+
},
|
|
44
|
+
operator: /[=a][.:]|_\./,
|
|
45
|
+
conjunction: {
|
|
46
|
+
pattern: /&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,
|
|
47
|
+
alias: "variable"
|
|
48
|
+
},
|
|
49
|
+
punctuation: /[()]/
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
return i;
|
|
53
|
+
}
|
|
54
|
+
var s = f();
|
|
55
|
+
const l = /* @__PURE__ */ u(s), p = /* @__PURE__ */ c({
|
|
56
|
+
__proto__: null,
|
|
57
|
+
default: l
|
|
58
|
+
}, [s]);
|
|
59
|
+
export {
|
|
60
|
+
p as j
|
|
61
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { g as s } from "./index-Sj89RFCY.js";
|
|
2
|
+
import { r as i } from "./java-DYIb7l3j.js";
|
|
3
|
+
function c(t, n) {
|
|
4
|
+
for (var o = 0; o < n.length; o++) {
|
|
5
|
+
const e = n[o];
|
|
6
|
+
if (typeof e != "string" && !Array.isArray(e)) {
|
|
7
|
+
for (const r in e)
|
|
8
|
+
if (r !== "default" && !(r in t)) {
|
|
9
|
+
const a = Object.getOwnPropertyDescriptor(e, r);
|
|
10
|
+
a && Object.defineProperty(t, r, a.get ? a : {
|
|
11
|
+
enumerable: !0,
|
|
12
|
+
get: () => e[r]
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
|
18
|
+
}
|
|
19
|
+
var f = i();
|
|
20
|
+
const p = /* @__PURE__ */ s(f), l = /* @__PURE__ */ c({
|
|
21
|
+
__proto__: null,
|
|
22
|
+
default: p
|
|
23
|
+
}, [f]);
|
|
24
|
+
export {
|
|
25
|
+
l as j
|
|
26
|
+
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
var r, i;
|
|
2
|
+
function u() {
|
|
3
|
+
if (i) return r;
|
|
4
|
+
i = 1, r = a, a.displayName = "java", a.aliases = [];
|
|
5
|
+
function a(o) {
|
|
6
|
+
(function(e) {
|
|
7
|
+
var t = /\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/, s = /(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source, n = {
|
|
8
|
+
pattern: RegExp(s + /[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),
|
|
9
|
+
lookbehind: !0,
|
|
10
|
+
inside: {
|
|
11
|
+
namespace: {
|
|
12
|
+
pattern: /^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,
|
|
13
|
+
inside: {
|
|
14
|
+
punctuation: /\./
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
punctuation: /\./
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
e.languages.java = e.languages.extend("clike", {
|
|
21
|
+
string: {
|
|
22
|
+
pattern: /(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,
|
|
23
|
+
lookbehind: !0,
|
|
24
|
+
greedy: !0
|
|
25
|
+
},
|
|
26
|
+
"class-name": [
|
|
27
|
+
n,
|
|
28
|
+
{
|
|
29
|
+
// variables and parameters
|
|
30
|
+
// this to support class names (or generic parameters) which do not contain a lower case letter (also works for methods)
|
|
31
|
+
pattern: RegExp(
|
|
32
|
+
s + /[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source
|
|
33
|
+
),
|
|
34
|
+
lookbehind: !0,
|
|
35
|
+
inside: n.inside
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
keyword: t,
|
|
39
|
+
function: [
|
|
40
|
+
e.languages.clike.function,
|
|
41
|
+
{
|
|
42
|
+
pattern: /(::\s*)[a-z_]\w*/,
|
|
43
|
+
lookbehind: !0
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
number: /\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,
|
|
47
|
+
operator: {
|
|
48
|
+
pattern: /(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,
|
|
49
|
+
lookbehind: !0
|
|
50
|
+
}
|
|
51
|
+
}), e.languages.insertBefore("java", "string", {
|
|
52
|
+
"triple-quoted-string": {
|
|
53
|
+
// http://openjdk.java.net/jeps/355#Description
|
|
54
|
+
pattern: /"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,
|
|
55
|
+
greedy: !0,
|
|
56
|
+
alias: "string"
|
|
57
|
+
},
|
|
58
|
+
char: {
|
|
59
|
+
pattern: /'(?:\\.|[^'\\\r\n]){1,6}'/,
|
|
60
|
+
greedy: !0
|
|
61
|
+
}
|
|
62
|
+
}), e.languages.insertBefore("java", "class-name", {
|
|
63
|
+
annotation: {
|
|
64
|
+
pattern: /(^|[^.])@\w+(?:\s*\.\s*\w+)*/,
|
|
65
|
+
lookbehind: !0,
|
|
66
|
+
alias: "punctuation"
|
|
67
|
+
},
|
|
68
|
+
generics: {
|
|
69
|
+
pattern: /<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,
|
|
70
|
+
inside: {
|
|
71
|
+
"class-name": n,
|
|
72
|
+
keyword: t,
|
|
73
|
+
punctuation: /[<>(),.:]/,
|
|
74
|
+
operator: /[?&|]/
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
namespace: {
|
|
78
|
+
pattern: RegExp(
|
|
79
|
+
/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(
|
|
80
|
+
/<keyword>/g,
|
|
81
|
+
function() {
|
|
82
|
+
return t.source;
|
|
83
|
+
}
|
|
84
|
+
)
|
|
85
|
+
),
|
|
86
|
+
lookbehind: !0,
|
|
87
|
+
inside: {
|
|
88
|
+
punctuation: /\./
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
})(o);
|
|
93
|
+
}
|
|
94
|
+
return r;
|
|
95
|
+
}
|
|
96
|
+
export {
|
|
97
|
+
u as r
|
|
98
|
+
};
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { g as l } from "./index-Sj89RFCY.js";
|
|
2
|
+
import { r as g } from "./java-DYIb7l3j.js";
|
|
3
|
+
import { r as p } from "./javadoclike-CHbTYI14.js";
|
|
4
|
+
function v(n, o) {
|
|
5
|
+
for (var t = 0; t < o.length; t++) {
|
|
6
|
+
const a = o[t];
|
|
7
|
+
if (typeof a != "string" && !Array.isArray(a)) {
|
|
8
|
+
for (const e in a)
|
|
9
|
+
if (e !== "default" && !(e in n)) {
|
|
10
|
+
const r = Object.getOwnPropertyDescriptor(a, e);
|
|
11
|
+
r && Object.defineProperty(n, e, r.get ? r : {
|
|
12
|
+
enumerable: !0,
|
|
13
|
+
get: () => a[e]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
19
|
+
}
|
|
20
|
+
var s, i;
|
|
21
|
+
function f() {
|
|
22
|
+
if (i) return s;
|
|
23
|
+
i = 1;
|
|
24
|
+
var n = g(), o = p();
|
|
25
|
+
s = t, t.displayName = "javadoc", t.aliases = [];
|
|
26
|
+
function t(a) {
|
|
27
|
+
a.register(n), a.register(o), function(e) {
|
|
28
|
+
var r = /(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m, c = /#\s*\w+(?:\s*\([^()]*\))?/.source, d = /(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*<mem>)?|<mem>/.source.replace(
|
|
29
|
+
/<mem>/g,
|
|
30
|
+
function() {
|
|
31
|
+
return c;
|
|
32
|
+
}
|
|
33
|
+
);
|
|
34
|
+
e.languages.javadoc = e.languages.extend("javadoclike", {}), e.languages.insertBefore("javadoc", "keyword", {
|
|
35
|
+
reference: {
|
|
36
|
+
pattern: RegExp(
|
|
37
|
+
/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source + "(?:" + d + ")"
|
|
38
|
+
),
|
|
39
|
+
lookbehind: !0,
|
|
40
|
+
inside: {
|
|
41
|
+
function: {
|
|
42
|
+
pattern: /(#\s*)\w+(?=\s*\()/,
|
|
43
|
+
lookbehind: !0
|
|
44
|
+
},
|
|
45
|
+
field: {
|
|
46
|
+
pattern: /(#\s*)\w+/,
|
|
47
|
+
lookbehind: !0
|
|
48
|
+
},
|
|
49
|
+
namespace: {
|
|
50
|
+
pattern: /\b(?:[a-z]\w*\s*\.\s*)+/,
|
|
51
|
+
inside: {
|
|
52
|
+
punctuation: /\./
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"class-name": /\b[A-Z]\w*/,
|
|
56
|
+
keyword: e.languages.java.keyword,
|
|
57
|
+
punctuation: /[#()[\],.]/
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"class-name": {
|
|
61
|
+
// @param <T> the first generic type parameter
|
|
62
|
+
pattern: /(@param\s+)<[A-Z]\w*>/,
|
|
63
|
+
lookbehind: !0,
|
|
64
|
+
inside: {
|
|
65
|
+
punctuation: /[.<>]/
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"code-section": [
|
|
69
|
+
{
|
|
70
|
+
pattern: /(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,
|
|
71
|
+
lookbehind: !0,
|
|
72
|
+
inside: {
|
|
73
|
+
code: {
|
|
74
|
+
// there can't be any HTML inside of {@code} tags
|
|
75
|
+
pattern: r,
|
|
76
|
+
lookbehind: !0,
|
|
77
|
+
inside: e.languages.java,
|
|
78
|
+
alias: "language-java"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
pattern: /(<(code|pre|tt)>(?!<code>)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,
|
|
84
|
+
lookbehind: !0,
|
|
85
|
+
inside: {
|
|
86
|
+
line: {
|
|
87
|
+
pattern: r,
|
|
88
|
+
lookbehind: !0,
|
|
89
|
+
inside: {
|
|
90
|
+
// highlight HTML tags and entities
|
|
91
|
+
tag: e.languages.markup.tag,
|
|
92
|
+
entity: e.languages.markup.entity,
|
|
93
|
+
code: {
|
|
94
|
+
// everything else is Java code
|
|
95
|
+
pattern: /.+/,
|
|
96
|
+
inside: e.languages.java,
|
|
97
|
+
alias: "language-java"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
tag: e.languages.markup.tag,
|
|
105
|
+
entity: e.languages.markup.entity
|
|
106
|
+
}), e.languages.javadoclike.addSupport("java", e.languages.javadoc);
|
|
107
|
+
}(a);
|
|
108
|
+
}
|
|
109
|
+
return s;
|
|
110
|
+
}
|
|
111
|
+
var u = f();
|
|
112
|
+
const j = /* @__PURE__ */ l(u), y = /* @__PURE__ */ v({
|
|
113
|
+
__proto__: null,
|
|
114
|
+
default: j
|
|
115
|
+
}, [u]);
|
|
116
|
+
export {
|
|
117
|
+
y as j
|
|
118
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { g as n } from "./index-Sj89RFCY.js";
|
|
2
|
+
import { r as f } from "./javadoclike-CHbTYI14.js";
|
|
3
|
+
function s(t, i) {
|
|
4
|
+
for (var o = 0; o < i.length; o++) {
|
|
5
|
+
const e = i[o];
|
|
6
|
+
if (typeof e != "string" && !Array.isArray(e)) {
|
|
7
|
+
for (const r in e)
|
|
8
|
+
if (r !== "default" && !(r in t)) {
|
|
9
|
+
const a = Object.getOwnPropertyDescriptor(e, r);
|
|
10
|
+
a && Object.defineProperty(t, r, a.get ? a : {
|
|
11
|
+
enumerable: !0,
|
|
12
|
+
get: () => e[r]
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
|
18
|
+
}
|
|
19
|
+
var c = f();
|
|
20
|
+
const l = /* @__PURE__ */ n(c), d = /* @__PURE__ */ s({
|
|
21
|
+
__proto__: null,
|
|
22
|
+
default: l
|
|
23
|
+
}, [c]);
|
|
24
|
+
export {
|
|
25
|
+
d as j
|
|
26
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
var p, f;
|
|
2
|
+
function l() {
|
|
3
|
+
if (f) return p;
|
|
4
|
+
f = 1, p = i, i.displayName = "javadoclike", i.aliases = [];
|
|
5
|
+
function i(s) {
|
|
6
|
+
(function(c) {
|
|
7
|
+
var d = c.languages.javadoclike = {
|
|
8
|
+
parameter: {
|
|
9
|
+
pattern: /(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,
|
|
10
|
+
lookbehind: !0
|
|
11
|
+
},
|
|
12
|
+
keyword: {
|
|
13
|
+
// keywords are the first word in a line preceded be an `@` or surrounded by curly braces.
|
|
14
|
+
// @word, {@word}
|
|
15
|
+
pattern: /(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,
|
|
16
|
+
lookbehind: !0
|
|
17
|
+
},
|
|
18
|
+
punctuation: /[{}]/
|
|
19
|
+
};
|
|
20
|
+
function v(r, n) {
|
|
21
|
+
var t = "doc-comment", a = c.languages[r];
|
|
22
|
+
if (a) {
|
|
23
|
+
var e = a[t];
|
|
24
|
+
if (!e) {
|
|
25
|
+
var u = {};
|
|
26
|
+
u[t] = {
|
|
27
|
+
pattern: /(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,
|
|
28
|
+
lookbehind: !0,
|
|
29
|
+
alias: "comment"
|
|
30
|
+
}, a = c.languages.insertBefore(r, "comment", u), e = a[t];
|
|
31
|
+
}
|
|
32
|
+
if (e instanceof RegExp && (e = a[t] = {
|
|
33
|
+
pattern: e
|
|
34
|
+
}), Array.isArray(e))
|
|
35
|
+
for (var o = 0, k = e.length; o < k; o++)
|
|
36
|
+
e[o] instanceof RegExp && (e[o] = {
|
|
37
|
+
pattern: e[o]
|
|
38
|
+
}), n(e[o]);
|
|
39
|
+
else
|
|
40
|
+
n(e);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
function m(r, n) {
|
|
44
|
+
typeof r == "string" && (r = [r]), r.forEach(function(t) {
|
|
45
|
+
v(t, function(a) {
|
|
46
|
+
a.inside || (a.inside = {}), a.inside.rest = n;
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
Object.defineProperty(d, "addSupport", {
|
|
51
|
+
value: m
|
|
52
|
+
}), d.addSupport(["java", "javascript", "php"], d);
|
|
53
|
+
})(s);
|
|
54
|
+
}
|
|
55
|
+
return p;
|
|
56
|
+
}
|
|
57
|
+
export {
|
|
58
|
+
l as r
|
|
59
|
+
};
|