@oscloudlab/knowledge-card 0.0.1 → 0.0.3
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/README.md +4 -2
- package/dist/abap-Cfp0fjYn.js +93 -0
- package/dist/abap-Cfp0fjYn.js.map +1 -0
- package/dist/abnf-FKTf_Ovx.js +96 -0
- package/dist/abnf-FKTf_Ovx.js.map +1 -0
- package/dist/actionscript-CumNIZH6.js +58 -0
- package/dist/actionscript-CumNIZH6.js.map +1 -0
- package/dist/ada-D8_m6Ahq.js +61 -0
- package/dist/ada-D8_m6Ahq.js.map +1 -0
- package/dist/agda-Cg6uD_n1.js +65 -0
- package/dist/agda-Cg6uD_n1.js.map +1 -0
- package/dist/al-CQsmgJAM.js +65 -0
- package/dist/al-CQsmgJAM.js.map +1 -0
- package/dist/antlr4-Ck9aVoJH.js +106 -0
- package/dist/antlr4-Ck9aVoJH.js.map +1 -0
- package/dist/apacheconf-DBGfZedy.js +89 -0
- package/dist/apacheconf-DBGfZedy.js.map +1 -0
- package/dist/apex-D4r2Amvo.js +114 -0
- package/dist/apex-D4r2Amvo.js.map +1 -0
- package/dist/apl-BM6mKY64.js +74 -0
- package/dist/apl-BM6mKY64.js.map +1 -0
- package/dist/applescript-DujfJxru.js +59 -0
- package/dist/applescript-DujfJxru.js.map +1 -0
- package/dist/aql-DTKzt4rD.js +91 -0
- package/dist/aql-DTKzt4rD.js.map +1 -0
- package/dist/arduino-DQpK0mOy.js +51 -0
- package/dist/arduino-DQpK0mOy.js.map +1 -0
- package/dist/arff-CZyZx7M1.js +52 -0
- package/dist/arff-CZyZx7M1.js.map +1 -0
- package/dist/asciidoc-BjLaQWhN.js +261 -0
- package/dist/asciidoc-BjLaQWhN.js.map +1 -0
- package/dist/asm6502-DvgLdsYO.js +71 -0
- package/dist/asm6502-DvgLdsYO.js.map +1 -0
- package/dist/asmatmel-1aYhJV3z.js +83 -0
- package/dist/asmatmel-1aYhJV3z.js.map +1 -0
- package/dist/aspnet-Dv_vDfSt.js +96 -0
- package/dist/aspnet-Dv_vDfSt.js.map +1 -0
- package/dist/autohotkey-Bjc9k_aB.js +73 -0
- package/dist/autohotkey-Bjc9k_aB.js.gz +0 -0
- package/dist/autohotkey-Bjc9k_aB.js.map +1 -0
- package/dist/autoit-B21cn0xq.js +76 -0
- package/dist/autoit-B21cn0xq.js.map +1 -0
- package/dist/avisynth-CJF7qhVC.js +209 -0
- package/dist/avisynth-CJF7qhVC.js.map +1 -0
- package/dist/avro-idl-Bl1Ik3zn.js +84 -0
- package/dist/avro-idl-Bl1Ik3zn.js.map +1 -0
- package/dist/bash-ClZjbGxa.js +234 -0
- package/dist/bash-ClZjbGxa.js.gz +0 -0
- package/dist/bash-ClZjbGxa.js.map +1 -0
- package/dist/bash-Dv2YHHn4.js +31 -0
- package/dist/bash-Dv2YHHn4.js.map +1 -0
- package/dist/basic-CC_Y_pyN.js +33 -0
- package/dist/basic-CC_Y_pyN.js.map +1 -0
- package/dist/basic-yzjTqvn0.js +31 -0
- package/dist/basic-yzjTqvn0.js.map +1 -0
- package/dist/batch-DUGXaAjg.js +137 -0
- package/dist/batch-DUGXaAjg.js.map +1 -0
- package/dist/bbcode-CSHwieWu.js +70 -0
- package/dist/bbcode-CSHwieWu.js.map +1 -0
- package/dist/bicep-BwxVpPmv.js +112 -0
- package/dist/bicep-BwxVpPmv.js.map +1 -0
- package/dist/birb-Dp5KrheP.js +63 -0
- package/dist/birb-Dp5KrheP.js.map +1 -0
- package/dist/bison-B1WUA3Lb.js +83 -0
- package/dist/bison-B1WUA3Lb.js.map +1 -0
- package/dist/bnf-CkBBKIdz.js +62 -0
- package/dist/bnf-CkBBKIdz.js.map +1 -0
- package/dist/brainfuck-BHZ27ioU.js +62 -0
- package/dist/brainfuck-BHZ27ioU.js.map +1 -0
- package/dist/brightscript-2BFaZ-4V.js +86 -0
- package/dist/brightscript-2BFaZ-4V.js.map +1 -0
- package/dist/bro-DjlYNDbW.js +69 -0
- package/dist/bro-DjlYNDbW.js.map +1 -0
- package/dist/bsl-ByW2HOhn.js +111 -0
- package/dist/bsl-ByW2HOhn.js.map +1 -0
- package/dist/c-BM9zQzkN.js +92 -0
- package/dist/c-BM9zQzkN.js.map +1 -0
- package/dist/c-cAp-Ncnf.js +31 -0
- package/dist/c-cAp-Ncnf.js.map +1 -0
- package/dist/cfscript-ClYSy-ov.js +83 -0
- package/dist/cfscript-ClYSy-ov.js.map +1 -0
- package/dist/chaiscript-CgvIxGxT.js +100 -0
- package/dist/chaiscript-CgvIxGxT.js.map +1 -0
- package/dist/cil-e0ortwSX.js +61 -0
- package/dist/cil-e0ortwSX.js.map +1 -0
- package/dist/clike-Dqh9Naar.js +66 -0
- package/dist/clike-Dqh9Naar.js.map +1 -0
- package/dist/clojure-DlFxB4rb.js +72 -0
- package/dist/clojure-DlFxB4rb.js.map +1 -0
- package/dist/cmake-Bb1ushD1.js +71 -0
- package/dist/cmake-Bb1ushD1.js.gz +0 -0
- package/dist/cmake-Bb1ushD1.js.map +1 -0
- package/dist/cobol-DlzbU0dJ.js +91 -0
- package/dist/cobol-DlzbU0dJ.js.map +1 -0
- package/dist/coffeescript-BLrcg8zK.js +125 -0
- package/dist/coffeescript-BLrcg8zK.js.map +1 -0
- package/dist/concurnas-CODY3JnQ.js +101 -0
- package/dist/concurnas-CODY3JnQ.js.map +1 -0
- package/dist/coq-DI-eGbiB.js +93 -0
- package/dist/coq-DI-eGbiB.js.map +1 -0
- package/dist/core-QGfjITFA.js +2575 -0
- package/dist/core-QGfjITFA.js.gz +0 -0
- package/dist/core-QGfjITFA.js.map +1 -0
- package/dist/cpp-B7WH6XXz.js +126 -0
- package/dist/cpp-B7WH6XXz.js.map +1 -0
- package/dist/cpp-D9y2ziiJ.js +31 -0
- package/dist/cpp-D9y2ziiJ.js.map +1 -0
- package/dist/crystal-DwMwycbo.js +97 -0
- package/dist/crystal-DwMwycbo.js.map +1 -0
- package/dist/csharp-CYOFBHK2.js +31 -0
- package/dist/csharp-CYOFBHK2.js.map +1 -0
- package/dist/csharp-iD8vdCRX.js +423 -0
- package/dist/csharp-iD8vdCRX.js.gz +0 -0
- package/dist/csharp-iD8vdCRX.js.map +1 -0
- package/dist/cshtml-BReYgwaV.js +153 -0
- package/dist/cshtml-BReYgwaV.js.map +1 -0
- package/dist/csp-DVgyVGcW.js +99 -0
- package/dist/csp-DVgyVGcW.js.map +1 -0
- package/dist/css-DTluOMkY.js +99 -0
- package/dist/css-DTluOMkY.js.map +1 -0
- package/dist/css-extras-DN54TOmZ.js +152 -0
- package/dist/css-extras-DN54TOmZ.js.map +1 -0
- package/dist/csv-T3FMhbPI.js +46 -0
- package/dist/csv-T3FMhbPI.js.map +1 -0
- package/dist/cypher-BoDFwlqd.js +74 -0
- package/dist/cypher-BoDFwlqd.js.map +1 -0
- package/dist/d-Bndf98Nv.js +121 -0
- package/dist/d-Bndf98Nv.js.map +1 -0
- package/dist/dart-jl0mTVlC.js +115 -0
- package/dist/dart-jl0mTVlC.js.map +1 -0
- package/dist/dataweave-Dt9eUXRS.js +82 -0
- package/dist/dataweave-Dt9eUXRS.js.map +1 -0
- package/dist/dax-BvxTEJli.js +69 -0
- package/dist/dax-BvxTEJli.js.map +1 -0
- package/dist/dhall-C0GoopUA.js +105 -0
- package/dist/dhall-C0GoopUA.js.map +1 -0
- package/dist/diff-CqT5EC82.js +93 -0
- package/dist/diff-CqT5EC82.js.map +1 -0
- package/dist/django-BjABROZv.js +95 -0
- package/dist/django-BjABROZv.js.map +1 -0
- package/dist/dns-zone-file-BfTi9SPs.js +74 -0
- package/dist/dns-zone-file-BfTi9SPs.js.map +1 -0
- package/dist/docker-DDTt3tR_.js +143 -0
- package/dist/docker-DDTt3tR_.js.map +1 -0
- package/dist/dot-DUY9dVTQ.js +113 -0
- package/dist/dot-DUY9dVTQ.js.map +1 -0
- package/dist/ebnf-BxqkoGjT.js +62 -0
- package/dist/ebnf-BxqkoGjT.js.map +1 -0
- package/dist/editorconfig-DzKbkLiP.js +69 -0
- package/dist/editorconfig-DzKbkLiP.js.map +1 -0
- package/dist/eiffel-BZwp--FL.js +76 -0
- package/dist/eiffel-BZwp--FL.js.map +1 -0
- package/dist/ejs-C0LfHd6n.js +70 -0
- package/dist/ejs-C0LfHd6n.js.map +1 -0
- package/dist/elixir-UYcL6AXW.js +139 -0
- package/dist/elixir-UYcL6AXW.js.map +1 -0
- package/dist/elm-C9_r2OCV.js +87 -0
- package/dist/elm-C9_r2OCV.js.map +1 -0
- package/dist/erb-D5FMQg7S.js +73 -0
- package/dist/erb-D5FMQg7S.js.map +1 -0
- package/dist/erlang-CblSVls5.js +85 -0
- package/dist/erlang-CblSVls5.js.map +1 -0
- package/dist/etlua-Cao9i-Hl.js +71 -0
- package/dist/etlua-Cao9i-Hl.js.map +1 -0
- package/dist/excel-formula-BPoAvRWl.js +105 -0
- package/dist/excel-formula-BPoAvRWl.js.map +1 -0
- package/dist/factor-eWYbYxdO.js +964 -0
- package/dist/factor-eWYbYxdO.js.gz +0 -0
- package/dist/factor-eWYbYxdO.js.map +1 -0
- package/dist/false-B8KV5uY_.js +69 -0
- package/dist/false-B8KV5uY_.js.map +1 -0
- package/dist/firestore-security-rules-B1NAnSrT.js +78 -0
- package/dist/firestore-security-rules-B1NAnSrT.js.map +1 -0
- package/dist/flow-CYR7efwS.js +74 -0
- package/dist/flow-CYR7efwS.js.map +1 -0
- package/dist/fortran-DtOrpwzh.js +82 -0
- package/dist/fortran-DtOrpwzh.js.map +1 -0
- package/dist/fsharp-B_X0iD2N.js +117 -0
- package/dist/fsharp-B_X0iD2N.js.map +1 -0
- package/dist/ftl-Djg69CSP.js +160 -0
- package/dist/ftl-Djg69CSP.js.map +1 -0
- package/dist/gap-uDi4CfkY.js +88 -0
- package/dist/gap-uDi4CfkY.js.map +1 -0
- package/dist/gcode-D5YoXoie.js +58 -0
- package/dist/gcode-D5YoXoie.js.map +1 -0
- package/dist/gdscript-BfUuae9R.js +69 -0
- package/dist/gdscript-BfUuae9R.js.map +1 -0
- package/dist/gedcom-B8lxfIBQ.js +70 -0
- package/dist/gedcom-B8lxfIBQ.js.map +1 -0
- package/dist/gherkin-CanPsj5V.js +124 -0
- package/dist/gherkin-CanPsj5V.js.gz +0 -0
- package/dist/gherkin-CanPsj5V.js.map +1 -0
- package/dist/git-Cem60Klr.js +105 -0
- package/dist/git-Cem60Klr.js.map +1 -0
- package/dist/glsl-BzqIJKew.js +48 -0
- package/dist/glsl-BzqIJKew.js.map +1 -0
- package/dist/gml-Ci7GQXES.js +49 -0
- package/dist/gml-Ci7GQXES.js.map +1 -0
- package/dist/gn-CaiRkpcH.js +87 -0
- package/dist/gn-CaiRkpcH.js.map +1 -0
- package/dist/go-Chpyf2Ol.js +68 -0
- package/dist/go-Chpyf2Ol.js.map +1 -0
- package/dist/go-module-DFm2DXA5.js +64 -0
- package/dist/go-module-DFm2DXA5.js.map +1 -0
- package/dist/graphql-CyglQi10.js +189 -0
- package/dist/graphql-CyglQi10.js.map +1 -0
- package/dist/groovy-DyYa2Q97.js +100 -0
- package/dist/groovy-DyYa2Q97.js.map +1 -0
- package/dist/haml-DMNl1y2c.js +187 -0
- package/dist/haml-DMNl1y2c.js.map +1 -0
- package/dist/handlebars-DjusewrR.js +86 -0
- package/dist/handlebars-DjusewrR.js.map +1 -0
- package/dist/haskell-D7nTVCb2.js +31 -0
- package/dist/haskell-D7nTVCb2.js.map +1 -0
- package/dist/haskell-JxV6F6a2.js +81 -0
- package/dist/haskell-JxV6F6a2.js.map +1 -0
- package/dist/haxe-BQPNsaSA.js +117 -0
- package/dist/haxe-BQPNsaSA.js.map +1 -0
- package/dist/hcl-BFcSNAbz.js +102 -0
- package/dist/hcl-BFcSNAbz.js.map +1 -0
- package/dist/hlsl-CWAVevgo.js +64 -0
- package/dist/hlsl-CWAVevgo.js.map +1 -0
- package/dist/hoon-DD1GwSyQ.js +56 -0
- package/dist/hoon-DD1GwSyQ.js.map +1 -0
- package/dist/hpkp-BXgITrts.js +50 -0
- package/dist/hpkp-BXgITrts.js.map +1 -0
- package/dist/hsts-CvhvgkPH.js +50 -0
- package/dist/hsts-CvhvgkPH.js.map +1 -0
- package/dist/http-CaopWVDH.js +170 -0
- package/dist/http-CaopWVDH.js.map +1 -0
- package/dist/ichigojam-B2n3nEtO.js +55 -0
- package/dist/ichigojam-B2n3nEtO.js.map +1 -0
- package/dist/icon-C2Tsx7bx.js +62 -0
- package/dist/icon-C2Tsx7bx.js.map +1 -0
- package/dist/icu-message-format-Di068T_I.js +184 -0
- package/dist/icu-message-format-Di068T_I.js.map +1 -0
- package/dist/idris-0lPcDKiH.js +62 -0
- package/dist/idris-0lPcDKiH.js.map +1 -0
- package/dist/iecst-Dr9NKVuq.js +74 -0
- package/dist/iecst-Dr9NKVuq.js.map +1 -0
- package/dist/ignore-MZ20GOE6.js +63 -0
- package/dist/ignore-MZ20GOE6.js.map +1 -0
- package/dist/index-Cdd6oM-q.js +167852 -0
- package/dist/index-Cdd6oM-q.js.gz +0 -0
- package/dist/index-Cdd6oM-q.js.map +1 -0
- package/dist/inform7-Cv9KA6Zb.js +101 -0
- package/dist/inform7-Cv9KA6Zb.js.map +1 -0
- package/dist/ini-DuHoOm8Y.js +82 -0
- package/dist/ini-DuHoOm8Y.js.map +1 -0
- package/dist/io-BH3DxprO.js +64 -0
- package/dist/io-BH3DxprO.js.map +1 -0
- package/dist/j-DbaWHNVB.js +70 -0
- package/dist/j-DbaWHNVB.js.map +1 -0
- package/dist/java-5aEEoeSl.js +31 -0
- package/dist/java-5aEEoeSl.js.map +1 -0
- package/dist/java-M3oaxAC_.js +107 -0
- package/dist/java-M3oaxAC_.js.map +1 -0
- package/dist/javadoc-D2aGgPp2.js +133 -0
- package/dist/javadoc-D2aGgPp2.js.map +1 -0
- package/dist/javadoclike-BdPr_VnG.js +83 -0
- package/dist/javadoclike-BdPr_VnG.js.map +1 -0
- package/dist/javadoclike-Bha2ZL8T.js +31 -0
- package/dist/javadoclike-Bha2ZL8T.js.map +1 -0
- package/dist/javascript-CCmiAiN7.js +166 -0
- package/dist/javascript-CCmiAiN7.js.map +1 -0
- package/dist/javastacktrace-Ca6rhDmr.js +176 -0
- package/dist/javastacktrace-Ca6rhDmr.js.map +1 -0
- package/dist/jexl-DAgMUZy4.js +56 -0
- package/dist/jexl-DAgMUZy4.js.map +1 -0
- package/dist/jolie-Qbbnf2Y8.js +82 -0
- package/dist/jolie-Qbbnf2Y8.js.map +1 -0
- package/dist/jq-EEM9FnQy.js +112 -0
- package/dist/jq-EEM9FnQy.js.map +1 -0
- package/dist/js-extras-CFriKWFZ.js +169 -0
- package/dist/js-extras-CFriKWFZ.js.map +1 -0
- package/dist/js-templates-CJ8FEAj5.js +262 -0
- package/dist/js-templates-CJ8FEAj5.js.map +1 -0
- package/dist/jsdoc-DijqtatY.js +131 -0
- package/dist/jsdoc-DijqtatY.js.map +1 -0
- package/dist/json-BgFPXYLn.js +41 -0
- package/dist/json-BgFPXYLn.js.map +1 -0
- package/dist/json-D3q_XThH.js +31 -0
- package/dist/json-D3q_XThH.js.map +1 -0
- package/dist/json5-CoA-xk2S.js +65 -0
- package/dist/json5-CoA-xk2S.js.map +1 -0
- package/dist/jsonp-DLkSVFJy.js +51 -0
- package/dist/jsonp-DLkSVFJy.js.map +1 -0
- package/dist/jsstacktrace-D-msLyV4.js +83 -0
- package/dist/jsstacktrace-D-msLyV4.js.map +1 -0
- package/dist/jsx-C1qRCugV.js +142 -0
- package/dist/jsx-C1qRCugV.js.map +1 -0
- package/dist/jsx-DcN9MSyC.js +31 -0
- package/dist/jsx-DcN9MSyC.js.map +1 -0
- package/dist/julia-DeXfzNLZ.js +77 -0
- package/dist/julia-DeXfzNLZ.js.map +1 -0
- package/dist/keepalived-CrTH7wjB.js +90 -0
- package/dist/keepalived-CrTH7wjB.js.map +1 -0
- package/dist/keyman-BAoDklhc.js +85 -0
- package/dist/keyman-BAoDklhc.js.map +1 -0
- package/dist/knowledge-card.es.js +5 -0
- package/dist/knowledge-card.es.js.map +1 -0
- package/dist/kotlin-RTqkPnSA.js +123 -0
- package/dist/kotlin-RTqkPnSA.js.map +1 -0
- package/dist/kumir-DZat-rOT.js +130 -0
- package/dist/kumir-DZat-rOT.js.map +1 -0
- package/dist/kusto-Rp4enH3h.js +80 -0
- package/dist/kusto-Rp4enH3h.js.map +1 -0
- package/dist/latex-DNFHXG7b.js +104 -0
- package/dist/latex-DNFHXG7b.js.map +1 -0
- package/dist/latte-CSKquiW8.js +116 -0
- package/dist/latte-CSKquiW8.js.map +1 -0
- package/dist/less-AcrwgCri.js +85 -0
- package/dist/less-AcrwgCri.js.map +1 -0
- package/dist/lilypond-D9l9sq_L.js +117 -0
- package/dist/lilypond-D9l9sq_L.js.map +1 -0
- package/dist/liquid-Dkf7-nlZ.js +112 -0
- package/dist/liquid-Dkf7-nlZ.js.map +1 -0
- package/dist/lisp-6nO02uCM.js +218 -0
- package/dist/lisp-6nO02uCM.js.map +1 -0
- package/dist/livescript-d9m7SG0F.js +160 -0
- package/dist/livescript-d9m7SG0F.js.map +1 -0
- package/dist/llvm-CD37xxmR.js +61 -0
- package/dist/llvm-CD37xxmR.js.map +1 -0
- package/dist/log-VEfJitaY.js +142 -0
- package/dist/log-VEfJitaY.js.map +1 -0
- package/dist/lolcode-DsVapdHo.js +90 -0
- package/dist/lolcode-DsVapdHo.js.map +1 -0
- package/dist/lua-J1sbiTxE.js +31 -0
- package/dist/lua-J1sbiTxE.js.map +1 -0
- package/dist/lua-RL-GTNsS.js +36 -0
- package/dist/lua-RL-GTNsS.js.map +1 -0
- package/dist/magma-DHxwMnrh.js +72 -0
- package/dist/magma-DHxwMnrh.js.map +1 -0
- package/dist/makefile-D9bOM9tF.js +72 -0
- package/dist/makefile-D9bOM9tF.js.map +1 -0
- package/dist/markdown-BSMT-VS7.js +403 -0
- package/dist/markdown-BSMT-VS7.js.gz +0 -0
- package/dist/markdown-BSMT-VS7.js.map +1 -0
- package/dist/markup-Bqvqt98t.js +215 -0
- package/dist/markup-Bqvqt98t.js.map +1 -0
- package/dist/markup-templating-DYVJBYwf.js +31 -0
- package/dist/markup-templating-DYVJBYwf.js.map +1 -0
- package/dist/markup-templating-hY-QSL53.js +114 -0
- package/dist/markup-templating-hY-QSL53.js.map +1 -0
- package/dist/matlab-BXBO4HvY.js +55 -0
- package/dist/matlab-BXBO4HvY.js.map +1 -0
- package/dist/maxscript-B9Wkt9gS.js +106 -0
- package/dist/maxscript-B9Wkt9gS.js.map +1 -0
- package/dist/mel-DzVrwSvo.js +84 -0
- package/dist/mel-DzVrwSvo.js.gz +0 -0
- package/dist/mel-DzVrwSvo.js.map +1 -0
- package/dist/mermaid-Czy7xu8b.js +146 -0
- package/dist/mermaid-Czy7xu8b.js.map +1 -0
- package/dist/mizar-B__trUOc.js +54 -0
- package/dist/mizar-B__trUOc.js.map +1 -0
- package/dist/mongodb-D4BU38GZ.js +334 -0
- package/dist/mongodb-D4BU38GZ.js.map +1 -0
- package/dist/monkey-BfN3KHxQ.js +70 -0
- package/dist/monkey-BfN3KHxQ.js.map +1 -0
- package/dist/moonscript-Czhm161R.js +98 -0
- package/dist/moonscript-Czhm161R.js.map +1 -0
- package/dist/n1ql-DVNXi6hD.js +64 -0
- package/dist/n1ql-DVNXi6hD.js.map +1 -0
- package/dist/n4js-Cfstl6Ac.js +54 -0
- package/dist/n4js-Cfstl6Ac.js.map +1 -0
- package/dist/nand2tetris-hdl-B7HC94zZ.js +51 -0
- package/dist/nand2tetris-hdl-B7HC94zZ.js.map +1 -0
- package/dist/naniscript-CIypYI5Y.js +190 -0
- package/dist/naniscript-CIypYI5Y.js.map +1 -0
- package/dist/nasm-DbAe9Bp_.js +66 -0
- package/dist/nasm-DbAe9Bp_.js.map +1 -0
- package/dist/neon-ETXY_3sS.js +82 -0
- package/dist/neon-ETXY_3sS.js.map +1 -0
- package/dist/nevod-eCi5zt3g.js +167 -0
- package/dist/nevod-eCi5zt3g.js.map +1 -0
- package/dist/nginx-CUfBlJ_4.js +91 -0
- package/dist/nginx-CUfBlJ_4.js.map +1 -0
- package/dist/nim-bGnOtnQ9.js +84 -0
- package/dist/nim-bGnOtnQ9.js.map +1 -0
- package/dist/nix--T1_wsUf.js +79 -0
- package/dist/nix--T1_wsUf.js.map +1 -0
- package/dist/nsis-CE9xzj15.js +67 -0
- package/dist/nsis-CE9xzj15.js.map +1 -0
- package/dist/objectivec-A6iAVkeB.js +55 -0
- package/dist/objectivec-A6iAVkeB.js.map +1 -0
- package/dist/ocaml-BC-lHJZA.js +97 -0
- package/dist/ocaml-BC-lHJZA.js.map +1 -0
- package/dist/opencl-CnCCtMKL.js +97 -0
- package/dist/opencl-CnCCtMKL.js.gz +0 -0
- package/dist/opencl-CnCCtMKL.js.map +1 -0
- package/dist/openqasm-Dt9JdOFJ.js +60 -0
- package/dist/openqasm-Dt9JdOFJ.js.map +1 -0
- package/dist/oz-aFL2Iy8B.js +70 -0
- package/dist/oz-aFL2Iy8B.js.map +1 -0
- package/dist/parigp-CUhy_bwG.js +91 -0
- package/dist/parigp-CUhy_bwG.js.map +1 -0
- package/dist/parser-MpmiC_7b.js +116 -0
- package/dist/parser-MpmiC_7b.js.map +1 -0
- package/dist/pascal-CiRpum9a.js +106 -0
- package/dist/pascal-CiRpum9a.js.map +1 -0
- package/dist/pascaligo-BFBF5rf7.js +128 -0
- package/dist/pascaligo-BFBF5rf7.js.map +1 -0
- package/dist/pcaxis-B3ZWwa4E.js +94 -0
- package/dist/pcaxis-B3ZWwa4E.js.map +1 -0
- package/dist/peoplecode-CnXb4DxE.js +84 -0
- package/dist/peoplecode-CnXb4DxE.js.map +1 -0
- package/dist/perl-B5ZO0bi4.js +173 -0
- package/dist/perl-B5ZO0bi4.js.map +1 -0
- package/dist/php-BBLqus8v.js +347 -0
- package/dist/php-BBLqus8v.js.gz +0 -0
- package/dist/php-BBLqus8v.js.map +1 -0
- package/dist/php-extras-thTLo46T.js +59 -0
- package/dist/php-extras-thTLo46T.js.map +1 -0
- package/dist/php-qWlIPrSK.js +31 -0
- package/dist/php-qWlIPrSK.js.map +1 -0
- package/dist/phpdoc-Zd1gQNLg.js +74 -0
- package/dist/phpdoc-Zd1gQNLg.js.map +1 -0
- package/dist/plsql-oivgB6a0.js +61 -0
- package/dist/plsql-oivgB6a0.js.map +1 -0
- package/dist/powerquery-BgH699y4.js +94 -0
- package/dist/powerquery-BgH699y4.js.map +1 -0
- package/dist/powershell-D4c11US9.js +97 -0
- package/dist/powershell-D4c11US9.js.map +1 -0
- package/dist/processing-Dxz0m36k.js +56 -0
- package/dist/processing-Dxz0m36k.js.map +1 -0
- package/dist/prolog-B6WRUPN0.js +61 -0
- package/dist/prolog-B6WRUPN0.js.map +1 -0
- package/dist/promql-F9ca9EAm.js +132 -0
- package/dist/promql-F9ca9EAm.js.map +1 -0
- package/dist/properties-CRZCME4s.js +51 -0
- package/dist/properties-CRZCME4s.js.map +1 -0
- package/dist/protobuf-C2f7QC99.js +81 -0
- package/dist/protobuf-C2f7QC99.js.map +1 -0
- package/dist/psl-BuM8q5hK.js +77 -0
- package/dist/psl-BuM8q5hK.js.map +1 -0
- package/dist/pug-D8RezS0m.js +227 -0
- package/dist/pug-D8RezS0m.js.map +1 -0
- package/dist/puppet-CB-VBKbq.js +177 -0
- package/dist/puppet-CB-VBKbq.js.map +1 -0
- package/dist/pure-CSevquAM.js +130 -0
- package/dist/pure-CSevquAM.js.map +1 -0
- package/dist/purebasic-DlD9-uDd.js +100 -0
- package/dist/purebasic-DlD9-uDd.js.map +1 -0
- package/dist/purescript-Bb15-_Rv.js +72 -0
- package/dist/purescript-Bb15-_Rv.js.map +1 -0
- package/dist/python-Bg8LtX77.js +105 -0
- package/dist/python-Bg8LtX77.js.map +1 -0
- package/dist/q-DF7uK_-J.js +92 -0
- package/dist/q-DF7uK_-J.js.map +1 -0
- package/dist/qml-x1CtwKwT.js +117 -0
- package/dist/qml-x1CtwKwT.js.map +1 -0
- package/dist/qore-HS8qEv8g.js +62 -0
- package/dist/qore-HS8qEv8g.js.map +1 -0
- package/dist/qsharp-rtfe_NYv.js +144 -0
- package/dist/qsharp-rtfe_NYv.js.map +1 -0
- package/dist/r-CqF54G5x.js +64 -0
- package/dist/r-CqF54G5x.js.map +1 -0
- package/dist/racket-CCoPKUn5.js +61 -0
- package/dist/racket-CCoPKUn5.js.map +1 -0
- package/dist/reason-CHBEgDgk.js +65 -0
- package/dist/reason-CHBEgDgk.js.map +1 -0
- package/dist/regex-wHof4onn.js +139 -0
- package/dist/regex-wHof4onn.js.map +1 -0
- package/dist/rego-ClQwoJuz.js +67 -0
- package/dist/rego-ClQwoJuz.js.map +1 -0
- package/dist/renpy-CJmFfTdl.js +61 -0
- package/dist/renpy-CJmFfTdl.js.map +1 -0
- package/dist/rest-Dky1Xv7c.js +240 -0
- package/dist/rest-Dky1Xv7c.js.map +1 -0
- package/dist/rip-BRcFUXbs.js +71 -0
- package/dist/rip-BRcFUXbs.js.map +1 -0
- package/dist/roboconf-5wCnh43b.js +69 -0
- package/dist/roboconf-5wCnh43b.js.map +1 -0
- package/dist/robotframework-DdHKRAKu.js +139 -0
- package/dist/robotframework-DdHKRAKu.js.map +1 -0
- package/dist/ruby-BhyE9auN.js +193 -0
- package/dist/ruby-BhyE9auN.js.map +1 -0
- package/dist/ruby-DU9_tFYO.js +31 -0
- package/dist/ruby-DU9_tFYO.js.map +1 -0
- package/dist/rust-DKq7JDkC.js +163 -0
- package/dist/rust-DKq7JDkC.js.map +1 -0
- package/dist/sas-Cg6Nq1SA.js +388 -0
- package/dist/sas-Cg6Nq1SA.js.gz +0 -0
- package/dist/sas-Cg6Nq1SA.js.map +1 -0
- package/dist/sass-DL-aJtj8.js +111 -0
- package/dist/sass-DL-aJtj8.js.map +1 -0
- package/dist/scala-WHMwIvSH.js +92 -0
- package/dist/scala-WHMwIvSH.js.map +1 -0
- package/dist/scheme-BIkXa0-K.js +128 -0
- package/dist/scheme-BIkXa0-K.js.map +1 -0
- package/dist/scheme-_Y1FSeBk.js +31 -0
- package/dist/scheme-_Y1FSeBk.js.map +1 -0
- package/dist/scss-CQBD009x.js +119 -0
- package/dist/scss-CQBD009x.js.map +1 -0
- package/dist/shell-session-B_8HhSQY.js +103 -0
- package/dist/shell-session-B_8HhSQY.js.map +1 -0
- package/dist/smali-3ybSF7DU.js +121 -0
- package/dist/smali-3ybSF7DU.js.map +1 -0
- package/dist/smalltalk-7LMs95g7.js +80 -0
- package/dist/smalltalk-7LMs95g7.js.map +1 -0
- package/dist/smarty-CNnHhPeW.js +171 -0
- package/dist/smarty-CNnHhPeW.js.map +1 -0
- package/dist/sml-D0AOYgn7.js +102 -0
- package/dist/sml-D0AOYgn7.js.map +1 -0
- package/dist/solidity-wNxM4SRR.js +61 -0
- package/dist/solidity-wNxM4SRR.js.map +1 -0
- package/dist/solution-file-DGyaXqLI.js +89 -0
- package/dist/solution-file-DGyaXqLI.js.map +1 -0
- package/dist/soy-31Xz5sto.js +136 -0
- package/dist/soy-31Xz5sto.js.map +1 -0
- package/dist/sparql-B1uA2bE0.js +60 -0
- package/dist/sparql-B1uA2bE0.js.map +1 -0
- package/dist/splunk-spl-BxA5Z3OD.js +66 -0
- package/dist/splunk-spl-BxA5Z3OD.js.map +1 -0
- package/dist/sqf-DOD-CNNV.js +74 -0
- package/dist/sqf-DOD-CNNV.js.gz +0 -0
- package/dist/sqf-DOD-CNNV.js.map +1 -0
- package/dist/sql-C3TUcweP.js +49 -0
- package/dist/sql-C3TUcweP.js.map +1 -0
- package/dist/sql-C4zIkQDG.js +31 -0
- package/dist/sql-C4zIkQDG.js.map +1 -0
- package/dist/squirrel-SoAt6CtU.js +85 -0
- package/dist/squirrel-SoAt6CtU.js.map +1 -0
- package/dist/stan-Bv8grJQZ.js +96 -0
- package/dist/stan-Bv8grJQZ.js.map +1 -0
- package/dist/style.css +1 -1
- package/dist/style.css.gz +0 -0
- package/dist/stylus-BOalQNmv.js +178 -0
- package/dist/stylus-BOalQNmv.js.map +1 -0
- package/dist/swift-B7UDjEPv.js +162 -0
- package/dist/swift-B7UDjEPv.js.map +1 -0
- package/dist/systemd-Bd53Ny4S.js +97 -0
- package/dist/systemd-Bd53Ny4S.js.map +1 -0
- package/dist/t4-cs-Dw98XrIw.js +49 -0
- package/dist/t4-cs-Dw98XrIw.js.map +1 -0
- package/dist/t4-templating-BGmVz2pK.js +62 -0
- package/dist/t4-templating-BGmVz2pK.js.map +1 -0
- package/dist/t4-templating-CQ3kgiQu.js +31 -0
- package/dist/t4-templating-CQ3kgiQu.js.map +1 -0
- package/dist/t4-vb-ByKd44S2.js +49 -0
- package/dist/t4-vb-ByKd44S2.js.map +1 -0
- package/dist/tap-CRJigZER.js +65 -0
- package/dist/tap-CRJigZER.js.map +1 -0
- package/dist/tcl-nTdHwEfu.js +88 -0
- package/dist/tcl-nTdHwEfu.js.map +1 -0
- package/dist/textile-B3LIn7fY.js +311 -0
- package/dist/textile-B3LIn7fY.js.gz +0 -0
- package/dist/textile-B3LIn7fY.js.map +1 -0
- package/dist/toml-BFIv8R_U.js +95 -0
- package/dist/toml-BFIv8R_U.js.map +1 -0
- package/dist/tremor-BhknNNX8.js +101 -0
- package/dist/tremor-BhknNNX8.js.map +1 -0
- package/dist/tsx-DEAPEmtC.js +60 -0
- package/dist/tsx-DEAPEmtC.js.map +1 -0
- package/dist/tt2-Ctlii8nr.js +93 -0
- package/dist/tt2-Ctlii8nr.js.map +1 -0
- package/dist/turtle-CcRzQOZ0.js +31 -0
- package/dist/turtle-CcRzQOZ0.js.map +1 -0
- package/dist/turtle-D3qNu8kc.js +67 -0
- package/dist/turtle-D3qNu8kc.js.map +1 -0
- package/dist/twig-BkShu8ft.js +84 -0
- package/dist/twig-BkShu8ft.js.map +1 -0
- package/dist/types/assets/svg/index.d.ts +11 -0
- package/dist/types/components/KnowledgeCard/index.d.ts +54 -0
- package/dist/types/components/MyReactMarkdown/index.d.ts +4 -0
- package/dist/types/components/QuestionRender/QuestionTypeComponent/AnswerQuestion/answerEditor.d.ts +5 -0
- package/dist/types/components/QuestionRender/QuestionTypeComponent/AnswerQuestion/index.d.ts +5 -0
- package/dist/types/components/QuestionRender/QuestionTypeComponent/ChoiceQuestion/ChoiceEditor.d.ts +12 -0
- package/dist/types/components/QuestionRender/QuestionTypeComponent/ChoiceQuestion/index.d.ts +9 -0
- package/dist/types/components/QuestionRender/QuestionTypeComponent/CodeQuestion/components/CcmQuizItem/index.d.ts +9 -0
- package/dist/types/components/QuestionRender/QuestionTypeComponent/CodeQuestion/components/Code.d.ts +10 -0
- package/dist/types/components/QuestionRender/QuestionTypeComponent/CodeQuestion/components/CodeEditor.d.ts +5 -0
- package/dist/types/components/QuestionRender/QuestionTypeComponent/CodeQuestion/components/CodeRunner/index.d.ts +8 -0
- package/dist/types/components/QuestionRender/QuestionTypeComponent/CodeQuestion/components/Content.d.ts +14 -0
- package/dist/types/components/QuestionRender/QuestionTypeComponent/CodeQuestion/components/Debug.d.ts +11 -0
- package/dist/types/components/QuestionRender/QuestionTypeComponent/CodeQuestion/components/ListItem.d.ts +9 -0
- package/dist/types/components/QuestionRender/QuestionTypeComponent/CodeQuestion/components/Step/index.d.ts +14 -0
- package/dist/types/components/QuestionRender/QuestionTypeComponent/CodeQuestion/components/Verify.d.ts +10 -0
- package/dist/types/components/QuestionRender/QuestionTypeComponent/CodeQuestion/index.d.ts +10 -0
- package/dist/types/components/QuestionRender/QuestionTypeComponent/CompletionQuestion/CompletionEditor.d.ts +5 -0
- package/dist/types/components/QuestionRender/QuestionTypeComponent/CompletionQuestion/index.d.ts +8 -0
- package/dist/types/components/QuestionRender/QuestionTypeComponent/CompositeQuestion/CompositeEditor.d.ts +5 -0
- package/dist/types/components/QuestionRender/QuestionTypeComponent/CompositeQuestion/index.d.ts +5 -0
- package/dist/types/components/QuestionRender/QuestionTypeComponent/DrawQuestion/DrawEditor.d.ts +5 -0
- package/dist/types/components/QuestionRender/QuestionTypeComponent/DrawQuestion/DrawItem.d.ts +13 -0
- package/dist/types/components/QuestionRender/QuestionTypeComponent/DrawQuestion/index.d.ts +5 -0
- package/dist/types/components/QuestionRender/components/Drawx6/CellPanel.d.ts +9 -0
- package/dist/types/components/QuestionRender/components/Drawx6/Editor.d.ts +21 -0
- package/dist/types/components/QuestionRender/components/Drawx6/KeyBordModal.d.ts +7 -0
- package/dist/types/components/QuestionRender/components/Drawx6/Show.d.ts +13 -0
- package/dist/types/components/QuestionRender/components/Drawx6/index.d.ts +21 -0
- package/dist/types/components/QuestionRender/components/Drawx6/plugins/EdgeDnd/index.d.ts +50 -0
- package/dist/types/components/QuestionRender/components/Drawx6/plugins/EdgeDnd/style.d.ts +1 -0
- package/dist/types/components/QuestionRender/components/Drawx6/register.d.ts +1 -0
- package/dist/types/components/QuestionRender/components/MiniCodeEditor/index.d.ts +10 -0
- package/dist/types/components/QuestionRender/components/QuesstionHeader/index.d.ts +14 -0
- package/dist/types/components/QuestionRender/components/RichEditor/FillBlank/index.d.ts +4 -0
- package/dist/types/components/QuestionRender/components/RichEditor/FillBlank/menu.d.ts +12 -0
- package/dist/types/components/QuestionRender/components/RichEditor/FillBlank/plugin.d.ts +4 -0
- package/dist/types/components/QuestionRender/components/RichEditor/index.d.ts +21 -0
- package/dist/types/components/QuestionRender/components/TipsAbility/index.d.ts +11 -0
- package/dist/types/components/QuestionRender/context/index.d.ts +10 -0
- package/dist/types/components/QuestionRender/types/index.d.ts +253 -0
- package/dist/types/components/QuestionRender/utils/const.d.ts +47 -0
- package/dist/types/components/QuestionRender/utils/verifyTools.d.ts +4 -0
- package/dist/types/components/VideoPlayer/index.d.ts +13 -0
- package/dist/types/main.d.ts +1 -0
- package/dist/types/utils/const.d.ts +10 -0
- package/dist/types/utils/index.d.ts +8 -0
- package/dist/types/utils/verifyTools.d.ts +4 -0
- package/dist/typescript-D7v9jkvH.js +31 -0
- package/dist/typescript-D7v9jkvH.js.map +1 -0
- package/dist/typescript-e-gwqYt9.js +67 -0
- package/dist/typescript-e-gwqYt9.js.map +1 -0
- package/dist/typoscript-BWkGPboI.js +119 -0
- package/dist/typoscript-BWkGPboI.js.map +1 -0
- package/dist/unrealscript-CIznoo8Y.js +81 -0
- package/dist/unrealscript-CIznoo8Y.js.map +1 -0
- package/dist/uorazor-BzGPu0Bj.js +90 -0
- package/dist/uorazor-BzGPu0Bj.js.map +1 -0
- package/dist/uri-DDzI07Zc.js +126 -0
- package/dist/uri-DDzI07Zc.js.map +1 -0
- package/dist/v-Drqq3Yy-.js +119 -0
- package/dist/v-Drqq3Yy-.js.map +1 -0
- package/dist/vala-lkpPg3Px.js +124 -0
- package/dist/vala-lkpPg3Px.js.map +1 -0
- package/dist/vbnet-BPbdotHX.js +31 -0
- package/dist/vbnet-BPbdotHX.js.map +1 -0
- package/dist/vbnet-D0GSTx4W.js +41 -0
- package/dist/vbnet-D0GSTx4W.js.map +1 -0
- package/dist/velocity-oFW7dwFg.js +110 -0
- package/dist/velocity-oFW7dwFg.js.map +1 -0
- package/dist/verilog-DVjHPNj8.js +68 -0
- package/dist/verilog-DVjHPNj8.js.map +1 -0
- package/dist/vhdl-BDjxPEck.js +65 -0
- package/dist/vhdl-BDjxPEck.js.map +1 -0
- package/dist/vim-rlQTyVcH.js +52 -0
- package/dist/vim-rlQTyVcH.js.gz +0 -0
- package/dist/vim-rlQTyVcH.js.map +1 -0
- package/dist/visual-basic-D5q0LX_r.js +70 -0
- package/dist/visual-basic-D5q0LX_r.js.map +1 -0
- package/dist/warpscript-RxU40iJr.js +63 -0
- package/dist/warpscript-RxU40iJr.js.map +1 -0
- package/dist/wasm-HbJer3Oi.js +73 -0
- package/dist/wasm-HbJer3Oi.js.map +1 -0
- package/dist/web-idl-CZbxRc4B.js +132 -0
- package/dist/web-idl-CZbxRc4B.js.map +1 -0
- package/dist/wiki-BhokOJ04.js +120 -0
- package/dist/wiki-BhokOJ04.js.map +1 -0
- package/dist/wolfram-CDSJLgDd.js +70 -0
- package/dist/wolfram-CDSJLgDd.js.map +1 -0
- package/dist/wren-C3O5Qi9Z.js +131 -0
- package/dist/wren-C3O5Qi9Z.js.map +1 -0
- package/dist/xeora-Bxq5guzy.js +158 -0
- package/dist/xeora-Bxq5guzy.js.map +1 -0
- package/dist/xml-doc-Dq9Dh3YI.js +71 -0
- package/dist/xml-doc-Dq9Dh3YI.js.map +1 -0
- package/dist/xojo-DFqRRxk7.js +60 -0
- package/dist/xojo-DFqRRxk7.js.map +1 -0
- package/dist/xquery-ZAnNGmG2.js +180 -0
- package/dist/xquery-ZAnNGmG2.js.map +1 -0
- package/dist/yaml-DsQF0ll0.js +31 -0
- package/dist/yaml-DsQF0ll0.js.map +1 -0
- package/dist/yaml-hSvfQRm2.js +102 -0
- package/dist/yaml-hSvfQRm2.js.map +1 -0
- package/dist/yang-1vvc-BiB.js +62 -0
- package/dist/yang-1vvc-BiB.js.map +1 -0
- package/dist/zig-CpLbdj14.js +134 -0
- package/dist/zig-CpLbdj14.js.map +1 -0
- package/package.json +30 -3
- package/dist/index.esm.js +0 -685
- package/dist/index.umd.js +0 -30
- /package/dist/{index.d.ts → types/index.d.ts} +0 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { g as getDefaultExportFromCjs } from "./index-Cdd6oM-q.js";
|
|
2
|
+
import { r as requireCsharp } from "./csharp-iD8vdCRX.js";
|
|
3
|
+
function _mergeNamespaces(n, m) {
|
|
4
|
+
for (var i = 0; i < m.length; i++) {
|
|
5
|
+
const e = m[i];
|
|
6
|
+
if (typeof e !== "string" && !Array.isArray(e)) {
|
|
7
|
+
for (const k in e) {
|
|
8
|
+
if (k !== "default" && !(k in n)) {
|
|
9
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
10
|
+
if (d) {
|
|
11
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: () => e[k]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
21
|
+
}
|
|
22
|
+
var csharpExports = requireCsharp();
|
|
23
|
+
const csharp = /* @__PURE__ */ getDefaultExportFromCjs(csharpExports);
|
|
24
|
+
const csharp$1 = /* @__PURE__ */ _mergeNamespaces({
|
|
25
|
+
__proto__: null,
|
|
26
|
+
default: csharp
|
|
27
|
+
}, [csharpExports]);
|
|
28
|
+
export {
|
|
29
|
+
csharp$1 as c
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=csharp-CYOFBHK2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"csharp-CYOFBHK2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,423 @@
|
|
|
1
|
+
var csharp_1;
|
|
2
|
+
var hasRequiredCsharp;
|
|
3
|
+
function requireCsharp() {
|
|
4
|
+
if (hasRequiredCsharp) return csharp_1;
|
|
5
|
+
hasRequiredCsharp = 1;
|
|
6
|
+
csharp_1 = csharp;
|
|
7
|
+
csharp.displayName = "csharp";
|
|
8
|
+
csharp.aliases = ["dotnet", "cs"];
|
|
9
|
+
function csharp(Prism) {
|
|
10
|
+
(function(Prism2) {
|
|
11
|
+
function replace(pattern, replacements) {
|
|
12
|
+
return pattern.replace(/<<(\d+)>>/g, function(m, index) {
|
|
13
|
+
return "(?:" + replacements[+index] + ")";
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
function re(pattern, replacements, flags) {
|
|
17
|
+
return RegExp(replace(pattern, replacements), "");
|
|
18
|
+
}
|
|
19
|
+
function nested(pattern, depthLog2) {
|
|
20
|
+
for (var i = 0; i < depthLog2; i++) {
|
|
21
|
+
pattern = pattern.replace(/<<self>>/g, function() {
|
|
22
|
+
return "(?:" + pattern + ")";
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
return pattern.replace(/<<self>>/g, "[^\\s\\S]");
|
|
26
|
+
}
|
|
27
|
+
var keywordKinds = {
|
|
28
|
+
// keywords which represent a return or variable type
|
|
29
|
+
type: "bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",
|
|
30
|
+
// keywords which are used to declare a type
|
|
31
|
+
typeDeclaration: "class enum interface record struct",
|
|
32
|
+
// contextual keywords
|
|
33
|
+
// ("var" and "dynamic" are missing because they are used like types)
|
|
34
|
+
contextual: "add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",
|
|
35
|
+
// all other keywords
|
|
36
|
+
other: "abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"
|
|
37
|
+
};
|
|
38
|
+
function keywordsToPattern(words) {
|
|
39
|
+
return "\\b(?:" + words.trim().replace(/ /g, "|") + ")\\b";
|
|
40
|
+
}
|
|
41
|
+
var typeDeclarationKeywords = keywordsToPattern(
|
|
42
|
+
keywordKinds.typeDeclaration
|
|
43
|
+
);
|
|
44
|
+
var keywords = RegExp(
|
|
45
|
+
keywordsToPattern(
|
|
46
|
+
keywordKinds.type + " " + keywordKinds.typeDeclaration + " " + keywordKinds.contextual + " " + keywordKinds.other
|
|
47
|
+
)
|
|
48
|
+
);
|
|
49
|
+
var nonTypeKeywords = keywordsToPattern(
|
|
50
|
+
keywordKinds.typeDeclaration + " " + keywordKinds.contextual + " " + keywordKinds.other
|
|
51
|
+
);
|
|
52
|
+
var nonContextualKeywords = keywordsToPattern(
|
|
53
|
+
keywordKinds.type + " " + keywordKinds.typeDeclaration + " " + keywordKinds.other
|
|
54
|
+
);
|
|
55
|
+
var generic = nested(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source, 2);
|
|
56
|
+
var nestedRound = nested(/\((?:[^()]|<<self>>)*\)/.source, 2);
|
|
57
|
+
var name = /@?\b[A-Za-z_]\w*\b/.source;
|
|
58
|
+
var genericName = replace(/<<0>>(?:\s*<<1>>)?/.source, [name, generic]);
|
|
59
|
+
var identifier = replace(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source, [
|
|
60
|
+
nonTypeKeywords,
|
|
61
|
+
genericName
|
|
62
|
+
]);
|
|
63
|
+
var array = /\[\s*(?:,\s*)*\]/.source;
|
|
64
|
+
var typeExpressionWithoutTuple = replace(
|
|
65
|
+
/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,
|
|
66
|
+
[identifier, array]
|
|
67
|
+
);
|
|
68
|
+
var tupleElement = replace(
|
|
69
|
+
/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,
|
|
70
|
+
[generic, nestedRound, array]
|
|
71
|
+
);
|
|
72
|
+
var tuple = replace(/\(<<0>>+(?:,<<0>>+)+\)/.source, [tupleElement]);
|
|
73
|
+
var typeExpression = replace(
|
|
74
|
+
/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,
|
|
75
|
+
[tuple, identifier, array]
|
|
76
|
+
);
|
|
77
|
+
var typeInside = {
|
|
78
|
+
keyword: keywords,
|
|
79
|
+
punctuation: /[<>()?,.:[\]]/
|
|
80
|
+
};
|
|
81
|
+
var character = /'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source;
|
|
82
|
+
var regularString = /"(?:\\.|[^\\"\r\n])*"/.source;
|
|
83
|
+
var verbatimString = /@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;
|
|
84
|
+
Prism2.languages.csharp = Prism2.languages.extend("clike", {
|
|
85
|
+
string: [
|
|
86
|
+
{
|
|
87
|
+
pattern: re(/(^|[^$\\])<<0>>/.source, [verbatimString]),
|
|
88
|
+
lookbehind: true,
|
|
89
|
+
greedy: true
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
pattern: re(/(^|[^@$\\])<<0>>/.source, [regularString]),
|
|
93
|
+
lookbehind: true,
|
|
94
|
+
greedy: true
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"class-name": [
|
|
98
|
+
{
|
|
99
|
+
// Using static
|
|
100
|
+
// using static System.Math;
|
|
101
|
+
pattern: re(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source, [
|
|
102
|
+
identifier
|
|
103
|
+
]),
|
|
104
|
+
lookbehind: true,
|
|
105
|
+
inside: typeInside
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
// Using alias (type)
|
|
109
|
+
// using Project = PC.MyCompany.Project;
|
|
110
|
+
pattern: re(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source, [
|
|
111
|
+
name,
|
|
112
|
+
typeExpression
|
|
113
|
+
]),
|
|
114
|
+
lookbehind: true,
|
|
115
|
+
inside: typeInside
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
// Using alias (alias)
|
|
119
|
+
// using Project = PC.MyCompany.Project;
|
|
120
|
+
pattern: re(/(\busing\s+)<<0>>(?=\s*=)/.source, [name]),
|
|
121
|
+
lookbehind: true
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
// Type declarations
|
|
125
|
+
// class Foo<A, B>
|
|
126
|
+
// interface Foo<out A, B>
|
|
127
|
+
pattern: re(/(\b<<0>>\s+)<<1>>/.source, [
|
|
128
|
+
typeDeclarationKeywords,
|
|
129
|
+
genericName
|
|
130
|
+
]),
|
|
131
|
+
lookbehind: true,
|
|
132
|
+
inside: typeInside
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
// Single catch exception declaration
|
|
136
|
+
// catch(Foo)
|
|
137
|
+
// (things like catch(Foo e) is covered by variable declaration)
|
|
138
|
+
pattern: re(/(\bcatch\s*\(\s*)<<0>>/.source, [identifier]),
|
|
139
|
+
lookbehind: true,
|
|
140
|
+
inside: typeInside
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
// Name of the type parameter of generic constraints
|
|
144
|
+
// where Foo : class
|
|
145
|
+
pattern: re(/(\bwhere\s+)<<0>>/.source, [name]),
|
|
146
|
+
lookbehind: true
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
// Casts and checks via as and is.
|
|
150
|
+
// as Foo<A>, is Bar<B>
|
|
151
|
+
// (things like if(a is Foo b) is covered by variable declaration)
|
|
152
|
+
pattern: re(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source, [
|
|
153
|
+
typeExpressionWithoutTuple
|
|
154
|
+
]),
|
|
155
|
+
lookbehind: true,
|
|
156
|
+
inside: typeInside
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
// Variable, field and parameter declaration
|
|
160
|
+
// (Foo bar, Bar baz, Foo[,,] bay, Foo<Bar, FooBar<Bar>> bax)
|
|
161
|
+
pattern: re(
|
|
162
|
+
/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,
|
|
163
|
+
[typeExpression, nonContextualKeywords, name]
|
|
164
|
+
),
|
|
165
|
+
inside: typeInside
|
|
166
|
+
}
|
|
167
|
+
],
|
|
168
|
+
keyword: keywords,
|
|
169
|
+
// https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/lexical-structure#literals
|
|
170
|
+
number: /(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,
|
|
171
|
+
operator: />>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,
|
|
172
|
+
punctuation: /\?\.?|::|[{}[\];(),.:]/
|
|
173
|
+
});
|
|
174
|
+
Prism2.languages.insertBefore("csharp", "number", {
|
|
175
|
+
range: {
|
|
176
|
+
pattern: /\.\./,
|
|
177
|
+
alias: "operator"
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
Prism2.languages.insertBefore("csharp", "punctuation", {
|
|
181
|
+
"named-parameter": {
|
|
182
|
+
pattern: re(/([(,]\s*)<<0>>(?=\s*:)/.source, [name]),
|
|
183
|
+
lookbehind: true,
|
|
184
|
+
alias: "punctuation"
|
|
185
|
+
}
|
|
186
|
+
});
|
|
187
|
+
Prism2.languages.insertBefore("csharp", "class-name", {
|
|
188
|
+
namespace: {
|
|
189
|
+
// namespace Foo.Bar {}
|
|
190
|
+
// using Foo.Bar;
|
|
191
|
+
pattern: re(
|
|
192
|
+
/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,
|
|
193
|
+
[name]
|
|
194
|
+
),
|
|
195
|
+
lookbehind: true,
|
|
196
|
+
inside: {
|
|
197
|
+
punctuation: /\./
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"type-expression": {
|
|
201
|
+
// default(Foo), typeof(Foo<Bar>), sizeof(int)
|
|
202
|
+
pattern: re(
|
|
203
|
+
/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,
|
|
204
|
+
[nestedRound]
|
|
205
|
+
),
|
|
206
|
+
lookbehind: true,
|
|
207
|
+
alias: "class-name",
|
|
208
|
+
inside: typeInside
|
|
209
|
+
},
|
|
210
|
+
"return-type": {
|
|
211
|
+
// Foo<Bar> ForBar(); Foo IFoo.Bar() => 0
|
|
212
|
+
// int this[int index] => 0; T IReadOnlyList<T>.this[int index] => this[index];
|
|
213
|
+
// int Foo => 0; int Foo { get; set } = 0;
|
|
214
|
+
pattern: re(
|
|
215
|
+
/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,
|
|
216
|
+
[typeExpression, identifier]
|
|
217
|
+
),
|
|
218
|
+
inside: typeInside,
|
|
219
|
+
alias: "class-name"
|
|
220
|
+
},
|
|
221
|
+
"constructor-invocation": {
|
|
222
|
+
// new List<Foo<Bar[]>> { }
|
|
223
|
+
pattern: re(/(\bnew\s+)<<0>>(?=\s*[[({])/.source, [typeExpression]),
|
|
224
|
+
lookbehind: true,
|
|
225
|
+
inside: typeInside,
|
|
226
|
+
alias: "class-name"
|
|
227
|
+
},
|
|
228
|
+
/*'explicit-implementation': {
|
|
229
|
+
// int IFoo<Foo>.Bar => 0; void IFoo<Foo<Foo>>.Foo<T>();
|
|
230
|
+
pattern: replace(/\b<<0>>(?=\.<<1>>)/, className, methodOrPropertyDeclaration),
|
|
231
|
+
inside: classNameInside,
|
|
232
|
+
alias: 'class-name'
|
|
233
|
+
},*/
|
|
234
|
+
"generic-method": {
|
|
235
|
+
// foo<Bar>()
|
|
236
|
+
pattern: re(/<<0>>\s*<<1>>(?=\s*\()/.source, [name, generic]),
|
|
237
|
+
inside: {
|
|
238
|
+
function: re(/^<<0>>/.source, [name]),
|
|
239
|
+
generic: {
|
|
240
|
+
pattern: RegExp(generic),
|
|
241
|
+
alias: "class-name",
|
|
242
|
+
inside: typeInside
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"type-list": {
|
|
247
|
+
// The list of types inherited or of generic constraints
|
|
248
|
+
// class Foo<F> : Bar, IList<FooBar>
|
|
249
|
+
// where F : Bar, IList<int>
|
|
250
|
+
pattern: re(
|
|
251
|
+
/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,
|
|
252
|
+
[
|
|
253
|
+
typeDeclarationKeywords,
|
|
254
|
+
genericName,
|
|
255
|
+
name,
|
|
256
|
+
typeExpression,
|
|
257
|
+
keywords.source,
|
|
258
|
+
nestedRound,
|
|
259
|
+
/\bnew\s*\(\s*\)/.source
|
|
260
|
+
]
|
|
261
|
+
),
|
|
262
|
+
lookbehind: true,
|
|
263
|
+
inside: {
|
|
264
|
+
"record-arguments": {
|
|
265
|
+
pattern: re(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source, [
|
|
266
|
+
genericName,
|
|
267
|
+
nestedRound
|
|
268
|
+
]),
|
|
269
|
+
lookbehind: true,
|
|
270
|
+
greedy: true,
|
|
271
|
+
inside: Prism2.languages.csharp
|
|
272
|
+
},
|
|
273
|
+
keyword: keywords,
|
|
274
|
+
"class-name": {
|
|
275
|
+
pattern: RegExp(typeExpression),
|
|
276
|
+
greedy: true,
|
|
277
|
+
inside: typeInside
|
|
278
|
+
},
|
|
279
|
+
punctuation: /[,()]/
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
preprocessor: {
|
|
283
|
+
pattern: /(^[\t ]*)#.*/m,
|
|
284
|
+
lookbehind: true,
|
|
285
|
+
alias: "property",
|
|
286
|
+
inside: {
|
|
287
|
+
// highlight preprocessor directives as keywords
|
|
288
|
+
directive: {
|
|
289
|
+
pattern: /(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,
|
|
290
|
+
lookbehind: true,
|
|
291
|
+
alias: "keyword"
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
});
|
|
296
|
+
var regularStringOrCharacter = regularString + "|" + character;
|
|
297
|
+
var regularStringCharacterOrComment = replace(
|
|
298
|
+
/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,
|
|
299
|
+
[regularStringOrCharacter]
|
|
300
|
+
);
|
|
301
|
+
var roundExpression = nested(
|
|
302
|
+
replace(/[^"'/()]|<<0>>|\(<<self>>*\)/.source, [
|
|
303
|
+
regularStringCharacterOrComment
|
|
304
|
+
]),
|
|
305
|
+
2
|
|
306
|
+
);
|
|
307
|
+
var attrTarget = /\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source;
|
|
308
|
+
var attr = replace(/<<0>>(?:\s*\(<<1>>*\))?/.source, [
|
|
309
|
+
identifier,
|
|
310
|
+
roundExpression
|
|
311
|
+
]);
|
|
312
|
+
Prism2.languages.insertBefore("csharp", "class-name", {
|
|
313
|
+
attribute: {
|
|
314
|
+
// Attributes
|
|
315
|
+
// [Foo], [Foo(1), Bar(2, Prop = "foo")], [return: Foo(1), Bar(2)], [assembly: Foo(Bar)]
|
|
316
|
+
pattern: re(
|
|
317
|
+
/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,
|
|
318
|
+
[attrTarget, attr]
|
|
319
|
+
),
|
|
320
|
+
lookbehind: true,
|
|
321
|
+
greedy: true,
|
|
322
|
+
inside: {
|
|
323
|
+
target: {
|
|
324
|
+
pattern: re(/^<<0>>(?=\s*:)/.source, [attrTarget]),
|
|
325
|
+
alias: "keyword"
|
|
326
|
+
},
|
|
327
|
+
"attribute-arguments": {
|
|
328
|
+
pattern: re(/\(<<0>>*\)/.source, [roundExpression]),
|
|
329
|
+
inside: Prism2.languages.csharp
|
|
330
|
+
},
|
|
331
|
+
"class-name": {
|
|
332
|
+
pattern: RegExp(identifier),
|
|
333
|
+
inside: {
|
|
334
|
+
punctuation: /\./
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
punctuation: /[:,]/
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
});
|
|
341
|
+
var formatString = /:[^}\r\n]+/.source;
|
|
342
|
+
var mInterpolationRound = nested(
|
|
343
|
+
replace(/[^"'/()]|<<0>>|\(<<self>>*\)/.source, [
|
|
344
|
+
regularStringCharacterOrComment
|
|
345
|
+
]),
|
|
346
|
+
2
|
|
347
|
+
);
|
|
348
|
+
var mInterpolation = replace(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source, [
|
|
349
|
+
mInterpolationRound,
|
|
350
|
+
formatString
|
|
351
|
+
]);
|
|
352
|
+
var sInterpolationRound = nested(
|
|
353
|
+
replace(
|
|
354
|
+
/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,
|
|
355
|
+
[regularStringOrCharacter]
|
|
356
|
+
),
|
|
357
|
+
2
|
|
358
|
+
);
|
|
359
|
+
var sInterpolation = replace(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source, [
|
|
360
|
+
sInterpolationRound,
|
|
361
|
+
formatString
|
|
362
|
+
]);
|
|
363
|
+
function createInterpolationInside(interpolation, interpolationRound) {
|
|
364
|
+
return {
|
|
365
|
+
interpolation: {
|
|
366
|
+
pattern: re(/((?:^|[^{])(?:\{\{)*)<<0>>/.source, [interpolation]),
|
|
367
|
+
lookbehind: true,
|
|
368
|
+
inside: {
|
|
369
|
+
"format-string": {
|
|
370
|
+
pattern: re(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source, [
|
|
371
|
+
interpolationRound,
|
|
372
|
+
formatString
|
|
373
|
+
]),
|
|
374
|
+
lookbehind: true,
|
|
375
|
+
inside: {
|
|
376
|
+
punctuation: /^:/
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
punctuation: /^\{|\}$/,
|
|
380
|
+
expression: {
|
|
381
|
+
pattern: /[\s\S]+/,
|
|
382
|
+
alias: "language-csharp",
|
|
383
|
+
inside: Prism2.languages.csharp
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
string: /[\s\S]+/
|
|
388
|
+
};
|
|
389
|
+
}
|
|
390
|
+
Prism2.languages.insertBefore("csharp", "string", {
|
|
391
|
+
"interpolation-string": [
|
|
392
|
+
{
|
|
393
|
+
pattern: re(
|
|
394
|
+
/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,
|
|
395
|
+
[mInterpolation]
|
|
396
|
+
),
|
|
397
|
+
lookbehind: true,
|
|
398
|
+
greedy: true,
|
|
399
|
+
inside: createInterpolationInside(mInterpolation, mInterpolationRound)
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
pattern: re(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source, [
|
|
403
|
+
sInterpolation
|
|
404
|
+
]),
|
|
405
|
+
lookbehind: true,
|
|
406
|
+
greedy: true,
|
|
407
|
+
inside: createInterpolationInside(sInterpolation, sInterpolationRound)
|
|
408
|
+
}
|
|
409
|
+
],
|
|
410
|
+
char: {
|
|
411
|
+
pattern: RegExp(character),
|
|
412
|
+
greedy: true
|
|
413
|
+
}
|
|
414
|
+
});
|
|
415
|
+
Prism2.languages.dotnet = Prism2.languages.cs = Prism2.languages.csharp;
|
|
416
|
+
})(Prism);
|
|
417
|
+
}
|
|
418
|
+
return csharp_1;
|
|
419
|
+
}
|
|
420
|
+
export {
|
|
421
|
+
requireCsharp as r
|
|
422
|
+
};
|
|
423
|
+
//# sourceMappingURL=csharp-iD8vdCRX.js.map
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"csharp-iD8vdCRX.js","sources":["../node_modules/refractor/lang/csharp.js"],"sourcesContent":["'use strict'\n\nmodule.exports = csharp\ncsharp.displayName = 'csharp'\ncsharp.aliases = ['dotnet', 'cs']\nfunction csharp(Prism) {\n ;(function (Prism) {\n /**\n * Replaces all placeholders \"<<n>>\" of given pattern with the n-th replacement (zero based).\n *\n * Note: This is a simple text based replacement. Be careful when using backreferences!\n *\n * @param {string} pattern the given pattern.\n * @param {string[]} replacements a list of replacement which can be inserted into the given pattern.\n * @returns {string} the pattern with all placeholders replaced with their corresponding replacements.\n * @example replace(/a<<0>>a/.source, [/b+/.source]) === /a(?:b+)a/.source\n */\n function replace(pattern, replacements) {\n return pattern.replace(/<<(\\d+)>>/g, function (m, index) {\n return '(?:' + replacements[+index] + ')'\n })\n }\n /**\n * @param {string} pattern\n * @param {string[]} replacements\n * @param {string} [flags]\n * @returns {RegExp}\n */\n function re(pattern, replacements, flags) {\n return RegExp(replace(pattern, replacements), flags || '')\n }\n /**\n * Creates a nested pattern where all occurrences of the string `<<self>>` are replaced with the pattern itself.\n *\n * @param {string} pattern\n * @param {number} depthLog2\n * @returns {string}\n */\n function nested(pattern, depthLog2) {\n for (var i = 0; i < depthLog2; i++) {\n pattern = pattern.replace(/<<self>>/g, function () {\n return '(?:' + pattern + ')'\n })\n }\n return pattern.replace(/<<self>>/g, '[^\\\\s\\\\S]')\n } // https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/\n var keywordKinds = {\n // keywords which represent a return or variable type\n type: 'bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void',\n // keywords which are used to declare a type\n typeDeclaration: 'class enum interface record struct',\n // contextual keywords\n // (\"var\" and \"dynamic\" are missing because they are used like types)\n contextual:\n 'add alias and ascending async await by descending from(?=\\\\s*(?:\\\\w|$)) get global group into init(?=\\\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\\\s*{)',\n // all other keywords\n other:\n 'abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield'\n } // keywords\n function keywordsToPattern(words) {\n return '\\\\b(?:' + words.trim().replace(/ /g, '|') + ')\\\\b'\n }\n var typeDeclarationKeywords = keywordsToPattern(\n keywordKinds.typeDeclaration\n )\n var keywords = RegExp(\n keywordsToPattern(\n keywordKinds.type +\n ' ' +\n keywordKinds.typeDeclaration +\n ' ' +\n keywordKinds.contextual +\n ' ' +\n keywordKinds.other\n )\n )\n var nonTypeKeywords = keywordsToPattern(\n keywordKinds.typeDeclaration +\n ' ' +\n keywordKinds.contextual +\n ' ' +\n keywordKinds.other\n )\n var nonContextualKeywords = keywordsToPattern(\n keywordKinds.type +\n ' ' +\n keywordKinds.typeDeclaration +\n ' ' +\n keywordKinds.other\n ) // types\n var generic = nested(/<(?:[^<>;=+\\-*/%&|^]|<<self>>)*>/.source, 2) // the idea behind the other forbidden characters is to prevent false positives. Same for tupleElement.\n var nestedRound = nested(/\\((?:[^()]|<<self>>)*\\)/.source, 2)\n var name = /@?\\b[A-Za-z_]\\w*\\b/.source\n var genericName = replace(/<<0>>(?:\\s*<<1>>)?/.source, [name, generic])\n var identifier = replace(/(?!<<0>>)<<1>>(?:\\s*\\.\\s*<<1>>)*/.source, [\n nonTypeKeywords,\n genericName\n ])\n var array = /\\[\\s*(?:,\\s*)*\\]/.source\n var typeExpressionWithoutTuple = replace(\n /<<0>>(?:\\s*(?:\\?\\s*)?<<1>>)*(?:\\s*\\?)?/.source,\n [identifier, array]\n )\n var tupleElement = replace(\n /[^,()<>[\\];=+\\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,\n [generic, nestedRound, array]\n )\n var tuple = replace(/\\(<<0>>+(?:,<<0>>+)+\\)/.source, [tupleElement])\n var typeExpression = replace(\n /(?:<<0>>|<<1>>)(?:\\s*(?:\\?\\s*)?<<2>>)*(?:\\s*\\?)?/.source,\n [tuple, identifier, array]\n )\n var typeInside = {\n keyword: keywords,\n punctuation: /[<>()?,.:[\\]]/\n } // strings & characters\n // https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/lexical-structure#character-literals\n // https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/lexical-structure#string-literals\n var character = /'(?:[^\\r\\n'\\\\]|\\\\.|\\\\[Uux][\\da-fA-F]{1,8})'/.source // simplified pattern\n var regularString = /\"(?:\\\\.|[^\\\\\"\\r\\n])*\"/.source\n var verbatimString = /@\"(?:\"\"|\\\\[\\s\\S]|[^\\\\\"])*\"(?!\")/.source\n Prism.languages.csharp = Prism.languages.extend('clike', {\n string: [\n {\n pattern: re(/(^|[^$\\\\])<<0>>/.source, [verbatimString]),\n lookbehind: true,\n greedy: true\n },\n {\n pattern: re(/(^|[^@$\\\\])<<0>>/.source, [regularString]),\n lookbehind: true,\n greedy: true\n }\n ],\n 'class-name': [\n {\n // Using static\n // using static System.Math;\n pattern: re(/(\\busing\\s+static\\s+)<<0>>(?=\\s*;)/.source, [\n identifier\n ]),\n lookbehind: true,\n inside: typeInside\n },\n {\n // Using alias (type)\n // using Project = PC.MyCompany.Project;\n pattern: re(/(\\busing\\s+<<0>>\\s*=\\s*)<<1>>(?=\\s*;)/.source, [\n name,\n typeExpression\n ]),\n lookbehind: true,\n inside: typeInside\n },\n {\n // Using alias (alias)\n // using Project = PC.MyCompany.Project;\n pattern: re(/(\\busing\\s+)<<0>>(?=\\s*=)/.source, [name]),\n lookbehind: true\n },\n {\n // Type declarations\n // class Foo<A, B>\n // interface Foo<out A, B>\n pattern: re(/(\\b<<0>>\\s+)<<1>>/.source, [\n typeDeclarationKeywords,\n genericName\n ]),\n lookbehind: true,\n inside: typeInside\n },\n {\n // Single catch exception declaration\n // catch(Foo)\n // (things like catch(Foo e) is covered by variable declaration)\n pattern: re(/(\\bcatch\\s*\\(\\s*)<<0>>/.source, [identifier]),\n lookbehind: true,\n inside: typeInside\n },\n {\n // Name of the type parameter of generic constraints\n // where Foo : class\n pattern: re(/(\\bwhere\\s+)<<0>>/.source, [name]),\n lookbehind: true\n },\n {\n // Casts and checks via as and is.\n // as Foo<A>, is Bar<B>\n // (things like if(a is Foo b) is covered by variable declaration)\n pattern: re(/(\\b(?:is(?:\\s+not)?|as)\\s+)<<0>>/.source, [\n typeExpressionWithoutTuple\n ]),\n lookbehind: true,\n inside: typeInside\n },\n {\n // Variable, field and parameter declaration\n // (Foo bar, Bar baz, Foo[,,] bay, Foo<Bar, FooBar<Bar>> bax)\n pattern: re(\n /\\b<<0>>(?=\\s+(?!<<1>>|with\\s*\\{)<<2>>(?:\\s*[=,;:{)\\]]|\\s+(?:in|when)\\b))/\n .source,\n [typeExpression, nonContextualKeywords, name]\n ),\n inside: typeInside\n }\n ],\n keyword: keywords,\n // https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/lexical-structure#literals\n number:\n /(?:\\b0(?:x[\\da-f_]*[\\da-f]|b[01_]*[01])|(?:\\B\\.\\d+(?:_+\\d+)*|\\b\\d+(?:_+\\d+)*(?:\\.\\d+(?:_+\\d+)*)?)(?:e[-+]?\\d+(?:_+\\d+)*)?)(?:[dflmu]|lu|ul)?\\b/i,\n operator: />>=?|<<=?|[-=]>|([-+&|])\\1|~|\\?\\?=?|[-+*/%&|^!=<>]=?/,\n punctuation: /\\?\\.?|::|[{}[\\];(),.:]/\n })\n Prism.languages.insertBefore('csharp', 'number', {\n range: {\n pattern: /\\.\\./,\n alias: 'operator'\n }\n })\n Prism.languages.insertBefore('csharp', 'punctuation', {\n 'named-parameter': {\n pattern: re(/([(,]\\s*)<<0>>(?=\\s*:)/.source, [name]),\n lookbehind: true,\n alias: 'punctuation'\n }\n })\n Prism.languages.insertBefore('csharp', 'class-name', {\n namespace: {\n // namespace Foo.Bar {}\n // using Foo.Bar;\n pattern: re(\n /(\\b(?:namespace|using)\\s+)<<0>>(?:\\s*\\.\\s*<<0>>)*(?=\\s*[;{])/.source,\n [name]\n ),\n lookbehind: true,\n inside: {\n punctuation: /\\./\n }\n },\n 'type-expression': {\n // default(Foo), typeof(Foo<Bar>), sizeof(int)\n pattern: re(\n /(\\b(?:default|sizeof|typeof)\\s*\\(\\s*(?!\\s))(?:[^()\\s]|\\s(?!\\s)|<<0>>)*(?=\\s*\\))/\n .source,\n [nestedRound]\n ),\n lookbehind: true,\n alias: 'class-name',\n inside: typeInside\n },\n 'return-type': {\n // Foo<Bar> ForBar(); Foo IFoo.Bar() => 0\n // int this[int index] => 0; T IReadOnlyList<T>.this[int index] => this[index];\n // int Foo => 0; int Foo { get; set } = 0;\n pattern: re(\n /<<0>>(?=\\s+(?:<<1>>\\s*(?:=>|[({]|\\.\\s*this\\s*\\[)|this\\s*\\[))/.source,\n [typeExpression, identifier]\n ),\n inside: typeInside,\n alias: 'class-name'\n },\n 'constructor-invocation': {\n // new List<Foo<Bar[]>> { }\n pattern: re(/(\\bnew\\s+)<<0>>(?=\\s*[[({])/.source, [typeExpression]),\n lookbehind: true,\n inside: typeInside,\n alias: 'class-name'\n },\n /*'explicit-implementation': {\n// int IFoo<Foo>.Bar => 0; void IFoo<Foo<Foo>>.Foo<T>();\npattern: replace(/\\b<<0>>(?=\\.<<1>>)/, className, methodOrPropertyDeclaration),\ninside: classNameInside,\nalias: 'class-name'\n},*/\n 'generic-method': {\n // foo<Bar>()\n pattern: re(/<<0>>\\s*<<1>>(?=\\s*\\()/.source, [name, generic]),\n inside: {\n function: re(/^<<0>>/.source, [name]),\n generic: {\n pattern: RegExp(generic),\n alias: 'class-name',\n inside: typeInside\n }\n }\n },\n 'type-list': {\n // The list of types inherited or of generic constraints\n // class Foo<F> : Bar, IList<FooBar>\n // where F : Bar, IList<int>\n pattern: re(\n /\\b((?:<<0>>\\s+<<1>>|record\\s+<<1>>\\s*<<5>>|where\\s+<<2>>)\\s*:\\s*)(?:<<3>>|<<4>>|<<1>>\\s*<<5>>|<<6>>)(?:\\s*,\\s*(?:<<3>>|<<4>>|<<6>>))*(?=\\s*(?:where|[{;]|=>|$))/\n .source,\n [\n typeDeclarationKeywords,\n genericName,\n name,\n typeExpression,\n keywords.source,\n nestedRound,\n /\\bnew\\s*\\(\\s*\\)/.source\n ]\n ),\n lookbehind: true,\n inside: {\n 'record-arguments': {\n pattern: re(/(^(?!new\\s*\\()<<0>>\\s*)<<1>>/.source, [\n genericName,\n nestedRound\n ]),\n lookbehind: true,\n greedy: true,\n inside: Prism.languages.csharp\n },\n keyword: keywords,\n 'class-name': {\n pattern: RegExp(typeExpression),\n greedy: true,\n inside: typeInside\n },\n punctuation: /[,()]/\n }\n },\n preprocessor: {\n pattern: /(^[\\t ]*)#.*/m,\n lookbehind: true,\n alias: 'property',\n inside: {\n // highlight preprocessor directives as keywords\n directive: {\n pattern:\n /(#)\\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\\b/,\n lookbehind: true,\n alias: 'keyword'\n }\n }\n }\n }) // attributes\n var regularStringOrCharacter = regularString + '|' + character\n var regularStringCharacterOrComment = replace(\n /\\/(?![*/])|\\/\\/[^\\r\\n]*[\\r\\n]|\\/\\*(?:[^*]|\\*(?!\\/))*\\*\\/|<<0>>/.source,\n [regularStringOrCharacter]\n )\n var roundExpression = nested(\n replace(/[^\"'/()]|<<0>>|\\(<<self>>*\\)/.source, [\n regularStringCharacterOrComment\n ]),\n 2\n ) // https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/attributes/#attribute-targets\n var attrTarget =\n /\\b(?:assembly|event|field|method|module|param|property|return|type)\\b/\n .source\n var attr = replace(/<<0>>(?:\\s*\\(<<1>>*\\))?/.source, [\n identifier,\n roundExpression\n ])\n Prism.languages.insertBefore('csharp', 'class-name', {\n attribute: {\n // Attributes\n // [Foo], [Foo(1), Bar(2, Prop = \"foo\")], [return: Foo(1), Bar(2)], [assembly: Foo(Bar)]\n pattern: re(\n /((?:^|[^\\s\\w>)?])\\s*\\[\\s*)(?:<<0>>\\s*:\\s*)?<<1>>(?:\\s*,\\s*<<1>>)*(?=\\s*\\])/\n .source,\n [attrTarget, attr]\n ),\n lookbehind: true,\n greedy: true,\n inside: {\n target: {\n pattern: re(/^<<0>>(?=\\s*:)/.source, [attrTarget]),\n alias: 'keyword'\n },\n 'attribute-arguments': {\n pattern: re(/\\(<<0>>*\\)/.source, [roundExpression]),\n inside: Prism.languages.csharp\n },\n 'class-name': {\n pattern: RegExp(identifier),\n inside: {\n punctuation: /\\./\n }\n },\n punctuation: /[:,]/\n }\n }\n }) // string interpolation\n var formatString = /:[^}\\r\\n]+/.source // multi line\n var mInterpolationRound = nested(\n replace(/[^\"'/()]|<<0>>|\\(<<self>>*\\)/.source, [\n regularStringCharacterOrComment\n ]),\n 2\n )\n var mInterpolation = replace(/\\{(?!\\{)(?:(?![}:])<<0>>)*<<1>>?\\}/.source, [\n mInterpolationRound,\n formatString\n ]) // single line\n var sInterpolationRound = nested(\n replace(\n /[^\"'/()]|\\/(?!\\*)|\\/\\*(?:[^*]|\\*(?!\\/))*\\*\\/|<<0>>|\\(<<self>>*\\)/\n .source,\n [regularStringOrCharacter]\n ),\n 2\n )\n var sInterpolation = replace(/\\{(?!\\{)(?:(?![}:])<<0>>)*<<1>>?\\}/.source, [\n sInterpolationRound,\n formatString\n ])\n function createInterpolationInside(interpolation, interpolationRound) {\n return {\n interpolation: {\n pattern: re(/((?:^|[^{])(?:\\{\\{)*)<<0>>/.source, [interpolation]),\n lookbehind: true,\n inside: {\n 'format-string': {\n pattern: re(/(^\\{(?:(?![}:])<<0>>)*)<<1>>(?=\\}$)/.source, [\n interpolationRound,\n formatString\n ]),\n lookbehind: true,\n inside: {\n punctuation: /^:/\n }\n },\n punctuation: /^\\{|\\}$/,\n expression: {\n pattern: /[\\s\\S]+/,\n alias: 'language-csharp',\n inside: Prism.languages.csharp\n }\n }\n },\n string: /[\\s\\S]+/\n }\n }\n Prism.languages.insertBefore('csharp', 'string', {\n 'interpolation-string': [\n {\n pattern: re(\n /(^|[^\\\\])(?:\\$@|@\\$)\"(?:\"\"|\\\\[\\s\\S]|\\{\\{|<<0>>|[^\\\\{\"])*\"/.source,\n [mInterpolation]\n ),\n lookbehind: true,\n greedy: true,\n inside: createInterpolationInside(mInterpolation, mInterpolationRound)\n },\n {\n pattern: re(/(^|[^@\\\\])\\$\"(?:\\\\.|\\{\\{|<<0>>|[^\\\\\"{])*\"/.source, [\n sInterpolation\n ]),\n lookbehind: true,\n greedy: true,\n inside: createInterpolationInside(sInterpolation, sInterpolationRound)\n }\n ],\n char: {\n pattern: RegExp(character),\n greedy: true\n }\n })\n Prism.languages.dotnet = Prism.languages.cs = Prism.languages.csharp\n })(Prism)\n}\n"],"names":["Prism"],"mappings":";;;;;AAEA,aAAiB;AACjB,SAAO,cAAc;AACrB,SAAO,UAAU,CAAC,UAAU,IAAI;AAChC,WAAS,OAAO,OAAO;AACpB,KAAC,SAAUA,QAAO;A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
|
+
function _mergeNamespaces(n, m) {
|
|
4
|
+
for (var i = 0; i < m.length; i++) {
|
|
5
|
+
const e = m[i];
|
|
6
|
+
if (typeof e !== "string" && !Array.isArray(e)) {
|
|
7
|
+
for (const k in e) {
|
|
8
|
+
if (k !== "default" && !(k in n)) {
|
|
9
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
10
|
+
if (d) {
|
|
11
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: () => e[k]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
21
|
+
}
|
|
22
|
+
var cshtml_1;
|
|
23
|
+
var hasRequiredCshtml;
|
|
24
|
+
function requireCshtml() {
|
|
25
|
+
if (hasRequiredCshtml) return cshtml_1;
|
|
26
|
+
hasRequiredCshtml = 1;
|
|
27
|
+
var refractorCsharp = requireCsharp();
|
|
28
|
+
cshtml_1 = cshtml2;
|
|
29
|
+
cshtml2.displayName = "cshtml";
|
|
30
|
+
cshtml2.aliases = ["razor"];
|
|
31
|
+
function cshtml2(Prism) {
|
|
32
|
+
Prism.register(refractorCsharp);
|
|
33
|
+
(function(Prism2) {
|
|
34
|
+
var commentLike = /\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source;
|
|
35
|
+
var stringLike = /@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source + "|" + /'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;
|
|
36
|
+
function nested(pattern, depthLog2) {
|
|
37
|
+
for (var i = 0; i < depthLog2; i++) {
|
|
38
|
+
pattern = pattern.replace(/<self>/g, function() {
|
|
39
|
+
return "(?:" + pattern + ")";
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
return pattern.replace(/<self>/g, "[^\\s\\S]").replace(/<str>/g, "(?:" + stringLike + ")").replace(/<comment>/g, "(?:" + commentLike + ")");
|
|
43
|
+
}
|
|
44
|
+
var round = nested(/\((?:[^()'"@/]|<str>|<comment>|<self>)*\)/.source, 2);
|
|
45
|
+
var square = nested(/\[(?:[^\[\]'"@/]|<str>|<comment>|<self>)*\]/.source, 2);
|
|
46
|
+
var curly = nested(/\{(?:[^{}'"@/]|<str>|<comment>|<self>)*\}/.source, 2);
|
|
47
|
+
var angle = nested(/<(?:[^<>'"@/]|<str>|<comment>|<self>)*>/.source, 2);
|
|
48
|
+
var tagAttrs = /(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source;
|
|
49
|
+
var tagContent = /(?!\d)[^\s>\/=$<%]+/.source + tagAttrs + /\s*\/?>/.source;
|
|
50
|
+
var tagRegion = /\B@?/.source + "(?:" + /<([a-zA-Z][\w:]*)/.source + tagAttrs + /\s*>/.source + "(?:" + (/[^<]/.source + "|" + // all tags that are not the start tag
|
|
51
|
+
// eslint-disable-next-line regexp/strict
|
|
52
|
+
/<\/?(?!\1\b)/.source + tagContent + "|" + // nested start tag
|
|
53
|
+
nested(
|
|
54
|
+
// eslint-disable-next-line regexp/strict
|
|
55
|
+
/<\1/.source + tagAttrs + /\s*>/.source + "(?:" + (/[^<]/.source + "|" + // all tags that are not the start tag
|
|
56
|
+
// eslint-disable-next-line regexp/strict
|
|
57
|
+
/<\/?(?!\1\b)/.source + tagContent + "|<self>") + ")*" + // eslint-disable-next-line regexp/strict
|
|
58
|
+
/<\/\1\s*>/.source,
|
|
59
|
+
2
|
|
60
|
+
)) + ")*" + // eslint-disable-next-line regexp/strict
|
|
61
|
+
/<\/\1\s*>/.source + "|" + /</.source + tagContent + ")";
|
|
62
|
+
Prism2.languages.cshtml = Prism2.languages.extend("markup", {});
|
|
63
|
+
var csharpWithHtml = Prism2.languages.insertBefore(
|
|
64
|
+
"csharp",
|
|
65
|
+
"string",
|
|
66
|
+
{
|
|
67
|
+
html: {
|
|
68
|
+
pattern: RegExp(tagRegion),
|
|
69
|
+
greedy: true,
|
|
70
|
+
inside: Prism2.languages.cshtml
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
csharp: Prism2.languages.extend("csharp", {})
|
|
75
|
+
}
|
|
76
|
+
);
|
|
77
|
+
var cs = {
|
|
78
|
+
pattern: /\S[\s\S]*/,
|
|
79
|
+
alias: "language-csharp",
|
|
80
|
+
inside: csharpWithHtml
|
|
81
|
+
};
|
|
82
|
+
Prism2.languages.insertBefore("cshtml", "prolog", {
|
|
83
|
+
"razor-comment": {
|
|
84
|
+
pattern: /@\*[\s\S]*?\*@/,
|
|
85
|
+
greedy: true,
|
|
86
|
+
alias: "comment"
|
|
87
|
+
},
|
|
88
|
+
block: {
|
|
89
|
+
pattern: RegExp(
|
|
90
|
+
/(^|[^@])@/.source + "(?:" + [
|
|
91
|
+
// @{ ... }
|
|
92
|
+
curly,
|
|
93
|
+
// @code{ ... }
|
|
94
|
+
/(?:code|functions)\s*/.source + curly,
|
|
95
|
+
// @for (...) { ... }
|
|
96
|
+
/(?:for|foreach|lock|switch|using|while)\s*/.source + round + /\s*/.source + curly,
|
|
97
|
+
// @do { ... } while (...);
|
|
98
|
+
/do\s*/.source + curly + /\s*while\s*/.source + round + /(?:\s*;)?/.source,
|
|
99
|
+
// @try { ... } catch (...) { ... } finally { ... }
|
|
100
|
+
/try\s*/.source + curly + /\s*catch\s*/.source + round + /\s*/.source + curly + /\s*finally\s*/.source + curly,
|
|
101
|
+
// @if (...) {...} else if (...) {...} else {...}
|
|
102
|
+
/if\s*/.source + round + /\s*/.source + curly + "(?:" + /\s*else/.source + "(?:" + /\s+if\s*/.source + round + ")?" + /\s*/.source + curly + ")*"
|
|
103
|
+
].join("|") + ")"
|
|
104
|
+
),
|
|
105
|
+
lookbehind: true,
|
|
106
|
+
greedy: true,
|
|
107
|
+
inside: {
|
|
108
|
+
keyword: /^@\w*/,
|
|
109
|
+
csharp: cs
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
directive: {
|
|
113
|
+
pattern: /^([ \t]*)@(?:addTagHelper|attribute|implements|inherits|inject|layout|model|namespace|page|preservewhitespace|removeTagHelper|section|tagHelperPrefix|using)(?=\s).*/m,
|
|
114
|
+
lookbehind: true,
|
|
115
|
+
greedy: true,
|
|
116
|
+
inside: {
|
|
117
|
+
keyword: /^@\w+/,
|
|
118
|
+
csharp: cs
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
value: {
|
|
122
|
+
pattern: RegExp(
|
|
123
|
+
/(^|[^@])@/.source + /(?:await\b\s*)?/.source + "(?:" + /\w+\b/.source + "|" + round + ")(?:" + /[?!]?\.\w+\b/.source + "|" + round + "|" + square + "|" + angle + round + ")*"
|
|
124
|
+
),
|
|
125
|
+
lookbehind: true,
|
|
126
|
+
greedy: true,
|
|
127
|
+
alias: "variable",
|
|
128
|
+
inside: {
|
|
129
|
+
keyword: /^@/,
|
|
130
|
+
csharp: cs
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"delegate-operator": {
|
|
134
|
+
pattern: /(^|[^@])@(?=<)/,
|
|
135
|
+
lookbehind: true,
|
|
136
|
+
alias: "operator"
|
|
137
|
+
}
|
|
138
|
+
});
|
|
139
|
+
Prism2.languages.razor = Prism2.languages.cshtml;
|
|
140
|
+
})(Prism);
|
|
141
|
+
}
|
|
142
|
+
return cshtml_1;
|
|
143
|
+
}
|
|
144
|
+
var cshtmlExports = requireCshtml();
|
|
145
|
+
const cshtml = /* @__PURE__ */ getDefaultExportFromCjs(cshtmlExports);
|
|
146
|
+
const cshtml$1 = /* @__PURE__ */ _mergeNamespaces({
|
|
147
|
+
__proto__: null,
|
|
148
|
+
default: cshtml
|
|
149
|
+
}, [cshtmlExports]);
|
|
150
|
+
export {
|
|
151
|
+
cshtml$1 as c
|
|
152
|
+
};
|
|
153
|
+
//# sourceMappingURL=cshtml-BReYgwaV.js.map
|