@nuxt/scripts 0.0.0 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +9 -0
- package/README.md +103 -0
- package/dist/client/200.html +235 -0
- package/dist/client/404.html +235 -0
- package/dist/client/_nuxt/Icon.CHLfKFL4.js +1 -0
- package/dist/client/_nuxt/Icon.Dis01nq0.css +1 -0
- package/dist/client/_nuxt/IconCSS.Cca5dNND.css +1 -0
- package/dist/client/_nuxt/IconCSS.sJLYSucz.js +1 -0
- package/dist/client/_nuxt/_plugin-vue_export-helper.DlAUqK2U.js +1 -0
- package/dist/client/_nuxt/abap.DXFkqnOI.js +816 -0
- package/dist/client/_nuxt/actionscript-3.D6NljDpC.js +1 -0
- package/dist/client/_nuxt/ada.CowR2XfX.js +1 -0
- package/dist/client/_nuxt/andromeeda.Bv7o_0DK.js +1 -0
- package/dist/client/_nuxt/angular-html.833w9gUK.js +16 -0
- package/dist/client/_nuxt/angular-ts.BCBvF5Sf.js +666 -0
- package/dist/client/_nuxt/apache.rS0jd3Ly.js +1 -0
- package/dist/client/_nuxt/apex.Sfo2eW0G.js +274 -0
- package/dist/client/_nuxt/apl.7kPAH7yp.js +87 -0
- package/dist/client/_nuxt/applescript.B4yE-MfL.js +38 -0
- package/dist/client/_nuxt/ara.CG4fK2Nq.js +21 -0
- package/dist/client/_nuxt/asm.PWN5J14X.js +1 -0
- package/dist/client/_nuxt/astro.B72C2l14.js +1 -0
- package/dist/client/_nuxt/aurora-x.BaWyeHV_.js +1 -0
- package/dist/client/_nuxt/awk.i0IPvypD.js +1 -0
- package/dist/client/_nuxt/ayu-dark.Bn5gmY5k.js +1 -0
- package/dist/client/_nuxt/ballerina.T9ysyp6P.js +62 -0
- package/dist/client/_nuxt/bat.BPiaQZfK.js +1 -0
- package/dist/client/_nuxt/beancount.Urb1RsFe.js +1 -0
- package/dist/client/_nuxt/berry.CxrokwfH.js +1 -0
- package/dist/client/_nuxt/bibtex.BaedD2tq.js +1 -0
- package/dist/client/_nuxt/bicep.BnL-ovff.js +1 -0
- package/dist/client/_nuxt/blade.Ge7MpD7w.js +831 -0
- package/dist/client/_nuxt/builds/latest.json +1 -0
- package/dist/client/_nuxt/builds/meta/4475dec8-7a8e-4367-88b5-60d8bc425ff6.json +1 -0
- package/dist/client/_nuxt/c.RCJZWN-0.js +81 -0
- package/dist/client/_nuxt/cadence.Bgpqy2XC.js +1 -0
- package/dist/client/_nuxt/catppuccin-frappe.CSSpeNoc.js +1 -0
- package/dist/client/_nuxt/catppuccin-latte.BKmRr8wc.js +1 -0
- package/dist/client/_nuxt/catppuccin-macchiato.3Hompcvk.js +1 -0
- package/dist/client/_nuxt/catppuccin-mocha.Bxe0CTgP.js +1 -0
- package/dist/client/_nuxt/clarity.CIekO_uJ.js +1 -0
- package/dist/client/_nuxt/clojure.BF6G6X0H.js +1 -0
- package/dist/client/_nuxt/cmake.DXZpi2gR.js +1 -0
- package/dist/client/_nuxt/cobol.V9VEyzKl.js +1 -0
- package/dist/client/_nuxt/codeql.BOpLLL-w.js +1 -0
- package/dist/client/_nuxt/coffee.t_LrLW_f.js +100 -0
- package/dist/client/_nuxt/cpp.BnO_O5bK.js +186 -0
- package/dist/client/_nuxt/crystal.kQaLR197.js +25 -0
- package/dist/client/_nuxt/csharp.DISxKEhY.js +756 -0
- package/dist/client/_nuxt/css.CbYhyuC0.js +505 -0
- package/dist/client/_nuxt/csv.B2DkETJQ.js +1 -0
- package/dist/client/_nuxt/cue.C6Aznpr-.js +1 -0
- package/dist/client/_nuxt/cypher.ByMv4Xf1.js +1 -0
- package/dist/client/_nuxt/d.PifQWv0n.js +1 -0
- package/dist/client/_nuxt/dark-plus.KEYLhlmT.js +1 -0
- package/dist/client/_nuxt/dart.BmadmVm4.js +1 -0
- package/dist/client/_nuxt/dax.DsfXcHUZ.js +29 -0
- package/dist/client/_nuxt/diff.DvyTQcux.js +1 -0
- package/dist/client/_nuxt/docker.DNR26wTC.js +1 -0
- package/dist/client/_nuxt/dracula-soft.9B1nZgL-.js +1 -0
- package/dist/client/_nuxt/dracula.DGO8GyiP.js +1 -0
- package/dist/client/_nuxt/dream-maker.Eh5U-gDp.js +52 -0
- package/dist/client/_nuxt/elixir.CpdO1lki.js +17 -0
- package/dist/client/_nuxt/elm.DbZvrHdh.js +1 -0
- package/dist/client/_nuxt/entry.CYm5lUm_.css +1 -0
- package/dist/client/_nuxt/entry.DGHcQ5Fj.js +36 -0
- package/dist/client/_nuxt/erb.PjiSmVwo.js +1 -0
- package/dist/client/_nuxt/erlang.C3YqBJkQ.js +1 -0
- package/dist/client/_nuxt/error-404.DUbMs4uL.js +1 -0
- package/dist/client/_nuxt/error-404.ORekjfyJ.css +1 -0
- package/dist/client/_nuxt/error-500.BIuFL0tW.css +1 -0
- package/dist/client/_nuxt/error-500.BzL1fy75.js +1 -0
- package/dist/client/_nuxt/fish.DfeQjIbs.js +5 -0
- package/dist/client/_nuxt/fortran-fixed-form.Cx0tWteX.js +1 -0
- package/dist/client/_nuxt/fortran-free-form.D6pmzCqS.js +1 -0
- package/dist/client/_nuxt/fsharp.DPkxF5yZ.js +1 -0
- package/dist/client/_nuxt/gdresource.Dyo1-XBj.js +1 -0
- package/dist/client/_nuxt/gdscript.CoEqzGFw.js +44 -0
- package/dist/client/_nuxt/gdshader.B_SUYfiV.js +1 -0
- package/dist/client/_nuxt/gherkin.DjTlIhuc.js +1 -0
- package/dist/client/_nuxt/git-commit.aPmGthaS.js +1 -0
- package/dist/client/_nuxt/git-rebase.Cl-c85-0.js +1 -0
- package/dist/client/_nuxt/github-dark-dimmed.CRDKj6ck.js +1 -0
- package/dist/client/_nuxt/github-dark.CzPA46E-.js +1 -0
- package/dist/client/_nuxt/github-light.CRlnGVMD.js +1 -0
- package/dist/client/_nuxt/glimmer-js.C8_h80UD.js +13 -0
- package/dist/client/_nuxt/glimmer-ts.jzigfKdB.js +13 -0
- package/dist/client/_nuxt/glsl.-GlVTnW0.js +1 -0
- package/dist/client/_nuxt/gnuplot.nclm9rTJ.js +266 -0
- package/dist/client/_nuxt/go.XCGcAo4I.js +1 -0
- package/dist/client/_nuxt/graphql.C4V4xKFR.js +4 -0
- package/dist/client/_nuxt/groovy.wChcbJ1V.js +37 -0
- package/dist/client/_nuxt/hack.B30vrIHT.js +86 -0
- package/dist/client/_nuxt/haml.CAKsSe2e.js +1 -0
- package/dist/client/_nuxt/handlebars.W0zz18bm.js +1 -0
- package/dist/client/_nuxt/haskell.DAGYewaG.js +559 -0
- package/dist/client/_nuxt/hcl.qyqQxnfZ.js +1 -0
- package/dist/client/_nuxt/hjson.DZqG9GXz.js +50 -0
- package/dist/client/_nuxt/hlsl.DmDrTTlz.js +1 -0
- package/dist/client/_nuxt/html-derivative.fiapQfxX.js +1 -0
- package/dist/client/_nuxt/html.CuK0VrWf.js +74 -0
- package/dist/client/_nuxt/http.BZ0kU-IF.js +1 -0
- package/dist/client/_nuxt/imba.DxX1Vuw3.js +223 -0
- package/dist/client/_nuxt/index.DKzsDYrr.js +1 -0
- package/dist/client/_nuxt/ini.DeVv6D4_.js +1 -0
- package/dist/client/_nuxt/java.ClXEvkw9.js +68 -0
- package/dist/client/_nuxt/javascript.Dch3xQiY.js +699 -0
- package/dist/client/_nuxt/jinja.DWD-OL5F.js +1 -0
- package/dist/client/_nuxt/jison.CHwQvgii.js +1 -0
- package/dist/client/_nuxt/json.CupVZNk8.js +25 -0
- package/dist/client/_nuxt/json5.Bh8mriwU.js +17 -0
- package/dist/client/_nuxt/jsonc.DYI1rfmx.js +25 -0
- package/dist/client/_nuxt/jsonl.BUpeXbsf.js +25 -0
- package/dist/client/_nuxt/jsonnet.C9d3aiqh.js +1 -0
- package/dist/client/_nuxt/jssm.Dble9ECP.js +1 -0
- package/dist/client/_nuxt/jsx.CsyrCbsw.js +699 -0
- package/dist/client/_nuxt/julia.CO0c-z84.js +9 -0
- package/dist/client/_nuxt/kotlin.BIxS-Weu.js +1 -0
- package/dist/client/_nuxt/kusto.DIr-ordK.js +1 -0
- package/dist/client/_nuxt/latex.DZUj4xYJ.js +3 -0
- package/dist/client/_nuxt/less.DywwDckn.js +159 -0
- package/dist/client/_nuxt/light-plus.BsvsQ1iS.js +1 -0
- package/dist/client/_nuxt/liquid.Cp8214eI.js +14 -0
- package/dist/client/_nuxt/lisp.D4LhxNOI.js +1 -0
- package/dist/client/_nuxt/logo.DdacRhvC.js +1 -0
- package/dist/client/_nuxt/lua.0ontURQf.js +1 -0
- package/dist/client/_nuxt/make.B9S9BZZh.js +1 -0
- package/dist/client/_nuxt/markdown.CRQpHayV.js +129 -0
- package/dist/client/_nuxt/marko.Dg8Ifwb-.js +8 -0
- package/dist/client/_nuxt/material-theme-darker.BrGg7AAd.js +1 -0
- package/dist/client/_nuxt/material-theme-lighter.DDRuGeQH.js +1 -0
- package/dist/client/_nuxt/material-theme-ocean.CBL0qBdF.js +1 -0
- package/dist/client/_nuxt/material-theme-palenight.D7gg1Usp.js +1 -0
- package/dist/client/_nuxt/material-theme.B2BuIiKK.js +1 -0
- package/dist/client/_nuxt/matlab.Btshr8M_.js +70 -0
- package/dist/client/_nuxt/mdc.CdZ-F1IA.js +76 -0
- package/dist/client/_nuxt/mdx.CBPJd_fO.js +1 -0
- package/dist/client/_nuxt/mermaid.BSyl5yf0.js +1 -0
- package/dist/client/_nuxt/min-dark.iSbrOpM4.js +1 -0
- package/dist/client/_nuxt/min-light.BITGhEdf.js +1 -0
- package/dist/client/_nuxt/mojo.Cr5EkBff.js +519 -0
- package/dist/client/_nuxt/monokai.sMI-pExk.js +1 -0
- package/dist/client/_nuxt/move.Dl0g34Y3.js +1 -0
- package/dist/client/_nuxt/narrat.B9CT-1u6.js +7 -0
- package/dist/client/_nuxt/nextflow.DBxHOdLe.js +1 -0
- package/dist/client/_nuxt/nginx.DGQ8U8YC.js +1 -0
- package/dist/client/_nuxt/night-owl.BeocmOPF.js +1 -0
- package/dist/client/_nuxt/nim.By3iP3OP.js +1 -0
- package/dist/client/_nuxt/nix.Dszwcx0o.js +1 -0
- package/dist/client/_nuxt/nord.CsyjKwr8.js +1 -0
- package/dist/client/_nuxt/nushell.C56EW6Ky.js +1 -0
- package/dist/client/_nuxt/objective-c.DHmGyzbM.js +109 -0
- package/dist/client/_nuxt/objective-cpp.BWKJ1FCf.js +239 -0
- package/dist/client/_nuxt/ocaml.RqY_Nz63.js +1 -0
- package/dist/client/_nuxt/one-dark-pro.BC6PHXLE.js +1 -0
- package/dist/client/_nuxt/onig.BbrMXqi_.js +1 -0
- package/dist/client/_nuxt/pascal.Bz4xi2rU.js +1 -0
- package/dist/client/_nuxt/perl.Czv4QcIx.js +1 -0
- package/dist/client/_nuxt/php.DEqKwr-6.js +771 -0
- package/dist/client/_nuxt/plsql.BbJj1K1w.js +1 -0
- package/dist/client/_nuxt/poimandres.Cda-MJFk.js +1 -0
- package/dist/client/_nuxt/postcss.DXT9h7v2.js +1 -0
- package/dist/client/_nuxt/powerquery.CApMHEaB.js +1 -0
- package/dist/client/_nuxt/powershell.9ZOzOPqN.js +1 -0
- package/dist/client/_nuxt/prisma.BBJYjQ0k.js +1 -0
- package/dist/client/_nuxt/prolog.BH_RS3WO.js +1 -0
- package/dist/client/_nuxt/proto.DOtRmeXT.js +1 -0
- package/dist/client/_nuxt/pug.BWq4yR4F.js +1 -0
- package/dist/client/_nuxt/puppet.37ic6j3l.js +1 -0
- package/dist/client/_nuxt/purescript.CfPQhs6g.js +7 -0
- package/dist/client/_nuxt/python.DwuVtWc2.js +518 -0
- package/dist/client/_nuxt/r.BXfENWL6.js +1 -0
- package/dist/client/_nuxt/raku.D384ylkT.js +1 -0
- package/dist/client/_nuxt/razor.Cstpb-uc.js +40 -0
- package/dist/client/_nuxt/red.jaXbsbtS.js +1 -0
- package/dist/client/_nuxt/reg.CrhH3_Og.js +1 -0
- package/dist/client/_nuxt/rel.6Kuza3Wr.js +1 -0
- package/dist/client/_nuxt/riscv.AgnqFTPX.js +13 -0
- package/dist/client/_nuxt/rose-pine-dawn.Bj5xdiaE.js +1 -0
- package/dist/client/_nuxt/rose-pine-moon.CdedUr_-.js +1 -0
- package/dist/client/_nuxt/rose-pine.CX_FIdg1.js +1 -0
- package/dist/client/_nuxt/rst.CXc8L5wR.js +1 -0
- package/dist/client/_nuxt/ruby.D5H8ZR7S.js +80 -0
- package/dist/client/_nuxt/rust.j8KhMG0x.js +1 -0
- package/dist/client/_nuxt/sas.2Dj3KWk-.js +1 -0
- package/dist/client/_nuxt/sass.CMDmr8et.js +2 -0
- package/dist/client/_nuxt/scala.vMsNTMhM.js +5 -0
- package/dist/client/_nuxt/scheme.1Je9_Reo.js +136 -0
- package/dist/client/_nuxt/scss.Dr-_CcBd.js +90 -0
- package/dist/client/_nuxt/shaderlab.D_C8j_yu.js +1 -0
- package/dist/client/_nuxt/shellscript.BVYSsK7b.js +1 -0
- package/dist/client/_nuxt/shellsession.BgTI27pK.js +1 -0
- package/dist/client/_nuxt/slack-dark.C7oZ9nno.js +1 -0
- package/dist/client/_nuxt/slack-ochin.hXH8Gyq8.js +1 -0
- package/dist/client/_nuxt/smalltalk.DSsji4Hu.js +1 -0
- package/dist/client/_nuxt/solarized-dark.C86elO-m.js +1 -0
- package/dist/client/_nuxt/solarized-light.xPNGhBYe.js +1 -0
- package/dist/client/_nuxt/solidity.CThH5sBG.js +1 -0
- package/dist/client/_nuxt/sparql.DJ46LgWq.js +1 -0
- package/dist/client/_nuxt/splunk.6XBPEST2.js +1 -0
- package/dist/client/_nuxt/sql.DbK06e1c.js +21 -0
- package/dist/client/_nuxt/ssh-config.BH1M7C1g.js +1 -0
- package/dist/client/_nuxt/stata.DCIeX9IZ.js +3 -0
- package/dist/client/_nuxt/stylus.DSrLtGYv.js +15 -0
- package/dist/client/_nuxt/svelte.DPVrELNy.js +1 -0
- package/dist/client/_nuxt/swift.Dez-Qvcc.js +544 -0
- package/dist/client/_nuxt/synthwave-84.BBDuFDsq.js +1 -0
- package/dist/client/_nuxt/system-verilog.DzPyIVdT.js +9 -0
- package/dist/client/_nuxt/tasl.BxwAa5i0.js +1 -0
- package/dist/client/_nuxt/tcl.C_8Fx7bH.js +1 -0
- package/dist/client/_nuxt/terraform.CdYS7vZw.js +1 -0
- package/dist/client/_nuxt/tex.BKGhwytq.js +1 -0
- package/dist/client/_nuxt/tokyo-night.eJfcURhx.js +1 -0
- package/dist/client/_nuxt/toml.BT9ZzGyQ.js +69 -0
- package/dist/client/_nuxt/tsx.BlxWTfDV.js +699 -0
- package/dist/client/_nuxt/turtle.C15OxdQ5.js +1 -0
- package/dist/client/_nuxt/twig.BOpxGNkQ.js +40 -0
- package/dist/client/_nuxt/typescript.DC8MraHL.js +666 -0
- package/dist/client/_nuxt/typst.I4qd5QHW.js +10 -0
- package/dist/client/_nuxt/v.C2TBxDwV.js +1 -0
- package/dist/client/_nuxt/vb.beD-FUib.js +1 -0
- package/dist/client/_nuxt/verilog.DVfdqzEq.js +1 -0
- package/dist/client/_nuxt/vesper.BSB_bK09.js +1 -0
- package/dist/client/_nuxt/vhdl.QZ3jNtnE.js +515 -0
- package/dist/client/_nuxt/viml.BLluXI4E.js +1 -0
- package/dist/client/_nuxt/vitesse-black.BO-UM1Vz.js +1 -0
- package/dist/client/_nuxt/vitesse-dark.CHrOy2Zl.js +1 -0
- package/dist/client/_nuxt/vitesse-light.BXgTKZPQ.js +1 -0
- package/dist/client/_nuxt/vue-html.CONbZieF.js +1 -0
- package/dist/client/_nuxt/vue.BIFGmPSe.js +6 -0
- package/dist/client/_nuxt/vue.f36acd1f.DH8ulvYW.js +1 -0
- package/dist/client/_nuxt/vyper.o-cPXEvd.js +575 -0
- package/dist/client/_nuxt/wasm.Cicx_DS6.js +1 -0
- package/dist/client/_nuxt/wenyan.D3VXSfF0.js +1 -0
- package/dist/client/_nuxt/wgsl.BZz1Hhek.js +1 -0
- package/dist/client/_nuxt/wolfram.BICIrM8O.js +1 -0
- package/dist/client/_nuxt/xml.BzTcx3OS.js +1 -0
- package/dist/client/_nuxt/xsl.lJB8dDLf.js +1 -0
- package/dist/client/_nuxt/yaml.C5gCGmDW.js +200 -0
- package/dist/client/_nuxt/zenscript.B1nm99XP.js +2 -0
- package/dist/client/_nuxt/zig.BEeHvBXh.js +1 -0
- package/dist/client/index.html +235 -0
- package/dist/module.cjs +5 -0
- package/dist/module.d.mts +44 -0
- package/dist/module.d.ts +44 -0
- package/dist/module.json +9 -0
- package/dist/module.mjs +77 -0
- package/dist/runtime/composables/isDoNotTrackEnabled.d.ts +1 -0
- package/dist/runtime/composables/isDoNotTrackEnabled.mjs +15 -0
- package/dist/runtime/composables/useScript.d.ts +4 -0
- package/dist/runtime/composables/useScript.mjs +60 -0
- package/dist/runtime/composables/useTrackingScript.d.ts +5 -0
- package/dist/runtime/composables/useTrackingScript.mjs +32 -0
- package/dist/runtime/types.d.ts +9 -0
- package/dist/types.d.mts +18 -0
- package/dist/types.d.ts +18 -0
- package/package.json +69 -3
- /package/dist/{.gitkeep → runtime/types.mjs} +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
const t=Object.freeze({displayName:"Typst",name:"typst",patterns:[{include:"#markup"}],repository:{arguments:{patterns:[{match:"\\b[[:alpha:]_][[:alnum:]_-]*(?=:)",name:"variable.parameter.typst"},{include:"#code"}]},code:{patterns:[{include:"#common"},{begin:"{",captures:{0:{name:"punctuation.definition.block.code.typst"}},end:"}",name:"meta.block.code.typst",patterns:[{include:"#code"}]},{begin:"\\[",captures:{0:{name:"punctuation.definition.block.content.typst"}},end:"\\]",name:"meta.block.content.typst",patterns:[{include:"#markup"}]},{begin:"//",beginCaptures:{0:{name:"punctuation.definition.comment.typst"}},end:`
|
|
2
|
+
`,name:"comment.line.double-slash.typst"},{match:":",name:"punctuation.separator.colon.typst"},{match:",",name:"punctuation.separator.comma.typst"},{match:"=>|\\.\\.",name:"keyword.operator.typst"},{match:"==|!=|<=|<|>=|>",name:"keyword.operator.relational.typst"},{match:"\\+=|-=|\\*=|/=|=",name:"keyword.operator.assignment.typst"},{match:"\\+|\\*|/|(?<![[:alpha:]_][[:alnum:]_-]*)-(?![:alnum:]_-]*[[:alpha:]_])",name:"keyword.operator.arithmetic.typst"},{match:"\\b(and|or|not)\\b",name:"keyword.operator.word.typst"},{match:"\\b(let|as|in|set|show)\\b",name:"keyword.other.typst"},{match:"\\b(if|else)\\b",name:"keyword.control.conditional.typst"},{match:"\\b(for|while|break|continue)\\b",name:"keyword.control.loop.typst"},{match:"\\b(import|include|export)\\b",name:"keyword.control.import.typst"},{match:"\\b(return)\\b",name:"keyword.control.flow.typst"},{include:"#constants"},{comment:"Function name",match:"\\b[[:alpha:]_][[:alnum:]_-]*!?(?=\\[|\\()",name:"entity.name.function.typst"},{comment:"Function name",match:"(?<=\\bshow\\s*)\\b[[:alpha:]_][[:alnum:]_-]*(?=\\s*[:.])",name:"entity.name.function.typst"},{begin:"(?<=\\b[[:alpha:]_][[:alnum:]_-]*!?)\\(",captures:{0:{name:"punctuation.definition.group.typst"}},comment:"Function arguments",end:"\\)",patterns:[{include:"#arguments"}]},{match:"\\b[[:alpha:]_][[:alnum:]_-]*\\b",name:"variable.other.typst"},{begin:"\\(",captures:{0:{name:"punctuation.definition.group.typst"}},end:"\\)|(?=;)",name:"meta.group.typst",patterns:[{include:"#code"}]}]},comments:{patterns:[{begin:"/\\*",captures:{0:{name:"punctuation.definition.comment.typst"}},end:"\\*/",name:"comment.block.typst",patterns:[{include:"#comments"}]},{begin:"(?<!:)//",beginCaptures:{0:{name:"punctuation.definition.comment.typst"}},end:`
|
|
3
|
+
`,name:"comment.line.double-slash.typst",patterns:[{include:"#comments"}]}]},common:{patterns:[{include:"#comments"}]},constants:{patterns:[{match:"\\bnone\\b",name:"constant.language.none.typst"},{match:"\\bauto\\b",name:"constant.language.auto.typst"},{match:"\\b(true|false)\\b",name:"constant.language.boolean.typst"},{match:"\\b(\\d*)?\\.?\\d+([eE][+-]?\\d+)?(mm|pt|cm|in|em)\\b",name:"constant.numeric.length.typst"},{match:"\\b(\\d*)?\\.?\\d+([eE][+-]?\\d+)?(rad|deg)\\b",name:"constant.numeric.angle.typst"},{match:"\\b(\\d*)?\\.?\\d+([eE][+-]?\\d+)?%",name:"constant.numeric.percentage.typst"},{match:"\\b(\\d*)?\\.?\\d+([eE][+-]?\\d+)?fr",name:"constant.numeric.fr.typst"},{match:"\\b\\d+\\b",name:"constant.numeric.integer.typst"},{match:"\\b(\\d*)?\\.?\\d+([eE][+-]?\\d+)?\\b",name:"constant.numeric.float.typst"},{begin:'"',captures:{0:{name:"punctuation.definition.string.typst"}},end:'"',name:"string.quoted.double.typst",patterns:[{match:'\\\\([\\\\"nrt]|u\\{?[0-9a-zA-Z]*\\}?)',name:"constant.character.escape.string.typst"}]},{begin:"\\$",captures:{0:{name:"punctuation.definition.string.math.typst"}},end:"\\$",name:"string.other.math.typst"}]},markup:{patterns:[{include:"#common"},{match:"\\\\([\\\\/\\[\\]{}#*_=~`$-.]|u\\{[0-9a-zA-Z]*\\}?)",name:"constant.character.escape.content.typst"},{match:"\\\\",name:"punctuation.definition.linebreak.typst"},{match:"~",name:"punctuation.definition.nonbreaking-space.typst"},{match:"-\\?",name:"punctuation.definition.shy.typst"},{match:"---",name:"punctuation.definition.em-dash.typst"},{match:"--",name:"punctuation.definition.en-dash.typst"},{match:"\\.\\.\\.",name:"punctuation.definition.ellipsis.typst"},{match:":([a-zA-Z0-9]+:)+",name:"constant.symbol.typst"},{begin:"(^\\*|\\*$|((?<=\\W|_)\\*)|(\\*(?=\\W|_)))",captures:{0:{name:"punctuation.definition.bold.typst"}},end:`(^\\*|\\*$|((?<=\\W|_)\\*)|(\\*(?=\\W|_)))|
|
|
4
|
+
|(?=\\])`,name:"markup.bold.typst",patterns:[{include:"#markup"}]},{begin:"(^_|_$|((?<=\\W|_)_)|(_(?=\\W|_)))",captures:{0:{name:"punctuation.definition.italic.typst"}},end:`(^_|_$|((?<=\\W|_)_)|(_(?=\\W|_)))|
|
|
5
|
+
|(?=\\])`,name:"markup.italic.typst",patterns:[{include:"#markup"}]},{match:"https?://[0-9a-zA-Z~/%#&=',;\\.\\+\\?]*",name:"markup.underline.link.typst"},{begin:"`{3,}",captures:{0:{name:"punctuation.definition.raw.typst"}},end:"\\0",name:"markup.raw.block.typst"},{begin:"`",captures:{0:{name:"punctuation.definition.raw.typst"}},end:"`",name:"markup.raw.inline.typst"},{begin:"\\$",captures:{0:{name:"punctuation.definition.string.math.typst"}},end:"\\$",name:"string.other.math.typst"},{begin:"^\\s*=+\\s+",beginCaptures:{0:{name:"punctuation.definition.heading.typst"}},contentName:"entity.name.section.typst",end:`
|
|
6
|
+
|(?=<)`,name:"markup.heading.typst",patterns:[{include:"#markup"}]},{match:"^\\s*-\\s+",name:"punctuation.definition.list.unnumbered.typst"},{match:"^\\s*([0-9]*\\.|\\+)\\s+",name:"punctuation.definition.list.numbered.typst"},{captures:{1:{name:"punctuation.definition.list.description.typst"},2:{name:"markup.list.term.typst"}},match:"^\\s*(/)\\s+([^:]*:)"},{captures:{1:{name:"punctuation.definition.label.typst"}},match:"<[[:alpha:]_][[:alnum:]_-]*>",name:"entity.other.label.typst"},{captures:{1:{name:"punctuation.definition.reference.typst"}},match:"(@)[[:alpha:]_][[:alnum:]_-]*",name:"entity.other.reference.typst"},{begin:"(#)(let|set|show)\\b",beginCaptures:{0:{name:"keyword.other.typst"},1:{name:"punctuation.definition.keyword.typst"}},end:`
|
|
7
|
+
|(;)|(?=])`,endCaptures:{1:{name:"punctuation.terminator.statement.typst"}},patterns:[{include:"#code"}]},{captures:{1:{name:"punctuation.definition.keyword.typst"}},match:"(#)(as|in)\\b",name:"keyword.other.typst"},{begin:"((#)if|(?<=(}|])\\s*)else)\\b",beginCaptures:{0:{name:"keyword.control.conditional.typst"},2:{name:"punctuation.definition.keyword.typst"}},end:`
|
|
8
|
+
|(?=])|(?<=}|])`,patterns:[{include:"#code"}]},{begin:"(#)(for|while)\\b",beginCaptures:{0:{name:"keyword.control.loop.typst"},1:{name:"punctuation.definition.keyword.typst"}},end:`
|
|
9
|
+
|(?=])|(?<=}|])`,patterns:[{include:"#code"}]},{captures:{1:{name:"punctuation.definition.keyword.typst"}},match:"(#)(break|continue)\\b",name:"keyword.control.loop.typst"},{begin:"(#)(import|include|export)\\b",beginCaptures:{0:{name:"keyword.control.import.typst"},1:{name:"punctuation.definition.keyword.typst"}},end:`
|
|
10
|
+
|(;)|(?=])`,endCaptures:{1:{name:"punctuation.terminator.statement.typst"}},patterns:[{include:"#code"}]},{captures:{1:{name:"punctuation.definition.keyword.typst"}},match:"(#)(return)\\b",name:"keyword.control.flow.typst"},{captures:{2:{name:"punctuation.definition.function.typst"}},comment:"Function name",match:"((#)[[:alpha:]_][[:alnum:]_-]*!?)(?=\\[|\\()",name:"entity.name.function.typst"},{begin:"(?<=#[[:alpha:]_][[:alnum:]_-]*!?)\\(",captures:{0:{name:"punctuation.definition.group.typst"}},comment:"Function arguments",end:"\\)",patterns:[{include:"#arguments"}]},{captures:{1:{name:"punctuation.definition.variable.typst"}},match:"(#)[[:alpha:]_][.[:alnum:]_-]*",name:"entity.other.interpolated.typst"},{begin:"#",end:"\\s",name:"meta.block.content.typst",patterns:[{include:"#code"}]}]}},scopeName:"source.typst",aliases:["typ"]});var n=[t];export{n as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=Object.freeze({displayName:"V",fileTypes:[".v",".vh",".vsh",".vv","v.mod"],name:"v",patterns:[{include:"#comments"},{include:"#function-decl"},{include:"#as-is"},{include:"#attributes"},{include:"#assignment"},{include:"#module-decl"},{include:"#import-decl"},{include:"#hash-decl"},{include:"#brackets"},{include:"#builtin-fix"},{include:"#escaped-fix"},{include:"#operators"},{include:"#function-limited-overload-decl"},{include:"#function-extend-decl"},{include:"#function-exist"},{include:"#generic"},{include:"#constants"},{include:"#type"},{include:"#enum"},{include:"#interface"},{include:"#struct"},{include:"#keywords"},{include:"#storage"},{include:"#numbers"},{include:"#strings"},{include:"#types"},{include:"#punctuations"},{include:"#variable-assign"},{include:"#function-decl"}],repository:{"as-is":{begin:"\\s+(as|is)\\s+",beginCaptures:{1:{name:"keyword.$1.v"}},end:"([\\w.]*)",endCaptures:{1:{name:"entity.name.alias.v"}}},assignment:{captures:{1:{patterns:[{include:"#operators"}]}},match:"\\s+((?:\\:|\\+|\\-|\\*|/|\\%|\\&|\\||\\^)?=)\\s+",name:"meta.definition.variable.v"},attributes:{captures:{1:{name:"meta.function.attribute.v"},2:{name:"punctuation.definition.begin.bracket.square.v"},3:{name:"storage.modifier.attribute.v"},4:{name:"punctuation.definition.end.bracket.square.v"}},match:"^\\s*((\\[)(deprecated|unsafe|console|heap|manualfree|typedef|live|inline|flag|ref_only|direct_array_access|callconv)(\\]))",name:"meta.definition.attribute.v"},brackets:{patterns:[{begin:"{",beginCaptures:{0:{name:"punctuation.definition.bracket.curly.begin.v"}},end:"}",endCaptures:{0:{name:"punctuation.definition.bracket.curly.end.v"}},patterns:[{include:"$self"}]},{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.bracket.round.begin.v"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.bracket.round.end.v"}},patterns:[{include:"$self"}]},{begin:"\\[",beginCaptures:{0:{name:"punctuation.definition.bracket.square.begin.v"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.bracket.square.end.v"}},patterns:[{include:"$self"}]}]},"builtin-fix":{patterns:[{patterns:[{match:"(const)(?=\\s*\\()",name:"storage.modifier.v"},{match:"\\b(fn|type|enum|struct|union|interface|map|assert|sizeof|typeof|__offsetof)\\b(?=\\s*\\()",name:"keyword.$1.v"}]},{patterns:[{match:"(\\$if|\\$else)(?=\\s*\\()",name:"keyword.control.v"},{match:"\\b(as|in|is|or|break|continue|default|unsafe|match|if|else|for|go|spawn|goto|defer|return|shared|select|rlock|lock|atomic|asm)\\b(?=\\s*\\()",name:"keyword.control.v"}]},{patterns:[{captures:{1:{name:"storage.type.numeric.v"}},match:"(?<!.)(i?(?:8|16|nt|64|128)|u?(?:16|32|64|128)|f?(?:32|64))(?=\\s*\\()",name:"meta.expr.numeric.cast.v"},{captures:{1:{name:"storage.type.$1.v"}},match:"(bool|byte|byteptr|charptr|voidptr|string|rune|size_t|[ui]size)(?=\\s*\\()",name:"meta.expr.bool.cast.v"}]}]},comments:{patterns:[{begin:"/\\*",beginCaptures:{0:{name:"punctuation.definition.comment.begin.v"}},end:"\\*/",endCaptures:{0:{name:"punctuation.definition.comment.end.v"}},name:"comment.block.documentation.v",patterns:[{include:"#comments"}]},{begin:"//",beginCaptures:{0:{name:"punctuation.definition.comment.begin.v"}},end:"$",name:"comment.line.double-slash.v"}]},constants:{match:"\\b(true|false|none)\\b",name:"constant.language.v"},enum:{captures:{1:{name:"storage.modifier.$1.v"},2:{name:"storage.type.enum.v"},3:{name:"entity.name.enum.v"}},match:"^\\s*(?:(pub)?\\s+)?(enum)\\s+(?:\\w+\\.)?(\\w*)",name:"meta.definition.enum.v"},"function-decl":{captures:{1:{name:"storage.modifier.v"},2:{name:"keyword.fn.v"},3:{name:"entity.name.function.v"},4:{patterns:[{include:"#generic"}]}},match:"^(\\bpub\\b\\s+)?(\\bfn\\b)\\s+(?:\\([^\\)]+\\)\\s+)?(?:(?:C\\.)?)(\\w+)\\s*((?<=[\\w\\s+])(\\<)(\\w+)(\\>))?",name:"meta.definition.function.v"},"function-exist":{captures:{0:{name:"meta.function.call.v"},1:{patterns:[{include:"#illegal-name"},{match:"\\w+",name:"entity.name.function.v"}]},2:{patterns:[{include:"#generic"}]}},match:"(\\w+)((?<=[\\w\\s+])(\\<)(\\w+)(\\>))?(?=\\s*\\()",name:"meta.support.function.v"},"function-extend-decl":{captures:{1:{name:"storage.modifier.v"},2:{name:"keyword.fn.v"},3:{name:"punctuation.definition.bracket.round.begin.v"},4:{patterns:[{include:"#brackets"},{include:"#storage"},{include:"#generic"},{include:"#types"},{include:"#punctuation"}]},5:{name:"punctuation.definition.bracket.round.end.v"},6:{patterns:[{include:"#illegal-name"},{match:"\\w+",name:"entity.name.function.v"}]},7:{patterns:[{include:"#generic"}]}},match:"^\\s*(pub)?\\s*(fn)\\s*(\\()([^\\)]*)(\\))\\s*(?:(?:C\\.)?)(\\w+)\\s*((?<=[\\w\\s+])(\\<)(\\w+)(\\>))?",name:"meta.definition.function.v"},"function-limited-overload-decl":{captures:{1:{name:"storage.modifier.v"},2:{name:"keyword.fn.v"},3:{name:"punctuation.definition.bracket.round.begin.v"},4:{patterns:[{include:"#brackets"},{include:"#storage"},{include:"#generic"},{include:"#types"},{include:"#punctuation"}]},5:{name:"punctuation.definition.bracket.round.end.v"},6:{patterns:[{include:"#operators"}]},7:{name:"punctuation.definition.bracket.round.begin.v"},8:{patterns:[{include:"#brackets"},{include:"#storage"},{include:"#generic"},{include:"#types"},{include:"#punctuation"}]},9:{name:"punctuation.definition.bracket.round.end.v"},10:{patterns:[{include:"#illegal-name"},{match:"\\w+",name:"entity.name.function.v"}]}},match:"^\\s*(pub)?\\s*(fn)\\s*(\\()([^\\)]*)(\\))\\s*([\\+\\-\\*\\/])?\\s*(\\()([^\\)]*)(\\))\\s*(?:(?:C\\.)?)(\\w+)",name:"meta.definition.function.v"},generic:{patterns:[{captures:{1:{name:"punctuation.definition.bracket.angle.begin.v"},2:{patterns:[{include:"#illegal-name"},{match:"\\w+",name:"entity.name.generic.v"}]},3:{name:"punctuation.definition.bracket.angle.end.v"}},match:"(?<=[\\w\\s+])(\\<)(\\w+)(\\>)",name:"meta.definition.generic.v"}]},"hash-decl":{begin:"^\\s*(#)",end:"$",name:"markup.bold.v"},"illegal-name":{match:"\\d\\w+",name:"invalid.illegal.v"},"import-decl":{begin:"^\\s*(import)\\s+",beginCaptures:{1:{name:"keyword.import.v"}},end:"([\\w.]+)",endCaptures:{1:{name:"entity.name.import.v"}},name:"meta.import.v"},interface:{captures:{1:{name:"storage.modifier.$1.v"},2:{name:"keyword.interface.v"},3:{patterns:[{include:"#illegal-name"},{match:"\\w+",name:"entity.name.interface.v"}]}},match:"^\\s*(?:(pub)?\\s+)?(interface)\\s+(\\w*)",name:"meta.definition.interface.v"},keywords:{patterns:[{match:"(\\$if|\\$else)",name:"keyword.control.v"},{match:"(?<!@)\\b(as|it|is|in|or|break|continue|default|unsafe|match|if|else|for|go|spawn|goto|defer|return|shared|select|rlock|lock|atomic|asm)\\b",name:"keyword.control.v"},{match:"(?<!@)\\b(fn|type|typeof|enum|struct|interface|map|assert|sizeof|__offsetof)\\b",name:"keyword.$1.v"}]},"module-decl":{begin:"^\\s*(module)\\s+",beginCaptures:{1:{name:"keyword.module.v"}},end:"([\\w.]+)",endCaptures:{1:{name:"entity.name.module.v"}},name:"meta.module.v"},numbers:{patterns:[{match:"([0-9]+(_?))+(\\.)([0-9]+[eE][-+]?[0-9]+)",name:"constant.numeric.exponential.v"},{match:"([0-9]+(_?))+(\\.)([0-9]+)",name:"constant.numeric.float.v"},{match:"(?:0b)(?:(?:[0-1]+)(?:_?))+",name:"constant.numeric.binary.v"},{match:"(?:0o)(?:(?:[0-7]+)(?:_?))+",name:"constant.numeric.octal.v"},{match:"(?:0x)(?:(?:[0-9a-fA-F]+)(?:_?))+",name:"constant.numeric.hex.v"},{match:"(?:(?:[0-9]+)(?:[_]?))+",name:"constant.numeric.integer.v"}]},operators:{patterns:[{match:"(\\+|\\-|\\*|\\/|\\%|\\+\\+|\\-\\-|\\>\\>|\\<\\<)",name:"keyword.operator.arithmetic.v"},{match:"(\\=\\=|\\!\\=|\\>|\\<|\\>\\=|\\<\\=)",name:"keyword.operator.relation.v"},{match:"(\\:\\=|\\=|\\+\\=|\\-\\=|\\*\\=|\\/\\=|\\%\\=|\\&\\=|\\|\\=|\\^\\=|\\~\\=|\\&\\&\\=|\\|\\|\\=|\\>\\>\\=|\\<\\<\\=)",name:"keyword.operator.assignment.v"},{match:"(\\&|\\||\\^|\\~|<(?!<)|>(?!>))",name:"keyword.operator.bitwise.v"},{match:"(\\&\\&|\\|\\||\\!)",name:"keyword.operator.logical.v"},{match:"\\?",name:"keyword.operator.optional.v"}]},punctuation:{patterns:[{match:"\\.",name:"punctuation.delimiter.period.dot.v"},{match:",",name:"punctuation.delimiter.comma.v"},{match:":",name:"punctuation.separator.key-value.colon.v"},{match:";",name:"punctuation.definition.other.semicolon.v"},{match:"\\?",name:"punctuation.definition.other.questionmark.v"},{match:"#",name:"punctuation.hash.v"}]},punctuations:{patterns:[{match:"(?:\\.)",name:"punctuation.accessor.v"},{match:"(?:,)",name:"punctuation.separator.comma.v"}]},storage:{match:"\\b(const|mut|pub)\\b",name:"storage.modifier.v"},"string-escaped-char":{patterns:[{match:`\\\\([0-7]{3}|[\\$abfnrtv\\\\'"]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})`,name:"constant.character.escape.v"},{match:`\\\\[^0-7\\$xuUabfnrtv\\'"]`,name:"invalid.illegal.unknown-escape.v"}]},"string-interpolation":{captures:{1:{patterns:[{match:"\\$\\d[\\.\\w]+",name:"invalid.illegal.v"},{match:"\\$([\\.\\w]+|\\{.*?\\})",name:"variable.other.interpolated.v"}]}},match:"(\\$([\\w.]+|\\{.*?\\}))",name:"meta.string.interpolation.v"},"string-placeholder":{match:"%(\\[\\d+\\])?([\\+#\\-0\\x20]{,2}((\\d+|\\*)?(\\.?(\\d+|\\*|(\\[\\d+\\])\\*?)?(\\[\\d+\\])?)?))?[vT%tbcdoqxXUbeEfFgGsp]",name:"constant.other.placeholder.v"},strings:{patterns:[{begin:"`",end:"`",name:"string.quoted.rune.v",patterns:[{include:"#string-escaped-char"},{include:"#string-interpolation"},{include:"#string-placeholder"}]},{begin:"(r)'",beginCaptures:{1:{name:"storage.type.string.v"}},end:"'",name:"string.quoted.raw.v",patterns:[{include:"#string-interpolation"},{include:"#string-placeholder"}]},{begin:'(r)"',beginCaptures:{1:{name:"storage.type.string.v"}},end:'"',name:"string.quoted.raw.v",patterns:[{include:"#string-interpolation"},{include:"#string-placeholder"}]},{begin:"(c?)'",beginCaptures:{1:{name:"storage.type.string.v"}},end:"'",name:"string.quoted.v",patterns:[{include:"#string-escaped-char"},{include:"#string-interpolation"},{include:"#string-placeholder"}]},{begin:'(c?)"',beginCaptures:{1:{name:"storage.type.string.v"}},end:'"',name:"string.quoted.v",patterns:[{include:"#string-escaped-char"},{include:"#string-interpolation"},{include:"#string-placeholder"}]}]},struct:{patterns:[{begin:"^\\s*(?:(mut|pub(?:\\s+mut)?|__global)\\s+)?(struct|union)\\s+([\\w.]+)\\s*|({)",beginCaptures:{1:{name:"storage.modifier.$1.v"},2:{name:"storage.type.struct.v"},3:{name:"entity.name.type.v"},4:{name:"punctuation.definition.bracket.curly.begin.v"}},end:"\\s*|(})",endCaptures:{1:{name:"punctuation.definition.bracket.curly.end.v"}},name:"meta.definition.struct.v",patterns:[{include:"#struct-access-modifier"},{captures:{1:{name:"variable.other.property.v"},2:{patterns:[{include:"#numbers"},{include:"#brackets"},{include:"#types"},{match:"\\w+",name:"storage.type.other.v"}]},3:{name:"keyword.operator.assignment.v"},4:{patterns:[{include:"$self"}]}},match:"\\b(\\w+)\\s+([\\w\\[\\]\\*&.]+)(?:\\s*(=)\\s*((?:.(?=$|//|/\\*))*+))?"},{include:"#types"},{include:"$self"}]},{captures:{1:{name:"storage.modifier.$1.v"},2:{name:"storage.type.struct.v"},3:{name:"entity.name.struct.v"}},match:"^\\s*(?:(mut|pub(?:\\s+mut)?|__global))\\s+?(struct)\\s+(?:\\s+([\\w.]+))?",name:"meta.definition.struct.v"}]},"struct-access-modifier":{captures:{1:{name:"storage.modifier.$1.v"},2:{name:"punctuation.separator.struct.key-value.v"}},match:"(?<=\\s|^)(mut|pub(?:\\s+mut)?|__global)(:|\\b)"},type:{captures:{1:{name:"storage.modifier.$1.v"},2:{name:"storage.type.type.v"},3:{patterns:[{include:"#illegal-name"},{include:"#types"},{match:"\\w+",name:"entity.name.type.v"}]},4:{patterns:[{include:"#illegal-name"},{include:"#types"},{match:"\\w+",name:"entity.name.type.v"}]}},match:"^\\s*(?:(pub)?\\s+)?(type)\\s+(\\w*)\\s+(?:\\w+\\.+)?(\\w*)",name:"meta.definition.type.v"},types:{patterns:[{match:"(?<!\\.)\\b(i(8|16|nt|64|128)|u(8|16|32|64|128)|f(32|64))\\b",name:"storage.type.numeric.v"},{match:"(?<!\\.)\\b(bool|byte|byteptr|charptr|voidptr|string|ustring|rune)\\b",name:"storage.type.$1.v"}]},"variable-assign":{captures:{0:{patterns:[{match:"[a-zA-Z_]\\w*",name:"variable.other.assignment.v"},{include:"#punctuation"}]}},match:"[a-zA-Z_]\\w*(?:,\\s*[a-zA-Z_]\\w*)*(?=\\s*(?:=|:=))"}},scopeName:"source.v"});var n=[e];export{n as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=Object.freeze({displayName:"Visual Basic",name:"vb",patterns:[{match:"\\n",name:"meta.ending-space"},{include:"#round-brackets"},{begin:"^(?=\\t)",end:"(?=[^\\t])",name:"meta.leading-space",patterns:[{captures:{1:{name:"meta.odd-tab.tabs"},2:{name:"meta.even-tab.tabs"}},match:"(\\t)(\\t)?"}]},{begin:"^(?= )",end:"(?=[^ ])",name:"meta.leading-space",patterns:[{captures:{1:{name:"meta.odd-tab.spaces"},2:{name:"meta.even-tab.spaces"}},match:"( )( )?"}]},{captures:{1:{name:"storage.type.function.asp"},2:{name:"entity.name.function.asp"},3:{name:"punctuation.definition.parameters.asp"},4:{name:"variable.parameter.function.asp"},5:{name:"punctuation.definition.parameters.asp"}},match:"^\\s*((?i:function|sub))\\s*([a-zA-Z_]\\w*)\\s*(\\()([^)]*)(\\)).*\\n?",name:"meta.function.asp"},{begin:"(^[ \\t]+)?(?=')",beginCaptures:{1:{name:"punctuation.whitespace.comment.leading.asp"}},end:"(?!\\G)",patterns:[{begin:"'",beginCaptures:{0:{name:"punctuation.definition.comment.asp"}},end:"\\n",name:"comment.line.apostrophe.asp"}]},{match:"(?i:\\b(If|Then|Else|ElseIf|Else If|End If|While|Wend|For|To|Each|Case|Select|End Select|Return|Continue|Do|Until|Loop|Next|With|Exit Do|Exit For|Exit Function|Exit Property|Exit Sub|IIf)\\b)",name:"keyword.control.asp"},{match:"(?i:\\b(Mod|And|Not|Or|Xor|as)\\b)",name:"keyword.operator.asp"},{captures:{1:{name:"storage.type.asp"},2:{name:"variable.other.bfeac.asp"},3:{name:"meta.separator.comma.asp"}},match:"(?i:(dim)\\s*(?:(\\b[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?\\b)\\s*(,?)))",name:"variable.other.dim.asp"},{match:"(?i:\\s*\\b(Call|Class|Const|Dim|Redim|Function|Sub|Private Sub|Public Sub|End Sub|End Function|End Class|End Property|Public Property|Private Property|Set|Let|Get|New|Randomize|Option Explicit|On Error Resume Next|On Error GoTo)\\b\\s*)",name:"storage.type.asp"},{match:"(?i:\\b(Private|Public|Default)\\b)",name:"storage.modifier.asp"},{match:"(?i:\\s*\\b(Empty|False|Nothing|Null|True)\\b)",name:"constant.language.asp"},{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.asp"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.asp"}},name:"string.quoted.double.asp",patterns:[{match:'""',name:"constant.character.escape.apostrophe.asp"}]},{captures:{1:{name:"punctuation.definition.variable.asp"}},match:"(\\$)[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?\\b\\s*",name:"variable.other.asp"},{match:"(?i:\\b(Application|ObjectContext|Request|Response|Server|Session)\\b)",name:"support.class.asp"},{match:"(?i:\\b(Contents|StaticObjects|ClientCertificate|Cookies|Form|QueryString|ServerVariables)\\b)",name:"support.class.collection.asp"},{match:"(?i:\\b(TotalBytes|Buffer|CacheControl|Charset|ContentType|Expires|ExpiresAbsolute|IsClientConnected|PICS|Status|ScriptTimeout|CodePage|LCID|SessionID|Timeout)\\b)",name:"support.constant.asp"},{match:"(?i:\\b(Lock|Unlock|SetAbort|SetComplete|BinaryRead|AddHeader|AppendToLog|BinaryWrite|Clear|End|Flush|Redirect|Write|CreateObject|HTMLEncode|MapPath|URLEncode|Abandon|Convert|Regex)\\b)",name:"support.function.asp"},{match:"(?i:\\b(Application_OnEnd|Application_OnStart|OnTransactionAbort|OnTransactionCommit|Session_OnEnd|Session_OnStart)\\b)",name:"support.function.event.asp"},{match:"(?i:(?<=as )(\\b[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?\\b))",name:"support.type.vb.asp"},{match:"(?i:\\b(Array|Add|Asc|Atn|CBool|CByte|CCur|CDate|CDbl|Chr|CInt|CLng|Conversions|Cos|CreateObject|CSng|CStr|Date|DateAdd|DateDiff|DatePart|DateSerial|DateValue|Day|Derived|Math|Escape|Eval|Exists|Exp|Filter|FormatCurrency|FormatDateTime|FormatNumber|FormatPercent|GetLocale|GetObject|GetRef|Hex|Hour|InputBox|InStr|InStrRev|Int|Fix|IsArray|IsDate|IsEmpty|IsNull|IsNumeric|IsObject|Item|Items|Join|Keys|LBound|LCase|Left|Len|LoadPicture|Log|LTrim|RTrim|Trim|Maths|Mid|Minute|Month|MonthName|MsgBox|Now|Oct|Remove|RemoveAll|Replace|RGB|Right|Rnd|Round|ScriptEngine|ScriptEngineBuildVersion|ScriptEngineMajorVersion|ScriptEngineMinorVersion|Second|SetLocale|Sgn|Sin|Space|Split|Sqr|StrComp|String|StrReverse|Tan|Time|Timer|TimeSerial|TimeValue|TypeName|UBound|UCase|Unescape|VarType|Weekday|WeekdayName|Year)\\b)",name:"support.function.vb.asp"},{match:"-?\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f)?\\b",name:"constant.numeric.asp"},{match:"(?i:\\b(vbtrue|vbfalse|vbcr|vbcrlf|vbformfeed|vblf|vbnewline|vbnullchar|vbnullstring|int32|vbtab|vbverticaltab|vbbinarycompare|vbtextcomparevbsunday|vbmonday|vbtuesday|vbwednesday|vbthursday|vbfriday|vbsaturday|vbusesystemdayofweek|vbfirstjan1|vbfirstfourdays|vbfirstfullweek|vbgeneraldate|vblongdate|vbshortdate|vblongtime|vbshorttime|vbobjecterror|vbEmpty|vbNull|vbInteger|vbLong|vbSingle|vbDouble|vbCurrency|vbDate|vbString|vbObject|vbError|vbBoolean|vbVariant|vbDataObject|vbDecimal|vbByte|vbArray)\\b)",name:"support.type.vb.asp"},{captures:{1:{name:"entity.name.function.asp"}},match:"(?i:(\\b[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?\\b)(?=\\(\\)?))",name:"support.function.asp"},{match:"(?i:((?<=(\\+|=|-|\\&|\\\\|/|<|>|\\(|,))\\s*\\b([a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?)\\b(?!(\\(|\\.))|\\b([a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?)\\b(?=\\s*(\\+|=|-|\\&|\\\\|/|<|>|\\(|\\)))))",name:"variable.other.asp"},{match:"!|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\\|\\||\\?\\:|\\*=|/=|%=|\\+=|\\-=|&=|\\^=|\\b(in|instanceof|new|delete|typeof|void)\\b",name:"keyword.operator.js"}],repository:{"round-brackets":{begin:"\\(",beginCaptures:{0:{name:"punctuation.section.round-brackets.begin.asp"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.round-brackets.end.asp"}},name:"meta.round-brackets",patterns:[{include:"source.asp.vb.net"}]}},scopeName:"source.asp.vb.net",aliases:["cmd"]});var a=[e];export{a as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=Object.freeze({displayName:"Verilog",fileTypes:["v","vh"],name:"verilog",patterns:[{include:"#comments"},{include:"#module_pattern"},{include:"#keywords"},{include:"#constants"},{include:"#strings"},{include:"#operators"}],repository:{comments:{patterns:[{begin:"(^[ \\t]+)?(?=//)",beginCaptures:{1:{name:"punctuation.whitespace.comment.leading.verilog"}},end:"(?!\\G)",patterns:[{begin:"//",beginCaptures:{0:{name:"punctuation.definition.comment.verilog"}},end:"\\n",name:"comment.line.double-slash.verilog"}]},{begin:"/\\*",end:"\\*/",name:"comment.block.c-style.verilog"}]},constants:{patterns:[{match:"`(?!(celldefine|endcelldefine|default_nettype|define|undef|ifdef|ifndef|else|endif|include|resetall|timescale|unconnected_drive|nounconnected_drive))[a-z_A-Z][a-zA-Z0-9_$]*",name:"variable.other.constant.verilog"},{match:"[0-9]*'[bBoOdDhH][a-fA-F0-9_xXzZ]+\\b",name:"constant.numeric.sized_integer.verilog"},{captures:{1:{name:"constant.numeric.integer.verilog"},2:{name:"punctuation.separator.range.verilog"},3:{name:"constant.numeric.integer.verilog"}},match:"\\b(\\d+)(:)(\\d+)\\b",name:"meta.block.numeric.range.verilog"},{match:"\\b\\d[\\d_]*(?i:e\\d+)?\\b",name:"constant.numeric.integer.verilog"},{match:"\\b\\d+\\.\\d+(?i:e\\d+)?\\b",name:"constant.numeric.real.verilog"},{match:"#\\d+",name:"constant.numeric.delay.verilog"},{match:"\\b[01xXzZ]+\\b",name:"constant.numeric.logic.verilog"}]},instantiation_patterns:{patterns:[{include:"#keywords"},{begin:"^\\s*([a-zA-Z][a-zA-Z0-9_]*)\\s+([a-zA-Z][a-zA-Z0-9_]*)(?<!begin|if)\\s*(?=\\(|$)",beginCaptures:{1:{name:"entity.name.tag.module.reference.verilog"},2:{name:"entity.name.tag.module.identifier.verilog"}},end:";",endCaptures:{0:{name:"punctuation.terminator.expression.verilog"}},name:"meta.block.instantiation.parameterless.verilog",patterns:[{include:"#comments"},{include:"#constants"},{include:"#strings"}]},{begin:"^\\s*([a-zA-Z][a-zA-Z0-9_]*)\\s*(#)(?=\\s*\\()",beginCaptures:{1:{name:"entity.name.tag.module.reference.verilog"}},end:";",endCaptures:{0:{name:"punctuation.terminator.expression.verilog"}},name:"meta.block.instantiation.with.parameters.verilog",patterns:[{include:"#parenthetical_list"},{match:"[a-zA-Z][a-zA-Z0-9_]*",name:"entity.name.tag.module.identifier.verilog"}]}]},keywords:{patterns:[{match:"\\b(always|and|assign|attribute|begin|buf|bufif0|bufif1|case[xz]?|cmos|deassign|default|defparam|disable|edge|else|end(attribute|case|function|generate|module|primitive|specify|table|task)?|event|for|force|forever|fork|function|generate|genvar|highz(01)|if(none)?|initial|inout|input|integer|join|localparam|medium|module|large|macromodule|nand|negedge|nmos|nor|not|notif(01)|or|output|parameter|pmos|posedge|primitive|pull0|pull1|pulldown|pullup|rcmos|real|realtime|reg|release|repeat|rnmos|rpmos|rtran|rtranif(01)|scalared|signed|small|specify|specparam|strength|strong0|strong1|supply0|supply1|table|task|time|tran|tranif(01)|tri(01)?|tri(and|or|reg)|unsigned|vectored|wait|wand|weak(01)|while|wire|wor|xnor|xor)\\b",name:"keyword.other.verilog"},{match:"^\\s*`((cell)?define|default_(decay_time|nettype|trireg_strength)|delay_mode_(path|unit|zero)|ifdef|ifndef|include|end(if|celldefine)|else|(no)?unconnected_drive|resetall|timescale|undef)\\b",name:"keyword.other.compiler.directive.verilog"},{match:"\\$(f(open|close)|readmem(b|h)|timeformat|printtimescale|stop|finish|(s|real)?time|realtobits|bitstoreal|rtoi|itor|(f)?(display|write(h|b)))\\b",name:"support.function.system.console.tasks.verilog"},{match:"\\$(random|dist_(chi_square|erlang|exponential|normal|poisson|t|uniform))\\b",name:"support.function.system.random_number.tasks.verilog"},{match:"\\$((a)?sync\\$((n)?and|(n)or)\\$(array|plane))\\b",name:"support.function.system.pld_modeling.tasks.verilog"},{match:"\\$(q_(initialize|add|remove|full|exam))\\b",name:"support.function.system.stochastic.tasks.verilog"},{match:"\\$(hold|nochange|period|recovery|setup(hold)?|skew|width)\\b",name:"support.function.system.timing.tasks.verilog"},{match:"\\$(dump(file|vars|off|on|all|limit|flush))\\b",name:"support.function.system.vcd.tasks.verilog"},{match:"\\$(countdrivers|list|input|scope|showscopes|(no)?(key|log)|reset(_count|_value)?|(inc)?save|restart|showvars|getpattern|sreadmem(b|h)|scale)",name:"support.function.non-standard.tasks.verilog"}]},module_pattern:{patterns:[{begin:"\\b(module)\\s+([a-zA-Z][a-zA-Z0-9_]*)",beginCaptures:{1:{name:"storage.type.module.verilog"},2:{name:"entity.name.type.module.verilog"}},end:"\\bendmodule\\b",endCaptures:{0:{name:"storage.type.module.verilog"}},name:"meta.block.module.verilog",patterns:[{include:"#comments"},{include:"#keywords"},{include:"#constants"},{include:"#strings"},{include:"#instantiation_patterns"},{include:"#operators"}]}]},operators:{patterns:[{match:"\\+|-|\\*|/|%|(<|>)=?|(!|=)?==?|!|&&?|\\|\\|?|\\^?~|~\\^?",name:"keyword.operator.verilog"}]},parenthetical_list:{patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.section.list.verilog"}},end:"\\)",endCaptures:{0:{name:"punctuation.section.list.verilog"}},name:"meta.block.parenthetical_list.verilog",patterns:[{include:"#parenthetical_list"},{include:"#comments"},{include:"#keywords"},{include:"#constants"},{include:"#strings"}]}]},strings:{patterns:[{begin:'"',end:'"',name:"string.quoted.double.verilog",patterns:[{match:"\\\\.",name:"constant.character.escape.verilog"}]}]}},scopeName:"source.verilog"});var n=[e];export{n as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t=Object.freeze({colors:{"activityBar.background":"#101010","activityBar.foreground":"#A0A0A0","activityBarBadge.background":"#FFC799","activityBarBadge.foreground":"#000","badge.background":"#FFC799","badge.foreground":"#000","button.background":"#FFC799","button.foreground":"#000","button.hoverBackground":"#FFCFA8","diffEditor.insertedLineBackground":"#99FFE415","diffEditor.insertedTextBackground":"#99FFE415","diffEditor.removedLineBackground":"#FF808015","diffEditor.removedTextBackground":"#FF808015","editor.background":"#101010","editor.foreground":"#FFF","editor.selectionBackground":"#FFFFFF25","editor.selectionHighlightBackground":"#FFFFFF25","editorBracketHighlight.foreground1":"#A0A0A0","editorBracketHighlight.foreground2":"#A0A0A0","editorBracketHighlight.foreground3":"#A0A0A0","editorBracketHighlight.foreground4":"#A0A0A0","editorBracketHighlight.foreground5":"#A0A0A0","editorBracketHighlight.foreground6":"#A0A0A0","editorBracketHighlight.unexpectedBracket.foreground":"#FF8080","editorError.foreground":"#FF8080","editorGroupHeader.tabsBackground":"#101010","editorGutter.addedBackground":"#99FFE4","editorGutter.deletedBackground":"#FF8080","editorGutter.modifiedBackground":"#FFC799","editorHoverWidget.background":"#161616","editorHoverWidget.border":"#282828","editorInlayHint.background":"#1C1C1C","editorInlayHint.foreground":"#A0A0A0","editorLineNumber.foreground":"#505050","editorOverviewRuler.border":"#101010","editorWarning.foreground":"#FFC799","editorWidget.background":"#101010",focusBorder:"#FFC799","icon.foreground":"#A0A0A0","input.background":"#1C1C1C","list.activeSelectionBackground":"#232323","list.activeSelectionForeground":"#FFC799","list.errorForeground":"#FF8080","list.highlightForeground":"#FFC799","list.hoverBackground":"#282828","list.inactiveSelectionBackground":"#232323","scrollbarSlider.background":"#34343480","scrollbarSlider.hoverBackground":"#343434","selection.background":"#666","settings.modifiedItemIndicator":"#FFC799","sideBar.background":"#101010","sideBarSectionHeader.background":"#101010","sideBarSectionHeader.foreground":"#A0A0A0","sideBarTitle.foreground":"#A0A0A0","statusBar.background":"#101010","statusBar.debuggingBackground":"#FF7300","statusBar.debuggingForeground":"#FFF","statusBar.foreground":"#A0A0A0","statusBarItem.remoteBackground":"#FFC799","statusBarItem.remoteForeground":"#000","tab.activeBackground":"#161616","tab.border":"#101010","tab.inactiveBackground":"#101010","textLink.activeForeground":"#FFCFA8","textLink.foreground":"#FFC799","titleBar.activeBackground":"#101010","titleBar.activeForeground":"#7E7E7E","titleBar.inactiveBackground":"#101010","titleBar.inactiveForeground":"#707070"},displayName:"Vesper",name:"vesper",tokenColors:[{scope:["comment","punctuation.definition.comment"],settings:{foreground:"#8b8b8b94"}},{scope:["variable","string constant.other.placeholder","entity.name.tag"],settings:{foreground:"#FFF"}},{scope:["constant.other.color"],settings:{foreground:"#FFF"}},{scope:["invalid","invalid.illegal"],settings:{foreground:"#FF8080"}},{scope:["keyword","storage.type","storage.modifier"],settings:{foreground:"#A0A0A0"}},{scope:["keyword.control","constant.other.color","punctuation.definition.tag","punctuation.separator.inheritance.php","punctuation.definition.tag.html","punctuation.definition.tag.begin.html","punctuation.definition.tag.end.html","punctuation.section.embedded","keyword.other.template","keyword.other.substitution"],settings:{foreground:"#A0A0A0"}},{scope:["entity.name.tag","meta.tag.sgml","markup.deleted.git_gutter"],settings:{foreground:"#FFC799"}},{scope:["entity.name.function","variable.function","support.function","keyword.other.special-method"],settings:{foreground:"#FFC799"}},{scope:["meta.block variable.other"],settings:{foreground:"#FFF"}},{scope:["support.other.variable","string.other.link"],settings:{foreground:"#FFF"}},{scope:["constant.numeric","support.constant","constant.character","constant.escape","keyword.other.unit","keyword.other","constant.language.boolean"],settings:{foreground:"#FFC799"}},{scope:["string","constant.other.symbol","constant.other.key","meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js"],settings:{foreground:"#99FFE4"}},{scope:["entity.name","support.type","support.class","support.other.namespace.use.php","meta.use.php","support.other.namespace.php","markup.changed.git_gutter","support.type.sys-types"],settings:{foreground:"#FFC799"}},{scope:["source.css support.type.property-name","source.sass support.type.property-name","source.scss support.type.property-name","source.less support.type.property-name","source.stylus support.type.property-name","source.postcss support.type.property-name","source.postcss support.type.property-name","support.type.vendored.property-name.css","source.css.scss entity.name.tag","variable.parameter.keyframe-list.css","meta.property-name.css","variable.parameter.url.scss","meta.property-value.scss","meta.property-value.css"],settings:{foreground:"#FFF"}},{scope:["entity.name.module.js","variable.import.parameter.js","variable.other.class.js"],settings:{foreground:"#FF8080"}},{scope:["variable.language"],settings:{foreground:"#A0A0A0"}},{scope:["entity.name.method.js"],settings:{foreground:"#FFFF"}},{scope:["meta.class-method.js entity.name.function.js","variable.function.constructor"],settings:{foreground:"#FFFF"}},{scope:["entity.other.attribute-name","meta.property-list.scss","meta.attribute-selector.scss","meta.property-value.css","entity.other.keyframe-offset.css","meta.selector.css","entity.name.tag.reference.scss","entity.name.tag.nesting.css","punctuation.separator.key-value.css"],settings:{foreground:"#A0A0A0"}},{scope:["text.html.basic entity.other.attribute-name.html","text.html.basic entity.other.attribute-name"],settings:{foreground:"#FFC799"}},{scope:["entity.other.attribute-name.class","entity.other.attribute-name.id","meta.attribute-selector.scss","variable.parameter.misc.css"],settings:{foreground:"#FFC799"}},{scope:["source.sass keyword.control","meta.attribute-selector.scss"],settings:{foreground:"#99FFE4"}},{scope:["markup.inserted"],settings:{foreground:"#99FFE4"}},{scope:["markup.deleted"],settings:{foreground:"#FF8080"}},{scope:["markup.changed"],settings:{foreground:"#A0A0A0"}},{scope:["string.regexp"],settings:{foreground:"#A0A0A0"}},{scope:["constant.character.escape"],settings:{foreground:"#A0A0A0"}},{scope:["*url*","*link*","*uri*"],settings:{fontStyle:"underline"}},{scope:["tag.decorator.js entity.name.tag.js","tag.decorator.js punctuation.definition.tag.js"],settings:{foreground:"#FFFF"}},{scope:["source.js constant.other.object.key.js string.unquoted.label.js"],settings:{fontStyle:"italic",foreground:"#FF8080"}},{scope:["source.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#FFC799"}},{scope:["source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#FFC799"}},{scope:["source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#FFC799"}},{scope:["source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#FFC799"}},{scope:["source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#FFC799"}},{scope:["source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#FFC799"}},{scope:["source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#FFC799"}},{scope:["source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#FFC799"}},{scope:["source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],settings:{foreground:"#FFC799"}},{scope:["text.html.markdown","punctuation.definition.list_item.markdown"],settings:{foreground:"#FFF"}},{scope:["text.html.markdown markup.inline.raw.markdown"],settings:{foreground:"#A0A0A0"}},{scope:["text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown"],settings:{foreground:"#FFF"}},{scope:["markdown.heading","markup.heading | markup.heading entity.name","markup.heading.markdown punctuation.definition.heading.markdown","markup.heading","markup.inserted.git_gutter"],settings:{foreground:"#FFC799"}},{scope:["markup.italic"],settings:{fontStyle:"italic",foreground:"#FFF"}},{scope:["markup.bold","markup.bold string"],settings:{fontStyle:"bold",foreground:"#FFF"}},{scope:["markup.bold markup.italic","markup.italic markup.bold","markup.quote markup.bold","markup.bold markup.italic string","markup.italic markup.bold string","markup.quote markup.bold string"],settings:{fontStyle:"bold",foreground:"#FFF"}},{scope:["markup.underline"],settings:{fontStyle:"underline",foreground:"#FFC799"}},{scope:["markup.quote punctuation.definition.blockquote.markdown"],settings:{foreground:"#FFF"}},{scope:["markup.quote"]},{scope:["string.other.link.title.markdown"],settings:{foreground:"#FFFF"}},{scope:["string.other.link.description.title.markdown"],settings:{foreground:"#A0A0A0"}},{scope:["constant.other.reference.link.markdown"],settings:{foreground:"#FFC799"}},{scope:["markup.raw.block"],settings:{foreground:"#A0A0A0"}},{scope:["markup.raw.block.fenced.markdown"],settings:{foreground:"#00000050"}},{scope:["punctuation.definition.fenced.markdown"],settings:{foreground:"#00000050"}},{scope:["markup.raw.block.fenced.markdown","variable.language.fenced.markdown","punctuation.section.class.end"],settings:{foreground:"#FFF"}},{scope:["variable.language.fenced.markdown"],settings:{foreground:"#FFF"}},{scope:["meta.separator"],settings:{fontStyle:"bold",foreground:"#65737E"}},{scope:["markup.table"],settings:{foreground:"#FFF"}}],type:"dark"});export{t as default};
|
|
@@ -0,0 +1,515 @@
|
|
|
1
|
+
const n=Object.freeze({displayName:"VHDL",fileTypes:["vhd","vhdl","vho","vht"],name:"vhdl",patterns:[{include:"#block_processing"},{include:"#cleanup"}],repository:{architecture_pattern:{patterns:[{begin:`(?x)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
\\b((?i:architecture))\\s+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
(([a-zA-z][a-zA-z0-9_]*)|(.+))(?=\\s)\\s+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
((?i:of))\\s+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
(([a-zA-Z][a-zA-Z0-9_]*)|(.+?))(?=\\s*(?i:is))\\b
|
|
14
|
+
`,beginCaptures:{1:{name:"keyword.language.vhdl"},3:{name:"entity.name.type.architecture.begin.vhdl"},4:{name:"invalid.illegal.invalid.identifier.vhdl"},5:{name:"keyword.language.vhdl"},7:{name:"entity.name.type.entity.reference.vhdl"},8:{name:"invalid.illegal.invalid.identifier.vhdl"}},end:`(?x)
|
|
15
|
+
|
|
16
|
+
\\b((?i:end))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
(\\s+((?i:architecture)))?
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
(\\s+((\\3)|(.+?)))?
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
(?=\\s*;)
|
|
26
|
+
`,endCaptures:{1:{name:"keyword.language.vhdl"},3:{name:"keyword.language.vhdl"},6:{name:"entity.name.type.architecture.end.vhdl"},7:{name:"invalid.illegal.mismatched.identifier.vhdl"}},name:"support.block.architecture",patterns:[{include:"#block_pattern"},{include:"#function_definition_pattern"},{include:"#procedure_definition_pattern"},{include:"#component_pattern"},{include:"#if_pattern"},{include:"#process_pattern"},{include:"#type_pattern"},{include:"#record_pattern"},{include:"#for_pattern"},{include:"#entity_instantiation_pattern"},{include:"#component_instantiation_pattern"},{include:"#cleanup"}]}]},attribute_list:{patterns:[{begin:"\\'\\(",beginCaptures:{0:{name:"punctuation.vhdl"}},end:"\\)",endCaptures:{0:{name:"punctuation.vhdl"}},patterns:[{include:"#parenthetical_list"},{include:"#cleanup"}]}]},block_pattern:{patterns:[{begin:`(?x)
|
|
27
|
+
|
|
28
|
+
^\\s*
|
|
29
|
+
|
|
30
|
+
(
|
|
31
|
+
([a-zA-Z][a-zA-Z0-9_]*)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
\\s*(:)\\s*
|
|
35
|
+
)?
|
|
36
|
+
|
|
37
|
+
(\\s*(?i:block))
|
|
38
|
+
`,beginCaptures:{2:{name:"meta.block.block.name"},3:{name:"keyword.language.vhdl"},4:{name:"keyword.language.vhdl"}},end:`(?x)
|
|
39
|
+
|
|
40
|
+
((?i:end\\s+block))
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
(\\s+((\\2)|(.+?)))?
|
|
44
|
+
|
|
45
|
+
(?=\\s*;)
|
|
46
|
+
`,endCaptures:{1:{name:"keyword.language.vhdl"},2:{name:"meta.block.block.end"},5:{name:"invalid.illegal.mismatched.identifier.vhdl"}},name:"meta.block.block",patterns:[{include:"#control_patterns"},{include:"#cleanup"}]}]},block_processing:{patterns:[{include:"#package_pattern"},{include:"#package_body_pattern"},{include:"#entity_pattern"},{include:"#architecture_pattern"}]},case_pattern:{patterns:[{begin:`(?x)
|
|
47
|
+
|
|
48
|
+
^\\s*
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
(
|
|
52
|
+
(
|
|
53
|
+
([a-zA-Z][a-zA-Z0-9_]*)
|
|
54
|
+
|(.+?)
|
|
55
|
+
)
|
|
56
|
+
\\s*:\\s*
|
|
57
|
+
)?
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
\\b((?i:case))\\b
|
|
61
|
+
`,beginCaptures:{3:{name:"entity.name.tag.case.begin.vhdl"},4:{name:"invalid.illegal.invalid.identifier.vhdl"},5:{name:"keyword.language.vhdl"}},end:`(?x)
|
|
62
|
+
|
|
63
|
+
\\b((?i:end))\\s*
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
(\\s+(((?i:case))|(.*?)))
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
(\\s+((\\2)|(.*?)))?
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
(?=\\s*;)
|
|
73
|
+
`,endCaptures:{1:{name:"keyword.language.vhdl"},4:{name:"keyword.language.vhdl"},5:{name:"invalid.illegal.case.required.vhdl"},8:{name:"entity.name.tag.case.end.vhdl"},9:{name:"invalid.illegal.mismatched.identifier.vhdl"}},patterns:[{include:"#control_patterns"},{include:"#cleanup"}]}]},cleanup:{patterns:[{include:"#comments"},{include:"#constants_numeric"},{include:"#strings"},{include:"#attribute_list"},{include:"#syntax_highlighting"}]},comments:{patterns:[{match:"--.*$\\n?",name:"comment.line.double-dash.vhdl"}]},component_instantiation_pattern:{patterns:[{begin:`(?x)
|
|
74
|
+
|
|
75
|
+
^\\s*
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
([a-zA-Z][a-zA-Z0-9_]*)
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
\\s*(:)\\s*
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
([a-zA-Z][a-zA-Z0-9_]*)\\b
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
(?=\\s*($|generic|port))
|
|
89
|
+
`,beginCaptures:{1:{name:"entity.name.section.component_instantiation.vhdl"},2:{name:"punctuation.vhdl"},3:{name:"entity.name.tag.component.reference.vhdl"}},end:";",endCaptures:{0:{name:"punctuation.vhdl"}},patterns:[{include:"#parenthetical_list"},{include:"#cleanup"}]}]},component_pattern:{patterns:[{begin:`(?x)
|
|
90
|
+
|
|
91
|
+
^\\s*
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
\\b((?i:component))\\s+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
(([a-zA-Z_][a-zA-Z0-9_]*)\\s*|(.+?))(?=\\b(?i:is|port)\\b|$|--)
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
(\\b((?i:is\\b)))?
|
|
101
|
+
`,beginCaptures:{1:{name:"keyword.language.vhdl"},3:{name:"entity.name.type.component.begin.vhdl"},4:{name:"invalid.illegal.invalid.identifier.vhdl"},6:{name:"keyword.language.vhdl"}},end:`(?x)
|
|
102
|
+
|
|
103
|
+
\\b((?i:end))\\s+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
(((?i:component\\b))|(.+?))(?=\\s*|;)
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
(\\s+((\\3)|(.+?)))?(?=\\s*;)
|
|
110
|
+
`,endCaptures:{1:{name:"keyword.language.vhdl"},3:{name:"keyword.language.vhdl"},4:{name:"invalid.illegal.component.keyword.required.vhdl"},7:{name:"entity.name.type.component.end.vhdl"},8:{name:"invalid.illegal.mismatched.identifier.vhdl"}},patterns:[{include:"#generic_list_pattern"},{include:"#port_list_pattern"},{include:"#comments"}]}]},constants_numeric:{patterns:[{match:"\\b([+\\-]?[\\d_]+\\.[\\d_]+([eE][+\\-]?[\\d_]+)?)\\b",name:"constant.numeric.floating_point.vhdl"},{match:"\\b\\d+#[\\h_]+#\\b",name:"constant.numeric.base_pound_number_pound.vhdl"},{match:"\\b[\\d_]+([eE][\\d_]+)?\\b",name:"constant.numeric.integer.vhdl"},{match:'[xX]"[0-9a-fA-F_uUxXzZwWlLhH\\-]+"',name:"constant.numeric.quoted.double.string.hex.vhdl"},{match:'[oO]"[0-7_uUxXzZwWlLhH\\-]+"',name:"constant.numeric.quoted.double.string.octal.vhdl"},{match:'[bB]?"[01_uUxXzZwWlLhH\\-]+"',name:"constant.numeric.quoted.double.string.binary.vhdl"},{captures:{1:{name:"invalid.illegal.quoted.double.string.vhdl"}},match:'([bBoOxX]".+?")',name:"constant.numeric.quoted.double.string.illegal.vhdl"},{match:"'[01uUxXzZwWlLhH\\-]'",name:"constant.numeric.quoted.single.std_logic"}]},control_patterns:{patterns:[{include:"#case_pattern"},{include:"#if_pattern"},{include:"#for_pattern"},{include:"#while_pattern"}]},entity_instantiation_pattern:{patterns:[{begin:`(?x)
|
|
111
|
+
|
|
112
|
+
^\\s*
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
([a-zA-Z][a-zA-Z0-9_]*)
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
\\s*(:)\\s*
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
(((?i:use))\\s+)?
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
((?i:entity))\\s+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
(
|
|
128
|
+
(([a-zA-Z][a-zA-Z0-9_]*)|(.+?))
|
|
129
|
+
(\\.)
|
|
130
|
+
)?
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
(([a-zA-Z][a-zA-Z0-9_]*)|(.+?))
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
(?=\\s*(\\(|$|(?i:port|generic)))
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
(
|
|
140
|
+
|
|
141
|
+
\\s*(\\()\\s*
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
(([a-zA-Z][a-zA-Z0-9_]*)|(.+?))(?=\\s*\\))
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
\\s*(\\))
|
|
148
|
+
)?
|
|
149
|
+
`,beginCaptures:{1:{name:"entity.name.section.entity_instantiation.vhdl"},2:{name:"punctuation.vhdl"},4:{name:"keyword.language.vhdl"},5:{name:"keyword.language.vhdl"},8:{name:"entity.name.tag.library.reference.vhdl"},9:{name:"invalid.illegal.invalid.identifier.vhdl"},10:{name:"punctuation.vhdl"},12:{name:"entity.name.tag.entity.reference.vhdl"},13:{name:"invalid.illegal.invalid.identifier.vhdl"},16:{name:"punctuation.vhdl"},18:{name:"entity.name.tag.architecture.reference.vhdl"},19:{name:"invalid.illegal.invalid.identifier.vhdl"},21:{name:"punctuation.vhdl"}},end:";",endCaptures:{0:{name:"punctuation.vhdl"}},patterns:[{include:"#parenthetical_list"},{include:"#cleanup"}]}]},entity_pattern:{patterns:[{begin:`(?x)
|
|
150
|
+
|
|
151
|
+
^\\s*
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
((?i:entity\\b))\\s+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
(([a-zA-Z][a-zA-Z\\d_]*)|(.+?))(?=\\s)
|
|
158
|
+
`,beginCaptures:{1:{name:"keyword.language.vhdl"},3:{name:"entity.name.type.entity.begin.vhdl"},4:{name:"invalid.illegal.invalid.identifier.vhdl"}},end:`(?x)
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
\\b((?i:end\\b))
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
(\\s+((?i:entity)))?
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
(\\s+((\\3)|(.+?)))?
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
(?=\\s*;)
|
|
171
|
+
`,endCaptures:{1:{name:"keyword.language.vhdl"},3:{name:"keyword.language.vhdl"},6:{name:"entity.name.type.entity.end.vhdl"},7:{name:"invalid.illegal.mismatched.identifier.vhdl"}},patterns:[{include:"#comments"},{include:"#generic_list_pattern"},{include:"#port_list_pattern"},{include:"#cleanup"}]}]},for_pattern:{patterns:[{begin:`(?x)
|
|
172
|
+
|
|
173
|
+
^\\s*
|
|
174
|
+
(
|
|
175
|
+
|
|
176
|
+
([a-zA-Z][a-zA-Z0-9_]*)
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
\\s*(:)\\s*
|
|
180
|
+
)?
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
(?!(?i:wait\\s*))
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
\\b((?i:for))\\b
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
(?!\\s*(?i:all))
|
|
190
|
+
|
|
191
|
+
`,beginCaptures:{2:{name:"entity.name.tag.for.generate.begin.vhdl"},3:{name:"punctuation.vhdl"},4:{name:"keyword.language.vhdl"}},end:`(?x)
|
|
192
|
+
|
|
193
|
+
\\b((?i:end))\\s+
|
|
194
|
+
(
|
|
195
|
+
|
|
196
|
+
((?i:generate|loop))
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|(\\S+)
|
|
200
|
+
)\\b
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
(\\s+((\\2)|(.+?)))?
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
(?=\\s*;)
|
|
207
|
+
`,endCaptures:{1:{name:"keyword.language.vhdl"},3:{name:"keyword.language.vhdl"},4:{name:"invalid.illegal.loop.or.generate.required.vhdl"},7:{name:"entity.name.tag.for.generate.end.vhdl"},8:{name:"invalid.illegal.mismatched.identifier.vhdl"}},patterns:[{include:"#control_patterns"},{include:"#entity_instantiation_pattern"},{include:"#component_pattern"},{include:"#component_instantiation_pattern"},{include:"#process_pattern"},{include:"#cleanup"}]}]},function_definition_pattern:{patterns:[{begin:`(?x)
|
|
208
|
+
|
|
209
|
+
^\\s*
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
((?i:impure)?\\s*(?i:function))\\s+
|
|
213
|
+
|
|
214
|
+
(
|
|
215
|
+
|
|
216
|
+
([a-zA-Z][a-zA-Z\\d_]*)
|
|
217
|
+
|
|
218
|
+
|("\\S+")
|
|
219
|
+
|
|
220
|
+
|(\\\\.+\\\\)
|
|
221
|
+
|
|
222
|
+
|(.+?)
|
|
223
|
+
)
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
(?=\\s*
|
|
227
|
+
(
|
|
228
|
+
\\(
|
|
229
|
+
|(?i:\\breturn\\b)
|
|
230
|
+
)
|
|
231
|
+
)
|
|
232
|
+
`,beginCaptures:{1:{name:"keyword.language.vhdl"},3:{name:"entity.name.function.function.begin.vhdl"},4:{name:"entity.name.function.function.begin.vhdl"},5:{name:"entity.name.function.function.begin.vhdl"},6:{name:"invalid.illegal.invalid.identifier.vhdl"}},end:`(?x)
|
|
233
|
+
|
|
234
|
+
^\\s*
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
((?i:end))
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
(\\s+((?i:function)))?
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
(\\s+((\\3|\\4|\\5)|(.+?)))?
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
(?=\\s*;)
|
|
247
|
+
`,endCaptures:{1:{name:"keyword.language.vhdl"},3:{name:"keyword.language.vhdl"},6:{name:"entity.name.function.function.end.vhdl"},7:{name:"invalid.illegal.mismatched.identifier.vhdl"}},patterns:[{include:"#control_patterns"},{include:"#parenthetical_list"},{include:"#type_pattern"},{include:"#record_pattern"},{include:"#cleanup"}]}]},function_prototype_pattern:{patterns:[{begin:`(?x)
|
|
248
|
+
|
|
249
|
+
^\\s*
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
((?i:impure)?\\s*(?i:function))\\s+
|
|
253
|
+
|
|
254
|
+
(
|
|
255
|
+
|
|
256
|
+
([a-zA-Z][a-zA-Z\\d_]*)
|
|
257
|
+
|
|
258
|
+
|("\\S+")
|
|
259
|
+
|
|
260
|
+
|(\\\\.+\\\\)
|
|
261
|
+
|
|
262
|
+
|(.+?)
|
|
263
|
+
)
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
(?=\\s*
|
|
267
|
+
(
|
|
268
|
+
\\(
|
|
269
|
+
|(?i:\\breturn\\b)
|
|
270
|
+
)
|
|
271
|
+
)
|
|
272
|
+
`,beginCaptures:{1:{name:"keyword.language.vhdl"},3:{name:"entity.name.function.function.prototype.vhdl"},4:{name:"entity.name.function.function.prototype.vhdl"},5:{name:"entity.name.function.function.prototype.vhdl"},6:{name:"invalid.illegal.function.name.vhdl"}},end:"(?<=;)",patterns:[{begin:"\\b(?i:return)(?=\\s+[^;]+\\s*;)",beginCaptures:{0:{name:"keyword.language.vhdl"}},end:"\\;",endCaptures:{0:{name:"punctuation.terminator.function_prototype.vhdl"}},patterns:[{include:"#parenthetical_list"},{include:"#cleanup"}]},{include:"#parenthetical_list"},{include:"#cleanup"}]}]},generic_list_pattern:{patterns:[{begin:"\\b(?i:generic)\\b",beginCaptures:{0:{name:"keyword.language.vhdl"}},end:";",endCaptures:{0:{name:"punctuation.vhdl"}},patterns:[{include:"#parenthetical_list"}]}]},if_pattern:{patterns:[{begin:`(?x)
|
|
273
|
+
(
|
|
274
|
+
|
|
275
|
+
([a-zA-Z][a-zA-Z0-9_]*)
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
\\s*(:)\\s*
|
|
279
|
+
)?
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
\\b((?i:if))\\b
|
|
283
|
+
`,beginCaptures:{2:{name:"entity.name.tag.if.generate.begin.vhdl"},3:{name:"punctuation.vhdl"},4:{name:"keyword.language.vhdl"}},end:`(?x)
|
|
284
|
+
|
|
285
|
+
\\b((?i:end))\\s+
|
|
286
|
+
|
|
287
|
+
(
|
|
288
|
+
(
|
|
289
|
+
|
|
290
|
+
((?i:generate|if))
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
|(\\S+)
|
|
294
|
+
)\\b
|
|
295
|
+
(
|
|
296
|
+
\\s+
|
|
297
|
+
(
|
|
298
|
+
|
|
299
|
+
(\\2)
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
|(.+?)
|
|
303
|
+
)
|
|
304
|
+
)?
|
|
305
|
+
)?
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
(?=\\s*;)
|
|
309
|
+
`,endCaptures:{1:{name:"keyword.language.vhdl"},4:{name:"keyword.language.vhdl"},5:{name:"invalid.illegal.if.or.generate.required.vhdl"},8:{name:"entity.name.tag.if.generate.end.vhdl"},9:{name:"invalid.illegal.mismatched.identifier.vhdl"}},patterns:[{include:"#control_patterns"},{include:"#process_pattern"},{include:"#entity_instantiation_pattern"},{include:"#component_pattern"},{include:"#component_instantiation_pattern"},{include:"#cleanup"}]}]},keywords:{patterns:[{match:"'(?i:active|ascending|base|delayed|driving|driving_value|event|high|image|instance|instance_name|last|last_value|left|leftof|length|low|path|path_name|pos|pred|quiet|range|reverse|reverse_range|right|rightof|simple|simple_name|stable|succ|transaction|val|value)\\b",name:"keyword.attributes.vhdl"},{match:"\\b(?i:abs|access|after|alias|all|and|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|context|deallocate|disconnect|downto|else|elsif|end|entity|exit|file|for|force|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|mod|nand|new|next|nor|not|null|of|on|open|or|others|out|package|port|postponed|procedure|process|protected|pure|range|record|register|reject|release|rem|report|return|rol|ror|select|severity|shared|signal|sla|sll|sra|srl|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with|xnor|xor)\\b",name:"keyword.language.vhdl"},{match:"\\b(?i:std|ieee|work|standard|textio|std_logic_1164|std_logic_arith|std_logic_misc|std_logic_signed|std_logic_textio|std_logic_unsigned|numeric_bit|numeric_std|math_complex|math_real|vital_primitives|vital_timing)\\b",name:"standard.library.language.vhdl"},{match:"(\\+|\\-|<=|=|=>|:=|>=|>|<|/|\\||&|(\\*{1,2}))",name:"keyword.operator.vhdl"}]},package_body_pattern:{patterns:[{begin:`(?x)
|
|
310
|
+
|
|
311
|
+
\\b((?i:package))\\s+
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
((?i:body))\\s+
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
(([a-zA-Z][a-zA-Z\\d_]*)|(.+?))\\s+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
((?i:is))\\b
|
|
321
|
+
`,beginCaptures:{1:{name:"keyword.language.vhdl"},2:{name:"keyword.language.vhdl"},4:{name:"entity.name.section.package_body.begin.vhdl"},5:{name:"invalid.illegal.invalid.identifier.vhdl"},6:{name:"keyword.language.vhdl"}},end:`(?x)
|
|
322
|
+
|
|
323
|
+
\\b((?i:end\\b))
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
(\\s+((?i:package))\\s+((?i:body)))?
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
(\\s+((\\4)|(.+?)))?(?=\\s*;)`,endCaptures:{1:{name:"keyword.language.vhdl"},3:{name:"keyword.language.vhdl"},4:{name:"keyword.language.vhdl"},7:{name:"entity.name.section.package_body.end.vhdl"},8:{name:"invalid.illegal.mismatched.identifier.vhdl"}},patterns:[{include:"#protected_body_pattern"},{include:"#function_definition_pattern"},{include:"#procedure_definition_pattern"},{include:"#type_pattern"},{include:"#subtype_pattern"},{include:"#record_pattern"},{include:"#cleanup"}]}]},package_pattern:{patterns:[{begin:`(?x)
|
|
330
|
+
|
|
331
|
+
\\b((?i:package))\\s+
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
(?!(?i:body))
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
(([a-zA-Z][a-zA-Z\\d_]*)|(.+?))\\s+
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
((?i:is))\\b
|
|
341
|
+
`,beginCaptures:{1:{name:"keyword.language.vhdl"},3:{name:"entity.name.section.package.begin.vhdl"},4:{name:"invalid.illegal.invalid.identifier.vhdl"},5:{name:"keyword.language.vhdl"}},end:`(?x)
|
|
342
|
+
|
|
343
|
+
\\b((?i:end\\b))
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
(\\s+((?i:package)))?
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
(\\s+((\\2)|(.+?)))?(?=\\s*;)`,endCaptures:{1:{name:"keyword.language.vhdl"},3:{name:"keyword.language.vhdl"},6:{name:"entity.name.section.package.end.vhdl"},7:{name:"invalid.illegal.mismatched.identifier.vhdl"}},patterns:[{include:"#protected_pattern"},{include:"#function_prototype_pattern"},{include:"#procedure_prototype_pattern"},{include:"#type_pattern"},{include:"#subtype_pattern"},{include:"#record_pattern"},{include:"#component_pattern"},{include:"#cleanup"}]}]},parenthetical_list:{patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.vhdl"}},end:"(?<=\\))",patterns:[{begin:`(?=['"a-zA-Z0-9])`,end:"(;|\\)|,)",endCaptures:{0:{name:"punctuation.vhdl"}},name:"source.vhdl",patterns:[{include:"#comments"},{include:"#parenthetical_pair"},{include:"#cleanup"}]},{match:"\\)",name:"invalid.illegal.unexpected.parenthesis.vhdl"},{include:"#cleanup"}]}]},parenthetical_pair:{patterns:[{begin:"\\(",beginCaptures:{0:{name:"punctuation.vhdl"}},end:"\\)",endCaptures:{0:{name:"punctuation.vhdl"}},patterns:[{include:"#parenthetical_pair"},{include:"#cleanup"}]}]},port_list_pattern:{patterns:[{begin:"\\b(?i:port)\\b",beginCaptures:{0:{name:"keyword.language.vhdl"}},end:"(?<=\\))\\s*;",endCaptures:{0:{name:"punctuation.vhdl"}},patterns:[{include:"#parenthetical_list"}]}]},procedure_definition_pattern:{patterns:[{begin:`(?x)
|
|
350
|
+
|
|
351
|
+
^\\s*
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
((?i:procedure))\\s+
|
|
355
|
+
|
|
356
|
+
(
|
|
357
|
+
|
|
358
|
+
([a-zA-Z][a-zA-Z\\d_]*)
|
|
359
|
+
|
|
360
|
+
|("\\S+")
|
|
361
|
+
|
|
362
|
+
|(.+?)
|
|
363
|
+
)
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
(?=\\s*(\\(|(?i:is)))
|
|
367
|
+
`,beginCaptures:{1:{name:"keyword.language.vhdl"},3:{name:"entity.name.function.procedure.begin.vhdl"},4:{name:"entity.name.function.procedure.begin.vhdl"},5:{name:"invalid.illegal.invalid.identifier.vhdl"}},end:`(?x)
|
|
368
|
+
|
|
369
|
+
^\\s*
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
((?i:end))
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
(\\s+((?i:procedure)))?
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
(\\s+((\\3|\\4)|(.+?)))?
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
(?=\\s*;)
|
|
382
|
+
`,endCaptures:{1:{name:"keyword.language.vhdl"},3:{name:"keyword.language.vhdl"},6:{name:"entity.name.function.procedure.end.vhdl"},7:{name:"invalid.illegal.mismatched.identifier.vhdl"}},patterns:[{include:"#parenthetical_list"},{include:"#control_patterns"},{include:"#type_pattern"},{include:"#record_pattern"},{include:"#cleanup"}]}]},procedure_prototype_pattern:{patterns:[{begin:`(?x)
|
|
383
|
+
\\b((?i:procedure))\\s+
|
|
384
|
+
(([a-zA-Z][a-zA-Z0-9_]*)|(.+?))
|
|
385
|
+
(?=\\s*(\\(|;))
|
|
386
|
+
`,beginCaptures:{1:{name:"keyword.language.vhdl"},3:{name:"entity.name.function.procedure.begin.vhdl"},4:{name:"invalid.illegal.invalid.identifier.vhdl"}},end:";",endCaptures:{0:{name:"punctual.vhdl"}},patterns:[{include:"#parenthetical_list"}]}]},process_pattern:{patterns:[{begin:`(?x)
|
|
387
|
+
|
|
388
|
+
^\\s*
|
|
389
|
+
|
|
390
|
+
(
|
|
391
|
+
|
|
392
|
+
([a-zA-Z][a-zA-Z0-9_]*)
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
\\s*(:)\\s*
|
|
396
|
+
)?
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
(
|
|
400
|
+
(?:postponed\\s+)?
|
|
401
|
+
(?i:process\\b)
|
|
402
|
+
)
|
|
403
|
+
`,beginCaptures:{2:{name:"entity.name.section.process.begin.vhdl"},3:{name:"punctuation.vhdl"},4:{name:"keyword.language.vhdl"}},end:`(?x)
|
|
404
|
+
|
|
405
|
+
((?i:end))
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
(\\s+(
|
|
409
|
+
(?:postponed\\s+)?
|
|
410
|
+
(?i:process)
|
|
411
|
+
))
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
(\\s+((\\2)|(.+?)))?
|
|
415
|
+
|
|
416
|
+
(?=\\s*;)
|
|
417
|
+
`,endCaptures:{1:{name:"keyword.language.vhdl"},3:{name:"keyword.language.vhdl"},6:{name:"entity.name.section.process.end.vhdl"},7:{name:"invalid.illegal.invalid.identifier.vhdl"}},patterns:[{include:"#control_patterns"},{include:"#cleanup"}]}]},protected_body_pattern:{patterns:[{begin:`(?x)
|
|
418
|
+
\\b((?i:type))\\s+
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
(([a-zA-Z][a-zA-Z\\d_]*)|(.+?))\\s+
|
|
422
|
+
|
|
423
|
+
\\b((?i:is\\s+protected\\s+body))\\s+
|
|
424
|
+
`,beginCaptures:{1:{name:"keyword.language.vhdl"},3:{name:"entity.name.section.protected_body.begin.vhdl"},4:{name:"invalid.illegal.invalid.identifier.vhdl"},5:{name:"keyword.language.vhdl"}},end:`(?x)
|
|
425
|
+
\\b((?i:end\\s+protected\\s+body))
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
(\\s+((\\3)|(.+?)))?
|
|
429
|
+
|
|
430
|
+
(?=\\s*;)
|
|
431
|
+
`,endCaptures:{1:{name:"keyword.language.vhdl"},4:{name:"entity.name.section.protected_body.end.vhdl"},5:{name:"invalid.illegal.mismatched.identifier.vhdl"}},patterns:[{include:"#function_definition_pattern"},{include:"#procedure_definition_pattern"},{include:"#type_pattern"},{include:"#subtype_pattern"},{include:"#record_pattern"},{include:"#cleanup"}]}]},protected_pattern:{patterns:[{begin:`(?x)
|
|
432
|
+
\\b((?i:type))\\s+
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
(([a-zA-Z][a-zA-Z\\d_]*)|(.+?))\\s+
|
|
436
|
+
|
|
437
|
+
\\b((?i:is\\s+protected))\\s+
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
(?!(?i:body))
|
|
441
|
+
`,beginCaptures:{1:{name:"keyword.language.vhdls"},3:{name:"entity.name.section.protected.begin.vhdl"},4:{name:"invalid.illegal.invalid.identifier.vhdl"},5:{name:"keyword.language.vhdl"}},end:`(?x)
|
|
442
|
+
\\b((?i:end\\s+protected))
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
(\\s+((\\3)|(.+?)))?
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
(?!(?i:body))
|
|
449
|
+
|
|
450
|
+
(?=\\s*;)
|
|
451
|
+
`,endCaptures:{1:{name:"keyword.language.vhdl"},4:{name:"entity.name.section.protected.end.vhdl"},5:{name:"invalid.illegal.mismatched.identifier.vhdl"}},patterns:[{include:"#function_prototype_pattern"},{include:"#procedure_prototype_pattern"},{include:"#type_pattern"},{include:"#subtype_pattern"},{include:"#record_pattern"},{include:"#component_pattern"},{include:"#cleanup"}]}]},punctuation:{patterns:[{match:"(\\.|,|:|;|\\(|\\))",name:"punctuation.vhdl"}]},record_pattern:{patterns:[{begin:"\\b(?i:record)\\b",beginCaptures:{0:{name:"keyword.language.vhdl"}},end:`(?x)
|
|
452
|
+
|
|
453
|
+
\\b((?i:end))
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
\\s+((?i:record))
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
(\\s+(([a-zA-Z][a-zA-Z\\d_]*)|(.*?)))?
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
(?=\\s*;)
|
|
463
|
+
`,endCaptures:{1:{name:"keyword.language.vhdl"},2:{name:"keyword.language.vhdl"},5:{name:"entity.name.type.record.vhdl"},6:{name:"invalid.illegal.invalid.identifier.vhdl"}},patterns:[{include:"#cleanup"}]},{include:"#cleanup"}]},strings:{patterns:[{match:"'.'",name:"string.quoted.single.vhdl"},{begin:'"',end:'"',name:"string.quoted.double.vhdl",patterns:[{match:"\\\\.",name:"constant.character.escape.vhdl"}]},{begin:"\\\\",end:"\\\\",name:"string.other.backslash.vhdl"}]},subtype_pattern:{patterns:[{begin:`(?x)
|
|
464
|
+
|
|
465
|
+
\\b((?i:subtype))\\s+
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
(([a-zA-Z][a-zA-Z0-9_]*)|(.+?))\\s+
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
((?i:is))\\b
|
|
472
|
+
`,beginCaptures:{1:{name:"keyword.language.vhdl"},3:{name:"entity.name.type.subtype.vhdl"},4:{name:"invalid.illegal.invalid.identifier.vhdl"},5:{name:"keyword.language.vhdl"}},end:";",endCaptures:{0:{name:"punctuation.vhdl"}},patterns:[{include:"#cleanup"}]}]},support_constants:{patterns:[{match:"\\b(?i:math_1_over_e|math_1_over_pi|math_1_over_sqrt_2|math_2_pi|math_3_pi_over_2|math_deg_to_rad|math_e|math_log10_of_e|math_log2_of_e|math_log_of_10|math_log_of_2|math_pi|math_pi_over_2|math_pi_over_3|math_pi_over_4|math_rad_to_deg|math_sqrt_2|math_sqrt_pi)\\b",name:"support.constant.ieee.math_real.vhdl"},{match:"\\b(?i:math_cbase_1|math_cbase_j|math_czero|positive_real|principal_value)\\b",name:"support.constant.ieee.math_complex.vhdl"},{match:"\\b(?i:true|false)\\b",name:"support.constant.std.standard.vhdl"}]},support_functions:{patterns:[{match:"\\b(?i:finish|stop|resolution_limit)\\b",name:"support.function.std.env.vhdl"},{match:"\\b(?i:readline|read|writeline|write|endfile|endline)\\b",name:"support.function.std.textio.vhdl"},{match:"\\b(?i:rising_edge|falling_edge|to_bit|to_bitvector|to_stdulogic|to_stdlogicvector|to_stdulogicvector|is_x)\\b",name:"support.function.ieee.std_logic_1164.vhdl"},{match:"\\b(?i:shift_left|shift_right|rotate_left|rotate_right|resize|to_integer|to_unsigned|to_signed)\\b",name:"support.function.ieee.numeric_std.vhdl"},{match:"\\b(?i:arccos(h?)|arcsin(h?)|arctan|arctanh|cbrt|ceil|cos|cosh|exp|floor|log10|log2|log|realmax|realmin|round|sign|sin|sinh|sqrt|tan|tanh|trunc)\\b",name:"support.function.ieee.math_real.vhdl"},{match:"\\b(?i:arg|cmplx|complex_to_polar|conj|get_principal_value|polar_to_complex)\\b",name:"support.function.ieee.math_complex.vhdl"}]},support_types:{patterns:[{match:"\\b(?i:boolean|bit|character|severity_level|integer|real|time|delay_length|now|natural|positive|string|bit_vector|file_open_kind|file_open_status|fs|ps|ns|us|ms|sec|min|hr|severity_level|note|warning|error|failure)\\b",name:"support.type.std.standard.vhdl"},{match:"\\b(?i:line|text|side|width|input|output)\\b",name:"support.type.std.textio.vhdl"},{match:"\\b(?i:std_logic|std_ulogic|std_logic_vector|std_ulogic_vector)\\b",name:"support.type.ieee.std_logic_1164.vhdl"},{match:"\\b(?i:signed|unsigned)\\b",name:"support.type.ieee.numeric_std.vhdl"},{match:"\\b(?i:complex|complex_polar)\\b",name:"support.type.ieee.math_complex.vhdl"}]},syntax_highlighting:{patterns:[{include:"#keywords"},{include:"#punctuation"},{include:"#support_constants"},{include:"#support_types"},{include:"#support_functions"}]},type_pattern:{patterns:[{begin:`(?x)
|
|
473
|
+
|
|
474
|
+
\\b((?i:type))\\s+
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
(([a-zA-Z][a-zA-Z0-9_]*)|(.+?))
|
|
478
|
+
|
|
479
|
+
(
|
|
480
|
+
|
|
481
|
+
(?=\\s*;)
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
|(\\s+((?i:is)))
|
|
485
|
+
)\\b
|
|
486
|
+
`,beginCaptures:{1:{name:"keyword.language.vhdl"},3:{name:"entity.name.type.type.vhdl"},4:{name:"invalid.illegal.invalid.identifier.vhdl"},7:{name:"keyword.language.vhdl"}},end:";",endCaptures:{0:{name:"punctuation.vhdl"}},patterns:[{include:"#record_pattern"},{include:"#cleanup"}]}]},while_pattern:{patterns:[{begin:`(?x)
|
|
487
|
+
|
|
488
|
+
^\\s*
|
|
489
|
+
(
|
|
490
|
+
|
|
491
|
+
([a-zA-Z][a-zA-Z0-9_]*)
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
\\s*(:)\\s*
|
|
495
|
+
)?
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
\\b((?i:while))\\b
|
|
499
|
+
`,beginCaptures:{2:{name:""},3:{name:"punctuation.vhdl"},4:{name:"keyword.language.vhdl"}},end:`(?x)
|
|
500
|
+
|
|
501
|
+
\\b((?i:end))\\s+
|
|
502
|
+
(
|
|
503
|
+
|
|
504
|
+
((?i:loop))
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
|(\\S+)
|
|
508
|
+
)\\b
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
(\\s+((\\2)|(.+?)))?
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
(?=\\s*;)
|
|
515
|
+
`,endCaptures:{1:{name:"keyword.language.vhdl"},3:{name:"keyword.language.vhdl"},4:{name:"invalid.illegal.loop.keyword.required.vhdl"},7:{name:"entity.name.tag.while.loop.vhdl"},8:{name:"invalid.illegal.mismatched.identifier"}},patterns:[{include:"#control_patterns"},{include:"#cleanup"}]}]}},scopeName:"source.vhdl"});var e=[n];export{e as default};
|