@ashwin_droid/notion-stream 1.0.0
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/LICENSE +21 -0
- package/README.md +418 -0
- package/dist/_baseUniq-CT-tc-CG.mjs +477 -0
- package/dist/_baseUniq-DSwfPiGC.js +1 -0
- package/dist/abap-DV7Q1lGP.js +1 -0
- package/dist/abap-Y8Dl9g_6.mjs +6 -0
- package/dist/actionscript-3-DXOxkRa2.js +1 -0
- package/dist/actionscript-3-DZzbMeqX.mjs +6 -0
- package/dist/ada-D46EKCNf.js +1 -0
- package/dist/ada-vP6ak0IW.mjs +6 -0
- package/dist/andromeeda-BIpZ7gaU.mjs +4 -0
- package/dist/andromeeda-DVDxRwp5.js +1 -0
- package/dist/angular-html-DxvPVw44.mjs +32 -0
- package/dist/angular-html-JXV_E8IE.js +1 -0
- package/dist/angular-ts-CV6bdmcc.mjs +21 -0
- package/dist/angular-ts-ul8EvQZm.js +1 -0
- package/dist/apache-BUjz-sD2.mjs +6 -0
- package/dist/apache-DL1xuH1f.js +1 -0
- package/dist/apex-6AM9YZbQ.js +1 -0
- package/dist/apex-OyTfjCYK.mjs +6 -0
- package/dist/apl-BdW4yp7x.js +1 -0
- package/dist/apl-Cl3ewf1P.mjs +16 -0
- package/dist/applescript-BPx7YFFu.mjs +6 -0
- package/dist/applescript-COilsSrZ.js +1 -0
- package/dist/ara-B6Lpq1YJ.js +1 -0
- package/dist/ara-Z2fSOxSw.mjs +6 -0
- package/dist/arc-BBnIBs2j.js +1 -0
- package/dist/arc-DmoYXidQ.mjs +83 -0
- package/dist/architecture-U656AL7Q-C0ZB2O9M.js +1 -0
- package/dist/architecture-U656AL7Q-CMPtJMZ-.mjs +5 -0
- package/dist/architectureDiagram-VXUJARFQ-BPQoZmaM.js +36 -0
- package/dist/architectureDiagram-VXUJARFQ-BYzpbF40.mjs +4665 -0
- package/dist/asciidoc-B-pCoB3G.mjs +6 -0
- package/dist/asciidoc-DcKqW72n.js +1 -0
- package/dist/asm-BTWLY5ym.mjs +6 -0
- package/dist/asm-DYMFy-sD.js +1 -0
- package/dist/astro-BAqad-WM.js +1 -0
- package/dist/astro-CMhPddqn.mjs +18 -0
- package/dist/aurora-x-BwoVEUWZ.mjs +4 -0
- package/dist/aurora-x-C5IpmIOG.js +1 -0
- package/dist/awk-Fb0P9dkn.mjs +6 -0
- package/dist/awk-IEszImW6.js +1 -0
- package/dist/ayu-dark-CDpQIJw4.js +1 -0
- package/dist/ayu-dark-DG7aLdHp.mjs +4 -0
- package/dist/ballerina-Dr6dU4hP.js +1 -0
- package/dist/ballerina-oZK-YekG.mjs +6 -0
- package/dist/bat-0FvbqU9S.mjs +6 -0
- package/dist/bat-DGkUhhn2.js +1 -0
- package/dist/beancount-Bv1Sweoy.js +1 -0
- package/dist/beancount-DqJEb89h.mjs +6 -0
- package/dist/berry-DEMs4LK_.js +1 -0
- package/dist/berry-DODBq_Ff.mjs +6 -0
- package/dist/bibtex-BgA36Z3k.js +1 -0
- package/dist/bibtex-EULQRLY5.mjs +6 -0
- package/dist/bicep-BorU73w0.mjs +6 -0
- package/dist/bicep-DL0zb-7W.js +1 -0
- package/dist/blade-Cg1_QHbH.mjs +20 -0
- package/dist/blade-CgjUlvXO.js +1 -0
- package/dist/blockDiagram-VD42YOAC-DPVTCHn5.mjs +2265 -0
- package/dist/blockDiagram-VD42YOAC-Z3Fc3Bew.js +122 -0
- package/dist/bsl-Dy8wYKq-.mjs +8 -0
- package/dist/bsl-MeEzPwnu.js +1 -0
- package/dist/c-CtlmKnPF.js +1 -0
- package/dist/c-eeMepfLm.mjs +6 -0
- package/dist/c3-Bt581sCe.mjs +6 -0
- package/dist/c3-DtfRRWXN.js +1 -0
- package/dist/c4Diagram-YG6GDRKO-C2Y4q08p.mjs +1581 -0
- package/dist/c4Diagram-YG6GDRKO-LzDuCZ2V.js +10 -0
- package/dist/cadence-02UX7mW8.mjs +6 -0
- package/dist/cadence-DcbmM5v3.js +1 -0
- package/dist/cairo-Bl3vCTfQ.js +1 -0
- package/dist/cairo-DRXAUnCM.mjs +8 -0
- package/dist/catppuccin-frappe-Bn4lgmUk.js +1 -0
- package/dist/catppuccin-frappe-D3cH2rXe.mjs +4 -0
- package/dist/catppuccin-latte-BPtsb8jD.js +1 -0
- package/dist/catppuccin-latte-C0LRGUW4.mjs +4 -0
- package/dist/catppuccin-macchiato-BLfpQWhT.js +1 -0
- package/dist/catppuccin-macchiato-c5wQ11TT.mjs +4 -0
- package/dist/catppuccin-mocha-COMta283.js +1 -0
- package/dist/catppuccin-mocha-WMD6Qvya.mjs +4 -0
- package/dist/channel-6dUO0MQi.js +1 -0
- package/dist/channel-DVpqhnow.mjs +5 -0
- package/dist/chunk-4BX2VUAB-BwubFldI.js +1 -0
- package/dist/chunk-4BX2VUAB-DldMXCTt.mjs +9 -0
- package/dist/chunk-55IACEB6-Du1Simcj.mjs +8 -0
- package/dist/chunk-55IACEB6-P_FVKIbW.js +1 -0
- package/dist/chunk-B4BG7PRW-BUKsa2yH.mjs +1376 -0
- package/dist/chunk-B4BG7PRW-CKX0VJ-S.js +165 -0
- package/dist/chunk-DI55MBZ5-C9h0qLVI.mjs +1382 -0
- package/dist/chunk-DI55MBZ5-CMq-O8k2.js +220 -0
- package/dist/chunk-FMBD7UC4-48-zdz-1.js +15 -0
- package/dist/chunk-FMBD7UC4-C08-zA06.mjs +19 -0
- package/dist/chunk-QN33PNHL-B0sO38bZ.js +1 -0
- package/dist/chunk-QN33PNHL-B_PGnTkk.mjs +20 -0
- package/dist/chunk-QZHKN3VN-DbO6TJSK.mjs +15 -0
- package/dist/chunk-QZHKN3VN-Dy2264ui.js +1 -0
- package/dist/chunk-TZMSLE5B-BPmI9i6R.mjs +64 -0
- package/dist/chunk-TZMSLE5B-COENnLAZ.js +1 -0
- package/dist/clarity-PKm5CwqM.mjs +6 -0
- package/dist/clarity-gPuvqtpF.js +1 -0
- package/dist/classDiagram-2ON5EDUG-CFFwYK87.js +1 -0
- package/dist/classDiagram-2ON5EDUG-mzvV1Ifg.mjs +16 -0
- package/dist/classDiagram-v2-WZHVMYZB-CFFwYK87.js +1 -0
- package/dist/classDiagram-v2-WZHVMYZB-mzvV1Ifg.mjs +16 -0
- package/dist/clojure-CXJfHrL3.mjs +6 -0
- package/dist/clojure-OUsr1SUl.js +1 -0
- package/dist/clone-B0UaPT2Z.js +1 -0
- package/dist/clone-KtLCwiKH.mjs +8 -0
- package/dist/cmake-BJz8BOTU.mjs +6 -0
- package/dist/cmake-jM6P58qY.js +1 -0
- package/dist/cobol-C86Guwll.mjs +10 -0
- package/dist/cobol-DReJOyN2.js +1 -0
- package/dist/code-block-37QAKDTI-CmykMxjQ.mjs +27 -0
- package/dist/code-block-37QAKDTI-sxlq94xm.js +2 -0
- package/dist/codeowners-Bt9yU6NX.mjs +6 -0
- package/dist/codeowners-QhPK6lIJ.js +1 -0
- package/dist/codeql-D9-TdUN8.js +1 -0
- package/dist/codeql-DHkodjjI.mjs +6 -0
- package/dist/coffee-CUyQUc3M.js +1 -0
- package/dist/coffee-Q-gFdR7e.mjs +8 -0
- package/dist/common-lisp-C77gR-8i.js +1 -0
- package/dist/common-lisp-EVqT9Zhp.mjs +6 -0
- package/dist/components/Block.d.ts +16 -0
- package/dist/components/FloatingToolbar.d.ts +8 -0
- package/dist/components/LinkModal.d.ts +8 -0
- package/dist/components/NotionStream.d.ts +3 -0
- package/dist/components/SlashMenu.d.ts +17 -0
- package/dist/components/blocks/BlockquoteBlock.d.ts +13 -0
- package/dist/components/blocks/CodeBlock.d.ts +14 -0
- package/dist/components/blocks/DividerBlock.d.ts +13 -0
- package/dist/components/blocks/HeadingBlock.d.ts +13 -0
- package/dist/components/blocks/ImageBlock.d.ts +13 -0
- package/dist/components/blocks/InlineEditableBlock.d.ts +18 -0
- package/dist/components/blocks/ListBlock.d.ts +13 -0
- package/dist/components/blocks/MathBlock.d.ts +14 -0
- package/dist/components/blocks/MermaidBlock.d.ts +14 -0
- package/dist/components/blocks/ParagraphBlock.d.ts +13 -0
- package/dist/components/blocks/TableBlock.d.ts +14 -0
- package/dist/components/blocks/index.d.ts +10 -0
- package/dist/coq-B0L9upzn.mjs +6 -0
- package/dist/coq-vlPdR5hP.js +1 -0
- package/dist/cose-bilkent-S5V4N54A-BCaAPmuF.js +1 -0
- package/dist/cose-bilkent-S5V4N54A-BXcldnso.mjs +2605 -0
- package/dist/cpp-CGueNrnV.mjs +18 -0
- package/dist/cpp-ChNdME6I.js +1 -0
- package/dist/crystal-CVTji_sR.js +1 -0
- package/dist/crystal-CrVA7iLE.mjs +18 -0
- package/dist/csharp-BUkAIRXW.js +1 -0
- package/dist/csharp-C7yUs7-w.mjs +6 -0
- package/dist/css-CECN5uSL.mjs +6 -0
- package/dist/css-Do0mp2lm.js +1 -0
- package/dist/csv-CmYOceLb.mjs +6 -0
- package/dist/csv-DiEdJzSJ.js +1 -0
- package/dist/cue-D1vJRJEx.js +1 -0
- package/dist/cue-ZzumE7IT.mjs +6 -0
- package/dist/cypher-atSM3NsM.js +1 -0
- package/dist/cypher-jpdmjtA6.mjs +6 -0
- package/dist/cytoscape.esm-DkGgpG6d.js +331 -0
- package/dist/cytoscape.esm-ZmItrg9y.mjs +18731 -0
- package/dist/d-2qe3NhmZ.js +1 -0
- package/dist/d-CBagWSwH.mjs +6 -0
- package/dist/dagre-6UL2VRFP-By42zbLA.mjs +446 -0
- package/dist/dagre-6UL2VRFP-DCwfkcWi.js +4 -0
- package/dist/dark-plus-Cd5emcYO.js +1 -0
- package/dist/dark-plus-pUHDTVV0.mjs +4 -0
- package/dist/dart-6ObCrKr9.mjs +6 -0
- package/dist/dart-Ds0_0fwe.js +1 -0
- package/dist/dax-CcDT-8dH.mjs +6 -0
- package/dist/dax-DbkQa40E.js +1 -0
- package/dist/defaultLocale-BgPVtth8.mjs +171 -0
- package/dist/defaultLocale-C4wbwF1n.js +1 -0
- package/dist/desktop-B93p9R9O.mjs +6 -0
- package/dist/desktop-tn3MFXCZ.js +1 -0
- package/dist/diagram-PSM6KHXK-DIV3jw9d.mjs +534 -0
- package/dist/diagram-PSM6KHXK-hjXN9n1N.js +24 -0
- package/dist/diagram-QEK2KX5R-B04ODMim.js +43 -0
- package/dist/diagram-QEK2KX5R-Q0M2_YtR.mjs +221 -0
- package/dist/diagram-S2PKOQOG-BmCs4MZE.js +24 -0
- package/dist/diagram-S2PKOQOG-_WGA6s2-.mjs +143 -0
- package/dist/diff-BxzP2J8R.mjs +6 -0
- package/dist/diff-CA31fCOg.js +1 -0
- package/dist/docker-CsHqm9tx.mjs +6 -0
- package/dist/docker-zJpMwmYa.js +1 -0
- package/dist/dotenv-BMjVjUL1.mjs +6 -0
- package/dist/dotenv-DpcNCNek.js +1 -0
- package/dist/dracula-BNgwAJ-d.js +1 -0
- package/dist/dracula-BtZx2Kac.mjs +4 -0
- package/dist/dracula-soft-BHZ7sHFu.js +1 -0
- package/dist/dracula-soft-BKa-aqBv.mjs +4 -0
- package/dist/dream-maker-BkijXDkm.js +1 -0
- package/dist/dream-maker-PAx17jaB.mjs +6 -0
- package/dist/edge-B28yp_Zk.js +1 -0
- package/dist/edge-CBKv6mfK.mjs +12 -0
- package/dist/elixir-D7-1KNL2.js +1 -0
- package/dist/elixir-rttMGqaI.mjs +8 -0
- package/dist/elm-BkJa-nJb.js +1 -0
- package/dist/elm-DCe9MkDR.mjs +8 -0
- package/dist/emacs-lisp-C1UCIjUO.js +1 -0
- package/dist/emacs-lisp-Cfxdx5D-.mjs +6 -0
- package/dist/erDiagram-Q2GNP2WA-4KtQUUuI.js +60 -0
- package/dist/erDiagram-Q2GNP2WA-CW0D_QGb.mjs +842 -0
- package/dist/erb-BTG3NMrz.mjs +10 -0
- package/dist/erb-DJ1tHjRo.js +1 -0
- package/dist/erlang-CxyQpgjh.mjs +8 -0
- package/dist/erlang-DztDLzIS.js +1 -0
- package/dist/everforest-dark-DMCBqXCK.mjs +4 -0
- package/dist/everforest-dark-_sBMomR1.js +1 -0
- package/dist/everforest-light-BbXl82Em.mjs +4 -0
- package/dist/everforest-light-H0xoYxl0.js +1 -0
- package/dist/fennel-Bz9-EMMc.js +1 -0
- package/dist/fennel-N4WcXuKx.mjs +6 -0
- package/dist/fish-BTDEUgqH.mjs +6 -0
- package/dist/fish-DwmQKRZi.js +1 -0
- package/dist/flowDiagram-NV44I4VS-BwpfJE0U.js +162 -0
- package/dist/flowDiagram-NV44I4VS-DVQ8Ntc4.mjs +1627 -0
- package/dist/fluent-BMXUxfv1.mjs +6 -0
- package/dist/fluent-CJtpNuaO.js +1 -0
- package/dist/fortran-fixed-form-CM5372im.js +1 -0
- package/dist/fortran-fixed-form-CYWf1Rx6.mjs +8 -0
- package/dist/fortran-free-form-Cs4ztolN.js +1 -0
- package/dist/fortran-free-form-CwqYvCLJ.mjs +6 -0
- package/dist/fsharp-C8GKou_e.js +1 -0
- package/dist/fsharp-DlcX35ZM.mjs +8 -0
- package/dist/ganttDiagram-JELNMOA3-Bk-dX6qT.mjs +2662 -0
- package/dist/ganttDiagram-JELNMOA3-D7rI7u8B.js +267 -0
- package/dist/gdresource-Bx-5U3z2.js +1 -0
- package/dist/gdresource-CyVuoaDS.mjs +10 -0
- package/dist/gdscript-BifyeYhI.mjs +6 -0
- package/dist/gdscript-DSegQKMB.js +1 -0
- package/dist/gdshader-Bk8fF6yr.mjs +6 -0
- package/dist/gdshader-DsmqQl4t.js +1 -0
- package/dist/genie-Dy2rU8CF.js +1 -0
- package/dist/genie-DzUvd7U9.mjs +6 -0
- package/dist/gherkin-BmiEVBJ1.js +1 -0
- package/dist/gherkin-DHRaV0YP.mjs +6 -0
- package/dist/git-commit-B0NDtut1.js +1 -0
- package/dist/git-commit-MKnTTyU-.mjs +8 -0
- package/dist/git-rebase-CMl42lXc.mjs +8 -0
- package/dist/git-rebase-lJEbayNx.js +1 -0
- package/dist/gitGraph-F6HP7TQM-CsdwxYUE.mjs +5 -0
- package/dist/gitGraph-F6HP7TQM-DvIgo2TM.js +1 -0
- package/dist/gitGraphDiagram-NY62KEGX-BDTsbSkO.mjs +712 -0
- package/dist/gitGraphDiagram-NY62KEGX-IQ8KriUw.js +65 -0
- package/dist/github-dark-BKL9xNgN.js +1 -0
- package/dist/github-dark-DenFmJkN.mjs +4 -0
- package/dist/github-dark-default-BJPUVz4H.mjs +4 -0
- package/dist/github-dark-default-Dsv5MuSi.js +1 -0
- package/dist/github-dark-dimmed-CtB9hz8U.js +1 -0
- package/dist/github-dark-dimmed-DUshB20C.mjs +4 -0
- package/dist/github-dark-high-contrast-BqZVM-jF.js +1 -0
- package/dist/github-dark-high-contrast-D3aGCnF8.mjs +4 -0
- package/dist/github-light-BFTOhCbz.js +1 -0
- package/dist/github-light-JYsPkUQd.mjs +4 -0
- package/dist/github-light-default-BZoWH9dH.js +1 -0
- package/dist/github-light-default-D99KPAby.mjs +4 -0
- package/dist/github-light-high-contrast-BbmZE-Mp.mjs +4 -0
- package/dist/github-light-high-contrast-Ks3kPGJU.js +1 -0
- package/dist/gleam-Bv284lvN.mjs +6 -0
- package/dist/gleam-DHVuTCr7.js +1 -0
- package/dist/glimmer-js-C360zq_P.mjs +14 -0
- package/dist/glimmer-js-CxLlFUHs.js +1 -0
- package/dist/glimmer-ts-C8Spe63v.js +1 -0
- package/dist/glimmer-ts-CfTSEFGl.mjs +14 -0
- package/dist/glsl-BcHRsW10.js +1 -0
- package/dist/glsl-CwleMY6T.mjs +8 -0
- package/dist/gn-0WGnAyGi.js +1 -0
- package/dist/gn-XtJxiLa4.mjs +6 -0
- package/dist/gnuplot-CDPKvI9X.js +1 -0
- package/dist/gnuplot-yPG9-sE_.mjs +6 -0
- package/dist/go-ChxJuLYK.mjs +6 -0
- package/dist/go-epHseFUa.js +1 -0
- package/dist/graph-BNpx6ebg.js +1 -0
- package/dist/graph-C_T4ZBuC.mjs +381 -0
- package/dist/graphql-BO3Jc_L3.js +1 -0
- package/dist/graphql-C2GhtI7U.mjs +14 -0
- package/dist/groovy-CJQTphOW.mjs +6 -0
- package/dist/groovy-D7VuDBXz.js +1 -0
- package/dist/gruvbox-dark-hard-C5HOtKIh.mjs +4 -0
- package/dist/gruvbox-dark-hard-CUGefKS6.js +1 -0
- package/dist/gruvbox-dark-medium-BoKPlKfz.js +1 -0
- package/dist/gruvbox-dark-medium-FVgwJHuz.mjs +4 -0
- package/dist/gruvbox-dark-soft-B46F314v.mjs +4 -0
- package/dist/gruvbox-dark-soft-DSrhOWeL.js +1 -0
- package/dist/gruvbox-light-hard-CJD38wDZ.mjs +4 -0
- package/dist/gruvbox-light-hard-De4IuseP.js +1 -0
- package/dist/gruvbox-light-medium-BlIhMYTA.mjs +4 -0
- package/dist/gruvbox-light-medium-CzMY3IEJ.js +1 -0
- package/dist/gruvbox-light-soft-DoPHyLVZ.mjs +4 -0
- package/dist/gruvbox-light-soft-U4iAIpWZ.js +1 -0
- package/dist/hack-CdSL77Ey.mjs +10 -0
- package/dist/hack-Dr4YFULU.js +1 -0
- package/dist/haml-C1VBSiBb.mjs +10 -0
- package/dist/haml-DjC-8E5i.js +1 -0
- package/dist/handlebars-oLCVaT_d.mjs +14 -0
- package/dist/handlebars-vZrL3oRU.js +1 -0
- package/dist/haskell-BShesV2P.js +1 -0
- package/dist/haskell-WeIwNIP6.mjs +6 -0
- package/dist/haxe-Bo5XuRS0.js +1 -0
- package/dist/haxe-TztHsm5T.mjs +6 -0
- package/dist/hcl-CrZnvm-1.js +1 -0
- package/dist/hcl-D438OF-I.mjs +6 -0
- package/dist/hjson-CEESwTUP.js +1 -0
- package/dist/hjson-DYBUbqOl.mjs +6 -0
- package/dist/hlsl-Bk8TCZNL.mjs +6 -0
- package/dist/hlsl-CyvYRIb9.js +1 -0
- package/dist/hooks/useBlockState.d.ts +14 -0
- package/dist/hooks/useDiffReview.d.ts +26 -0
- package/dist/hooks/useMarkdownShortcuts.d.ts +23 -0
- package/dist/hooks/useStreamParser.d.ts +10 -0
- package/dist/houston-BDYrDoDW.mjs +4 -0
- package/dist/houston-T57H3gQZ.js +1 -0
- package/dist/html-Cub4lUvx.js +1 -0
- package/dist/html-DyXkxE0I.mjs +10 -0
- package/dist/html-derivative-BFG_GIVT.mjs +8 -0
- package/dist/html-derivative-DbGZSkO4.js +1 -0
- package/dist/http-J4eraUTU.js +1 -0
- package/dist/http-Xl8ey4Mx.mjs +14 -0
- package/dist/hurl-1DL8OH_r.js +1 -0
- package/dist/hurl-BP6fZ4DX.mjs +12 -0
- package/dist/hxml-DrnMPCCd.js +1 -0
- package/dist/hxml-L6NLEKuJ.mjs +8 -0
- package/dist/hy-Brt5EZ7-.mjs +6 -0
- package/dist/hy-a1E2Ed6P.js +1 -0
- package/dist/imba-CR1Q6r17.js +1 -0
- package/dist/imba-CimUv-Uh.mjs +6 -0
- package/dist/index-CkYZRBYn.js +676 -0
- package/dist/index-oe4HpmeG.mjs +58831 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +37 -0
- package/dist/info-NVLQJR56-B5gDnSIT.mjs +5 -0
- package/dist/info-NVLQJR56-BwFQRguW.js +1 -0
- package/dist/infoDiagram-WHAUD3N6-C-gzsm95.mjs +24 -0
- package/dist/infoDiagram-WHAUD3N6-CCb5k_S7.js +2 -0
- package/dist/ini-BZIuRIvJ.mjs +6 -0
- package/dist/ini-Dpu3Xy2p.js +1 -0
- package/dist/init-CHZsXQcr.js +1 -0
- package/dist/init-DjUOC4st.mjs +16 -0
- package/dist/java--6gf61wy.js +1 -0
- package/dist/java-DY6VlHhP.mjs +6 -0
- package/dist/javascript-C25yR2R2.mjs +6 -0
- package/dist/javascript-DgmXW4Ha.js +1 -0
- package/dist/jinja-CJxRwHVK.js +1 -0
- package/dist/jinja-Y2BGSZfx.mjs +11 -0
- package/dist/jison-CH6PZfPk.js +1 -0
- package/dist/jison-Dpv9Qnty.mjs +8 -0
- package/dist/journeyDiagram-XKPGCS4Q-DzkUL_YG.mjs +836 -0
- package/dist/journeyDiagram-XKPGCS4Q-POnSekz9.js +139 -0
- package/dist/json-DxJze_jm.mjs +6 -0
- package/dist/json-YkPizm35.js +1 -0
- package/dist/json5-BT4Fjg39.mjs +6 -0
- package/dist/json5-CCgFZiQn.js +1 -0
- package/dist/jsonc-CHjZD8gR.mjs +6 -0
- package/dist/jsonc-CKPHIcXW.js +1 -0
- package/dist/jsonl-BGuvDmy9.mjs +6 -0
- package/dist/jsonl-Dq56Hab-.js +1 -0
- package/dist/jsonnet-Bx2cfsXg.mjs +6 -0
- package/dist/jsonnet-Csh7E68F.js +1 -0
- package/dist/jssm-BcADi6EI.mjs +6 -0
- package/dist/jssm-D0M9iZPY.js +1 -0
- package/dist/jsx-BtKADgXT.mjs +6 -0
- package/dist/jsx-DLX6UGgg.js +1 -0
- package/dist/julia-DOO7NZhy.js +1 -0
- package/dist/julia-QwvTXUPU.mjs +16 -0
- package/dist/kanagawa-dragon-BJZF7xDr.js +1 -0
- package/dist/kanagawa-dragon-CiKur4Hl.mjs +4 -0
- package/dist/kanagawa-lotus-BKu-smKu.mjs +4 -0
- package/dist/kanagawa-lotus-BhgzmRV4.js +1 -0
- package/dist/kanagawa-wave-BgJip59C.js +1 -0
- package/dist/kanagawa-wave-CQwozSzG.mjs +4 -0
- package/dist/kanban-definition-3W4ZIXB7-BPr0_7wG.mjs +720 -0
- package/dist/kanban-definition-3W4ZIXB7-Bm064qrf.js +89 -0
- package/dist/kdl-BNOv9TC3.mjs +6 -0
- package/dist/kdl-CDG1p2Qi.js +1 -0
- package/dist/kotlin-BHZjvNqT.js +1 -0
- package/dist/kotlin-ByBMgTeR.mjs +6 -0
- package/dist/kusto-C6kOQWT0.js +1 -0
- package/dist/kusto-DH_XitHS.mjs +6 -0
- package/dist/laserwave--izBLY1I.js +1 -0
- package/dist/laserwave-6a00oqik.mjs +4 -0
- package/dist/latex-BkUAME40.js +1 -0
- package/dist/latex-Dhl9FnIw.mjs +8 -0
- package/dist/layout-Cd98WJ7r.mjs +1441 -0
- package/dist/layout-CuWQnP5Y.js +1 -0
- package/dist/lean-BnVxaZxY.mjs +6 -0
- package/dist/lean-DvVQmxVK.js +1 -0
- package/dist/less-B1GLI2Di.mjs +6 -0
- package/dist/less-Dtg8mm6P.js +1 -0
- package/dist/light-plus-B5D0le0o.js +1 -0
- package/dist/light-plus-CZuVqSLX.mjs +4 -0
- package/dist/linear-DFDw13y6.js +1 -0
- package/dist/linear-SU4e8MRt.mjs +259 -0
- package/dist/liquid-D2h0MxA-.js +1 -0
- package/dist/liquid-nAv19oBv.mjs +14 -0
- package/dist/llvm-DcRvQ_r8.js +1 -0
- package/dist/llvm-co1rIKs3.mjs +6 -0
- package/dist/log-Al8wyEFV.mjs +6 -0
- package/dist/log-CjTZ0gSB.js +1 -0
- package/dist/logo-BAktp_5i.js +1 -0
- package/dist/logo-DBa4JDzV.mjs +6 -0
- package/dist/lua-7_7huFMq.js +1 -0
- package/dist/lua-CG3yDRXR.mjs +8 -0
- package/dist/luau-BMXmwtw0.js +1 -0
- package/dist/luau-UQyhudEE.mjs +6 -0
- package/dist/make-CsMclxtr.mjs +6 -0
- package/dist/make-NcdIe21U.js +1 -0
- package/dist/markdown-Byu9Sdmq.js +1 -0
- package/dist/markdown-CrScaQ96.mjs +6 -0
- package/dist/marko-BUUK5Bjn.js +1 -0
- package/dist/marko-BkS1PqTg.mjs +14 -0
- package/dist/material-theme-D6KBX41T.mjs +4 -0
- package/dist/material-theme-Dj0-OyRN.js +1 -0
- package/dist/material-theme-darker-CkRroheE.mjs +4 -0
- package/dist/material-theme-darker-Dvfs29ir.js +1 -0
- package/dist/material-theme-lighter-BUBw43Yz.mjs +4 -0
- package/dist/material-theme-lighter-EU3ZGl_r.js +1 -0
- package/dist/material-theme-ocean-ClGX14Ja.mjs +4 -0
- package/dist/material-theme-ocean-px_3Pwqa.js +1 -0
- package/dist/material-theme-palenight-38jxvsGX.js +1 -0
- package/dist/material-theme-palenight-C1RVm8K1.mjs +4 -0
- package/dist/matlab-BOAaUVP0.mjs +6 -0
- package/dist/matlab-CHTOL9Kx.js +1 -0
- package/dist/mdc-DYb1IR0A.js +1 -0
- package/dist/mdc-DjkQ6W2y.mjs +12 -0
- package/dist/mdx-BOhZZUJ8.mjs +6 -0
- package/dist/mdx-CjwI68TB.js +1 -0
- package/dist/mermaid-4DMBBIKO-BihEtyib.js +1 -0
- package/dist/mermaid-4DMBBIKO-DDxvQcE9.mjs +4 -0
- package/dist/mermaid-BXSwQYo5.js +1 -0
- package/dist/mermaid-C3rz4dYh.mjs +6 -0
- package/dist/mermaid-parser.core-BHAgLMGa.js +128 -0
- package/dist/mermaid-parser.core-C8Sxzqul.mjs +15138 -0
- package/dist/min-C2k771MZ.mjs +38 -0
- package/dist/min-CppMRDFn.js +1 -0
- package/dist/min-dark-C7ak0t6c.mjs +4 -0
- package/dist/min-dark-tt5o_I5e.js +1 -0
- package/dist/min-light-CKFxVcPp.mjs +4 -0
- package/dist/min-light-tmTHl_CQ.js +1 -0
- package/dist/mindmap-definition-VGOIOE7T-BUd354uH.mjs +786 -0
- package/dist/mindmap-definition-VGOIOE7T-CV7bD4HY.js +68 -0
- package/dist/mipsasm-BSlRcFIy.js +1 -0
- package/dist/mipsasm-CTx18fBl.mjs +6 -0
- package/dist/mojo-CgKe2b8g.mjs +6 -0
- package/dist/mojo-D2tXKFxS.js +1 -0
- package/dist/monokai-C1KBYcO0.mjs +4 -0
- package/dist/monokai-DMIxv6MM.js +1 -0
- package/dist/moonbit-BweIWWUc.js +1 -0
- package/dist/moonbit-NVPuhMCm.mjs +6 -0
- package/dist/move-Bm1vlCWg.js +1 -0
- package/dist/move-F-dICmj2.mjs +6 -0
- package/dist/narrat-CBeKHgTl.js +1 -0
- package/dist/narrat-DmhDCBs-.mjs +6 -0
- package/dist/nextflow-CM8Ed358.js +1 -0
- package/dist/nextflow-DmSVRGjG.mjs +6 -0
- package/dist/nginx-Cy_SAdKw.mjs +8 -0
- package/dist/nginx-F8v4LkHE.js +1 -0
- package/dist/night-owl-BN78kThQ.js +1 -0
- package/dist/night-owl-Bm2rzalh.mjs +4 -0
- package/dist/nim-B4StNpZz.mjs +20 -0
- package/dist/nim-Bz82v_0I.js +1 -0
- package/dist/nix-BOiBJUDf.js +1 -0
- package/dist/nix-fTRXMGic.mjs +9 -0
- package/dist/nord-CC5OiUXg.mjs +4 -0
- package/dist/nord-Ca5AGUWc.js +1 -0
- package/dist/nushell-D8j3dhT-.mjs +6 -0
- package/dist/nushell-nGrB_wpI.js +1 -0
- package/dist/objective-c-Itk8tzmv.mjs +6 -0
- package/dist/objective-c-RjkWwFge.js +1 -0
- package/dist/objective-cpp-DGt5UKRO.mjs +6 -0
- package/dist/objective-cpp-HnfhWwRe.js +1 -0
- package/dist/ocaml-Cx8ewW_A.js +1 -0
- package/dist/ocaml-eSVK32Eg.mjs +6 -0
- package/dist/one-dark-pro-C09VQHwB.js +1 -0
- package/dist/one-dark-pro-DTA3VF0_.mjs +4 -0
- package/dist/one-light-020-h_lv.js +1 -0
- package/dist/one-light-D9sNaUtq.mjs +4 -0
- package/dist/openscad-D7eUrVPv.js +1 -0
- package/dist/openscad-Sp5uZ6f2.mjs +6 -0
- package/dist/ordinal-C0oynhte.mjs +61 -0
- package/dist/ordinal-CPpcdEvZ.js +1 -0
- package/dist/packet-BFZMPI3H-CFx3kSkL.js +1 -0
- package/dist/packet-BFZMPI3H-Cz_A86d3.mjs +5 -0
- package/dist/pascal-DBu9vQ2o.js +1 -0
- package/dist/pascal-xy8pJNns.mjs +6 -0
- package/dist/perl-BGWXz6Sf.js +1 -0
- package/dist/perl-BHbGvfXZ.mjs +16 -0
- package/dist/php-B7ztg6tr.mjs +18 -0
- package/dist/php-BMqBbP55.js +1 -0
- package/dist/pie-7BOR55EZ-B0-atE_o.mjs +5 -0
- package/dist/pie-7BOR55EZ-_1MqisBd.js +1 -0
- package/dist/pieDiagram-ADFJNKIX-Bg0_gu43.js +30 -0
- package/dist/pieDiagram-ADFJNKIX-lRs_rpwI.mjs +161 -0
- package/dist/pkl-C-zSNmaA.mjs +6 -0
- package/dist/pkl-Dvyry4Rm.js +1 -0
- package/dist/plastic-CSTz3KZp.mjs +4 -0
- package/dist/plastic-r5piqq-S.js +1 -0
- package/dist/plsql-IJkoPJ9P.js +1 -0
- package/dist/plsql-pVbGZfOv.mjs +6 -0
- package/dist/po-BNfHvqmm.mjs +6 -0
- package/dist/po-Rhu6MvnX.js +1 -0
- package/dist/poimandres-BLP3NNjc.js +1 -0
- package/dist/poimandres-C-VADXHD.mjs +4 -0
- package/dist/polar-BtWqSUq2.js +1 -0
- package/dist/polar-CAZahv3u.mjs +6 -0
- package/dist/postcss-05aHdL-n.mjs +6 -0
- package/dist/postcss-Dh97DcaJ.js +1 -0
- package/dist/powerquery-BGL6VIw7.js +1 -0
- package/dist/powerquery-DI9HkTvs.mjs +6 -0
- package/dist/powershell-BiEPMjy-.js +1 -0
- package/dist/powershell-Clc4ydu-.mjs +6 -0
- package/dist/prisma-Dp473sn0.js +1 -0
- package/dist/prisma-FZjmVtSl.mjs +6 -0
- package/dist/prolog-C5-yg4TO.mjs +6 -0
- package/dist/prolog-N1U-3UeF.js +1 -0
- package/dist/proto-C7QgialS.mjs +6 -0
- package/dist/proto-DMjUErYA.js +1 -0
- package/dist/pug-I1IOsXt4.mjs +12 -0
- package/dist/pug-bTUJx3Z-.js +1 -0
- package/dist/puppet-CUJHmnxV.mjs +6 -0
- package/dist/puppet-cDQP_ZC_.js +1 -0
- package/dist/purescript-DMxb59gF.js +1 -0
- package/dist/purescript-rUfGld-4.mjs +6 -0
- package/dist/python-BFNSHbwJ.mjs +6 -0
- package/dist/python-s9jfVbew.js +1 -0
- package/dist/qml-BxN9rt5O.mjs +8 -0
- package/dist/qml-CDzfIfOz.js +1 -0
- package/dist/qmldir-BInDYbpo.mjs +6 -0
- package/dist/qmldir-DNF9H2ir.js +1 -0
- package/dist/qss-AeJTysr_.mjs +6 -0
- package/dist/qss-DwA_oiAM.js +1 -0
- package/dist/quadrantDiagram-AYHSOK5B-B4gVakRV.js +7 -0
- package/dist/quadrantDiagram-AYHSOK5B-D9kypJt6.mjs +1024 -0
- package/dist/r-CSmzDPi7.mjs +6 -0
- package/dist/r-DAqIyZhh.js +1 -0
- package/dist/racket-B83wSAja.mjs +6 -0
- package/dist/racket-D4laxZit.js +1 -0
- package/dist/radar-NHE76QYJ-B-PvZD0K.mjs +5 -0
- package/dist/radar-NHE76QYJ-CdtC4C8F.js +1 -0
- package/dist/raku-DHySPsLw.js +1 -0
- package/dist/raku-nEQ4ZJJ7.mjs +6 -0
- package/dist/razor-BW3hho9N.mjs +10 -0
- package/dist/razor-DqXh8oK-.js +1 -0
- package/dist/red-7y8PH7HH.mjs +4 -0
- package/dist/red-BQGOv1D5.js +1 -0
- package/dist/reg-CevkCKuZ.js +1 -0
- package/dist/reg-m_s_Kiip.mjs +6 -0
- package/dist/regexp-BazyLpPg.mjs +6 -0
- package/dist/regexp-DabTWNLE.js +1 -0
- package/dist/rel-BS5APza7.js +1 -0
- package/dist/rel-BcRfyd6Q.mjs +6 -0
- package/dist/requirementDiagram-UZGBJVZJ-0zMPj-SD.js +64 -0
- package/dist/requirementDiagram-UZGBJVZJ-B5ulaHjE.mjs +852 -0
- package/dist/riscv-BnGFr6V7.js +1 -0
- package/dist/riscv-Ce8MAQLP.mjs +6 -0
- package/dist/rose-pine-BKc3yVeu.mjs +4 -0
- package/dist/rose-pine-CfBWm6WX.js +1 -0
- package/dist/rose-pine-dawn-BulJcPZT.mjs +4 -0
- package/dist/rose-pine-dawn-CaZ5I2lt.js +1 -0
- package/dist/rose-pine-moon-Cql8LDLp.js +1 -0
- package/dist/rose-pine-moon-j6jiXKV8.mjs +4 -0
- package/dist/rosmsg-C7VSFzUC.js +1 -0
- package/dist/rosmsg-Cz0w1km8.mjs +6 -0
- package/dist/rst-CmsHU1oq.js +1 -0
- package/dist/rst-Don6TZad.mjs +22 -0
- package/dist/ruby-DZp7Kthb.js +1 -0
- package/dist/ruby-DkElldd8.mjs +30 -0
- package/dist/rust-CLzF9zIN.mjs +6 -0
- package/dist/rust-CNeTMPbB.js +1 -0
- package/dist/sankeyDiagram-TZEHDZUN-Cl8-L83T.js +10 -0
- package/dist/sankeyDiagram-TZEHDZUN-DprIPFbe.mjs +810 -0
- package/dist/sas-Dgv5I5OF.mjs +8 -0
- package/dist/sas-Du-NqkIN.js +1 -0
- package/dist/sass-DxHp5rTx.mjs +6 -0
- package/dist/sass-vyo-bUwh.js +1 -0
- package/dist/scala-D4grkFkl.mjs +6 -0
- package/dist/scala-ZSekD-8-.js +1 -0
- package/dist/scheme-BCRWuEm4.mjs +6 -0
- package/dist/scheme-vM0LdD-_.js +1 -0
- package/dist/scss-C9Hu3bmX.js +1 -0
- package/dist/scss-DGhQJWhB.mjs +8 -0
- package/dist/sdbl-B7T8abf4.mjs +6 -0
- package/dist/sdbl-DeWT5r4i.js +1 -0
- package/dist/sequenceDiagram-WL72ISMW-B4m4oag0.mjs +2518 -0
- package/dist/sequenceDiagram-WL72ISMW-DRQn7Fe4.js +145 -0
- package/dist/shaderlab-DFNHwaQA.js +1 -0
- package/dist/shaderlab-D_9jCtR2.mjs +8 -0
- package/dist/shellscript-DYWjN7qW.js +1 -0
- package/dist/shellscript-InADTalH.mjs +6 -0
- package/dist/shellsession-5qZnCWz3.js +1 -0
- package/dist/shellsession-DtcyY-Wh.mjs +8 -0
- package/dist/slack-dark-akqwQ7ED.js +1 -0
- package/dist/slack-dark-i7wN4OET.mjs +4 -0
- package/dist/slack-ochin-BoQQWmTv.js +1 -0
- package/dist/slack-ochin-ndHf0LoP.mjs +4 -0
- package/dist/smalltalk-BNs6hxu4.js +1 -0
- package/dist/smalltalk-BlI1_OkM.mjs +6 -0
- package/dist/snazzy-light-BlSJXAu4.mjs +4 -0
- package/dist/snazzy-light-D_IwRieF.js +1 -0
- package/dist/solarized-dark-UTmkh7lw.mjs +4 -0
- package/dist/solarized-dark-gmm-WbDC.js +1 -0
- package/dist/solarized-light-BheCkDPT.mjs +4 -0
- package/dist/solarized-light-DzcxRSZP.js +1 -0
- package/dist/solidity-DUWnFhS6.mjs +6 -0
- package/dist/solidity-uQuzgchP.js +1 -0
- package/dist/soy-BztBK6ie.js +1 -0
- package/dist/soy-DwpxgXXf.mjs +8 -0
- package/dist/sparql-B6tDvEgg.mjs +8 -0
- package/dist/sparql-Ds57h-sT.js +1 -0
- package/dist/splunk-CRXR8A9s.mjs +6 -0
- package/dist/splunk-CWPivao_.js +1 -0
- package/dist/sql-Cn_v3PB0.mjs +6 -0
- package/dist/sql-DhUUVgH1.js +1 -0
- package/dist/ssh-config-B93wBIBa.js +1 -0
- package/dist/ssh-config-DP-hNVbF.mjs +6 -0
- package/dist/stata-B-erP_01.js +1 -0
- package/dist/stata-CuK25SjT.mjs +8 -0
- package/dist/stateDiagram-FKZM4ZOC-BD4tnS-V.js +1 -0
- package/dist/stateDiagram-FKZM4ZOC-DjkdDbQ2.mjs +263 -0
- package/dist/stateDiagram-v2-4FDKWEC3-AK86F3i6.mjs +16 -0
- package/dist/stateDiagram-v2-4FDKWEC3-sybMoxOk.js +1 -0
- package/dist/stylus-B64Bt0D4.js +1 -0
- package/dist/stylus-CyKEU1Ej.mjs +6 -0
- package/dist/svelte-CPZ3YGr5.js +1 -0
- package/dist/svelte-DA_HkuHw.mjs +14 -0
- package/dist/swift-9UzSvamq.mjs +6 -0
- package/dist/swift-BMbGdc3j.js +1 -0
- package/dist/synthwave-84-BBRLOmNT.js +1 -0
- package/dist/synthwave-84-NU3C_KFZ.mjs +4 -0
- package/dist/system-verilog-BCm7smPJ.mjs +6 -0
- package/dist/system-verilog-BFclLo9e.js +1 -0
- package/dist/systemd-C-4qm6XH.mjs +6 -0
- package/dist/systemd-Dtw7P4tb.js +1 -0
- package/dist/talonscript-CFF3LF_O.mjs +6 -0
- package/dist/talonscript-D8SvZJVc.js +1 -0
- package/dist/tasl--DC4oX-L.js +1 -0
- package/dist/tasl-Cg_WBUAe.mjs +6 -0
- package/dist/tcl-0Q0H86Yn.js +1 -0
- package/dist/tcl-DN7buRTF.mjs +6 -0
- package/dist/templ-DADdpFDY.js +1 -0
- package/dist/templ-YBaeMuI7.mjs +12 -0
- package/dist/terraform-C0RDrmWi.js +1 -0
- package/dist/terraform-DGvcn9zM.mjs +6 -0
- package/dist/tex-3QW4GAT7.js +1 -0
- package/dist/tex-4CAOFrzL.mjs +8 -0
- package/dist/timeline-definition-IT6M3QCI-2X4dfyLj.js +61 -0
- package/dist/timeline-definition-IT6M3QCI-BFuQEeZP.mjs +801 -0
- package/dist/tokyo-night-DP4TmcQl.mjs +4 -0
- package/dist/tokyo-night-GOhjzM5y.js +1 -0
- package/dist/toml-DY62mUL_.mjs +6 -0
- package/dist/toml-Q64DoSvG.js +1 -0
- package/dist/treemap-KMMF4GRG-DTnRa789.js +1 -0
- package/dist/treemap-KMMF4GRG-gtrnY16v.mjs +5 -0
- package/dist/ts-tags-DAIOErdC.mjs +41 -0
- package/dist/ts-tags-DW4c6MY1.js +1 -0
- package/dist/tsv-BtvSkaG0.mjs +6 -0
- package/dist/tsv-DqNGnuVj.js +1 -0
- package/dist/tsx-B8rCNbgL.mjs +6 -0
- package/dist/tsx-DIpfUf9u.js +1 -0
- package/dist/turtle-DipIidr5.js +1 -0
- package/dist/turtle-_H59FV7D.mjs +6 -0
- package/dist/twig-CkOV7KOv.mjs +18 -0
- package/dist/twig-DE2P6STQ.js +1 -0
- package/dist/types/index.d.ts +163 -0
- package/dist/typescript-RycA9KXf.mjs +6 -0
- package/dist/typescript-b48wo4zk.js +1 -0
- package/dist/typespec-DWqp-kUU.mjs +6 -0
- package/dist/typespec-DqXOE4_L.js +1 -0
- package/dist/typst-Cqq4j4V-.js +1 -0
- package/dist/typst-D_1QKWns.mjs +6 -0
- package/dist/utils/cursor-utils.d.ts +28 -0
- package/dist/utils/diff.d.ts +74 -0
- package/dist/utils/format-selection.d.ts +8 -0
- package/dist/utils/markdown-parser.d.ts +3 -0
- package/dist/utils/span-dom.d.ts +21 -0
- package/dist/utils/spans.d.ts +18 -0
- package/dist/v-81C2s01-.js +1 -0
- package/dist/v-BPCNiyYe.mjs +6 -0
- package/dist/vala-CsAYdCD2.js +1 -0
- package/dist/vala-uxaPR7d1.mjs +6 -0
- package/dist/vb-AiTMb16X.js +1 -0
- package/dist/vb-D8_c5-KN.mjs +6 -0
- package/dist/verilog-AMohXZcN.js +1 -0
- package/dist/verilog-B-bybjPF.mjs +6 -0
- package/dist/vesper-B59Iw4gV.js +1 -0
- package/dist/vesper-BckBta1U.mjs +4 -0
- package/dist/vhdl-CUlNa8ac.mjs +6 -0
- package/dist/vhdl-DIdR1NA5.js +1 -0
- package/dist/viml-D01eKeA4.js +1 -0
- package/dist/viml-DsfA-sWm.mjs +6 -0
- package/dist/vitesse-black-BoGvW84i.mjs +4 -0
- package/dist/vitesse-black-MF-1S1MG.js +1 -0
- package/dist/vitesse-dark-Cym-eLtO.mjs +4 -0
- package/dist/vitesse-dark-SIffJYSe.js +1 -0
- package/dist/vitesse-light-CcmG315c.mjs +4 -0
- package/dist/vitesse-light-U63SkYGT.js +1 -0
- package/dist/vue-BHXwUkEL.js +1 -0
- package/dist/vue-Qp02Uakc.mjs +31 -0
- package/dist/vue-html-B4znhqmy.js +1 -0
- package/dist/vue-html-Cg0YpUCP.mjs +8 -0
- package/dist/vue-vine-CHNjSzYC.js +1 -0
- package/dist/vue-vine-PHeyj-D9.mjs +18 -0
- package/dist/vyper-CPQuu50u.mjs +6 -0
- package/dist/vyper-DTzyzn3a.js +1 -0
- package/dist/wasm-BBXxrAl7.mjs +6 -0
- package/dist/wasm-DQxwEHae.mjs +7 -0
- package/dist/wasm-Dp-QrJpp.js +1 -0
- package/dist/wasm-Dw4u1m6u.js +1 -0
- package/dist/wenyan-CRNx8UP3.js +1 -0
- package/dist/wenyan-pbVjoM9_.mjs +6 -0
- package/dist/wgsl-DF5qc9dd.js +1 -0
- package/dist/wgsl-DY4iK1q1.mjs +6 -0
- package/dist/wikitext-D7uzEIfK.js +1 -0
- package/dist/wikitext-Z-MoUasO.mjs +6 -0
- package/dist/wit-BjWgLsJj.js +1 -0
- package/dist/wit-CQMQOlTg.mjs +6 -0
- package/dist/wolfram-BR4t3Ffc.js +1 -0
- package/dist/wolfram-Dz4KXISs.mjs +6 -0
- package/dist/xml-Dwj6NfjK.mjs +8 -0
- package/dist/xml-Vhl3ZuN2.js +1 -0
- package/dist/xsl-B2ZJiKs2.js +1 -0
- package/dist/xsl-Pe9theme.mjs +8 -0
- package/dist/xychartDiagram-PRI3JC2R-BaFd1In8.js +7 -0
- package/dist/xychartDiagram-PRI3JC2R-CjXiy6m0.mjs +1340 -0
- package/dist/yaml-DaO7k5B1.mjs +6 -0
- package/dist/yaml-XVBmpKh-.js +1 -0
- package/dist/zenscript-CxBjpf9c.mjs +6 -0
- package/dist/zenscript-fNvwKexi.js +1 -0
- package/dist/zig-BAyIAcWK.js +1 -0
- package/dist/zig-Vm0PO9wB.mjs +6 -0
- package/package.json +73 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const e = Object.freeze(JSON.parse('{"displayName":"TypeSpec","fileTypes":["tsp"],"name":"typespec","patterns":[{"include":"#statement"}],"repository":{"alias-id":{"begin":"(=)\\\\s*","beginCaptures":{"1":{"name":"keyword.operator.assignment.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.alias-id.typespec","patterns":[{"include":"#expression"}]},"alias-statement":{"begin":"\\\\b(alias)\\\\b\\\\s+(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)\\\\s*","beginCaptures":{"1":{"name":"keyword.other.tsp"},"2":{"name":"entity.name.type.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.alias-statement.typespec","patterns":[{"include":"#alias-id"},{"include":"#type-parameters"}]},"augment-decorator-statement":{"begin":"((@@)\\\\b[$_[:alpha:]](?:[$_[:alnum:]]|\\\\.[$_[:alpha:]])*)\\\\b","beginCaptures":{"1":{"name":"entity.name.tag.tsp"},"2":{"name":"entity.name.tag.tsp"}},"end":"(?=([$_`[:alpha:]]))|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.augment-decorator-statement.typespec","patterns":[{"include":"#token"},{"include":"#parenthesized-expression"}]},"block-comment":{"begin":"/\\\\*","end":"\\\\*/","name":"comment.block.tsp"},"boolean-literal":{"match":"\\\\b(true|false)\\\\b","name":"constant.language.tsp"},"callExpression":{"begin":"\\\\b([$_[:alpha:]](?:[$_[:alnum:]]|\\\\.[$_[:alpha:]])*)\\\\b\\\\s*(\\\\()","beginCaptures":{"1":{"name":"entity.name.function.tsp"},"2":{"name":"punctuation.parenthesis.open.tsp"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.parenthesis.close.tsp"}},"name":"meta.callExpression.typespec","patterns":[{"include":"#token"},{"include":"#expression"},{"include":"#punctuation-comma"}]},"const-statement":{"begin":"\\\\b(const)\\\\b\\\\s+(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)","beginCaptures":{"1":{"name":"keyword.other.tsp"},"2":{"name":"variable.name.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.const-statement.typespec","patterns":[{"include":"#type-annotation"},{"include":"#operator-assignment"},{"include":"#expression"}]},"decorator":{"begin":"((@)\\\\b[$_[:alpha:]](?:[$_[:alnum:]]|\\\\.[$_[:alpha:]])*)\\\\b","beginCaptures":{"1":{"name":"entity.name.tag.tsp"},"2":{"name":"entity.name.tag.tsp"}},"end":"(?=([$_`[:alpha:]]))|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.decorator.typespec","patterns":[{"include":"#token"},{"include":"#parenthesized-expression"}]},"decorator-declaration-statement":{"begin":"(?:(extern)\\\\s+)?\\\\b(dec)\\\\b\\\\s+(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)","beginCaptures":{"1":{"name":"keyword.other.tsp"},"2":{"name":"keyword.other.tsp"},"3":{"name":"entity.name.function.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.decorator-declaration-statement.typespec","patterns":[{"include":"#token"},{"include":"#operation-parameters"}]},"directive":{"begin":"\\\\s*(#)\\\\b([$_[:alpha:]][$_[:alnum:]]*)\\\\b","beginCaptures":{"1":{"name":"keyword.directive.name.tsp"},"2":{"name":"keyword.directive.name.tsp"}},"end":"$|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.directive.typespec","patterns":[{"include":"#string-literal"},{"include":"#identifier-expression"}]},"doc-comment":{"begin":"/\\\\*\\\\*","beginCaptures":{"0":{"name":"comment.block.tsp"}},"end":"\\\\*/","endCaptures":{"0":{"name":"comment.block.tsp"}},"name":"comment.block.tsp","patterns":[{"include":"#doc-comment-block"}]},"doc-comment-block":{"patterns":[{"include":"#doc-comment-param"},{"include":"#doc-comment-return-tag"},{"include":"#doc-comment-unknown-tag"}]},"doc-comment-param":{"captures":{"1":{"name":"keyword.tag.tspdoc"},"2":{"name":"keyword.tag.tspdoc"},"3":{"name":"variable.name.tsp"}},"match":"((@)(?:param|template|prop))\\\\s+(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)\\\\b","name":"comment.block.tsp"},"doc-comment-return-tag":{"captures":{"1":{"name":"keyword.tag.tspdoc"},"2":{"name":"keyword.tag.tspdoc"}},"match":"((@)returns)\\\\b","name":"comment.block.tsp"},"doc-comment-unknown-tag":{"captures":{"1":{"name":"entity.name.tag.tsp"},"2":{"name":"entity.name.tag.tsp"}},"match":"((@)(?:\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`))\\\\b","name":"comment.block.tsp"},"enum-body":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.curlybrace.open.tsp"}},"end":"}","endCaptures":{"0":{"name":"punctuation.curlybrace.close.tsp"}},"name":"meta.enum-body.typespec","patterns":[{"include":"#enum-member"},{"include":"#token"},{"include":"#directive"},{"include":"#decorator"},{"include":"#punctuation-comma"}]},"enum-member":{"begin":"(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)\\\\s*(:?)","beginCaptures":{"1":{"name":"variable.name.tsp"},"2":{"name":"keyword.operator.type.annotation.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.enum-member.typespec","patterns":[{"include":"#token"},{"include":"#type-annotation"}]},"enum-statement":{"begin":"\\\\b(enum)\\\\b\\\\s+(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)","beginCaptures":{"1":{"name":"keyword.other.tsp"},"2":{"name":"entity.name.type.tsp"}},"end":"(?<=})|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.enum-statement.typespec","patterns":[{"include":"#token"},{"include":"#enum-body"}]},"escape-character":{"match":"\\\\\\\\.","name":"constant.character.escape.tsp"},"expression":{"patterns":[{"include":"#token"},{"include":"#directive"},{"include":"#parenthesized-expression"},{"include":"#valueof"},{"include":"#typeof"},{"include":"#type-arguments"},{"include":"#object-literal"},{"include":"#tuple-literal"},{"include":"#tuple-expression"},{"include":"#model-expression"},{"include":"#callExpression"},{"include":"#identifier-expression"}]},"function-declaration-statement":{"begin":"(?:(extern)\\\\s+)?\\\\b(fn)\\\\b\\\\s+(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)","beginCaptures":{"1":{"name":"keyword.other.tsp"},"2":{"name":"keyword.other.tsp"},"3":{"name":"entity.name.function.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.function-declaration-statement.typespec","patterns":[{"include":"#token"},{"include":"#operation-parameters"},{"include":"#type-annotation"}]},"identifier-expression":{"match":"\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`","name":"entity.name.type.tsp"},"import-statement":{"begin":"\\\\b(import)\\\\b","beginCaptures":{"1":{"name":"keyword.other.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.import-statement.typespec","patterns":[{"include":"#token"}]},"interface-body":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.curlybrace.open.tsp"}},"end":"}","endCaptures":{"0":{"name":"punctuation.curlybrace.close.tsp"}},"name":"meta.interface-body.typespec","patterns":[{"include":"#token"},{"include":"#directive"},{"include":"#decorator"},{"include":"#interface-member"},{"include":"#punctuation-semicolon"}]},"interface-heritage":{"begin":"\\\\b(extends)\\\\b","beginCaptures":{"1":{"name":"keyword.other.tsp"}},"end":"((?=\\\\{)|(?=[);@}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b))","name":"meta.interface-heritage.typespec","patterns":[{"include":"#expression"},{"include":"#punctuation-comma"}]},"interface-member":{"begin":"(?:\\\\b(op)\\\\b\\\\s+)?(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)","beginCaptures":{"1":{"name":"keyword.other.tsp"},"2":{"name":"entity.name.function.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.interface-member.typespec","patterns":[{"include":"#token"},{"include":"#operation-signature"}]},"interface-statement":{"begin":"\\\\b(interface)\\\\b","beginCaptures":{"1":{"name":"keyword.other.tsp"}},"end":"(?<=})|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.interface-statement.typespec","patterns":[{"include":"#token"},{"include":"#type-parameters"},{"include":"#interface-heritage"},{"include":"#interface-body"},{"include":"#expression"}]},"line-comment":{"match":"//.*$","name":"comment.line.double-slash.tsp"},"model-expression":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.curlybrace.open.tsp"}},"end":"}","endCaptures":{"0":{"name":"punctuation.curlybrace.close.tsp"}},"name":"meta.model-expression.typespec","patterns":[{"include":"#model-property"},{"include":"#token"},{"include":"#directive"},{"include":"#decorator"},{"include":"#spread-operator"},{"include":"#punctuation-semicolon"}]},"model-heritage":{"begin":"\\\\b(extends|is)\\\\b","beginCaptures":{"1":{"name":"keyword.other.tsp"}},"end":"((?=\\\\{)|(?=[);@}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b))","name":"meta.model-heritage.typespec","patterns":[{"include":"#expression"},{"include":"#punctuation-comma"}]},"model-property":{"begin":"(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)|(\\"(?:[^\\"\\\\\\\\]|\\\\\\\\.)*\\")","beginCaptures":{"1":{"name":"variable.name.tsp"},"2":{"name":"string.quoted.double.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.model-property.typespec","patterns":[{"include":"#token"},{"include":"#type-annotation"},{"include":"#operator-assignment"},{"include":"#expression"}]},"model-statement":{"begin":"\\\\b(model)\\\\b","beginCaptures":{"1":{"name":"keyword.other.tsp"}},"end":"(?<=})|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.model-statement.typespec","patterns":[{"include":"#token"},{"include":"#type-parameters"},{"include":"#model-heritage"},{"include":"#expression"}]},"namespace-body":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.curlybrace.open.tsp"}},"end":"}","endCaptures":{"0":{"name":"punctuation.curlybrace.close.tsp"}},"name":"meta.namespace-body.typespec","patterns":[{"include":"#statement"}]},"namespace-name":{"begin":"(?=([$_`[:alpha:]]))","end":"((?=\\\\{)|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b))","name":"meta.namespace-name.typespec","patterns":[{"include":"#identifier-expression"},{"include":"#punctuation-accessor"}]},"namespace-statement":{"begin":"\\\\b(namespace)\\\\b","beginCaptures":{"1":{"name":"keyword.other.tsp"}},"end":"((?<=})|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b))","name":"meta.namespace-statement.typespec","patterns":[{"include":"#token"},{"include":"#namespace-name"},{"include":"#namespace-body"}]},"numeric-literal":{"match":"\\\\b(?<!\\\\$)0[Xx]\\\\h[_\\\\h]*(n)?\\\\b(?!\\\\$)|\\\\b(?<!\\\\$)0[Bb][01][01_]*(n)?\\\\b(?!\\\\$)|(?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(n)?\\\\B|\\\\B(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(n)?\\\\b(?!\\\\.))(?!\\\\$)","name":"constant.numeric.tsp"},"object-literal":{"begin":"#\\\\{","beginCaptures":{"0":{"name":"punctuation.hashcurlybrace.open.tsp"}},"end":"}","endCaptures":{"0":{"name":"punctuation.curlybrace.close.tsp"}},"name":"meta.object-literal.typespec","patterns":[{"include":"#token"},{"include":"#object-literal-property"},{"include":"#directive"},{"include":"#spread-operator"},{"include":"#punctuation-comma"}]},"object-literal-property":{"begin":"(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)\\\\s*(:)","beginCaptures":{"1":{"name":"variable.name.tsp"},"2":{"name":"keyword.operator.type.annotation.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.object-literal-property.typespec","patterns":[{"include":"#token"},{"include":"#expression"}]},"operation-heritage":{"begin":"\\\\b(is)\\\\b","beginCaptures":{"1":{"name":"keyword.other.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.operation-heritage.typespec","patterns":[{"include":"#expression"}]},"operation-parameters":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.parenthesis.open.tsp"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.parenthesis.close.tsp"}},"name":"meta.operation-parameters.typespec","patterns":[{"include":"#token"},{"include":"#decorator"},{"include":"#model-property"},{"include":"#spread-operator"},{"include":"#punctuation-comma"}]},"operation-signature":{"patterns":[{"include":"#type-parameters"},{"include":"#operation-heritage"},{"include":"#operation-parameters"},{"include":"#type-annotation"}]},"operation-statement":{"begin":"\\\\b(op)\\\\b\\\\s+(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)","beginCaptures":{"1":{"name":"keyword.other.tsp"},"2":{"name":"entity.name.function.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.operation-statement.typespec","patterns":[{"include":"#token"},{"include":"#operation-signature"}]},"operator-assignment":{"match":"=","name":"keyword.operator.assignment.tsp"},"parenthesized-expression":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.parenthesis.open.tsp"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.parenthesis.close.tsp"}},"name":"meta.parenthesized-expression.typespec","patterns":[{"include":"#expression"},{"include":"#punctuation-comma"}]},"punctuation-accessor":{"match":"\\\\.","name":"punctuation.accessor.tsp"},"punctuation-comma":{"match":",","name":"punctuation.comma.tsp"},"punctuation-semicolon":{"match":";","name":"punctuation.terminator.statement.tsp"},"scalar-body":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.curlybrace.open.tsp"}},"end":"}","endCaptures":{"0":{"name":"punctuation.curlybrace.close.tsp"}},"name":"meta.scalar-body.typespec","patterns":[{"include":"#token"},{"include":"#directive"},{"include":"#scalar-constructor"},{"include":"#punctuation-semicolon"}]},"scalar-constructor":{"begin":"\\\\b(init)\\\\b\\\\s+(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)","beginCaptures":{"1":{"name":"keyword.other.tsp"},"2":{"name":"entity.name.function.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.scalar-constructor.typespec","patterns":[{"include":"#token"},{"include":"#operation-parameters"}]},"scalar-extends":{"begin":"\\\\b(extends)\\\\b","beginCaptures":{"1":{"name":"keyword.other.tsp"}},"end":"(?=[);@}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.scalar-extends.typespec","patterns":[{"include":"#expression"},{"include":"#punctuation-comma"}]},"scalar-statement":{"begin":"\\\\b(scalar)\\\\b\\\\s+(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)","beginCaptures":{"1":{"name":"keyword.other.tsp"},"2":{"name":"entity.name.type.tsp"}},"end":"(?<=})|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.scalar-statement.typespec","patterns":[{"include":"#token"},{"include":"#type-parameters"},{"include":"#scalar-extends"},{"include":"#scalar-body"}]},"spread-operator":{"begin":"\\\\.\\\\.\\\\.","beginCaptures":{"0":{"name":"keyword.operator.spread.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.spread-operator.typespec","patterns":[{"include":"#expression"}]},"statement":{"patterns":[{"include":"#token"},{"include":"#directive"},{"include":"#augment-decorator-statement"},{"include":"#decorator"},{"include":"#model-statement"},{"include":"#scalar-statement"},{"include":"#union-statement"},{"include":"#interface-statement"},{"include":"#enum-statement"},{"include":"#alias-statement"},{"include":"#const-statement"},{"include":"#namespace-statement"},{"include":"#operation-statement"},{"include":"#import-statement"},{"include":"#using-statement"},{"include":"#decorator-declaration-statement"},{"include":"#function-declaration-statement"},{"include":"#punctuation-semicolon"}]},"string-literal":{"begin":"\\"","end":"\\"|$","name":"string.quoted.double.tsp","patterns":[{"include":"#template-expression"},{"include":"#escape-character"}]},"template-expression":{"begin":"\\\\$\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.template-expression.begin.tsp"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.template-expression.end.tsp"}},"name":"meta.template-expression.typespec","patterns":[{"include":"#expression"}]},"token":{"patterns":[{"include":"#doc-comment"},{"include":"#line-comment"},{"include":"#block-comment"},{"include":"#triple-quoted-string-literal"},{"include":"#string-literal"},{"include":"#boolean-literal"},{"include":"#numeric-literal"}]},"triple-quoted-string-literal":{"begin":"\\"\\"\\"","end":"\\"\\"\\"","name":"string.quoted.triple.tsp","patterns":[{"include":"#template-expression"},{"include":"#escape-character"}]},"tuple-expression":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.squarebracket.open.tsp"}},"end":"]","endCaptures":{"0":{"name":"punctuation.squarebracket.close.tsp"}},"name":"meta.tuple-expression.typespec","patterns":[{"include":"#expression"}]},"tuple-literal":{"begin":"#\\\\[","beginCaptures":{"0":{"name":"punctuation.hashsquarebracket.open.tsp"}},"end":"]","endCaptures":{"0":{"name":"punctuation.squarebracket.close.tsp"}},"name":"meta.tuple-literal.typespec","patterns":[{"include":"#expression"},{"include":"#punctuation-comma"}]},"type-annotation":{"begin":"\\\\s*(\\\\??)\\\\s*(:)","beginCaptures":{"1":{"name":"keyword.operator.optional.tsp"},"2":{"name":"keyword.operator.type.annotation.tsp"}},"end":"(?=[),;=@}]|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.type-annotation.typespec","patterns":[{"include":"#expression"}]},"type-argument":{"begin":"(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)\\\\s*(=)","beginCaptures":{"1":{"name":"entity.name.type.tsp"},"2":{"name":"keyword.operator.assignment.tsp"}},"end":"(?=>)|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","endCaptures":{"0":{"name":"keyword.operator.assignment.tsp"}},"name":"meta.type-argument.typespec","patterns":[{"include":"#token"},{"include":"#expression"},{"include":"#punctuation-comma"}]},"type-arguments":{"begin":"<","beginCaptures":{"0":{"name":"punctuation.definition.typeparameters.begin.tsp"}},"end":">","endCaptures":{"0":{"name":"punctuation.definition.typeparameters.end.tsp"}},"name":"meta.type-arguments.typespec","patterns":[{"include":"#type-argument"},{"include":"#expression"},{"include":"#punctuation-comma"}]},"type-parameter":{"begin":"(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)","beginCaptures":{"1":{"name":"entity.name.type.tsp"}},"end":"(?=>)|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.type-parameter.typespec","patterns":[{"include":"#token"},{"include":"#type-parameter-constraint"},{"include":"#type-parameter-default"}]},"type-parameter-constraint":{"begin":"extends","beginCaptures":{"0":{"name":"keyword.other.tsp"}},"end":"(?=>)|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.type-parameter-constraint.typespec","patterns":[{"include":"#expression"}]},"type-parameter-default":{"begin":"=","beginCaptures":{"0":{"name":"keyword.operator.assignment.tsp"}},"end":"(?=>)|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.type-parameter-default.typespec","patterns":[{"include":"#expression"}]},"type-parameters":{"begin":"<","beginCaptures":{"0":{"name":"punctuation.definition.typeparameters.begin.tsp"}},"end":">","endCaptures":{"0":{"name":"punctuation.definition.typeparameters.end.tsp"}},"name":"meta.type-parameters.typespec","patterns":[{"include":"#type-parameter"},{"include":"#punctuation-comma"}]},"typeof":{"begin":"\\\\b(typeof)","beginCaptures":{"1":{"name":"keyword.other.tsp"}},"end":"(?=>)|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.typeof.typespec","patterns":[{"include":"#expression"}]},"union-body":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.curlybrace.open.tsp"}},"end":"}","endCaptures":{"0":{"name":"punctuation.curlybrace.close.tsp"}},"name":"meta.union-body.typespec","patterns":[{"include":"#union-variant"},{"include":"#token"},{"include":"#directive"},{"include":"#decorator"},{"include":"#expression"},{"include":"#punctuation-comma"}]},"union-statement":{"begin":"\\\\b(union)\\\\b\\\\s+(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)","beginCaptures":{"1":{"name":"keyword.other.tsp"},"2":{"name":"entity.name.type.tsp"}},"end":"(?<=})|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.union-statement.typespec","patterns":[{"include":"#token"},{"include":"#union-body"}]},"union-variant":{"begin":"(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)\\\\s*(:)","beginCaptures":{"1":{"name":"variable.name.tsp"},"2":{"name":"keyword.operator.type.annotation.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.union-variant.typespec","patterns":[{"include":"#token"},{"include":"#expression"}]},"using-statement":{"begin":"\\\\b(using)\\\\b","beginCaptures":{"1":{"name":"keyword.other.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.using-statement.typespec","patterns":[{"include":"#token"},{"include":"#identifier-expression"},{"include":"#punctuation-accessor"}]},"valueof":{"begin":"\\\\b(valueof)","beginCaptures":{"1":{"name":"keyword.other.tsp"}},"end":"(?=>)|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.valueof.typespec","patterns":[{"include":"#expression"}]}},"scopeName":"source.tsp","aliases":["tsp"]}')), n = [
|
|
2
|
+
e
|
|
3
|
+
];
|
|
4
|
+
export {
|
|
5
|
+
n as default
|
|
6
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze(JSON.parse('{"displayName":"TypeSpec","fileTypes":["tsp"],"name":"typespec","patterns":[{"include":"#statement"}],"repository":{"alias-id":{"begin":"(=)\\\\s*","beginCaptures":{"1":{"name":"keyword.operator.assignment.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.alias-id.typespec","patterns":[{"include":"#expression"}]},"alias-statement":{"begin":"\\\\b(alias)\\\\b\\\\s+(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)\\\\s*","beginCaptures":{"1":{"name":"keyword.other.tsp"},"2":{"name":"entity.name.type.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.alias-statement.typespec","patterns":[{"include":"#alias-id"},{"include":"#type-parameters"}]},"augment-decorator-statement":{"begin":"((@@)\\\\b[$_[:alpha:]](?:[$_[:alnum:]]|\\\\.[$_[:alpha:]])*)\\\\b","beginCaptures":{"1":{"name":"entity.name.tag.tsp"},"2":{"name":"entity.name.tag.tsp"}},"end":"(?=([$_`[:alpha:]]))|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.augment-decorator-statement.typespec","patterns":[{"include":"#token"},{"include":"#parenthesized-expression"}]},"block-comment":{"begin":"/\\\\*","end":"\\\\*/","name":"comment.block.tsp"},"boolean-literal":{"match":"\\\\b(true|false)\\\\b","name":"constant.language.tsp"},"callExpression":{"begin":"\\\\b([$_[:alpha:]](?:[$_[:alnum:]]|\\\\.[$_[:alpha:]])*)\\\\b\\\\s*(\\\\()","beginCaptures":{"1":{"name":"entity.name.function.tsp"},"2":{"name":"punctuation.parenthesis.open.tsp"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.parenthesis.close.tsp"}},"name":"meta.callExpression.typespec","patterns":[{"include":"#token"},{"include":"#expression"},{"include":"#punctuation-comma"}]},"const-statement":{"begin":"\\\\b(const)\\\\b\\\\s+(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)","beginCaptures":{"1":{"name":"keyword.other.tsp"},"2":{"name":"variable.name.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.const-statement.typespec","patterns":[{"include":"#type-annotation"},{"include":"#operator-assignment"},{"include":"#expression"}]},"decorator":{"begin":"((@)\\\\b[$_[:alpha:]](?:[$_[:alnum:]]|\\\\.[$_[:alpha:]])*)\\\\b","beginCaptures":{"1":{"name":"entity.name.tag.tsp"},"2":{"name":"entity.name.tag.tsp"}},"end":"(?=([$_`[:alpha:]]))|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.decorator.typespec","patterns":[{"include":"#token"},{"include":"#parenthesized-expression"}]},"decorator-declaration-statement":{"begin":"(?:(extern)\\\\s+)?\\\\b(dec)\\\\b\\\\s+(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)","beginCaptures":{"1":{"name":"keyword.other.tsp"},"2":{"name":"keyword.other.tsp"},"3":{"name":"entity.name.function.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.decorator-declaration-statement.typespec","patterns":[{"include":"#token"},{"include":"#operation-parameters"}]},"directive":{"begin":"\\\\s*(#)\\\\b([$_[:alpha:]][$_[:alnum:]]*)\\\\b","beginCaptures":{"1":{"name":"keyword.directive.name.tsp"},"2":{"name":"keyword.directive.name.tsp"}},"end":"$|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.directive.typespec","patterns":[{"include":"#string-literal"},{"include":"#identifier-expression"}]},"doc-comment":{"begin":"/\\\\*\\\\*","beginCaptures":{"0":{"name":"comment.block.tsp"}},"end":"\\\\*/","endCaptures":{"0":{"name":"comment.block.tsp"}},"name":"comment.block.tsp","patterns":[{"include":"#doc-comment-block"}]},"doc-comment-block":{"patterns":[{"include":"#doc-comment-param"},{"include":"#doc-comment-return-tag"},{"include":"#doc-comment-unknown-tag"}]},"doc-comment-param":{"captures":{"1":{"name":"keyword.tag.tspdoc"},"2":{"name":"keyword.tag.tspdoc"},"3":{"name":"variable.name.tsp"}},"match":"((@)(?:param|template|prop))\\\\s+(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)\\\\b","name":"comment.block.tsp"},"doc-comment-return-tag":{"captures":{"1":{"name":"keyword.tag.tspdoc"},"2":{"name":"keyword.tag.tspdoc"}},"match":"((@)returns)\\\\b","name":"comment.block.tsp"},"doc-comment-unknown-tag":{"captures":{"1":{"name":"entity.name.tag.tsp"},"2":{"name":"entity.name.tag.tsp"}},"match":"((@)(?:\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`))\\\\b","name":"comment.block.tsp"},"enum-body":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.curlybrace.open.tsp"}},"end":"}","endCaptures":{"0":{"name":"punctuation.curlybrace.close.tsp"}},"name":"meta.enum-body.typespec","patterns":[{"include":"#enum-member"},{"include":"#token"},{"include":"#directive"},{"include":"#decorator"},{"include":"#punctuation-comma"}]},"enum-member":{"begin":"(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)\\\\s*(:?)","beginCaptures":{"1":{"name":"variable.name.tsp"},"2":{"name":"keyword.operator.type.annotation.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.enum-member.typespec","patterns":[{"include":"#token"},{"include":"#type-annotation"}]},"enum-statement":{"begin":"\\\\b(enum)\\\\b\\\\s+(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)","beginCaptures":{"1":{"name":"keyword.other.tsp"},"2":{"name":"entity.name.type.tsp"}},"end":"(?<=})|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.enum-statement.typespec","patterns":[{"include":"#token"},{"include":"#enum-body"}]},"escape-character":{"match":"\\\\\\\\.","name":"constant.character.escape.tsp"},"expression":{"patterns":[{"include":"#token"},{"include":"#directive"},{"include":"#parenthesized-expression"},{"include":"#valueof"},{"include":"#typeof"},{"include":"#type-arguments"},{"include":"#object-literal"},{"include":"#tuple-literal"},{"include":"#tuple-expression"},{"include":"#model-expression"},{"include":"#callExpression"},{"include":"#identifier-expression"}]},"function-declaration-statement":{"begin":"(?:(extern)\\\\s+)?\\\\b(fn)\\\\b\\\\s+(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)","beginCaptures":{"1":{"name":"keyword.other.tsp"},"2":{"name":"keyword.other.tsp"},"3":{"name":"entity.name.function.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.function-declaration-statement.typespec","patterns":[{"include":"#token"},{"include":"#operation-parameters"},{"include":"#type-annotation"}]},"identifier-expression":{"match":"\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`","name":"entity.name.type.tsp"},"import-statement":{"begin":"\\\\b(import)\\\\b","beginCaptures":{"1":{"name":"keyword.other.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.import-statement.typespec","patterns":[{"include":"#token"}]},"interface-body":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.curlybrace.open.tsp"}},"end":"}","endCaptures":{"0":{"name":"punctuation.curlybrace.close.tsp"}},"name":"meta.interface-body.typespec","patterns":[{"include":"#token"},{"include":"#directive"},{"include":"#decorator"},{"include":"#interface-member"},{"include":"#punctuation-semicolon"}]},"interface-heritage":{"begin":"\\\\b(extends)\\\\b","beginCaptures":{"1":{"name":"keyword.other.tsp"}},"end":"((?=\\\\{)|(?=[);@}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b))","name":"meta.interface-heritage.typespec","patterns":[{"include":"#expression"},{"include":"#punctuation-comma"}]},"interface-member":{"begin":"(?:\\\\b(op)\\\\b\\\\s+)?(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)","beginCaptures":{"1":{"name":"keyword.other.tsp"},"2":{"name":"entity.name.function.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.interface-member.typespec","patterns":[{"include":"#token"},{"include":"#operation-signature"}]},"interface-statement":{"begin":"\\\\b(interface)\\\\b","beginCaptures":{"1":{"name":"keyword.other.tsp"}},"end":"(?<=})|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.interface-statement.typespec","patterns":[{"include":"#token"},{"include":"#type-parameters"},{"include":"#interface-heritage"},{"include":"#interface-body"},{"include":"#expression"}]},"line-comment":{"match":"//.*$","name":"comment.line.double-slash.tsp"},"model-expression":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.curlybrace.open.tsp"}},"end":"}","endCaptures":{"0":{"name":"punctuation.curlybrace.close.tsp"}},"name":"meta.model-expression.typespec","patterns":[{"include":"#model-property"},{"include":"#token"},{"include":"#directive"},{"include":"#decorator"},{"include":"#spread-operator"},{"include":"#punctuation-semicolon"}]},"model-heritage":{"begin":"\\\\b(extends|is)\\\\b","beginCaptures":{"1":{"name":"keyword.other.tsp"}},"end":"((?=\\\\{)|(?=[);@}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b))","name":"meta.model-heritage.typespec","patterns":[{"include":"#expression"},{"include":"#punctuation-comma"}]},"model-property":{"begin":"(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)|(\\"(?:[^\\"\\\\\\\\]|\\\\\\\\.)*\\")","beginCaptures":{"1":{"name":"variable.name.tsp"},"2":{"name":"string.quoted.double.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.model-property.typespec","patterns":[{"include":"#token"},{"include":"#type-annotation"},{"include":"#operator-assignment"},{"include":"#expression"}]},"model-statement":{"begin":"\\\\b(model)\\\\b","beginCaptures":{"1":{"name":"keyword.other.tsp"}},"end":"(?<=})|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.model-statement.typespec","patterns":[{"include":"#token"},{"include":"#type-parameters"},{"include":"#model-heritage"},{"include":"#expression"}]},"namespace-body":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.curlybrace.open.tsp"}},"end":"}","endCaptures":{"0":{"name":"punctuation.curlybrace.close.tsp"}},"name":"meta.namespace-body.typespec","patterns":[{"include":"#statement"}]},"namespace-name":{"begin":"(?=([$_`[:alpha:]]))","end":"((?=\\\\{)|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b))","name":"meta.namespace-name.typespec","patterns":[{"include":"#identifier-expression"},{"include":"#punctuation-accessor"}]},"namespace-statement":{"begin":"\\\\b(namespace)\\\\b","beginCaptures":{"1":{"name":"keyword.other.tsp"}},"end":"((?<=})|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b))","name":"meta.namespace-statement.typespec","patterns":[{"include":"#token"},{"include":"#namespace-name"},{"include":"#namespace-body"}]},"numeric-literal":{"match":"\\\\b(?<!\\\\$)0[Xx]\\\\h[_\\\\h]*(n)?\\\\b(?!\\\\$)|\\\\b(?<!\\\\$)0[Bb][01][01_]*(n)?\\\\b(?!\\\\$)|(?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(n)?\\\\B|\\\\B(\\\\.)[0-9][0-9_]*(n)?\\\\b|\\\\b[0-9][0-9_]*(n)?\\\\b(?!\\\\.))(?!\\\\$)","name":"constant.numeric.tsp"},"object-literal":{"begin":"#\\\\{","beginCaptures":{"0":{"name":"punctuation.hashcurlybrace.open.tsp"}},"end":"}","endCaptures":{"0":{"name":"punctuation.curlybrace.close.tsp"}},"name":"meta.object-literal.typespec","patterns":[{"include":"#token"},{"include":"#object-literal-property"},{"include":"#directive"},{"include":"#spread-operator"},{"include":"#punctuation-comma"}]},"object-literal-property":{"begin":"(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)\\\\s*(:)","beginCaptures":{"1":{"name":"variable.name.tsp"},"2":{"name":"keyword.operator.type.annotation.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.object-literal-property.typespec","patterns":[{"include":"#token"},{"include":"#expression"}]},"operation-heritage":{"begin":"\\\\b(is)\\\\b","beginCaptures":{"1":{"name":"keyword.other.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.operation-heritage.typespec","patterns":[{"include":"#expression"}]},"operation-parameters":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.parenthesis.open.tsp"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.parenthesis.close.tsp"}},"name":"meta.operation-parameters.typespec","patterns":[{"include":"#token"},{"include":"#decorator"},{"include":"#model-property"},{"include":"#spread-operator"},{"include":"#punctuation-comma"}]},"operation-signature":{"patterns":[{"include":"#type-parameters"},{"include":"#operation-heritage"},{"include":"#operation-parameters"},{"include":"#type-annotation"}]},"operation-statement":{"begin":"\\\\b(op)\\\\b\\\\s+(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)","beginCaptures":{"1":{"name":"keyword.other.tsp"},"2":{"name":"entity.name.function.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.operation-statement.typespec","patterns":[{"include":"#token"},{"include":"#operation-signature"}]},"operator-assignment":{"match":"=","name":"keyword.operator.assignment.tsp"},"parenthesized-expression":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.parenthesis.open.tsp"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.parenthesis.close.tsp"}},"name":"meta.parenthesized-expression.typespec","patterns":[{"include":"#expression"},{"include":"#punctuation-comma"}]},"punctuation-accessor":{"match":"\\\\.","name":"punctuation.accessor.tsp"},"punctuation-comma":{"match":",","name":"punctuation.comma.tsp"},"punctuation-semicolon":{"match":";","name":"punctuation.terminator.statement.tsp"},"scalar-body":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.curlybrace.open.tsp"}},"end":"}","endCaptures":{"0":{"name":"punctuation.curlybrace.close.tsp"}},"name":"meta.scalar-body.typespec","patterns":[{"include":"#token"},{"include":"#directive"},{"include":"#scalar-constructor"},{"include":"#punctuation-semicolon"}]},"scalar-constructor":{"begin":"\\\\b(init)\\\\b\\\\s+(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)","beginCaptures":{"1":{"name":"keyword.other.tsp"},"2":{"name":"entity.name.function.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.scalar-constructor.typespec","patterns":[{"include":"#token"},{"include":"#operation-parameters"}]},"scalar-extends":{"begin":"\\\\b(extends)\\\\b","beginCaptures":{"1":{"name":"keyword.other.tsp"}},"end":"(?=[);@}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.scalar-extends.typespec","patterns":[{"include":"#expression"},{"include":"#punctuation-comma"}]},"scalar-statement":{"begin":"\\\\b(scalar)\\\\b\\\\s+(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)","beginCaptures":{"1":{"name":"keyword.other.tsp"},"2":{"name":"entity.name.type.tsp"}},"end":"(?<=})|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.scalar-statement.typespec","patterns":[{"include":"#token"},{"include":"#type-parameters"},{"include":"#scalar-extends"},{"include":"#scalar-body"}]},"spread-operator":{"begin":"\\\\.\\\\.\\\\.","beginCaptures":{"0":{"name":"keyword.operator.spread.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.spread-operator.typespec","patterns":[{"include":"#expression"}]},"statement":{"patterns":[{"include":"#token"},{"include":"#directive"},{"include":"#augment-decorator-statement"},{"include":"#decorator"},{"include":"#model-statement"},{"include":"#scalar-statement"},{"include":"#union-statement"},{"include":"#interface-statement"},{"include":"#enum-statement"},{"include":"#alias-statement"},{"include":"#const-statement"},{"include":"#namespace-statement"},{"include":"#operation-statement"},{"include":"#import-statement"},{"include":"#using-statement"},{"include":"#decorator-declaration-statement"},{"include":"#function-declaration-statement"},{"include":"#punctuation-semicolon"}]},"string-literal":{"begin":"\\"","end":"\\"|$","name":"string.quoted.double.tsp","patterns":[{"include":"#template-expression"},{"include":"#escape-character"}]},"template-expression":{"begin":"\\\\$\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.template-expression.begin.tsp"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.template-expression.end.tsp"}},"name":"meta.template-expression.typespec","patterns":[{"include":"#expression"}]},"token":{"patterns":[{"include":"#doc-comment"},{"include":"#line-comment"},{"include":"#block-comment"},{"include":"#triple-quoted-string-literal"},{"include":"#string-literal"},{"include":"#boolean-literal"},{"include":"#numeric-literal"}]},"triple-quoted-string-literal":{"begin":"\\"\\"\\"","end":"\\"\\"\\"","name":"string.quoted.triple.tsp","patterns":[{"include":"#template-expression"},{"include":"#escape-character"}]},"tuple-expression":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.squarebracket.open.tsp"}},"end":"]","endCaptures":{"0":{"name":"punctuation.squarebracket.close.tsp"}},"name":"meta.tuple-expression.typespec","patterns":[{"include":"#expression"}]},"tuple-literal":{"begin":"#\\\\[","beginCaptures":{"0":{"name":"punctuation.hashsquarebracket.open.tsp"}},"end":"]","endCaptures":{"0":{"name":"punctuation.squarebracket.close.tsp"}},"name":"meta.tuple-literal.typespec","patterns":[{"include":"#expression"},{"include":"#punctuation-comma"}]},"type-annotation":{"begin":"\\\\s*(\\\\??)\\\\s*(:)","beginCaptures":{"1":{"name":"keyword.operator.optional.tsp"},"2":{"name":"keyword.operator.type.annotation.tsp"}},"end":"(?=[),;=@}]|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.type-annotation.typespec","patterns":[{"include":"#expression"}]},"type-argument":{"begin":"(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)\\\\s*(=)","beginCaptures":{"1":{"name":"entity.name.type.tsp"},"2":{"name":"keyword.operator.assignment.tsp"}},"end":"(?=>)|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","endCaptures":{"0":{"name":"keyword.operator.assignment.tsp"}},"name":"meta.type-argument.typespec","patterns":[{"include":"#token"},{"include":"#expression"},{"include":"#punctuation-comma"}]},"type-arguments":{"begin":"<","beginCaptures":{"0":{"name":"punctuation.definition.typeparameters.begin.tsp"}},"end":">","endCaptures":{"0":{"name":"punctuation.definition.typeparameters.end.tsp"}},"name":"meta.type-arguments.typespec","patterns":[{"include":"#type-argument"},{"include":"#expression"},{"include":"#punctuation-comma"}]},"type-parameter":{"begin":"(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)","beginCaptures":{"1":{"name":"entity.name.type.tsp"}},"end":"(?=>)|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.type-parameter.typespec","patterns":[{"include":"#token"},{"include":"#type-parameter-constraint"},{"include":"#type-parameter-default"}]},"type-parameter-constraint":{"begin":"extends","beginCaptures":{"0":{"name":"keyword.other.tsp"}},"end":"(?=>)|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.type-parameter-constraint.typespec","patterns":[{"include":"#expression"}]},"type-parameter-default":{"begin":"=","beginCaptures":{"0":{"name":"keyword.operator.assignment.tsp"}},"end":"(?=>)|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.type-parameter-default.typespec","patterns":[{"include":"#expression"}]},"type-parameters":{"begin":"<","beginCaptures":{"0":{"name":"punctuation.definition.typeparameters.begin.tsp"}},"end":">","endCaptures":{"0":{"name":"punctuation.definition.typeparameters.end.tsp"}},"name":"meta.type-parameters.typespec","patterns":[{"include":"#type-parameter"},{"include":"#punctuation-comma"}]},"typeof":{"begin":"\\\\b(typeof)","beginCaptures":{"1":{"name":"keyword.other.tsp"}},"end":"(?=>)|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.typeof.typespec","patterns":[{"include":"#expression"}]},"union-body":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.curlybrace.open.tsp"}},"end":"}","endCaptures":{"0":{"name":"punctuation.curlybrace.close.tsp"}},"name":"meta.union-body.typespec","patterns":[{"include":"#union-variant"},{"include":"#token"},{"include":"#directive"},{"include":"#decorator"},{"include":"#expression"},{"include":"#punctuation-comma"}]},"union-statement":{"begin":"\\\\b(union)\\\\b\\\\s+(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)","beginCaptures":{"1":{"name":"keyword.other.tsp"},"2":{"name":"entity.name.type.tsp"}},"end":"(?<=})|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.union-statement.typespec","patterns":[{"include":"#token"},{"include":"#union-body"}]},"union-variant":{"begin":"(\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b|`(?:[^\\\\\\\\`]|\\\\\\\\.)*`)\\\\s*(:)","beginCaptures":{"1":{"name":"variable.name.tsp"},"2":{"name":"keyword.operator.type.annotation.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.union-variant.typespec","patterns":[{"include":"#token"},{"include":"#expression"}]},"using-statement":{"begin":"\\\\b(using)\\\\b","beginCaptures":{"1":{"name":"keyword.other.tsp"}},"end":"(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.using-statement.typespec","patterns":[{"include":"#token"},{"include":"#identifier-expression"},{"include":"#punctuation-accessor"}]},"valueof":{"begin":"\\\\b(valueof)","beginCaptures":{"1":{"name":"keyword.other.tsp"}},"end":"(?=>)|(?=[,;@]|#[a-z]|[)}]|\\\\bextern\\\\b|\\\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\\\b)","name":"meta.valueof.typespec","patterns":[{"include":"#expression"}]}},"scopeName":"source.tsp","aliases":["tsp"]}')),n=[e];exports.default=n;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=Object.freeze(JSON.parse('{"displayName":"Typst","name":"typst","patterns":[{"include":"#markup"}],"repository":{"arguments":{"patterns":[{"match":"\\\\b[_[:alpha:]][-_[:alnum:]]*(?=:)","name":"variable.parameter.typst"},{"include":"#code"}]},"code":{"patterns":[{"include":"#common"},{"begin":"\\\\{","captures":{"0":{"name":"punctuation.definition.block.code.typst"}},"end":"}","name":"meta.block.code.typst","patterns":[{"include":"#code"}]},{"begin":"\\\\[","captures":{"0":{"name":"punctuation.definition.block.content.typst"}},"end":"]","name":"meta.block.content.typst","patterns":[{"include":"#markup"}]},{"begin":"//","beginCaptures":{"0":{"name":"punctuation.definition.comment.typst"}},"end":"\\\\n","name":"comment.line.double-slash.typst"},{"match":":","name":"punctuation.separator.colon.typst"},{"match":",","name":"punctuation.separator.comma.typst"},{"match":"=>|\\\\.\\\\.","name":"keyword.operator.typst"},{"match":"==|!=|<=?|>=?","name":"keyword.operator.relational.typst"},{"match":"(?:[-*+]|/?)=","name":"keyword.operator.assignment.typst"},{"match":"[*+/]|(?<![_[:alpha:]][-_[:alnum:]]*)-(?![:almnu]_-]*[_[:alpha:]])","name":"keyword.operator.arithmetic.typst"},{"match":"\\\\b(and|or|not)\\\\b","name":"keyword.operator.word.typst"},{"match":"\\\\b(let|as|in|set|show)\\\\b","name":"keyword.other.typst"},{"match":"\\\\b(if|else)\\\\b","name":"keyword.control.conditional.typst"},{"match":"\\\\b(for|while|break|continue)\\\\b","name":"keyword.control.loop.typst"},{"match":"\\\\b(import|include|export)\\\\b","name":"keyword.control.import.typst"},{"match":"\\\\b(return)\\\\b","name":"keyword.control.flow.typst"},{"include":"#constants"},{"match":"\\\\b[_[:alpha:]][-_[:alnum:]]*!?(?=[(\\\\[])","name":"entity.name.function.typst"},{"match":"(?<=\\\\bshow\\\\s*)\\\\b[_[:alpha:]][-_[:alnum:]]*(?=\\\\s*[.:])","name":"entity.name.function.typst"},{"begin":"(?<=\\\\b[_[:alpha:]][-_[:alnum:]]*!?)\\\\(","captures":{"0":{"name":"punctuation.definition.group.typst"}},"end":"\\\\)","patterns":[{"include":"#arguments"}]},{"match":"\\\\b[_[:alpha:]][-_[:alnum:]]*\\\\b","name":"variable.other.typst"},{"begin":"\\\\(","captures":{"0":{"name":"punctuation.definition.group.typst"}},"end":"\\\\)|(?=;)","name":"meta.group.typst","patterns":[{"include":"#code"}]}]},"comments":{"patterns":[{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.typst"}},"end":"\\\\*/","name":"comment.block.typst","patterns":[{"include":"#comments"}]},{"begin":"(?<!:)//","beginCaptures":{"0":{"name":"punctuation.definition.comment.typst"}},"end":"\\\\n","name":"comment.line.double-slash.typst","patterns":[{"include":"#comments"}]}]},"common":{"patterns":[{"include":"#comments"}]},"constants":{"patterns":[{"match":"\\\\bnone\\\\b","name":"constant.language.none.typst"},{"match":"\\\\bauto\\\\b","name":"constant.language.auto.typst"},{"match":"\\\\b(true|false)\\\\b","name":"constant.language.boolean.typst"},{"match":"\\\\b(\\\\d*)?\\\\.?\\\\d+([Ee][-+]?\\\\d+)?(mm|pt|cm|in|em)\\\\b","name":"constant.numeric.length.typst"},{"match":"\\\\b(\\\\d*)?\\\\.?\\\\d+([Ee][-+]?\\\\d+)?(rad|deg)\\\\b","name":"constant.numeric.angle.typst"},{"match":"\\\\b(\\\\d*)?\\\\.?\\\\d+([Ee][-+]?\\\\d+)?%","name":"constant.numeric.percentage.typst"},{"match":"\\\\b(\\\\d*)?\\\\.?\\\\d+([Ee][-+]?\\\\d+)?fr","name":"constant.numeric.fr.typst"},{"match":"\\\\b\\\\d+\\\\b","name":"constant.numeric.integer.typst"},{"match":"\\\\b(\\\\d*)?\\\\.?\\\\d+([Ee][-+]?\\\\d+)?\\\\b","name":"constant.numeric.float.typst"},{"begin":"\\"","captures":{"0":{"name":"punctuation.definition.string.typst"}},"end":"\\"","name":"string.quoted.double.typst","patterns":[{"match":"\\\\\\\\([\\"\\\\\\\\nrt]|u\\\\{?[0-9A-Za-z]*}?)","name":"constant.character.escape.string.typst"}]},{"begin":"\\\\$","captures":{"0":{"name":"punctuation.definition.string.math.typst"}},"end":"\\\\$","name":"string.other.math.typst"}]},"markup":{"patterns":[{"include":"#common"},{"match":"\\\\\\\\([]#-/=\\\\[\\\\\\\\_`{}~]|u\\\\{[0-9A-Za-z]*}?)","name":"constant.character.escape.content.typst"},{"match":"\\\\\\\\","name":"punctuation.definition.linebreak.typst"},{"match":"~","name":"punctuation.definition.nonbreaking-space.typst"},{"match":"-\\\\?","name":"punctuation.definition.shy.typst"},{"match":"---","name":"punctuation.definition.em-dash.typst"},{"match":"--","name":"punctuation.definition.en-dash.typst"},{"match":"\\\\.\\\\.\\\\.","name":"punctuation.definition.ellipsis.typst"},{"match":":([0-9A-Za-z]+:)+","name":"constant.symbol.typst"},{"begin":"(^\\\\*|\\\\*$|((?<=[_\\\\W])\\\\*)|(\\\\*(?=[_\\\\W])))","captures":{"0":{"name":"punctuation.definition.bold.typst"}},"end":"(^\\\\*|\\\\*$|((?<=[_\\\\W])\\\\*)|(\\\\*(?=[_\\\\W])))|\\\\n|(?=])","name":"markup.bold.typst","patterns":[{"include":"#markup"}]},{"begin":"(^_|_$|((?<=[_\\\\W])_)|(_(?=[_\\\\W])))","captures":{"0":{"name":"punctuation.definition.italic.typst"}},"end":"(^_|_$|((?<=[_\\\\W])_)|(_(?=[_\\\\W])))|\\\\n|(?=])","name":"markup.italic.typst","patterns":[{"include":"#markup"}]},{"match":"https?://[#%\\\\&\'+,.-9;=?A-Za-z~]*","name":"markup.underline.link.typst"},{"begin":"`{3,}","captures":{"0":{"name":"punctuation.definition.raw.typst"}},"end":"\\\\x00","name":"markup.raw.block.typst"},{"begin":"`","captures":{"0":{"name":"punctuation.definition.raw.typst"}},"end":"`","name":"markup.raw.inline.typst"},{"begin":"\\\\$","captures":{"0":{"name":"punctuation.definition.string.math.typst"}},"end":"\\\\$","name":"string.other.math.typst"},{"begin":"^\\\\s*=+\\\\s+","beginCaptures":{"0":{"name":"punctuation.definition.heading.typst"}},"contentName":"entity.name.section.typst","end":"\\\\n|(?=<)","name":"markup.heading.typst","patterns":[{"include":"#markup"}]},{"match":"^\\\\s*-\\\\s+","name":"punctuation.definition.list.unnumbered.typst"},{"match":"^\\\\s*([0-9]*\\\\.|\\\\+)\\\\s+","name":"punctuation.definition.list.numbered.typst"},{"captures":{"1":{"name":"punctuation.definition.list.description.typst"},"2":{"name":"markup.list.term.typst"}},"match":"^\\\\s*(/)\\\\s+([^:]*:)"},{"captures":{"1":{"name":"punctuation.definition.label.typst"}},"match":"<[_[:alpha:]][-_[:alnum:]]*>","name":"entity.other.label.typst"},{"captures":{"1":{"name":"punctuation.definition.reference.typst"}},"match":"(@)[_[:alpha:]][-_[:alnum:]]*","name":"entity.other.reference.typst"},{"begin":"(#)(let|set|show)\\\\b","beginCaptures":{"0":{"name":"keyword.other.typst"},"1":{"name":"punctuation.definition.keyword.typst"}},"end":"\\\\n|(;)|(?=])","endCaptures":{"1":{"name":"punctuation.terminator.statement.typst"}},"patterns":[{"include":"#code"}]},{"captures":{"1":{"name":"punctuation.definition.keyword.typst"}},"match":"(#)(as|in)\\\\b","name":"keyword.other.typst"},{"begin":"((#)if|(?<=([]}])\\\\s*)else)\\\\b","beginCaptures":{"0":{"name":"keyword.control.conditional.typst"},"2":{"name":"punctuation.definition.keyword.typst"}},"end":"\\\\n|(?=])|(?<=[]}])","patterns":[{"include":"#code"}]},{"begin":"(#)(for|while)\\\\b","beginCaptures":{"0":{"name":"keyword.control.loop.typst"},"1":{"name":"punctuation.definition.keyword.typst"}},"end":"\\\\n|(?=])|(?<=[]}])","patterns":[{"include":"#code"}]},{"captures":{"1":{"name":"punctuation.definition.keyword.typst"}},"match":"(#)(break|continue)\\\\b","name":"keyword.control.loop.typst"},{"begin":"(#)(import|include|export)\\\\b","beginCaptures":{"0":{"name":"keyword.control.import.typst"},"1":{"name":"punctuation.definition.keyword.typst"}},"end":"\\\\n|(;)|(?=])","endCaptures":{"1":{"name":"punctuation.terminator.statement.typst"}},"patterns":[{"include":"#code"}]},{"captures":{"1":{"name":"punctuation.definition.keyword.typst"}},"match":"(#)(return)\\\\b","name":"keyword.control.flow.typst"},{"captures":{"2":{"name":"punctuation.definition.function.typst"}},"match":"((#)[_[:alpha:]][-_[:alnum:]]*!?)(?=[(\\\\[])","name":"entity.name.function.typst"},{"begin":"(?<=#[_[:alpha:]][-_[:alnum:]]*!?)\\\\(","captures":{"0":{"name":"punctuation.definition.group.typst"}},"end":"\\\\)","patterns":[{"include":"#arguments"}]},{"captures":{"1":{"name":"punctuation.definition.variable.typst"}},"match":"(#)[_[:alpha:]][-._[:alnum:]]*","name":"entity.other.interpolated.typst"},{"begin":"#","end":"\\\\s","name":"meta.block.content.typst","patterns":[{"include":"#code"}]}]}},"scopeName":"source.typst","aliases":["typ"]}')),n=[t];exports.default=n;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const t = Object.freeze(JSON.parse('{"displayName":"Typst","name":"typst","patterns":[{"include":"#markup"}],"repository":{"arguments":{"patterns":[{"match":"\\\\b[_[:alpha:]][-_[:alnum:]]*(?=:)","name":"variable.parameter.typst"},{"include":"#code"}]},"code":{"patterns":[{"include":"#common"},{"begin":"\\\\{","captures":{"0":{"name":"punctuation.definition.block.code.typst"}},"end":"}","name":"meta.block.code.typst","patterns":[{"include":"#code"}]},{"begin":"\\\\[","captures":{"0":{"name":"punctuation.definition.block.content.typst"}},"end":"]","name":"meta.block.content.typst","patterns":[{"include":"#markup"}]},{"begin":"//","beginCaptures":{"0":{"name":"punctuation.definition.comment.typst"}},"end":"\\\\n","name":"comment.line.double-slash.typst"},{"match":":","name":"punctuation.separator.colon.typst"},{"match":",","name":"punctuation.separator.comma.typst"},{"match":"=>|\\\\.\\\\.","name":"keyword.operator.typst"},{"match":"==|!=|<=?|>=?","name":"keyword.operator.relational.typst"},{"match":"(?:[-*+]|/?)=","name":"keyword.operator.assignment.typst"},{"match":"[*+/]|(?<![_[:alpha:]][-_[:alnum:]]*)-(?![:almnu]_-]*[_[:alpha:]])","name":"keyword.operator.arithmetic.typst"},{"match":"\\\\b(and|or|not)\\\\b","name":"keyword.operator.word.typst"},{"match":"\\\\b(let|as|in|set|show)\\\\b","name":"keyword.other.typst"},{"match":"\\\\b(if|else)\\\\b","name":"keyword.control.conditional.typst"},{"match":"\\\\b(for|while|break|continue)\\\\b","name":"keyword.control.loop.typst"},{"match":"\\\\b(import|include|export)\\\\b","name":"keyword.control.import.typst"},{"match":"\\\\b(return)\\\\b","name":"keyword.control.flow.typst"},{"include":"#constants"},{"match":"\\\\b[_[:alpha:]][-_[:alnum:]]*!?(?=[(\\\\[])","name":"entity.name.function.typst"},{"match":"(?<=\\\\bshow\\\\s*)\\\\b[_[:alpha:]][-_[:alnum:]]*(?=\\\\s*[.:])","name":"entity.name.function.typst"},{"begin":"(?<=\\\\b[_[:alpha:]][-_[:alnum:]]*!?)\\\\(","captures":{"0":{"name":"punctuation.definition.group.typst"}},"end":"\\\\)","patterns":[{"include":"#arguments"}]},{"match":"\\\\b[_[:alpha:]][-_[:alnum:]]*\\\\b","name":"variable.other.typst"},{"begin":"\\\\(","captures":{"0":{"name":"punctuation.definition.group.typst"}},"end":"\\\\)|(?=;)","name":"meta.group.typst","patterns":[{"include":"#code"}]}]},"comments":{"patterns":[{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.typst"}},"end":"\\\\*/","name":"comment.block.typst","patterns":[{"include":"#comments"}]},{"begin":"(?<!:)//","beginCaptures":{"0":{"name":"punctuation.definition.comment.typst"}},"end":"\\\\n","name":"comment.line.double-slash.typst","patterns":[{"include":"#comments"}]}]},"common":{"patterns":[{"include":"#comments"}]},"constants":{"patterns":[{"match":"\\\\bnone\\\\b","name":"constant.language.none.typst"},{"match":"\\\\bauto\\\\b","name":"constant.language.auto.typst"},{"match":"\\\\b(true|false)\\\\b","name":"constant.language.boolean.typst"},{"match":"\\\\b(\\\\d*)?\\\\.?\\\\d+([Ee][-+]?\\\\d+)?(mm|pt|cm|in|em)\\\\b","name":"constant.numeric.length.typst"},{"match":"\\\\b(\\\\d*)?\\\\.?\\\\d+([Ee][-+]?\\\\d+)?(rad|deg)\\\\b","name":"constant.numeric.angle.typst"},{"match":"\\\\b(\\\\d*)?\\\\.?\\\\d+([Ee][-+]?\\\\d+)?%","name":"constant.numeric.percentage.typst"},{"match":"\\\\b(\\\\d*)?\\\\.?\\\\d+([Ee][-+]?\\\\d+)?fr","name":"constant.numeric.fr.typst"},{"match":"\\\\b\\\\d+\\\\b","name":"constant.numeric.integer.typst"},{"match":"\\\\b(\\\\d*)?\\\\.?\\\\d+([Ee][-+]?\\\\d+)?\\\\b","name":"constant.numeric.float.typst"},{"begin":"\\"","captures":{"0":{"name":"punctuation.definition.string.typst"}},"end":"\\"","name":"string.quoted.double.typst","patterns":[{"match":"\\\\\\\\([\\"\\\\\\\\nrt]|u\\\\{?[0-9A-Za-z]*}?)","name":"constant.character.escape.string.typst"}]},{"begin":"\\\\$","captures":{"0":{"name":"punctuation.definition.string.math.typst"}},"end":"\\\\$","name":"string.other.math.typst"}]},"markup":{"patterns":[{"include":"#common"},{"match":"\\\\\\\\([]#-/=\\\\[\\\\\\\\_`{}~]|u\\\\{[0-9A-Za-z]*}?)","name":"constant.character.escape.content.typst"},{"match":"\\\\\\\\","name":"punctuation.definition.linebreak.typst"},{"match":"~","name":"punctuation.definition.nonbreaking-space.typst"},{"match":"-\\\\?","name":"punctuation.definition.shy.typst"},{"match":"---","name":"punctuation.definition.em-dash.typst"},{"match":"--","name":"punctuation.definition.en-dash.typst"},{"match":"\\\\.\\\\.\\\\.","name":"punctuation.definition.ellipsis.typst"},{"match":":([0-9A-Za-z]+:)+","name":"constant.symbol.typst"},{"begin":"(^\\\\*|\\\\*$|((?<=[_\\\\W])\\\\*)|(\\\\*(?=[_\\\\W])))","captures":{"0":{"name":"punctuation.definition.bold.typst"}},"end":"(^\\\\*|\\\\*$|((?<=[_\\\\W])\\\\*)|(\\\\*(?=[_\\\\W])))|\\\\n|(?=])","name":"markup.bold.typst","patterns":[{"include":"#markup"}]},{"begin":"(^_|_$|((?<=[_\\\\W])_)|(_(?=[_\\\\W])))","captures":{"0":{"name":"punctuation.definition.italic.typst"}},"end":"(^_|_$|((?<=[_\\\\W])_)|(_(?=[_\\\\W])))|\\\\n|(?=])","name":"markup.italic.typst","patterns":[{"include":"#markup"}]},{"match":"https?://[#%\\\\&\'+,.-9;=?A-Za-z~]*","name":"markup.underline.link.typst"},{"begin":"`{3,}","captures":{"0":{"name":"punctuation.definition.raw.typst"}},"end":"\\\\x00","name":"markup.raw.block.typst"},{"begin":"`","captures":{"0":{"name":"punctuation.definition.raw.typst"}},"end":"`","name":"markup.raw.inline.typst"},{"begin":"\\\\$","captures":{"0":{"name":"punctuation.definition.string.math.typst"}},"end":"\\\\$","name":"string.other.math.typst"},{"begin":"^\\\\s*=+\\\\s+","beginCaptures":{"0":{"name":"punctuation.definition.heading.typst"}},"contentName":"entity.name.section.typst","end":"\\\\n|(?=<)","name":"markup.heading.typst","patterns":[{"include":"#markup"}]},{"match":"^\\\\s*-\\\\s+","name":"punctuation.definition.list.unnumbered.typst"},{"match":"^\\\\s*([0-9]*\\\\.|\\\\+)\\\\s+","name":"punctuation.definition.list.numbered.typst"},{"captures":{"1":{"name":"punctuation.definition.list.description.typst"},"2":{"name":"markup.list.term.typst"}},"match":"^\\\\s*(/)\\\\s+([^:]*:)"},{"captures":{"1":{"name":"punctuation.definition.label.typst"}},"match":"<[_[:alpha:]][-_[:alnum:]]*>","name":"entity.other.label.typst"},{"captures":{"1":{"name":"punctuation.definition.reference.typst"}},"match":"(@)[_[:alpha:]][-_[:alnum:]]*","name":"entity.other.reference.typst"},{"begin":"(#)(let|set|show)\\\\b","beginCaptures":{"0":{"name":"keyword.other.typst"},"1":{"name":"punctuation.definition.keyword.typst"}},"end":"\\\\n|(;)|(?=])","endCaptures":{"1":{"name":"punctuation.terminator.statement.typst"}},"patterns":[{"include":"#code"}]},{"captures":{"1":{"name":"punctuation.definition.keyword.typst"}},"match":"(#)(as|in)\\\\b","name":"keyword.other.typst"},{"begin":"((#)if|(?<=([]}])\\\\s*)else)\\\\b","beginCaptures":{"0":{"name":"keyword.control.conditional.typst"},"2":{"name":"punctuation.definition.keyword.typst"}},"end":"\\\\n|(?=])|(?<=[]}])","patterns":[{"include":"#code"}]},{"begin":"(#)(for|while)\\\\b","beginCaptures":{"0":{"name":"keyword.control.loop.typst"},"1":{"name":"punctuation.definition.keyword.typst"}},"end":"\\\\n|(?=])|(?<=[]}])","patterns":[{"include":"#code"}]},{"captures":{"1":{"name":"punctuation.definition.keyword.typst"}},"match":"(#)(break|continue)\\\\b","name":"keyword.control.loop.typst"},{"begin":"(#)(import|include|export)\\\\b","beginCaptures":{"0":{"name":"keyword.control.import.typst"},"1":{"name":"punctuation.definition.keyword.typst"}},"end":"\\\\n|(;)|(?=])","endCaptures":{"1":{"name":"punctuation.terminator.statement.typst"}},"patterns":[{"include":"#code"}]},{"captures":{"1":{"name":"punctuation.definition.keyword.typst"}},"match":"(#)(return)\\\\b","name":"keyword.control.flow.typst"},{"captures":{"2":{"name":"punctuation.definition.function.typst"}},"match":"((#)[_[:alpha:]][-_[:alnum:]]*!?)(?=[(\\\\[])","name":"entity.name.function.typst"},{"begin":"(?<=#[_[:alpha:]][-_[:alnum:]]*!?)\\\\(","captures":{"0":{"name":"punctuation.definition.group.typst"}},"end":"\\\\)","patterns":[{"include":"#arguments"}]},{"captures":{"1":{"name":"punctuation.definition.variable.typst"}},"match":"(#)[_[:alpha:]][-._[:alnum:]]*","name":"entity.other.interpolated.typst"},{"begin":"#","end":"\\\\s","name":"meta.block.content.typst","patterns":[{"include":"#code"}]}]}},"scopeName":"source.typst","aliases":["typ"]}')), n = [
|
|
2
|
+
t
|
|
3
|
+
];
|
|
4
|
+
export {
|
|
5
|
+
n as default
|
|
6
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Utilities for mapping cursor positions between DOM and markdown
|
|
3
|
+
*
|
|
4
|
+
* The challenge: user edits in a contentEditable showing rendered markdown,
|
|
5
|
+
* but we need to track cursor position in terms of the source markdown.
|
|
6
|
+
*
|
|
7
|
+
* Example:
|
|
8
|
+
* Markdown: "**hello** world"
|
|
9
|
+
* DOM: <strong>hello</strong> world
|
|
10
|
+
*
|
|
11
|
+
* Cursor after 'h' in DOM = markdown offset 3 (after "**h")
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Get cursor position as markdown offset from a contentEditable element
|
|
15
|
+
*/
|
|
16
|
+
export declare function getCursorMarkdownOffset(element: HTMLElement, markdown: string): number | null;
|
|
17
|
+
/**
|
|
18
|
+
* Set cursor position from markdown offset in a contentEditable element
|
|
19
|
+
*/
|
|
20
|
+
export declare function setCursorFromMarkdownOffset(element: HTMLElement, markdown: string, mdOffset: number): void;
|
|
21
|
+
/**
|
|
22
|
+
* Simple approach: get cursor offset as plain text character count
|
|
23
|
+
*/
|
|
24
|
+
export declare function getCursorTextOffset(element: HTMLElement): number | null;
|
|
25
|
+
/**
|
|
26
|
+
* Set cursor by plain text offset (counting visible characters only)
|
|
27
|
+
*/
|
|
28
|
+
export declare function setCursorTextOffset(element: HTMLElement, offset: number): void;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import type { Block } from '../types';
|
|
2
|
+
export type DiffType = 'added' | 'removed' | 'unchanged';
|
|
3
|
+
export interface DiffSegment {
|
|
4
|
+
text: string;
|
|
5
|
+
type: DiffType;
|
|
6
|
+
}
|
|
7
|
+
export interface MarkdownDiffSegment {
|
|
8
|
+
markdown: string;
|
|
9
|
+
type: DiffType;
|
|
10
|
+
}
|
|
11
|
+
export interface CodeDiffLine {
|
|
12
|
+
type: DiffType;
|
|
13
|
+
text: string;
|
|
14
|
+
/** Optional word-level diff segments for this line. */
|
|
15
|
+
inline?: DiffSegment[];
|
|
16
|
+
}
|
|
17
|
+
export interface CodeDiff {
|
|
18
|
+
language: string;
|
|
19
|
+
lines: CodeDiffLine[];
|
|
20
|
+
}
|
|
21
|
+
export type DiffReviewDecision = 'accept' | 'reject' | 'unset';
|
|
22
|
+
export type MarkdownDiffReviewItemType = DiffType | 'modified';
|
|
23
|
+
export type MarkdownDiffReviewItem = {
|
|
24
|
+
id: string;
|
|
25
|
+
type: 'unchanged';
|
|
26
|
+
blocks: Block[];
|
|
27
|
+
markdown: string;
|
|
28
|
+
} | {
|
|
29
|
+
id: string;
|
|
30
|
+
type: 'added';
|
|
31
|
+
blocks: Block[];
|
|
32
|
+
markdown: string;
|
|
33
|
+
} | {
|
|
34
|
+
id: string;
|
|
35
|
+
type: 'removed';
|
|
36
|
+
blocks: Block[];
|
|
37
|
+
markdown: string;
|
|
38
|
+
} | {
|
|
39
|
+
id: string;
|
|
40
|
+
type: 'modified';
|
|
41
|
+
beforeBlocks: Block[];
|
|
42
|
+
afterBlocks: Block[];
|
|
43
|
+
beforeMarkdown: string;
|
|
44
|
+
afterMarkdown: string;
|
|
45
|
+
/** Present when the modified blocks are code blocks. */
|
|
46
|
+
codeDiff?: CodeDiff;
|
|
47
|
+
};
|
|
48
|
+
export type MarkdownRenderDiffType = DiffType | 'modified';
|
|
49
|
+
export type MarkdownRenderDiffSegment = {
|
|
50
|
+
type: DiffType;
|
|
51
|
+
markdown: string;
|
|
52
|
+
} | {
|
|
53
|
+
type: 'modified';
|
|
54
|
+
codeDiff: CodeDiff;
|
|
55
|
+
};
|
|
56
|
+
export declare function computeMarkdownDiffReviewItems(originalMarkdown: string, modifiedMarkdown: string): MarkdownDiffReviewItem[];
|
|
57
|
+
export declare function applyMarkdownDiffReview(items: MarkdownDiffReviewItem[], decisions: Partial<Record<string, DiffReviewDecision>>, options?: {
|
|
58
|
+
defaultDecision?: Exclude<DiffReviewDecision, 'unset'>;
|
|
59
|
+
}): string;
|
|
60
|
+
/**
|
|
61
|
+
* Compute word-level diff between two strings using LCS algorithm.
|
|
62
|
+
* Returns segments marked as added (green), removed (red), or unchanged.
|
|
63
|
+
*/
|
|
64
|
+
export declare function computeDiff(original: string, modified: string): DiffSegment[];
|
|
65
|
+
export declare function computeMarkdownBlockDiff(originalMarkdown: string, modifiedMarkdown: string, options?: {
|
|
66
|
+
mergeAdjacent?: boolean;
|
|
67
|
+
}): MarkdownDiffSegment[];
|
|
68
|
+
/**
|
|
69
|
+
* Compute diff segments for rendering.
|
|
70
|
+
* - Non-code segments return markdown.
|
|
71
|
+
* - A removed+added code block pair is emitted as a single `modified` codeDiff.
|
|
72
|
+
*/
|
|
73
|
+
export declare function computeMarkdownRenderDiff(originalMarkdown: string, modifiedMarkdown: string): MarkdownRenderDiffSegment[];
|
|
74
|
+
export declare function computeCodeDiff(originalCode: string, modifiedCode: string): CodeDiffLine[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Apply markdown formatting to the current selection within a contentEditable element
|
|
3
|
+
*/
|
|
4
|
+
export declare function applyFormat(element: HTMLElement, type: 'bold' | 'italic' | 'code' | 'strikethrough' | 'link'): void;
|
|
5
|
+
/**
|
|
6
|
+
* Check if current selection has a specific format applied
|
|
7
|
+
*/
|
|
8
|
+
export declare function hasFormat(element: HTMLElement, type: 'bold' | 'italic' | 'code' | 'strikethrough' | 'link'): boolean;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Span } from '../types';
|
|
2
|
+
type BoundaryAffinity = 'insideMath' | 'afterMath';
|
|
3
|
+
export declare function domToSpans(element: HTMLElement): Span[];
|
|
4
|
+
export declare function getSelectionTextOffsets(element: HTMLElement): {
|
|
5
|
+
start: number;
|
|
6
|
+
end: number;
|
|
7
|
+
startAffinity?: BoundaryAffinity;
|
|
8
|
+
endAffinity?: BoundaryAffinity;
|
|
9
|
+
} | null;
|
|
10
|
+
export declare function setSelectionTextOffsets(element: HTMLElement, start: number, end: number, options?: {
|
|
11
|
+
startAffinity?: BoundaryAffinity;
|
|
12
|
+
endAffinity?: BoundaryAffinity;
|
|
13
|
+
}): void;
|
|
14
|
+
export declare function normalizeEditableHtml(element: HTMLElement): void;
|
|
15
|
+
/**
|
|
16
|
+
* Parse spans from DOM, then re-parse any plain text spans through markdown parser.
|
|
17
|
+
* This allows users to type markdown syntax like *italic* and have it convert.
|
|
18
|
+
*/
|
|
19
|
+
export declare function domToSpansWithMarkdown(element: HTMLElement): Span[];
|
|
20
|
+
export declare function enforceExclusiveNesting(element: HTMLElement): void;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { InlineStyle, Span } from '../types';
|
|
3
|
+
type EmphasisToggle = 'bold' | 'italic' | 'strikethrough';
|
|
4
|
+
export type FormatAction = EmphasisToggle | 'code' | 'link' | 'math';
|
|
5
|
+
export declare function mergeAdjacentSpans(spans: Span[]): Span[];
|
|
6
|
+
export declare function parseMarkdownToSpans(md: string): Span[];
|
|
7
|
+
export declare function spansToText(spans: Span[]): string;
|
|
8
|
+
export declare function toggleStyle(current: InlineStyle, toggle: EmphasisToggle): InlineStyle;
|
|
9
|
+
interface SpansToMarkdownOptions {
|
|
10
|
+
forParsing?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare function spansToMarkdown(spans: Span[], options?: SpansToMarkdownOptions): string;
|
|
13
|
+
export declare function renderSpans(spans: Span[]): React.ReactNode;
|
|
14
|
+
export declare function spansToHtml(spans: Span[], _isEditing: boolean): string;
|
|
15
|
+
export declare function applyStyleToRange(spans: Span[], start: number, end: number, action: FormatAction, options?: {
|
|
16
|
+
href?: string;
|
|
17
|
+
}): Span[];
|
|
18
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze(JSON.parse(`{"displayName":"V","fileTypes":[".v",".vh",".vsh"],"name":"v","patterns":[{"include":"#comments"},{"include":"#function-decl"},{"include":"#as-is"},{"include":"#attributes"},{"include":"#assignment"},{"include":"#module-decl"},{"include":"#import-decl"},{"include":"#hash-decl"},{"include":"#brackets"},{"include":"#builtin-fix"},{"include":"#escaped-fix"},{"include":"#operators"},{"include":"#function-limited-overload-decl"},{"include":"#function-extend-decl"},{"include":"#function-exist"},{"include":"#generic"},{"include":"#constants"},{"include":"#type"},{"include":"#enum"},{"include":"#interface"},{"include":"#struct"},{"include":"#keywords"},{"include":"#storage"},{"include":"#numbers"},{"include":"#strings"},{"include":"#types"},{"include":"#punctuations"},{"include":"#variable-assign"},{"include":"#function-decl"}],"repository":{"as-is":{"begin":"\\\\s+([ai]s)\\\\s+","beginCaptures":{"1":{"name":"keyword.$1.v"}},"end":"([.\\\\w]*)","endCaptures":{"1":{"name":"entity.name.alias.v"}}},"assignment":{"captures":{"1":{"patterns":[{"include":"#operators"}]}},"match":"\\\\s+([-%\\\\&*+/:^|]?=)\\\\s+","name":"meta.definition.variable.v"},"attributes":{"captures":{"1":{"name":"meta.function.attribute.v"},"2":{"name":"punctuation.definition.begin.bracket.square.v"},"3":{"name":"storage.modifier.attribute.v"},"4":{"name":"punctuation.definition.end.bracket.square.v"}},"match":"^\\\\s*((\\\\[)(deprecated|unsafe|console|heap|manualfree|typedef|live|inline|flag|ref_only|direct_array_access|callconv)(]))","name":"meta.definition.attribute.v"},"brackets":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.bracket.curly.begin.v"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.bracket.curly.end.v"}},"patterns":[{"include":"$self"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.bracket.round.begin.v"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.bracket.round.end.v"}},"patterns":[{"include":"$self"}]},{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.bracket.square.begin.v"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.bracket.square.end.v"}},"patterns":[{"include":"$self"}]}]},"builtin-fix":{"patterns":[{"patterns":[{"match":"(const)(?=\\\\s*\\\\()","name":"storage.modifier.v"},{"match":"\\\\b(fn|type|enum|struct|union|interface|map|assert|sizeof|typeof|__offsetof)\\\\b(?=\\\\s*\\\\()","name":"keyword.$1.v"}]},{"patterns":[{"match":"(\\\\$(?:if|else))(?=\\\\s*\\\\()","name":"keyword.control.v"},{"match":"\\\\b(as|in|is|or|break|continue|default|unsafe|match|if|else|for|go|spawn|goto|defer|return|shared|select|rlock|lock|atomic|asm)\\\\b(?=\\\\s*\\\\()","name":"keyword.control.v"}]},{"patterns":[{"captures":{"1":{"name":"storage.type.numeric.v"}},"match":"(?<!.)(i?(?:8|16|nt|64|128)|u?(?:16|32|64|128)|f?(?:32|64))(?=\\\\s*\\\\()","name":"meta.expr.numeric.cast.v"},{"captures":{"1":{"name":"storage.type.$1.v"}},"match":"(bool|byte|byteptr|charptr|voidptr|string|rune|size_t|[iu]size)(?=\\\\s*\\\\()","name":"meta.expr.bool.cast.v"}]}]},"comments":{"patterns":[{"begin":"/\\\\*","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.v"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.v"}},"name":"comment.block.documentation.v","patterns":[{"include":"#comments"}]},{"begin":"//","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.v"}},"end":"$","name":"comment.line.double-slash.v"}]},"constants":{"match":"\\\\b(true|false|none)\\\\b","name":"constant.language.v"},"enum":{"captures":{"1":{"name":"storage.modifier.$1.v"},"2":{"name":"storage.type.enum.v"},"3":{"name":"entity.name.enum.v"}},"match":"^\\\\s*(?:(pub)?\\\\s+)?(enum)\\\\s+(?:\\\\w+\\\\.)?(\\\\w*)","name":"meta.definition.enum.v"},"function-decl":{"captures":{"1":{"name":"storage.modifier.v"},"2":{"name":"keyword.fn.v"},"3":{"name":"entity.name.function.v"},"4":{"patterns":[{"include":"#generic"}]}},"match":"^(\\\\bpub\\\\b\\\\s+)?\\\\b(fn)\\\\b\\\\s+(?:\\\\([^)]+\\\\)\\\\s+)?(?:C\\\\.)?(\\\\w+)\\\\s*((?<=[+\\\\w\\\\s])(<)(\\\\w+)(>))?","name":"meta.definition.function.v"},"function-exist":{"captures":{"0":{"name":"meta.function.call.v"},"1":{"patterns":[{"include":"#illegal-name"},{"match":"\\\\w+","name":"entity.name.function.v"}]},"2":{"patterns":[{"include":"#generic"}]}},"match":"(\\\\w+)((?<=[+\\\\w\\\\s])(<)(\\\\w+)(>))?(?=\\\\s*\\\\()","name":"meta.support.function.v"},"function-extend-decl":{"captures":{"1":{"name":"storage.modifier.v"},"2":{"name":"keyword.fn.v"},"3":{"name":"punctuation.definition.bracket.round.begin.v"},"4":{"patterns":[{"include":"#brackets"},{"include":"#storage"},{"include":"#generic"},{"include":"#types"},{"include":"#punctuation"}]},"5":{"name":"punctuation.definition.bracket.round.end.v"},"6":{"patterns":[{"include":"#illegal-name"},{"match":"\\\\w+","name":"entity.name.function.v"}]},"7":{"patterns":[{"include":"#generic"}]}},"match":"^\\\\s*(pub)?\\\\s*(fn)\\\\s*(\\\\()([^)]*)(\\\\))\\\\s*(?:C\\\\.)?(\\\\w+)\\\\s*((?<=[+\\\\w\\\\s])(<)(\\\\w+)(>))?","name":"meta.definition.function.v"},"function-limited-overload-decl":{"captures":{"1":{"name":"storage.modifier.v"},"2":{"name":"keyword.fn.v"},"3":{"name":"punctuation.definition.bracket.round.begin.v"},"4":{"patterns":[{"include":"#brackets"},{"include":"#storage"},{"include":"#generic"},{"include":"#types"},{"include":"#punctuation"}]},"5":{"name":"punctuation.definition.bracket.round.end.v"},"6":{"patterns":[{"include":"#operators"}]},"7":{"name":"punctuation.definition.bracket.round.begin.v"},"8":{"patterns":[{"include":"#brackets"},{"include":"#storage"},{"include":"#generic"},{"include":"#types"},{"include":"#punctuation"}]},"9":{"name":"punctuation.definition.bracket.round.end.v"},"10":{"patterns":[{"include":"#illegal-name"},{"match":"\\\\w+","name":"entity.name.function.v"}]}},"match":"^\\\\s*(pub)?\\\\s*(fn)\\\\s*(\\\\()([^)]*)(\\\\))\\\\s*([-*+/])?\\\\s*(\\\\()([^)]*)(\\\\))\\\\s*(?:C\\\\.)?(\\\\w+)","name":"meta.definition.function.v"},"generic":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.bracket.angle.begin.v"},"2":{"patterns":[{"include":"#illegal-name"},{"match":"\\\\w+","name":"entity.name.generic.v"}]},"3":{"name":"punctuation.definition.bracket.angle.end.v"}},"match":"(?<=[+\\\\w\\\\s])(<)(\\\\w+)(>)","name":"meta.definition.generic.v"}]},"hash-decl":{"begin":"^\\\\s*(#)","end":"$","name":"markup.bold.v"},"illegal-name":{"match":"\\\\d\\\\w+","name":"invalid.illegal.v"},"import-decl":{"begin":"^\\\\s*(import)\\\\s+","beginCaptures":{"1":{"name":"keyword.import.v"}},"end":"([.\\\\w]+)","endCaptures":{"1":{"name":"entity.name.import.v"}},"name":"meta.import.v"},"interface":{"captures":{"1":{"name":"storage.modifier.$1.v"},"2":{"name":"keyword.interface.v"},"3":{"patterns":[{"include":"#illegal-name"},{"match":"\\\\w+","name":"entity.name.interface.v"}]}},"match":"^\\\\s*(?:(pub)?\\\\s+)?(interface)\\\\s+(\\\\w*)","name":"meta.definition.interface.v"},"keywords":{"patterns":[{"match":"(\\\\$(?:if|else))","name":"keyword.control.v"},{"match":"(?<!@)\\\\b(as|it|is|in|or|break|continue|default|unsafe|match|if|else|for|go|spawn|goto|defer|return|shared|select|rlock|lock|atomic|asm)\\\\b","name":"keyword.control.v"},{"match":"(?<!@)\\\\b(fn|type|typeof|enum|struct|interface|map|assert|sizeof|__offsetof)\\\\b","name":"keyword.$1.v"}]},"module-decl":{"begin":"^\\\\s*(module)\\\\s+","beginCaptures":{"1":{"name":"keyword.module.v"}},"end":"([.\\\\w]+)","endCaptures":{"1":{"name":"entity.name.module.v"}},"name":"meta.module.v"},"numbers":{"patterns":[{"match":"([0-9]+(_?))+(\\\\.)([0-9]+[Ee][-+]?[0-9]+)","name":"constant.numeric.exponential.v"},{"match":"([0-9]+(_?))+(\\\\.)([0-9]+)","name":"constant.numeric.float.v"},{"match":"0b(?:[01]+_?)+","name":"constant.numeric.binary.v"},{"match":"0o(?:[0-7]+_?)+","name":"constant.numeric.octal.v"},{"match":"0x(?:\\\\h+_?)+","name":"constant.numeric.hex.v"},{"match":"(?:[0-9]+_?)+","name":"constant.numeric.integer.v"}]},"operators":{"patterns":[{"match":"([-%*+/]|\\\\+\\\\+|--|>>|<<)","name":"keyword.operator.arithmetic.v"},{"match":"(==|!=|[<>]|>=|<=)","name":"keyword.operator.relation.v"},{"match":"((?::?|[-%\\\\&*+/^|~]|&&|\\\\|\\\\||>>|<<)=)","name":"keyword.operator.assignment.v"},{"match":"([\\\\&^|~]|<(?!<)|>(?!>))","name":"keyword.operator.bitwise.v"},{"match":"(&&|\\\\|\\\\||!)","name":"keyword.operator.logical.v"},{"match":"\\\\?","name":"keyword.operator.optional.v"}]},"punctuation":{"patterns":[{"match":"\\\\.","name":"punctuation.delimiter.period.dot.v"},{"match":",","name":"punctuation.delimiter.comma.v"},{"match":":","name":"punctuation.separator.key-value.colon.v"},{"match":";","name":"punctuation.definition.other.semicolon.v"},{"match":"\\\\?","name":"punctuation.definition.other.questionmark.v"},{"match":"#","name":"punctuation.hash.v"}]},"punctuations":{"patterns":[{"match":"\\\\.","name":"punctuation.accessor.v"},{"match":",","name":"punctuation.separator.comma.v"}]},"storage":{"match":"\\\\b(const|mut|pub)\\\\b","name":"storage.modifier.v"},"string-escaped-char":{"patterns":[{"match":"\\\\\\\\([0-7]{3}|[\\"$'\\\\\\\\abfnrtv]|x\\\\h{2}|u\\\\h{4}|U\\\\h{8})","name":"constant.character.escape.v"},{"match":"\\\\\\\\[^\\"$'0-7Uabfnrtuvx]","name":"invalid.illegal.unknown-escape.v"}]},"string-interpolation":{"captures":{"1":{"patterns":[{"match":"\\\\$\\\\d[.\\\\w]+","name":"invalid.illegal.v"},{"match":"\\\\$([.\\\\w]+|\\\\{.*?})","name":"variable.other.interpolated.v"}]}},"match":"(\\\\$([.\\\\w]+|\\\\{.*?}))","name":"meta.string.interpolation.v"},"string-placeholder":{"match":"%(\\\\[\\\\d+])?([- #+0]{0,2}((\\\\d+|\\\\*)?(\\\\.?(\\\\d+|\\\\*|(\\\\[\\\\d+])\\\\*?)?(\\\\[\\\\d+])?)?))?[%EFGTUXb-gopqstvx]","name":"constant.other.placeholder.v"},"strings":{"patterns":[{"begin":"\`","end":"\`","name":"string.quoted.rune.v","patterns":[{"include":"#string-escaped-char"},{"include":"#string-interpolation"},{"include":"#string-placeholder"}]},{"begin":"(r)'","beginCaptures":{"1":{"name":"storage.type.string.v"}},"end":"'","name":"string.quoted.raw.v","patterns":[{"include":"#string-interpolation"},{"include":"#string-placeholder"}]},{"begin":"(r)\\"","beginCaptures":{"1":{"name":"storage.type.string.v"}},"end":"\\"","name":"string.quoted.raw.v","patterns":[{"include":"#string-interpolation"},{"include":"#string-placeholder"}]},{"begin":"(c?)'","beginCaptures":{"1":{"name":"storage.type.string.v"}},"end":"'","name":"string.quoted.v","patterns":[{"include":"#string-escaped-char"},{"include":"#string-interpolation"},{"include":"#string-placeholder"}]},{"begin":"(c?)\\"","beginCaptures":{"1":{"name":"storage.type.string.v"}},"end":"\\"","name":"string.quoted.v","patterns":[{"include":"#string-escaped-char"},{"include":"#string-interpolation"},{"include":"#string-placeholder"}]}]},"struct":{"patterns":[{"begin":"^\\\\s*(?:(mut|pub(?:\\\\s+mut)?|__global)\\\\s+)?(struct|union)\\\\s+([.\\\\w]+)\\\\s*|(\\\\{)","beginCaptures":{"1":{"name":"storage.modifier.$1.v"},"2":{"name":"storage.type.struct.v"},"3":{"name":"entity.name.type.v"},"4":{"name":"punctuation.definition.bracket.curly.begin.v"}},"end":"\\\\s*|(})","endCaptures":{"1":{"name":"punctuation.definition.bracket.curly.end.v"}},"name":"meta.definition.struct.v","patterns":[{"include":"#struct-access-modifier"},{"captures":{"1":{"name":"variable.other.property.v"},"2":{"patterns":[{"include":"#numbers"},{"include":"#brackets"},{"include":"#types"},{"match":"\\\\w+","name":"storage.type.other.v"}]},"3":{"name":"keyword.operator.assignment.v"},"4":{"patterns":[{"include":"$self"}]}},"match":"\\\\b(\\\\w+)\\\\s+([]\\\\&*.\\\\[\\\\w]+)(?:\\\\s*(=)\\\\s*((?:.(?=$|//|/\\\\*))*+))?"},{"include":"#types"},{"include":"$self"}]},{"captures":{"1":{"name":"storage.modifier.$1.v"},"2":{"name":"storage.type.struct.v"},"3":{"name":"entity.name.struct.v"}},"match":"^\\\\s*(mut|pub(?:\\\\s+mut)?|__global)\\\\s+?(struct)\\\\s+(?:\\\\s+([.\\\\w]+))?","name":"meta.definition.struct.v"}]},"struct-access-modifier":{"captures":{"1":{"name":"storage.modifier.$1.v"},"2":{"name":"punctuation.separator.struct.key-value.v"}},"match":"(?<=\\\\s|^)(mut|pub(?:\\\\s+mut)?|__global)(:|\\\\b)"},"type":{"captures":{"1":{"name":"storage.modifier.$1.v"},"2":{"name":"storage.type.type.v"},"3":{"patterns":[{"include":"#illegal-name"},{"include":"#types"},{"match":"\\\\w+","name":"entity.name.type.v"}]},"4":{"patterns":[{"include":"#illegal-name"},{"include":"#types"},{"match":"\\\\w+","name":"entity.name.type.v"}]}},"match":"^\\\\s*(?:(pub)?\\\\s+)?(type)\\\\s+(\\\\w*)\\\\s+(?:\\\\w+\\\\.+)?(\\\\w*)","name":"meta.definition.type.v"},"types":{"patterns":[{"match":"(?<!\\\\.)\\\\b(i(8|16|nt|64|128)|u(8|16|32|64|128)|f(32|64))\\\\b","name":"storage.type.numeric.v"},{"match":"(?<!\\\\.)\\\\b(bool|byte|byteptr|charptr|voidptr|string|ustring|rune)\\\\b","name":"storage.type.$1.v"}]},"variable-assign":{"captures":{"0":{"patterns":[{"match":"[A-Z_a-z]\\\\w*","name":"variable.other.assignment.v"},{"include":"#punctuation"}]}},"match":"[A-Z_a-z]\\\\w*(?:,\\\\s*[A-Z_a-z]\\\\w*)*(?=\\\\s*:??=)"}},"scopeName":"source.v"}`)),n=[e];exports.default=n;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const e = Object.freeze(JSON.parse(`{"displayName":"V","fileTypes":[".v",".vh",".vsh"],"name":"v","patterns":[{"include":"#comments"},{"include":"#function-decl"},{"include":"#as-is"},{"include":"#attributes"},{"include":"#assignment"},{"include":"#module-decl"},{"include":"#import-decl"},{"include":"#hash-decl"},{"include":"#brackets"},{"include":"#builtin-fix"},{"include":"#escaped-fix"},{"include":"#operators"},{"include":"#function-limited-overload-decl"},{"include":"#function-extend-decl"},{"include":"#function-exist"},{"include":"#generic"},{"include":"#constants"},{"include":"#type"},{"include":"#enum"},{"include":"#interface"},{"include":"#struct"},{"include":"#keywords"},{"include":"#storage"},{"include":"#numbers"},{"include":"#strings"},{"include":"#types"},{"include":"#punctuations"},{"include":"#variable-assign"},{"include":"#function-decl"}],"repository":{"as-is":{"begin":"\\\\s+([ai]s)\\\\s+","beginCaptures":{"1":{"name":"keyword.$1.v"}},"end":"([.\\\\w]*)","endCaptures":{"1":{"name":"entity.name.alias.v"}}},"assignment":{"captures":{"1":{"patterns":[{"include":"#operators"}]}},"match":"\\\\s+([-%\\\\&*+/:^|]?=)\\\\s+","name":"meta.definition.variable.v"},"attributes":{"captures":{"1":{"name":"meta.function.attribute.v"},"2":{"name":"punctuation.definition.begin.bracket.square.v"},"3":{"name":"storage.modifier.attribute.v"},"4":{"name":"punctuation.definition.end.bracket.square.v"}},"match":"^\\\\s*((\\\\[)(deprecated|unsafe|console|heap|manualfree|typedef|live|inline|flag|ref_only|direct_array_access|callconv)(]))","name":"meta.definition.attribute.v"},"brackets":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.bracket.curly.begin.v"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.bracket.curly.end.v"}},"patterns":[{"include":"$self"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.bracket.round.begin.v"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.bracket.round.end.v"}},"patterns":[{"include":"$self"}]},{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.bracket.square.begin.v"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.bracket.square.end.v"}},"patterns":[{"include":"$self"}]}]},"builtin-fix":{"patterns":[{"patterns":[{"match":"(const)(?=\\\\s*\\\\()","name":"storage.modifier.v"},{"match":"\\\\b(fn|type|enum|struct|union|interface|map|assert|sizeof|typeof|__offsetof)\\\\b(?=\\\\s*\\\\()","name":"keyword.$1.v"}]},{"patterns":[{"match":"(\\\\$(?:if|else))(?=\\\\s*\\\\()","name":"keyword.control.v"},{"match":"\\\\b(as|in|is|or|break|continue|default|unsafe|match|if|else|for|go|spawn|goto|defer|return|shared|select|rlock|lock|atomic|asm)\\\\b(?=\\\\s*\\\\()","name":"keyword.control.v"}]},{"patterns":[{"captures":{"1":{"name":"storage.type.numeric.v"}},"match":"(?<!.)(i?(?:8|16|nt|64|128)|u?(?:16|32|64|128)|f?(?:32|64))(?=\\\\s*\\\\()","name":"meta.expr.numeric.cast.v"},{"captures":{"1":{"name":"storage.type.$1.v"}},"match":"(bool|byte|byteptr|charptr|voidptr|string|rune|size_t|[iu]size)(?=\\\\s*\\\\()","name":"meta.expr.bool.cast.v"}]}]},"comments":{"patterns":[{"begin":"/\\\\*","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.v"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.v"}},"name":"comment.block.documentation.v","patterns":[{"include":"#comments"}]},{"begin":"//","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.v"}},"end":"$","name":"comment.line.double-slash.v"}]},"constants":{"match":"\\\\b(true|false|none)\\\\b","name":"constant.language.v"},"enum":{"captures":{"1":{"name":"storage.modifier.$1.v"},"2":{"name":"storage.type.enum.v"},"3":{"name":"entity.name.enum.v"}},"match":"^\\\\s*(?:(pub)?\\\\s+)?(enum)\\\\s+(?:\\\\w+\\\\.)?(\\\\w*)","name":"meta.definition.enum.v"},"function-decl":{"captures":{"1":{"name":"storage.modifier.v"},"2":{"name":"keyword.fn.v"},"3":{"name":"entity.name.function.v"},"4":{"patterns":[{"include":"#generic"}]}},"match":"^(\\\\bpub\\\\b\\\\s+)?\\\\b(fn)\\\\b\\\\s+(?:\\\\([^)]+\\\\)\\\\s+)?(?:C\\\\.)?(\\\\w+)\\\\s*((?<=[+\\\\w\\\\s])(<)(\\\\w+)(>))?","name":"meta.definition.function.v"},"function-exist":{"captures":{"0":{"name":"meta.function.call.v"},"1":{"patterns":[{"include":"#illegal-name"},{"match":"\\\\w+","name":"entity.name.function.v"}]},"2":{"patterns":[{"include":"#generic"}]}},"match":"(\\\\w+)((?<=[+\\\\w\\\\s])(<)(\\\\w+)(>))?(?=\\\\s*\\\\()","name":"meta.support.function.v"},"function-extend-decl":{"captures":{"1":{"name":"storage.modifier.v"},"2":{"name":"keyword.fn.v"},"3":{"name":"punctuation.definition.bracket.round.begin.v"},"4":{"patterns":[{"include":"#brackets"},{"include":"#storage"},{"include":"#generic"},{"include":"#types"},{"include":"#punctuation"}]},"5":{"name":"punctuation.definition.bracket.round.end.v"},"6":{"patterns":[{"include":"#illegal-name"},{"match":"\\\\w+","name":"entity.name.function.v"}]},"7":{"patterns":[{"include":"#generic"}]}},"match":"^\\\\s*(pub)?\\\\s*(fn)\\\\s*(\\\\()([^)]*)(\\\\))\\\\s*(?:C\\\\.)?(\\\\w+)\\\\s*((?<=[+\\\\w\\\\s])(<)(\\\\w+)(>))?","name":"meta.definition.function.v"},"function-limited-overload-decl":{"captures":{"1":{"name":"storage.modifier.v"},"2":{"name":"keyword.fn.v"},"3":{"name":"punctuation.definition.bracket.round.begin.v"},"4":{"patterns":[{"include":"#brackets"},{"include":"#storage"},{"include":"#generic"},{"include":"#types"},{"include":"#punctuation"}]},"5":{"name":"punctuation.definition.bracket.round.end.v"},"6":{"patterns":[{"include":"#operators"}]},"7":{"name":"punctuation.definition.bracket.round.begin.v"},"8":{"patterns":[{"include":"#brackets"},{"include":"#storage"},{"include":"#generic"},{"include":"#types"},{"include":"#punctuation"}]},"9":{"name":"punctuation.definition.bracket.round.end.v"},"10":{"patterns":[{"include":"#illegal-name"},{"match":"\\\\w+","name":"entity.name.function.v"}]}},"match":"^\\\\s*(pub)?\\\\s*(fn)\\\\s*(\\\\()([^)]*)(\\\\))\\\\s*([-*+/])?\\\\s*(\\\\()([^)]*)(\\\\))\\\\s*(?:C\\\\.)?(\\\\w+)","name":"meta.definition.function.v"},"generic":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.bracket.angle.begin.v"},"2":{"patterns":[{"include":"#illegal-name"},{"match":"\\\\w+","name":"entity.name.generic.v"}]},"3":{"name":"punctuation.definition.bracket.angle.end.v"}},"match":"(?<=[+\\\\w\\\\s])(<)(\\\\w+)(>)","name":"meta.definition.generic.v"}]},"hash-decl":{"begin":"^\\\\s*(#)","end":"$","name":"markup.bold.v"},"illegal-name":{"match":"\\\\d\\\\w+","name":"invalid.illegal.v"},"import-decl":{"begin":"^\\\\s*(import)\\\\s+","beginCaptures":{"1":{"name":"keyword.import.v"}},"end":"([.\\\\w]+)","endCaptures":{"1":{"name":"entity.name.import.v"}},"name":"meta.import.v"},"interface":{"captures":{"1":{"name":"storage.modifier.$1.v"},"2":{"name":"keyword.interface.v"},"3":{"patterns":[{"include":"#illegal-name"},{"match":"\\\\w+","name":"entity.name.interface.v"}]}},"match":"^\\\\s*(?:(pub)?\\\\s+)?(interface)\\\\s+(\\\\w*)","name":"meta.definition.interface.v"},"keywords":{"patterns":[{"match":"(\\\\$(?:if|else))","name":"keyword.control.v"},{"match":"(?<!@)\\\\b(as|it|is|in|or|break|continue|default|unsafe|match|if|else|for|go|spawn|goto|defer|return|shared|select|rlock|lock|atomic|asm)\\\\b","name":"keyword.control.v"},{"match":"(?<!@)\\\\b(fn|type|typeof|enum|struct|interface|map|assert|sizeof|__offsetof)\\\\b","name":"keyword.$1.v"}]},"module-decl":{"begin":"^\\\\s*(module)\\\\s+","beginCaptures":{"1":{"name":"keyword.module.v"}},"end":"([.\\\\w]+)","endCaptures":{"1":{"name":"entity.name.module.v"}},"name":"meta.module.v"},"numbers":{"patterns":[{"match":"([0-9]+(_?))+(\\\\.)([0-9]+[Ee][-+]?[0-9]+)","name":"constant.numeric.exponential.v"},{"match":"([0-9]+(_?))+(\\\\.)([0-9]+)","name":"constant.numeric.float.v"},{"match":"0b(?:[01]+_?)+","name":"constant.numeric.binary.v"},{"match":"0o(?:[0-7]+_?)+","name":"constant.numeric.octal.v"},{"match":"0x(?:\\\\h+_?)+","name":"constant.numeric.hex.v"},{"match":"(?:[0-9]+_?)+","name":"constant.numeric.integer.v"}]},"operators":{"patterns":[{"match":"([-%*+/]|\\\\+\\\\+|--|>>|<<)","name":"keyword.operator.arithmetic.v"},{"match":"(==|!=|[<>]|>=|<=)","name":"keyword.operator.relation.v"},{"match":"((?::?|[-%\\\\&*+/^|~]|&&|\\\\|\\\\||>>|<<)=)","name":"keyword.operator.assignment.v"},{"match":"([\\\\&^|~]|<(?!<)|>(?!>))","name":"keyword.operator.bitwise.v"},{"match":"(&&|\\\\|\\\\||!)","name":"keyword.operator.logical.v"},{"match":"\\\\?","name":"keyword.operator.optional.v"}]},"punctuation":{"patterns":[{"match":"\\\\.","name":"punctuation.delimiter.period.dot.v"},{"match":",","name":"punctuation.delimiter.comma.v"},{"match":":","name":"punctuation.separator.key-value.colon.v"},{"match":";","name":"punctuation.definition.other.semicolon.v"},{"match":"\\\\?","name":"punctuation.definition.other.questionmark.v"},{"match":"#","name":"punctuation.hash.v"}]},"punctuations":{"patterns":[{"match":"\\\\.","name":"punctuation.accessor.v"},{"match":",","name":"punctuation.separator.comma.v"}]},"storage":{"match":"\\\\b(const|mut|pub)\\\\b","name":"storage.modifier.v"},"string-escaped-char":{"patterns":[{"match":"\\\\\\\\([0-7]{3}|[\\"$'\\\\\\\\abfnrtv]|x\\\\h{2}|u\\\\h{4}|U\\\\h{8})","name":"constant.character.escape.v"},{"match":"\\\\\\\\[^\\"$'0-7Uabfnrtuvx]","name":"invalid.illegal.unknown-escape.v"}]},"string-interpolation":{"captures":{"1":{"patterns":[{"match":"\\\\$\\\\d[.\\\\w]+","name":"invalid.illegal.v"},{"match":"\\\\$([.\\\\w]+|\\\\{.*?})","name":"variable.other.interpolated.v"}]}},"match":"(\\\\$([.\\\\w]+|\\\\{.*?}))","name":"meta.string.interpolation.v"},"string-placeholder":{"match":"%(\\\\[\\\\d+])?([- #+0]{0,2}((\\\\d+|\\\\*)?(\\\\.?(\\\\d+|\\\\*|(\\\\[\\\\d+])\\\\*?)?(\\\\[\\\\d+])?)?))?[%EFGTUXb-gopqstvx]","name":"constant.other.placeholder.v"},"strings":{"patterns":[{"begin":"\`","end":"\`","name":"string.quoted.rune.v","patterns":[{"include":"#string-escaped-char"},{"include":"#string-interpolation"},{"include":"#string-placeholder"}]},{"begin":"(r)'","beginCaptures":{"1":{"name":"storage.type.string.v"}},"end":"'","name":"string.quoted.raw.v","patterns":[{"include":"#string-interpolation"},{"include":"#string-placeholder"}]},{"begin":"(r)\\"","beginCaptures":{"1":{"name":"storage.type.string.v"}},"end":"\\"","name":"string.quoted.raw.v","patterns":[{"include":"#string-interpolation"},{"include":"#string-placeholder"}]},{"begin":"(c?)'","beginCaptures":{"1":{"name":"storage.type.string.v"}},"end":"'","name":"string.quoted.v","patterns":[{"include":"#string-escaped-char"},{"include":"#string-interpolation"},{"include":"#string-placeholder"}]},{"begin":"(c?)\\"","beginCaptures":{"1":{"name":"storage.type.string.v"}},"end":"\\"","name":"string.quoted.v","patterns":[{"include":"#string-escaped-char"},{"include":"#string-interpolation"},{"include":"#string-placeholder"}]}]},"struct":{"patterns":[{"begin":"^\\\\s*(?:(mut|pub(?:\\\\s+mut)?|__global)\\\\s+)?(struct|union)\\\\s+([.\\\\w]+)\\\\s*|(\\\\{)","beginCaptures":{"1":{"name":"storage.modifier.$1.v"},"2":{"name":"storage.type.struct.v"},"3":{"name":"entity.name.type.v"},"4":{"name":"punctuation.definition.bracket.curly.begin.v"}},"end":"\\\\s*|(})","endCaptures":{"1":{"name":"punctuation.definition.bracket.curly.end.v"}},"name":"meta.definition.struct.v","patterns":[{"include":"#struct-access-modifier"},{"captures":{"1":{"name":"variable.other.property.v"},"2":{"patterns":[{"include":"#numbers"},{"include":"#brackets"},{"include":"#types"},{"match":"\\\\w+","name":"storage.type.other.v"}]},"3":{"name":"keyword.operator.assignment.v"},"4":{"patterns":[{"include":"$self"}]}},"match":"\\\\b(\\\\w+)\\\\s+([]\\\\&*.\\\\[\\\\w]+)(?:\\\\s*(=)\\\\s*((?:.(?=$|//|/\\\\*))*+))?"},{"include":"#types"},{"include":"$self"}]},{"captures":{"1":{"name":"storage.modifier.$1.v"},"2":{"name":"storage.type.struct.v"},"3":{"name":"entity.name.struct.v"}},"match":"^\\\\s*(mut|pub(?:\\\\s+mut)?|__global)\\\\s+?(struct)\\\\s+(?:\\\\s+([.\\\\w]+))?","name":"meta.definition.struct.v"}]},"struct-access-modifier":{"captures":{"1":{"name":"storage.modifier.$1.v"},"2":{"name":"punctuation.separator.struct.key-value.v"}},"match":"(?<=\\\\s|^)(mut|pub(?:\\\\s+mut)?|__global)(:|\\\\b)"},"type":{"captures":{"1":{"name":"storage.modifier.$1.v"},"2":{"name":"storage.type.type.v"},"3":{"patterns":[{"include":"#illegal-name"},{"include":"#types"},{"match":"\\\\w+","name":"entity.name.type.v"}]},"4":{"patterns":[{"include":"#illegal-name"},{"include":"#types"},{"match":"\\\\w+","name":"entity.name.type.v"}]}},"match":"^\\\\s*(?:(pub)?\\\\s+)?(type)\\\\s+(\\\\w*)\\\\s+(?:\\\\w+\\\\.+)?(\\\\w*)","name":"meta.definition.type.v"},"types":{"patterns":[{"match":"(?<!\\\\.)\\\\b(i(8|16|nt|64|128)|u(8|16|32|64|128)|f(32|64))\\\\b","name":"storage.type.numeric.v"},{"match":"(?<!\\\\.)\\\\b(bool|byte|byteptr|charptr|voidptr|string|ustring|rune)\\\\b","name":"storage.type.$1.v"}]},"variable-assign":{"captures":{"0":{"patterns":[{"match":"[A-Z_a-z]\\\\w*","name":"variable.other.assignment.v"},{"include":"#punctuation"}]}},"match":"[A-Z_a-z]\\\\w*(?:,\\\\s*[A-Z_a-z]\\\\w*)*(?=\\\\s*:??=)"}},"scopeName":"source.v"}`)), n = [
|
|
2
|
+
e
|
|
3
|
+
];
|
|
4
|
+
export {
|
|
5
|
+
n as default
|
|
6
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=Object.freeze(JSON.parse(`{"displayName":"Vala","fileTypes":["vala","vapi","gs"],"name":"vala","patterns":[{"include":"#code"}],"repository":{"code":{"patterns":[{"include":"#comments"},{"include":"#constants"},{"include":"#strings"},{"include":"#keywords"},{"include":"#types"},{"include":"#functions"},{"include":"#variables"}]},"comments":{"patterns":[{"captures":{"0":{"name":"punctuation.definition.comment.vala"}},"match":"/\\\\*\\\\*/","name":"comment.block.empty.vala"},{"include":"text.html.javadoc"},{"include":"#comments-inline"}]},"comments-inline":{"patterns":[{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.vala"}},"end":"\\\\*/","name":"comment.block.vala"},{"captures":{"1":{"name":"comment.line.double-slash.vala"},"2":{"name":"punctuation.definition.comment.vala"}},"match":"\\\\s*((//).*$\\\\n?)"}]},"constants":{"patterns":[{"match":"\\\\b((0([Xx])\\\\h*)|(([0-9]+\\\\.?[0-9]*)|(\\\\.[0-9]+))(([Ee])([-+])?[0-9]+)?)([DFLUdflu]|UL|ul)?\\\\b","name":"constant.numeric.vala"},{"match":"\\\\b([A-Z][0-9A-Z_]+)\\\\b","name":"variable.other.constant.vala"}]},"functions":{"patterns":[{"match":"(\\\\w+)(?=\\\\s*(<[.\\\\s\\\\w]+>\\\\s*)?\\\\()","name":"entity.name.function.vala"}]},"keywords":{"patterns":[{"match":"(?<=^|[^.@\\\\w])(as|do|if|in|is|not|or|and|for|get|new|out|ref|set|try|var|base|case|else|enum|lock|null|this|true|void|weak|async|break|catch|class|const|false|owned|throw|using|while|with|yield|delete|extern|inline|params|public|return|sealed|signal|sizeof|static|struct|switch|throws|typeof|unlock|default|dynamic|ensures|finally|foreach|private|unowned|virtual|abstract|continue|delegate|internal|override|requires|volatile|construct|interface|namespace|protected|errordomain)\\\\b","name":"keyword.vala"},{"match":"(?<=^|[^.@\\\\w])(bool|double|float|unichar2??|char|uchar|int|uint|long|ulong|short|ushort|size_t|ssize_t|string|string16|string32|void|signal|int8|int16|int32|int64|uint8|uint16|uint32|uint64|va_list|time_t)\\\\b","name":"keyword.vala"},{"match":"(#(?:if|elif|else|endif))","name":"keyword.vala"}]},"strings":{"patterns":[{"begin":"\\"\\"\\"","end":"\\"\\"\\"","name":"string.quoted.triple.vala"},{"begin":"@\\"","end":"\\"","name":"string.quoted.interpolated.vala","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.vala"},{"match":"\\\\$\\\\w+","name":"constant.character.escape.vala"},{"match":"\\\\$\\\\(([^()]|\\\\(([^()]|\\\\([^)]*\\\\))*\\\\))*\\\\)","name":"constant.character.escape.vala"}]},{"begin":"\\"","end":"\\"","name":"string.quoted.double.vala","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.vala"}]},{"begin":"'","end":"'","name":"string.quoted.single.vala","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.vala"}]},{"match":"/((\\\\\\\\/)|([^/]))*/(?=\\\\s*[\\\\n),.;])","name":"string.regexp.vala"}]},"types":{"patterns":[{"match":"(?<=^|[^.@\\\\w])(bool|double|float|unichar2??|char|uchar|int|uint|long|ulong|short|ushort|size_t|ssize_t|string|string16|string32|void|signal|int8|int16|int32|int64|uint8|uint16|uint32|uint64|va_list|time_t)\\\\b","name":"storage.type.primitive.vala"},{"match":"\\\\b([A-Z]+\\\\w*)\\\\b","name":"entity.name.type.vala"}]},"variables":{"patterns":[{"match":"\\\\b([_a-z]+\\\\w*)\\\\b","name":"variable.other.vala"}]}},"scopeName":"source.vala"}`)),e=[a];exports.default=e;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const a = Object.freeze(JSON.parse(`{"displayName":"Vala","fileTypes":["vala","vapi","gs"],"name":"vala","patterns":[{"include":"#code"}],"repository":{"code":{"patterns":[{"include":"#comments"},{"include":"#constants"},{"include":"#strings"},{"include":"#keywords"},{"include":"#types"},{"include":"#functions"},{"include":"#variables"}]},"comments":{"patterns":[{"captures":{"0":{"name":"punctuation.definition.comment.vala"}},"match":"/\\\\*\\\\*/","name":"comment.block.empty.vala"},{"include":"text.html.javadoc"},{"include":"#comments-inline"}]},"comments-inline":{"patterns":[{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.vala"}},"end":"\\\\*/","name":"comment.block.vala"},{"captures":{"1":{"name":"comment.line.double-slash.vala"},"2":{"name":"punctuation.definition.comment.vala"}},"match":"\\\\s*((//).*$\\\\n?)"}]},"constants":{"patterns":[{"match":"\\\\b((0([Xx])\\\\h*)|(([0-9]+\\\\.?[0-9]*)|(\\\\.[0-9]+))(([Ee])([-+])?[0-9]+)?)([DFLUdflu]|UL|ul)?\\\\b","name":"constant.numeric.vala"},{"match":"\\\\b([A-Z][0-9A-Z_]+)\\\\b","name":"variable.other.constant.vala"}]},"functions":{"patterns":[{"match":"(\\\\w+)(?=\\\\s*(<[.\\\\s\\\\w]+>\\\\s*)?\\\\()","name":"entity.name.function.vala"}]},"keywords":{"patterns":[{"match":"(?<=^|[^.@\\\\w])(as|do|if|in|is|not|or|and|for|get|new|out|ref|set|try|var|base|case|else|enum|lock|null|this|true|void|weak|async|break|catch|class|const|false|owned|throw|using|while|with|yield|delete|extern|inline|params|public|return|sealed|signal|sizeof|static|struct|switch|throws|typeof|unlock|default|dynamic|ensures|finally|foreach|private|unowned|virtual|abstract|continue|delegate|internal|override|requires|volatile|construct|interface|namespace|protected|errordomain)\\\\b","name":"keyword.vala"},{"match":"(?<=^|[^.@\\\\w])(bool|double|float|unichar2??|char|uchar|int|uint|long|ulong|short|ushort|size_t|ssize_t|string|string16|string32|void|signal|int8|int16|int32|int64|uint8|uint16|uint32|uint64|va_list|time_t)\\\\b","name":"keyword.vala"},{"match":"(#(?:if|elif|else|endif))","name":"keyword.vala"}]},"strings":{"patterns":[{"begin":"\\"\\"\\"","end":"\\"\\"\\"","name":"string.quoted.triple.vala"},{"begin":"@\\"","end":"\\"","name":"string.quoted.interpolated.vala","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.vala"},{"match":"\\\\$\\\\w+","name":"constant.character.escape.vala"},{"match":"\\\\$\\\\(([^()]|\\\\(([^()]|\\\\([^)]*\\\\))*\\\\))*\\\\)","name":"constant.character.escape.vala"}]},{"begin":"\\"","end":"\\"","name":"string.quoted.double.vala","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.vala"}]},{"begin":"'","end":"'","name":"string.quoted.single.vala","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.vala"}]},{"match":"/((\\\\\\\\/)|([^/]))*/(?=\\\\s*[\\\\n),.;])","name":"string.regexp.vala"}]},"types":{"patterns":[{"match":"(?<=^|[^.@\\\\w])(bool|double|float|unichar2??|char|uchar|int|uint|long|ulong|short|ushort|size_t|ssize_t|string|string16|string32|void|signal|int8|int16|int32|int64|uint8|uint16|uint32|uint64|va_list|time_t)\\\\b","name":"storage.type.primitive.vala"},{"match":"\\\\b([A-Z]+\\\\w*)\\\\b","name":"entity.name.type.vala"}]},"variables":{"patterns":[{"match":"\\\\b([_a-z]+\\\\w*)\\\\b","name":"variable.other.vala"}]}},"scopeName":"source.vala"}`)), e = [
|
|
2
|
+
a
|
|
3
|
+
];
|
|
4
|
+
export {
|
|
5
|
+
e as default
|
|
6
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze(JSON.parse(`{"displayName":"Visual Basic","name":"vb","patterns":[{"match":"\\\\n","name":"meta.ending-space"},{"include":"#round-brackets"},{"begin":"^(?=\\\\t)","end":"(?=[^\\\\t])","name":"meta.leading-space","patterns":[{"captures":{"1":{"name":"meta.odd-tab.tabs"},"2":{"name":"meta.even-tab.tabs"}},"match":"(\\\\t)(\\\\t)?"}]},{"begin":"^(?= )","end":"(?=[^ ])","name":"meta.leading-space","patterns":[{"captures":{"1":{"name":"meta.odd-tab.spaces"},"2":{"name":"meta.even-tab.spaces"}},"match":"( )( )?"}]},{"captures":{"1":{"name":"storage.type.function.asp"},"2":{"name":"entity.name.function.asp"},"3":{"name":"punctuation.definition.parameters.asp"},"4":{"name":"variable.parameter.function.asp"},"5":{"name":"punctuation.definition.parameters.asp"}},"match":"^\\\\s*((?i:function|sub))\\\\s*([A-Z_a-z]\\\\w*)\\\\s*(\\\\()([^)]*)(\\\\)).*\\\\n?","name":"meta.function.asp"},{"begin":"(^[\\\\t ]+)?(?=')","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.asp"}},"end":"(?!\\\\G)","patterns":[{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.comment.asp"}},"end":"\\\\n","name":"comment.line.apostrophe.asp"}]},{"match":"(?i:\\\\b(If|Then|Else|ElseIf|Else If|End If|While|Wend|For|To|Each|Case|Select|End Select|Return|Continue|Do|Until|Loop|Next|With|Exit Do|Exit For|Exit Function|Exit Property|Exit Sub|IIf)\\\\b)","name":"keyword.control.asp"},{"match":"(?i:\\\\b(Mod|And|Not|Or|Xor|as)\\\\b)","name":"keyword.operator.asp"},{"captures":{"1":{"name":"storage.type.asp"},"2":{"name":"variable.other.bfeac.asp"},"3":{"name":"meta.separator.comma.asp"}},"match":"(?i:(dim)\\\\s*\\\\b([7A-Z_a-z][0-9A-Z_a-z]*?)\\\\b\\\\s*(,?))","name":"variable.other.dim.asp"},{"match":"(?i:\\\\s*\\\\b(Call|Class|Const|Dim|Redim|Function|Sub|Private Sub|Public Sub|End Sub|End Function|End Class|End Property|Public Property|Private Property|Set|Let|Get|New|Randomize|Option Explicit|On Error Resume Next|On Error GoTo)\\\\b\\\\s*)","name":"storage.type.asp"},{"match":"(?i:\\\\b(Private|Public|Default)\\\\b)","name":"storage.modifier.asp"},{"match":"(?i:\\\\s*\\\\b(Empty|False|Nothing|Null|True)\\\\b)","name":"constant.language.asp"},{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.asp"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.asp"}},"name":"string.quoted.double.asp","patterns":[{"match":"\\"\\"","name":"constant.character.escape.apostrophe.asp"}]},{"captures":{"1":{"name":"punctuation.definition.variable.asp"}},"match":"(\\\\$)[7A-Z_a-z][0-9A-Z_a-z]*?\\\\b\\\\s*","name":"variable.other.asp"},{"match":"(?i:\\\\b(Application|ObjectContext|Request|Response|Server|Session)\\\\b)","name":"support.class.asp"},{"match":"(?i:\\\\b(Contents|StaticObjects|ClientCertificate|Cookies|Form|QueryString|ServerVariables)\\\\b)","name":"support.class.collection.asp"},{"match":"(?i:\\\\b(TotalBytes|Buffer|CacheControl|Charset|ContentType|Expires|ExpiresAbsolute|IsClientConnected|PICS|Status|ScriptTimeout|CodePage|LCID|SessionID|Timeout)\\\\b)","name":"support.constant.asp"},{"match":"(?i:\\\\b(Lock|Unlock|SetAbort|SetComplete|BinaryRead|AddHeader|AppendToLog|BinaryWrite|Clear|End|Flush|Redirect|Write|CreateObject|HTMLEncode|MapPath|URLEncode|Abandon|Convert|Regex)\\\\b)","name":"support.function.asp"},{"match":"(?i:\\\\b(Application_OnEnd|Application_OnStart|OnTransactionAbort|OnTransactionCommit|Session_OnEnd|Session_OnStart)\\\\b)","name":"support.function.event.asp"},{"match":"(?i:(?<=as )\\\\b([7A-Z_a-z][0-9A-Z_a-z]*?)\\\\b)","name":"support.type.vb.asp"},{"match":"(?i:\\\\b(Array|Add|Asc|Atn|CBool|CByte|CCur|CDate|CDbl|Chr|CInt|CLng|Conversions|Cos|CreateObject|CSng|CStr|Date|DateAdd|DateDiff|DatePart|DateSerial|DateValue|Day|Derived|Math|Escape|Eval|Exists|Exp|Filter|FormatCurrency|FormatDateTime|FormatNumber|FormatPercent|GetLocale|GetObject|GetRef|Hex|Hour|InputBox|InStr|InStrRev|Int|Fix|IsArray|IsDate|IsEmpty|IsNull|IsNumeric|IsObject|Items??|Join|Keys|LBound|LCase|Left|Len|LoadPicture|Log|LTrim|RTrim|Trim|Maths|Mid|Minute|Month|MonthName|MsgBox|Now|Oct|Remove|RemoveAll|Replace|RGB|Right|Rnd|Round|ScriptEngine|ScriptEngineBuildVersion|ScriptEngineMajorVersion|ScriptEngineMinorVersion|Second|SetLocale|Sgn|Sin|Space|Split|Sqr|StrComp|String|StrReverse|Tan|Timer??|TimeSerial|TimeValue|TypeName|UBound|UCase|Unescape|VarType|Weekday|WeekdayName|Year)\\\\b)","name":"support.function.vb.asp"},{"match":"-?\\\\b((0([Xx])\\\\h*)|(([0-9]+\\\\.?[0-9]*)|(\\\\.[0-9]+))(([Ee])([-+])?[0-9]+)?)([Ll]|UL|ul|[FUfu])?\\\\b","name":"constant.numeric.asp"},{"match":"(?i:\\\\b(vbtrue|vbfalse|vbcr|vbcrlf|vbformfeed|vblf|vbnewline|vbnullchar|vbnullstring|int32|vbtab|vbverticaltab|vbbinarycompare|vbtextcomparevbsunday|vbmonday|vbtuesday|vbwednesday|vbthursday|vbfriday|vbsaturday|vbusesystemdayofweek|vbfirstjan1|vbfirstfourdays|vbfirstfullweek|vbgeneraldate|vblongdate|vbshortdate|vblongtime|vbshorttime|vbobjecterror|vbEmpty|vbNull|vbInteger|vbLong|vbSingle|vbDouble|vbCurrency|vbDate|vbString|vbObject|vbError|vbBoolean|vbVariant|vbDataObject|vbDecimal|vbByte|vbArray)\\\\b)","name":"support.type.vb.asp"},{"captures":{"1":{"name":"entity.name.function.asp"}},"match":"(?i:\\\\b([7A-Z_a-z][0-9A-Z_a-z]*?)\\\\b(?=\\\\(\\\\)?))","name":"support.function.asp"},{"match":"(?i:((?<=([-\\\\&(+,/<=>\\\\\\\\]))\\\\s*\\\\b([7A-Z_a-z][0-9A-Z_a-z]*?)\\\\b(?!([(.]))|\\\\b([7A-Z_a-z][0-9A-Z_a-z]*?)\\\\b(?=\\\\s*([-\\\\&()+/<=>\\\\\\\\]))))","name":"variable.other.asp"},{"match":"[!$%\\\\&*]|--?|\\\\+\\\\+|[+~]|===?|=|!==??|<=|>=|<<=|>>=|>>>=|<>|[!<>]|&&|\\\\|\\\\||\\\\?:|\\\\*=|/=|%=|\\\\+=|-=|&=|\\\\^=|\\\\b(in|instanceof|new|delete|typeof|void)\\\\b","name":"keyword.operator.js"}],"repository":{"round-brackets":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.round-brackets.begin.asp"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.round-brackets.end.asp"}},"name":"meta.round-brackets","patterns":[{"include":"source.asp.vb.net"}]}},"scopeName":"source.asp.vb.net","aliases":["cmd"]}`)),a=[e];exports.default=a;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const e = Object.freeze(JSON.parse(`{"displayName":"Visual Basic","name":"vb","patterns":[{"match":"\\\\n","name":"meta.ending-space"},{"include":"#round-brackets"},{"begin":"^(?=\\\\t)","end":"(?=[^\\\\t])","name":"meta.leading-space","patterns":[{"captures":{"1":{"name":"meta.odd-tab.tabs"},"2":{"name":"meta.even-tab.tabs"}},"match":"(\\\\t)(\\\\t)?"}]},{"begin":"^(?= )","end":"(?=[^ ])","name":"meta.leading-space","patterns":[{"captures":{"1":{"name":"meta.odd-tab.spaces"},"2":{"name":"meta.even-tab.spaces"}},"match":"( )( )?"}]},{"captures":{"1":{"name":"storage.type.function.asp"},"2":{"name":"entity.name.function.asp"},"3":{"name":"punctuation.definition.parameters.asp"},"4":{"name":"variable.parameter.function.asp"},"5":{"name":"punctuation.definition.parameters.asp"}},"match":"^\\\\s*((?i:function|sub))\\\\s*([A-Z_a-z]\\\\w*)\\\\s*(\\\\()([^)]*)(\\\\)).*\\\\n?","name":"meta.function.asp"},{"begin":"(^[\\\\t ]+)?(?=')","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.asp"}},"end":"(?!\\\\G)","patterns":[{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.comment.asp"}},"end":"\\\\n","name":"comment.line.apostrophe.asp"}]},{"match":"(?i:\\\\b(If|Then|Else|ElseIf|Else If|End If|While|Wend|For|To|Each|Case|Select|End Select|Return|Continue|Do|Until|Loop|Next|With|Exit Do|Exit For|Exit Function|Exit Property|Exit Sub|IIf)\\\\b)","name":"keyword.control.asp"},{"match":"(?i:\\\\b(Mod|And|Not|Or|Xor|as)\\\\b)","name":"keyword.operator.asp"},{"captures":{"1":{"name":"storage.type.asp"},"2":{"name":"variable.other.bfeac.asp"},"3":{"name":"meta.separator.comma.asp"}},"match":"(?i:(dim)\\\\s*\\\\b([7A-Z_a-z][0-9A-Z_a-z]*?)\\\\b\\\\s*(,?))","name":"variable.other.dim.asp"},{"match":"(?i:\\\\s*\\\\b(Call|Class|Const|Dim|Redim|Function|Sub|Private Sub|Public Sub|End Sub|End Function|End Class|End Property|Public Property|Private Property|Set|Let|Get|New|Randomize|Option Explicit|On Error Resume Next|On Error GoTo)\\\\b\\\\s*)","name":"storage.type.asp"},{"match":"(?i:\\\\b(Private|Public|Default)\\\\b)","name":"storage.modifier.asp"},{"match":"(?i:\\\\s*\\\\b(Empty|False|Nothing|Null|True)\\\\b)","name":"constant.language.asp"},{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.asp"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.asp"}},"name":"string.quoted.double.asp","patterns":[{"match":"\\"\\"","name":"constant.character.escape.apostrophe.asp"}]},{"captures":{"1":{"name":"punctuation.definition.variable.asp"}},"match":"(\\\\$)[7A-Z_a-z][0-9A-Z_a-z]*?\\\\b\\\\s*","name":"variable.other.asp"},{"match":"(?i:\\\\b(Application|ObjectContext|Request|Response|Server|Session)\\\\b)","name":"support.class.asp"},{"match":"(?i:\\\\b(Contents|StaticObjects|ClientCertificate|Cookies|Form|QueryString|ServerVariables)\\\\b)","name":"support.class.collection.asp"},{"match":"(?i:\\\\b(TotalBytes|Buffer|CacheControl|Charset|ContentType|Expires|ExpiresAbsolute|IsClientConnected|PICS|Status|ScriptTimeout|CodePage|LCID|SessionID|Timeout)\\\\b)","name":"support.constant.asp"},{"match":"(?i:\\\\b(Lock|Unlock|SetAbort|SetComplete|BinaryRead|AddHeader|AppendToLog|BinaryWrite|Clear|End|Flush|Redirect|Write|CreateObject|HTMLEncode|MapPath|URLEncode|Abandon|Convert|Regex)\\\\b)","name":"support.function.asp"},{"match":"(?i:\\\\b(Application_OnEnd|Application_OnStart|OnTransactionAbort|OnTransactionCommit|Session_OnEnd|Session_OnStart)\\\\b)","name":"support.function.event.asp"},{"match":"(?i:(?<=as )\\\\b([7A-Z_a-z][0-9A-Z_a-z]*?)\\\\b)","name":"support.type.vb.asp"},{"match":"(?i:\\\\b(Array|Add|Asc|Atn|CBool|CByte|CCur|CDate|CDbl|Chr|CInt|CLng|Conversions|Cos|CreateObject|CSng|CStr|Date|DateAdd|DateDiff|DatePart|DateSerial|DateValue|Day|Derived|Math|Escape|Eval|Exists|Exp|Filter|FormatCurrency|FormatDateTime|FormatNumber|FormatPercent|GetLocale|GetObject|GetRef|Hex|Hour|InputBox|InStr|InStrRev|Int|Fix|IsArray|IsDate|IsEmpty|IsNull|IsNumeric|IsObject|Items??|Join|Keys|LBound|LCase|Left|Len|LoadPicture|Log|LTrim|RTrim|Trim|Maths|Mid|Minute|Month|MonthName|MsgBox|Now|Oct|Remove|RemoveAll|Replace|RGB|Right|Rnd|Round|ScriptEngine|ScriptEngineBuildVersion|ScriptEngineMajorVersion|ScriptEngineMinorVersion|Second|SetLocale|Sgn|Sin|Space|Split|Sqr|StrComp|String|StrReverse|Tan|Timer??|TimeSerial|TimeValue|TypeName|UBound|UCase|Unescape|VarType|Weekday|WeekdayName|Year)\\\\b)","name":"support.function.vb.asp"},{"match":"-?\\\\b((0([Xx])\\\\h*)|(([0-9]+\\\\.?[0-9]*)|(\\\\.[0-9]+))(([Ee])([-+])?[0-9]+)?)([Ll]|UL|ul|[FUfu])?\\\\b","name":"constant.numeric.asp"},{"match":"(?i:\\\\b(vbtrue|vbfalse|vbcr|vbcrlf|vbformfeed|vblf|vbnewline|vbnullchar|vbnullstring|int32|vbtab|vbverticaltab|vbbinarycompare|vbtextcomparevbsunday|vbmonday|vbtuesday|vbwednesday|vbthursday|vbfriday|vbsaturday|vbusesystemdayofweek|vbfirstjan1|vbfirstfourdays|vbfirstfullweek|vbgeneraldate|vblongdate|vbshortdate|vblongtime|vbshorttime|vbobjecterror|vbEmpty|vbNull|vbInteger|vbLong|vbSingle|vbDouble|vbCurrency|vbDate|vbString|vbObject|vbError|vbBoolean|vbVariant|vbDataObject|vbDecimal|vbByte|vbArray)\\\\b)","name":"support.type.vb.asp"},{"captures":{"1":{"name":"entity.name.function.asp"}},"match":"(?i:\\\\b([7A-Z_a-z][0-9A-Z_a-z]*?)\\\\b(?=\\\\(\\\\)?))","name":"support.function.asp"},{"match":"(?i:((?<=([-\\\\&(+,/<=>\\\\\\\\]))\\\\s*\\\\b([7A-Z_a-z][0-9A-Z_a-z]*?)\\\\b(?!([(.]))|\\\\b([7A-Z_a-z][0-9A-Z_a-z]*?)\\\\b(?=\\\\s*([-\\\\&()+/<=>\\\\\\\\]))))","name":"variable.other.asp"},{"match":"[!$%\\\\&*]|--?|\\\\+\\\\+|[+~]|===?|=|!==??|<=|>=|<<=|>>=|>>>=|<>|[!<>]|&&|\\\\|\\\\||\\\\?:|\\\\*=|/=|%=|\\\\+=|-=|&=|\\\\^=|\\\\b(in|instanceof|new|delete|typeof|void)\\\\b","name":"keyword.operator.js"}],"repository":{"round-brackets":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.round-brackets.begin.asp"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.round-brackets.end.asp"}},"name":"meta.round-brackets","patterns":[{"include":"source.asp.vb.net"}]}},"scopeName":"source.asp.vb.net","aliases":["cmd"]}`)), a = [
|
|
2
|
+
e
|
|
3
|
+
];
|
|
4
|
+
export {
|
|
5
|
+
a as default
|
|
6
|
+
};
|