@vunk/plus 1.10.0 → 1.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/bubble-list/index.css +0 -22
- package/components/bubble-list/index.mjs +413 -9
- package/components/bubble-list/src/core/index.vue.d.ts +57 -0
- package/components/bubble-list/src/index.vue.d.ts +57 -0
- package/components/chat-independent/src/index.vue.d.ts +57 -0
- package/components/drawer/index.mjs +1 -1
- package/components/index3.mjs +20 -79450
- package/components/scrollbar/index.mjs +89 -15
- package/components/scrollbar/src/bar.d.ts +4 -0
- package/components/scrollbar/src/bar.vue.d.ts +26 -0
- package/components/scrollbar/src/index.vue.d.ts +57 -0
- package/components/scrollbar/src/thumb.d.ts +4 -0
- package/components/scrollbar/src/thumb.vue.d.ts +13 -0
- package/components/scrollbar/src/types.d.ts +5 -1
- package/components/tables-v1/src/ctx.d.ts +2 -2
- package/components/tables-v1/src/index.vue.d.ts +6 -6
- package/components/tables-v1-checkbox/src/ctx.d.ts +2 -2
- package/components/tables-v1-checkbox/src/index.vue.d.ts +12 -12
- package/components/text/src/ctx.d.ts +1 -1
- package/components/text/src/index.vue.d.ts +2 -2
- package/components/xgplayer/index.mjs +2 -16357
- package/index.css +0 -22
- package/package.json +1 -1
- package/components/_baseUniq-BXtq6_NW.mjs +0 -239
- package/components/abap-B7h4dtBh.mjs +0 -6
- package/components/actionscript-3-Bmm7RA3Y.mjs +0 -6
- package/components/ada-BZS802Se.mjs +0 -6
- package/components/andromeeda-CrngpmZk.mjs +0 -3
- package/components/apache-D4roVlsU.mjs +0 -6
- package/components/apex-D6mfw0H5.mjs +0 -6
- package/components/apl-DDK-VObo.mjs +0 -18
- package/components/applescript-C43Knf0G.mjs +0 -6
- package/components/ara-DRBH84ND.mjs +0 -6
- package/components/arc-Js_tyW10.mjs +0 -131
- package/components/architecture-O4VJ6CD3-ZoZ2IAk2.mjs +0 -15
- package/components/architectureDiagram-SUXI7LT5-kyYGGrHN.mjs +0 -8678
- package/components/asm-3tg4MVib.mjs +0 -6
- package/components/astro-v4FYbRud.mjs +0 -19
- package/components/aurora-x-wJ4-eM2h.mjs +0 -3
- package/components/awk-ChreaG-G.mjs +0 -6
- package/components/ayu-dark-BEKp3oqs.mjs +0 -3
- package/components/ballerina-B0yt0TYU.mjs +0 -6
- package/components/batch-Ce_EX3Sx.mjs +0 -14
- package/components/beancount-BRIsdQEB.mjs +0 -6
- package/components/berry-Brv4WWdL.mjs +0 -14
- package/components/bibtex-BLeFwAes.mjs +0 -6
- package/components/bicep-BVrgfErX.mjs +0 -6
- package/components/blade-By3Sw_Ex.mjs +0 -22
- package/components/blockDiagram-6J76NXCF-IAr4zDV3.mjs +0 -3610
- package/components/c-C4VtT7JA.mjs +0 -6
- package/components/c4Diagram-6F6E4RAY-Dv27rXcJ.mjs +0 -2492
- package/components/catppuccin-frappe-zLMNRRUx.mjs +0 -3
- package/components/catppuccin-latte-CdF5jC3c.mjs +0 -3
- package/components/catppuccin-macchiato-DyjXeyRt.mjs +0 -3
- package/components/catppuccin-mocha-66IdYxR8.mjs +0 -3
- package/components/cdc-30ktANo3.mjs +0 -14
- package/components/channel-BBZy6zOT.mjs +0 -7
- package/components/chunk-353BL4L5-Dn_Y_Yna.mjs +0 -17
- package/components/chunk-67H74DCK-Br5U8bfD.mjs +0 -102
- package/components/chunk-AACKK3MU-DH_MKxca.mjs +0 -17
- package/components/chunk-BFAMUDN2-DHLCoYMN.mjs +0 -13
- package/components/chunk-E2GYISFI-DQPHyyga.mjs +0 -19
- package/components/chunk-OW32GOEJ-CQOSE6Bn.mjs +0 -1924
- package/components/chunk-SKB7J2MH-BlwHRDiW.mjs +0 -25
- package/components/chunk-SZ463SBG-DEp8buKJ.mjs +0 -1823
- package/components/clarity-6uBl6Vpb.mjs +0 -6
- package/components/classDiagram-M3E45YP4-D0ySDe-v.mjs +0 -32
- package/components/classDiagram-v2-YAWTLIQI-D0ySDe-v.mjs +0 -32
- package/components/clojure-COBRmwo8.mjs +0 -14
- package/components/clone-CEJtuQzg.mjs +0 -8
- package/components/cmake-CDfQILeU.mjs +0 -6
- package/components/cobol-BOOIiISO.mjs +0 -13
- package/components/coffee-DO_RGoZp.mjs +0 -9
- package/components/cpp-DAK8ktHO.mjs +0 -25
- package/components/crystal-CBGbbyVp.mjs +0 -19
- package/components/cs-h3ksD6-P.mjs +0 -14
- package/components/css-BtVcDqlU.mjs +0 -6
- package/components/cue-BFSVLV6N.mjs +0 -6
- package/components/cypher-Dl2CXoXF.mjs +0 -14
- package/components/cytoscape.esm-BojS1z60.mjs +0 -30216
- package/components/d-9qSZPw74.mjs +0 -6
- package/components/dagre-JOIXM2OF-5zx0JY2T.mjs +0 -707
- package/components/dark-plus-DmZ1Dzd4.mjs +0 -3
- package/components/dart-CCSsOg9l.mjs +0 -6
- package/components/dax-CvsmLV-B.mjs +0 -6
- package/components/defaultLocale-DVr69WTU.mjs +0 -202
- package/components/diagram-5UYTHUR4-C19nyAKc.mjs +0 -215
- package/components/diagram-VMROVX33-DkGwo-hj.mjs +0 -861
- package/components/diagram-ZTM2IBQH-CBgHCu9L.mjs +0 -317
- package/components/diff-BEdzuHlE.mjs +0 -6
- package/components/dockerfile-B3DP334t.mjs +0 -14
- package/components/dracula-B8-AVrwI.mjs +0 -3
- package/components/dracula-soft-BHeefow7.mjs +0 -3
- package/components/dream-maker-CNLQpoF-.mjs +0 -6
- package/components/elixir-0rTCSSfp.mjs +0 -11
- package/components/elm-BhwiZPvf.mjs +0 -10
- package/components/erDiagram-3M52JZNH-cttdAJXW.mjs +0 -1169
- package/components/erb-Lra8TlYM.mjs +0 -27
- package/components/erlang-D2NNgvtR.mjs +0 -17
- package/components/everforest-dark-Cg1xdODP.mjs +0 -3
- package/components/everforest-light-BmTD3bxe.mjs +0 -3
- package/components/fish-BU5HSdZy.mjs +0 -6
- package/components/flowDiagram-KYDEHFYC-9HpsqDdB.mjs +0 -2345
- package/components/fs-CdBSddpF.mjs +0 -17
- package/components/ganttDiagram-EK5VF46D-8QB3ofs6.mjs +0 -3497
- package/components/gdresource-CAbkn6H_.mjs +0 -11
- package/components/gdscript-Be_cubqt.mjs +0 -6
- package/components/gdshader-BEzE4j_3.mjs +0 -6
- package/components/gherkin-xCNF9gh8.mjs +0 -6
- package/components/git-commit-PP9xCApN.mjs +0 -9
- package/components/git-rebase-DqdGofLo.mjs +0 -9
- package/components/gitGraph-ZV4HHKMB-BSmtVGRu.mjs +0 -15
- package/components/gitGraphDiagram-GW3U2K7C-DNzc0Vx_.mjs +0 -1227
- package/components/github-dark-O22yVQaY.mjs +0 -3
- package/components/github-dark-default-DB2Hkvqn.mjs +0 -3
- package/components/github-dark-dimmed-CMZ_OfqC.mjs +0 -3
- package/components/github-dark-high-contrast-DmxWVmCU.mjs +0 -3
- package/components/github-light-BTbR9xVK.mjs +0 -3
- package/components/github-light-default-DWEonwFe.mjs +0 -3
- package/components/github-light-high-contrast-WJ_cPDts.mjs +0 -3
- package/components/glimmer-js-BkPYTyD4.mjs +0 -23
- package/components/glsl-CGsiYPcu.mjs +0 -9
- package/components/gnuplot-tV8vezdE.mjs +0 -6
- package/components/go-CBmVHZBz.mjs +0 -6
- package/components/graph-3zJxsO-i.mjs +0 -425
- package/components/graphql-D4pgneW3.mjs +0 -15
- package/components/groovy-Bn4MhXgW.mjs +0 -6
- package/components/gruvbox-dark-hard-C89wZ4s3.mjs +0 -3
- package/components/gruvbox-dark-medium-swz85q_b.mjs +0 -3
- package/components/gruvbox-dark-soft-BYHBHQJW.mjs +0 -3
- package/components/gruvbox-light-hard-DEF_ZxYZ.mjs +0 -3
- package/components/gruvbox-light-medium-ziUMnHJx.mjs +0 -3
- package/components/gruvbox-light-soft-Cuwp0tsB.mjs +0 -3
- package/components/gts-d3WsqAZM.mjs +0 -23
- package/components/hack-CwaBuF5l.mjs +0 -13
- package/components/haml-gLijj4rW.mjs +0 -11
- package/components/hbs-CFi5SpI3.mjs +0 -23
- package/components/hcl-axoq0Ycu.mjs +0 -6
- package/components/hjson-I7LcauIB.mjs +0 -6
- package/components/hlsl-TRzjajlb.mjs +0 -6
- package/components/houston-CF_ws8Cq.mjs +0 -3
- package/components/hs-DXSGqUFF.mjs +0 -14
- package/components/html-CLq-n30c.mjs +0 -11
- package/components/html-derivative-C8POX8SL.mjs +0 -9
- package/components/http-BYUKZ6kX.mjs +0 -20
- package/components/imba-C4923lSV.mjs +0 -6
- package/components/index4.mjs +0 -78
- package/components/info-63CPKGFF-C8sYWczU.mjs +0 -15
- package/components/infoDiagram-LHK5PUON-C-vFFPTf.mjs +0 -44
- package/components/init-ZxktEp_H.mjs +0 -15
- package/components/java-BfXh-0uJ.mjs +0 -6
- package/components/jinja-html-BmW4v_vu.mjs +0 -11
- package/components/jison-C9kAT_Oj.mjs +0 -9
- package/components/journeyDiagram-EWQZEKCU-BJrw4-AG.mjs +0 -1264
- package/components/js-CN_xSsjU.mjs +0 -14
- package/components/json-TjWBGEk1.mjs +0 -6
- package/components/json5-DCGCKrmX.mjs +0 -6
- package/components/jsonc-DLVLp8id.mjs +0 -6
- package/components/jsonl-B-R_pDGg.mjs +0 -6
- package/components/jsonnet-Cs8BnnC6.mjs +0 -6
- package/components/jssm-D_YBQ_cM.mjs +0 -14
- package/components/jsx-BPmvoin2.mjs +0 -6
- package/components/julia-C-JjBobP.mjs +0 -19
- package/components/kanagawa-dragon-DU8n2NNT.mjs +0 -3
- package/components/kanagawa-lotus-Byd0CDet.mjs +0 -3
- package/components/kanagawa-wave-DExoagcR.mjs +0 -3
- package/components/kanban-definition-ZSS6B67P-BptAnqU-.mjs +0 -1059
- package/components/kotlin-BM2ZNTMh.mjs +0 -6
- package/components/kusto-D9MF7CZf.mjs +0 -14
- package/components/laserwave-DF03wMlf.mjs +0 -3
- package/components/latex-BsqkLZB_.mjs +0 -10
- package/components/layout-sGZIJplX.mjs +0 -2043
- package/components/less-BAzLMJNR.mjs +0 -6
- package/components/light-plus-DS08Xg5J.mjs +0 -3
- package/components/linear-DqgVh5FN.mjs +0 -336
- package/components/liquid-f2VHt0dg.mjs +0 -15
- package/components/lisp-DAq1kaby.mjs +0 -6
- package/components/logo-D9l7oEJ8.mjs +0 -6
- package/components/lua-CH3ttzl_.mjs +0 -9
- package/components/makefile-D2qLe7q0.mjs +0 -14
- package/components/marko-DwRyI_--.mjs +0 -15
- package/components/material-theme-B8B2U48Q.mjs +0 -3
- package/components/material-theme-darker-BV0iY_T3.mjs +0 -3
- package/components/material-theme-lighter-DrzybSTF.mjs +0 -3
- package/components/material-theme-ocean-BRPLVReX.mjs +0 -3
- package/components/material-theme-palenight-DSJwsR_D.mjs +0 -3
- package/components/matlab-7XHduepk.mjs +0 -6
- package/components/md-BIvDPr-W.mjs +0 -14
- package/components/mdc-Rx6hWSHn.mjs +0 -16
- package/components/mdx-D5wExp-O.mjs +0 -6
- package/components/mermaid-CUjtoYEe.mjs +0 -6
- package/components/mermaid-parser.core-CH9ryA1K.mjs +0 -16987
- package/components/mermaid.core-CAqkCmS1.mjs +0 -20977
- package/components/min-BngCxx8g.mjs +0 -109
- package/components/min-dark-BNaN9fWk.mjs +0 -3
- package/components/min-light-CMrjentn.mjs +0 -3
- package/components/mindmap-definition-6CBA2TL7-Cp_EeEsh.mjs +0 -5856
- package/components/mojo-CrbF881p.mjs +0 -6
- package/components/monokai-DelygWXa.mjs +0 -3
- package/components/narrat-DOwkIbBe.mjs +0 -14
- package/components/nf-DHfvJ2gH.mjs +0 -14
- package/components/nginx-B_jWsywZ.mjs +0 -10
- package/components/night-owl-DSS199ra.mjs +0 -3
- package/components/nim-yzbnZKJd.mjs +0 -22
- package/components/nix--3K2gyjg.mjs +0 -6
- package/components/nord-CvDbBq5M.mjs +0 -3
- package/components/objective-c-DkOBZg1J.mjs +0 -14
- package/components/objective-cpp-DEoN9Fe5.mjs +0 -6
- package/components/ocaml-B1kfGk9Y.mjs +0 -6
- package/components/one-dark-pro-CsMf0BoJ.mjs +0 -3
- package/components/one-light-BwwAsfsj.mjs +0 -3
- package/components/ordinal-DSZU4PqD.mjs +0 -76
- package/components/packet-HUATNLJX-bfFWFja0.mjs +0 -15
- package/components/pascal-CU8Kjkr_.mjs +0 -6
- package/components/perl-FH6su6vZ.mjs +0 -18
- package/components/php-Dnl1TfYH.mjs +0 -20
- package/components/pie-WTHONI2E-QPrWs3SR.mjs +0 -15
- package/components/pieDiagram-NIOCPIFQ-C46Y_4C6.mjs +0 -250
- package/components/plastic-BjwMpBc0.mjs +0 -3
- package/components/plsql-B3Na24V4.mjs +0 -6
- package/components/poimandres-ChWyhPrn.mjs +0 -3
- package/components/postcss-kj1IbjVd.mjs +0 -6
- package/components/powerquery-B-e1fO-k.mjs +0 -6
- package/components/prisma-bmxcSDxq.mjs +0 -6
- package/components/prolog-BT9GCzqD.mjs +0 -6
- package/components/properties-D6yKO1eW.mjs +0 -14
- package/components/proto-BIXM0k1a.mjs +0 -6
- package/components/ps1-aFyNx8UH.mjs +0 -18
- package/components/pug-BrOx0bSt.mjs +0 -21
- package/components/puppet-N15G4Usj.mjs +0 -6
- package/components/purescript-DrwsEYNH.mjs +0 -6
- package/components/python-D2s92fRP.mjs +0 -14
- package/components/ql-DTm-NCRo.mjs +0 -14
- package/components/quadrantDiagram-2OG54O6I-Dgf6d6F_.mjs +0 -1349
- package/components/r-oprfD2-9.mjs +0 -6
- package/components/radar-NJJJXTRR-BnUCJhQL.mjs +0 -15
- package/components/raku-xArQd_rF.mjs +0 -14
- package/components/razor-BoXCAbWQ.mjs +0 -13
- package/components/red-DByOl5N0.mjs +0 -3
- package/components/reg-CULnG2WX.mjs +0 -6
- package/components/rel-CHRwzjd4.mjs +0 -6
- package/components/requirementDiagram-QOLK2EJ7-CSF6N7HA.mjs +0 -1173
- package/components/riscv-BNQ9cVpw.mjs +0 -6
- package/components/rose-pine-LL9gXmP2.mjs +0 -3
- package/components/rose-pine-dawn-CH9zdisO.mjs +0 -3
- package/components/rose-pine-moon-B1oKSfEJ.mjs +0 -3
- package/components/rst-bEtD1v7N.mjs +0 -36
- package/components/ruby-BmfBy6EV.mjs +0 -44
- package/components/rust-Bf_fdNdL.mjs +0 -14
- package/components/sankeyDiagram-4UZDY2LN-BAHB7dMS.mjs +0 -1201
- package/components/sas-BLBgC3TA.mjs +0 -9
- package/components/sass-BheygBdF.mjs +0 -6
- package/components/scala-B-_7vFVn.mjs +0 -6
- package/components/scheme-BSHdPinv.mjs +0 -6
- package/components/scss-Dq-LbI_c.mjs +0 -9
- package/components/sequenceDiagram-SKLFT4DO-10gLJ50N.mjs +0 -3424
- package/components/shaderlab-BOQRTiQi.mjs +0 -17
- package/components/shellsession-Cu3c0QAc.mjs +0 -17
- package/components/slack-dark-BEe10hxO.mjs +0 -3
- package/components/slack-ochin-BKmu9pBc.mjs +0 -3
- package/components/smalltalk-qxcGy4fT.mjs +0 -6
- package/components/snazzy-light-Dcvd-ZyI.mjs +0 -3
- package/components/solarized-dark-BBl5y5sR.mjs +0 -3
- package/components/solarized-light-DW9b_AY8.mjs +0 -3
- package/components/solidity-CewKZgp-.mjs +0 -6
- package/components/sparql-DswowMAp.mjs +0 -9
- package/components/splunk-gK6Iw_P9.mjs +0 -14
- package/components/sql-DzUuSofg.mjs +0 -6
- package/components/ssh-config-Bk_I5wDR.mjs +0 -6
- package/components/stata-Dl7wDdBE.mjs +0 -9
- package/components/stateDiagram-MI5ZYTHO-D6p6nCaj.mjs +0 -461
- package/components/stateDiagram-v2-5AN5P6BG-DaN5hC-t.mjs +0 -31
- package/components/stylus-qRNkxrFU.mjs +0 -14
- package/components/svelte-B9qv3vkS.mjs +0 -15
- package/components/swift-BRQRsam8.mjs +0 -6
- package/components/synthwave-84-CoUef9sh.mjs +0 -3
- package/components/system-verilog-BcESSvRn.mjs +0 -6
- package/components/tasl-DfOr2qHi.mjs +0 -6
- package/components/tcl-CTsc4-t7.mjs +0 -6
- package/components/tex-CumJx1zu.mjs +0 -9
- package/components/timeline-definition-MYPXXCX6-gLqnWxDu.mjs +0 -1236
- package/components/tokyo-night-DjtLpAEY.mjs +0 -3
- package/components/toml-vHPzWDj6.mjs +0 -6
- package/components/treemap-75Q7IDZK-B2atdfMH.mjs +0 -15
- package/components/tsx-CmGGo4Hm.mjs +0 -6
- package/components/turtle-BnC7StHY.mjs +0 -6
- package/components/twig-0XKNpXN1.mjs +0 -35
- package/components/typescript-CgxwwAuC.mjs +0 -14
- package/components/v-Bmdjo9cy.mjs +0 -6
- package/components/vb-DuF6ZenW.mjs +0 -14
- package/components/verilog-CCb_iTfF.mjs +0 -6
- package/components/vesper-4Q1cEwPL.mjs +0 -3
- package/components/vhdl-DMqk4T2s.mjs +0 -6
- package/components/vimscript-aKp9YbYm.mjs +0 -18
- package/components/vitesse-black-BqNLki8b.mjs +0 -3
- package/components/vitesse-dark-jJ32WhwH.mjs +0 -3
- package/components/vitesse-light-476zM4e6.mjs +0 -3
- package/components/vue-DVNNTw2l.mjs +0 -40
- package/components/vue-html-Cr5wciIP.mjs +0 -16
- package/components/vyper-DYedWgAE.mjs +0 -14
- package/components/wasm-BBh6f151.mjs +0 -6
- package/components/wasm-DDgzZJey.mjs +0 -7
- package/components/wenyan-BdqozpMZ.mjs +0 -6
- package/components/wgsl-Vo-hHVWH.mjs +0 -6
- package/components/wolfram-CRmjUoI4.mjs +0 -6
- package/components/xml-BMzZeaqs.mjs +0 -9
- package/components/xsl-CAhvzxWv.mjs +0 -10
- package/components/xychartDiagram-H2YORKM3-Whqa4ezL.mjs +0 -1895
- package/components/yml-BhSrWWMS.mjs +0 -14
- package/components/zenscript-DFINJL6j.mjs +0 -6
- package/components/zig-CS4FMAZp.mjs +0 -6
- package/components/zsh-hcK4TBd7.mjs +0 -26
|
@@ -1,336 +0,0 @@
|
|
|
1
|
-
import { aK as interpolateNumber, aJ as constant$1, aN as color, aL as interpolateRgb, aM as interpolateString } from './mermaid.core-CAqkCmS1.mjs';
|
|
2
|
-
import { i as initRange } from './init-ZxktEp_H.mjs';
|
|
3
|
-
import { f as formatSpecifier, a as formatPrefix, b as format, e as exponent } from './defaultLocale-DVr69WTU.mjs';
|
|
4
|
-
|
|
5
|
-
function ascending(a, b) {
|
|
6
|
-
return a == null || b == null ? NaN : a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
|
|
7
|
-
}
|
|
8
|
-
function descending(a, b) {
|
|
9
|
-
return a == null || b == null ? NaN : b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN;
|
|
10
|
-
}
|
|
11
|
-
function bisector(f) {
|
|
12
|
-
let compare1, compare2, delta;
|
|
13
|
-
if (f.length !== 2) {
|
|
14
|
-
compare1 = ascending;
|
|
15
|
-
compare2 = (d, x) => ascending(f(d), x);
|
|
16
|
-
delta = (d, x) => f(d) - x;
|
|
17
|
-
} else {
|
|
18
|
-
compare1 = f === ascending || f === descending ? f : zero;
|
|
19
|
-
compare2 = f;
|
|
20
|
-
delta = f;
|
|
21
|
-
}
|
|
22
|
-
function left(a, x, lo = 0, hi = a.length) {
|
|
23
|
-
if (lo < hi) {
|
|
24
|
-
if (compare1(x, x) !== 0) return hi;
|
|
25
|
-
do {
|
|
26
|
-
const mid = lo + hi >>> 1;
|
|
27
|
-
if (compare2(a[mid], x) < 0) lo = mid + 1;
|
|
28
|
-
else hi = mid;
|
|
29
|
-
} while (lo < hi);
|
|
30
|
-
}
|
|
31
|
-
return lo;
|
|
32
|
-
}
|
|
33
|
-
function right(a, x, lo = 0, hi = a.length) {
|
|
34
|
-
if (lo < hi) {
|
|
35
|
-
if (compare1(x, x) !== 0) return hi;
|
|
36
|
-
do {
|
|
37
|
-
const mid = lo + hi >>> 1;
|
|
38
|
-
if (compare2(a[mid], x) <= 0) lo = mid + 1;
|
|
39
|
-
else hi = mid;
|
|
40
|
-
} while (lo < hi);
|
|
41
|
-
}
|
|
42
|
-
return lo;
|
|
43
|
-
}
|
|
44
|
-
function center(a, x, lo = 0, hi = a.length) {
|
|
45
|
-
const i = left(a, x, lo, hi - 1);
|
|
46
|
-
return i > lo && delta(a[i - 1], x) > -delta(a[i], x) ? i - 1 : i;
|
|
47
|
-
}
|
|
48
|
-
return { left, center, right };
|
|
49
|
-
}
|
|
50
|
-
function zero() {
|
|
51
|
-
return 0;
|
|
52
|
-
}
|
|
53
|
-
function number$1(x) {
|
|
54
|
-
return x === null ? NaN : +x;
|
|
55
|
-
}
|
|
56
|
-
const ascendingBisect = bisector(ascending);
|
|
57
|
-
const bisectRight = ascendingBisect.right;
|
|
58
|
-
bisector(number$1).center;
|
|
59
|
-
const e10 = Math.sqrt(50), e5 = Math.sqrt(10), e2 = Math.sqrt(2);
|
|
60
|
-
function tickSpec(start, stop, count) {
|
|
61
|
-
const step = (stop - start) / Math.max(0, count), power = Math.floor(Math.log10(step)), error = step / Math.pow(10, power), factor = error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1;
|
|
62
|
-
let i1, i2, inc;
|
|
63
|
-
if (power < 0) {
|
|
64
|
-
inc = Math.pow(10, -power) / factor;
|
|
65
|
-
i1 = Math.round(start * inc);
|
|
66
|
-
i2 = Math.round(stop * inc);
|
|
67
|
-
if (i1 / inc < start) ++i1;
|
|
68
|
-
if (i2 / inc > stop) --i2;
|
|
69
|
-
inc = -inc;
|
|
70
|
-
} else {
|
|
71
|
-
inc = Math.pow(10, power) * factor;
|
|
72
|
-
i1 = Math.round(start / inc);
|
|
73
|
-
i2 = Math.round(stop / inc);
|
|
74
|
-
if (i1 * inc < start) ++i1;
|
|
75
|
-
if (i2 * inc > stop) --i2;
|
|
76
|
-
}
|
|
77
|
-
if (i2 < i1 && 0.5 <= count && count < 2) return tickSpec(start, stop, count * 2);
|
|
78
|
-
return [i1, i2, inc];
|
|
79
|
-
}
|
|
80
|
-
function ticks(start, stop, count) {
|
|
81
|
-
stop = +stop, start = +start, count = +count;
|
|
82
|
-
if (!(count > 0)) return [];
|
|
83
|
-
if (start === stop) return [start];
|
|
84
|
-
const reverse = stop < start, [i1, i2, inc] = reverse ? tickSpec(stop, start, count) : tickSpec(start, stop, count);
|
|
85
|
-
if (!(i2 >= i1)) return [];
|
|
86
|
-
const n = i2 - i1 + 1, ticks2 = new Array(n);
|
|
87
|
-
if (reverse) {
|
|
88
|
-
if (inc < 0) for (let i = 0; i < n; ++i) ticks2[i] = (i2 - i) / -inc;
|
|
89
|
-
else for (let i = 0; i < n; ++i) ticks2[i] = (i2 - i) * inc;
|
|
90
|
-
} else {
|
|
91
|
-
if (inc < 0) for (let i = 0; i < n; ++i) ticks2[i] = (i1 + i) / -inc;
|
|
92
|
-
else for (let i = 0; i < n; ++i) ticks2[i] = (i1 + i) * inc;
|
|
93
|
-
}
|
|
94
|
-
return ticks2;
|
|
95
|
-
}
|
|
96
|
-
function tickIncrement(start, stop, count) {
|
|
97
|
-
stop = +stop, start = +start, count = +count;
|
|
98
|
-
return tickSpec(start, stop, count)[2];
|
|
99
|
-
}
|
|
100
|
-
function tickStep(start, stop, count) {
|
|
101
|
-
stop = +stop, start = +start, count = +count;
|
|
102
|
-
const reverse = stop < start, inc = reverse ? tickIncrement(stop, start, count) : tickIncrement(start, stop, count);
|
|
103
|
-
return (reverse ? -1 : 1) * (inc < 0 ? 1 / -inc : inc);
|
|
104
|
-
}
|
|
105
|
-
function numberArray(a, b) {
|
|
106
|
-
if (!b) b = [];
|
|
107
|
-
var n = a ? Math.min(b.length, a.length) : 0, c = b.slice(), i;
|
|
108
|
-
return function(t) {
|
|
109
|
-
for (i = 0; i < n; ++i) c[i] = a[i] * (1 - t) + b[i] * t;
|
|
110
|
-
return c;
|
|
111
|
-
};
|
|
112
|
-
}
|
|
113
|
-
function isNumberArray(x) {
|
|
114
|
-
return ArrayBuffer.isView(x) && !(x instanceof DataView);
|
|
115
|
-
}
|
|
116
|
-
function genericArray(a, b) {
|
|
117
|
-
var nb = b ? b.length : 0, na = a ? Math.min(nb, a.length) : 0, x = new Array(na), c = new Array(nb), i;
|
|
118
|
-
for (i = 0; i < na; ++i) x[i] = interpolate(a[i], b[i]);
|
|
119
|
-
for (; i < nb; ++i) c[i] = b[i];
|
|
120
|
-
return function(t) {
|
|
121
|
-
for (i = 0; i < na; ++i) c[i] = x[i](t);
|
|
122
|
-
return c;
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
function date(a, b) {
|
|
126
|
-
var d = /* @__PURE__ */ new Date();
|
|
127
|
-
return a = +a, b = +b, function(t) {
|
|
128
|
-
return d.setTime(a * (1 - t) + b * t), d;
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
|
-
function object(a, b) {
|
|
132
|
-
var i = {}, c = {}, k;
|
|
133
|
-
if (a === null || typeof a !== "object") a = {};
|
|
134
|
-
if (b === null || typeof b !== "object") b = {};
|
|
135
|
-
for (k in b) {
|
|
136
|
-
if (k in a) {
|
|
137
|
-
i[k] = interpolate(a[k], b[k]);
|
|
138
|
-
} else {
|
|
139
|
-
c[k] = b[k];
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
return function(t) {
|
|
143
|
-
for (k in i) c[k] = i[k](t);
|
|
144
|
-
return c;
|
|
145
|
-
};
|
|
146
|
-
}
|
|
147
|
-
function interpolate(a, b) {
|
|
148
|
-
var t = typeof b, c;
|
|
149
|
-
return b == null || t === "boolean" ? constant$1(b) : (t === "number" ? interpolateNumber : t === "string" ? (c = color(b)) ? (b = c, interpolateRgb) : interpolateString : b instanceof color ? interpolateRgb : b instanceof Date ? date : isNumberArray(b) ? numberArray : Array.isArray(b) ? genericArray : typeof b.valueOf !== "function" && typeof b.toString !== "function" || isNaN(b) ? object : interpolateNumber)(a, b);
|
|
150
|
-
}
|
|
151
|
-
function interpolateRound(a, b) {
|
|
152
|
-
return a = +a, b = +b, function(t) {
|
|
153
|
-
return Math.round(a * (1 - t) + b * t);
|
|
154
|
-
};
|
|
155
|
-
}
|
|
156
|
-
function precisionFixed(step) {
|
|
157
|
-
return Math.max(0, -exponent(Math.abs(step)));
|
|
158
|
-
}
|
|
159
|
-
function precisionPrefix(step, value) {
|
|
160
|
-
return Math.max(0, Math.max(-8, Math.min(8, Math.floor(exponent(value) / 3))) * 3 - exponent(Math.abs(step)));
|
|
161
|
-
}
|
|
162
|
-
function precisionRound(step, max) {
|
|
163
|
-
step = Math.abs(step), max = Math.abs(max) - step;
|
|
164
|
-
return Math.max(0, exponent(max) - exponent(step)) + 1;
|
|
165
|
-
}
|
|
166
|
-
function constants(x) {
|
|
167
|
-
return function() {
|
|
168
|
-
return x;
|
|
169
|
-
};
|
|
170
|
-
}
|
|
171
|
-
function number(x) {
|
|
172
|
-
return +x;
|
|
173
|
-
}
|
|
174
|
-
var unit = [0, 1];
|
|
175
|
-
function identity(x) {
|
|
176
|
-
return x;
|
|
177
|
-
}
|
|
178
|
-
function normalize(a, b) {
|
|
179
|
-
return (b -= a = +a) ? function(x) {
|
|
180
|
-
return (x - a) / b;
|
|
181
|
-
} : constants(isNaN(b) ? NaN : 0.5);
|
|
182
|
-
}
|
|
183
|
-
function clamper(a, b) {
|
|
184
|
-
var t;
|
|
185
|
-
if (a > b) t = a, a = b, b = t;
|
|
186
|
-
return function(x) {
|
|
187
|
-
return Math.max(a, Math.min(b, x));
|
|
188
|
-
};
|
|
189
|
-
}
|
|
190
|
-
function bimap(domain, range, interpolate2) {
|
|
191
|
-
var d0 = domain[0], d1 = domain[1], r0 = range[0], r1 = range[1];
|
|
192
|
-
if (d1 < d0) d0 = normalize(d1, d0), r0 = interpolate2(r1, r0);
|
|
193
|
-
else d0 = normalize(d0, d1), r0 = interpolate2(r0, r1);
|
|
194
|
-
return function(x) {
|
|
195
|
-
return r0(d0(x));
|
|
196
|
-
};
|
|
197
|
-
}
|
|
198
|
-
function polymap(domain, range, interpolate2) {
|
|
199
|
-
var j = Math.min(domain.length, range.length) - 1, d = new Array(j), r = new Array(j), i = -1;
|
|
200
|
-
if (domain[j] < domain[0]) {
|
|
201
|
-
domain = domain.slice().reverse();
|
|
202
|
-
range = range.slice().reverse();
|
|
203
|
-
}
|
|
204
|
-
while (++i < j) {
|
|
205
|
-
d[i] = normalize(domain[i], domain[i + 1]);
|
|
206
|
-
r[i] = interpolate2(range[i], range[i + 1]);
|
|
207
|
-
}
|
|
208
|
-
return function(x) {
|
|
209
|
-
var i2 = bisectRight(domain, x, 1, j) - 1;
|
|
210
|
-
return r[i2](d[i2](x));
|
|
211
|
-
};
|
|
212
|
-
}
|
|
213
|
-
function copy(source, target) {
|
|
214
|
-
return target.domain(source.domain()).range(source.range()).interpolate(source.interpolate()).clamp(source.clamp()).unknown(source.unknown());
|
|
215
|
-
}
|
|
216
|
-
function transformer() {
|
|
217
|
-
var domain = unit, range = unit, interpolate$1 = interpolate, transform, untransform, unknown, clamp = identity, piecewise, output, input;
|
|
218
|
-
function rescale() {
|
|
219
|
-
var n = Math.min(domain.length, range.length);
|
|
220
|
-
if (clamp !== identity) clamp = clamper(domain[0], domain[n - 1]);
|
|
221
|
-
piecewise = n > 2 ? polymap : bimap;
|
|
222
|
-
output = input = null;
|
|
223
|
-
return scale;
|
|
224
|
-
}
|
|
225
|
-
function scale(x) {
|
|
226
|
-
return x == null || isNaN(x = +x) ? unknown : (output || (output = piecewise(domain.map(transform), range, interpolate$1)))(transform(clamp(x)));
|
|
227
|
-
}
|
|
228
|
-
scale.invert = function(y) {
|
|
229
|
-
return clamp(untransform((input || (input = piecewise(range, domain.map(transform), interpolateNumber)))(y)));
|
|
230
|
-
};
|
|
231
|
-
scale.domain = function(_) {
|
|
232
|
-
return arguments.length ? (domain = Array.from(_, number), rescale()) : domain.slice();
|
|
233
|
-
};
|
|
234
|
-
scale.range = function(_) {
|
|
235
|
-
return arguments.length ? (range = Array.from(_), rescale()) : range.slice();
|
|
236
|
-
};
|
|
237
|
-
scale.rangeRound = function(_) {
|
|
238
|
-
return range = Array.from(_), interpolate$1 = interpolateRound, rescale();
|
|
239
|
-
};
|
|
240
|
-
scale.clamp = function(_) {
|
|
241
|
-
return arguments.length ? (clamp = _ ? true : identity, rescale()) : clamp !== identity;
|
|
242
|
-
};
|
|
243
|
-
scale.interpolate = function(_) {
|
|
244
|
-
return arguments.length ? (interpolate$1 = _, rescale()) : interpolate$1;
|
|
245
|
-
};
|
|
246
|
-
scale.unknown = function(_) {
|
|
247
|
-
return arguments.length ? (unknown = _, scale) : unknown;
|
|
248
|
-
};
|
|
249
|
-
return function(t, u) {
|
|
250
|
-
transform = t, untransform = u;
|
|
251
|
-
return rescale();
|
|
252
|
-
};
|
|
253
|
-
}
|
|
254
|
-
function continuous() {
|
|
255
|
-
return transformer()(identity, identity);
|
|
256
|
-
}
|
|
257
|
-
function tickFormat(start, stop, count, specifier) {
|
|
258
|
-
var step = tickStep(start, stop, count), precision;
|
|
259
|
-
specifier = formatSpecifier(specifier == null ? ",f" : specifier);
|
|
260
|
-
switch (specifier.type) {
|
|
261
|
-
case "s": {
|
|
262
|
-
var value = Math.max(Math.abs(start), Math.abs(stop));
|
|
263
|
-
if (specifier.precision == null && !isNaN(precision = precisionPrefix(step, value))) specifier.precision = precision;
|
|
264
|
-
return formatPrefix(specifier, value);
|
|
265
|
-
}
|
|
266
|
-
case "":
|
|
267
|
-
case "e":
|
|
268
|
-
case "g":
|
|
269
|
-
case "p":
|
|
270
|
-
case "r": {
|
|
271
|
-
if (specifier.precision == null && !isNaN(precision = precisionRound(step, Math.max(Math.abs(start), Math.abs(stop))))) specifier.precision = precision - (specifier.type === "e");
|
|
272
|
-
break;
|
|
273
|
-
}
|
|
274
|
-
case "f":
|
|
275
|
-
case "%": {
|
|
276
|
-
if (specifier.precision == null && !isNaN(precision = precisionFixed(step))) specifier.precision = precision - (specifier.type === "%") * 2;
|
|
277
|
-
break;
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
return format(specifier);
|
|
281
|
-
}
|
|
282
|
-
function linearish(scale) {
|
|
283
|
-
var domain = scale.domain;
|
|
284
|
-
scale.ticks = function(count) {
|
|
285
|
-
var d = domain();
|
|
286
|
-
return ticks(d[0], d[d.length - 1], count == null ? 10 : count);
|
|
287
|
-
};
|
|
288
|
-
scale.tickFormat = function(count, specifier) {
|
|
289
|
-
var d = domain();
|
|
290
|
-
return tickFormat(d[0], d[d.length - 1], count == null ? 10 : count, specifier);
|
|
291
|
-
};
|
|
292
|
-
scale.nice = function(count) {
|
|
293
|
-
if (count == null) count = 10;
|
|
294
|
-
var d = domain();
|
|
295
|
-
var i0 = 0;
|
|
296
|
-
var i1 = d.length - 1;
|
|
297
|
-
var start = d[i0];
|
|
298
|
-
var stop = d[i1];
|
|
299
|
-
var prestep;
|
|
300
|
-
var step;
|
|
301
|
-
var maxIter = 10;
|
|
302
|
-
if (stop < start) {
|
|
303
|
-
step = start, start = stop, stop = step;
|
|
304
|
-
step = i0, i0 = i1, i1 = step;
|
|
305
|
-
}
|
|
306
|
-
while (maxIter-- > 0) {
|
|
307
|
-
step = tickIncrement(start, stop, count);
|
|
308
|
-
if (step === prestep) {
|
|
309
|
-
d[i0] = start;
|
|
310
|
-
d[i1] = stop;
|
|
311
|
-
return domain(d);
|
|
312
|
-
} else if (step > 0) {
|
|
313
|
-
start = Math.floor(start / step) * step;
|
|
314
|
-
stop = Math.ceil(stop / step) * step;
|
|
315
|
-
} else if (step < 0) {
|
|
316
|
-
start = Math.ceil(start * step) / step;
|
|
317
|
-
stop = Math.floor(stop * step) / step;
|
|
318
|
-
} else {
|
|
319
|
-
break;
|
|
320
|
-
}
|
|
321
|
-
prestep = step;
|
|
322
|
-
}
|
|
323
|
-
return scale;
|
|
324
|
-
};
|
|
325
|
-
return scale;
|
|
326
|
-
}
|
|
327
|
-
function linear() {
|
|
328
|
-
var scale = continuous();
|
|
329
|
-
scale.copy = function() {
|
|
330
|
-
return copy(scale, linear());
|
|
331
|
-
};
|
|
332
|
-
initRange.apply(scale, arguments);
|
|
333
|
-
return linearish(scale);
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
export { copy as a, bisector as b, continuous as c, linear as l, tickStep as t };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import html from './html-CLq-n30c.mjs';
|
|
2
|
-
import css from './css-BtVcDqlU.mjs';
|
|
3
|
-
import json from './json-TjWBGEk1.mjs';
|
|
4
|
-
import { j as javascript$1 } from './js-CN_xSsjU.mjs';
|
|
5
|
-
|
|
6
|
-
const lang = Object.freeze(JSON.parse(`{"displayName":"Liquid","fileTypes":["liquid"],"foldingStartMarker":"\\\\{%-?\\\\s*(capture|case|comment|form??|if|javascript|paginate|schema|style)[^%()}]+%}","foldingStopMarker":"\\\\{%\\\\s*(end(?:capture|case|comment|form??|if|javascript|paginate|schema|style))[^%()}]+%}","injections":{"L:meta.embedded.block.js, L:meta.embedded.block.css, L:meta.embedded.block.html, L:string.quoted":{"patterns":[{"include":"#injection"}]}},"name":"liquid","patterns":[{"include":"#core"}],"repository":{"attribute":{"begin":"\\\\w+:","beginCaptures":{"0":{"name":"entity.other.attribute-name.liquid"}},"end":"(?=,|%}|}}|\\\\|)","patterns":[{"include":"#value_expression"}]},"attribute_liquid":{"begin":"\\\\w+:","beginCaptures":{"0":{"name":"entity.other.attribute-name.liquid"}},"end":"(?=[,|])|$","patterns":[{"include":"#value_expression"}]},"comment_block":{"begin":"\\\\{%-?\\\\s*comment\\\\s*-?%}","end":"\\\\{%-?\\\\s*endcomment\\\\s*-?%}","name":"comment.block.liquid","patterns":[{"include":"#comment_block"},{"match":"(.(?!\\\\{%-?\\\\s*((?:|end)comment)\\\\s*-?%}))*."}]},"core":{"patterns":[{"include":"#raw_tag"},{"include":"#doc_tag"},{"include":"#comment_block"},{"include":"#style_codefence"},{"include":"#stylesheet_codefence"},{"include":"#json_codefence"},{"include":"#javascript_codefence"},{"include":"#object"},{"include":"#tag"},{"include":"text.html.basic"}]},"doc_tag":{"begin":"\\\\{%-?\\\\s*(doc)\\\\s*-?%}","beginCaptures":{"0":{"name":"meta.tag.liquid"},"1":{"name":"entity.name.tag.doc.liquid"}},"contentName":"comment.block.documentation.liquid","end":"\\\\{%-?\\\\s*(enddoc)\\\\s*-?%}","endCaptures":{"0":{"name":"meta.tag.liquid"},"1":{"name":"entity.name.tag.doc.liquid"}},"name":"meta.block.doc.liquid","patterns":[{"include":"#liquid_doc_description_tag"},{"include":"#liquid_doc_param_tag"},{"include":"#liquid_doc_example_tag"},{"include":"#liquid_doc_prompt_tag"},{"include":"#liquid_doc_fallback_tag"}]},"filter":{"captures":{"1":{"name":"support.function.liquid"}},"match":"\\\\|\\\\s*((?![.0-9])[-0-9A-Z_a-z]+:?)\\\\s*"},"injection":{"patterns":[{"include":"#raw_tag"},{"include":"#comment_block"},{"include":"#object"},{"include":"#tag_injection"}]},"invalid_range":{"match":"\\\\((.(?!\\\\.\\\\.))+\\\\)","name":"invalid.illegal.range.liquid"},"javascript_codefence":{"begin":"(\\\\{%-?)\\\\s*(javascript)\\\\s*(-?%})","beginCaptures":{"0":{"name":"meta.tag.metadata.javascript.start.liquid"},"1":{"name":"punctuation.definition.tag.begin.liquid"},"2":{"name":"entity.name.tag.javascript.liquid"},"3":{"name":"punctuation.definition.tag.begin.liquid"}},"contentName":"meta.embedded.block.js","end":"(\\\\{%-?)\\\\s*(endjavascript)\\\\s*(-?%})","endCaptures":{"0":{"name":"meta.tag.metadata.javascript.end.liquid"},"1":{"name":"punctuation.definition.tag.end.liquid"},"2":{"name":"entity.name.tag.javascript.liquid"},"3":{"name":"punctuation.definition.tag.end.liquid"}},"name":"meta.block.javascript.liquid","patterns":[{"include":"source.js"}]},"json_codefence":{"begin":"(\\\\{%-?)\\\\s*(schema)\\\\s*(-?%})","beginCaptures":{"0":{"name":"meta.tag.metadata.schema.start.liquid"},"1":{"name":"punctuation.definition.tag.begin.liquid"},"2":{"name":"entity.name.tag.schema.liquid"},"3":{"name":"punctuation.definition.tag.begin.liquid"}},"contentName":"meta.embedded.block.json","end":"(\\\\{%-?)\\\\s*(endschema)\\\\s*(-?%})","endCaptures":{"0":{"name":"meta.tag.metadata.schema.end.liquid"},"1":{"name":"punctuation.definition.tag.end.liquid"},"2":{"name":"entity.name.tag.schema.liquid"},"3":{"name":"punctuation.definition.tag.end.liquid"}},"name":"meta.block.schema.liquid","patterns":[{"include":"source.json"}]},"language_constant":{"match":"\\\\b(false|true|nil|blank)\\\\b|empty(?!\\\\?)","name":"constant.language.liquid"},"liquid_doc_description_tag":{"begin":"(@description)\\\\b\\\\s*","beginCaptures":{"0":{"name":"comment.block.documentation.liquid"},"1":{"name":"storage.type.class.liquid"}},"contentName":"string.quoted.single.liquid","end":"(?=@prompt|@example|@param|@description|\\\\{%-?\\\\s*enddoc\\\\s*-?%})"},"liquid_doc_example_tag":{"begin":"(@example)\\\\b\\\\s*","beginCaptures":{"0":{"name":"comment.block.documentation.liquid"},"1":{"name":"storage.type.class.liquid"}},"contentName":"meta.embedded.block.liquid","end":"(?=@prompt|@example|@param|@description|\\\\{%-?\\\\s*enddoc\\\\s*-?%})","patterns":[{"include":"#core"}]},"liquid_doc_fallback_tag":{"captures":{"1":{"name":"comment.block.liquid"}},"match":"(@\\\\w+)\\\\b"},"liquid_doc_param_tag":{"captures":{"1":{"name":"storage.type.class.liquid"},"2":{"name":"entity.name.type.instance.liquid"},"3":{"name":"variable.other.liquid"},"4":{"name":"string.quoted.single.liquid"}},"match":"(@param)\\\\s+(?:(\\\\{[^}]*}?)\\\\s+)?(\\\\[?[A-Z_a-z][-\\\\w]*]?)?(?:\\\\s+(.*))?"},"liquid_doc_prompt_tag":{"begin":"(@prompt)\\\\b\\\\s*","beginCaptures":{"0":{"name":"comment.block.documentation.liquid"},"1":{"name":"storage.type.class.liquid"}},"contentName":"string.quoted.single.liquid","end":"(?=@prompt|@example|@param|@description|\\\\{%-?\\\\s*enddoc\\\\s*-?%})"},"number":{"match":"(([-+])\\\\s*)?[0-9]+(\\\\.[0-9]+)?","name":"constant.numeric.liquid"},"object":{"begin":"(?<!comment %})(?<!comment -%})(?<!comment%})(?<!comment-%})(?<!raw %})(?<!raw -%})(?<!raw%})(?<!raw-%})\\\\{\\\\{-?","beginCaptures":{"0":{"name":"punctuation.definition.tag.begin.liquid"}},"end":"-?}}","endCaptures":{"0":{"name":"punctuation.definition.tag.end.liquid"}},"name":"meta.object.liquid","patterns":[{"include":"#filter"},{"include":"#attribute"},{"include":"#value_expression"}]},"operator":{"captures":{"1":{"name":"keyword.operator.expression.liquid"}},"match":"(?:(?<=\\\\s)|\\\\b)(==|!=|[<>]|>=|<=|or|and|contains)(?:(?=\\\\s)|\\\\b)"},"range":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.parens.begin.liquid"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.parens.end.liquid"}},"name":"meta.range.liquid","patterns":[{"match":"\\\\.\\\\.","name":"punctuation.range.liquid"},{"include":"#variable_lookup"},{"include":"#number"}]},"raw_tag":{"begin":"\\\\{%-?\\\\s*(raw)\\\\s*-?%}","beginCaptures":{"1":{"name":"entity.name.tag.liquid"}},"contentName":"string.unquoted.liquid","end":"\\\\{%-?\\\\s*(endraw)\\\\s*-?%}","endCaptures":{"1":{"name":"entity.name.tag.liquid"}},"name":"meta.entity.tag.raw.liquid","patterns":[{"match":"(.(?!\\\\{%-?\\\\s*endraw\\\\s*-?%}))*."}]},"string":{"patterns":[{"include":"#string_single"},{"include":"#string_double"}]},"string_double":{"begin":"\\"","end":"\\"","name":"string.quoted.double.liquid"},"string_single":{"begin":"'","end":"'","name":"string.quoted.single.liquid"},"style_codefence":{"begin":"(\\\\{%-?)\\\\s*(style)\\\\s*(-?%})","beginCaptures":{"0":{"name":"meta.tag.metadata.style.start.liquid"},"1":{"name":"punctuation.definition.tag.begin.liquid"},"2":{"name":"entity.name.tag.style.liquid"},"3":{"name":"punctuation.definition.tag.begin.liquid"}},"contentName":"meta.embedded.block.css","end":"(\\\\{%-?)\\\\s*(endstyle)\\\\s*(-?%})","endCaptures":{"0":{"name":"meta.tag.metadata.style.end.liquid"},"1":{"name":"punctuation.definition.tag.end.liquid"},"2":{"name":"entity.name.tag.style.liquid"},"3":{"name":"punctuation.definition.tag.end.liquid"}},"name":"meta.block.style.liquid","patterns":[{"include":"source.css"}]},"stylesheet_codefence":{"begin":"(\\\\{%-?)\\\\s*(stylesheet)\\\\s*(-?%})","beginCaptures":{"0":{"name":"meta.tag.metadata.style.start.liquid"},"1":{"name":"punctuation.definition.tag.begin.liquid"},"2":{"name":"entity.name.tag.style.liquid"},"3":{"name":"punctuation.definition.tag.begin.liquid"}},"contentName":"meta.embedded.block.css","end":"(\\\\{%-?)\\\\s*(endstylesheet)\\\\s*(-?%})","endCaptures":{"0":{"name":"meta.tag.metadata.style.end.liquid"},"1":{"name":"punctuation.definition.tag.end.liquid"},"2":{"name":"entity.name.tag.style.liquid"},"3":{"name":"punctuation.definition.tag.end.liquid"}},"name":"meta.block.style.liquid","patterns":[{"include":"source.css"}]},"tag":{"begin":"(?<!comment %})(?<!comment -%})(?<!comment%})(?<!comment-%})(?<!raw %})(?<!raw -%})(?<!raw%})(?<!raw-%})\\\\{%-?","beginCaptures":{"0":{"name":"punctuation.definition.tag.begin.liquid"}},"end":"-?%}","endCaptures":{"0":{"name":"punctuation.definition.tag.end.liquid"}},"name":"meta.tag.liquid","patterns":[{"include":"#tag_body"}]},"tag_assign":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(assign|echo)\\\\b","beginCaptures":{"1":{"name":"entity.name.tag.liquid"}},"end":"(?=%})","name":"meta.entity.tag.liquid","patterns":[{"include":"#filter"},{"include":"#attribute"},{"include":"#value_expression"}]},"tag_assign_liquid":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(assign|echo)\\\\b","beginCaptures":{"1":{"name":"entity.name.tag.liquid"}},"end":"$","name":"meta.entity.tag.liquid","patterns":[{"include":"#filter"},{"include":"#attribute_liquid"},{"include":"#value_expression"}]},"tag_body":{"patterns":[{"include":"#tag_liquid"},{"include":"#tag_assign"},{"include":"#tag_comment_inline"},{"include":"#tag_case"},{"include":"#tag_conditional"},{"include":"#tag_for"},{"include":"#tag_paginate"},{"include":"#tag_render"},{"include":"#tag_tablerow"},{"include":"#tag_expression"}]},"tag_case":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(case|when)\\\\b","beginCaptures":{"1":{"name":"keyword.control.case.liquid"}},"end":"(?=%})","name":"meta.entity.tag.case.liquid","patterns":[{"include":"#value_expression"}]},"tag_case_liquid":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(case|when)\\\\b","beginCaptures":{"1":{"name":"keyword.control.case.liquid"}},"end":"$","name":"meta.entity.tag.case.liquid","patterns":[{"include":"#value_expression"}]},"tag_comment_block_liquid":{"begin":"^\\\\s*(comment)\\\\b","end":"^\\\\s*(endcomment)\\\\b","name":"comment.block.liquid","patterns":[{"include":"#tag_comment_block_liquid"},{"match":"^\\\\s*(?!((?:|end)comment)).*"}]},"tag_comment_inline":{"begin":"#","end":"(?=%})","name":"comment.line.number-sign.liquid"},"tag_comment_inline_liquid":{"begin":"^\\\\s*#.*","end":"$","name":"comment.line.number-sign.liquid"},"tag_conditional":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(if|elsif|unless)\\\\b","beginCaptures":{"1":{"name":"keyword.control.conditional.liquid"}},"end":"(?=%})","name":"meta.entity.tag.conditional.liquid","patterns":[{"include":"#value_expression"}]},"tag_conditional_liquid":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(if|elsif|unless)\\\\b","beginCaptures":{"1":{"name":"keyword.control.conditional.liquid"}},"end":"$","name":"meta.entity.tag.conditional.liquid","patterns":[{"include":"#value_expression"}]},"tag_expression":{"patterns":[{"include":"#tag_expression_without_arguments"},{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(\\\\w+)","beginCaptures":{"1":{"name":"entity.name.tag.liquid"}},"end":"(?=%})","name":"meta.entity.tag.liquid","patterns":[{"include":"#value_expression"}]}]},"tag_expression_liquid":{"patterns":[{"include":"#tag_expression_without_arguments"},{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(\\\\w+)","beginCaptures":{"1":{"name":"entity.name.tag.liquid"}},"end":"$","name":"meta.entity.tag.liquid","patterns":[{"include":"#value_expression"}]}]},"tag_expression_without_arguments":{"patterns":[{"captures":{"1":{"name":"keyword.control.conditional.liquid"}},"match":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(end(?:unless|if))\\\\b"},{"captures":{"1":{"name":"keyword.control.loop.liquid"}},"match":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(end(?:for|tablerow|paginate))\\\\b"},{"captures":{"1":{"name":"keyword.control.case.liquid"}},"match":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(endcase)\\\\b"},{"captures":{"1":{"name":"keyword.control.other.liquid"}},"match":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(capture|case|comment|form??|if|javascript|paginate|schema|style)\\\\b"},{"captures":{"1":{"name":"keyword.control.other.liquid"}},"match":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(end(?:capture|case|comment|form??|if|javascript|paginate|schema|style))\\\\b"},{"captures":{"1":{"name":"keyword.control.other.liquid"}},"match":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(else|break|continue)\\\\b"}]},"tag_for":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(for)\\\\b","beginCaptures":{"1":{"name":"keyword.control.for.liquid"}},"end":"(?=%})","name":"meta.entity.tag.for.liquid","patterns":[{"include":"#tag_for_body"}]},"tag_for_body":{"patterns":[{"match":"\\\\b(in|reversed)\\\\b","name":"keyword.control.liquid"},{"match":"\\\\b(offset|limit):","name":"keyword.control.liquid"},{"include":"#value_expression"}]},"tag_for_liquid":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(for)\\\\b","beginCaptures":{"1":{"name":"keyword.control.for.liquid"}},"end":"$","name":"meta.entity.tag.for.liquid","patterns":[{"include":"#tag_for_body"}]},"tag_injection":{"begin":"(?<!comment %})(?<!comment -%})(?<!comment%})(?<!comment-%})(?<!raw %})(?<!raw -%})(?<!raw%})(?<!raw-%})\\\\{%-?(?!-?\\\\s*(end(?:style|javascript|comment|raw)))","beginCaptures":{"0":{"name":"punctuation.definition.tag.end.liquid"}},"end":"-?%}","endCaptures":{"0":{"name":"punctuation.definition.tag.end.liquid"}},"name":"meta.tag.liquid","patterns":[{"include":"#tag_body"}]},"tag_liquid":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(liquid)\\\\b","beginCaptures":{"1":{"name":"keyword.control.liquid.liquid"}},"end":"(?=%})","name":"meta.entity.tag.liquid.liquid","patterns":[{"include":"#tag_comment_block_liquid"},{"include":"#tag_comment_inline_liquid"},{"include":"#tag_assign_liquid"},{"include":"#tag_case_liquid"},{"include":"#tag_conditional_liquid"},{"include":"#tag_for_liquid"},{"include":"#tag_paginate_liquid"},{"include":"#tag_render_liquid"},{"include":"#tag_tablerow_liquid"},{"include":"#tag_expression_liquid"}]},"tag_paginate":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(paginate)\\\\b","beginCaptures":{"1":{"name":"keyword.control.paginate.liquid"}},"end":"(?=%})","name":"meta.entity.tag.paginate.liquid","patterns":[{"include":"#tag_paginate_body"}]},"tag_paginate_body":{"patterns":[{"match":"\\\\b(by)\\\\b","name":"keyword.control.liquid"},{"include":"#value_expression"}]},"tag_paginate_liquid":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(paginate)\\\\b","beginCaptures":{"1":{"name":"keyword.control.paginate.liquid"}},"end":"$","name":"meta.entity.tag.paginate.liquid","patterns":[{"include":"#tag_paginate_body"}]},"tag_render":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(render)\\\\b","beginCaptures":{"1":{"name":"entity.name.tag.render.liquid"}},"end":"(?=%})","name":"meta.entity.tag.render.liquid","patterns":[{"include":"#tag_render_special_keywords"},{"include":"#attribute"},{"include":"#value_expression"}]},"tag_render_liquid":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(render)\\\\b","beginCaptures":{"1":{"name":"entity.name.tag.render.liquid"}},"end":"$","name":"meta.entity.tag.render.liquid","patterns":[{"include":"#tag_render_special_keywords"},{"include":"#attribute_liquid"},{"include":"#value_expression"}]},"tag_render_special_keywords":{"match":"\\\\b(with|as|for)\\\\b","name":"keyword.control.other.liquid"},"tag_tablerow":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(tablerow)\\\\b","beginCaptures":{"1":{"name":"keyword.control.tablerow.liquid"}},"end":"(?=%})","name":"meta.entity.tag.tablerow.liquid","patterns":[{"include":"#tag_tablerow_body"}]},"tag_tablerow_body":{"patterns":[{"match":"\\\\b(in)\\\\b","name":"keyword.control.liquid"},{"match":"\\\\b(cols|offset|limit):","name":"keyword.control.liquid"},{"include":"#value_expression"}]},"tag_tablerow_liquid":{"begin":"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(tablerow)\\\\b","beginCaptures":{"1":{"name":"keyword.control.tablerow.liquid"}},"end":"$","name":"meta.entity.tag.tablerow.liquid","patterns":[{"include":"#tag_tablerow_body"}]},"value_expression":{"patterns":[{"captures":{"2":{"name":"invalid.illegal.filter.liquid"},"3":{"name":"invalid.illegal.filter.liquid"}},"match":"(\\\\[)(\\\\|)(?=[^]]*)(?=])"},{"match":"(?<=\\\\s)([-*+/])(?=\\\\s)","name":"invalid.illegal.filter.liquid"},{"include":"#language_constant"},{"include":"#operator"},{"include":"#invalid_range"},{"include":"#range"},{"include":"#number"},{"include":"#string"},{"include":"#variable_lookup"}]},"variable_lookup":{"patterns":[{"match":"\\\\b(additional_checkout_buttons|address|all_country_option_tags|all_products|articles??|block|blogs??|canonical_url|cart|checkout|collections??|comment|content_for_additional_checkout_buttons|content_for_header|content_for_index|content_for_layout|country_option_tags|currency|current_page|current_tags|customer|customer_address|discount_allocation|discount_application|external_video|font|forloop|form|fulfillment|gift_card|handle|images??|line_item|link|linklists??|location|localization|metafield|model|model_source|order|page|page_description|page_image|page_title|pages|paginate|part|policy|powered_by_link|predictive_search|product|product_option|product_variant|recommendations|request|routes|scripts??|search|section|selling_plan|selling_plan_allocation|selling_plan_group|settings|shipping_method|shop|shop_locale|store_availability|tablerow|tax_line|template|theme|transaction|unit_price_measurement|variant|video|video_source)\\\\b","name":"variable.language.liquid"},{"match":"((?<=\\\\w:\\\\s)\\\\w+)","name":"variable.parameter.liquid"},{"begin":"(?<=\\\\w)\\\\[","beginCaptures":{"0":{"name":"punctuation.section.brackets.begin.liquid"}},"end":"]","endCaptures":{"0":{"name":"punctuation.section.brackets.end.liquid"}},"name":"meta.brackets.liquid","patterns":[{"include":"#string"}]},{"match":"(?<=([]\\\\w])\\\\.)([-\\\\w]+\\\\??)","name":"variable.other.member.liquid"},{"match":"(?<=\\\\w)\\\\.(?=\\\\w)","name":"punctuation.accessor.liquid"},{"match":"(?i)[_a-z](\\\\w|-(?!}}))*","name":"variable.other.liquid"}]}},"scopeName":"text.html.liquid","embeddedLangs":["html","css","json","javascript"]}`));
|
|
7
|
-
const liquid = [
|
|
8
|
-
...html,
|
|
9
|
-
...css,
|
|
10
|
-
...json,
|
|
11
|
-
...javascript$1,
|
|
12
|
-
lang
|
|
13
|
-
];
|
|
14
|
-
|
|
15
|
-
export { liquid as default };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
const lang = Object.freeze(JSON.parse(`{"displayName":"Common Lisp","fileTypes":["lisp","lsp","l","cl","asd","asdf"],"foldingStartMarker":"\\\\(","foldingStopMarker":"\\\\)","name":"common-lisp","patterns":[{"include":"#comment"},{"include":"#block-comment"},{"include":"#string"},{"include":"#escape"},{"include":"#constant"},{"include":"#lambda-list"},{"include":"#function"},{"include":"#style-guide"},{"include":"#def-name"},{"include":"#macro"},{"include":"#symbol"},{"include":"#special-operator"},{"include":"#declaration"},{"include":"#type"},{"include":"#class"},{"include":"#condition-type"},{"include":"#package"},{"include":"#variable"},{"include":"#punctuation"}],"repository":{"block-comment":{"begin":"#\\\\|","contentName":"comment.block.commonlisp","end":"\\\\|#","name":"comment","patterns":[{"include":"#block-comment","name":"comment"}]},"class":{"match":"(?i)(?<=^|[(\\\\s])(?:two-way-stream|synonym-stream|symbol|structure-object|structure-class|string-stream|stream|standard-object|standard-method|standard-generic-function|standard-class|sequence|restart|real|readtable|ratio|random-state|package|number|method|integer|hash-table|generic-function|file-stream|echo-stream|concatenated-stream|class|built-in-class|broadcast-stream|bit-vector|array)(?=([()\\\\s]))","name":"support.class.commonlisp"},"comment":{"begin":"(^[\\\\t ]+)?(?=;)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.commonlisp"}},"end":"(?!\\\\G)","patterns":[{"begin":";","beginCaptures":{"0":{"name":"punctuation.definition.comment.commonlisp"}},"end":"\\\\n","name":"comment.line.semicolon.commonlisp"}]},"condition-type":{"match":"(?i)(?<=^|[(\\\\s])(?:warning|undefined-function|unbound-variable|unbound-slot|type-error|style-warning|stream-error|storage-condition|simple-warning|simple-type-error|simple-error|simple-condition|serious-condition|reader-error|program-error|print-not-readable|parse-error|package-error|floating-point-underflow|floating-point-overflow|floating-point-invalid-operation|floating-point-inexact|file-error|error|end-of-file|division-by-zero|control-error|condition|cell-error|arithmetic-error)(?=([()\\\\s]))","name":"support.type.exception.commonlisp"},"constant":{"patterns":[{"match":"(?i)(?<=^|[(\\\\s]|,@|,\\\\.?)(?:t|single-float-negative-epsilon|single-float-epsilon|short-float-negative-epsilon|short-float-epsilon|pi|nil|multiple-values-limit|most-positive-single-float|most-positive-short-float|most-positive-long-float|most-positive-fixnum|most-positive-double-float|most-negative-single-float|most-negative-short-float|most-negative-long-float|most-negative-fixnum|most-negative-double-float|long-float-negative-epsilon|long-float-epsilon|least-positive-single-float|least-positive-short-float|least-positive-normalized-single-float|least-positive-normalized-short-float|least-positive-normalized-long-float|least-positive-normalized-double-float|least-positive-long-float|least-positive-double-float|least-negative-single-float|least-negative-short-float|least-negative-normalized-single-float|least-negative-normalized-short-float|least-negative-normalized-long-float|least-negative-normalized-double-float|least-negative-long-float|least-negative-double-float|lambda-parameters-limit|lambda-list-keywords|internal-time-units-per-second|double-float-negative-epsilon|double-float-epsilon|char-code-limit|call-arguments-limit|boole-xor|boole-set|boole-orc2|boole-orc1|boole-nor|boole-nand|boole-ior|boole-eqv|boole-clr|boole-c2|boole-c1|boole-andc2|boole-andc1|boole-and|boole-2|boole-1|array-total-size-limit|array-rank-limit|array-dimension-limit)(?=([()\\\\s]))","name":"constant.language.commonlisp"},{"match":"(?<=^|[(\\\\s]|,@|,\\\\.?)([-+]?[0-9]+(?:/[0-9]+)*|[-+]?[0-9]*\\\\.?[0-9]+([Ee][-+]?[0-9]+)?|(#[Bb])[-+/01]+|(#[Oo])[-+/-7]+|(#[Xx])[-+/\\\\h]+|(#[0-9]+[Rr]?)[-+/-9A-Za-z]+)(?=([)\\\\s]))","name":"constant.numeric.commonlisp"},{"match":"(?i)(?<=\\\\s)(\\\\.)(?=\\\\s)","name":"variable.other.constant.dot.commonlisp"},{"match":"(?<=^|[(\\\\s]|,@|,\\\\.?)([-+]?[0-9]*\\\\.[0-9]*(([DEFLSdefls])[-+]?[0-9]+)?|[-+]?[0-9]+(\\\\.[0-9]*)?([DEFLSdefls])[-+]?[0-9]+)(?=([)\\\\s]))","name":"constant.numeric.commonlisp"}]},"declaration":{"match":"(?i)(?<=^|[(\\\\s])(?:type|speed|special|space|safety|optimize|notinline|inline|ignore|ignorable|ftype|dynamic-extent|declaration|debug|compilation-speed)(?=([()\\\\s]))","name":"storage.type.function.declaration.commonlisp"},"def-name":{"patterns":[{"captures":{"1":{"name":"storage.type.function.defname.commonlisp"},"3":{"name":"storage.type.function.defname.commonlisp"},"4":{"name":"variable.other.constant.defname.commonlisp"},"6":{"patterns":[{"include":"#package"},{"match":"\\\\S+?","name":"entity.name.function.commonlisp"}]},"7":{"name":"variable.other.constant.defname.commonlisp"},"9":{"patterns":[{"include":"#package"},{"match":"\\\\S+?","name":"entity.name.function.commonlisp"}]}},"match":"(?i)(?<=^|[(\\\\s])(def(?:un|setf|method|macro|ine-symbol-macro|ine-setf-expander|ine-modify-macro|ine-method-combination|ine-compiler-macro|generic))\\\\s+(\\\\(\\\\s*([]!#-\\\\&*+\\\\--:<-\\\\[^_a-{}~]+)\\\\s*((,(?:@|\\\\.?))?)([]!#-\\\\&*+\\\\--:<-\\\\[^_a-{}~]+?)|((,(?:@|\\\\.?))?)([]!#-\\\\&*+\\\\--:<-\\\\[^_a-{}~]+?))(?=([()\\\\s]))"},{"captures":{"1":{"name":"storage.type.function.defname.commonlisp"},"2":{"name":"entity.name.type.commonlisp"}},"match":"(?i)(?<=^|[(\\\\s])(def(?:type|package|ine-condition|class))\\\\s+([]!#-\\\\&*+\\\\--:<-\\\\[^_a-{}~]+?)(?=([()\\\\s]))"},{"captures":{"1":{"name":"storage.type.function.defname.commonlisp"},"2":{"patterns":[{"include":"#package"},{"match":"\\\\S+?","name":"variable.other.constant.defname.commonlisp"}]}},"match":"(?i)(?<=^|[(\\\\s])(defconstant)\\\\s+([]!#-\\\\&*+\\\\--:<-\\\\[^_a-{}~]+?)(?=([()\\\\s]))"},{"captures":{"1":{"name":"storage.type.function.defname.commonlisp"}},"match":"(?i)(?<=^|[(\\\\s])(def(?:var|parameter))\\\\s+(?=([()\\\\s]))"},{"captures":{"1":{"name":"storage.type.function.defname.commonlisp"},"2":{"name":"entity.name.type.commonlisp"}},"match":"(?i)(?<=^|[(\\\\s])(defstruct)\\\\s+\\\\(?\\\\s*([]!#-\\\\&*+\\\\--:<-\\\\[^_a-{}~]+?)(?=([()\\\\s]))"},{"captures":{"1":{"name":"keyword.control.commonlisp"},"2":{"patterns":[{"include":"#package"},{"match":"\\\\S+?","name":"entity.name.function.commonlisp"}]}},"match":"(?i)(?<=^|[(\\\\s])(macrolet|labels|flet)\\\\s+\\\\(\\\\s*\\\\(\\\\s*([]!#-\\\\&*+\\\\--:<-\\\\[^_a-{}~]+?)(?=([()\\\\s]))"}]},"escape":{"match":"(?i)(?<=^|[(\\\\s])#\\\\\\\\\\\\S+?(?=([()\\\\s]))","name":"constant.character.escape.commonlisp"},"function":{"patterns":[{"match":"(?i)(?<=^|[(\\\\s]|#')(?:values|third|tenth|symbol-value|symbol-plist|symbol-function|svref|subseq|sixth|seventh|second|schar|sbit|row-major-aref|rest|readtable-case|nth|ninth|mask-field|macro-function|logical-pathname-translations|ldb|gethash|getf?|fourth|first|find-class|fill-pointer|fifth|fdefinition|elt|eighth|compiler-macro-function|char|cdr|cddr|cdddr|cddddr|cdddar|cddar|cddadr|cddaar|cdar|cdadr|cdaddr|cdadar|cdaar|cdaadr|cdaaar|car|cadr|caddr|cadddr|caddar|cadar|cadadr|cadaar|caar|caadr|caaddr|caadar|caaar|caaadr|caaaar|bit|aref)(?=([()\\\\s]))","name":"support.function.accessor.commonlisp"},{"match":"(?i)(?<=^|[(\\\\s]|#')(?:yes-or-no-p|y-or-n-p|write-sequence|write-char|write-byte|warn|vector-pop|use-value|use-package|unuse-package|union|unintern|unexport|terpri|tailp|substitute-if-not|substitute-if|substitute|subst-if-not|subst-if|subst|sublis|string-upcase|string-downcase|string-capitalize|store-value|sleep|signal|shadowing-import|shadow|set-syntax-from-char|set-macro-character|set-exclusive-or|set-dispatch-macro-character|set-difference|set|rplacd|rplaca|room|reverse|revappend|require|replace|remprop|remove-if-not|remove-if|remove-duplicates|remove|remhash|read-sequence|read-byte|random|provide|pprint-tabular|pprint-newline|pprint-linear|pprint-fill|nunion|nsubstitute-if-not|nsubstitute-if|nsubstitute|nsubst-if-not|nsubst-if|nsubst|nsublis|nstring-upcase|nstring-downcase|nstring-capitalize|nset-exclusive-or|nset-difference|nreverse|nreconc|nintersection|nconc|muffle-warning|method-combination-error|maphash|makunbound|ldiff|invoke-restart-interactively|invoke-restart|invoke-debugger|invalid-method-error|intersection|inspect|import|get-output-stream-string|get-macro-character|get-dispatch-macro-character|gentemp|gensym|fresh-line|fill|file-position|export|describe|delete-if-not|delete-if|delete-duplicates|delete|continue|clrhash|close|clear-input|break|abort)(?=([()\\\\s]))","name":"support.function.f.sideeffects.commonlisp"},{"match":"(?i)(?<=^|[(\\\\s]|#')(?:zerop|write-to-string|write-string|write-line|write|wild-pathname-p|vectorp|vector-push-extend|vector-push|vector|values-list|user-homedir-pathname|upper-case-p|upgraded-complex-part-type|upgraded-array-element-type|unread-char|unbound-slot-instance|typep|type-of|type-error-expected-type|type-error-datum|two-way-stream-output-stream|two-way-stream-input-stream|truncate|truename|tree-equal|translate-pathname|translate-logical-pathname|tanh?|synonym-stream-symbol|symbolp|symbol-package|symbol-name|sxhash|subtypep|subsetp|stringp|string>=?|string=|string<=?|string/=|string-trim|string-right-trim|string-not-lessp|string-not-greaterp|string-not-equal|string-lessp|string-left-trim|string-greaterp|string-equal|string|streamp|stream-external-format|stream-error-stream|stream-element-type|standard-char-p|stable-sort|sqrt|special-operator-p|sort|some|software-version|software-type|slot-value|slot-makunbound|slot-exists-p|slot-boundp|sinh?|simple-vector-p|simple-string-p|simple-condition-format-control|simple-condition-format-arguments|simple-bit-vector-p|signum|short-site-name|set-pprint-dispatch|search|scale-float|round|restart-name|rename-package|rename-file|rem|reduce|realpart|realp|readtablep|read-preserving-whitespace|read-line|read-from-string|read-delimited-list|read-char-no-hang|read-char|read|rationalp|rationalize|rational|rassoc-if-not|rassoc-if|rassoc|random-state-p|proclaim|probe-file|print-not-readable-object|print|princ-to-string|princ|prin1-to-string|prin1|pprint-tab|pprint-indent|pprint-dispatch|pprint|position-if-not|position-if|position|plusp|phase|peek-char|pathnamep|pathname-version|pathname-type|pathname-name|pathname-match-p|pathname-host|pathname-directory|pathname-device|pathname|parse-namestring|parse-integer|pairlis|packagep|package-used-by-list|package-use-list|package-shadowing-symbols|package-nicknames|package-name|package-error-package|output-stream-p|open-stream-p|open|oddp|numerator|numberp|null|nthcdr|notevery|notany|not|next-method-p|nbutlast|namestring|name-char|mod|mismatch|minusp|min|merge-pathnames|merge|member-if-not|member-if|member|max|maplist|mapl|mapcon|mapcar|mapcan|mapc|map-into|map|make-two-way-stream|make-synonym-stream|make-symbol|make-string-output-stream|make-string-input-stream|make-string|make-sequence|make-random-state|make-pathname|make-package|make-load-form-saving-slots|make-list|make-hash-table|make-echo-stream|make-dispatch-macro-character|make-condition|make-concatenated-stream|make-broadcast-stream|make-array|macroexpand-1|macroexpand|machine-version|machine-type|machine-instance|lower-case-p|long-site-name|logxor|logtest|logorc2|logorc1|lognot|lognor|lognand|logior|logical-pathname|logeqv|logcount|logbitp|logandc2|logandc1|logand|log|load-logical-pathname-translations|load|listp|listen|list-length|list-all-packages|list\\\\*?|lisp-implementation-version|lisp-implementation-type|length|ldb-test|lcm|last|keywordp|isqrt|intern|interactive-stream-p|integerp|integer-length|integer-decode-float|input-stream-p|imagpart|identity|host-namestring|hash-table-test|hash-table-size|hash-table-rehash-threshold|hash-table-rehash-size|hash-table-p|hash-table-count|graphic-char-p|get-universal-time|get-setf-expansion|get-properties|get-internal-run-time|get-internal-real-time|get-decoded-time|gcd|functionp|function-lambda-expression|funcall|ftruncate|fround|format|force-output|fmakunbound|floor|floatp|float-sign|float-radix|float-precision|float-digits|float|finish-output|find-symbol|find-restart|find-package|find-if-not|find-if|find-all-symbols|find|file-write-date|file-string-length|file-namestring|file-length|file-error-pathname|file-author|ffloor|fceiling|fboundp|expt?|every|evenp|eval|equalp?|eql?|ensure-generic-function|ensure-directories-exist|enough-namestring|endp|encode-universal-time|ed|echo-stream-output-stream|echo-stream-input-stream|dribble|dpb|disassemble|directory-namestring|directory|digit-char-p|digit-char|deposit-field|denominator|delete-package|delete-file|decode-universal-time|decode-float|count-if-not|count-if|count|cosh?|copy-tree|copy-symbol|copy-structure|copy-seq|copy-readtable|copy-pprint-dispatch|copy-list|copy-alist|constantp|constantly|consp?|conjugate|concatenated-stream-streams|concatenate|compute-restarts|complexp?|complement|compiled-function-p|compile-file-pathname|compile-file|compile|coerce|code-char|clear-output|class-of|cis|characterp?|char>=?|char=|char<=?|char/=|char-upcase|char-not-lessp|char-not-greaterp|char-not-equal|char-name|char-lessp|char-int|char-greaterp|char-equal|char-downcase|char-code|cerror|cell-error-name|ceiling|call-next-method|byte-size|byte-position|byte|butlast|broadcast-stream-streams|boundp|both-case-p|boole|bit-xor|bit-vector-p|bit-orc2|bit-orc1|bit-not|bit-nor|bit-nand|bit-ior|bit-eqv|bit-andc2|bit-andc1|bit-and|atom|atanh?|assoc-if-not|assoc-if|assoc|asinh?|ash|arrayp|array-total-size|array-row-major-index|array-rank|array-in-bounds-p|array-has-fill-pointer-p|array-element-type|array-displacement|array-dimensions?|arithmetic-error-operation|arithmetic-error-operands|apropos-list|apropos|apply|append|alphanumericp|alpha-char-p|adjustable-array-p|adjust-array|adjoin|acosh?|acons|abs|>=|[=>]|<=?|1-|1\\\\+|/=|[-*+/])(?=([()\\\\s]))","name":"support.function.f.sideeffects.commonlisp"},{"match":"(?i)(?<=^|[(\\\\s]|#')(?:variable|update-instance-for-redefined-class|update-instance-for-different-class|structure|slot-unbound|slot-missing|shared-initialize|remove-method|print-object|no-next-method|no-applicable-method|method-qualifiers|make-load-form|make-instances-obsolete|make-instance|initialize-instance|function-keywords|find-method|documentation|describe-object|compute-applicable-methods|compiler-macro|class-name|change-class|allocate-instance|add-method)(?=([()\\\\s]))","name":"support.function.sgf.nosideeffects.commonlisp"},{"match":"(?i)(?<=^|[(\\\\s]|#')reinitialize-instance(?=([()\\\\s]))","name":"support.function.sgf.sideeffects.commonlisp"},{"match":"(?i)(?<=^|[(\\\\s]|#')satisfies(?=([()\\\\s]))","name":"support.function.typespecifier.commonlisp"}]},"lambda-list":{"match":"(?i)(?<=^|[(\\\\s])&(?:[]!#-\\\\&*+\\\\--:<-\\\\[^_a-{}~]+?|whole|rest|optional|key|environment|body|aux|allow-other-keys)(?=([()\\\\s]))","name":"keyword.other.lambdalist.commonlisp"},"macro":{"patterns":[{"match":"(?i)(?<=^|[(\\\\s])(?:with-standard-io-syntax|with-slots|with-simple-restart|with-package-iterator|with-hash-table-iterator|with-condition-restarts|with-compilation-unit|with-accessors|when|unless|typecase|time|step|shiftf|setf|rotatef|return|restart-case|restart-bind|psetf|prog2|prog1|prog\\\\*?|print-unreadable-object|pprint-logical-block|pprint-exit-if-list-exhausted|or|nth-value|multiple-value-setq|multiple-value-list|multiple-value-bind|make-method|loop|lambda|ignore-errors|handler-case|handler-bind|formatter|etypecase|dotimes|dolist|do-symbols|do-external-symbols|do-all-symbols|do\\\\*?|destructuring-bind|defun|deftype|defstruct|defsetf|defpackage|defmethod|defmacro|define-symbol-macro|define-setf-expander|define-condition|define-compiler-macro|defgeneric|defconstant|defclass|declaim|ctypecase|cond|call-method|assert|and)(?=([()\\\\s]))","name":"storage.type.function.m.nosideeffects.commonlisp"},{"match":"(?i)(?<=^|[(\\\\s])(?:with-output-to-string|with-open-stream|with-open-file|with-input-from-string|untrace|trace|remf|pushnew|push|psetq|pprint-pop|pop|otherwise|loop-finish|incf|in-package|ecase|defvar|defparameter|define-modify-macro|define-method-combination|decf|check-type|ccase|case)(?=([()\\\\s]))","name":"storage.type.function.m.sideeffects.commonlisp"},{"match":"(?i)(?<=^|[(\\\\s])setq(?=([()\\\\s]))","name":"storage.type.function.specialform.commonlisp"}]},"package":{"patterns":[{"captures":{"2":{"name":"support.type.package.commonlisp"},"3":{"name":"support.type.package.commonlisp"}},"match":"(?i)(?<=^|[(\\\\s]|,@|,\\\\.?)(([]!$%\\\\&*+\\\\--9<-\\\\[^_a-{}~]+?)|(#))(?=::?)"}]},"punctuation":{"patterns":[{"match":"(?i)(?<=^|[(\\\\s]|,@|,\\\\.?)(['\`])(?=\\\\S)","name":"variable.other.constant.singlequote.commonlisp"},{"match":"(?i)(?<=^|[(\\\\s]|,@|,\\\\.?):[]!#-\\\\&*+\\\\--:<-\\\\[^_a-{}~]+?(?=([()\\\\s]))","name":"entity.name.variable.commonlisp"},{"captures":{"1":{"name":"variable.other.constant.sharpsign.commonlisp"},"2":{"name":"constant.numeric.commonlisp"}},"match":"(?i)(?<=^|[(\\\\s]|,@|,\\\\.?)(#)([0-9]*)(?=\\\\()"},{"captures":{"1":{"name":"variable.other.constant.sharpsign.commonlisp"},"2":{"name":"constant.numeric.commonlisp"},"3":{"name":"variable.other.constant.sharpsign.commonlisp"}},"match":"(?i)(?<=^|[(\\\\s]|,@|,\\\\.?)(#)([0-9]*)(\\\\*)(?=[01])"},{"match":"(?i)(?<=^|[(\\\\s]|,@|,\\\\.?)(#0??\\\\*)(?=([()\\\\s]))","name":"variable.other.constant.sharpsign.commonlisp"},{"captures":{"1":{"name":"variable.other.constant.sharpsign.commonlisp"},"2":{"name":"constant.numeric.commonlisp"},"3":{"name":"variable.other.constant.sharpsign.commonlisp"}},"match":"(?i)(?<=^|[(\\\\s]|,@|,\\\\.?)(#)([0-9]+)([Aa])(?=.)"},{"captures":{"1":{"name":"variable.other.constant.sharpsign.commonlisp"},"2":{"name":"constant.numeric.commonlisp"},"3":{"name":"variable.other.constant.sharpsign.commonlisp"}},"match":"(?i)(?<=^|[(\\\\s]|,@|,\\\\.?)(#)([0-9]+)(=)(?=.)"},{"captures":{"1":{"name":"variable.other.constant.sharpsign.commonlisp"},"2":{"name":"constant.numeric.commonlisp"},"3":{"name":"variable.other.constant.sharpsign.commonlisp"}},"match":"(?i)(?<=^|[(\\\\s]|,@|,\\\\.?)(#)([0-9]+)(#)(?=.)"},{"match":"(?i)(?<=^|[(\\\\s]|,@|,\\\\.?)(#([-+]))(?=\\\\S)","name":"variable.other.constant.sharpsign.commonlisp"},{"match":"(?i)(?<=^|[(\\\\s]|,@|,\\\\.?)(#([',.CPScps]))(?=\\\\S)","name":"variable.other.constant.sharpsign.commonlisp"},{"captures":{"1":{"name":"support.type.package.commonlisp"}},"match":"(?i)(?<=^|[(\\\\s]|,@|,\\\\.?)(#)(:)(?=\\\\S)"},{"captures":{"2":{"name":"variable.other.constant.backquote.commonlisp"},"3":{"name":"variable.other.constant.backquote.commonlisp"},"4":{"name":"variable.other.constant.backquote.commonlisp"},"5":{"name":"variable.other.constant.backquote.commonlisp"}},"match":"(?i)(?<=^|[(\\\\s])((\`#)|(\`)(,(?:@|\\\\.?))?|(,(?:@|\\\\.?)))(?=\\\\S)"}]},"special-operator":{"captures":{"2":{"name":"keyword.control.commonlisp"}},"match":"(?i)(\\\\(\\\\s*)(unwind-protect|throw|the|tagbody|symbol-macrolet|return-from|quote|progv|progn|multiple-value-prog1|multiple-value-call|macrolet|locally|load-time-value|let\\\\*?|labels|if|go|function|flet|eval-when|catch|block)(?=([()\\\\s]))"},"string":{"begin":"(\\")","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.commonlisp"}},"end":"(\\")","endCaptures":{"1":{"name":"punctuation.definition.string.end.commonlisp"}},"name":"string.quoted.double.commonlisp","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.commonlisp"},{"captures":{"1":{"name":"storage.type.function.formattedstring.commonlisp"},"2":{"name":"variable.other.constant.formattedstring.commonlisp"},"8":{"name":"storage.type.function.formattedstring.commonlisp"},"10":{"name":"storage.type.function.formattedstring.commonlisp"}},"match":"(?i)(~)(((([-+]?[0-9]+)|('.)|[#V])*?(,)?)*?)((:@|@:|[:@])?)([]();<>\\\\[^{}])"},{"captures":{"1":{"name":"entity.name.variable.commonlisp"},"2":{"name":"variable.other.constant.formattedstring.commonlisp"},"8":{"name":"entity.name.variable.commonlisp"},"10":{"name":"entity.name.variable.commonlisp"}},"match":"(?i)(~)(((([-+]?[0-9]+)|('.)|[#V])*?(,)?)*?)((:@|@:|[:@])?)([$%\\\\&*?A-GIOPRSTWX_|~])"},{"captures":{"1":{"name":"entity.name.variable.commonlisp"},"2":{"name":"variable.other.constant.formattedstring.commonlisp"},"8":{"name":"entity.name.variable.commonlisp"},"10":{"name":"entity.name.variable.commonlisp"},"11":{"name":"entity.name.variable.commonlisp"},"12":{"name":"entity.name.variable.commonlisp"}},"match":"(?i)(~)(((([-+]?[0-9]+)|('.)|[#V])*?(,)?)*?)((:@|@:|[:@])?)(/)([]!#-\\\\&*+\\\\--:<-\\\\[^_a-{}~]+?)(/)"},{"match":"(~\\\\n)","name":"variable.other.constant.formattedstring.commonlisp"}]},"style-guide":{"patterns":[{"captures":{"3":{"name":"source.commonlisp"}},"match":"(?i)(?<=(?:^|[(\\\\s]|,@|,\\\\.?)')(\\\\S+?)(::?)((\\\\+[^+\\\\s]+\\\\+)|(\\\\*[^*\\\\s]+\\\\*))(?=([()\\\\s]))"},{"match":"(?i)(?<=\\\\S:|^|[(\\\\s]|,@|,\\\\.?)(\\\\+[^+\\\\s]+\\\\+)(?=([()\\\\s]))","name":"variable.other.constant.earmuffsplus.commonlisp"},{"match":"(?i)(?<=\\\\S:|^|[(\\\\s]|,@|,\\\\.?)(\\\\*[^*\\\\s]+\\\\*)(?=([()\\\\s]))","name":"string.regexp.earmuffsasterisk.commonlisp"}]},"symbol":{"match":"(?i)(?<=^|[(\\\\s])(?:method-combination|declare)(?=([()\\\\s]))","name":"storage.type.function.symbol.commonlisp"},"type":{"match":"(?i)(?<=^|[(\\\\s])(?:unsigned-byte|standard-char|standard|single-float|simple-vector|simple-string|simple-bit-vector|simple-base-string|simple-array|signed-byte|short-float|long-float|keyword|fixnum|extended-char|double-float|compiled-function|boolean|bignum|base-string|base-char)(?=([()\\\\s]))","name":"support.type.t.commonlisp"},"variable":{"patterns":[{"match":"(?i)(?<=^|[(\\\\s]|,@|,\\\\.?)\\\\*(?:trace-output|terminal-io|standard-output|standard-input|readtable|read-suppress|read-eval|read-default-float-format|read-base|random-state|query-io|print-right-margin|print-readably|print-radix|print-pretty|print-pprint-dispatch|print-miser-width|print-lines|print-level|print-length|print-gensym|print-escape|print-circle|print-case|print-base|print-array|package|modules|macroexpand-hook|load-verbose|load-truename|load-print|load-pathname|gensym-counter|features|error-output|default-pathname-defaults|debugger-hook|debug-io|compile-verbose|compile-print|compile-file-truename|compile-file-pathname|break-on-signals)\\\\*(?=([()\\\\s]))","name":"string.regexp.earmuffsasterisk.commonlisp"},{"match":"(?i)(?<=^|[(\\\\s]|,@|,\\\\.?)(?:\\\\*\\\\*\\\\*?|\\\\+\\\\+\\\\+?|///?)(?=([()\\\\s]))","name":"variable.other.repl.commonlisp"}]}},"scopeName":"source.commonlisp","aliases":["lisp"]}`));
|
|
2
|
-
const commonLisp = [
|
|
3
|
-
lang
|
|
4
|
-
];
|
|
5
|
-
|
|
6
|
-
export { commonLisp as default };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
const lang = Object.freeze(JSON.parse('{"displayName":"Logo","fileTypes":[],"name":"logo","patterns":[{"match":"^to [.\\\\w]+","name":"entity.name.function.logo"},{"match":"continue|do\\\\.until|do\\\\.while|end|for(each)?|if(else|falsetrue|)|repeat|stop|until","name":"keyword.control.logo"},{"match":"\\\\b(\\\\.defmacro|\\\\.eq|\\\\.macro|\\\\.maybeoutput|\\\\.setbf|\\\\.setfirst|\\\\.setitem|\\\\.setsegmentsize|allopen|allowgetset|and|apply|arc|arctan|arity|arrayp??|arraytolist|ascii|ashift|back|background|backslashedp|beforep|bitand|bitnot|bitor|bitxor|buriedp??|bury|buryall|buryname|butfirsts??|butlast|bye|cascade|case|caseignoredp|catch|char|clean|clearscreen|cleartext|close|closeall|combine|cond|contents|copydef|cos|count|crossmap|cursor|define|definedp|dequeue|difference|dribble|edall|edit|editfile|edns??|edpls??|edps|emptyp|eofp|epspict|equalp|erall|erase|erasefile|erns??|erpls??|erps|erract|error|exp|fence|filep|fill|filter|find|firsts??|forever|form|forward|fput|fullprintp|fullscreen|fulltext|gc|gensym|global|goto|gprop|greaterp|heading|help|hideturtle|home|ignore|int|invoke|iseq|item|keyp|label|last|left|lessp|listp??|listtoarray|ln|load|loadnoisily|loadpict|local|localmake|log10|lowercase|lput|lshift|macroexpand|macrop|make|map|map.se|mdarray|mditem|mdsetitem|memberp??|minus|modulo|name|namelist|namep|names|nodes|nodribble|norefresh|not|numberp|openappend|openread|openupdate|openwrite|or|output|palette|parse|pause|pen|pencolor|pendownp??|penerase|penmode|penpaint|penreverse|pensize|penup|pick|plistp??|plists|pllist|po|poall|pons??|popl??|popls|pops|pos|pots??|power|pprop|prefix|primitivep|print|printdepthlimit|printwidthlimit|procedurep|procedures|product|push|queue|quoted|quotient|radarctan|radcos|radsin|random|rawascii|readchars??|reader|readlist|readpos|readrawline|readword|redefp|reduce|refresh|remainder|remdup|remove|remprop|repcount|rerandom|reverse|right|round|rseq|run|runparse|runresult|savel??|savepict|screenmode|scrunch|sentence|setbackground|setcursor|seteditor|setheading|sethelploc|setitem|setlibloc|setmargins|setpalette|setpen|setpencolor|setpensize|setpos|setprefix|setread|setreadpos|setscrunch|settemploc|settextcolor|setwrite|setwritepos|setxy??|sety|shell|show|shownp|showturtle|sin|splitscreen|sqrt|standout|startup|step|steppedp??|substringp|sum|tag|test|text|textscreen|thing|throw|towards|traced??|tracedp|transfer|turtlemode|type|unbury|unburyall|unburyname|unburyonedit|unstep|untrace|uppercase|usealternatenam|wait|while|window|wordp??|wrap|writepos|writer|xcor|ycor)\\\\b","name":"keyword.other.logo"},{"captures":{"1":{"name":"punctuation.definition.variable.logo"}},"match":"(:)(?:\\\\|[^|]*\\\\||[-.\\\\w]*)+","name":"variable.parameter.logo"},{"match":"\\"(?:\\\\|[^|]*\\\\||[-.\\\\w]*)+","name":"string.other.word.logo"},{"begin":"(^[\\\\t ]+)?(?=;)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.logo"}},"end":"(?!\\\\G)","patterns":[{"begin":";","beginCaptures":{"0":{"name":"punctuation.definition.comment.logo"}},"end":"\\\\n","name":"comment.line.semicolon.logo"}]}],"scopeName":"source.logo"}'));
|
|
2
|
-
const logo = [
|
|
3
|
-
lang
|
|
4
|
-
];
|
|
5
|
-
|
|
6
|
-
export { logo as default };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import c from './c-C4VtT7JA.mjs';
|
|
2
|
-
|
|
3
|
-
const lang = Object.freeze(JSON.parse(`{"displayName":"Lua","name":"lua","patterns":[{"begin":"\\\\b(?:(local)\\\\s+)?(function)\\\\b(?![,:])","beginCaptures":{"1":{"name":"keyword.local.lua"},"2":{"name":"keyword.control.lua"}},"end":"(?<=[-\\\\]\\"')\\\\[{}])","name":"meta.function.lua","patterns":[{"include":"#comment"},{"begin":"(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.parameters.begin.lua"}},"end":"(\\\\))|(?=[-\\\\]\\"'.\\\\[{}])","endCaptures":{"1":{"name":"punctuation.definition.parameters.finish.lua"}},"name":"meta.parameter.lua","patterns":[{"include":"#comment"},{"match":"[A-Z_a-z][0-9A-Z_a-z]*","name":"variable.parameter.function.lua"},{"match":",","name":"punctuation.separator.arguments.lua"},{"begin":":","beginCaptures":{"0":{"name":"punctuation.separator.arguments.lua"}},"end":"(?=[),])","patterns":[{"include":"#emmydoc.type"}]}]},{"match":"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b\\\\s*(?=:)","name":"entity.name.class.lua"},{"match":"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b","name":"entity.name.function.lua"}]},{"match":"(?<![.\\\\w\\\\d])0[Xx]\\\\h+(\\\\.\\\\h*)?([Ee]-?\\\\d*)?([Pp][-+]\\\\d+)?","name":"constant.numeric.float.hexadecimal.lua"},{"match":"(?<![.\\\\w\\\\d])0[Xx]\\\\.\\\\h+([Ee]-?\\\\d*)?([Pp][-+]\\\\d+)?","name":"constant.numeric.float.hexadecimal.lua"},{"match":"(?<![.\\\\w\\\\d])0[Xx]\\\\h+(?![.0-9EPep])","name":"constant.numeric.integer.hexadecimal.lua"},{"match":"(?<![.\\\\w\\\\d])\\\\d+(\\\\.\\\\d*)?([Ee]-?\\\\d*)?","name":"constant.numeric.float.lua"},{"match":"(?<![.\\\\w\\\\d])\\\\.\\\\d+([Ee]-?\\\\d*)?","name":"constant.numeric.float.lua"},{"match":"(?<![.\\\\w\\\\d])\\\\d+(?![.0-9EPep])","name":"constant.numeric.integer.lua"},{"include":"#string"},{"captures":{"1":{"name":"punctuation.definition.comment.lua"}},"match":"\\\\A(#!).*$\\\\n?","name":"comment.line.shebang.lua"},{"include":"#comment"},{"captures":{"1":{"name":"keyword.control.goto.lua"},"2":{"name":"string.tag.lua"}},"match":"\\\\b(goto)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)"},{"captures":{"1":{"name":"punctuation.section.embedded.begin.lua"},"2":{"name":"punctuation.section.embedded.end.lua"}},"match":"(::)\\\\s*[A-Z_a-z][0-9A-Z_a-z]*\\\\s*(::)","name":"string.tag.lua"},{"captures":{"0":{"name":"storage.type.attribute.lua"}},"match":"<\\\\s*(c(?:onst|lose))\\\\s*>"},{"match":"<[*A-Z_a-z][-*.0-9A-Z_a-z]*>","name":"storage.type.generic.lua"},{"match":"\\\\b(break|do|else|for|if|elseif|goto|return|then|repeat|while|until|end|in)\\\\b","name":"keyword.control.lua"},{"match":"\\\\b(local)\\\\b","name":"keyword.local.lua"},{"match":"\\\\b(function)\\\\b(?![,:])","name":"keyword.control.lua"},{"match":"(?<![^.]\\\\.|:)\\\\b(false|nil(?!:)|true|_ENV|_G|_VERSION|math\\\\.(pi|huge|maxinteger|mininteger)|utf8\\\\.charpattern|io\\\\.(std(?:in|out|err))|package\\\\.(config|cpath|loaded|loaders|path|preload|searchers))\\\\b|(?<!\\\\.)\\\\.{3}(?!\\\\.)","name":"constant.language.lua"},{"match":"(?<![^.]\\\\.|:)\\\\b(self)\\\\b","name":"variable.language.self.lua"},{"match":"(?<![^.]\\\\.|:)\\\\b(assert|collectgarbage|dofile|error|getfenv|getmetatable|ipairs|load|loadfile|loadstring|module|next|pairs|pcall|print|rawequal|rawget|rawlen|rawset|require|select|setfenv|setmetatable|tonumber|tostring|type|unpack|xpcall)\\\\b(?!\\\\s*=(?!=))","name":"support.function.lua"},{"match":"(?<![^.]\\\\.|:)\\\\b(async)\\\\b(?!\\\\s*=(?!=))","name":"entity.name.tag.lua"},{"match":"(?<![^.]\\\\.|:)\\\\b(coroutine\\\\.(create|isyieldable|close|resume|running|status|wrap|yield)|string\\\\.(byte|char|dump|find|format|gmatch|gsub|len|lower|match|pack|packsize|rep|reverse|sub|unpack|upper)|table\\\\.(concat|insert|maxn|move|pack|remove|sort|unpack)|math\\\\.(abs|acos|asin|atan2?|ceil|cosh?|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pow|rad|random|randomseed|sinh?|sqrt|tanh?|tointeger|type)|io\\\\.(close|flush|input|lines|open|output|popen|read|tmpfile|type|write)|os\\\\.(clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\\\\.(loadlib|seeall|searchpath)|debug\\\\.(debug|[gs]etfenv|[gs]ethook|getinfo|[gs]etlocal|[gs]etmetatable|getregistry|[gs]etupvalue|[gs]etuservalue|set[Cc]stacklimit|traceback|upvalueid|upvaluejoin)|bit32\\\\.(arshift|band|bnot|bor|btest|bxor|extract|replace|lrotate|lshift|rrotate|rshift)|utf8\\\\.(char|codes|codepoint|len|offset))\\\\b(?!\\\\s*=(?!=))","name":"support.function.library.lua"},{"match":"\\\\b(and|or|not|\\\\|\\\\||&&|!)\\\\b","name":"keyword.operator.lua"},{"match":"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(?=\\\\s*(?:[\\"'({]|\\\\[\\\\[))","name":"support.function.any-method.lua"},{"match":"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(?=\\\\s*\\\\??:)","name":"entity.name.class.lua"},{"match":"(?<=[^.]\\\\.|:)\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(?!\\\\s*=\\\\s*\\\\b(function)\\\\b)","name":"entity.other.attribute.lua"},{"match":"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(?!\\\\s*=\\\\s*\\\\b(function)\\\\b)","name":"variable.other.lua"},{"match":"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(?=\\\\s*=\\\\s*\\\\b(function)\\\\b)","name":"entity.name.function.lua"},{"match":"[-#%*+/^]|==?|~=|!=|<=?|>=?|(?<!\\\\.)\\\\.{2}(?!\\\\.)","name":"keyword.operator.lua"}],"repository":{"comment":{"patterns":[{"begin":"(^[\\\\t ]+)?(?=--)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.lua"}},"end":"(?!\\\\G)((?!^)[\\\\t ]+\\\\n)?","endCaptures":{"1":{"name":"punctuation.whitespace.comment.trailing.lua"}},"patterns":[{"begin":"--\\\\[(=*)\\\\[@@@","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.lua"}},"end":"(--)?]\\\\1]","endCaptures":{"0":{"name":"punctuation.definition.comment.end.lua"}},"name":"","patterns":[{"include":"source.lua"}]},{"begin":"--\\\\[(=*)\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.lua"}},"end":"(--)?]\\\\1]","endCaptures":{"0":{"name":"punctuation.definition.comment.end.lua"}},"name":"comment.block.lua","patterns":[{"include":"#emmydoc"},{"include":"#ldoc_tag"}]},{"begin":"----","beginCaptures":{"0":{"name":"punctuation.definition.comment.lua"}},"end":"\\\\n","name":"comment.line.double-dash.lua"},{"begin":"---","beginCaptures":{"0":{"name":"punctuation.definition.comment.lua"}},"end":"\\\\n","name":"comment.line.double-dash.documentation.lua","patterns":[{"include":"#emmydoc"},{"include":"#ldoc_tag"}]},{"begin":"--","beginCaptures":{"0":{"name":"punctuation.definition.comment.lua"}},"end":"\\\\n","name":"comment.line.double-dash.lua","patterns":[{"include":"#ldoc_tag"}]}]},{"begin":"/\\\\*","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.lua"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.lua"}},"name":"comment.block.lua","patterns":[{"include":"#emmydoc"},{"include":"#ldoc_tag"}]}]},"emmydoc":{"patterns":[{"begin":"(?<=---)[\\\\t ]*@class","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"match":"\\\\b([*A-Z_a-z][-*.0-9A-Z_a-z]*)","name":"support.class.lua"},{"match":"[,:]","name":"keyword.operator.lua"}]},{"begin":"(?<=---)[\\\\t ]*@enum","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"begin":"\\\\b([*A-Z_a-z][-*.0-9A-Z_a-z]*)","beginCaptures":{"0":{"name":"variable.lua"}},"end":"(?=\\\\n)"}]},{"begin":"(?<=---)[\\\\t ]*@type","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"include":"#emmydoc.type"}]},{"begin":"(?<=---)[\\\\t ]*@alias","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"begin":"\\\\b([*A-Z_a-z][-*.0-9A-Z_a-z]*)","beginCaptures":{"0":{"name":"variable.lua"}},"end":"(?=[\\\\n#])","patterns":[{"include":"#emmydoc.type"}]}]},{"begin":"(?<=---)[\\\\t ]*(@operator)\\\\s*(\\\\b[a-z]+)?","beginCaptures":{"1":{"name":"storage.type.annotation.lua"},"2":{"name":"support.function.library.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"include":"#emmydoc.type"}]},{"begin":"(?<=---)[\\\\t ]*@cast","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"begin":"\\\\b([*A-Z_a-z][-*.0-9A-Z_a-z]*)","beginCaptures":{"0":{"name":"variable.other.lua"}},"end":"(?=\\\\n)","patterns":[{"include":"#emmydoc.type"},{"match":"([+-|])","name":"keyword.operator.lua"}]}]},{"begin":"(?<=---)[\\\\t ]*@param","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"begin":"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(\\\\??)","beginCaptures":{"1":{"name":"entity.name.variable.lua"},"2":{"name":"keyword.operator.lua"}},"end":"(?=[\\\\n#])","patterns":[{"include":"#emmydoc.type"}]}]},{"begin":"(?<=---)[\\\\t ]*@return","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"match":"\\\\?","name":"keyword.operator.lua"},{"include":"#emmydoc.type"}]},{"begin":"(?<=---)[\\\\t ]*@field","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"begin":"(\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b|(\\\\[))(\\\\??)","beginCaptures":{"2":{"name":"entity.name.variable.lua"},"3":{"name":"keyword.operator.lua"}},"end":"(?=[\\\\n#])","patterns":[{"include":"#string"},{"include":"#emmydoc.type"},{"match":"]","name":"keyword.operator.lua"}]}]},{"begin":"(?<=---)[\\\\t ]*@generic","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"begin":"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b","beginCaptures":{"0":{"name":"storage.type.generic.lua"}},"end":"(?=\\\\n)|(,)","endCaptures":{"0":{"name":"keyword.operator.lua"}},"patterns":[{"match":":","name":"keyword.operator.lua"},{"include":"#emmydoc.type"}]}]},{"begin":"(?<=---)[\\\\t ]*@vararg","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"include":"#emmydoc.type"}]},{"begin":"(?<=---)[\\\\t ]*@overload","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"include":"#emmydoc.type"}]},{"begin":"(?<=---)[\\\\t ]*@deprecated","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])"},{"begin":"(?<=---)[\\\\t ]*@meta","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])"},{"begin":"(?<=---)[\\\\t ]*@private","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])"},{"begin":"(?<=---)[\\\\t ]*@protected","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])"},{"begin":"(?<=---)[\\\\t ]*@package","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])"},{"begin":"(?<=---)[\\\\t ]*@version","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"match":"\\\\b(5\\\\.1|5\\\\.2|5\\\\.3|5\\\\.4|JIT)\\\\b","name":"support.class.lua"},{"match":"[,<>]","name":"keyword.operator.lua"}]},{"begin":"(?<=---)[\\\\t ]*@see","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"match":"\\\\b([*A-Z_a-z][-*.0-9A-Z_a-z]*)","name":"support.class.lua"},{"match":"#","name":"keyword.operator.lua"}]},{"begin":"(?<=---)[\\\\t ]*@diagnostic","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"begin":"([-0-9A-Z_a-z]+)[\\\\t ]*(:)?","beginCaptures":{"1":{"name":"keyword.other.unit"},"2":{"name":"keyword.operator.unit"}},"end":"(?=\\\\n)","patterns":[{"match":"\\\\b([*A-Z_a-z][-0-9A-Z_a-z]*)","name":"support.class.lua"},{"match":",","name":"keyword.operator.lua"}]}]},{"begin":"(?<=---)[\\\\t ]*@module","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"include":"#string"}]},{"match":"(?<=---)[\\\\t ]*@(async|nodiscard)","name":"storage.type.annotation.lua"},{"begin":"(?<=---)\\\\|\\\\s*[+>]?","beginCaptures":{"0":{"name":"storage.type.annotation.lua"}},"end":"(?=[\\\\n#@])","patterns":[{"include":"#string"}]}]},"emmydoc.type":{"patterns":[{"begin":"\\\\bfun\\\\b","beginCaptures":{"0":{"name":"keyword.control.lua"}},"end":"(?=[#\\\\s])","patterns":[{"match":"[(),:?][\\\\t ]*","name":"keyword.operator.lua"},{"match":"([A-Z_a-z][-\\\\]*,.0-9<>A-\\\\[_a-z]*)(?<!,)[\\\\t ]*(?=\\\\??:)","name":"entity.name.variable.lua"},{"include":"#emmydoc.type"},{"include":"#string"}]},{"match":"<[*A-Z_a-z][-*.0-9A-Z_a-z]*>","name":"storage.type.generic.lua"},{"match":"\\\\basync\\\\b","name":"entity.name.tag.lua"},{"match":"[,:?\`{|}][\\\\t ]*","name":"keyword.operator.lua"},{"begin":"(?=[\\"'*.A-\\\\[_a-z])","end":"(?=[#),:?|}\\\\s])","patterns":[{"match":"([-\\\\]*,.0-9<>A-\\\\[_a-z]+)(?<!,)[\\\\t ]*","name":"support.type.lua"},{"match":"(\\\\.\\\\.\\\\.)[\\\\t ]*","name":"constant.language.lua"},{"include":"#string"}]}]},"escaped_char":{"patterns":[{"match":"\\\\\\\\[\\\\n\\"'\\\\\\\\abfnrtv]","name":"constant.character.escape.lua"},{"match":"\\\\\\\\z[\\\\t\\\\n ]*","name":"constant.character.escape.lua"},{"match":"\\\\\\\\\\\\d{1,3}","name":"constant.character.escape.byte.lua"},{"match":"\\\\\\\\x\\\\h\\\\h","name":"constant.character.escape.byte.lua"},{"match":"\\\\\\\\u\\\\{\\\\h+}","name":"constant.character.escape.unicode.lua"},{"match":"\\\\\\\\.","name":"invalid.illegal.character.escape.lua"}]},"ldoc_tag":{"captures":{"1":{"name":"punctuation.definition.block.tag.ldoc"},"2":{"name":"storage.type.class.ldoc"}},"match":"\\\\G[\\\\t ]*(@)(alias|annotation|author|charset|class|classmod|comment|constructor|copyright|description|example|export|factory|field|file|fixme|function|include|lfunction|license|local|module|name|param|pragma|private|raise|release|return|script|section|see|set|static|submodule|summary|tfield|thread|tparam|treturn|todo|topic|type|usage|warning|within)\\\\b"},"string":{"patterns":[{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.lua"}},"end":"'[\\\\t ]*|(?=\\\\n)","endCaptures":{"0":{"name":"punctuation.definition.string.end.lua"}},"name":"string.quoted.single.lua","patterns":[{"include":"#escaped_char"}]},{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.lua"}},"end":"\\"[\\\\t ]*|(?=\\\\n)","endCaptures":{"0":{"name":"punctuation.definition.string.end.lua"}},"name":"string.quoted.double.lua","patterns":[{"include":"#escaped_char"}]},{"begin":"\`","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.lua"}},"end":"\`[\\\\t ]*|(?=\\\\n)","endCaptures":{"0":{"name":"punctuation.definition.string.end.lua"}},"name":"string.quoted.double.lua"},{"begin":"(?<=\\\\.cdef)\\\\s*(\\\\[(=*)\\\\[)","beginCaptures":{"0":{"name":"string.quoted.other.multiline.lua"},"1":{"name":"punctuation.definition.string.begin.lua"}},"contentName":"meta.embedded.lua","end":"(]\\\\2])[\\\\t ]*","endCaptures":{"0":{"name":"string.quoted.other.multiline.lua"},"1":{"name":"punctuation.definition.string.end.lua"}},"patterns":[{"include":"source.c"}]},{"begin":"(?<!--)\\\\[(=*)\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.lua"}},"end":"]\\\\1][\\\\t ]*","endCaptures":{"0":{"name":"punctuation.definition.string.end.lua"}},"name":"string.quoted.other.multiline.lua"}]}},"scopeName":"source.lua","embeddedLangs":["c"]}`));
|
|
4
|
-
const lua = [
|
|
5
|
-
...c,
|
|
6
|
-
lang
|
|
7
|
-
];
|
|
8
|
-
|
|
9
|
-
export { lua as default };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
const lang = Object.freeze(JSON.parse('{"displayName":"Makefile","name":"make","patterns":[{"include":"#comment"},{"include":"#variables"},{"include":"#variable-assignment"},{"include":"#directives"},{"include":"#recipe"},{"include":"#target"}],"repository":{"another-variable-braces":{"patterns":[{"begin":"(?<=\\\\{)(?!})","end":"(?=}|((?<!\\\\\\\\)\\\\n))","name":"variable.other.makefile","patterns":[{"include":"#variables"},{"match":"\\\\\\\\\\\\n","name":"constant.character.escape.continuation.makefile"}]}]},"another-variable-parentheses":{"patterns":[{"begin":"(?<=\\\\()(?!\\\\))","end":"(?=\\\\)|((?<!\\\\\\\\)\\\\n))","name":"variable.other.makefile","patterns":[{"include":"#variables"},{"match":"\\\\\\\\\\\\n","name":"constant.character.escape.continuation.makefile"}]}]},"braces-interpolation":{"begin":"\\\\{","end":"}","patterns":[{"include":"#variables"},{"include":"#interpolation"}]},"builtin-variable-braces":{"patterns":[{"match":"(?<=\\\\{)(MAKEFILES|VPATH|SHELL|MAKESHELL|MAKE|MAKELEVEL|MAKEFLAGS|MAKECMDGOALS|CURDIR|SUFFIXES|\\\\.LIBPATTERNS)(?=\\\\s*})","name":"variable.language.makefile"}]},"builtin-variable-parentheses":{"patterns":[{"match":"(?<=\\\\()(MAKEFILES|VPATH|SHELL|MAKESHELL|MAKE|MAKELEVEL|MAKEFLAGS|MAKECMDGOALS|CURDIR|SUFFIXES|\\\\.LIBPATTERNS)(?=\\\\s*\\\\))","name":"variable.language.makefile"}]},"comma":{"match":",","name":"punctuation.separator.delimeter.comma.makefile"},"comment":{"begin":"(^ +)?((?<!\\\\\\\\)(\\\\\\\\\\\\\\\\)*)(?=#)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.makefile"}},"end":"(?!\\\\G)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.makefile"}},"end":"(?=[^\\\\\\\\])$","name":"comment.line.number-sign.makefile","patterns":[{"match":"\\\\\\\\\\\\n","name":"constant.character.escape.continuation.makefile"}]}]},"directives":{"patterns":[{"begin":"^ *([-s]?include)\\\\b","beginCaptures":{"1":{"name":"keyword.control.include.makefile"}},"end":"^","patterns":[{"include":"#comment"},{"include":"#variables"},{"match":"%","name":"constant.other.placeholder.makefile"}]},{"begin":"^ *(vpath)\\\\b","beginCaptures":{"1":{"name":"keyword.control.vpath.makefile"}},"end":"^","patterns":[{"include":"#comment"},{"include":"#variables"},{"match":"%","name":"constant.other.placeholder.makefile"}]},{"begin":"^\\\\s*(?:(override)\\\\s*)?(define)\\\\s*(\\\\S+)\\\\s*([+:?]??=)?(?=\\\\s)","captures":{"1":{"name":"keyword.control.override.makefile"},"2":{"name":"keyword.control.define.makefile"},"3":{"name":"variable.other.makefile"},"4":{"name":"punctuation.separator.key-value.makefile"}},"end":"^\\\\s*(endef)\\\\b","name":"meta.scope.conditional.makefile","patterns":[{"begin":"\\\\G(?!\\\\n)","end":"^","patterns":[{"include":"#comment"}]},{"include":"#variables"},{"include":"#directives"}]},{"begin":"^ *(export)\\\\b","beginCaptures":{"1":{"name":"keyword.control.$1.makefile"}},"end":"^","patterns":[{"include":"#comment"},{"include":"#variable-assignment"},{"match":"\\\\S+","name":"variable.other.makefile"}]},{"begin":"^ *(override|private)\\\\b","beginCaptures":{"1":{"name":"keyword.control.$1.makefile"}},"end":"^","patterns":[{"include":"#comment"},{"include":"#variable-assignment"}]},{"begin":"^ *(un(?:export|define))\\\\b","beginCaptures":{"1":{"name":"keyword.control.$1.makefile"}},"end":"^","patterns":[{"include":"#comment"},{"match":"\\\\S+","name":"variable.other.makefile"}]},{"begin":"^\\\\s*(ifn??(?:eq|def))(?=\\\\s)","captures":{"1":{"name":"keyword.control.$1.makefile"}},"end":"^\\\\s*(endif)\\\\b","name":"meta.scope.conditional.makefile","patterns":[{"begin":"\\\\G","end":"^","name":"meta.scope.condition.makefile","patterns":[{"include":"#comma"},{"include":"#variables"},{"include":"#comment"}]},{"begin":"^\\\\s*else(?=\\\\s)\\\\s*(ifn??(?:eq|def))*(?=\\\\s)","beginCaptures":{"0":{"name":"keyword.control.else.makefile"}},"end":"^","patterns":[{"include":"#comma"},{"include":"#variables"},{"include":"#comment"}]},{"include":"$self"}]}]},"flavor-variable-braces":{"patterns":[{"begin":"(?<=\\\\{)(origin|flavor)\\\\s(?=[^}\\\\s]+\\\\s*})","beginCaptures":{"1":{"name":"support.function.$1.makefile"}},"contentName":"variable.other.makefile","end":"(?=})","name":"meta.scope.function-call.makefile","patterns":[{"include":"#variables"}]}]},"flavor-variable-parentheses":{"patterns":[{"begin":"(?<=\\\\()(origin|flavor)\\\\s(?=[^)\\\\s]+\\\\s*\\\\))","beginCaptures":{"1":{"name":"support.function.$1.makefile"}},"contentName":"variable.other.makefile","end":"(?=\\\\))","name":"meta.scope.function-call.makefile","patterns":[{"include":"#variables"}]}]},"function-variable-braces":{"patterns":[{"begin":"(?<=\\\\{)(subst|patsubst|strip|findstring|filter(-out)?|sort|word(list)?|firstword|lastword|dir|notdir|suffix|basename|addsuffix|addprefix|join|wildcard|realpath|abspath|info|error|warning|shell|foreach|if|or|and|call|eval|value|file|guile)\\\\s","beginCaptures":{"1":{"name":"support.function.$1.makefile"}},"end":"(?=}|((?<!\\\\\\\\)\\\\n))","name":"meta.scope.function-call.makefile","patterns":[{"include":"#comma"},{"include":"#variables"},{"include":"#interpolation"},{"match":"[%*]","name":"constant.other.placeholder.makefile"},{"match":"\\\\\\\\\\\\n","name":"constant.character.escape.continuation.makefile"}]}]},"function-variable-parentheses":{"patterns":[{"begin":"(?<=\\\\()(subst|patsubst|strip|findstring|filter(-out)?|sort|word(list)?|firstword|lastword|dir|notdir|suffix|basename|addsuffix|addprefix|join|wildcard|realpath|abspath|info|error|warning|shell|foreach|if|or|and|call|eval|value|file|guile)\\\\s","beginCaptures":{"1":{"name":"support.function.$1.makefile"}},"end":"(?=\\\\)|((?<!\\\\\\\\)\\\\n))","name":"meta.scope.function-call.makefile","patterns":[{"include":"#comma"},{"include":"#variables"},{"include":"#interpolation"},{"match":"[%*]","name":"constant.other.placeholder.makefile"},{"match":"\\\\\\\\\\\\n","name":"constant.character.escape.continuation.makefile"}]}]},"interpolation":{"patterns":[{"include":"#parentheses-interpolation"},{"include":"#braces-interpolation"}]},"parentheses-interpolation":{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"#variables"},{"include":"#interpolation"}]},"recipe":{"begin":"^\\\\t([-+@]*)","beginCaptures":{"1":{"name":"keyword.control.$1.makefile"}},"end":"[^\\\\\\\\]$","name":"meta.scope.recipe.makefile","patterns":[{"match":"\\\\\\\\\\\\n","name":"constant.character.escape.continuation.makefile"},{"include":"#variables"}]},"simple-variable":{"patterns":[{"match":"\\\\$[^(){}]","name":"variable.language.makefile"}]},"target":{"begin":"^(?!\\\\t)([^:]*)(:)(?!=)","beginCaptures":{"1":{"patterns":[{"captures":{"1":{"name":"support.function.target.$1.makefile"}},"match":"^\\\\s*(\\\\.(PHONY|SUFFIXES|DEFAULT|PRECIOUS|INTERMEDIATE|SECONDARY|SECONDEXPANSION|DELETE_ON_ERROR|IGNORE|LOW_RESOLUTION_TIME|SILENT|EXPORT_ALL_VARIABLES|NOTPARALLEL|ONESHELL|POSIX))\\\\s*$"},{"begin":"(?=\\\\S)","end":"(?=\\\\s|$)","name":"entity.name.function.target.makefile","patterns":[{"include":"#variables"},{"match":"%","name":"constant.other.placeholder.makefile"}]}]},"2":{"name":"punctuation.separator.key-value.makefile"}},"end":"[^\\\\\\\\]$","name":"meta.scope.target.makefile","patterns":[{"begin":"\\\\G","end":"(?=[^\\\\\\\\])$","name":"meta.scope.prerequisites.makefile","patterns":[{"match":"\\\\\\\\\\\\n","name":"constant.character.escape.continuation.makefile"},{"match":"[%*]","name":"constant.other.placeholder.makefile"},{"include":"#comment"},{"include":"#variables"}]}]},"variable-assignment":{"begin":"(^ *|\\\\G\\\\s*)([^#:=\\\\s]+)\\\\s*((?:(?<![!+:?])|[!+:?])=)","beginCaptures":{"2":{"name":"variable.other.makefile","patterns":[{"include":"#variables"}]},"3":{"name":"punctuation.separator.key-value.makefile"}},"end":"\\\\n","patterns":[{"match":"\\\\\\\\\\\\n","name":"constant.character.escape.continuation.makefile"},{"include":"#comment"},{"include":"#variables"}]},"variable-braces":{"patterns":[{"begin":"\\\\$\\\\{","captures":{"0":{"name":"punctuation.definition.variable.makefile"}},"end":"}|((?<!\\\\\\\\)\\\\n)","name":"string.interpolated.makefile","patterns":[{"include":"#variables"},{"include":"#builtin-variable-braces"},{"include":"#function-variable-braces"},{"include":"#flavor-variable-braces"},{"include":"#another-variable-braces"}]}]},"variable-parentheses":{"patterns":[{"begin":"\\\\$\\\\(","captures":{"0":{"name":"punctuation.definition.variable.makefile"}},"end":"\\\\)|((?<!\\\\\\\\)\\\\n)","name":"string.interpolated.makefile","patterns":[{"include":"#variables"},{"include":"#builtin-variable-parentheses"},{"include":"#function-variable-parentheses"},{"include":"#flavor-variable-parentheses"},{"include":"#another-variable-parentheses"}]}]},"variables":{"patterns":[{"include":"#simple-variable"},{"include":"#variable-parentheses"},{"include":"#variable-braces"}]}},"scopeName":"source.makefile","aliases":["makefile"]}'));
|
|
2
|
-
const make$1 = [
|
|
3
|
-
lang
|
|
4
|
-
];
|
|
5
|
-
const make = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6
|
-
__proto__: null,
|
|
7
|
-
default: make$1
|
|
8
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
9
|
-
const makefile = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10
|
-
__proto__: null,
|
|
11
|
-
default: make$1
|
|
12
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
13
|
-
|
|
14
|
-
export { makefile as a, make as m };
|