@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 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze(JSON.parse(`{"displayName":"Haxe","fileTypes":["hx","dump"],"name":"haxe","patterns":[{"include":"#all"}],"repository":{"abstract":{"begin":"(?=abstract\\\\s+[A-Z])","end":"(?<=})|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"name":"meta.abstract.hx","patterns":[{"include":"#abstract-name"},{"include":"#abstract-name-post"},{"include":"#abstract-block"}]},"abstract-block":{"begin":"(?<=\\\\{)","end":"(})","endCaptures":{"1":{"name":"punctuation.definition.block.end.hx"}},"name":"meta.block.hx","patterns":[{"include":"#method"},{"include":"#modifiers"},{"include":"#variable"},{"include":"#block"},{"include":"#block-contents"}]},"abstract-name":{"begin":"\\\\b(abstract)\\\\b","beginCaptures":{"1":{"name":"storage.type.class.hx"}},"end":"([A-Z_a-z]\\\\w*)","endCaptures":{"1":{"name":"entity.name.type.class.hx"}},"patterns":[{"include":"#global"}]},"abstract-name-post":{"begin":"(?<=\\\\w)","end":"([;{])","endCaptures":{"1":{"name":"punctuation.definition.block.begin.hx"}},"patterns":[{"include":"#global"},{"match":"\\\\b(from|to)\\\\b","name":"keyword.other.hx"},{"include":"#type"},{"match":"[()]","name":"punctuation.definition.other.hx"}]},"accessor-method":{"patterns":[{"match":"\\\\b([gs]et)_[A-Z_a-z]\\\\w*\\\\b","name":"entity.name.function.hx"}]},"all":{"patterns":[{"include":"#global"},{"include":"#package"},{"include":"#import"},{"include":"#using"},{"match":"\\\\b(final)\\\\b(?=\\\\s+(class|interface|extern|private)\\\\b)","name":"storage.modifier.hx"},{"include":"#abstract"},{"include":"#class"},{"include":"#enum"},{"include":"#interface"},{"include":"#typedef"},{"include":"#block"},{"include":"#block-contents"}]},"array":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.array.begin.hx"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.array.end.hx"}},"name":"meta.array.literal.hx","patterns":[{"include":"#block"},{"include":"#block-contents"}]},"arrow-function":{"begin":"(\\\\()(?=[^(]*?\\\\)\\\\s*->)","beginCaptures":{"1":{"name":"punctuation.definition.parameters.begin.hx"}},"end":"(\\\\))\\\\s*(->)","endCaptures":{"1":{"name":"punctuation.definition.parameters.end.hx"},"2":{"name":"storage.type.function.arrow.hx"}},"name":"meta.method.arrow.hx","patterns":[{"include":"#arrow-function-parameter"}]},"arrow-function-parameter":{"begin":"(?<=[(,])","end":"(?=[),])","patterns":[{"include":"#parameter-name"},{"include":"#arrow-function-parameter-type-hint"},{"include":"#parameter-assign"},{"include":"#punctuation-comma"},{"include":"#global"}]},"arrow-function-parameter-type-hint":{"begin":":","beginCaptures":{"0":{"name":"keyword.operator.type.annotation.hx"}},"end":"(?=[),=])","patterns":[{"include":"#type"}]},"block":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.begin.hx"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.end.hx"}},"patterns":[{"include":"#block"},{"include":"#block-contents"}]},"block-contents":{"patterns":[{"include":"#global"},{"include":"#regex"},{"include":"#array"},{"include":"#constants"},{"include":"#strings"},{"include":"#metadata"},{"include":"#method"},{"include":"#variable"},{"include":"#modifiers"},{"include":"#new-expr"},{"include":"#for-loop"},{"include":"#keywords"},{"include":"#arrow-function"},{"include":"#method-call"},{"include":"#enum-constructor-call"},{"include":"#punctuation-braces"},{"include":"#macro-reification"},{"include":"#operators"},{"include":"#operator-assignment"},{"include":"#punctuation-terminator"},{"include":"#punctuation-comma"},{"include":"#punctuation-accessor"},{"include":"#identifiers"}]},"class":{"begin":"(?=class)","end":"(?<=})|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"name":"meta.class.hx","patterns":[{"include":"#class-name"},{"include":"#class-name-post"},{"include":"#class-block"}]},"class-block":{"begin":"(?<=\\\\{)","end":"(})","endCaptures":{"1":{"name":"punctuation.definition.block.end.hx"}},"name":"meta.block.hx","patterns":[{"include":"#method"},{"include":"#modifiers"},{"include":"#variable"},{"include":"#block"},{"include":"#block-contents"}]},"class-name":{"begin":"\\\\b(class)\\\\b","beginCaptures":{"1":{"name":"storage.type.class.hx"}},"end":"([A-Z_a-z]\\\\w*)","endCaptures":{"1":{"name":"entity.name.type.class.hx"}},"name":"meta.class.identifier.hx","patterns":[{"include":"#global"}]},"class-name-post":{"begin":"(?<=\\\\w)","end":"([;{])","endCaptures":{"1":{"name":"punctuation.definition.block.begin.hx"}},"patterns":[{"include":"#modifiers-inheritance"},{"include":"#type"}]},"comments":{"patterns":[{"begin":"/\\\\*\\\\*(?!/)","beginCaptures":{"0":{"name":"punctuation.definition.comment.hx"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.hx"}},"name":"comment.block.documentation.hx","patterns":[{"include":"#javadoc-tags"}]},{"begin":"/\\\\*","beginCaptures":{"0":{"name":"punctuation.definition.comment.hx"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.hx"}},"name":"comment.block.hx","patterns":[{"include":"#javadoc-tags"}]},{"captures":{"1":{"name":"punctuation.definition.comment.hx"}},"match":"(//).*$\\\\n?","name":"comment.line.double-slash.hx"}]},"conditional-compilation":{"patterns":[{"captures":{"0":{"name":"punctuation.definition.tag"}},"match":"((#(if|elseif))[!\\\\s]+([A-Z_a-z][0-9A-Z_a-z]*(\\\\.[A-Z_a-z][0-9A-Z_a-z]*)*)(?=\\\\s|/\\\\*|//))"},{"begin":"((#(if|elseif))[!\\\\s]*)(?=\\\\()","beginCaptures":{"0":{"name":"punctuation.definition.tag"}},"end":"(?<=[\\\\n)])","endCaptures":{"0":{"name":"punctuation.definition.tag"}},"name":"punctuation.definition.tag","patterns":[{"include":"#conditional-compilation-parens"}]},{"match":"(#(end|else|error|line))","name":"punctuation.definition.tag"},{"match":"(#([0-9A-Z_a-z]*))\\\\s","name":"punctuation.definition.tag"}]},"conditional-compilation-parens":{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"#conditional-compilation-parens"}]},"constant-name":{"match":"\\\\b([A-Z_][0-9A-Z_]*)\\\\b","name":"variable.other.hx"},"constants":{"patterns":[{"match":"\\\\b(true|false|null)\\\\b","name":"constant.language.hx"},{"captures":{"0":{"name":"constant.numeric.hex.hx"},"1":{"name":"constant.numeric.suffix.hx"}},"match":"\\\\b0[Xx]\\\\h[_\\\\h]*([iu][0-9][0-9_]*)?\\\\b"},{"captures":{"0":{"name":"constant.numeric.bin.hx"},"1":{"name":"constant.numeric.suffix.hx"}},"match":"\\\\b0[Bb][01][01_]*([iu][0-9][0-9_]*)?\\\\b"},{"captures":{"0":{"name":"constant.numeric.decimal.hx"},"1":{"name":"meta.delimiter.decimal.period.hx"},"2":{"name":"constant.numeric.suffix.hx"},"3":{"name":"meta.delimiter.decimal.period.hx"},"4":{"name":"constant.numeric.suffix.hx"},"5":{"name":"meta.delimiter.decimal.period.hx"},"6":{"name":"constant.numeric.suffix.hx"},"7":{"name":"constant.numeric.suffix.hx"},"8":{"name":"meta.delimiter.decimal.period.hx"},"9":{"name":"constant.numeric.suffix.hx"},"10":{"name":"meta.delimiter.decimal.period.hx"},"11":{"name":"constant.numeric.suffix.hx"},"12":{"name":"meta.delimiter.decimal.period.hx"},"13":{"name":"constant.numeric.suffix.hx"},"14":{"name":"constant.numeric.suffix.hx"}},"match":"(?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9_]+[Ee][-+]?[0-9_]+([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9_]+([fiu][0-9][0-9_]*)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9_]+([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9_]+([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(?!\\\\.)(?:\\\\B|([fiu][0-9][0-9_]*)\\\\b)|\\\\B(\\\\.)[0-9][0-9_]*([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*([fiu][0-9][0-9_]*)?\\\\b)(?!\\\\$)"}]},"enum":{"begin":"(?=enum\\\\s+[A-Z])","end":"(?<=})|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"name":"meta.enum.hx","patterns":[{"include":"#enum-name"},{"include":"#enum-name-post"},{"include":"#enum-block"}]},"enum-block":{"begin":"(?<=\\\\{)","end":"(})","endCaptures":{"1":{"name":"punctuation.definition.block.end.hx"}},"name":"meta.block.hx","patterns":[{"include":"#global"},{"include":"#metadata"},{"include":"#parameters"},{"include":"#identifiers"}]},"enum-constructor-call":{"begin":"\\\\b(?<!\\\\.)((_*[a-z]\\\\w*\\\\.)*)(_*[A-Z]\\\\w*)(?:(\\\\.)(_*[A-Z]\\\\w*[a-z]\\\\w*))*\\\\s*(\\\\()","beginCaptures":{"1":{"name":"support.package.hx"},"3":{"name":"entity.name.type.hx"},"4":{"name":"support.package.hx"},"5":{"name":"entity.name.type.hx"},"6":{"name":"meta.brace.round.hx"}},"end":"(\\\\))","endCaptures":{"1":{"name":"meta.brace.round.hx"}},"patterns":[{"include":"#block"},{"include":"#block-contents"}]},"enum-name":{"begin":"\\\\b(enum)\\\\b","beginCaptures":{"1":{"name":"storage.type.class.hx"}},"end":"([A-Z_a-z]\\\\w*)","endCaptures":{"1":{"name":"entity.name.type.class.hx"}},"patterns":[{"include":"#global"}]},"enum-name-post":{"begin":"(?<=\\\\w)","end":"([;{])","endCaptures":{"1":{"name":"punctuation.definition.block.begin.hx"}},"patterns":[{"include":"#type"}]},"for-loop":{"begin":"\\\\b(for)\\\\b\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.control.flow-control.hx"},"2":{"name":"meta.brace.round.hx"}},"end":"(\\\\))","endCaptures":{"1":{"name":"meta.brace.round.hx"}},"patterns":[{"match":"\\\\b(in)\\\\b","name":"keyword.other.in.hx"},{"include":"#block"},{"include":"#block-contents"}]},"function-type":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.hx"}},"patterns":[{"include":"#function-type-parameter"}]},"function-type-parameter":{"begin":"(?<=[(,])","end":"(?=[),])","patterns":[{"include":"#global"},{"include":"#metadata"},{"include":"#operator-optional"},{"include":"#punctuation-comma"},{"include":"#function-type-parameter-name"},{"include":"#function-type-parameter-type-hint"},{"include":"#parameter-assign"},{"include":"#type"},{"include":"#global"}]},"function-type-parameter-name":{"captures":{"1":{"name":"variable.parameter.hx"}},"match":"([A-Z_a-z]\\\\w*)(?=\\\\s*:)"},"function-type-parameter-type-hint":{"begin":":","beginCaptures":{"0":{"name":"keyword.operator.type.annotation.hx"}},"end":"(?=[),=])","patterns":[{"include":"#type"}]},"global":{"patterns":[{"include":"#comments"},{"include":"#conditional-compilation"}]},"identifier-name":{"match":"\\\\b([A-Z_a-z]\\\\w*)\\\\b","name":"variable.other.hx"},"identifiers":{"patterns":[{"include":"#constant-name"},{"include":"#type-name"},{"include":"#identifier-name"}]},"import":{"begin":"import\\\\b","beginCaptures":{"0":{"name":"keyword.control.import.hx"}},"end":"$|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"patterns":[{"include":"#type-path"},{"match":"\\\\b(as)\\\\b","name":"keyword.control.as.hx"},{"match":"\\\\b(in)\\\\b","name":"keyword.control.in.hx"},{"match":"\\\\*","name":"constant.language.import-all.hx"},{"match":"\\\\b([A-Z_a-z]\\\\w*)\\\\b(?=\\\\s*(as|in|$|(;)))","name":"variable.other.hxt"},{"include":"#type-path-package-name"}]},"interface":{"begin":"(?=interface)","end":"(?<=})|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"name":"meta.interface.hx","patterns":[{"include":"#interface-name"},{"include":"#interface-name-post"},{"include":"#interface-block"}]},"interface-block":{"begin":"(?<=\\\\{)","end":"(})","endCaptures":{"1":{"name":"punctuation.definition.block.end.hx"}},"name":"meta.block.hx","patterns":[{"include":"#method"},{"include":"#variable"},{"include":"#block"},{"include":"#block-contents"}]},"interface-name":{"begin":"\\\\b(interface)\\\\b","beginCaptures":{"1":{"name":"storage.type.class.hx"}},"end":"([A-Z_a-z]\\\\w*)","endCaptures":{"1":{"name":"entity.name.type.class.hx"}},"patterns":[{"include":"#global"}]},"interface-name-post":{"begin":"(?<=\\\\w)","end":"([;{])","endCaptures":{"1":{"name":"punctuation.definition.block.begin.hx"}},"patterns":[{"include":"#global"},{"include":"#modifiers-inheritance"},{"include":"#type"}]},"javadoc-tags":{"patterns":[{"captures":{"1":{"name":"storage.type.class.javadoc"},"2":{"name":"variable.other.javadoc"}},"match":"(@(?:param|exception|throws|event))\\\\s+([A-Z_a-z]\\\\w*)\\\\s+"},{"captures":{"1":{"name":"storage.type.class.javadoc"},"2":{"name":"constant.numeric.javadoc"}},"match":"(@since)\\\\s+([-.\\\\w]+)\\\\s+"},{"captures":{"0":{"name":"storage.type.class.javadoc"}},"match":"@(param|exception|throws|deprecated|returns?|since|default|see|event)"}]},"keywords":{"patterns":[{"begin":"(?<=trace|$type|if|while|for|super)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"meta.brace.round.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.hx"}},"patterns":[{"include":"#block-contents"}]},{"begin":"(?<=catch)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"meta.brace.round.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.hx"}},"patterns":[{"include":"#block-contents"},{"include":"#type-check"}]},{"begin":"(?<=cast)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"meta.brace.round.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.hx"}},"patterns":[{"begin":"(?=,)","end":"(?=\\\\))","patterns":[{"include":"#type"}]},{"include":"#block-contents"}]},{"match":"\\\\b(try|catch|throw)\\\\b","name":"keyword.control.catch-exception.hx"},{"begin":"\\\\b(case|default)\\\\b","beginCaptures":{"1":{"name":"keyword.control.flow-control.hx"}},"end":":|(?=if)|$","patterns":[{"include":"#global"},{"include":"#metadata"},{"captures":{"1":{"name":"storage.type.variable.hx"},"2":{"name":"variable.other.hx"}},"match":"\\\\b(var|final)\\\\b\\\\s*([A-Z_a-z]\\\\w*)\\\\b"},{"include":"#array"},{"include":"#constants"},{"include":"#strings"},{"match":"\\\\(","name":"meta.brace.round.hx"},{"match":"\\\\)","name":"meta.brace.round.hx"},{"include":"#macro-reification"},{"match":"=>","name":"keyword.operator.extractor.hx"},{"include":"#operator-assignment"},{"include":"#punctuation-comma"},{"include":"#keywords"},{"include":"#method-call"},{"include":"#identifiers"}]},{"match":"\\\\b(if|else|return|do|while|for|break|continue|switch|case|default)\\\\b","name":"keyword.control.flow-control.hx"},{"match":"\\\\b(cast|untyped)\\\\b","name":"keyword.other.untyped.hx"},{"match":"\\\\btrace\\\\b","name":"keyword.other.trace.hx"},{"match":"\\\\$type\\\\b","name":"keyword.other.type.hx"},{"match":"__(global|this)__\\\\b","name":"keyword.other.untyped-property.hx"},{"match":"\\\\b(this|super)\\\\b","name":"variable.language.hx"},{"match":"\\\\bnew\\\\b","name":"keyword.operator.new.hx"},{"match":"\\\\b(abstract|class|enum|interface|typedef)\\\\b","name":"storage.type.hx"},{"match":"->","name":"storage.type.function.arrow.hx"},{"include":"#modifiers"},{"include":"#modifiers-inheritance"}]},"keywords-accessor":{"match":"\\\\b(private|default|get|set|dynamic|never|null)\\\\b","name":"storage.type.property.hx"},"macro-reification":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.reification.hx"},"2":{"name":"keyword.reification.hx"}},"match":"(\\\\$)([abeipv])\\\\{"},{"captures":{"2":{"name":"punctuation.definition.reification.hx"},"3":{"name":"variable.reification.hx"}},"match":"((\\\\$)([A-Za-z]*))"}]},"metadata":{"patterns":[{"begin":"(@)(:(abi|abstract|access|allow|analyzer|annotation|arrayAccess|astSource|autoBuild|bind|bitmap|bridgeProperties|build|buildXml|bypassAccessor|callable|classCode|commutative|compilerGenerated|const|coreApi|coreType|cppFileCode|cppInclude|cppNamespaceCode|cs.assemblyMeta|cs.assemblyStrict|cs.using|dce|debug|decl|delegate|depend|deprecated|eager|enum|event|expose|extern|file|fileXml|final|fixed|flash.property|font|forward.new|forward.variance|forward|forwardStatics|from|functionCode|functionTailCode|generic|genericBuild|genericClassPerMethod|getter|hack|headerClassCode|headerCode|headerInclude|headerNamespaceCode|hlNative|hxGen|ifFeature|include|inheritDoc|inline|internal|isVar|java.native|javaCanonical|jsRequire|jvm.synthetic|keep|keepInit|keepSub|luaDotMethod|luaRequire|macro|markup|mergeBlock|multiReturn|multiType|native|nativeChildren|nativeGen|nativeProperty|nativeStaticExtension|noClosure|noCompletion|noDebug|noDoc|noImportGlobal|noPrivateAccess|noStack|noUsing|nonVirtual|notNull|nullSafety|objc|objcProtocol|op|optional|overload|persistent|phpClassConst|phpGlobal|phpMagic|phpNoConstructor|pos|private|privateAccess|property|protected|publicFields|pure|pythonImport|readOnly|remove|require|resolve|rtti|runtimeValue|scalar|selfCall|semantics|setter|sound|sourceFile|stackOnly|strict|struct|structAccess|structInit|suppressWarnings|templatedCall|throws|to|transient|transitive|unifyMinDynamic|unreflective|unsafe|using|void|volatile))\\\\b\\\\s*(\\\\()","beginCaptures":{"1":{"name":"punctuation.metadata.hx"},"2":{"name":"storage.modifier.metadata.hx"},"3":{"name":"meta.brace.round.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.hx"}},"patterns":[{"include":"#block-contents"}]},{"captures":{"2":{"name":"punctuation.metadata.hx"},"3":{"name":"storage.modifier.metadata.hx"}},"match":"((@)(:(abi|abstract|access|allow|analyzer|annotation|arrayAccess|astSource|autoBuild|bind|bitmap|bridgeProperties|build|buildXml|bypassAccessor|callable|classCode|commutative|compilerGenerated|const|coreApi|coreType|cppFileCode|cppInclude|cppNamespaceCode|cs.assemblyMeta|cs.assemblyStrict|cs.using|dce|debug|decl|delegate|depend|deprecated|eager|enum|event|expose|extern|file|fileXml|final|fixed|flash.property|font|forward.new|forward.variance|forward|forwardStatics|from|functionCode|functionTailCode|generic|genericBuild|genericClassPerMethod|getter|hack|headerClassCode|headerCode|headerInclude|headerNamespaceCode|hlNative|hxGen|ifFeature|include|inheritDoc|inline|internal|isVar|java.native|javaCanonical|jsRequire|jvm.synthetic|keep|keepInit|keepSub|luaDotMethod|luaRequire|macro|markup|mergeBlock|multiReturn|multiType|native|nativeChildren|nativeGen|nativeProperty|nativeStaticExtension|noClosure|noCompletion|noDebug|noDoc|noImportGlobal|noPrivateAccess|noStack|noUsing|nonVirtual|notNull|nullSafety|objc|objcProtocol|op|optional|overload|persistent|phpClassConst|phpGlobal|phpMagic|phpNoConstructor|pos|private|privateAccess|property|protected|publicFields|pure|pythonImport|readOnly|remove|require|resolve|rtti|runtimeValue|scalar|selfCall|semantics|setter|sound|sourceFile|stackOnly|strict|struct|structAccess|structInit|suppressWarnings|templatedCall|throws|to|transient|transitive|unifyMinDynamic|unreflective|unsafe|using|void|volatile)))\\\\b"},{"begin":"(@)(:?[A-Z_a-z]*)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"punctuation.metadata.hx"},"2":{"name":"variable.metadata.hx"},"3":{"name":"meta.brace.round.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.hx"}},"patterns":[{"include":"#block-contents"}]},{"captures":{"1":{"name":"punctuation.metadata.hx"},"2":{"name":"variable.metadata.hx"},"3":{"name":"variable.metadata.hx"},"4":{"name":"punctuation.accessor.hx"},"5":{"name":"variable.metadata.hx"}},"match":"(@)(:?)([A-Z_a-z]*(\\\\.))*([A-Z_a-z]*)?"}]},"method":{"begin":"(?=\\\\bfunction\\\\b)","end":"(?<=[;}])","name":"meta.method.hx","patterns":[{"include":"#macro-reification"},{"include":"#method-name"},{"include":"#method-name-post"},{"include":"#method-block"}]},"method-block":{"begin":"(?<=\\\\{)","beginCaptures":{"1":{"name":"punctuation.definition.block.begin.hx"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.definition.block.end.hx"}},"name":"meta.method.block.hx","patterns":[{"include":"#block"},{"include":"#block-contents"}]},"method-call":{"begin":"\\\\b(?:(__(?:addressOf|as|call|checked|cpp|cs|define_feature|delete|feature|field|fixed|foreach|forin|has_next|hkeys|int??|is|java|js|keys|lock|lua|lua_table|new|php|physeq|prefix|ptr|resources|rethrow|set|setfield|sizeof|type|typeof|unprotect|unsafe|valueOf|var|vector|vmem_get|vmem_set|vmem_sign|instanceof|strict_eq|strict_neq)__)|([_a-z]\\\\w*))\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.other.untyped-function.hx"},"2":{"name":"entity.name.function.hx"},"3":{"name":"meta.brace.round.hx"}},"end":"(\\\\))","endCaptures":{"1":{"name":"meta.brace.round.hx"}},"patterns":[{"include":"#block"},{"include":"#block-contents"}]},"method-name":{"begin":"\\\\b(function)\\\\b\\\\s*\\\\b(?:(new)|([A-Z_a-z]\\\\w*))?\\\\b","beginCaptures":{"1":{"name":"storage.type.function.hx"},"2":{"name":"storage.type.hx"},"3":{"name":"entity.name.function.hx"}},"end":"(?=$|\\\\()","patterns":[{"include":"#macro-reification"},{"include":"#type-parameters"}]},"method-name-post":{"begin":"(?<=[>\\\\w\\\\s])","end":"(\\\\{)|(;)","endCaptures":{"1":{"name":"punctuation.definition.block.begin.hx"},"2":{"name":"punctuation.terminator.hx"}},"patterns":[{"include":"#parameters"},{"include":"#method-return-type-hint"},{"include":"#block"},{"include":"#block-contents"}]},"method-return-type-hint":{"begin":"(?<=\\\\))\\\\s*(:)","beginCaptures":{"1":{"name":"keyword.operator.type.annotation.hx"}},"end":"(?=[0-9;a-{])","patterns":[{"include":"#type"}]},"modifiers":{"patterns":[{"match":"\\\\b(enum)\\\\b","name":"storage.type.class"},{"match":"\\\\b(public|private|static|dynamic|inline|macro|extern|override|overload|abstract)\\\\b","name":"storage.modifier.hx"},{"match":"\\\\b(final)\\\\b(?=\\\\s+(public|private|static|dynamic|inline|macro|extern|override|overload|abstract|function))","name":"storage.modifier.hx"}]},"modifiers-inheritance":{"match":"\\\\b(implements|extends)\\\\b","name":"storage.modifier.hx"},"new-expr":{"begin":"(?<!\\\\.)\\\\b(new)\\\\b","beginCaptures":{"1":{"name":"keyword.operator.new.hx"}},"end":"(?=$|\\\\()","name":"new.expr.hx","patterns":[{"include":"#type"}]},"operator-assignment":{"match":"(=)","name":"keyword.operator.assignment.hx"},"operator-optional":{"match":"(\\\\?)(?!\\\\s)","name":"keyword.operator.optional.hx"},"operator-rest":{"match":"\\\\.\\\\.\\\\.","name":"keyword.operator.rest.hx"},"operator-type-hint":{"match":"(:)","name":"keyword.operator.type.annotation.hx"},"operators":{"patterns":[{"match":"(&&|\\\\|\\\\|)","name":"keyword.operator.logical.hx"},{"match":"([\\\\&^|~]|>>>|<<|>>)","name":"keyword.operator.bitwise.hx"},{"match":"(==|!=|<=|>=|[<>])","name":"keyword.operator.comparison.hx"},{"match":"(!)","name":"keyword.operator.logical.hx"},{"match":"(--|\\\\+\\\\+)","name":"keyword.operator.increment-decrement.hx"},{"match":"([-%*+/])","name":"keyword.operator.arithmetic.hx"},{"match":"\\\\.\\\\.\\\\.","name":"keyword.operator.intiterator.hx"},{"match":"=>","name":"keyword.operator.arrow.hx"},{"match":"\\\\?\\\\?","name":"keyword.operator.nullcoalescing.hx"},{"match":"\\\\?\\\\.","name":"keyword.operator.safenavigation.hx"},{"match":"\\\\bis\\\\b(?!\\\\()","name":"keyword.other.hx"},{"begin":"\\\\?","beginCaptures":{"0":{"name":"keyword.operator.ternary.hx"}},"end":":","endCaptures":{"0":{"name":"keyword.operator.ternary.hx"}},"patterns":[{"include":"#block"},{"include":"#block-contents"}]}]},"package":{"begin":"package\\\\b","beginCaptures":{"0":{"name":"keyword.other.package.hx"}},"end":"$|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"patterns":[{"include":"#type-path"},{"include":"#type-path-package-name"}]},"parameter":{"begin":"(?<=[(,])","end":"(?=\\\\)(?!\\\\s*->)|,)","patterns":[{"include":"#parameter-name"},{"include":"#parameter-type-hint"},{"include":"#parameter-assign"},{"include":"#global"}]},"parameter-assign":{"begin":"=","beginCaptures":{"0":{"name":"keyword.operator.assignment.hx"}},"end":"(?=[),])","patterns":[{"include":"#block"},{"include":"#block-contents"}]},"parameter-name":{"patterns":[{"captures":{"1":{"name":"variable.parameter.hx"}},"match":"\\\\s*([A-Z_a-z]\\\\w*)"},{"include":"#global"},{"include":"#metadata"},{"include":"#operator-optional"},{"include":"#operator-rest"}]},"parameter-type-hint":{"begin":":","beginCaptures":{"0":{"name":"keyword.operator.type.annotation.hx"}},"end":"(?=\\\\)(?!\\\\s*->)|[,=])","patterns":[{"include":"#type"}]},"parameters":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.hx"}},"end":"\\\\s*(\\\\)(?!\\\\s*->))","endCaptures":{"1":{"name":"punctuation.definition.parameters.end.hx"}},"name":"meta.parameters.hx","patterns":[{"include":"#parameter"},{"include":"#punctuation-comma"}]},"punctuation-accessor":{"match":"\\\\.","name":"punctuation.accessor.hx"},"punctuation-braces":{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.brace.round.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.hx"}},"patterns":[{"include":"#keywords"},{"include":"#block"},{"include":"#block-contents"},{"include":"#type-check"}]},"punctuation-comma":{"match":",","name":"punctuation.separator.comma.hx"},"punctuation-terminator":{"match":";","name":"punctuation.terminator.hx"},"regex":{"begin":"(~/)","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.hx"}},"end":"(/)([gimsu]*)","endCaptures":{"1":{"name":"punctuation.definition.string.end.hx"},"2":{"name":"keyword.other.hx"}},"name":"string.regexp.hx","patterns":[{"include":"#regexp"}]},"regex-character-class":{"patterns":[{"match":"\\\\\\\\[DSWdfnrstvw]|\\\\.","name":"constant.other.character-class.regexp"},{"match":"\\\\\\\\([0-7]{3}|x\\\\h\\\\h|u\\\\h\\\\h\\\\h\\\\h)","name":"constant.character.numeric.regexp"},{"match":"\\\\\\\\c[A-Z]","name":"constant.character.control.regexp"},{"match":"\\\\\\\\.","name":"constant.character.escape.backslash.regexp"}]},"regexp":{"patterns":[{"match":"\\\\\\\\[Bb]|[$^]","name":"keyword.control.anchor.regexp"},{"match":"\\\\\\\\[1-9]\\\\d*","name":"keyword.other.back-reference.regexp"},{"match":"[*+?]|\\\\{(\\\\d+,\\\\d+|\\\\d+,|,\\\\d+|\\\\d+)}\\\\??","name":"keyword.operator.quantifier.regexp"},{"match":"\\\\|","name":"keyword.operator.or.regexp"},{"begin":"(\\\\()((\\\\?=)|(\\\\?!))","beginCaptures":{"1":{"name":"punctuation.definition.group.regexp"},"2":{"name":"punctuation.definition.group.assertion.regexp"},"3":{"name":"meta.assertion.look-ahead.regexp"},"4":{"name":"meta.assertion.negative-look-ahead.regexp"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.group.regexp"}},"name":"meta.group.assertion.regexp","patterns":[{"include":"#regexp"}]},{"begin":"\\\\((\\\\?:)?","beginCaptures":{"0":{"name":"punctuation.definition.group.regexp"},"1":{"name":"punctuation.definition.group.capture.regexp"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.regexp"}},"name":"meta.group.regexp","patterns":[{"include":"#regexp"}]},{"begin":"(\\\\[)(\\\\^)?","beginCaptures":{"1":{"name":"punctuation.definition.character-class.regexp"},"2":{"name":"keyword.operator.negation.regexp"}},"end":"(])","endCaptures":{"1":{"name":"punctuation.definition.character-class.regexp"}},"name":"constant.other.character-class.set.regexp","patterns":[{"captures":{"1":{"name":"constant.character.numeric.regexp"},"2":{"name":"constant.character.control.regexp"},"3":{"name":"constant.character.escape.backslash.regexp"},"4":{"name":"constant.character.numeric.regexp"},"5":{"name":"constant.character.control.regexp"},"6":{"name":"constant.character.escape.backslash.regexp"}},"match":"(?:.|(\\\\\\\\(?:[0-7]{3}|x\\\\h\\\\h|u\\\\h\\\\h\\\\h\\\\h))|(\\\\\\\\c[A-Z])|(\\\\\\\\.))-(?:[^]\\\\\\\\]|(\\\\\\\\(?:[0-7]{3}|x\\\\h\\\\h|u\\\\h\\\\h\\\\h\\\\h))|(\\\\\\\\c[A-Z])|(\\\\\\\\.))","name":"constant.other.character-class.range.regexp"},{"include":"#regex-character-class"}]},{"include":"#regex-character-class"}]},"string-escape-sequences":{"patterns":[{"match":"\\\\\\\\[0-3][0-9]{2}","name":"constant.character.escape.hx"},{"match":"\\\\\\\\x\\\\h{2}","name":"constant.character.escape.hx"},{"match":"\\\\\\\\u[0-9]{4}","name":"constant.character.escape.hx"},{"match":"\\\\\\\\u\\\\{\\\\h+}","name":"constant.character.escape.hx"},{"match":"\\\\\\\\[\\"'\\\\\\\\nrt]","name":"constant.character.escape.hx"},{"match":"\\\\\\\\.","name":"invalid.escape.sequence.hx"}]},"strings":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.hx"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.hx"}},"name":"string.quoted.double.hx","patterns":[{"include":"#string-escape-sequences"}]},{"begin":"(')","beginCaptures":{"0":{"name":"string.quoted.single.hx"},"1":{"name":"punctuation.definition.string.begin.hx"}},"end":"(')","endCaptures":{"0":{"name":"string.quoted.single.hx"},"1":{"name":"punctuation.definition.string.end.hx"}},"patterns":[{"begin":"\\\\$(?=\\\\$)","beginCaptures":{"0":{"name":"constant.character.escape.hx"}},"end":"\\\\$","endCaptures":{"0":{"name":"constant.character.escape.hx"}},"name":"string.quoted.single.hx"},{"include":"#string-escape-sequences"},{"begin":"(\\\\$\\\\{)","beginCaptures":{"0":{"name":"punctuation.definition.block.begin.hx"}},"end":"(})","endCaptures":{"0":{"name":"punctuation.definition.block.end.hx"}},"patterns":[{"include":"#block-contents"}]},{"captures":{"1":{"name":"punctuation.definition.block.begin.hx"},"2":{"name":"variable.other.hx"}},"match":"(\\\\$)([A-Z_a-z]\\\\w*)"},{"match":"","name":"constant.character.escape.hx"},{"match":".","name":"string.quoted.single.hx"}]}]},"type":{"patterns":[{"include":"#global"},{"include":"#macro-reification"},{"include":"#type-name"},{"include":"#type-parameters"},{"match":"->","name":"keyword.operator.type.function.hx"},{"match":"&","name":"keyword.operator.type.intersection.hx"},{"match":"\\\\?(?=\\\\s*[A-Z_])","name":"keyword.operator.optional"},{"match":"\\\\?(?!\\\\s*[A-Z_])","name":"punctuation.definition.tag"},{"begin":"(\\\\{)","beginCaptures":{"0":{"name":"punctuation.definition.block.begin.hx"}},"end":"(?<=})","patterns":[{"include":"#typedef-block"}]},{"include":"#function-type"}]},"type-check":{"begin":"(?<!macro)(?=:)","end":"(?=\\\\))","patterns":[{"include":"#operator-type-hint"},{"include":"#type"}]},"type-name":{"patterns":[{"captures":{"1":{"name":"support.class.builtin.hx"},"2":{"name":"support.package.hx"},"3":{"name":"entity.name.type.hx"}},"match":"\\\\b(Any|Array|ArrayAccess|Bool|Class|Date|DateTools|Dynamic|Enum|EnumValue|EReg|Float|IMap|Int|IntIterator|Iterable|Iterator|KeyValueIterator|KeyValueIterable|Lambda|List|ListIterator|ListNode|Map|Math|Null|Reflect|Single|Std|String|StringBuf|StringTools|Sys|Type|UInt|UnicodeString|ValueType|Void|Xml|XmlType)(?:(\\\\.)(_*[A-Z]\\\\w*[a-z]\\\\w*))*\\\\b"},{"captures":{"1":{"name":"support.package.hx"},"3":{"name":"entity.name.type.hx"},"4":{"name":"support.package.hx"},"5":{"name":"entity.name.type.hx"}},"match":"\\\\b(?<![^.]\\\\.)((_*[a-z]\\\\w*\\\\.)*)(_*[A-Z]\\\\w*)(?:(\\\\.)(_*[A-Z]\\\\w*[a-z]\\\\w*))*\\\\b"}]},"type-parameter-constraint-new":{"match":":","name":"keyword.operator.type.annotation.hxt"},"type-parameter-constraint-old":{"begin":"(:)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.operator.type.annotation.hx"},"2":{"name":"punctuation.definition.constraint.begin.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.constraint.end.hx"}},"patterns":[{"include":"#type"},{"include":"#punctuation-comma"}]},"type-parameters":{"begin":"(<)","beginCaptures":{"1":{"name":"punctuation.definition.typeparameters.begin.hx"}},"end":"(?=$)|(>)","endCaptures":{"1":{"name":"punctuation.definition.typeparameters.end.hx"}},"name":"meta.type-parameters.hx","patterns":[{"include":"#type"},{"include":"#type-parameter-constraint-old"},{"include":"#type-parameter-constraint-new"},{"include":"#global"},{"include":"#regex"},{"include":"#array"},{"include":"#constants"},{"include":"#strings"},{"include":"#metadata"},{"include":"#punctuation-comma"}]},"type-path":{"patterns":[{"include":"#global"},{"include":"#punctuation-accessor"},{"include":"#type-path-type-name"}]},"type-path-package-name":{"match":"\\\\b([A-Z_a-z]\\\\w*)\\\\b","name":"support.package.hx"},"type-path-type-name":{"match":"\\\\b(_*[A-Z]\\\\w*)\\\\b","name":"entity.name.type.hx"},"typedef":{"begin":"(?=typedef)","end":"(?<=})|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"name":"meta.typedef.hx","patterns":[{"include":"#typedef-name"},{"include":"#typedef-name-post"},{"include":"#typedef-block"}]},"typedef-block":{"begin":"(?<=\\\\{)","end":"(})","endCaptures":{"1":{"name":"punctuation.definition.block.end.hx"}},"name":"meta.block.hx","patterns":[{"include":"#global"},{"include":"#metadata"},{"include":"#method"},{"include":"#variable"},{"include":"#modifiers"},{"include":"#punctuation-comma"},{"include":"#operator-optional"},{"include":"#typedef-extension"},{"include":"#typedef-simple-field-type-hint"},{"include":"#identifier-name"},{"include":"#strings"}]},"typedef-extension":{"begin":">","end":",|$","patterns":[{"include":"#type"}]},"typedef-name":{"begin":"\\\\b(typedef)\\\\b","beginCaptures":{"1":{"name":"storage.type.class.hx"}},"end":"([A-Z_a-z]\\\\w*)","endCaptures":{"1":{"name":"entity.name.type.class.hx"}},"patterns":[{"include":"#global"}]},"typedef-name-post":{"begin":"(?<=\\\\w)","end":"(\\\\{)|(?=;)","endCaptures":{"1":{"name":"punctuation.definition.block.begin.hx"}},"patterns":[{"include":"#global"},{"include":"#punctuation-brackets"},{"include":"#punctuation-separator"},{"include":"#operator-assignment"},{"include":"#type"}]},"typedef-simple-field-type-hint":{"begin":":","beginCaptures":{"0":{"name":"keyword.operator.type.annotation.hx"}},"end":"(?=[,;}])","patterns":[{"include":"#type"}]},"using":{"begin":"using\\\\b","beginCaptures":{"0":{"name":"keyword.other.using.hx"}},"end":"$|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"patterns":[{"include":"#type-path"},{"include":"#type-path-package-name"}]},"variable":{"begin":"(?=\\\\b(var|final)\\\\b)","end":"(?=$)|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"patterns":[{"include":"#variable-name"},{"include":"#variable-name-next"},{"include":"#variable-assign"},{"include":"#variable-name-post"}]},"variable-accessors":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.hx"}},"name":"meta.parameters.hx","patterns":[{"include":"#global"},{"include":"#keywords-accessor"},{"include":"#accessor-method"},{"include":"#punctuation-comma"}]},"variable-assign":{"begin":"=","beginCaptures":{"0":{"name":"keyword.operator.assignment.hx"}},"end":"(?=[,;])","patterns":[{"include":"#block"},{"include":"#block-contents"}]},"variable-name":{"begin":"\\\\b(var|final)\\\\b","beginCaptures":{"1":{"name":"storage.type.variable.hx"}},"end":"(?=$)|([A-Z_a-z]\\\\w*)","endCaptures":{"1":{"name":"variable.other.hx"}},"patterns":[{"include":"#operator-optional"}]},"variable-name-next":{"begin":",","beginCaptures":{"0":{"name":"punctuation.separator.comma.hx"}},"end":"([A-Z_a-z]\\\\w*)","endCaptures":{"1":{"name":"variable.other.hx"}},"patterns":[{"include":"#global"}]},"variable-name-post":{"begin":"(?<=\\\\w)","end":"(?=;)|(?==)","patterns":[{"include":"#variable-accessors"},{"include":"#variable-type-hint"},{"include":"#block-contents"}]},"variable-type-hint":{"begin":":","beginCaptures":{"0":{"name":"keyword.operator.type.annotation.hx"}},"end":"(?=$|[,;=])","patterns":[{"include":"#type"}]}},"scopeName":"source.hx"}`)),n=[e];exports.default=n;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const e = Object.freeze(JSON.parse(`{"displayName":"Haxe","fileTypes":["hx","dump"],"name":"haxe","patterns":[{"include":"#all"}],"repository":{"abstract":{"begin":"(?=abstract\\\\s+[A-Z])","end":"(?<=})|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"name":"meta.abstract.hx","patterns":[{"include":"#abstract-name"},{"include":"#abstract-name-post"},{"include":"#abstract-block"}]},"abstract-block":{"begin":"(?<=\\\\{)","end":"(})","endCaptures":{"1":{"name":"punctuation.definition.block.end.hx"}},"name":"meta.block.hx","patterns":[{"include":"#method"},{"include":"#modifiers"},{"include":"#variable"},{"include":"#block"},{"include":"#block-contents"}]},"abstract-name":{"begin":"\\\\b(abstract)\\\\b","beginCaptures":{"1":{"name":"storage.type.class.hx"}},"end":"([A-Z_a-z]\\\\w*)","endCaptures":{"1":{"name":"entity.name.type.class.hx"}},"patterns":[{"include":"#global"}]},"abstract-name-post":{"begin":"(?<=\\\\w)","end":"([;{])","endCaptures":{"1":{"name":"punctuation.definition.block.begin.hx"}},"patterns":[{"include":"#global"},{"match":"\\\\b(from|to)\\\\b","name":"keyword.other.hx"},{"include":"#type"},{"match":"[()]","name":"punctuation.definition.other.hx"}]},"accessor-method":{"patterns":[{"match":"\\\\b([gs]et)_[A-Z_a-z]\\\\w*\\\\b","name":"entity.name.function.hx"}]},"all":{"patterns":[{"include":"#global"},{"include":"#package"},{"include":"#import"},{"include":"#using"},{"match":"\\\\b(final)\\\\b(?=\\\\s+(class|interface|extern|private)\\\\b)","name":"storage.modifier.hx"},{"include":"#abstract"},{"include":"#class"},{"include":"#enum"},{"include":"#interface"},{"include":"#typedef"},{"include":"#block"},{"include":"#block-contents"}]},"array":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.array.begin.hx"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.array.end.hx"}},"name":"meta.array.literal.hx","patterns":[{"include":"#block"},{"include":"#block-contents"}]},"arrow-function":{"begin":"(\\\\()(?=[^(]*?\\\\)\\\\s*->)","beginCaptures":{"1":{"name":"punctuation.definition.parameters.begin.hx"}},"end":"(\\\\))\\\\s*(->)","endCaptures":{"1":{"name":"punctuation.definition.parameters.end.hx"},"2":{"name":"storage.type.function.arrow.hx"}},"name":"meta.method.arrow.hx","patterns":[{"include":"#arrow-function-parameter"}]},"arrow-function-parameter":{"begin":"(?<=[(,])","end":"(?=[),])","patterns":[{"include":"#parameter-name"},{"include":"#arrow-function-parameter-type-hint"},{"include":"#parameter-assign"},{"include":"#punctuation-comma"},{"include":"#global"}]},"arrow-function-parameter-type-hint":{"begin":":","beginCaptures":{"0":{"name":"keyword.operator.type.annotation.hx"}},"end":"(?=[),=])","patterns":[{"include":"#type"}]},"block":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.begin.hx"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.end.hx"}},"patterns":[{"include":"#block"},{"include":"#block-contents"}]},"block-contents":{"patterns":[{"include":"#global"},{"include":"#regex"},{"include":"#array"},{"include":"#constants"},{"include":"#strings"},{"include":"#metadata"},{"include":"#method"},{"include":"#variable"},{"include":"#modifiers"},{"include":"#new-expr"},{"include":"#for-loop"},{"include":"#keywords"},{"include":"#arrow-function"},{"include":"#method-call"},{"include":"#enum-constructor-call"},{"include":"#punctuation-braces"},{"include":"#macro-reification"},{"include":"#operators"},{"include":"#operator-assignment"},{"include":"#punctuation-terminator"},{"include":"#punctuation-comma"},{"include":"#punctuation-accessor"},{"include":"#identifiers"}]},"class":{"begin":"(?=class)","end":"(?<=})|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"name":"meta.class.hx","patterns":[{"include":"#class-name"},{"include":"#class-name-post"},{"include":"#class-block"}]},"class-block":{"begin":"(?<=\\\\{)","end":"(})","endCaptures":{"1":{"name":"punctuation.definition.block.end.hx"}},"name":"meta.block.hx","patterns":[{"include":"#method"},{"include":"#modifiers"},{"include":"#variable"},{"include":"#block"},{"include":"#block-contents"}]},"class-name":{"begin":"\\\\b(class)\\\\b","beginCaptures":{"1":{"name":"storage.type.class.hx"}},"end":"([A-Z_a-z]\\\\w*)","endCaptures":{"1":{"name":"entity.name.type.class.hx"}},"name":"meta.class.identifier.hx","patterns":[{"include":"#global"}]},"class-name-post":{"begin":"(?<=\\\\w)","end":"([;{])","endCaptures":{"1":{"name":"punctuation.definition.block.begin.hx"}},"patterns":[{"include":"#modifiers-inheritance"},{"include":"#type"}]},"comments":{"patterns":[{"begin":"/\\\\*\\\\*(?!/)","beginCaptures":{"0":{"name":"punctuation.definition.comment.hx"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.hx"}},"name":"comment.block.documentation.hx","patterns":[{"include":"#javadoc-tags"}]},{"begin":"/\\\\*","beginCaptures":{"0":{"name":"punctuation.definition.comment.hx"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.hx"}},"name":"comment.block.hx","patterns":[{"include":"#javadoc-tags"}]},{"captures":{"1":{"name":"punctuation.definition.comment.hx"}},"match":"(//).*$\\\\n?","name":"comment.line.double-slash.hx"}]},"conditional-compilation":{"patterns":[{"captures":{"0":{"name":"punctuation.definition.tag"}},"match":"((#(if|elseif))[!\\\\s]+([A-Z_a-z][0-9A-Z_a-z]*(\\\\.[A-Z_a-z][0-9A-Z_a-z]*)*)(?=\\\\s|/\\\\*|//))"},{"begin":"((#(if|elseif))[!\\\\s]*)(?=\\\\()","beginCaptures":{"0":{"name":"punctuation.definition.tag"}},"end":"(?<=[\\\\n)])","endCaptures":{"0":{"name":"punctuation.definition.tag"}},"name":"punctuation.definition.tag","patterns":[{"include":"#conditional-compilation-parens"}]},{"match":"(#(end|else|error|line))","name":"punctuation.definition.tag"},{"match":"(#([0-9A-Z_a-z]*))\\\\s","name":"punctuation.definition.tag"}]},"conditional-compilation-parens":{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"#conditional-compilation-parens"}]},"constant-name":{"match":"\\\\b([A-Z_][0-9A-Z_]*)\\\\b","name":"variable.other.hx"},"constants":{"patterns":[{"match":"\\\\b(true|false|null)\\\\b","name":"constant.language.hx"},{"captures":{"0":{"name":"constant.numeric.hex.hx"},"1":{"name":"constant.numeric.suffix.hx"}},"match":"\\\\b0[Xx]\\\\h[_\\\\h]*([iu][0-9][0-9_]*)?\\\\b"},{"captures":{"0":{"name":"constant.numeric.bin.hx"},"1":{"name":"constant.numeric.suffix.hx"}},"match":"\\\\b0[Bb][01][01_]*([iu][0-9][0-9_]*)?\\\\b"},{"captures":{"0":{"name":"constant.numeric.decimal.hx"},"1":{"name":"meta.delimiter.decimal.period.hx"},"2":{"name":"constant.numeric.suffix.hx"},"3":{"name":"meta.delimiter.decimal.period.hx"},"4":{"name":"constant.numeric.suffix.hx"},"5":{"name":"meta.delimiter.decimal.period.hx"},"6":{"name":"constant.numeric.suffix.hx"},"7":{"name":"constant.numeric.suffix.hx"},"8":{"name":"meta.delimiter.decimal.period.hx"},"9":{"name":"constant.numeric.suffix.hx"},"10":{"name":"meta.delimiter.decimal.period.hx"},"11":{"name":"constant.numeric.suffix.hx"},"12":{"name":"meta.delimiter.decimal.period.hx"},"13":{"name":"constant.numeric.suffix.hx"},"14":{"name":"constant.numeric.suffix.hx"}},"match":"(?<!\\\\$)(?:\\\\b[0-9][0-9_]*(\\\\.)[0-9_]+[Ee][-+]?[0-9_]+([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[Ee][-+]?[0-9_]+([fiu][0-9][0-9_]*)?\\\\b|\\\\B(\\\\.)[0-9][0-9_]*[Ee][-+]?[0-9_]+([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)[0-9_]+([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*(\\\\.)(?!\\\\.)(?:\\\\B|([fiu][0-9][0-9_]*)\\\\b)|\\\\B(\\\\.)[0-9][0-9_]*([fiu][0-9][0-9_]*)?\\\\b|\\\\b[0-9][0-9_]*([fiu][0-9][0-9_]*)?\\\\b)(?!\\\\$)"}]},"enum":{"begin":"(?=enum\\\\s+[A-Z])","end":"(?<=})|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"name":"meta.enum.hx","patterns":[{"include":"#enum-name"},{"include":"#enum-name-post"},{"include":"#enum-block"}]},"enum-block":{"begin":"(?<=\\\\{)","end":"(})","endCaptures":{"1":{"name":"punctuation.definition.block.end.hx"}},"name":"meta.block.hx","patterns":[{"include":"#global"},{"include":"#metadata"},{"include":"#parameters"},{"include":"#identifiers"}]},"enum-constructor-call":{"begin":"\\\\b(?<!\\\\.)((_*[a-z]\\\\w*\\\\.)*)(_*[A-Z]\\\\w*)(?:(\\\\.)(_*[A-Z]\\\\w*[a-z]\\\\w*))*\\\\s*(\\\\()","beginCaptures":{"1":{"name":"support.package.hx"},"3":{"name":"entity.name.type.hx"},"4":{"name":"support.package.hx"},"5":{"name":"entity.name.type.hx"},"6":{"name":"meta.brace.round.hx"}},"end":"(\\\\))","endCaptures":{"1":{"name":"meta.brace.round.hx"}},"patterns":[{"include":"#block"},{"include":"#block-contents"}]},"enum-name":{"begin":"\\\\b(enum)\\\\b","beginCaptures":{"1":{"name":"storage.type.class.hx"}},"end":"([A-Z_a-z]\\\\w*)","endCaptures":{"1":{"name":"entity.name.type.class.hx"}},"patterns":[{"include":"#global"}]},"enum-name-post":{"begin":"(?<=\\\\w)","end":"([;{])","endCaptures":{"1":{"name":"punctuation.definition.block.begin.hx"}},"patterns":[{"include":"#type"}]},"for-loop":{"begin":"\\\\b(for)\\\\b\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.control.flow-control.hx"},"2":{"name":"meta.brace.round.hx"}},"end":"(\\\\))","endCaptures":{"1":{"name":"meta.brace.round.hx"}},"patterns":[{"match":"\\\\b(in)\\\\b","name":"keyword.other.in.hx"},{"include":"#block"},{"include":"#block-contents"}]},"function-type":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.hx"}},"patterns":[{"include":"#function-type-parameter"}]},"function-type-parameter":{"begin":"(?<=[(,])","end":"(?=[),])","patterns":[{"include":"#global"},{"include":"#metadata"},{"include":"#operator-optional"},{"include":"#punctuation-comma"},{"include":"#function-type-parameter-name"},{"include":"#function-type-parameter-type-hint"},{"include":"#parameter-assign"},{"include":"#type"},{"include":"#global"}]},"function-type-parameter-name":{"captures":{"1":{"name":"variable.parameter.hx"}},"match":"([A-Z_a-z]\\\\w*)(?=\\\\s*:)"},"function-type-parameter-type-hint":{"begin":":","beginCaptures":{"0":{"name":"keyword.operator.type.annotation.hx"}},"end":"(?=[),=])","patterns":[{"include":"#type"}]},"global":{"patterns":[{"include":"#comments"},{"include":"#conditional-compilation"}]},"identifier-name":{"match":"\\\\b([A-Z_a-z]\\\\w*)\\\\b","name":"variable.other.hx"},"identifiers":{"patterns":[{"include":"#constant-name"},{"include":"#type-name"},{"include":"#identifier-name"}]},"import":{"begin":"import\\\\b","beginCaptures":{"0":{"name":"keyword.control.import.hx"}},"end":"$|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"patterns":[{"include":"#type-path"},{"match":"\\\\b(as)\\\\b","name":"keyword.control.as.hx"},{"match":"\\\\b(in)\\\\b","name":"keyword.control.in.hx"},{"match":"\\\\*","name":"constant.language.import-all.hx"},{"match":"\\\\b([A-Z_a-z]\\\\w*)\\\\b(?=\\\\s*(as|in|$|(;)))","name":"variable.other.hxt"},{"include":"#type-path-package-name"}]},"interface":{"begin":"(?=interface)","end":"(?<=})|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"name":"meta.interface.hx","patterns":[{"include":"#interface-name"},{"include":"#interface-name-post"},{"include":"#interface-block"}]},"interface-block":{"begin":"(?<=\\\\{)","end":"(})","endCaptures":{"1":{"name":"punctuation.definition.block.end.hx"}},"name":"meta.block.hx","patterns":[{"include":"#method"},{"include":"#variable"},{"include":"#block"},{"include":"#block-contents"}]},"interface-name":{"begin":"\\\\b(interface)\\\\b","beginCaptures":{"1":{"name":"storage.type.class.hx"}},"end":"([A-Z_a-z]\\\\w*)","endCaptures":{"1":{"name":"entity.name.type.class.hx"}},"patterns":[{"include":"#global"}]},"interface-name-post":{"begin":"(?<=\\\\w)","end":"([;{])","endCaptures":{"1":{"name":"punctuation.definition.block.begin.hx"}},"patterns":[{"include":"#global"},{"include":"#modifiers-inheritance"},{"include":"#type"}]},"javadoc-tags":{"patterns":[{"captures":{"1":{"name":"storage.type.class.javadoc"},"2":{"name":"variable.other.javadoc"}},"match":"(@(?:param|exception|throws|event))\\\\s+([A-Z_a-z]\\\\w*)\\\\s+"},{"captures":{"1":{"name":"storage.type.class.javadoc"},"2":{"name":"constant.numeric.javadoc"}},"match":"(@since)\\\\s+([-.\\\\w]+)\\\\s+"},{"captures":{"0":{"name":"storage.type.class.javadoc"}},"match":"@(param|exception|throws|deprecated|returns?|since|default|see|event)"}]},"keywords":{"patterns":[{"begin":"(?<=trace|$type|if|while|for|super)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"meta.brace.round.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.hx"}},"patterns":[{"include":"#block-contents"}]},{"begin":"(?<=catch)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"meta.brace.round.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.hx"}},"patterns":[{"include":"#block-contents"},{"include":"#type-check"}]},{"begin":"(?<=cast)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"meta.brace.round.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.hx"}},"patterns":[{"begin":"(?=,)","end":"(?=\\\\))","patterns":[{"include":"#type"}]},{"include":"#block-contents"}]},{"match":"\\\\b(try|catch|throw)\\\\b","name":"keyword.control.catch-exception.hx"},{"begin":"\\\\b(case|default)\\\\b","beginCaptures":{"1":{"name":"keyword.control.flow-control.hx"}},"end":":|(?=if)|$","patterns":[{"include":"#global"},{"include":"#metadata"},{"captures":{"1":{"name":"storage.type.variable.hx"},"2":{"name":"variable.other.hx"}},"match":"\\\\b(var|final)\\\\b\\\\s*([A-Z_a-z]\\\\w*)\\\\b"},{"include":"#array"},{"include":"#constants"},{"include":"#strings"},{"match":"\\\\(","name":"meta.brace.round.hx"},{"match":"\\\\)","name":"meta.brace.round.hx"},{"include":"#macro-reification"},{"match":"=>","name":"keyword.operator.extractor.hx"},{"include":"#operator-assignment"},{"include":"#punctuation-comma"},{"include":"#keywords"},{"include":"#method-call"},{"include":"#identifiers"}]},{"match":"\\\\b(if|else|return|do|while|for|break|continue|switch|case|default)\\\\b","name":"keyword.control.flow-control.hx"},{"match":"\\\\b(cast|untyped)\\\\b","name":"keyword.other.untyped.hx"},{"match":"\\\\btrace\\\\b","name":"keyword.other.trace.hx"},{"match":"\\\\$type\\\\b","name":"keyword.other.type.hx"},{"match":"__(global|this)__\\\\b","name":"keyword.other.untyped-property.hx"},{"match":"\\\\b(this|super)\\\\b","name":"variable.language.hx"},{"match":"\\\\bnew\\\\b","name":"keyword.operator.new.hx"},{"match":"\\\\b(abstract|class|enum|interface|typedef)\\\\b","name":"storage.type.hx"},{"match":"->","name":"storage.type.function.arrow.hx"},{"include":"#modifiers"},{"include":"#modifiers-inheritance"}]},"keywords-accessor":{"match":"\\\\b(private|default|get|set|dynamic|never|null)\\\\b","name":"storage.type.property.hx"},"macro-reification":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.reification.hx"},"2":{"name":"keyword.reification.hx"}},"match":"(\\\\$)([abeipv])\\\\{"},{"captures":{"2":{"name":"punctuation.definition.reification.hx"},"3":{"name":"variable.reification.hx"}},"match":"((\\\\$)([A-Za-z]*))"}]},"metadata":{"patterns":[{"begin":"(@)(:(abi|abstract|access|allow|analyzer|annotation|arrayAccess|astSource|autoBuild|bind|bitmap|bridgeProperties|build|buildXml|bypassAccessor|callable|classCode|commutative|compilerGenerated|const|coreApi|coreType|cppFileCode|cppInclude|cppNamespaceCode|cs.assemblyMeta|cs.assemblyStrict|cs.using|dce|debug|decl|delegate|depend|deprecated|eager|enum|event|expose|extern|file|fileXml|final|fixed|flash.property|font|forward.new|forward.variance|forward|forwardStatics|from|functionCode|functionTailCode|generic|genericBuild|genericClassPerMethod|getter|hack|headerClassCode|headerCode|headerInclude|headerNamespaceCode|hlNative|hxGen|ifFeature|include|inheritDoc|inline|internal|isVar|java.native|javaCanonical|jsRequire|jvm.synthetic|keep|keepInit|keepSub|luaDotMethod|luaRequire|macro|markup|mergeBlock|multiReturn|multiType|native|nativeChildren|nativeGen|nativeProperty|nativeStaticExtension|noClosure|noCompletion|noDebug|noDoc|noImportGlobal|noPrivateAccess|noStack|noUsing|nonVirtual|notNull|nullSafety|objc|objcProtocol|op|optional|overload|persistent|phpClassConst|phpGlobal|phpMagic|phpNoConstructor|pos|private|privateAccess|property|protected|publicFields|pure|pythonImport|readOnly|remove|require|resolve|rtti|runtimeValue|scalar|selfCall|semantics|setter|sound|sourceFile|stackOnly|strict|struct|structAccess|structInit|suppressWarnings|templatedCall|throws|to|transient|transitive|unifyMinDynamic|unreflective|unsafe|using|void|volatile))\\\\b\\\\s*(\\\\()","beginCaptures":{"1":{"name":"punctuation.metadata.hx"},"2":{"name":"storage.modifier.metadata.hx"},"3":{"name":"meta.brace.round.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.hx"}},"patterns":[{"include":"#block-contents"}]},{"captures":{"2":{"name":"punctuation.metadata.hx"},"3":{"name":"storage.modifier.metadata.hx"}},"match":"((@)(:(abi|abstract|access|allow|analyzer|annotation|arrayAccess|astSource|autoBuild|bind|bitmap|bridgeProperties|build|buildXml|bypassAccessor|callable|classCode|commutative|compilerGenerated|const|coreApi|coreType|cppFileCode|cppInclude|cppNamespaceCode|cs.assemblyMeta|cs.assemblyStrict|cs.using|dce|debug|decl|delegate|depend|deprecated|eager|enum|event|expose|extern|file|fileXml|final|fixed|flash.property|font|forward.new|forward.variance|forward|forwardStatics|from|functionCode|functionTailCode|generic|genericBuild|genericClassPerMethod|getter|hack|headerClassCode|headerCode|headerInclude|headerNamespaceCode|hlNative|hxGen|ifFeature|include|inheritDoc|inline|internal|isVar|java.native|javaCanonical|jsRequire|jvm.synthetic|keep|keepInit|keepSub|luaDotMethod|luaRequire|macro|markup|mergeBlock|multiReturn|multiType|native|nativeChildren|nativeGen|nativeProperty|nativeStaticExtension|noClosure|noCompletion|noDebug|noDoc|noImportGlobal|noPrivateAccess|noStack|noUsing|nonVirtual|notNull|nullSafety|objc|objcProtocol|op|optional|overload|persistent|phpClassConst|phpGlobal|phpMagic|phpNoConstructor|pos|private|privateAccess|property|protected|publicFields|pure|pythonImport|readOnly|remove|require|resolve|rtti|runtimeValue|scalar|selfCall|semantics|setter|sound|sourceFile|stackOnly|strict|struct|structAccess|structInit|suppressWarnings|templatedCall|throws|to|transient|transitive|unifyMinDynamic|unreflective|unsafe|using|void|volatile)))\\\\b"},{"begin":"(@)(:?[A-Z_a-z]*)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"punctuation.metadata.hx"},"2":{"name":"variable.metadata.hx"},"3":{"name":"meta.brace.round.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.hx"}},"patterns":[{"include":"#block-contents"}]},{"captures":{"1":{"name":"punctuation.metadata.hx"},"2":{"name":"variable.metadata.hx"},"3":{"name":"variable.metadata.hx"},"4":{"name":"punctuation.accessor.hx"},"5":{"name":"variable.metadata.hx"}},"match":"(@)(:?)([A-Z_a-z]*(\\\\.))*([A-Z_a-z]*)?"}]},"method":{"begin":"(?=\\\\bfunction\\\\b)","end":"(?<=[;}])","name":"meta.method.hx","patterns":[{"include":"#macro-reification"},{"include":"#method-name"},{"include":"#method-name-post"},{"include":"#method-block"}]},"method-block":{"begin":"(?<=\\\\{)","beginCaptures":{"1":{"name":"punctuation.definition.block.begin.hx"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.definition.block.end.hx"}},"name":"meta.method.block.hx","patterns":[{"include":"#block"},{"include":"#block-contents"}]},"method-call":{"begin":"\\\\b(?:(__(?:addressOf|as|call|checked|cpp|cs|define_feature|delete|feature|field|fixed|foreach|forin|has_next|hkeys|int??|is|java|js|keys|lock|lua|lua_table|new|php|physeq|prefix|ptr|resources|rethrow|set|setfield|sizeof|type|typeof|unprotect|unsafe|valueOf|var|vector|vmem_get|vmem_set|vmem_sign|instanceof|strict_eq|strict_neq)__)|([_a-z]\\\\w*))\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.other.untyped-function.hx"},"2":{"name":"entity.name.function.hx"},"3":{"name":"meta.brace.round.hx"}},"end":"(\\\\))","endCaptures":{"1":{"name":"meta.brace.round.hx"}},"patterns":[{"include":"#block"},{"include":"#block-contents"}]},"method-name":{"begin":"\\\\b(function)\\\\b\\\\s*\\\\b(?:(new)|([A-Z_a-z]\\\\w*))?\\\\b","beginCaptures":{"1":{"name":"storage.type.function.hx"},"2":{"name":"storage.type.hx"},"3":{"name":"entity.name.function.hx"}},"end":"(?=$|\\\\()","patterns":[{"include":"#macro-reification"},{"include":"#type-parameters"}]},"method-name-post":{"begin":"(?<=[>\\\\w\\\\s])","end":"(\\\\{)|(;)","endCaptures":{"1":{"name":"punctuation.definition.block.begin.hx"},"2":{"name":"punctuation.terminator.hx"}},"patterns":[{"include":"#parameters"},{"include":"#method-return-type-hint"},{"include":"#block"},{"include":"#block-contents"}]},"method-return-type-hint":{"begin":"(?<=\\\\))\\\\s*(:)","beginCaptures":{"1":{"name":"keyword.operator.type.annotation.hx"}},"end":"(?=[0-9;a-{])","patterns":[{"include":"#type"}]},"modifiers":{"patterns":[{"match":"\\\\b(enum)\\\\b","name":"storage.type.class"},{"match":"\\\\b(public|private|static|dynamic|inline|macro|extern|override|overload|abstract)\\\\b","name":"storage.modifier.hx"},{"match":"\\\\b(final)\\\\b(?=\\\\s+(public|private|static|dynamic|inline|macro|extern|override|overload|abstract|function))","name":"storage.modifier.hx"}]},"modifiers-inheritance":{"match":"\\\\b(implements|extends)\\\\b","name":"storage.modifier.hx"},"new-expr":{"begin":"(?<!\\\\.)\\\\b(new)\\\\b","beginCaptures":{"1":{"name":"keyword.operator.new.hx"}},"end":"(?=$|\\\\()","name":"new.expr.hx","patterns":[{"include":"#type"}]},"operator-assignment":{"match":"(=)","name":"keyword.operator.assignment.hx"},"operator-optional":{"match":"(\\\\?)(?!\\\\s)","name":"keyword.operator.optional.hx"},"operator-rest":{"match":"\\\\.\\\\.\\\\.","name":"keyword.operator.rest.hx"},"operator-type-hint":{"match":"(:)","name":"keyword.operator.type.annotation.hx"},"operators":{"patterns":[{"match":"(&&|\\\\|\\\\|)","name":"keyword.operator.logical.hx"},{"match":"([\\\\&^|~]|>>>|<<|>>)","name":"keyword.operator.bitwise.hx"},{"match":"(==|!=|<=|>=|[<>])","name":"keyword.operator.comparison.hx"},{"match":"(!)","name":"keyword.operator.logical.hx"},{"match":"(--|\\\\+\\\\+)","name":"keyword.operator.increment-decrement.hx"},{"match":"([-%*+/])","name":"keyword.operator.arithmetic.hx"},{"match":"\\\\.\\\\.\\\\.","name":"keyword.operator.intiterator.hx"},{"match":"=>","name":"keyword.operator.arrow.hx"},{"match":"\\\\?\\\\?","name":"keyword.operator.nullcoalescing.hx"},{"match":"\\\\?\\\\.","name":"keyword.operator.safenavigation.hx"},{"match":"\\\\bis\\\\b(?!\\\\()","name":"keyword.other.hx"},{"begin":"\\\\?","beginCaptures":{"0":{"name":"keyword.operator.ternary.hx"}},"end":":","endCaptures":{"0":{"name":"keyword.operator.ternary.hx"}},"patterns":[{"include":"#block"},{"include":"#block-contents"}]}]},"package":{"begin":"package\\\\b","beginCaptures":{"0":{"name":"keyword.other.package.hx"}},"end":"$|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"patterns":[{"include":"#type-path"},{"include":"#type-path-package-name"}]},"parameter":{"begin":"(?<=[(,])","end":"(?=\\\\)(?!\\\\s*->)|,)","patterns":[{"include":"#parameter-name"},{"include":"#parameter-type-hint"},{"include":"#parameter-assign"},{"include":"#global"}]},"parameter-assign":{"begin":"=","beginCaptures":{"0":{"name":"keyword.operator.assignment.hx"}},"end":"(?=[),])","patterns":[{"include":"#block"},{"include":"#block-contents"}]},"parameter-name":{"patterns":[{"captures":{"1":{"name":"variable.parameter.hx"}},"match":"\\\\s*([A-Z_a-z]\\\\w*)"},{"include":"#global"},{"include":"#metadata"},{"include":"#operator-optional"},{"include":"#operator-rest"}]},"parameter-type-hint":{"begin":":","beginCaptures":{"0":{"name":"keyword.operator.type.annotation.hx"}},"end":"(?=\\\\)(?!\\\\s*->)|[,=])","patterns":[{"include":"#type"}]},"parameters":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.hx"}},"end":"\\\\s*(\\\\)(?!\\\\s*->))","endCaptures":{"1":{"name":"punctuation.definition.parameters.end.hx"}},"name":"meta.parameters.hx","patterns":[{"include":"#parameter"},{"include":"#punctuation-comma"}]},"punctuation-accessor":{"match":"\\\\.","name":"punctuation.accessor.hx"},"punctuation-braces":{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.brace.round.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.hx"}},"patterns":[{"include":"#keywords"},{"include":"#block"},{"include":"#block-contents"},{"include":"#type-check"}]},"punctuation-comma":{"match":",","name":"punctuation.separator.comma.hx"},"punctuation-terminator":{"match":";","name":"punctuation.terminator.hx"},"regex":{"begin":"(~/)","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.hx"}},"end":"(/)([gimsu]*)","endCaptures":{"1":{"name":"punctuation.definition.string.end.hx"},"2":{"name":"keyword.other.hx"}},"name":"string.regexp.hx","patterns":[{"include":"#regexp"}]},"regex-character-class":{"patterns":[{"match":"\\\\\\\\[DSWdfnrstvw]|\\\\.","name":"constant.other.character-class.regexp"},{"match":"\\\\\\\\([0-7]{3}|x\\\\h\\\\h|u\\\\h\\\\h\\\\h\\\\h)","name":"constant.character.numeric.regexp"},{"match":"\\\\\\\\c[A-Z]","name":"constant.character.control.regexp"},{"match":"\\\\\\\\.","name":"constant.character.escape.backslash.regexp"}]},"regexp":{"patterns":[{"match":"\\\\\\\\[Bb]|[$^]","name":"keyword.control.anchor.regexp"},{"match":"\\\\\\\\[1-9]\\\\d*","name":"keyword.other.back-reference.regexp"},{"match":"[*+?]|\\\\{(\\\\d+,\\\\d+|\\\\d+,|,\\\\d+|\\\\d+)}\\\\??","name":"keyword.operator.quantifier.regexp"},{"match":"\\\\|","name":"keyword.operator.or.regexp"},{"begin":"(\\\\()((\\\\?=)|(\\\\?!))","beginCaptures":{"1":{"name":"punctuation.definition.group.regexp"},"2":{"name":"punctuation.definition.group.assertion.regexp"},"3":{"name":"meta.assertion.look-ahead.regexp"},"4":{"name":"meta.assertion.negative-look-ahead.regexp"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.group.regexp"}},"name":"meta.group.assertion.regexp","patterns":[{"include":"#regexp"}]},{"begin":"\\\\((\\\\?:)?","beginCaptures":{"0":{"name":"punctuation.definition.group.regexp"},"1":{"name":"punctuation.definition.group.capture.regexp"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.regexp"}},"name":"meta.group.regexp","patterns":[{"include":"#regexp"}]},{"begin":"(\\\\[)(\\\\^)?","beginCaptures":{"1":{"name":"punctuation.definition.character-class.regexp"},"2":{"name":"keyword.operator.negation.regexp"}},"end":"(])","endCaptures":{"1":{"name":"punctuation.definition.character-class.regexp"}},"name":"constant.other.character-class.set.regexp","patterns":[{"captures":{"1":{"name":"constant.character.numeric.regexp"},"2":{"name":"constant.character.control.regexp"},"3":{"name":"constant.character.escape.backslash.regexp"},"4":{"name":"constant.character.numeric.regexp"},"5":{"name":"constant.character.control.regexp"},"6":{"name":"constant.character.escape.backslash.regexp"}},"match":"(?:.|(\\\\\\\\(?:[0-7]{3}|x\\\\h\\\\h|u\\\\h\\\\h\\\\h\\\\h))|(\\\\\\\\c[A-Z])|(\\\\\\\\.))-(?:[^]\\\\\\\\]|(\\\\\\\\(?:[0-7]{3}|x\\\\h\\\\h|u\\\\h\\\\h\\\\h\\\\h))|(\\\\\\\\c[A-Z])|(\\\\\\\\.))","name":"constant.other.character-class.range.regexp"},{"include":"#regex-character-class"}]},{"include":"#regex-character-class"}]},"string-escape-sequences":{"patterns":[{"match":"\\\\\\\\[0-3][0-9]{2}","name":"constant.character.escape.hx"},{"match":"\\\\\\\\x\\\\h{2}","name":"constant.character.escape.hx"},{"match":"\\\\\\\\u[0-9]{4}","name":"constant.character.escape.hx"},{"match":"\\\\\\\\u\\\\{\\\\h+}","name":"constant.character.escape.hx"},{"match":"\\\\\\\\[\\"'\\\\\\\\nrt]","name":"constant.character.escape.hx"},{"match":"\\\\\\\\.","name":"invalid.escape.sequence.hx"}]},"strings":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.hx"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.hx"}},"name":"string.quoted.double.hx","patterns":[{"include":"#string-escape-sequences"}]},{"begin":"(')","beginCaptures":{"0":{"name":"string.quoted.single.hx"},"1":{"name":"punctuation.definition.string.begin.hx"}},"end":"(')","endCaptures":{"0":{"name":"string.quoted.single.hx"},"1":{"name":"punctuation.definition.string.end.hx"}},"patterns":[{"begin":"\\\\$(?=\\\\$)","beginCaptures":{"0":{"name":"constant.character.escape.hx"}},"end":"\\\\$","endCaptures":{"0":{"name":"constant.character.escape.hx"}},"name":"string.quoted.single.hx"},{"include":"#string-escape-sequences"},{"begin":"(\\\\$\\\\{)","beginCaptures":{"0":{"name":"punctuation.definition.block.begin.hx"}},"end":"(})","endCaptures":{"0":{"name":"punctuation.definition.block.end.hx"}},"patterns":[{"include":"#block-contents"}]},{"captures":{"1":{"name":"punctuation.definition.block.begin.hx"},"2":{"name":"variable.other.hx"}},"match":"(\\\\$)([A-Z_a-z]\\\\w*)"},{"match":"","name":"constant.character.escape.hx"},{"match":".","name":"string.quoted.single.hx"}]}]},"type":{"patterns":[{"include":"#global"},{"include":"#macro-reification"},{"include":"#type-name"},{"include":"#type-parameters"},{"match":"->","name":"keyword.operator.type.function.hx"},{"match":"&","name":"keyword.operator.type.intersection.hx"},{"match":"\\\\?(?=\\\\s*[A-Z_])","name":"keyword.operator.optional"},{"match":"\\\\?(?!\\\\s*[A-Z_])","name":"punctuation.definition.tag"},{"begin":"(\\\\{)","beginCaptures":{"0":{"name":"punctuation.definition.block.begin.hx"}},"end":"(?<=})","patterns":[{"include":"#typedef-block"}]},{"include":"#function-type"}]},"type-check":{"begin":"(?<!macro)(?=:)","end":"(?=\\\\))","patterns":[{"include":"#operator-type-hint"},{"include":"#type"}]},"type-name":{"patterns":[{"captures":{"1":{"name":"support.class.builtin.hx"},"2":{"name":"support.package.hx"},"3":{"name":"entity.name.type.hx"}},"match":"\\\\b(Any|Array|ArrayAccess|Bool|Class|Date|DateTools|Dynamic|Enum|EnumValue|EReg|Float|IMap|Int|IntIterator|Iterable|Iterator|KeyValueIterator|KeyValueIterable|Lambda|List|ListIterator|ListNode|Map|Math|Null|Reflect|Single|Std|String|StringBuf|StringTools|Sys|Type|UInt|UnicodeString|ValueType|Void|Xml|XmlType)(?:(\\\\.)(_*[A-Z]\\\\w*[a-z]\\\\w*))*\\\\b"},{"captures":{"1":{"name":"support.package.hx"},"3":{"name":"entity.name.type.hx"},"4":{"name":"support.package.hx"},"5":{"name":"entity.name.type.hx"}},"match":"\\\\b(?<![^.]\\\\.)((_*[a-z]\\\\w*\\\\.)*)(_*[A-Z]\\\\w*)(?:(\\\\.)(_*[A-Z]\\\\w*[a-z]\\\\w*))*\\\\b"}]},"type-parameter-constraint-new":{"match":":","name":"keyword.operator.type.annotation.hxt"},"type-parameter-constraint-old":{"begin":"(:)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.operator.type.annotation.hx"},"2":{"name":"punctuation.definition.constraint.begin.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.constraint.end.hx"}},"patterns":[{"include":"#type"},{"include":"#punctuation-comma"}]},"type-parameters":{"begin":"(<)","beginCaptures":{"1":{"name":"punctuation.definition.typeparameters.begin.hx"}},"end":"(?=$)|(>)","endCaptures":{"1":{"name":"punctuation.definition.typeparameters.end.hx"}},"name":"meta.type-parameters.hx","patterns":[{"include":"#type"},{"include":"#type-parameter-constraint-old"},{"include":"#type-parameter-constraint-new"},{"include":"#global"},{"include":"#regex"},{"include":"#array"},{"include":"#constants"},{"include":"#strings"},{"include":"#metadata"},{"include":"#punctuation-comma"}]},"type-path":{"patterns":[{"include":"#global"},{"include":"#punctuation-accessor"},{"include":"#type-path-type-name"}]},"type-path-package-name":{"match":"\\\\b([A-Z_a-z]\\\\w*)\\\\b","name":"support.package.hx"},"type-path-type-name":{"match":"\\\\b(_*[A-Z]\\\\w*)\\\\b","name":"entity.name.type.hx"},"typedef":{"begin":"(?=typedef)","end":"(?<=})|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"name":"meta.typedef.hx","patterns":[{"include":"#typedef-name"},{"include":"#typedef-name-post"},{"include":"#typedef-block"}]},"typedef-block":{"begin":"(?<=\\\\{)","end":"(})","endCaptures":{"1":{"name":"punctuation.definition.block.end.hx"}},"name":"meta.block.hx","patterns":[{"include":"#global"},{"include":"#metadata"},{"include":"#method"},{"include":"#variable"},{"include":"#modifiers"},{"include":"#punctuation-comma"},{"include":"#operator-optional"},{"include":"#typedef-extension"},{"include":"#typedef-simple-field-type-hint"},{"include":"#identifier-name"},{"include":"#strings"}]},"typedef-extension":{"begin":">","end":",|$","patterns":[{"include":"#type"}]},"typedef-name":{"begin":"\\\\b(typedef)\\\\b","beginCaptures":{"1":{"name":"storage.type.class.hx"}},"end":"([A-Z_a-z]\\\\w*)","endCaptures":{"1":{"name":"entity.name.type.class.hx"}},"patterns":[{"include":"#global"}]},"typedef-name-post":{"begin":"(?<=\\\\w)","end":"(\\\\{)|(?=;)","endCaptures":{"1":{"name":"punctuation.definition.block.begin.hx"}},"patterns":[{"include":"#global"},{"include":"#punctuation-brackets"},{"include":"#punctuation-separator"},{"include":"#operator-assignment"},{"include":"#type"}]},"typedef-simple-field-type-hint":{"begin":":","beginCaptures":{"0":{"name":"keyword.operator.type.annotation.hx"}},"end":"(?=[,;}])","patterns":[{"include":"#type"}]},"using":{"begin":"using\\\\b","beginCaptures":{"0":{"name":"keyword.other.using.hx"}},"end":"$|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"patterns":[{"include":"#type-path"},{"include":"#type-path-package-name"}]},"variable":{"begin":"(?=\\\\b(var|final)\\\\b)","end":"(?=$)|(;)","endCaptures":{"1":{"name":"punctuation.terminator.hx"}},"patterns":[{"include":"#variable-name"},{"include":"#variable-name-next"},{"include":"#variable-assign"},{"include":"#variable-name-post"}]},"variable-accessors":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.hx"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.hx"}},"name":"meta.parameters.hx","patterns":[{"include":"#global"},{"include":"#keywords-accessor"},{"include":"#accessor-method"},{"include":"#punctuation-comma"}]},"variable-assign":{"begin":"=","beginCaptures":{"0":{"name":"keyword.operator.assignment.hx"}},"end":"(?=[,;])","patterns":[{"include":"#block"},{"include":"#block-contents"}]},"variable-name":{"begin":"\\\\b(var|final)\\\\b","beginCaptures":{"1":{"name":"storage.type.variable.hx"}},"end":"(?=$)|([A-Z_a-z]\\\\w*)","endCaptures":{"1":{"name":"variable.other.hx"}},"patterns":[{"include":"#operator-optional"}]},"variable-name-next":{"begin":",","beginCaptures":{"0":{"name":"punctuation.separator.comma.hx"}},"end":"([A-Z_a-z]\\\\w*)","endCaptures":{"1":{"name":"variable.other.hx"}},"patterns":[{"include":"#global"}]},"variable-name-post":{"begin":"(?<=\\\\w)","end":"(?=;)|(?==)","patterns":[{"include":"#variable-accessors"},{"include":"#variable-type-hint"},{"include":"#block-contents"}]},"variable-type-hint":{"begin":":","beginCaptures":{"0":{"name":"keyword.operator.type.annotation.hx"}},"end":"(?=$|[,;=])","patterns":[{"include":"#type"}]}},"scopeName":"source.hx"}`)), 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":"HashiCorp HCL","fileTypes":["hcl"],"name":"hcl","patterns":[{"include":"#comments"},{"include":"#attribute_definition"},{"include":"#block"},{"include":"#expressions"}],"repository":{"attribute_access":{"begin":"\\\\.(?!\\\\*)","beginCaptures":{"0":{"name":"keyword.operator.accessor.hcl"}},"end":"\\\\p{alpha}[-\\\\w]*|\\\\d*","endCaptures":{"0":{"patterns":[{"match":"(?!null|false|true)\\\\p{alpha}[-\\\\w]*","name":"variable.other.member.hcl"},{"match":"\\\\d+","name":"constant.numeric.integer.hcl"}]}}},"attribute_definition":{"captures":{"1":{"name":"punctuation.section.parens.begin.hcl"},"2":{"name":"variable.other.readwrite.hcl"},"3":{"name":"punctuation.section.parens.end.hcl"},"4":{"name":"keyword.operator.assignment.hcl"}},"match":"(\\\\()?\\\\b((?!(?:null|false|true)\\\\b)\\\\p{alpha}[-_[:alnum:]]*)(\\\\))?\\\\s*(=(?![=>]))\\\\s*","name":"variable.declaration.hcl"},"attribute_splat":{"begin":"\\\\.","beginCaptures":{"0":{"name":"keyword.operator.accessor.hcl"}},"end":"\\\\*","endCaptures":{"0":{"name":"keyword.operator.splat.hcl"}}},"block":{"begin":"(\\\\w[-\\\\w]*)(([^\\\\n\\\\r\\\\S]+(\\\\w[-_\\\\w]*|\\"[^\\\\n\\\\r\\"]*\\"))*)[^\\\\n\\\\r\\\\S]*(\\\\{)","beginCaptures":{"1":{"patterns":[{"match":"\\\\b(?!null|false|true)\\\\p{alpha}[-_[:alnum:]]*\\\\b","name":"entity.name.type.hcl"}]},"2":{"patterns":[{"match":"\\"[^\\\\n\\\\r\\"]*\\"","name":"variable.other.enummember.hcl"},{"match":"\\\\p{alpha}[-_[:alnum:]]*","name":"variable.other.enummember.hcl"}]},"5":{"name":"punctuation.section.block.begin.hcl"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.block.end.hcl"}},"name":"meta.block.hcl","patterns":[{"include":"#comments"},{"include":"#attribute_definition"},{"include":"#expressions"},{"include":"#block"}]},"block_inline_comments":{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.hcl"}},"end":"\\\\*/","name":"comment.block.hcl"},"brackets":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.section.brackets.begin.hcl"}},"end":"]","endCaptures":{"0":{"name":"punctuation.section.brackets.end.hcl"}},"patterns":[{"match":"\\\\*","name":"keyword.operator.splat.hcl"},{"include":"#comma"},{"include":"#comments"},{"include":"#inline_for_expression"},{"include":"#inline_if_expression"},{"include":"#expressions"},{"include":"#local_identifiers"}]},"char_escapes":{"match":"\\\\\\\\(?:[\\"\\\\\\\\nrt]|u(\\\\h{8}|\\\\h{4}))","name":"constant.character.escape.hcl"},"comma":{"match":",","name":"punctuation.separator.hcl"},"comments":{"patterns":[{"include":"#hash_line_comments"},{"include":"#double_slash_line_comments"},{"include":"#block_inline_comments"}]},"double_slash_line_comments":{"begin":"//","captures":{"0":{"name":"punctuation.definition.comment.hcl"}},"end":"$\\\\n?","name":"comment.line.double-slash.hcl"},"expressions":{"patterns":[{"include":"#literal_values"},{"include":"#operators"},{"include":"#tuple_for_expression"},{"include":"#object_for_expression"},{"include":"#brackets"},{"include":"#objects"},{"include":"#attribute_access"},{"include":"#attribute_splat"},{"include":"#functions"},{"include":"#parens"}]},"for_expression_body":{"patterns":[{"match":"\\\\bin\\\\b","name":"keyword.operator.word.hcl"},{"match":"\\\\bif\\\\b","name":"keyword.control.conditional.hcl"},{"match":":","name":"keyword.operator.hcl"},{"include":"#expressions"},{"include":"#comments"},{"include":"#comma"},{"include":"#local_identifiers"}]},"functions":{"begin":"([-:\\\\w]+)(\\\\()","beginCaptures":{"1":{"patterns":[{"match":"\\\\b\\\\p{alpha}[-_\\\\w]*::(\\\\p{alpha}[-_\\\\w]*::)?\\\\p{alpha}[-_\\\\w]*\\\\b","name":"support.function.namespaced.hcl"},{"match":"\\\\b\\\\p{alpha}[-_\\\\w]*\\\\b","name":"support.function.builtin.hcl"}]},"2":{"name":"punctuation.section.parens.begin.hcl"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.parens.end.hcl"}},"name":"meta.function-call.hcl","patterns":[{"include":"#comments"},{"include":"#expressions"},{"include":"#comma"}]},"hash_line_comments":{"begin":"#","captures":{"0":{"name":"punctuation.definition.comment.hcl"}},"end":"$\\\\n?","name":"comment.line.number-sign.hcl"},"hcl_type_keywords":{"match":"\\\\b(any|string|number|bool|list|set|map|tuple|object)\\\\b","name":"storage.type.hcl"},"heredoc":{"begin":"(<<-?)\\\\s*(\\\\w+)\\\\s*$","beginCaptures":{"1":{"name":"keyword.operator.heredoc.hcl"},"2":{"name":"keyword.control.heredoc.hcl"}},"end":"^\\\\s*\\\\2\\\\s*$","endCaptures":{"0":{"name":"keyword.control.heredoc.hcl"}},"name":"string.unquoted.heredoc.hcl","patterns":[{"include":"#string_interpolation"}]},"inline_for_expression":{"captures":{"1":{"name":"keyword.control.hcl"},"2":{"patterns":[{"match":"=>","name":"storage.type.function.hcl"},{"include":"#for_expression_body"}]}},"match":"(for)\\\\b(.*)\\\\n"},"inline_if_expression":{"begin":"(if)\\\\b","beginCaptures":{"1":{"name":"keyword.control.conditional.hcl"}},"end":"\\\\n","patterns":[{"include":"#expressions"},{"include":"#comments"},{"include":"#comma"},{"include":"#local_identifiers"}]},"language_constants":{"match":"\\\\b(true|false|null)\\\\b","name":"constant.language.hcl"},"literal_values":{"patterns":[{"include":"#numeric_literals"},{"include":"#language_constants"},{"include":"#string_literals"},{"include":"#heredoc"},{"include":"#hcl_type_keywords"}]},"local_identifiers":{"match":"\\\\b(?!null|false|true)\\\\p{alpha}[-_[:alnum:]]*\\\\b","name":"variable.other.readwrite.hcl"},"numeric_literals":{"patterns":[{"captures":{"1":{"name":"punctuation.separator.exponent.hcl"}},"match":"\\\\b\\\\d+([Ee][-+]?)\\\\d+\\\\b","name":"constant.numeric.float.hcl"},{"captures":{"1":{"name":"punctuation.separator.decimal.hcl"},"2":{"name":"punctuation.separator.exponent.hcl"}},"match":"\\\\b\\\\d+(\\\\.)\\\\d+(?:([Ee][-+]?)\\\\d+)?\\\\b","name":"constant.numeric.float.hcl"},{"match":"\\\\b\\\\d+\\\\b","name":"constant.numeric.integer.hcl"}]},"object_for_expression":{"begin":"(\\\\{)\\\\s?(for)\\\\b","beginCaptures":{"1":{"name":"punctuation.section.braces.begin.hcl"},"2":{"name":"keyword.control.hcl"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.braces.end.hcl"}},"patterns":[{"match":"=>","name":"storage.type.function.hcl"},{"include":"#for_expression_body"}]},"object_key_values":{"patterns":[{"include":"#comments"},{"include":"#literal_values"},{"include":"#operators"},{"include":"#tuple_for_expression"},{"include":"#object_for_expression"},{"include":"#heredoc"},{"include":"#functions"}]},"objects":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.braces.begin.hcl"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.braces.end.hcl"}},"name":"meta.braces.hcl","patterns":[{"include":"#comments"},{"include":"#objects"},{"include":"#inline_for_expression"},{"include":"#inline_if_expression"},{"captures":{"1":{"name":"meta.mapping.key.hcl variable.other.readwrite.hcl"},"2":{"name":"keyword.operator.assignment.hcl"}},"match":"\\\\b((?!null|false|true)\\\\p{alpha}[-_[:alnum:]]*)\\\\s*(=(?!=))\\\\s*"},{"captures":{"1":{"name":"meta.mapping.key.hcl string.quoted.double.hcl"},"2":{"name":"punctuation.definition.string.begin.hcl"},"3":{"name":"punctuation.definition.string.end.hcl"},"4":{"name":"keyword.operator.hcl"}},"match":"^\\\\s*((\\").*(\\"))\\\\s*(=)\\\\s*"},{"begin":"^\\\\s*\\\\(","beginCaptures":{"0":{"name":"punctuation.section.parens.begin.hcl"}},"end":"(\\\\))\\\\s*([:=])\\\\s*","endCaptures":{"1":{"name":"punctuation.section.parens.end.hcl"},"2":{"name":"keyword.operator.hcl"}},"name":"meta.mapping.key.hcl","patterns":[{"include":"#attribute_access"},{"include":"#attribute_splat"}]},{"include":"#object_key_values"}]},"operators":{"patterns":[{"match":">=","name":"keyword.operator.hcl"},{"match":"<=","name":"keyword.operator.hcl"},{"match":"==","name":"keyword.operator.hcl"},{"match":"!=","name":"keyword.operator.hcl"},{"match":"\\\\+","name":"keyword.operator.arithmetic.hcl"},{"match":"-","name":"keyword.operator.arithmetic.hcl"},{"match":"\\\\*","name":"keyword.operator.arithmetic.hcl"},{"match":"/","name":"keyword.operator.arithmetic.hcl"},{"match":"%","name":"keyword.operator.arithmetic.hcl"},{"match":"&&","name":"keyword.operator.logical.hcl"},{"match":"\\\\|\\\\|","name":"keyword.operator.logical.hcl"},{"match":"!","name":"keyword.operator.logical.hcl"},{"match":">","name":"keyword.operator.hcl"},{"match":"<","name":"keyword.operator.hcl"},{"match":"\\\\?","name":"keyword.operator.hcl"},{"match":"\\\\.\\\\.\\\\.","name":"keyword.operator.hcl"},{"match":":","name":"keyword.operator.hcl"},{"match":"=>","name":"keyword.operator.hcl"}]},"parens":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.parens.begin.hcl"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.parens.end.hcl"}},"patterns":[{"include":"#comments"},{"include":"#expressions"}]},"string_interpolation":{"begin":"(?<![$%])([$%]\\\\{)","beginCaptures":{"1":{"name":"keyword.other.interpolation.begin.hcl"}},"end":"}","endCaptures":{"0":{"name":"keyword.other.interpolation.end.hcl"}},"name":"meta.interpolation.hcl","patterns":[{"match":"~\\\\s","name":"keyword.operator.template.left.trim.hcl"},{"match":"\\\\s~","name":"keyword.operator.template.right.trim.hcl"},{"match":"\\\\b(if|else|endif|for|in|endfor)\\\\b","name":"keyword.control.hcl"},{"include":"#expressions"},{"include":"#local_identifiers"}]},"string_literals":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.hcl"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.hcl"}},"name":"string.quoted.double.hcl","patterns":[{"include":"#string_interpolation"},{"include":"#char_escapes"}]},"tuple_for_expression":{"begin":"(\\\\[)\\\\s?(for)\\\\b","beginCaptures":{"1":{"name":"punctuation.section.brackets.begin.hcl"},"2":{"name":"keyword.control.hcl"}},"end":"]","endCaptures":{"0":{"name":"punctuation.section.brackets.end.hcl"}},"patterns":[{"include":"#for_expression_body"}]}},"scopeName":"source.hcl"}')),n=[e];exports.default=n;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const e = Object.freeze(JSON.parse('{"displayName":"HashiCorp HCL","fileTypes":["hcl"],"name":"hcl","patterns":[{"include":"#comments"},{"include":"#attribute_definition"},{"include":"#block"},{"include":"#expressions"}],"repository":{"attribute_access":{"begin":"\\\\.(?!\\\\*)","beginCaptures":{"0":{"name":"keyword.operator.accessor.hcl"}},"end":"\\\\p{alpha}[-\\\\w]*|\\\\d*","endCaptures":{"0":{"patterns":[{"match":"(?!null|false|true)\\\\p{alpha}[-\\\\w]*","name":"variable.other.member.hcl"},{"match":"\\\\d+","name":"constant.numeric.integer.hcl"}]}}},"attribute_definition":{"captures":{"1":{"name":"punctuation.section.parens.begin.hcl"},"2":{"name":"variable.other.readwrite.hcl"},"3":{"name":"punctuation.section.parens.end.hcl"},"4":{"name":"keyword.operator.assignment.hcl"}},"match":"(\\\\()?\\\\b((?!(?:null|false|true)\\\\b)\\\\p{alpha}[-_[:alnum:]]*)(\\\\))?\\\\s*(=(?![=>]))\\\\s*","name":"variable.declaration.hcl"},"attribute_splat":{"begin":"\\\\.","beginCaptures":{"0":{"name":"keyword.operator.accessor.hcl"}},"end":"\\\\*","endCaptures":{"0":{"name":"keyword.operator.splat.hcl"}}},"block":{"begin":"(\\\\w[-\\\\w]*)(([^\\\\n\\\\r\\\\S]+(\\\\w[-_\\\\w]*|\\"[^\\\\n\\\\r\\"]*\\"))*)[^\\\\n\\\\r\\\\S]*(\\\\{)","beginCaptures":{"1":{"patterns":[{"match":"\\\\b(?!null|false|true)\\\\p{alpha}[-_[:alnum:]]*\\\\b","name":"entity.name.type.hcl"}]},"2":{"patterns":[{"match":"\\"[^\\\\n\\\\r\\"]*\\"","name":"variable.other.enummember.hcl"},{"match":"\\\\p{alpha}[-_[:alnum:]]*","name":"variable.other.enummember.hcl"}]},"5":{"name":"punctuation.section.block.begin.hcl"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.block.end.hcl"}},"name":"meta.block.hcl","patterns":[{"include":"#comments"},{"include":"#attribute_definition"},{"include":"#expressions"},{"include":"#block"}]},"block_inline_comments":{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.hcl"}},"end":"\\\\*/","name":"comment.block.hcl"},"brackets":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.section.brackets.begin.hcl"}},"end":"]","endCaptures":{"0":{"name":"punctuation.section.brackets.end.hcl"}},"patterns":[{"match":"\\\\*","name":"keyword.operator.splat.hcl"},{"include":"#comma"},{"include":"#comments"},{"include":"#inline_for_expression"},{"include":"#inline_if_expression"},{"include":"#expressions"},{"include":"#local_identifiers"}]},"char_escapes":{"match":"\\\\\\\\(?:[\\"\\\\\\\\nrt]|u(\\\\h{8}|\\\\h{4}))","name":"constant.character.escape.hcl"},"comma":{"match":",","name":"punctuation.separator.hcl"},"comments":{"patterns":[{"include":"#hash_line_comments"},{"include":"#double_slash_line_comments"},{"include":"#block_inline_comments"}]},"double_slash_line_comments":{"begin":"//","captures":{"0":{"name":"punctuation.definition.comment.hcl"}},"end":"$\\\\n?","name":"comment.line.double-slash.hcl"},"expressions":{"patterns":[{"include":"#literal_values"},{"include":"#operators"},{"include":"#tuple_for_expression"},{"include":"#object_for_expression"},{"include":"#brackets"},{"include":"#objects"},{"include":"#attribute_access"},{"include":"#attribute_splat"},{"include":"#functions"},{"include":"#parens"}]},"for_expression_body":{"patterns":[{"match":"\\\\bin\\\\b","name":"keyword.operator.word.hcl"},{"match":"\\\\bif\\\\b","name":"keyword.control.conditional.hcl"},{"match":":","name":"keyword.operator.hcl"},{"include":"#expressions"},{"include":"#comments"},{"include":"#comma"},{"include":"#local_identifiers"}]},"functions":{"begin":"([-:\\\\w]+)(\\\\()","beginCaptures":{"1":{"patterns":[{"match":"\\\\b\\\\p{alpha}[-_\\\\w]*::(\\\\p{alpha}[-_\\\\w]*::)?\\\\p{alpha}[-_\\\\w]*\\\\b","name":"support.function.namespaced.hcl"},{"match":"\\\\b\\\\p{alpha}[-_\\\\w]*\\\\b","name":"support.function.builtin.hcl"}]},"2":{"name":"punctuation.section.parens.begin.hcl"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.parens.end.hcl"}},"name":"meta.function-call.hcl","patterns":[{"include":"#comments"},{"include":"#expressions"},{"include":"#comma"}]},"hash_line_comments":{"begin":"#","captures":{"0":{"name":"punctuation.definition.comment.hcl"}},"end":"$\\\\n?","name":"comment.line.number-sign.hcl"},"hcl_type_keywords":{"match":"\\\\b(any|string|number|bool|list|set|map|tuple|object)\\\\b","name":"storage.type.hcl"},"heredoc":{"begin":"(<<-?)\\\\s*(\\\\w+)\\\\s*$","beginCaptures":{"1":{"name":"keyword.operator.heredoc.hcl"},"2":{"name":"keyword.control.heredoc.hcl"}},"end":"^\\\\s*\\\\2\\\\s*$","endCaptures":{"0":{"name":"keyword.control.heredoc.hcl"}},"name":"string.unquoted.heredoc.hcl","patterns":[{"include":"#string_interpolation"}]},"inline_for_expression":{"captures":{"1":{"name":"keyword.control.hcl"},"2":{"patterns":[{"match":"=>","name":"storage.type.function.hcl"},{"include":"#for_expression_body"}]}},"match":"(for)\\\\b(.*)\\\\n"},"inline_if_expression":{"begin":"(if)\\\\b","beginCaptures":{"1":{"name":"keyword.control.conditional.hcl"}},"end":"\\\\n","patterns":[{"include":"#expressions"},{"include":"#comments"},{"include":"#comma"},{"include":"#local_identifiers"}]},"language_constants":{"match":"\\\\b(true|false|null)\\\\b","name":"constant.language.hcl"},"literal_values":{"patterns":[{"include":"#numeric_literals"},{"include":"#language_constants"},{"include":"#string_literals"},{"include":"#heredoc"},{"include":"#hcl_type_keywords"}]},"local_identifiers":{"match":"\\\\b(?!null|false|true)\\\\p{alpha}[-_[:alnum:]]*\\\\b","name":"variable.other.readwrite.hcl"},"numeric_literals":{"patterns":[{"captures":{"1":{"name":"punctuation.separator.exponent.hcl"}},"match":"\\\\b\\\\d+([Ee][-+]?)\\\\d+\\\\b","name":"constant.numeric.float.hcl"},{"captures":{"1":{"name":"punctuation.separator.decimal.hcl"},"2":{"name":"punctuation.separator.exponent.hcl"}},"match":"\\\\b\\\\d+(\\\\.)\\\\d+(?:([Ee][-+]?)\\\\d+)?\\\\b","name":"constant.numeric.float.hcl"},{"match":"\\\\b\\\\d+\\\\b","name":"constant.numeric.integer.hcl"}]},"object_for_expression":{"begin":"(\\\\{)\\\\s?(for)\\\\b","beginCaptures":{"1":{"name":"punctuation.section.braces.begin.hcl"},"2":{"name":"keyword.control.hcl"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.braces.end.hcl"}},"patterns":[{"match":"=>","name":"storage.type.function.hcl"},{"include":"#for_expression_body"}]},"object_key_values":{"patterns":[{"include":"#comments"},{"include":"#literal_values"},{"include":"#operators"},{"include":"#tuple_for_expression"},{"include":"#object_for_expression"},{"include":"#heredoc"},{"include":"#functions"}]},"objects":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.braces.begin.hcl"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.braces.end.hcl"}},"name":"meta.braces.hcl","patterns":[{"include":"#comments"},{"include":"#objects"},{"include":"#inline_for_expression"},{"include":"#inline_if_expression"},{"captures":{"1":{"name":"meta.mapping.key.hcl variable.other.readwrite.hcl"},"2":{"name":"keyword.operator.assignment.hcl"}},"match":"\\\\b((?!null|false|true)\\\\p{alpha}[-_[:alnum:]]*)\\\\s*(=(?!=))\\\\s*"},{"captures":{"1":{"name":"meta.mapping.key.hcl string.quoted.double.hcl"},"2":{"name":"punctuation.definition.string.begin.hcl"},"3":{"name":"punctuation.definition.string.end.hcl"},"4":{"name":"keyword.operator.hcl"}},"match":"^\\\\s*((\\").*(\\"))\\\\s*(=)\\\\s*"},{"begin":"^\\\\s*\\\\(","beginCaptures":{"0":{"name":"punctuation.section.parens.begin.hcl"}},"end":"(\\\\))\\\\s*([:=])\\\\s*","endCaptures":{"1":{"name":"punctuation.section.parens.end.hcl"},"2":{"name":"keyword.operator.hcl"}},"name":"meta.mapping.key.hcl","patterns":[{"include":"#attribute_access"},{"include":"#attribute_splat"}]},{"include":"#object_key_values"}]},"operators":{"patterns":[{"match":">=","name":"keyword.operator.hcl"},{"match":"<=","name":"keyword.operator.hcl"},{"match":"==","name":"keyword.operator.hcl"},{"match":"!=","name":"keyword.operator.hcl"},{"match":"\\\\+","name":"keyword.operator.arithmetic.hcl"},{"match":"-","name":"keyword.operator.arithmetic.hcl"},{"match":"\\\\*","name":"keyword.operator.arithmetic.hcl"},{"match":"/","name":"keyword.operator.arithmetic.hcl"},{"match":"%","name":"keyword.operator.arithmetic.hcl"},{"match":"&&","name":"keyword.operator.logical.hcl"},{"match":"\\\\|\\\\|","name":"keyword.operator.logical.hcl"},{"match":"!","name":"keyword.operator.logical.hcl"},{"match":">","name":"keyword.operator.hcl"},{"match":"<","name":"keyword.operator.hcl"},{"match":"\\\\?","name":"keyword.operator.hcl"},{"match":"\\\\.\\\\.\\\\.","name":"keyword.operator.hcl"},{"match":":","name":"keyword.operator.hcl"},{"match":"=>","name":"keyword.operator.hcl"}]},"parens":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.parens.begin.hcl"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.parens.end.hcl"}},"patterns":[{"include":"#comments"},{"include":"#expressions"}]},"string_interpolation":{"begin":"(?<![$%])([$%]\\\\{)","beginCaptures":{"1":{"name":"keyword.other.interpolation.begin.hcl"}},"end":"}","endCaptures":{"0":{"name":"keyword.other.interpolation.end.hcl"}},"name":"meta.interpolation.hcl","patterns":[{"match":"~\\\\s","name":"keyword.operator.template.left.trim.hcl"},{"match":"\\\\s~","name":"keyword.operator.template.right.trim.hcl"},{"match":"\\\\b(if|else|endif|for|in|endfor)\\\\b","name":"keyword.control.hcl"},{"include":"#expressions"},{"include":"#local_identifiers"}]},"string_literals":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.hcl"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.hcl"}},"name":"string.quoted.double.hcl","patterns":[{"include":"#string_interpolation"},{"include":"#char_escapes"}]},"tuple_for_expression":{"begin":"(\\\\[)\\\\s?(for)\\\\b","beginCaptures":{"1":{"name":"punctuation.section.brackets.begin.hcl"},"2":{"name":"keyword.control.hcl"}},"end":"]","endCaptures":{"0":{"name":"punctuation.section.brackets.end.hcl"}},"patterns":[{"include":"#for_expression_body"}]}},"scopeName":"source.hcl"}')), 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 n=Object.freeze(JSON.parse(`{"displayName":"Hjson","fileTypes":["hjson"],"foldingStartMarker":"^\\\\s*[\\\\[{](?!.*[]}],?\\\\s*$)|[\\\\[{]\\\\s*$","foldingStopMarker":"^\\\\s*[]}]","name":"hjson","patterns":[{"include":"#comments"},{"include":"#value"},{"match":"\\\\S","name":"invalid.illegal.excess-characters.hjson"}],"repository":{"array":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.array.begin.hjson"}},"end":"(])(?:\\\\s*([^,\\\\s]+))?","endCaptures":{"1":{"name":"punctuation.definition.array.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"meta.structure.array.hjson","patterns":[{"include":"#arrayContent"}]},"arrayArray":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.array.begin.hjson"}},"end":"(])(?:\\\\s*([^],\\\\s]+))?","endCaptures":{"1":{"name":"punctuation.definition.array.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"meta.structure.array.hjson","patterns":[{"include":"#arrayContent"}]},"arrayConstant":{"captures":{"1":{"name":"constant.language.hjson"},"2":{"name":"punctuation.separator.array.after-const.hjson"}},"match":"\\\\b(true|false|null)(?:[\\\\t ]*(?=,)|[\\\\t ]*(?:(,)[\\\\t ]*)?(?=$|#|/\\\\*|//|]))"},"arrayContent":{"name":"meta.structure.array.hjson","patterns":[{"include":"#comments"},{"include":"#arrayValue"},{"begin":"(?<=\\\\[)|,","beginCaptures":{"1":{"name":"punctuation.separator.dictionary.pair.hjson"}},"end":"(?=[^#,/\\\\s])|(?=/[^*/])","patterns":[{"include":"#comments"},{"match":",","name":"invalid.illegal.extra-comma.hjson"}]},{"match":",","name":"punctuation.separator.array.hjson"},{"match":"[^]\\\\s]","name":"invalid.illegal.expected-array-separator.hjson"}]},"arrayJstring":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.hjson"}},"end":"(\\")(?:\\\\s*((?:[^]#,/\\\\s]|/[^*/])+))?","endCaptures":{"1":{"name":"punctuation.definition.string.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"string.quoted.double.hjson","patterns":[{"include":"#jstringDoubleContent"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.hjson"}},"end":"(')(?:\\\\s*((?:[^]#,/\\\\s]|/[^*/])+))?","endCaptures":{"1":{"name":"punctuation.definition.string.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"string.quoted.single.hjson","patterns":[{"include":"#jstringSingleContent"}]}]},"arrayMstring":{"begin":"'''","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.hjson"}},"end":"(''')(?:\\\\s*((?:[^]#,/\\\\s]|/[^*/])+))?","endCaptures":{"1":{"name":"punctuation.definition.string.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"string.quoted.multiline.hjson"},"arrayNumber":{"captures":{"1":{"name":"constant.numeric.hjson"},"2":{"name":"punctuation.separator.array.after-num.hjson"}},"match":"(-?(?:0|[1-9]\\\\d*)(?:\\\\.\\\\d+)?(?:[Ee][-+]?\\\\d+)?)(?:[\\\\t ]*(?=,)|[\\\\t ]*(?:(,)[\\\\t ]*)?(?=$|#|/\\\\*|//|]))"},"arrayObject":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.dictionary.begin.hjson"}},"end":"(}|(?<=}))(?:\\\\s*([^],\\\\s]+))?","endCaptures":{"1":{"name":"punctuation.definition.dictionary.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"meta.structure.dictionary.hjson","patterns":[{"include":"#objectContent"}]},"arrayString":{"patterns":[{"include":"#arrayMstring"},{"include":"#arrayJstring"},{"include":"#ustring"}]},"arrayValue":{"patterns":[{"include":"#arrayNumber"},{"include":"#arrayConstant"},{"include":"#arrayString"},{"include":"#arrayObject"},{"include":"#arrayArray"}]},"comments":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.hjson"}},"match":"^\\\\s*(#).*\\\\n?","name":"comment.line.hash"},{"captures":{"1":{"name":"punctuation.definition.comment.hjson"}},"match":"^\\\\s*(//).*\\\\n?","name":"comment.line.double-slash"},{"begin":"^\\\\s*/\\\\*","beginCaptures":{"1":{"name":"punctuation.definition.comment.hjson"}},"end":"\\\\*/(?:\\\\s*\\\\n)?","endCaptures":{"1":{"name":"punctuation.definition.comment.hjson"}},"name":"comment.block.double-slash"},{"captures":{"1":{"name":"punctuation.definition.comment.hjson"}},"match":"(#)[^\\\\n]*","name":"comment.line.hash"},{"captures":{"1":{"name":"punctuation.definition.comment.hjson"}},"match":"(//)[^\\\\n]*","name":"comment.line.double-slash"},{"begin":"/\\\\*","beginCaptures":{"1":{"name":"punctuation.definition.comment.hjson"}},"end":"\\\\*/","endCaptures":{"1":{"name":"punctuation.definition.comment.hjson"}},"name":"comment.block.double-slash"}]},"commentsNewline":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.hjson"}},"match":"(#).*\\\\n","name":"comment.line.hash"},{"captures":{"1":{"name":"punctuation.definition.comment.hjson"}},"match":"(//).*\\\\n","name":"comment.line.double-slash"},{"begin":"/\\\\*","beginCaptures":{"1":{"name":"punctuation.definition.comment.hjson"}},"end":"\\\\*/(\\\\s*\\\\n)?","endCaptures":{"1":{"name":"punctuation.definition.comment.hjson"}},"name":"comment.block.double-slash"}]},"constant":{"captures":{"1":{"name":"constant.language.hjson"}},"match":"\\\\b(true|false|null)[\\\\t ]*(?=$|#|/\\\\*|//|])"},"jstring":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.hjson"}},"end":"(\\")(?:\\\\s*((?:[^#/\\\\s]|/[^*/]).*)$)?","endCaptures":{"1":{"name":"punctuation.definition.string.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"string.quoted.double.hjson","patterns":[{"include":"#jstringDoubleContent"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.hjson"}},"end":"(')(?:\\\\s*((?:[^#/\\\\s]|/[^*/]).*)$)?","endCaptures":{"1":{"name":"punctuation.definition.string.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"string.quoted.single.hjson","patterns":[{"include":"#jstringSingleContent"}]}]},"jstringDoubleContent":{"patterns":[{"match":"\\\\\\\\(?:[\\"'/\\\\\\\\bfnrt]|u\\\\h{4})","name":"constant.character.escape.hjson"},{"match":"\\\\\\\\.","name":"invalid.illegal.unrecognized-string-escape.hjson"},{"match":"[^\\"]*[^\\\\n\\\\r\\"\\\\\\\\]$","name":"invalid.illegal.string.hjson"}]},"jstringSingleContent":{"patterns":[{"match":"\\\\\\\\(?:[\\"'/\\\\\\\\bfnrt]|u\\\\h{4})","name":"constant.character.escape.hjson"},{"match":"\\\\\\\\.","name":"invalid.illegal.unrecognized-string-escape.hjson"},{"match":"[^']*[^\\\\n\\\\r'\\\\\\\\]$","name":"invalid.illegal.string.hjson"}]},"key":{"begin":"([^]\\"',:\\\\[{}\\\\s][^],:\\\\[{}\\\\s]*|'(?:[^'\\\\\\\\]|(\\\\\\\\(?:[\\"'/\\\\\\\\bfnrt]|u\\\\h{4}))|(\\\\\\\\.))*'|\\"(?:[^\\"\\\\\\\\]|(\\\\\\\\(?:[\\"'/\\\\\\\\bfnrt]|u\\\\h{4}))|(\\\\\\\\.))*\\")\\\\s*(?!\\\\n)([],\\\\[{}]*)","beginCaptures":{"0":{"name":"meta.structure.key-value.begin.hjson"},"1":{"name":"support.type.property-name.hjson"},"2":{"name":"constant.character.escape.hjson"},"3":{"name":"invalid.illegal.unrecognized-string-escape.hjson"},"4":{"name":"constant.character.escape.hjson"},"5":{"name":"invalid.illegal.unrecognized-string-escape.hjson"},"6":{"name":"invalid.illegal.separator.hjson"},"7":{"name":"invalid.illegal.property-name.hjson"}},"end":"(?<!^|:)\\\\s*\\\\n|(?=})|(,)","endCaptures":{"1":{"name":"punctuation.separator.dictionary.pair.hjson"}},"patterns":[{"include":"#commentsNewline"},{"include":"#keyValue"},{"match":"\\\\S","name":"invalid.illegal.object-property.hjson"}]},"keyValue":{"begin":"\\\\s*(:)\\\\s*([],}]*)","beginCaptures":{"1":{"name":"punctuation.separator.dictionary.key-value.hjson"},"2":{"name":"invalid.illegal.object-property.hjson"}},"end":"(?<!^)\\\\s*(?=\\\\n)|(?=[,}])","name":"meta.structure.key-value.hjson","patterns":[{"include":"#comments"},{"match":"^\\\\s+"},{"include":"#objectValue"},{"captures":{"1":{"name":"invalid.illegal.object-property.closing-bracket.hjson"}},"match":"^\\\\s*(})"},{"match":"\\\\S","name":"invalid.illegal.object-property.hjson"}]},"mstring":{"begin":"'''","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.hjson"}},"end":"(''')(?:\\\\s*((?:[^#/\\\\s]|/[^*/]).*)$)?","endCaptures":{"1":{"name":"punctuation.definition.string.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"string.quoted.multiline.hjson"},"number":{"captures":{"1":{"name":"constant.numeric.hjson"}},"match":"(-?(?:0|[1-9]\\\\d*)(?:\\\\.\\\\d+)?(?:[Ee][-+]?\\\\d+)?)[\\\\t ]*(?=$|#|/\\\\*|//|])"},"object":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.dictionary.begin.hjson"}},"end":"(}|(?<=}))(?:\\\\s*([^,\\\\s]+))?","endCaptures":{"1":{"name":"punctuation.definition.dictionary.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"meta.structure.dictionary.hjson","patterns":[{"include":"#objectContent"}]},"objectArray":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.array.begin.hjson"}},"end":"(])(?:\\\\s*([^,}\\\\s]+))?","endCaptures":{"1":{"name":"punctuation.definition.array.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"meta.structure.array.hjson","patterns":[{"include":"#arrayContent"}]},"objectConstant":{"captures":{"1":{"name":"constant.language.hjson"},"2":{"name":"punctuation.separator.dictionary.pair.after-const.hjson"}},"match":"\\\\b(true|false|null)(?:[\\\\t ]*(?=,)|[\\\\t ]*(?:(,)[\\\\t ]*)?(?=$|#|/\\\\*|//|}))"},"objectContent":{"patterns":[{"include":"#comments"},{"include":"#key"},{"match":":[.|\\\\s]","name":"invalid.illegal.object-property.hjson"},{"begin":"(?<=[,{])|,","beginCaptures":{"1":{"name":"punctuation.separator.dictionary.pair.hjson"}},"end":"(?=[^#,/\\\\s])|(?=/[^*/])","patterns":[{"include":"#comments"},{"match":",","name":"invalid.illegal.extra-comma.hjson"}]},{"match":"\\\\S","name":"invalid.illegal.object-property.hjson"}]},"objectJstring":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.hjson"}},"end":"(\\")(?:\\\\s*((?:[^#,/}\\\\s]|/[^*/])+))?","endCaptures":{"1":{"name":"punctuation.definition.string.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"string.quoted.double.hjson","patterns":[{"include":"#jstringDoubleContent"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.hjson"}},"end":"(')(?:\\\\s*((?:[^#,/}\\\\s]|/[^*/])+))?","endCaptures":{"1":{"name":"punctuation.definition.string.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"string.quoted.single.hjson","patterns":[{"include":"#jstringSingleContent"}]}]},"objectMstring":{"begin":"'''","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.hjson"}},"end":"(''')(?:\\\\s*((?:[^#,/}\\\\s]|/[^*/])+))?","endCaptures":{"1":{"name":"punctuation.definition.string.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"string.quoted.multiline.hjson"},"objectNumber":{"captures":{"1":{"name":"constant.numeric.hjson"},"2":{"name":"punctuation.separator.dictionary.pair.after-num.hjson"}},"match":"(-?(?:0|[1-9]\\\\d*)(?:\\\\.\\\\d+)?(?:[Ee][-+]?\\\\d+)?)(?:[\\\\t ]*(?=,)|[\\\\t ]*(?:(,)[\\\\t ]*)?(?=$|#|/\\\\*|//|}))"},"objectObject":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.dictionary.begin.hjson"}},"end":"(}|(?<=})}?)(?:\\\\s*([^,}\\\\s]+))?","endCaptures":{"1":{"name":"punctuation.definition.dictionary.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"meta.structure.dictionary.hjson","patterns":[{"include":"#objectContent"}]},"objectString":{"patterns":[{"include":"#objectMstring"},{"include":"#objectJstring"},{"include":"#ustring"}]},"objectValue":{"patterns":[{"include":"#objectNumber"},{"include":"#objectConstant"},{"include":"#objectString"},{"include":"#objectObject"},{"include":"#objectArray"}]},"string":{"patterns":[{"include":"#mstring"},{"include":"#jstring"},{"include":"#ustring"}]},"ustring":{"match":"([^],:\\\\[{}\\\\s].*)$","name":"string.quoted.none.hjson"},"value":{"patterns":[{"include":"#number"},{"include":"#constant"},{"include":"#string"},{"include":"#object"},{"include":"#array"}]}},"scopeName":"source.hjson"}`)),e=[n];exports.default=e;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const n = Object.freeze(JSON.parse(`{"displayName":"Hjson","fileTypes":["hjson"],"foldingStartMarker":"^\\\\s*[\\\\[{](?!.*[]}],?\\\\s*$)|[\\\\[{]\\\\s*$","foldingStopMarker":"^\\\\s*[]}]","name":"hjson","patterns":[{"include":"#comments"},{"include":"#value"},{"match":"\\\\S","name":"invalid.illegal.excess-characters.hjson"}],"repository":{"array":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.array.begin.hjson"}},"end":"(])(?:\\\\s*([^,\\\\s]+))?","endCaptures":{"1":{"name":"punctuation.definition.array.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"meta.structure.array.hjson","patterns":[{"include":"#arrayContent"}]},"arrayArray":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.array.begin.hjson"}},"end":"(])(?:\\\\s*([^],\\\\s]+))?","endCaptures":{"1":{"name":"punctuation.definition.array.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"meta.structure.array.hjson","patterns":[{"include":"#arrayContent"}]},"arrayConstant":{"captures":{"1":{"name":"constant.language.hjson"},"2":{"name":"punctuation.separator.array.after-const.hjson"}},"match":"\\\\b(true|false|null)(?:[\\\\t ]*(?=,)|[\\\\t ]*(?:(,)[\\\\t ]*)?(?=$|#|/\\\\*|//|]))"},"arrayContent":{"name":"meta.structure.array.hjson","patterns":[{"include":"#comments"},{"include":"#arrayValue"},{"begin":"(?<=\\\\[)|,","beginCaptures":{"1":{"name":"punctuation.separator.dictionary.pair.hjson"}},"end":"(?=[^#,/\\\\s])|(?=/[^*/])","patterns":[{"include":"#comments"},{"match":",","name":"invalid.illegal.extra-comma.hjson"}]},{"match":",","name":"punctuation.separator.array.hjson"},{"match":"[^]\\\\s]","name":"invalid.illegal.expected-array-separator.hjson"}]},"arrayJstring":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.hjson"}},"end":"(\\")(?:\\\\s*((?:[^]#,/\\\\s]|/[^*/])+))?","endCaptures":{"1":{"name":"punctuation.definition.string.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"string.quoted.double.hjson","patterns":[{"include":"#jstringDoubleContent"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.hjson"}},"end":"(')(?:\\\\s*((?:[^]#,/\\\\s]|/[^*/])+))?","endCaptures":{"1":{"name":"punctuation.definition.string.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"string.quoted.single.hjson","patterns":[{"include":"#jstringSingleContent"}]}]},"arrayMstring":{"begin":"'''","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.hjson"}},"end":"(''')(?:\\\\s*((?:[^]#,/\\\\s]|/[^*/])+))?","endCaptures":{"1":{"name":"punctuation.definition.string.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"string.quoted.multiline.hjson"},"arrayNumber":{"captures":{"1":{"name":"constant.numeric.hjson"},"2":{"name":"punctuation.separator.array.after-num.hjson"}},"match":"(-?(?:0|[1-9]\\\\d*)(?:\\\\.\\\\d+)?(?:[Ee][-+]?\\\\d+)?)(?:[\\\\t ]*(?=,)|[\\\\t ]*(?:(,)[\\\\t ]*)?(?=$|#|/\\\\*|//|]))"},"arrayObject":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.dictionary.begin.hjson"}},"end":"(}|(?<=}))(?:\\\\s*([^],\\\\s]+))?","endCaptures":{"1":{"name":"punctuation.definition.dictionary.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"meta.structure.dictionary.hjson","patterns":[{"include":"#objectContent"}]},"arrayString":{"patterns":[{"include":"#arrayMstring"},{"include":"#arrayJstring"},{"include":"#ustring"}]},"arrayValue":{"patterns":[{"include":"#arrayNumber"},{"include":"#arrayConstant"},{"include":"#arrayString"},{"include":"#arrayObject"},{"include":"#arrayArray"}]},"comments":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.hjson"}},"match":"^\\\\s*(#).*\\\\n?","name":"comment.line.hash"},{"captures":{"1":{"name":"punctuation.definition.comment.hjson"}},"match":"^\\\\s*(//).*\\\\n?","name":"comment.line.double-slash"},{"begin":"^\\\\s*/\\\\*","beginCaptures":{"1":{"name":"punctuation.definition.comment.hjson"}},"end":"\\\\*/(?:\\\\s*\\\\n)?","endCaptures":{"1":{"name":"punctuation.definition.comment.hjson"}},"name":"comment.block.double-slash"},{"captures":{"1":{"name":"punctuation.definition.comment.hjson"}},"match":"(#)[^\\\\n]*","name":"comment.line.hash"},{"captures":{"1":{"name":"punctuation.definition.comment.hjson"}},"match":"(//)[^\\\\n]*","name":"comment.line.double-slash"},{"begin":"/\\\\*","beginCaptures":{"1":{"name":"punctuation.definition.comment.hjson"}},"end":"\\\\*/","endCaptures":{"1":{"name":"punctuation.definition.comment.hjson"}},"name":"comment.block.double-slash"}]},"commentsNewline":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.hjson"}},"match":"(#).*\\\\n","name":"comment.line.hash"},{"captures":{"1":{"name":"punctuation.definition.comment.hjson"}},"match":"(//).*\\\\n","name":"comment.line.double-slash"},{"begin":"/\\\\*","beginCaptures":{"1":{"name":"punctuation.definition.comment.hjson"}},"end":"\\\\*/(\\\\s*\\\\n)?","endCaptures":{"1":{"name":"punctuation.definition.comment.hjson"}},"name":"comment.block.double-slash"}]},"constant":{"captures":{"1":{"name":"constant.language.hjson"}},"match":"\\\\b(true|false|null)[\\\\t ]*(?=$|#|/\\\\*|//|])"},"jstring":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.hjson"}},"end":"(\\")(?:\\\\s*((?:[^#/\\\\s]|/[^*/]).*)$)?","endCaptures":{"1":{"name":"punctuation.definition.string.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"string.quoted.double.hjson","patterns":[{"include":"#jstringDoubleContent"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.hjson"}},"end":"(')(?:\\\\s*((?:[^#/\\\\s]|/[^*/]).*)$)?","endCaptures":{"1":{"name":"punctuation.definition.string.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"string.quoted.single.hjson","patterns":[{"include":"#jstringSingleContent"}]}]},"jstringDoubleContent":{"patterns":[{"match":"\\\\\\\\(?:[\\"'/\\\\\\\\bfnrt]|u\\\\h{4})","name":"constant.character.escape.hjson"},{"match":"\\\\\\\\.","name":"invalid.illegal.unrecognized-string-escape.hjson"},{"match":"[^\\"]*[^\\\\n\\\\r\\"\\\\\\\\]$","name":"invalid.illegal.string.hjson"}]},"jstringSingleContent":{"patterns":[{"match":"\\\\\\\\(?:[\\"'/\\\\\\\\bfnrt]|u\\\\h{4})","name":"constant.character.escape.hjson"},{"match":"\\\\\\\\.","name":"invalid.illegal.unrecognized-string-escape.hjson"},{"match":"[^']*[^\\\\n\\\\r'\\\\\\\\]$","name":"invalid.illegal.string.hjson"}]},"key":{"begin":"([^]\\"',:\\\\[{}\\\\s][^],:\\\\[{}\\\\s]*|'(?:[^'\\\\\\\\]|(\\\\\\\\(?:[\\"'/\\\\\\\\bfnrt]|u\\\\h{4}))|(\\\\\\\\.))*'|\\"(?:[^\\"\\\\\\\\]|(\\\\\\\\(?:[\\"'/\\\\\\\\bfnrt]|u\\\\h{4}))|(\\\\\\\\.))*\\")\\\\s*(?!\\\\n)([],\\\\[{}]*)","beginCaptures":{"0":{"name":"meta.structure.key-value.begin.hjson"},"1":{"name":"support.type.property-name.hjson"},"2":{"name":"constant.character.escape.hjson"},"3":{"name":"invalid.illegal.unrecognized-string-escape.hjson"},"4":{"name":"constant.character.escape.hjson"},"5":{"name":"invalid.illegal.unrecognized-string-escape.hjson"},"6":{"name":"invalid.illegal.separator.hjson"},"7":{"name":"invalid.illegal.property-name.hjson"}},"end":"(?<!^|:)\\\\s*\\\\n|(?=})|(,)","endCaptures":{"1":{"name":"punctuation.separator.dictionary.pair.hjson"}},"patterns":[{"include":"#commentsNewline"},{"include":"#keyValue"},{"match":"\\\\S","name":"invalid.illegal.object-property.hjson"}]},"keyValue":{"begin":"\\\\s*(:)\\\\s*([],}]*)","beginCaptures":{"1":{"name":"punctuation.separator.dictionary.key-value.hjson"},"2":{"name":"invalid.illegal.object-property.hjson"}},"end":"(?<!^)\\\\s*(?=\\\\n)|(?=[,}])","name":"meta.structure.key-value.hjson","patterns":[{"include":"#comments"},{"match":"^\\\\s+"},{"include":"#objectValue"},{"captures":{"1":{"name":"invalid.illegal.object-property.closing-bracket.hjson"}},"match":"^\\\\s*(})"},{"match":"\\\\S","name":"invalid.illegal.object-property.hjson"}]},"mstring":{"begin":"'''","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.hjson"}},"end":"(''')(?:\\\\s*((?:[^#/\\\\s]|/[^*/]).*)$)?","endCaptures":{"1":{"name":"punctuation.definition.string.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"string.quoted.multiline.hjson"},"number":{"captures":{"1":{"name":"constant.numeric.hjson"}},"match":"(-?(?:0|[1-9]\\\\d*)(?:\\\\.\\\\d+)?(?:[Ee][-+]?\\\\d+)?)[\\\\t ]*(?=$|#|/\\\\*|//|])"},"object":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.dictionary.begin.hjson"}},"end":"(}|(?<=}))(?:\\\\s*([^,\\\\s]+))?","endCaptures":{"1":{"name":"punctuation.definition.dictionary.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"meta.structure.dictionary.hjson","patterns":[{"include":"#objectContent"}]},"objectArray":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.array.begin.hjson"}},"end":"(])(?:\\\\s*([^,}\\\\s]+))?","endCaptures":{"1":{"name":"punctuation.definition.array.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"meta.structure.array.hjson","patterns":[{"include":"#arrayContent"}]},"objectConstant":{"captures":{"1":{"name":"constant.language.hjson"},"2":{"name":"punctuation.separator.dictionary.pair.after-const.hjson"}},"match":"\\\\b(true|false|null)(?:[\\\\t ]*(?=,)|[\\\\t ]*(?:(,)[\\\\t ]*)?(?=$|#|/\\\\*|//|}))"},"objectContent":{"patterns":[{"include":"#comments"},{"include":"#key"},{"match":":[.|\\\\s]","name":"invalid.illegal.object-property.hjson"},{"begin":"(?<=[,{])|,","beginCaptures":{"1":{"name":"punctuation.separator.dictionary.pair.hjson"}},"end":"(?=[^#,/\\\\s])|(?=/[^*/])","patterns":[{"include":"#comments"},{"match":",","name":"invalid.illegal.extra-comma.hjson"}]},{"match":"\\\\S","name":"invalid.illegal.object-property.hjson"}]},"objectJstring":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.hjson"}},"end":"(\\")(?:\\\\s*((?:[^#,/}\\\\s]|/[^*/])+))?","endCaptures":{"1":{"name":"punctuation.definition.string.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"string.quoted.double.hjson","patterns":[{"include":"#jstringDoubleContent"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.hjson"}},"end":"(')(?:\\\\s*((?:[^#,/}\\\\s]|/[^*/])+))?","endCaptures":{"1":{"name":"punctuation.definition.string.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"string.quoted.single.hjson","patterns":[{"include":"#jstringSingleContent"}]}]},"objectMstring":{"begin":"'''","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.hjson"}},"end":"(''')(?:\\\\s*((?:[^#,/}\\\\s]|/[^*/])+))?","endCaptures":{"1":{"name":"punctuation.definition.string.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"string.quoted.multiline.hjson"},"objectNumber":{"captures":{"1":{"name":"constant.numeric.hjson"},"2":{"name":"punctuation.separator.dictionary.pair.after-num.hjson"}},"match":"(-?(?:0|[1-9]\\\\d*)(?:\\\\.\\\\d+)?(?:[Ee][-+]?\\\\d+)?)(?:[\\\\t ]*(?=,)|[\\\\t ]*(?:(,)[\\\\t ]*)?(?=$|#|/\\\\*|//|}))"},"objectObject":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.dictionary.begin.hjson"}},"end":"(}|(?<=})}?)(?:\\\\s*([^,}\\\\s]+))?","endCaptures":{"1":{"name":"punctuation.definition.dictionary.end.hjson"},"2":{"name":"invalid.illegal.value.hjson"}},"name":"meta.structure.dictionary.hjson","patterns":[{"include":"#objectContent"}]},"objectString":{"patterns":[{"include":"#objectMstring"},{"include":"#objectJstring"},{"include":"#ustring"}]},"objectValue":{"patterns":[{"include":"#objectNumber"},{"include":"#objectConstant"},{"include":"#objectString"},{"include":"#objectObject"},{"include":"#objectArray"}]},"string":{"patterns":[{"include":"#mstring"},{"include":"#jstring"},{"include":"#ustring"}]},"ustring":{"match":"([^],:\\\\[{}\\\\s].*)$","name":"string.quoted.none.hjson"},"value":{"patterns":[{"include":"#number"},{"include":"#constant"},{"include":"#string"},{"include":"#object"},{"include":"#array"}]}},"scopeName":"source.hjson"}`)), e = [
|
|
2
|
+
n
|
|
3
|
+
];
|
|
4
|
+
export {
|
|
5
|
+
e as default
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const e = Object.freeze(JSON.parse('{"displayName":"HLSL","name":"hlsl","patterns":[{"begin":"/\\\\*","end":"\\\\*/","name":"comment.line.block.hlsl"},{"begin":"//","end":"$","name":"comment.line.double-slash.hlsl"},{"match":"\\\\b[0-9]+\\\\.[0-9]*([Ff])?\\\\b","name":"constant.numeric.decimal.hlsl"},{"match":"(\\\\.([0-9]+)([Ff])?)\\\\b","name":"constant.numeric.decimal.hlsl"},{"match":"\\\\b([0-9]+([Ff])?)\\\\b","name":"constant.numeric.decimal.hlsl"},{"match":"\\\\b(0([Xx])\\\\h+)\\\\b","name":"constant.numeric.hex.hlsl"},{"match":"\\\\b(false|true)\\\\b","name":"constant.language.hlsl"},{"match":"^\\\\s*#\\\\s*(define|elif|else|endif|ifdef|ifndef|if|undef|include|line|error|pragma)","name":"keyword.preprocessor.hlsl"},{"match":"\\\\b(break|case|continue|default|discard|do|else|for|if|return|switch|while)\\\\b","name":"keyword.control.hlsl"},{"match":"\\\\b(compile)\\\\b","name":"keyword.control.fx.hlsl"},{"match":"\\\\b(typedef)\\\\b","name":"keyword.typealias.hlsl"},{"match":"\\\\b(bool([1-4](x[1-4])?)?|double([1-4](x[1-4])?)?|dword|float([1-4](x[1-4])?)?|half([1-4](x[1-4])?)?|int([1-4](x[1-4])?)?|matrix|min10float([1-4](x[1-4])?)?|min12int([1-4](x[1-4])?)?|min16float([1-4](x[1-4])?)?|min16int([1-4](x[1-4])?)?|min16uint([1-4](x[1-4])?)?|unsigned|uint([1-4](x[1-4])?)?|vector|void)\\\\b","name":"storage.type.basic.hlsl"},{"match":"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)(?=\\\\s*\\\\()","name":"support.function.hlsl"},{"match":"(?<=:\\\\s?)(?i:BINORMAL[0-9]*|BLENDINDICES[0-9]*|BLENDWEIGHT[0-9]*|COLOR[0-9]*|NORMAL[0-9]*|POSITIONT?|PSIZE[0-9]*|TANGENT[0-9]*|TEXCOORD[0-9]*|FOG|TESSFACTOR[0-9]*|VFACE|VPOS|DEPTH[0-9]*)\\\\b","name":"support.variable.semantic.hlsl"},{"match":"(?<=:\\\\s?)(?i:SV_(?:ClipDistance[0-9]*|CullDistance[0-9]*|Coverage|Depth|DepthGreaterEqual[0-9]*|DepthLessEqual[0-9]*|InstanceID|IsFrontFace|Position|RenderTargetArrayIndex|SampleIndex|StencilRef|Target[0-7]?|VertexID|ViewportArrayIndex))\\\\b","name":"support.variable.semantic.sm4.hlsl"},{"match":"(?<=:\\\\s?)(?i:SV_(?:DispatchThreadID|DomainLocation|GroupID|GroupIndex|GroupThreadID|GSInstanceID|InsideTessFactor|OutputControlPointID|TessFactor))\\\\b","name":"support.variable.semantic.sm5.hlsl"},{"match":"(?<=:\\\\s?)(?i:SV_(?:InnerCoverage|StencilRef))\\\\b","name":"support.variable.semantic.sm5_1.hlsl"},{"match":"\\\\b(column_major|const|export|extern|globallycoherent|groupshared|inline|inout|in|out|precise|row_major|shared|static|uniform|volatile)\\\\b","name":"storage.modifier.hlsl"},{"match":"\\\\b([su]norm)\\\\b","name":"storage.modifier.float.hlsl"},{"match":"\\\\b(packoffset|register)\\\\b","name":"storage.modifier.postfix.hlsl"},{"match":"\\\\b(centroid|linear|nointerpolation|noperspective|sample)\\\\b","name":"storage.modifier.interpolation.hlsl"},{"match":"\\\\b(lineadj|line|point|triangle|triangleadj)\\\\b","name":"storage.modifier.geometryshader.hlsl"},{"match":"\\\\b(string)\\\\b","name":"support.type.other.hlsl"},{"match":"\\\\b(AppendStructuredBuffer|Buffer|ByteAddressBuffer|ConstantBuffer|ConsumeStructuredBuffer|InputPatch|OutputPatch)\\\\b","name":"support.type.object.hlsl"},{"match":"\\\\b(RasterizerOrdered(?:Buffer|ByteAddressBuffer|StructuredBuffer|Texture1D|Texture1DArray|Texture2D|Texture2DArray|Texture3D))\\\\b","name":"support.type.object.rasterizerordered.hlsl"},{"match":"\\\\b(RW(?:Buffer|ByteAddressBuffer|StructuredBuffer|Texture1D|Texture1DArray|Texture2D|Texture2DArray|Texture3D))\\\\b","name":"support.type.object.rw.hlsl"},{"match":"\\\\b((?:Line|Point|Triangle)Stream)\\\\b","name":"support.type.object.geometryshader.hlsl"},{"match":"\\\\b(sampler(?:|1D|2D|3D|CUBE|_state))\\\\b","name":"support.type.sampler.legacy.hlsl"},{"match":"\\\\b(Sampler(?:|Comparison)State)\\\\b","name":"support.type.sampler.hlsl"},{"match":"\\\\b(texture(?:2D|CUBE))\\\\b","name":"support.type.texture.legacy.hlsl"},{"match":"\\\\b(Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray))\\\\b","name":"support.type.texture.hlsl"},{"match":"\\\\b(cbuffer|class|interface|namespace|struct|tbuffer)\\\\b","name":"storage.type.structured.hlsl"},{"match":"\\\\b(FALSE|TRUE|NULL)\\\\b","name":"support.constant.property-value.fx.hlsl"},{"match":"\\\\b((?:Blend|DepthStencil|Rasterizer)State)\\\\b","name":"support.type.fx.hlsl"},{"match":"\\\\b(technique|Technique|technique10|technique11|pass)\\\\b","name":"storage.type.fx.technique.hlsl"},{"match":"\\\\b(AlphaToCoverageEnable|BlendEnable|SrcBlend|DestBlend|BlendOp|SrcBlendAlpha|DestBlendAlpha|BlendOpAlpha|RenderTargetWriteMask)\\\\b","name":"meta.object-literal.key.fx.blendstate.hlsl"},{"match":"\\\\b(DepthEnable|DepthWriteMask|DepthFunc|StencilEnable|StencilReadMask|StencilWriteMask|FrontFaceStencilFail|FrontFaceStencilZFail|FrontFaceStencilPass|FrontFaceStencilFunc|BackFaceStencilFail|BackFaceStencilZFail|BackFaceStencilPass|BackFaceStencilFunc)\\\\b","name":"meta.object-literal.key.fx.depthstencilstate.hlsl"},{"match":"\\\\b(FillMode|CullMode|FrontCounterClockwise|DepthBias|DepthBiasClamp|SlopeScaleDepthBias|ZClipEnable|ScissorEnable|MultiSampleEnable|AntiAliasedLineEnable)\\\\b","name":"meta.object-literal.key.fx.rasterizerstate.hlsl"},{"match":"\\\\b(Filter|AddressU|AddressV|AddressW|MipLODBias|MaxAnisotropy|ComparisonFunc|BorderColor|MinLOD|MaxLOD)\\\\b","name":"meta.object-literal.key.fx.samplerstate.hlsl"},{"match":"\\\\b(?i:ZERO|ONE|SRC_COLOR|INV_SRC_COLOR|SRC_ALPHA|INV_SRC_ALPHA|DEST_ALPHA|INV_DEST_ALPHA|DEST_COLOR|INV_DEST_COLOR|SRC_ALPHA_SAT|BLEND_FACTOR|INV_BLEND_FACTOR|SRC1_COLOR|INV_SRC1_COLOR|SRC1_ALPHA|INV_SRC1_ALPHA)\\\\b","name":"support.constant.property-value.fx.blend.hlsl"},{"match":"\\\\b(?i:ADD|SUBTRACT|REV_SUBTRACT|MIN|MAX)\\\\b","name":"support.constant.property-value.fx.blendop.hlsl"},{"match":"\\\\b(?i:ALL)\\\\b","name":"support.constant.property-value.fx.depthwritemask.hlsl"},{"match":"\\\\b(?i:NEVER|LESS|EQUAL|LESS_EQUAL|GREATER|NOT_EQUAL|GREATER_EQUAL|ALWAYS)\\\\b","name":"support.constant.property-value.fx.comparisonfunc.hlsl"},{"match":"\\\\b(?i:KEEP|REPLACE|INCR_SAT|DECR_SAT|INVERT|INCR|DECR)\\\\b","name":"support.constant.property-value.fx.stencilop.hlsl"},{"match":"\\\\b(?i:WIREFRAME|SOLID)\\\\b","name":"support.constant.property-value.fx.fillmode.hlsl"},{"match":"\\\\b(?i:NONE|FRONT|BACK)\\\\b","name":"support.constant.property-value.fx.cullmode.hlsl"},{"match":"\\\\b(?i:MIN_MAG_MIP_POINT|MIN_MAG_POINT_MIP_LINEAR|MIN_POINT_MAG_LINEAR_MIP_POINT|MIN_POINT_MAG_MIP_LINEAR|MIN_LINEAR_MAG_MIP_POINT|MIN_LINEAR_MAG_POINT_MIP_LINEAR|MIN_MAG_LINEAR_MIP_POINT|MIN_MAG_MIP_LINEAR|ANISOTROPIC|COMPARISON_MIN_MAG_MIP_POINT|COMPARISON_MIN_MAG_POINT_MIP_LINEAR|COMPARISON_MIN_POINT_MAG_LINEAR_MIP_POINT|COMPARISON_MIN_POINT_MAG_MIP_LINEAR|COMPARISON_MIN_LINEAR_MAG_MIP_POINT|COMPARISON_MIN_LINEAR_MAG_POINT_MIP_LINEAR|COMPARISON_MIN_MAG_LINEAR_MIP_POINT|COMPARISON_MIN_MAG_MIP_LINEAR|COMPARISON_ANISOTROPIC|TEXT_1BIT)\\\\b","name":"support.constant.property-value.fx.filter.hlsl"},{"match":"\\\\b(?i:WRAP|MIRROR|CLAMP|BORDER|MIRROR_ONCE)\\\\b","name":"support.constant.property-value.fx.textureaddressmode.hlsl"},{"begin":"\\"","end":"\\"","name":"string.quoted.double.hlsl","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.hlsl"}]}],"scopeName":"source.hlsl"}')), t = [
|
|
2
|
+
e
|
|
3
|
+
];
|
|
4
|
+
export {
|
|
5
|
+
t as default
|
|
6
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze(JSON.parse('{"displayName":"HLSL","name":"hlsl","patterns":[{"begin":"/\\\\*","end":"\\\\*/","name":"comment.line.block.hlsl"},{"begin":"//","end":"$","name":"comment.line.double-slash.hlsl"},{"match":"\\\\b[0-9]+\\\\.[0-9]*([Ff])?\\\\b","name":"constant.numeric.decimal.hlsl"},{"match":"(\\\\.([0-9]+)([Ff])?)\\\\b","name":"constant.numeric.decimal.hlsl"},{"match":"\\\\b([0-9]+([Ff])?)\\\\b","name":"constant.numeric.decimal.hlsl"},{"match":"\\\\b(0([Xx])\\\\h+)\\\\b","name":"constant.numeric.hex.hlsl"},{"match":"\\\\b(false|true)\\\\b","name":"constant.language.hlsl"},{"match":"^\\\\s*#\\\\s*(define|elif|else|endif|ifdef|ifndef|if|undef|include|line|error|pragma)","name":"keyword.preprocessor.hlsl"},{"match":"\\\\b(break|case|continue|default|discard|do|else|for|if|return|switch|while)\\\\b","name":"keyword.control.hlsl"},{"match":"\\\\b(compile)\\\\b","name":"keyword.control.fx.hlsl"},{"match":"\\\\b(typedef)\\\\b","name":"keyword.typealias.hlsl"},{"match":"\\\\b(bool([1-4](x[1-4])?)?|double([1-4](x[1-4])?)?|dword|float([1-4](x[1-4])?)?|half([1-4](x[1-4])?)?|int([1-4](x[1-4])?)?|matrix|min10float([1-4](x[1-4])?)?|min12int([1-4](x[1-4])?)?|min16float([1-4](x[1-4])?)?|min16int([1-4](x[1-4])?)?|min16uint([1-4](x[1-4])?)?|unsigned|uint([1-4](x[1-4])?)?|vector|void)\\\\b","name":"storage.type.basic.hlsl"},{"match":"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)(?=\\\\s*\\\\()","name":"support.function.hlsl"},{"match":"(?<=:\\\\s?)(?i:BINORMAL[0-9]*|BLENDINDICES[0-9]*|BLENDWEIGHT[0-9]*|COLOR[0-9]*|NORMAL[0-9]*|POSITIONT?|PSIZE[0-9]*|TANGENT[0-9]*|TEXCOORD[0-9]*|FOG|TESSFACTOR[0-9]*|VFACE|VPOS|DEPTH[0-9]*)\\\\b","name":"support.variable.semantic.hlsl"},{"match":"(?<=:\\\\s?)(?i:SV_(?:ClipDistance[0-9]*|CullDistance[0-9]*|Coverage|Depth|DepthGreaterEqual[0-9]*|DepthLessEqual[0-9]*|InstanceID|IsFrontFace|Position|RenderTargetArrayIndex|SampleIndex|StencilRef|Target[0-7]?|VertexID|ViewportArrayIndex))\\\\b","name":"support.variable.semantic.sm4.hlsl"},{"match":"(?<=:\\\\s?)(?i:SV_(?:DispatchThreadID|DomainLocation|GroupID|GroupIndex|GroupThreadID|GSInstanceID|InsideTessFactor|OutputControlPointID|TessFactor))\\\\b","name":"support.variable.semantic.sm5.hlsl"},{"match":"(?<=:\\\\s?)(?i:SV_(?:InnerCoverage|StencilRef))\\\\b","name":"support.variable.semantic.sm5_1.hlsl"},{"match":"\\\\b(column_major|const|export|extern|globallycoherent|groupshared|inline|inout|in|out|precise|row_major|shared|static|uniform|volatile)\\\\b","name":"storage.modifier.hlsl"},{"match":"\\\\b([su]norm)\\\\b","name":"storage.modifier.float.hlsl"},{"match":"\\\\b(packoffset|register)\\\\b","name":"storage.modifier.postfix.hlsl"},{"match":"\\\\b(centroid|linear|nointerpolation|noperspective|sample)\\\\b","name":"storage.modifier.interpolation.hlsl"},{"match":"\\\\b(lineadj|line|point|triangle|triangleadj)\\\\b","name":"storage.modifier.geometryshader.hlsl"},{"match":"\\\\b(string)\\\\b","name":"support.type.other.hlsl"},{"match":"\\\\b(AppendStructuredBuffer|Buffer|ByteAddressBuffer|ConstantBuffer|ConsumeStructuredBuffer|InputPatch|OutputPatch)\\\\b","name":"support.type.object.hlsl"},{"match":"\\\\b(RasterizerOrdered(?:Buffer|ByteAddressBuffer|StructuredBuffer|Texture1D|Texture1DArray|Texture2D|Texture2DArray|Texture3D))\\\\b","name":"support.type.object.rasterizerordered.hlsl"},{"match":"\\\\b(RW(?:Buffer|ByteAddressBuffer|StructuredBuffer|Texture1D|Texture1DArray|Texture2D|Texture2DArray|Texture3D))\\\\b","name":"support.type.object.rw.hlsl"},{"match":"\\\\b((?:Line|Point|Triangle)Stream)\\\\b","name":"support.type.object.geometryshader.hlsl"},{"match":"\\\\b(sampler(?:|1D|2D|3D|CUBE|_state))\\\\b","name":"support.type.sampler.legacy.hlsl"},{"match":"\\\\b(Sampler(?:|Comparison)State)\\\\b","name":"support.type.sampler.hlsl"},{"match":"\\\\b(texture(?:2D|CUBE))\\\\b","name":"support.type.texture.legacy.hlsl"},{"match":"\\\\b(Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray))\\\\b","name":"support.type.texture.hlsl"},{"match":"\\\\b(cbuffer|class|interface|namespace|struct|tbuffer)\\\\b","name":"storage.type.structured.hlsl"},{"match":"\\\\b(FALSE|TRUE|NULL)\\\\b","name":"support.constant.property-value.fx.hlsl"},{"match":"\\\\b((?:Blend|DepthStencil|Rasterizer)State)\\\\b","name":"support.type.fx.hlsl"},{"match":"\\\\b(technique|Technique|technique10|technique11|pass)\\\\b","name":"storage.type.fx.technique.hlsl"},{"match":"\\\\b(AlphaToCoverageEnable|BlendEnable|SrcBlend|DestBlend|BlendOp|SrcBlendAlpha|DestBlendAlpha|BlendOpAlpha|RenderTargetWriteMask)\\\\b","name":"meta.object-literal.key.fx.blendstate.hlsl"},{"match":"\\\\b(DepthEnable|DepthWriteMask|DepthFunc|StencilEnable|StencilReadMask|StencilWriteMask|FrontFaceStencilFail|FrontFaceStencilZFail|FrontFaceStencilPass|FrontFaceStencilFunc|BackFaceStencilFail|BackFaceStencilZFail|BackFaceStencilPass|BackFaceStencilFunc)\\\\b","name":"meta.object-literal.key.fx.depthstencilstate.hlsl"},{"match":"\\\\b(FillMode|CullMode|FrontCounterClockwise|DepthBias|DepthBiasClamp|SlopeScaleDepthBias|ZClipEnable|ScissorEnable|MultiSampleEnable|AntiAliasedLineEnable)\\\\b","name":"meta.object-literal.key.fx.rasterizerstate.hlsl"},{"match":"\\\\b(Filter|AddressU|AddressV|AddressW|MipLODBias|MaxAnisotropy|ComparisonFunc|BorderColor|MinLOD|MaxLOD)\\\\b","name":"meta.object-literal.key.fx.samplerstate.hlsl"},{"match":"\\\\b(?i:ZERO|ONE|SRC_COLOR|INV_SRC_COLOR|SRC_ALPHA|INV_SRC_ALPHA|DEST_ALPHA|INV_DEST_ALPHA|DEST_COLOR|INV_DEST_COLOR|SRC_ALPHA_SAT|BLEND_FACTOR|INV_BLEND_FACTOR|SRC1_COLOR|INV_SRC1_COLOR|SRC1_ALPHA|INV_SRC1_ALPHA)\\\\b","name":"support.constant.property-value.fx.blend.hlsl"},{"match":"\\\\b(?i:ADD|SUBTRACT|REV_SUBTRACT|MIN|MAX)\\\\b","name":"support.constant.property-value.fx.blendop.hlsl"},{"match":"\\\\b(?i:ALL)\\\\b","name":"support.constant.property-value.fx.depthwritemask.hlsl"},{"match":"\\\\b(?i:NEVER|LESS|EQUAL|LESS_EQUAL|GREATER|NOT_EQUAL|GREATER_EQUAL|ALWAYS)\\\\b","name":"support.constant.property-value.fx.comparisonfunc.hlsl"},{"match":"\\\\b(?i:KEEP|REPLACE|INCR_SAT|DECR_SAT|INVERT|INCR|DECR)\\\\b","name":"support.constant.property-value.fx.stencilop.hlsl"},{"match":"\\\\b(?i:WIREFRAME|SOLID)\\\\b","name":"support.constant.property-value.fx.fillmode.hlsl"},{"match":"\\\\b(?i:NONE|FRONT|BACK)\\\\b","name":"support.constant.property-value.fx.cullmode.hlsl"},{"match":"\\\\b(?i:MIN_MAG_MIP_POINT|MIN_MAG_POINT_MIP_LINEAR|MIN_POINT_MAG_LINEAR_MIP_POINT|MIN_POINT_MAG_MIP_LINEAR|MIN_LINEAR_MAG_MIP_POINT|MIN_LINEAR_MAG_POINT_MIP_LINEAR|MIN_MAG_LINEAR_MIP_POINT|MIN_MAG_MIP_LINEAR|ANISOTROPIC|COMPARISON_MIN_MAG_MIP_POINT|COMPARISON_MIN_MAG_POINT_MIP_LINEAR|COMPARISON_MIN_POINT_MAG_LINEAR_MIP_POINT|COMPARISON_MIN_POINT_MAG_MIP_LINEAR|COMPARISON_MIN_LINEAR_MAG_MIP_POINT|COMPARISON_MIN_LINEAR_MAG_POINT_MIP_LINEAR|COMPARISON_MIN_MAG_LINEAR_MIP_POINT|COMPARISON_MIN_MAG_MIP_LINEAR|COMPARISON_ANISOTROPIC|TEXT_1BIT)\\\\b","name":"support.constant.property-value.fx.filter.hlsl"},{"match":"\\\\b(?i:WRAP|MIRROR|CLAMP|BORDER|MIRROR_ONCE)\\\\b","name":"support.constant.property-value.fx.textureaddressmode.hlsl"},{"begin":"\\"","end":"\\"","name":"string.quoted.double.hlsl","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.hlsl"}]}],"scopeName":"source.hlsl"}')),t=[e];exports.default=t;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Block, NotionStreamRef, Span } from '../types';
|
|
2
|
+
interface UseBlockStateOptions {
|
|
3
|
+
blocks: Block[];
|
|
4
|
+
onMarkdownChange?: (markdown: string) => void;
|
|
5
|
+
}
|
|
6
|
+
interface UseBlockStateResult {
|
|
7
|
+
mergedBlocks: Block[];
|
|
8
|
+
editingBlockId: string | null;
|
|
9
|
+
setEditingBlockId: (id: string | null) => void;
|
|
10
|
+
updateBlockValue: (blockId: string, value: string | Span[]) => void;
|
|
11
|
+
getRef: () => NotionStreamRef;
|
|
12
|
+
}
|
|
13
|
+
export declare function useBlockState({ blocks, onMarkdownChange }: UseBlockStateOptions): UseBlockStateResult;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type DiffReviewDecision, type MarkdownDiffReviewItem } from '../utils/diff';
|
|
2
|
+
export interface DiffReviewStats {
|
|
3
|
+
unchangedItems: number;
|
|
4
|
+
addedItems: number;
|
|
5
|
+
removedItems: number;
|
|
6
|
+
modifiedItems: number;
|
|
7
|
+
totalChangeItems: number;
|
|
8
|
+
accepted: number;
|
|
9
|
+
rejected: number;
|
|
10
|
+
pending: number;
|
|
11
|
+
}
|
|
12
|
+
export declare function useDiffReview(params: {
|
|
13
|
+
baseMarkdown: string;
|
|
14
|
+
nextMarkdown: string;
|
|
15
|
+
defaultDecision?: DiffReviewDecision;
|
|
16
|
+
applyFallback?: Exclude<DiffReviewDecision, 'unset'>;
|
|
17
|
+
}): {
|
|
18
|
+
items: MarkdownDiffReviewItem[];
|
|
19
|
+
decisions: Partial<Record<string, DiffReviewDecision>>;
|
|
20
|
+
accept: (id: string) => void;
|
|
21
|
+
reject: (id: string) => void;
|
|
22
|
+
unset: (id: string) => void;
|
|
23
|
+
resetAll: () => void;
|
|
24
|
+
resultMarkdown: string;
|
|
25
|
+
stats: DiffReviewStats;
|
|
26
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Block, BlockType, ListType } from '../types';
|
|
2
|
+
interface ShortcutResult {
|
|
3
|
+
newType: BlockType;
|
|
4
|
+
newContent: string;
|
|
5
|
+
level?: number;
|
|
6
|
+
listType?: ListType;
|
|
7
|
+
language?: string;
|
|
8
|
+
depth?: number;
|
|
9
|
+
}
|
|
10
|
+
interface UseMarkdownShortcutsOptions {
|
|
11
|
+
onBlockTypeChange?: (blockId: string, newType: BlockType, newContent: string, options?: {
|
|
12
|
+
level?: number;
|
|
13
|
+
listType?: ListType;
|
|
14
|
+
language?: string;
|
|
15
|
+
depth?: number;
|
|
16
|
+
}) => void;
|
|
17
|
+
}
|
|
18
|
+
export declare function useMarkdownShortcuts({ onBlockTypeChange }?: UseMarkdownShortcutsOptions): {
|
|
19
|
+
detectShortcut: (content: string) => ShortcutResult | null;
|
|
20
|
+
detectEscape: (content: string) => string | null;
|
|
21
|
+
handleKeyDown: (e: React.KeyboardEvent, block: Block, content: string, cursorPosition: number) => boolean;
|
|
22
|
+
};
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Block } from '../types';
|
|
2
|
+
interface UseStreamParserOptions {
|
|
3
|
+
markdown: string;
|
|
4
|
+
isStreaming: boolean;
|
|
5
|
+
}
|
|
6
|
+
interface UseStreamParserResult {
|
|
7
|
+
blocks: Block[];
|
|
8
|
+
}
|
|
9
|
+
export declare function useStreamParser({ markdown, isStreaming, }: UseStreamParserOptions): UseStreamParserResult;
|
|
10
|
+
export {};
|