@altimateai/ui-components 0.0.77-beta.4 → 0.0.77-beta.6
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/dist/CoachForm.css +1 -1
- package/dist/CoachForm.js +62488 -24049
- package/dist/DbtDocsRenderer.js +1 -1
- package/dist/Stack.js +2826 -2276
- package/dist/Switch.js +128 -87
- package/dist/ToggleGroup.js +5956 -4781
- package/dist/_basePickBy.js +60 -60
- package/dist/_baseUniq.js +152 -152
- package/dist/abap.js +6 -0
- package/dist/actionscript-3.js +6 -0
- package/dist/ada.js +6 -0
- package/dist/andromeeda.js +4 -0
- package/dist/angular-html.js +32 -0
- package/dist/angular-ts.js +21 -0
- package/dist/apache.js +6 -0
- package/dist/apex.js +6 -0
- package/dist/apl.js +16 -0
- package/dist/applescript.js +6 -0
- package/dist/ara.js +6 -0
- package/dist/arc.js +53 -53
- package/dist/architectureDiagram-VXUJARFQ.js +480 -4315
- package/dist/architectureDiagram-VXUJARFQ2.js +831 -0
- package/dist/asciidoc.js +6 -0
- package/dist/asm.js +6 -0
- package/dist/assets/icons/index.js +1 -1
- package/dist/astro.js +18 -0
- package/dist/aurora-x.js +4 -0
- package/dist/awk.js +6 -0
- package/dist/ayu-dark.js +4 -0
- package/dist/ballerina.js +6 -0
- package/dist/band.js +46 -0
- package/dist/bat.js +6 -0
- package/dist/beancount.js +6 -0
- package/dist/berry.js +6 -0
- package/dist/bibtex.js +6 -0
- package/dist/bicep.js +6 -0
- package/dist/blade.js +20 -0
- package/dist/blockDiagram-VD42YOAC.js +1 -1
- package/dist/blockDiagram-VD42YOAC2.js +2266 -0
- package/dist/bsl.js +8 -0
- package/dist/c.js +6 -0
- package/dist/c3.js +6 -0
- package/dist/c4Diagram-YG6GDRKO.js +22 -22
- package/dist/c4Diagram-YG6GDRKO2.js +1582 -0
- package/dist/cadence.js +6 -0
- package/dist/cairo.js +8 -0
- package/dist/catppuccin-frappe.js +4 -0
- package/dist/catppuccin-latte.js +4 -0
- package/dist/catppuccin-macchiato.js +4 -0
- package/dist/catppuccin-mocha.js +4 -0
- package/dist/channel.js +2 -2
- package/dist/chatbotV2/index.d.ts +57 -19
- package/dist/chatbotV2/index.js +120 -56
- package/dist/chunk-4BX2VUAB.js +1 -1
- package/dist/chunk-4BX2VUAB2.js +9 -0
- package/dist/chunk-55IACEB6.js +2 -2
- package/dist/chunk-55IACEB62.js +9 -0
- package/dist/chunk-B4BG7PRW.js +1 -1
- package/dist/chunk-B4BG7PRW2.js +1377 -0
- package/dist/chunk-DI55MBZ5.js +14 -14
- package/dist/chunk-DI55MBZ52.js +1382 -0
- package/dist/chunk-FMBD7UC4.js +1 -1
- package/dist/chunk-FMBD7UC42.js +19 -0
- package/dist/chunk-QN33PNHL.js +5 -5
- package/dist/chunk-QN33PNHL2.js +20 -0
- package/dist/chunk-QZHKN3VN.js +1 -1
- package/dist/chunk-QZHKN3VN2.js +15 -0
- package/dist/chunk-TZMSLE5B.js +1 -1
- package/dist/chunk-TZMSLE5B2.js +64 -0
- package/dist/clarity.js +6 -0
- package/dist/classDiagram-2ON5EDUG.js +1 -1
- package/dist/classDiagram-2ON5EDUG2.js +17 -0
- package/dist/classDiagram-v2-WZHVMYZB.js +1 -1
- package/dist/classDiagram-v2-WZHVMYZB2.js +17 -0
- package/dist/clojure.js +6 -0
- package/dist/cmake.js +6 -0
- package/dist/cobol.js +10 -0
- package/dist/code-block-37QAKDTI.js +27 -0
- package/dist/codeowners.js +6 -0
- package/dist/codeql.js +6 -0
- package/dist/coffee.js +8 -0
- package/dist/common-lisp.js +6 -0
- package/dist/coq.js +6 -0
- package/dist/cose-bilkent-S5V4N54A.js +160 -2535
- package/dist/cose-bilkent-S5V4N54A2.js +231 -0
- package/dist/cpp.js +18 -0
- package/dist/crystal.js +18 -0
- package/dist/csharp.js +6 -0
- package/dist/css.js +6 -0
- package/dist/csv.js +6 -0
- package/dist/cue.js +6 -0
- package/dist/cypher.js +6 -0
- package/dist/cytoscape-cose-bilkent.js +2380 -0
- package/dist/cytoscape-fcose.js +3840 -0
- package/dist/d.js +6 -0
- package/dist/dagre-6UL2VRFP.js +44 -44
- package/dist/dagre-6UL2VRFP2.js +447 -0
- package/dist/dark-plus.js +4 -0
- package/dist/dart.js +6 -0
- package/dist/dax.js +6 -0
- package/dist/dayjs.min.js +2 -2
- package/dist/defaultLocale.js +3 -3
- package/dist/desktop.js +6 -0
- package/dist/diagram-PSM6KHXK.js +198 -414
- package/dist/diagram-PSM6KHXK2.js +319 -0
- package/dist/diagram-QEK2KX5R.js +26 -26
- package/dist/diagram-QEK2KX5R2.js +221 -0
- package/dist/diagram-S2PKOQOG.js +12 -12
- package/dist/diagram-S2PKOQOG2.js +143 -0
- package/dist/diff.js +6 -0
- package/dist/docker.js +6 -0
- package/dist/dotenv.js +6 -0
- package/dist/dracula-soft.js +4 -0
- package/dist/dracula.js +4 -0
- package/dist/dream-maker.js +6 -0
- package/dist/edge.js +12 -0
- package/dist/elixir.js +8 -0
- package/dist/elm.js +8 -0
- package/dist/emacs-lisp.js +6 -0
- package/dist/erDiagram-Q2GNP2WA.js +1 -1
- package/dist/erDiagram-Q2GNP2WA2.js +843 -0
- package/dist/erb.js +10 -0
- package/dist/erlang.js +8 -0
- package/dist/everforest-dark.js +4 -0
- package/dist/everforest-light.js +4 -0
- package/dist/fennel.js +6 -0
- package/dist/fish.js +6 -0
- package/dist/flowDiagram-NV44I4VS.js +6 -6
- package/dist/flowDiagram-NV44I4VS2.js +1628 -0
- package/dist/fluent.js +6 -0
- package/dist/fortran-fixed-form.js +8 -0
- package/dist/fortran-free-form.js +6 -0
- package/dist/fsharp.js +8 -0
- package/dist/ganttDiagram-JELNMOA3.js +1788 -0
- package/dist/ganttDiagram-LVOFAZNH.js +843 -1718
- package/dist/gdresource.js +10 -0
- package/dist/gdscript.js +6 -0
- package/dist/gdshader.js +6 -0
- package/dist/genie.js +6 -0
- package/dist/gherkin.js +6 -0
- package/dist/git-commit.js +8 -0
- package/dist/git-rebase.js +8 -0
- package/dist/gitGraphDiagram-NY62KEGX.js +13 -13
- package/dist/gitGraphDiagram-NY62KEGX2.js +713 -0
- package/dist/github-dark-default.js +4 -0
- package/dist/github-dark-dimmed.js +4 -0
- package/dist/github-dark-high-contrast.js +4 -0
- package/dist/github-dark.js +4 -0
- package/dist/github-light-default.js +4 -0
- package/dist/github-light-high-contrast.js +4 -0
- package/dist/github-light.js +4 -0
- package/dist/gleam.js +6 -0
- package/dist/glimmer-js.js +14 -0
- package/dist/glimmer-ts.js +14 -0
- package/dist/glsl.js +8 -0
- package/dist/gn.js +6 -0
- package/dist/gnuplot.js +6 -0
- package/dist/go.js +6 -0
- package/dist/graph.js +17 -18
- package/dist/graph2.js +246 -0
- package/dist/graphql.js +14 -0
- package/dist/groovy.js +6 -0
- package/dist/gruvbox-dark-hard.js +4 -0
- package/dist/gruvbox-dark-medium.js +4 -0
- package/dist/gruvbox-dark-soft.js +4 -0
- package/dist/gruvbox-light-hard.js +4 -0
- package/dist/gruvbox-light-medium.js +4 -0
- package/dist/gruvbox-light-soft.js +4 -0
- package/dist/hack.js +10 -0
- package/dist/haml.js +10 -0
- package/dist/handlebars.js +14 -0
- package/dist/haskell.js +6 -0
- package/dist/haxe.js +6 -0
- package/dist/hcl.js +6 -0
- package/dist/hjson.js +6 -0
- package/dist/hlsl.js +6 -0
- package/dist/houston.js +4 -0
- package/dist/html-derivative.js +8 -0
- package/dist/html.js +10 -0
- package/dist/http.js +14 -0
- package/dist/hurl.js +12 -0
- package/dist/hxml.js +8 -0
- package/dist/hy.js +6 -0
- package/dist/imba.js +6 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +37 -37
- package/dist/index2.js +216 -684
- package/dist/index3.js +689 -0
- package/dist/infoDiagram-F6ZHWCRC.js +14 -14
- package/dist/infoDiagram-WHAUD3N6.js +24 -0
- package/dist/ini.js +6 -0
- package/dist/java.js +6 -0
- package/dist/javascript.js +6 -0
- package/dist/jinja.js +11 -0
- package/dist/jison.js +8 -0
- package/dist/journeyDiagram-XKPGCS4Q.js +1 -1
- package/dist/journeyDiagram-XKPGCS4Q2.js +837 -0
- package/dist/json.js +6 -0
- package/dist/json5.js +6 -0
- package/dist/jsonc.js +6 -0
- package/dist/jsonl.js +6 -0
- package/dist/jsonnet.js +6 -0
- package/dist/jssm.js +6 -0
- package/dist/jsx.js +6 -0
- package/dist/julia.js +16 -0
- package/dist/kanagawa-dragon.js +4 -0
- package/dist/kanagawa-lotus.js +4 -0
- package/dist/kanagawa-wave.js +4 -0
- package/dist/kanban-definition-3W4ZIXB7.js +42 -42
- package/dist/kanban-definition-3W4ZIXB72.js +720 -0
- package/dist/katex2.js +11691 -0
- package/dist/kdl.js +6 -0
- package/dist/kotlin.js +6 -0
- package/dist/kusto.js +6 -0
- package/dist/laserwave.js +4 -0
- package/dist/latex.js +8 -0
- package/dist/layout.js +567 -678
- package/dist/layout2.js +1224 -0
- package/dist/lean.js +6 -0
- package/dist/less.js +6 -0
- package/dist/light-plus.js +4 -0
- package/dist/lineage/index.js +1234 -1241
- package/dist/linear.js +1 -1
- package/dist/liquid.js +14 -0
- package/dist/llvm.js +6 -0
- package/dist/log.js +6 -0
- package/dist/logo.js +6 -0
- package/dist/lua.js +8 -0
- package/dist/luau.js +6 -0
- package/dist/main.css +1 -1
- package/dist/main.js +82 -82
- package/dist/make.js +6 -0
- package/dist/markdown.js +6 -0
- package/dist/marko.js +14 -0
- package/dist/material-theme-darker.js +4 -0
- package/dist/material-theme-lighter.js +4 -0
- package/dist/material-theme-ocean.js +4 -0
- package/dist/material-theme-palenight.js +4 -0
- package/dist/material-theme.js +4 -0
- package/dist/matlab.js +6 -0
- package/dist/mdc.js +12 -0
- package/dist/mdx.js +6 -0
- package/dist/mermaid-4DMBBIKO.js +4 -0
- package/dist/mermaid-parser.core.js +155 -155
- package/dist/mermaid.js +6 -0
- package/dist/min-dark.js +4 -0
- package/dist/min-light.js +4 -0
- package/dist/mindmap-definition-VGOIOE7T.js +28 -28
- package/dist/mindmap-definition-VGOIOE7T2.js +786 -0
- package/dist/mipsasm.js +6 -0
- package/dist/mojo.js +6 -0
- package/dist/monokai.js +4 -0
- package/dist/moonbit.js +6 -0
- package/dist/move.js +6 -0
- package/dist/narrat.js +6 -0
- package/dist/nextflow.js +6 -0
- package/dist/nginx.js +8 -0
- package/dist/night-owl.js +4 -0
- package/dist/nim.js +20 -0
- package/dist/nix.js +9 -0
- package/dist/nord.js +4 -0
- package/dist/nushell.js +6 -0
- package/dist/objective-c.js +6 -0
- package/dist/objective-cpp.js +6 -0
- package/dist/ocaml.js +6 -0
- package/dist/one-dark-pro.js +4 -0
- package/dist/one-light.js +4 -0
- package/dist/openscad.js +6 -0
- package/dist/pascal.js +6 -0
- package/dist/perl.js +16 -0
- package/dist/php.js +18 -0
- package/dist/pie.js +45 -0
- package/dist/pieDiagram-ADFJNKIX.js +68 -108
- package/dist/pieDiagram-ADFJNKIX2.js +123 -0
- package/dist/pkl.js +6 -0
- package/dist/plastic.js +4 -0
- package/dist/plsql.js +6 -0
- package/dist/po.js +6 -0
- package/dist/poimandres.js +4 -0
- package/dist/polar.js +6 -0
- package/dist/postcss.js +6 -0
- package/dist/powerquery.js +6 -0
- package/dist/powershell.js +6 -0
- package/dist/prisma.js +6 -0
- package/dist/prolog.js +6 -0
- package/dist/proto.js +6 -0
- package/dist/pug.js +12 -0
- package/dist/puppet.js +6 -0
- package/dist/purescript.js +6 -0
- package/dist/python.js +6 -0
- package/dist/qml.js +8 -0
- package/dist/qmldir.js +6 -0
- package/dist/qss.js +6 -0
- package/dist/quadrantDiagram-AYHSOK5B.js +1 -1
- package/dist/quadrantDiagram-AYHSOK5B2.js +1025 -0
- package/dist/r.js +6 -0
- package/dist/racket.js +6 -0
- package/dist/raku.js +6 -0
- package/dist/razor.js +10 -0
- package/dist/red.js +4 -0
- package/dist/redux-toolkit.modern.js +563 -555
- package/dist/reg.js +6 -0
- package/dist/regexp.js +6 -0
- package/dist/rel.js +6 -0
- package/dist/requirementDiagram-UZGBJVZJ.js +14 -14
- package/dist/requirementDiagram-UZGBJVZJ2.js +852 -0
- package/dist/riscv.js +6 -0
- package/dist/rose-pine-dawn.js +4 -0
- package/dist/rose-pine-moon.js +4 -0
- package/dist/rose-pine.js +4 -0
- package/dist/rosmsg.js +6 -0
- package/dist/rst.js +22 -0
- package/dist/ruby.js +30 -0
- package/dist/rust.js +6 -0
- package/dist/sankeyDiagram-TZEHDZUN.js +229 -622
- package/dist/sankeyDiagram-TZEHDZUN2.js +418 -0
- package/dist/sankeyLinkHorizontal.js +403 -0
- package/dist/sas.js +8 -0
- package/dist/sass.js +6 -0
- package/dist/scala.js +6 -0
- package/dist/scheme.js +6 -0
- package/dist/scss.js +8 -0
- package/dist/sdbl.js +6 -0
- package/dist/sequenceDiagram-WL72ISMW.js +1 -1
- package/dist/sequenceDiagram-WL72ISMW2.js +2523 -0
- package/dist/shadcn/index.d.ts +24 -40
- package/dist/shadcn/index.js +7330 -5516
- package/dist/shaderlab.js +8 -0
- package/dist/shellscript.js +6 -0
- package/dist/shellsession.js +8 -0
- package/dist/slack-dark.js +4 -0
- package/dist/slack-ochin.js +4 -0
- package/dist/smalltalk.js +6 -0
- package/dist/snazzy-light.js +4 -0
- package/dist/solarized-dark.js +4 -0
- package/dist/solarized-light.js +4 -0
- package/dist/solidity.js +6 -0
- package/dist/soy.js +8 -0
- package/dist/sparql.js +8 -0
- package/dist/splunk.js +6 -0
- package/dist/sql.js +6 -0
- package/dist/ssh-config.js +6 -0
- package/dist/stata.js +8 -0
- package/dist/stateDiagram-FKZM4ZOC.js +33 -33
- package/dist/stateDiagram-FKZM4ZOC2.js +264 -0
- package/dist/stateDiagram-v2-4FDKWEC3.js +6 -6
- package/dist/stateDiagram-v2-4FDKWEC32.js +17 -0
- package/dist/storybook/Typography.stories.tsx +93 -120
- package/dist/stylus.js +6 -0
- package/dist/svelte.js +14 -0
- package/dist/swift.js +6 -0
- package/dist/synthwave-84.js +4 -0
- package/dist/system-verilog.js +6 -0
- package/dist/systemd.js +6 -0
- package/dist/talonscript.js +6 -0
- package/dist/tasl.js +6 -0
- package/dist/tcl.js +6 -0
- package/dist/templ.js +12 -0
- package/dist/terraform.js +6 -0
- package/dist/tex.js +8 -0
- package/dist/time.js +900 -0
- package/dist/timeline-definition-IT6M3QCI.js +63 -63
- package/dist/timeline-definition-IT6M3QCI2.js +802 -0
- package/dist/tokyo-night.js +4 -0
- package/dist/toml.js +6 -0
- package/dist/ts-tags.js +41 -0
- package/dist/tsv.js +6 -0
- package/dist/tsx.js +6 -0
- package/dist/turtle.js +6 -0
- package/dist/twig.js +18 -0
- package/dist/{types-ByRPUpXR.d.ts → types-BZH4Xw79.d.ts} +1 -1
- package/dist/typescript.js +6 -0
- package/dist/typespec.js +6 -0
- package/dist/typst.js +6 -0
- package/dist/union.js +8 -0
- package/dist/v.js +6 -0
- package/dist/vala.js +6 -0
- package/dist/vb.js +6 -0
- package/dist/verilog.js +6 -0
- package/dist/vesper.js +4 -0
- package/dist/vhdl.js +6 -0
- package/dist/viml.js +6 -0
- package/dist/vitesse-black.js +4 -0
- package/dist/vitesse-dark.js +4 -0
- package/dist/vitesse-light.js +4 -0
- package/dist/vue-html.js +8 -0
- package/dist/vue-vine.js +18 -0
- package/dist/vue.js +31 -0
- package/dist/vyper.js +6 -0
- package/dist/wasm.js +6 -0
- package/dist/wasm2.js +7 -0
- package/dist/wenyan.js +6 -0
- package/dist/wgsl.js +6 -0
- package/dist/wikitext.js +6 -0
- package/dist/wit.js +6 -0
- package/dist/wolfram.js +6 -0
- package/dist/xml.js +8 -0
- package/dist/xsl.js +8 -0
- package/dist/xychartDiagram-PRI3JC2R.js +449 -491
- package/dist/xychartDiagram-PRI3JC2R2.js +1299 -0
- package/dist/yaml.js +6 -0
- package/dist/zenscript.js +6 -0
- package/dist/zig.js +6 -0
- package/dist/zipObject.js +128 -0
- package/package.json +1 -1
package/dist/d.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const e = Object.freeze(JSON.parse('{"displayName":"D","fileTypes":["d","di","dpp"],"name":"d","patterns":[{"include":"#comment"},{"include":"#type"},{"include":"#statement"},{"include":"#expression"}],"repository":{"aggregate-declaration":{"patterns":[{"include":"#class-declaration"},{"include":"#interface-declaration"},{"include":"#struct-declaration"},{"include":"#union-declaration"},{"include":"#mixin-template-declaration"},{"include":"#template-declaration"}]},"alias-declaration":{"patterns":[{"begin":"\\\\b(alias)\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.other.alias.d"}},"end":";","endCaptures":{"0":{"name":"meta.alias.end.d"}},"patterns":[{"include":"#type"},{"match":"=(?![=>])","name":"keyword.operator.equal.alias.d"},{"include":"#expression"}]}]},"align-attribute":{"patterns":[{"begin":"\\\\balign\\\\s*\\\\(","end":"\\\\)","name":"storage.modifier.align-attribute.d","patterns":[{"include":"#integer-literal"}]},{"match":"\\\\balign\\\\b\\\\s*(?!\\\\()","name":"storage.modifier.align-attribute.d"}]},"alternate-wysiwyg-string":{"patterns":[{"begin":"`","end":"`[cdw]?","name":"string.alternate-wysiwyg-string.d","patterns":[{"include":"#wysiwyg-characters"}]}]},"arbitrary-delimited-string":{"begin":"q\\"(\\\\w+)","end":"\\\\1\\"","name":"string.delimited.d","patterns":[{"match":".","name":"string.delimited.d"}]},"arithmetic-expression":{"patterns":[{"match":"\\\\^\\\\^|\\\\+\\\\+|--|(?<!/)\\\\+(?!/)|[-~]|(?<!/)\\\\*(?!/)|(?<![*+/])/(?![*+/])|%","name":"keyword.operator.numeric.d"}]},"asm-instruction":{"patterns":[{"include":"#comment"},{"match":"\\\\b(align|even|naked|db|ds|di|dl|df|dd|de)\\\\b|:","name":"keyword.asm-instruction.d"},{"match":"\\\\b__LOCAL_SIZE\\\\b","name":"constant.language.assembly.d"},{"match":"\\\\b(offsetof|seg)\\\\b","name":"support.type.assembly.d"},{"include":"#asm-type-prefix"},{"include":"#asm-primary-expression"},{"include":"#operands"},{"include":"#register"},{"include":"#register-64"},{"include":"#float-literal"},{"include":"#integer-literal"},{"include":"#identifier"}]},"asm-statement":{"patterns":[{"begin":"\\\\b(asm)\\\\b\\\\s*(?=\\\\{)","captures":{"1":{"name":"keyword.control.switch.d"}},"end":"(?<=})","patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"keyword.control.asm.begin.d"}},"contentName":"gfm.markup.raw.assembly.d","end":"}","endCaptures":{"0":{"name":"keyword.control.asm.end.d"}},"patterns":[{"include":"#asm-instruction"}]}]}]},"asm-type-prefix":{"patterns":[{"match":"\\\\b((near\\\\s+ptr)|(far\\\\s+ptr)|(byte\\\\s+ptr)|(short\\\\s+ptr)|(int\\\\s+ptr)|(word\\\\s+ptr)|(dword\\\\s+ptr)|(qword\\\\s+ptr)|(float\\\\s+ptr)|(double\\\\s+ptr)|(real\\\\s+ptr))\\\\b","name":"support.type.asm-type-prefix.d"}]},"assert-expression":{"patterns":[{"begin":"\\\\bassert\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.assert.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.assert.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]}]},"assign-expression":{"patterns":[{"match":">>>=|\\\\^\\\\^=|>>=|<<=|~=|\\\\^=|\\\\|=|&=|%=|/=|\\\\*=|-=|\\\\+=|=(?!>)","name":"keyword.operator.assign.d"}]},"attribute":{"patterns":[{"include":"#linkage-attribute"},{"include":"#align-attribute"},{"include":"#deprecated-attribute"},{"include":"#protection-attribute"},{"include":"#pragma"},{"match":"\\\\b(static|extern|abstract|final|override|synchronized|auto|scope|const|immutable|inout|shared|__gshared|nothrow|pure|ref)\\\\b","name":"entity.other.attribute-name.d"},{"include":"#property"}]},"base-type":{"patterns":[{"match":"\\\\b(auto|bool|byte|ubyte|short|ushort|int|uint|long|ulong|char|wchar|dchar|float|double|real|ifloat|idouble|ireal|cfloat|cdouble|creal|void|noreturn)\\\\b","name":"storage.type.basic-type.d"},{"match":"\\\\b(string|wstring|dstring|size_t|ptrdiff_t)\\\\b(?!\\\\s*=)","name":"storage.type.basic-type.d"}]},"binary-integer":{"patterns":[{"match":"\\\\b(0[Bb])[01_]+(Lu|LU|uL|UL|[LUu])?\\\\b","name":"constant.numeric.integer.binary.d"}]},"bitwise-expression":{"patterns":[{"match":"[\\\\&^|]","name":"keyword.operator.bitwise.d"}]},"block-comment":{"patterns":[{"begin":"/((?!\\\\*/)\\\\*)+","beginCaptures":{"0":{"name":"comment.block.begin.d"}},"end":"\\\\*+/","endCaptures":{"0":{"name":"comment.block.end.d"}},"name":"comment.block.content.d"}]},"break-statement":{"patterns":[{"match":"\\\\bbreak\\\\b","name":"keyword.control.break.d"}]},"case-statement":{"patterns":[{"begin":"\\\\b(case)\\\\b\\\\s*","beginCaptures":{"1":{"name":"keyword.control.case.range.d"}},"end":":","endCaptures":{"0":{"name":"meta.case.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]}]},"cast-expression":{"patterns":[{"begin":"\\\\b(cast)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.operator.cast.d"},"2":{"name":"keyword.operator.cast.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.operator.cast.end.d"}},"patterns":[{"include":"#type"},{"include":"#extended-type"}]}]},"catch":{"patterns":[{"begin":"\\\\b(catch)\\\\b\\\\s*(?=\\\\()","captures":{"1":{"name":"keyword.control.catch.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]}]},"catches":{"patterns":[{"include":"#catch"}]},"character":{"patterns":[{"match":"[\\\\w\\\\s]+","name":"string.character.d"}]},"character-literal":{"patterns":[{"begin":"\'","end":"\'","name":"string.character-literal.d","patterns":[{"include":"#character"},{"include":"#escape-sequence"}]}]},"class-declaration":{"patterns":[{"captures":{"1":{"name":"storage.type.class.d"},"2":{"name":"entity.name.class.d"}},"match":"\\\\b(class)(?:\\\\s+([A-Z_a-z][_\\\\w\\\\d]*))?\\\\b"},{"include":"#protection-attribute"},{"include":"#class-members"}]},"class-members":{"patterns":[{"include":"#shared-static-constructor"},{"include":"#shared-static-destructor"},{"include":"#constructor"},{"include":"#destructor"},{"include":"#postblit"},{"include":"#invariant"},{"include":"#member-function-attribute"}]},"colon":{"patterns":[{"match":":","name":"support.type.colon.d"}]},"comma":{"patterns":[{"match":",","name":"keyword.operator.comma.d"}]},"comment":{"patterns":[{"include":"#block-comment"},{"include":"#line-comment"},{"include":"#nesting-block-comment"}]},"condition":{"patterns":[{"include":"#version-condition"},{"include":"#debug-condition"},{"include":"#static-if-condition"}]},"conditional-declaration":{"patterns":[{"include":"#condition"},{"match":"\\\\belse\\\\b","name":"keyword.control.else.d"},{"include":"#colon"},{"include":"#decl-defs"}]},"conditional-expression":{"patterns":[{"match":"\\\\s([:?])\\\\s","name":"keyword.operator.ternary.d"}]},"conditional-statement":{"patterns":[{"include":"#condition"},{"include":"#no-scope-non-empty-statement"},{"match":"\\\\belse\\\\b","name":"keyword.control.else.d"}]},"constructor":{"patterns":[{"match":"\\\\bthis\\\\b","name":"entity.name.function.constructor.d"}]},"continue-statement":{"patterns":[{"match":"\\\\bcontinue\\\\b","name":"keyword.control.continue.d"}]},"debug-condition":{"patterns":[{"begin":"\\\\bdebug\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.debug.identifier.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.debug.identifier.end.d"}},"patterns":[{"include":"#integer-literal"},{"include":"#identifier"}]},{"match":"\\\\bdebug\\\\b\\\\s*(?!\\\\()","name":"keyword.other.debug.plain.d"}]},"debug-specification":{"patterns":[{"match":"\\\\bdebug\\\\b\\\\s*(?==)","name":"keyword.other.debug-specification.d"}]},"decimal-float":{"patterns":[{"match":"\\\\b((\\\\.[0-9])|(0\\\\.)|(([1-9]|(0[1-9_]))[0-9_]*\\\\.))[0-9_]*((e-|E-|e\\\\+|E\\\\+|[Ee])[0-9][0-9_]*)?[FLf]?i?\\\\b","name":"constant.numeric.float.decimal.d"}]},"decimal-integer":{"patterns":[{"match":"\\\\b(0(?=[^BXbx\\\\d]))|([1-9][0-9_]*)(Lu|LU|uL|UL|[LUu])?\\\\b","name":"constant.numeric.integer.decimal.d"}]},"declaration":{"patterns":[{"include":"#alias-declaration"},{"include":"#aggregate-declaration"},{"include":"#enum-declaration"},{"include":"#import-declaration"},{"include":"#storage-class"},{"include":"#void-initializer"},{"include":"#mixin-declaration"}]},"declaration-statement":{"patterns":[{"include":"#declaration"}]},"default-statement":{"patterns":[{"captures":{"1":{"name":"keyword.control.case.default.d"},"2":{"name":"meta.default.colon.d"}},"match":"\\\\b(default)\\\\s*(:)"}]},"delete-expression":{"patterns":[{"match":"\\\\bdelete\\\\s+","name":"keyword.other.delete.d"}]},"delimited-string":{"begin":"q\\"","end":"\\"","name":"string.delimited.d","patterns":[{"include":"#delimited-string-bracket"},{"include":"#delimited-string-parens"},{"include":"#delimited-string-angle-brackets"},{"include":"#delimited-string-braces"}]},"delimited-string-angle-brackets":{"patterns":[{"begin":"<","end":">","name":"constant.character.angle-brackets.d","patterns":[{"include":"#wysiwyg-characters"}]}]},"delimited-string-braces":{"patterns":[{"begin":"\\\\{","end":"}","name":"constant.character.delimited.braces.d","patterns":[{"include":"#wysiwyg-characters"}]}]},"delimited-string-bracket":{"patterns":[{"begin":"\\\\[","end":"]","name":"constant.characters.delimited.brackets.d","patterns":[{"include":"#wysiwyg-characters"}]}]},"delimited-string-parens":{"patterns":[{"begin":"\\\\(","end":"\\\\)","name":"constant.character.delimited.parens.d","patterns":[{"include":"#wysiwyg-characters"}]}]},"deprecated-statement":{"patterns":[{"begin":"\\\\bdeprecated\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.deprecated.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.deprecated.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]},{"match":"\\\\bdeprecated\\\\b\\\\s*(?!\\\\()","name":"keyword.other.deprecated.plain.d"}]},"destructor":{"patterns":[{"match":"\\\\b~this\\\\s*\\\\(\\\\s*\\\\)","name":"entity.name.class.destructor.d"}]},"do-statement":{"patterns":[{"match":"\\\\bdo\\\\b","name":"keyword.control.do.d"}]},"double-quoted-characters":{"patterns":[{"include":"#character"},{"include":"#end-of-line"},{"include":"#escape-sequence"}]},"double-quoted-string":{"patterns":[{"begin":"\\"","end":"\\"[cdw]?","name":"string.double-quoted-string.d","patterns":[{"include":"#double-quoted-characters"}]}]},"end-of-line":{"patterns":[{"match":"\\\\n+","name":"string.character.end-of-line.d"}]},"enum-declaration":{"patterns":[{"begin":"\\\\b(enum)\\\\b\\\\s+(?=.*[;=])","beginCaptures":{"1":{"name":"storage.type.enum.d"}},"end":"([A-Z_a-z][_\\\\w\\\\d]*)\\\\s*(?=[(;=])(;)?","endCaptures":{"1":{"name":"entity.name.type.enum.d"},"2":{"name":"meta.enum.end.d"}},"patterns":[{"include":"#type"},{"include":"#extended-type"},{"match":"=(?![=>])","name":"keyword.operator.equal.alias.d"}]}]},"eof":{"patterns":[{"begin":"__EOF__","beginCaptures":{"0":{"name":"comment.block.documentation.eof.start.d"}},"end":"(?!__NEVER_MATCH__)__NEVER_MATCH__","name":"text.eof.d"}]},"equal":{"patterns":[{"match":"=(?![=>])","name":"keyword.operator.equal.d"}]},"escape-sequence":{"patterns":[{"match":"(\\\\\\\\(?:quot|amp|lt|gt|OElig|oelig|Scaron|scaron|Yuml|circ|tilde|ensp|emsp|thinsp|zwnj|zwj|lrm|rlm|ndash|mdash|lsquo|rsquo|sbquo|ldquo|rdquo|bdquo|dagger|Dagger|permil|lsaquo|rsaquo|euro|nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|Aelig|Ccedil|egrave|eacute|ecirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|fnof|Alpha|Beta|Gamma|Delta|Epsilon|Zeta|Eta|Theta|Iota|Kappa|Lambda|Mu|Nu|Xi|Omicron|Pi|Rho|Sigma|Tau|Upsilon|Phi|Chi|Psi|Omega|alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigmaf?|tau|upsilon|phi|chi|psi|omega|thetasym|upsih|piv|bull|hellip|prime|Prime|oline|frasl|weierp|image|real|trade|alefsym|larr|uarr|rarr|darr|harr|crarr|lArr|uArr|rArr|dArr|hArr|forall|part|exist|empty|nabla|isin|notin|ni|prod|sum|minux|lowast|radic|prop|infin|ang|and|or|cap|cup|int|there4|sim|cong|asymp|ne|equiv|le|ge|sub|sup|nsub|sube|supe|oplus|otimes|perp|sdot|lceil|rceil|lfloor|rfloor|loz|spades|clubs|hearts|diams|lang|rang))","name":"constant.character.escape-sequence.entity.d"},{"match":"(\\\\\\\\(?:x[_\\\\h]{2}|u[_\\\\h]{4}|U[_\\\\h]{8}|[0-7]{1,3}))","name":"constant.character.escape-sequence.number.d"},{"match":"(\\\\\\\\[\\"\'0?\\\\\\\\abfnrtv])","name":"constant.character.escape-sequence.d"}]},"expression":{"patterns":[{"include":"#index-expression"},{"include":"#expression-no-index"}]},"expression-no-index":{"patterns":[{"include":"#function-literal"},{"include":"#assert-expression"},{"include":"#assign-expression"},{"include":"#mixin-expression"},{"include":"#import-expression"},{"include":"#traits-expression"},{"include":"#is-expression"},{"include":"#typeid-expression"},{"include":"#shift-expression"},{"include":"#logical-expression"},{"include":"#rel-expression"},{"include":"#bitwise-expression"},{"include":"#identity-expression"},{"include":"#in-expression"},{"include":"#conditional-expression"},{"include":"#arithmetic-expression"},{"include":"#new-expression"},{"include":"#delete-expression"},{"include":"#cast-expression"},{"include":"#type-specialization"},{"include":"#comma"},{"include":"#special-keyword"},{"include":"#functions"},{"include":"#type"},{"include":"#parentheses-expression"},{"include":"#lexical"}]},"extended-type":{"patterns":[{"match":"\\\\b((\\\\.\\\\s*)?[_\\\\w][_\\\\d\\\\w]*)(\\\\s*\\\\.\\\\s*[_\\\\w][_\\\\d\\\\w]*)*\\\\b","name":"entity.name.type.d"},{"begin":"\\\\[","beginCaptures":{"0":{"name":"storage.type.array.expression.begin.d"}},"end":"]","endCaptures":{"0":{"name":"storage.type.array.expression.end.d"}},"patterns":[{"match":"\\\\.\\\\.|\\\\$","name":"keyword.operator.slice.d"},{"include":"#type"},{"include":"#expression"}]}]},"final-switch-statement":{"patterns":[{"begin":"\\\\b(final\\\\s+switch)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.final.switch.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]}]},"finally-statement":{"patterns":[{"match":"\\\\bfinally\\\\b","name":"keyword.control.throw.d"}]},"float-literal":{"patterns":[{"include":"#decimal-float"},{"include":"#hexadecimal-float"}]},"for-statement":{"patterns":[{"begin":"\\\\b(for)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.for.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]}]},"foreach-reverse-statement":{"patterns":[{"begin":"\\\\b(foreach_reverse)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.foreach_reverse.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"match":";","name":"keyword.operator.semi-colon.d"},{"include":"source.d"}]}]}]},"foreach-statement":{"patterns":[{"begin":"\\\\b(foreach)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.foreach.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"match":";","name":"keyword.operator.semi-colon.d"},{"include":"source.d"}]}]}]},"function-attribute":{"patterns":[{"match":"\\\\b(nothrow|pure)\\\\b","name":"storage.type.modifier.function-attribute.d"},{"include":"#property"}]},"function-body":{"patterns":[{"include":"#in-statement"},{"include":"#out-statement"},{"include":"#block-statement"}]},"function-literal":{"patterns":[{"match":"=>","name":"keyword.operator.lambda.d"},{"match":"\\\\b(function|delegate)\\\\b","name":"keyword.other.function-literal.d"},{"begin":"\\\\b([_\\\\w][_\\\\d\\\\w]*)\\\\s*(=>)","beginCaptures":{"1":{"name":"variable.parameter.d"},"2":{"name":"meta.lexical.token.symbolic.d"}},"end":"(?=[]),;}])","patterns":[{"include":"source.d"}]},{"begin":"(?<=[()])(\\\\s*)(\\\\{)","beginCaptures":{"1":{"name":"source.d"},"2":{"name":"source.d"}},"end":"}","patterns":[{"include":"source.d"}]}]},"function-prelude":{"patterns":[{"match":"(?!type(?:of|id))((\\\\.\\\\s*)?[_\\\\w][_\\\\d\\\\w]*)(\\\\s*\\\\.\\\\s*[_\\\\w][_\\\\d\\\\w]*)*\\\\s*(?=\\\\()","name":"entity.name.function.d"}]},"functions":{"patterns":[{"include":"#function-attribute"},{"include":"#function-prelude"}]},"goto-statement":{"patterns":[{"match":"\\\\bgoto\\\\s+default\\\\b","name":"keyword.control.goto.d"},{"match":"\\\\bgoto\\\\s+case\\\\b","name":"keyword.control.goto.d"},{"match":"\\\\bgoto\\\\b","name":"keyword.control.goto.d"}]},"hex-string":{"patterns":[{"begin":"x\\"","end":"\\"[cdw]?","name":"string.hex-string.d","patterns":[{"match":"[_s\\\\h]+","name":"constant.character.hex-string.d"}]}]},"hexadecimal-float":{"patterns":[{"match":"\\\\b0[Xx][_\\\\h]*(\\\\.[_\\\\h]*)?(p-|P-|p\\\\+|P\\\\+|[Pp])[0-9][0-9_]*[FLf]?i?\\\\b","name":"constant.numeric.float.hexadecimal.d"}]},"hexadecimal-integer":{"patterns":[{"match":"\\\\b(0[Xx])(\\\\h[_\\\\h]*)(Lu|LU|uL|UL|[LUu])?\\\\b","name":"constant.numeric.integer.hexadecimal.d"}]},"identifier":{"patterns":[{"match":"\\\\b((\\\\.\\\\s*)?[_\\\\w][_\\\\d\\\\w]*)(\\\\s*\\\\.\\\\s*[_\\\\w][_\\\\d\\\\w]*)*\\\\b","name":"variable.d"}]},"identifier-list":{"patterns":[{"match":",","name":"keyword.other.comma.d"},{"include":"#identifier"}]},"identity-expression":{"patterns":[{"match":"\\\\b(!??is)\\\\b","name":"keyword.operator.identity.d"}]},"ies-string":{"patterns":[{"begin":"i\\"","end":"\\"[cdw]?","name":"string.ies-string.d","patterns":[{"include":"#interpolation-escape"},{"include":"#interpolation-sequence"},{"include":"#double-quoted-characters"}]}]},"ies-token-string":{"begin":"iq\\\\{","beginCaptures":{"0":{"name":"string.quoted.token.d"}},"end":"}[cdw]?","endCaptures":{"0":{"name":"string.quoted.token.d"}},"patterns":[{"include":"#interpolation-sequence"},{"include":"#token-string-content"}]},"ies-wysiwyg-string":{"patterns":[{"begin":"i`","end":"`[cdw]?","name":"string.ies-wysiwyg-string.d","patterns":[{"include":"#interpolation-escape"},{"include":"#interpolation-sequence"},{"include":"#wysiwyg-characters"}]}]},"if-statement":{"patterns":[{"begin":"\\\\b(if)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.if.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]},{"match":"\\\\belse\\\\b\\\\s*","name":"keyword.control.else.d"}]},"import-declaration":{"patterns":[{"begin":"\\\\b(static\\\\s+)?(import)\\\\s+(?!\\\\()","beginCaptures":{"1":{"name":"keyword.package.import.d"},"2":{"name":"keyword.package.import.d"}},"end":";","endCaptures":{"0":{"name":"meta.import.end.d"}},"patterns":[{"include":"#import-identifier"},{"include":"#comma"},{"include":"#comment"}]}]},"import-expression":{"patterns":[{"begin":"\\\\b(import)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.other.import.d"},"2":{"name":"keyword.other.import.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.import.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]}]},"import-identifier":{"patterns":[{"match":"([A-Z_a-z][_\\\\d\\\\w]*)(\\\\s*\\\\.\\\\s*[A-Z_a-z][_\\\\d\\\\w]*)*","name":"variable.parameter.import.d"}]},"in-expression":{"patterns":[{"match":"\\\\b(!??in)\\\\b","name":"keyword.operator.in.d"}]},"in-statement":{"patterns":[{"match":"\\\\bin\\\\b","name":"keyword.control.in.d"}]},"index-expression":{"patterns":[{"begin":"\\\\[","end":"]","patterns":[{"match":"\\\\.\\\\.|\\\\$","name":"keyword.operator.slice.d"},{"include":"#expression-no-index"}]}]},"integer-literal":{"patterns":[{"include":"#decimal-integer"},{"include":"#binary-integer"},{"include":"#hexadecimal-integer"}]},"interface-declaration":{"patterns":[{"captures":{"1":{"name":"storage.type.interface.d"},"2":{"name":"entity.name.type.interface.d"}},"match":"\\\\b(interface)(?:\\\\s+([A-Z_a-z][_\\\\w\\\\d]*))?\\\\b"}]},"interpolation-escape":{"match":"\\\\\\\\\\\\$","name":"constant.character.escape-sequence.d"},"interpolation-sequence":{"begin":"\\\\$\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.template-expression.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.template-expression.end.d"}},"name":"meta.interpolation.expression.d","patterns":[{"include":"#expression"}]},"invariant":{"patterns":[{"match":"\\\\binvariant\\\\s*\\\\(\\\\s*\\\\)","name":"entity.name.class.invariant.d"}]},"is-expression":{"patterns":[{"begin":"\\\\bis\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.token.is.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.token.is.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]}]},"keyword":{"patterns":[{"match":"\\\\babstract\\\\b","name":"keyword.token.abstract.d"},{"match":"\\\\balias\\\\b","name":"keyword.token.alias.d"},{"match":"\\\\balign\\\\b","name":"keyword.token.align.d"},{"match":"\\\\basm\\\\b","name":"keyword.token.asm.d"},{"match":"\\\\bassert\\\\b","name":"keyword.token.assert.d"},{"match":"\\\\bauto\\\\b","name":"keyword.token.auto.d"},{"match":"\\\\bbool\\\\b","name":"keyword.token.bool.d"},{"match":"\\\\bbreak\\\\b","name":"keyword.token.break.d"},{"match":"\\\\bbyte\\\\b","name":"keyword.token.byte.d"},{"match":"\\\\bcase\\\\b","name":"keyword.token.case.d"},{"match":"\\\\bcast\\\\b","name":"keyword.token.cast.d"},{"match":"\\\\bcatch\\\\b","name":"keyword.token.catch.d"},{"match":"\\\\bcdouble\\\\b","name":"keyword.token.cdouble.d"},{"match":"\\\\bcent\\\\b","name":"keyword.token.cent.d"},{"match":"\\\\bcfloat\\\\b","name":"keyword.token.cfloat.d"},{"match":"\\\\bchar\\\\b","name":"keyword.token.char.d"},{"match":"\\\\bclass\\\\b","name":"keyword.token.class.d"},{"match":"\\\\bconst\\\\b","name":"keyword.token.const.d"},{"match":"\\\\bcontinue\\\\b","name":"keyword.token.continue.d"},{"match":"\\\\bcreal\\\\b","name":"keyword.token.creal.d"},{"match":"\\\\bdchar\\\\b","name":"keyword.token.dchar.d"},{"match":"\\\\bdebug\\\\b","name":"keyword.token.debug.d"},{"match":"\\\\bdefault\\\\b","name":"keyword.token.default.d"},{"match":"\\\\bdelegate\\\\b","name":"keyword.token.delegate.d"},{"match":"\\\\bdelete\\\\b","name":"keyword.token.delete.d"},{"match":"\\\\bdeprecated\\\\b","name":"keyword.token.deprecated.d"},{"match":"\\\\bdo\\\\b","name":"keyword.token.do.d"},{"match":"\\\\bdouble\\\\b","name":"keyword.token.double.d"},{"match":"\\\\belse\\\\b","name":"keyword.token.else.d"},{"match":"\\\\benum\\\\b","name":"keyword.token.enum.d"},{"match":"\\\\bexport\\\\b","name":"keyword.token.export.d"},{"match":"\\\\bextern\\\\b","name":"keyword.token.extern.d"},{"match":"\\\\bfalse\\\\b","name":"constant.language.boolean.false.d"},{"match":"\\\\bfinal\\\\b","name":"keyword.token.final.d"},{"match":"\\\\bfinally\\\\b","name":"keyword.token.finally.d"},{"match":"\\\\bfloat\\\\b","name":"keyword.token.float.d"},{"match":"\\\\bfor\\\\b","name":"keyword.token.for.d"},{"match":"\\\\bforeach\\\\b","name":"keyword.token.foreach.d"},{"match":"\\\\bforeach_reverse\\\\b","name":"keyword.token.foreach_reverse.d"},{"match":"\\\\bfunction\\\\b","name":"keyword.token.function.d"},{"match":"\\\\bgoto\\\\b","name":"keyword.token.goto.d"},{"match":"\\\\bidouble\\\\b","name":"keyword.token.idouble.d"},{"match":"\\\\bif\\\\b","name":"keyword.token.if.d"},{"match":"\\\\bifloat\\\\b","name":"keyword.token.ifloat.d"},{"match":"\\\\bimmutable\\\\b","name":"keyword.token.immutable.d"},{"match":"\\\\bimport\\\\b","name":"keyword.token.import.d"},{"match":"\\\\bin\\\\b","name":"keyword.token.in.d"},{"match":"\\\\binout\\\\b","name":"keyword.token.inout.d"},{"match":"\\\\bint\\\\b","name":"keyword.token.int.d"},{"match":"\\\\binterface\\\\b","name":"keyword.token.interface.d"},{"match":"\\\\binvariant\\\\b","name":"keyword.token.invariant.d"},{"match":"\\\\bireal\\\\b","name":"keyword.token.ireal.d"},{"match":"\\\\bis\\\\b","name":"keyword.token.is.d"},{"match":"\\\\blazy\\\\b","name":"keyword.token.lazy.d"},{"match":"\\\\blong\\\\b","name":"keyword.token.long.d"},{"match":"\\\\bmacro\\\\b","name":"keyword.token.macro.d"},{"match":"\\\\bmixin\\\\b","name":"keyword.token.mixin.d"},{"match":"\\\\bmodule\\\\b","name":"keyword.token.module.d"},{"match":"\\\\bnew\\\\b","name":"keyword.token.new.d"},{"match":"\\\\bnothrow\\\\b","name":"keyword.token.nothrow.d"},{"match":"\\\\bnull\\\\b","name":"constant.language.null.d"},{"match":"\\\\bout\\\\b","name":"keyword.token.out.d"},{"match":"\\\\boverride\\\\b","name":"keyword.token.override.d"},{"match":"\\\\bpackage\\\\b","name":"keyword.token.package.d"},{"match":"\\\\bpragma\\\\b","name":"keyword.token.pragma.d"},{"match":"\\\\bprivate\\\\b","name":"keyword.token.private.d"},{"match":"\\\\bprotected\\\\b","name":"keyword.token.protected.d"},{"match":"\\\\bpublic\\\\b","name":"keyword.token.public.d"},{"match":"\\\\bpure\\\\b","name":"keyword.token.pure.d"},{"match":"\\\\breal\\\\b","name":"keyword.token.real.d"},{"match":"\\\\bref\\\\b","name":"keyword.token.ref.d"},{"match":"\\\\breturn\\\\b","name":"keyword.token.return.d"},{"match":"\\\\bscope\\\\b","name":"keyword.token.scope.d"},{"match":"\\\\bshared\\\\b","name":"keyword.token.shared.d"},{"match":"\\\\bshort\\\\b","name":"keyword.token.short.d"},{"match":"\\\\bstatic\\\\b","name":"keyword.token.static.d"},{"match":"\\\\bstruct\\\\b","name":"keyword.token.struct.d"},{"match":"\\\\bsuper\\\\b","name":"keyword.token.super.d"},{"match":"\\\\bswitch\\\\b","name":"keyword.token.switch.d"},{"match":"\\\\bsynchronized\\\\b","name":"keyword.token.synchronized.d"},{"match":"\\\\btemplate\\\\b","name":"keyword.token.template.d"},{"match":"\\\\bthis\\\\b","name":"keyword.token.this.d"},{"match":"\\\\bthrow\\\\b","name":"keyword.token.throw.d"},{"match":"\\\\btrue\\\\b","name":"constant.language.boolean.true.d"},{"match":"\\\\btry\\\\b","name":"keyword.token.try.d"},{"match":"\\\\btypedef\\\\b","name":"keyword.token.typedef.d"},{"match":"\\\\btypeid\\\\b","name":"keyword.token.typeid.d"},{"match":"\\\\btypeof\\\\b","name":"keyword.token.typeof.d"},{"match":"\\\\bubyte\\\\b","name":"keyword.token.ubyte.d"},{"match":"\\\\bucent\\\\b","name":"keyword.token.ucent.d"},{"match":"\\\\buint\\\\b","name":"keyword.token.uint.d"},{"match":"\\\\bulong\\\\b","name":"keyword.token.ulong.d"},{"match":"\\\\bunion\\\\b","name":"keyword.token.union.d"},{"match":"\\\\bunittest\\\\b","name":"keyword.token.unittest.d"},{"match":"\\\\bushort\\\\b","name":"keyword.token.ushort.d"},{"match":"\\\\bversion\\\\b","name":"keyword.token.version.d"},{"match":"\\\\bvoid\\\\b","name":"keyword.token.void.d"},{"match":"\\\\bvolatile\\\\b","name":"keyword.token.volatile.d"},{"match":"\\\\bwchar\\\\b","name":"keyword.token.wchar.d"},{"match":"\\\\bwhile\\\\b","name":"keyword.token.while.d"},{"match":"\\\\bwith\\\\b","name":"keyword.token.with.d"},{"match":"\\\\b__FILE__\\\\b","name":"keyword.token.__FILE__.d"},{"match":"\\\\b__MODULE__\\\\b","name":"keyword.token.__MODULE__.d"},{"match":"\\\\b__LINE__\\\\b","name":"keyword.token.__LINE__.d"},{"match":"\\\\b__FUNCTION__\\\\b","name":"keyword.token.__FUNCTION__.d"},{"match":"\\\\b__PRETTY_FUNCTION__\\\\b","name":"keyword.token.__PRETTY_FUNCTION__.d"},{"match":"\\\\b__gshared\\\\b","name":"keyword.token.__gshared.d"},{"match":"\\\\b__traits\\\\b","name":"keyword.token.__traits.d"},{"match":"\\\\b__vector\\\\b","name":"keyword.token.__vector.d"},{"match":"\\\\b__parameters\\\\b","name":"keyword.token.__parameters.d"}]},"labeled-statement":{"patterns":[{"match":"\\\\b(?!abstract|alias|align|asm|assert|auto|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|in|inout|int|interface|invariant|ireal|is|lazy|long|macro|mixin|module|new|nothrow|noreturn|null|out|override|package|pragma|private|protected|public|pure|real|ref|return|scope|shared|short|static|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|__FILE__|__MODULE__|__LINE__|__FUNCTION__|__PRETTY_FUNCTION__|__gshared|__traits|__vector|__parameters)[A-Z_a-z][0-9A-Z_a-z]*\\\\s*:","name":"entity.name.d"}]},"lexical":{"patterns":[{"include":"#comment"},{"include":"#string-literal"},{"include":"#character-literal"},{"include":"#float-literal"},{"include":"#integer-literal"},{"include":"#eof"},{"include":"#special-tokens"},{"include":"#special-token-sequence"},{"include":"#keyword"},{"include":"#identifier"}]},"line-comment":{"patterns":[{"match":"//+.*$","name":"comment.line.d"}]},"linkage-attribute":{"patterns":[{"begin":"\\\\bextern\\\\s*\\\\(\\\\s*C\\\\+\\\\+\\\\s*,","beginCaptures":{"0":{"name":"keyword.other.extern.cplusplus.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.extern.cplusplus.end.d"}},"patterns":[{"include":"#identifier"},{"include":"#comma"}]},{"begin":"\\\\bextern\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.extern.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.extern.end.d"}},"patterns":[{"include":"#linkage-type"}]}]},"linkage-type":{"patterns":[{"match":"C|C\\\\+\\\\+|D|Windows|Pascal|System","name":"storage.modifier.linkage-type.d"}]},"logical-expression":{"patterns":[{"match":"\\\\|\\\\||&&|==|!=?","name":"keyword.operator.logical.d"}]},"member-function-attribute":{"patterns":[{"match":"\\\\b(const|immutable|inout|shared)\\\\b","name":"storage.type.modifier.member-function-attribute"}]},"mixin-declaration":{"patterns":[{"begin":"\\\\bmixin\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.mixin.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.mixin.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]}]},"mixin-expression":{"patterns":[{"begin":"\\\\bmixin\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.mixin.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.mixin.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]}]},"mixin-statement":{"patterns":[{"begin":"\\\\bmixin\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.control.mixin.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.control.mixin.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"},{"include":"#comma"}]}]},"mixin-template-declaration":{"patterns":[{"captures":{"1":{"name":"storage.type.mixintemplate.d"},"2":{"name":"entity.name.type.mixintemplate.d"}},"match":"\\\\b(mixin\\\\s*template)(?:\\\\s+([A-Z_a-z][_\\\\w\\\\d]*))?\\\\b"}]},"module":{"packages":[{"import":"#module-declaration"}]},"module-declaration":{"patterns":[{"begin":"\\\\b(module)\\\\s+","beginCaptures":{"1":{"name":"keyword.package.module.d"}},"end":";","endCaptures":{"0":{"name":"meta.module.end.d"}},"patterns":[{"include":"#module-identifier"},{"include":"#comment"}]}]},"module-identifier":{"patterns":[{"match":"([A-Z_a-z][_\\\\d\\\\w]*)(\\\\s*\\\\.\\\\s*[A-Z_a-z][_\\\\d\\\\w]*)*","name":"variable.parameter.module.d"}]},"nesting-block-comment":{"patterns":[{"begin":"/((?!\\\\+/)\\\\+)+","beginCaptures":{"0":{"name":"comment.block.documentation.begin.d"}},"end":"\\\\++/","endCaptures":{"0":{"name":"comment.block.documentation.end.d"}},"name":"comment.block.documentation.content.d","patterns":[{"include":"#nesting-block-comment"}]}]},"new-expression":{"patterns":[{"match":"\\\\bnew\\\\s+","name":"keyword.other.new.d"}]},"non-block-statement":{"patterns":[{"include":"#module-declaration"},{"include":"#labeled-statement"},{"include":"#if-statement"},{"include":"#while-statement"},{"include":"#do-statement"},{"include":"#for-statement"},{"include":"#static-foreach"},{"include":"#static-foreach-reverse"},{"include":"#foreach-statement"},{"include":"#foreach-reverse-statement"},{"include":"#switch-statement"},{"include":"#final-switch-statement"},{"include":"#case-statement"},{"include":"#default-statement"},{"include":"#continue-statement"},{"include":"#break-statement"},{"include":"#return-statement"},{"include":"#goto-statement"},{"include":"#with-statement"},{"include":"#synchronized-statement"},{"include":"#try-statement"},{"include":"#catches"},{"include":"#scope-guard-statement"},{"include":"#throw-statement"},{"include":"#finally-statement"},{"include":"#asm-statement"},{"include":"#pragma-statement"},{"include":"#mixin-statement"},{"include":"#conditional-statement"},{"include":"#static-assert"},{"include":"#deprecated-statement"},{"include":"#unit-test"},{"include":"#declaration-statement"}]},"operands":{"patterns":[{"match":"[:?]","name":"keyword.operator.ternary.assembly.d"},{"match":"[]\\\\[]","name":"keyword.operator.bracket.assembly.d"},{"match":">>>|\\\\|\\\\||&&|==|!=|<=|>=|<<|>>|[-!%\\\\&*+/<>^|~]","name":"keyword.operator.assembly.d"}]},"out-statement":{"patterns":[{"begin":"\\\\bout\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.control.out.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.control.out.end.d"}},"patterns":[{"include":"#identifier"}]},{"match":"\\\\bout\\\\b","name":"keyword.control.out.d"}]},"parentheses-expression":{"patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"#expression"}]}]},"postblit":{"patterns":[{"match":"\\\\bthis\\\\s*\\\\(\\\\s*this\\\\s*\\\\)\\\\s","name":"entity.name.class.postblit.d"}]},"pragma":{"patterns":[{"match":"\\\\bpragma\\\\s*\\\\(\\\\s*[_\\\\w][_\\\\d\\\\w]*\\\\s*\\\\)","name":"keyword.other.pragma.d"},{"begin":"\\\\bpragma\\\\s*\\\\(\\\\s*[_\\\\w][_\\\\d\\\\w]*\\\\s*,","end":"\\\\)","name":"keyword.other.pragma.d","patterns":[{"include":"#expression"}]},{"match":"^#!.+","name":"gfm.markup.header.preprocessor.script-tag.d"}]},"pragma-statement":{"patterns":[{"include":"#pragma"}]},"property":{"patterns":[{"match":"@(property|safe|trusted|system|disable|nogc)\\\\b","name":"entity.name.tag.property.d"},{"include":"#user-defined-attribute"}]},"protection-attribute":{"patterns":[{"match":"\\\\b(private|package|protected|public|export)\\\\b","name":"keyword.other.protections.d"}]},"register":{"patterns":[{"match":"\\\\b(XMM0|XMM1|XMM2|XMM3|XMM4|XMM5|XMM6|XMM7|MM0|MM1|MM2|MM3|MM4|MM5|MM6|MM7|ST\\\\(0\\\\)|ST\\\\(1\\\\)|ST\\\\(2\\\\)|ST\\\\(3\\\\)|ST\\\\(4\\\\)|ST\\\\(5\\\\)|ST\\\\(6\\\\)|ST\\\\(7\\\\)|ST|TR1|TR2|TR3|TR4|TR5|TR6|TR7|DR0|DR1|DR2|DR3|DR4|DR5|DR6|DR7|CR0|CR2|CR3|CR4|EAX|EBX|ECX|EDX|EBP|ESP|EDI|ESI|AL|AH|AX|BL|BH|BX|CL|CH|CX|DL|DH|DX|BP|SP|DI|SI|ES|CS|SS|DS|GS|FS)\\\\b","name":"storage.type.assembly.register.d"}]},"register-64":{"patterns":[{"match":"\\\\b(RAX|RBX|RCX|RDX|BPL|RBP|SPL|RSP|DIL|RDI|SIL|RSI|R8B|R8W|R8D?|R9B|R9W|R9D?|R10B|R10W|R10D?|R11B|R11W|R11D?|R12B|R12W|R12D?|R13B|R13W|R13D?|R14B|R14W|R14D?|R15B|R15W|R15D?|XMM8|XMM9|XMM10|XMM11|XMM12|XMM13|XMM14|XMM15|YMM0|YMM1|YMM2|YMM3|YMM4|YMM5|YMM6|YMM7|YMM8|YMM9|YMM10|YMM11|YMM12|YMM13|YMM14|YMM15)\\\\b","name":"storage.type.assembly.register-64.d"}]},"rel-expression":{"patterns":[{"match":"!<>=?|<>=|!>=|!<=|<=|>=|<>|!>|!<|[<>]","name":"keyword.operator.rel.d"}]},"return-statement":{"patterns":[{"match":"\\\\breturn\\\\b","name":"keyword.control.return.d"}]},"scope-guard-statement":{"patterns":[{"match":"\\\\bscope\\\\s*\\\\((exit|success|failure)\\\\)","name":"keyword.control.scope.d"}]},"semi-colon":{"patterns":[{"match":";","name":"meta.statement.end.d"}]},"shared-static-constructor":{"patterns":[{"match":"\\\\b(shared\\\\s+)?static\\\\s+this\\\\s*\\\\(\\\\s*\\\\)","name":"entity.name.class.constructor.shared-static.d"},{"include":"#function-body"}]},"shared-static-destructor":{"patterns":[{"match":"\\\\b(shared\\\\s+)?static\\\\s+~this\\\\s*\\\\(\\\\s*\\\\)","name":"entity.name.class.destructor.static.d"}]},"shift-expression":{"patterns":[{"match":"<<|>>>??","name":"keyword.operator.shift.d"},{"include":"#add-expression"}]},"special-keyword":{"patterns":[{"match":"\\\\b(__(?:FILE|FILE_FULL_PATH|MODULE|LINE|FUNCTION|PRETTY_FUNCTION)__)\\\\b","name":"constant.language.special-keyword.d"}]},"special-token-sequence":{"patterns":[{"match":"#\\\\s*line.*","name":"gfm.markup.italic.special-token-sequence.d"}]},"special-tokens":{"patterns":[{"match":"\\\\b(__(?:DATE|TIME|TIMESTAMP|VENDOR|VERSION)__)\\\\b","name":"gfm.markup.raw.special-tokens.d"}]},"statement":{"patterns":[{"include":"#non-block-statement"},{"include":"#semi-colon"}]},"static-assert":{"patterns":[{"begin":"\\\\bstatic\\\\s+assert\\\\b\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.static-assert.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.static-assert.end.d"}},"patterns":[{"include":"#expression"}]}]},"static-foreach":{"patterns":[{"begin":"\\\\b(static\\\\s+foreach)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.static-foreach.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"match":";","name":"keyword.operator.semi-colon.d"},{"include":"source.d"}]}]}]},"static-foreach-reverse":{"patterns":[{"begin":"\\\\b(static\\\\s+foreach_reverse)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.static-foreach.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"match":";","name":"keyword.operator.semi-colon.d"},{"include":"source.d"}]}]}]},"static-if-condition":{"patterns":[{"begin":"\\\\bstatic\\\\s+if\\\\b\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.control.static-if.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.control.static-if.end.d"}},"patterns":[{"include":"#comment"},{"include":"#expression"}]}]},"storage-class":{"patterns":[{"match":"\\\\b(deprecated|enum|static|extern|abstract|final|override|synchronized|auto|scope|const|immutable|inout|shared|__gshared|nothrow|pure|ref)\\\\b","name":"storage.class.d"},{"include":"#linkage-attribute"},{"include":"#align-attribute"},{"include":"#property"}]},"string-literal":{"patterns":[{"include":"#wysiwyg-string"},{"include":"#alternate-wysiwyg-string"},{"include":"#hex-string"},{"include":"#arbitrary-delimited-string"},{"include":"#delimited-string"},{"include":"#double-quoted-string"},{"include":"#token-string"},{"include":"#ies-string"},{"include":"#ies-wysiwyg-string"},{"include":"#ies-token-string"}]},"struct-declaration":{"patterns":[{"captures":{"1":{"name":"storage.type.struct.d"},"2":{"name":"entity.name.type.struct.d"}},"match":"\\\\b(struct)(?:\\\\s+([A-Z_a-z][_\\\\w\\\\d]*))?\\\\b"}]},"switch-statement":{"patterns":[{"begin":"\\\\b(switch)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.switch.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]}]},"synchronized-statement":{"patterns":[{"begin":"\\\\b(synchronized)\\\\b\\\\s*(?=\\\\()","captures":{"1":{"name":"keyword.control.synchronized.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]}]},"template-declaration":{"patterns":[{"captures":{"1":{"name":"storage.type.template.d"},"2":{"name":"entity.name.type.template.d"}},"match":"\\\\b(template)(?:\\\\s+([A-Z_a-z][_\\\\w\\\\d]*))?\\\\b"}]},"throw-statement":{"patterns":[{"match":"\\\\bthrow\\\\b","name":"keyword.control.throw.d"}]},"token-string":{"begin":"q\\\\{","beginCaptures":{"0":{"name":"string.quoted.token.d"}},"end":"}[cdw]?","endCaptures":{"0":{"name":"string.quoted.token.d"}},"patterns":[{"include":"#token-string-content"}]},"token-string-content":{"patterns":[{"begin":"\\\\{","end":"}","patterns":[{"include":"#token-string-content"}]},{"include":"#comment"},{"include":"#tokens"}]},"tokens":{"patterns":[{"include":"#string-literal"},{"include":"#character-literal"},{"include":"#integer-literal"},{"include":"#float-literal"},{"include":"#keyword"},{"match":"~=?|>>>|>>=?|>=?|=>|==?|<>|<=|<<?|%=|[#%]|&=|&&|[$\\\\&]|\\\\|=|\\\\|\\\\|?|\\\\+=|\\\\+\\\\+?|\\\\^=|\\\\^\\\\^=?|\\\\^|\\\\*=|[]()*\\\\[{}]|\\\\.\\\\.\\\\.?|[.?]|!>=?|!=|!<>=?|!<=?|!|/=|[,/:;@]|-=|--?","name":"meta.lexical.token.symbolic.d"},{"include":"#identifier"}]},"traits-argument":{"patterns":[{"include":"#expression"},{"include":"#type"}]},"traits-arguments":{"patterns":[{"include":"#traits-argument"},{"include":"#comma"}]},"traits-expression":{"patterns":[{"begin":"\\\\b__traits\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.traits.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.traits.end.d"}},"patterns":[{"include":"#traits-keyword"},{"include":"#comma"},{"include":"#traits-argument"}]}]},"traits-keyword":{"patterns":[{"match":"isAbstractClass|isArithmetic|isAssociativeArray|isFinalClass|isPOD|isNested|isFloating|isIntegral|isScalar|isStaticArray|isUnsigned|isVirtualFunction|isVirtualMethod|isAbstractFunction|isFinalFunction|isStaticFunction|isOverrideFunction|isRef|isOut|isLazy|hasMember|identifier|getAliasThis|getAttributes|getMember|getOverloads|getProtection|getVirtualFunctions|getVirtualMethods|getUnitTests|parent|classInstanceSize|getVirtualIndex|allMembers|derivedMembers|isSame|compiles","name":"support.constant.traits-keyword.d"}]},"try-statement":{"patterns":[{"match":"\\\\btry\\\\b","name":"keyword.control.try.d"}]},"type":{"patterns":[{"include":"#typeof"},{"include":"#base-type"},{"include":"#type-ctor"},{"begin":"!\\\\(","end":"\\\\)","patterns":[{"include":"#type"},{"include":"#expression"}]}]},"type-ctor":{"patterns":[{"match":"(const|immutable|inout|shared)\\\\b","name":"storage.type.modifier.d"}]},"type-specialization":{"patterns":[{"match":"\\\\b(struct|union|class|interface|enum|function|delegate|super|const|immutable|inout|shared|return|__parameters)\\\\b","name":"keyword.other.storage.type-specialization.d"}]},"typeid-expression":{"patterns":[{"match":"\\\\btypeid\\\\s*(?=\\\\()","name":"keyword.other.typeid.d"}]},"typeof":{"begin":"typeof\\\\s*\\\\(","end":"\\\\)","name":"keyword.token.typeof.d","patterns":[{"match":"return","name":"keyword.control.return.d"},{"include":"#expression"}]},"union-declaration":{"patterns":[{"captures":{"1":{"name":"storage.type.union.d"},"2":{"name":"entity.name.type.union.d"}},"match":"\\\\b(union)(?:\\\\s+([A-Z_a-z][_\\\\w\\\\d]*))?\\\\b"}]},"user-defined-attribute":{"patterns":[{"match":"@([_\\\\w][_\\\\d\\\\w]*)\\\\b","name":"entity.name.tag.user-defined-property.d"},{"begin":"@([_\\\\w][_\\\\d\\\\w]*)?\\\\(","end":"\\\\)","name":"entity.name.tag.user-defined-property.d","patterns":[{"include":"#expression"}]}]},"version-condition":{"patterns":[{"match":"\\\\bversion\\\\s*\\\\(\\\\s*unittest\\\\s*\\\\)","name":"keyword.other.version.unittest.d"},{"match":"\\\\bversion\\\\s*\\\\(\\\\s*assert\\\\s*\\\\)","name":"keyword.other.version.assert.d"},{"begin":"\\\\bversion\\\\s*\\\\(","beginCaptures":{"0":{"name":"keyword.other.version.identifier.begin.d"}},"end":"\\\\)","endCaptures":{"0":{"name":"keyword.other.version.identifer.end.d"}},"patterns":[{"include":"#integer-literal"},{"include":"#identifier"}]},{"include":"#version-specification"}]},"version-specification":{"patterns":[{"match":"\\\\bversion\\\\b\\\\s*(?==)","name":"keyword.other.version-specification.d"}]},"void-initializer":{"patterns":[{"match":"\\\\bvoid\\\\b","name":"support.type.void.d"}]},"while-statement":{"patterns":[{"begin":"\\\\b(while)\\\\b\\\\s*","captures":{"1":{"name":"keyword.control.while.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]}]},"with-statement":{"patterns":[{"begin":"\\\\b(with)\\\\b\\\\s*(?=\\\\()","captures":{"1":{"name":"keyword.control.with.d"}},"end":"(?<=\\\\))","patterns":[{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"source.d"}]}]}]},"wysiwyg-characters":{"patterns":[{"include":"#character"},{"include":"#end-of-line"}]},"wysiwyg-string":{"patterns":[{"begin":"r\\"","end":"\\"[cdw]?","name":"string.wysiwyg-string.d","patterns":[{"include":"#wysiwyg-characters"}]}]}},"scopeName":"source.d"}')), t = [
|
|
2
|
+
e
|
|
3
|
+
];
|
|
4
|
+
export {
|
|
5
|
+
t as default
|
|
6
|
+
};
|
package/dist/dagre-6UL2VRFP.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as X, bE as j, bF as H, bG as Y, bH as _, l as i, d as V, bI as K, bJ as U, a2 as $, a7 as q, a3 as P, a1 as z, bK as Q, bL as W, bM as Z } from "./CoachForm.js";
|
|
2
2
|
import { G as B } from "./graph.js";
|
|
3
3
|
import { l as I } from "./layout.js";
|
|
4
4
|
import { i as x } from "./_baseUniq.js";
|
|
5
5
|
import { c as L } from "./clone.js";
|
|
6
6
|
import { m as A } from "./_basePickBy.js";
|
|
7
|
-
function
|
|
7
|
+
function E(e) {
|
|
8
8
|
var t = {
|
|
9
9
|
options: {
|
|
10
10
|
directed: e.isDirected(),
|
|
@@ -28,15 +28,15 @@ function ne(e) {
|
|
|
28
28
|
return x(t.name) || (o.name = t.name), x(n) || (o.value = n), o;
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
|
-
var f = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), J = /* @__PURE__ */ new Map(), te = /* @__PURE__ */
|
|
31
|
+
var f = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), J = /* @__PURE__ */ new Map(), te = /* @__PURE__ */ X(() => {
|
|
32
32
|
N.clear(), J.clear(), f.clear();
|
|
33
|
-
}, "clear"), O = /* @__PURE__ */
|
|
33
|
+
}, "clear"), O = /* @__PURE__ */ X((e, t) => {
|
|
34
34
|
const n = N.get(t) || [];
|
|
35
35
|
return i.trace("In isDescendant", t, " ", e, " = ", n.includes(e)), n.includes(e);
|
|
36
|
-
}, "isDescendant"), se = /* @__PURE__ */
|
|
36
|
+
}, "isDescendant"), se = /* @__PURE__ */ X((e, t) => {
|
|
37
37
|
const n = N.get(t) || [];
|
|
38
38
|
return i.info("Descendants of ", t, " is ", n), i.info("Edge is ", e), e.v === t || e.w === t ? !1 : n ? n.includes(e.v) || O(e.v, t) || O(e.w, t) || n.includes(e.w) : (i.debug("Tilt, ", t, ",not in descendants"), !1);
|
|
39
|
-
}, "edgeInCluster"), G = /* @__PURE__ */
|
|
39
|
+
}, "edgeInCluster"), G = /* @__PURE__ */ X((e, t, n, o) => {
|
|
40
40
|
i.warn(
|
|
41
41
|
"Copying children of ",
|
|
42
42
|
e,
|
|
@@ -83,16 +83,16 @@ var f = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), J = /* @__PURE
|
|
|
83
83
|
}
|
|
84
84
|
i.debug("Removing node", a), t.removeNode(a);
|
|
85
85
|
});
|
|
86
|
-
}, "copy"), R = /* @__PURE__ */
|
|
86
|
+
}, "copy"), R = /* @__PURE__ */ X((e, t) => {
|
|
87
87
|
const n = t.children(e);
|
|
88
88
|
let o = [...n];
|
|
89
89
|
for (const c of n)
|
|
90
90
|
J.set(c, e), o = [...o, ...R(c, t)];
|
|
91
91
|
return o;
|
|
92
|
-
}, "extractDescendants"), ie = /* @__PURE__ */
|
|
92
|
+
}, "extractDescendants"), ie = /* @__PURE__ */ X((e, t, n) => {
|
|
93
93
|
const o = e.edges().filter((l) => l.v === t || l.w === t), c = e.edges().filter((l) => l.v === n || l.w === n), a = o.map((l) => ({ v: l.v === t ? n : l.v, w: l.w === t ? t : l.w })), r = c.map((l) => ({ v: l.v, w: l.w }));
|
|
94
94
|
return a.filter((l) => r.some((v) => l.v === v.v && l.w === v.w));
|
|
95
|
-
}, "findCommonEdges"), D = /* @__PURE__ */
|
|
95
|
+
}, "findCommonEdges"), D = /* @__PURE__ */ X((e, t, n) => {
|
|
96
96
|
const o = t.children(e);
|
|
97
97
|
if (i.trace("Searching children of id ", e, o), o.length < 1)
|
|
98
98
|
return e;
|
|
@@ -106,7 +106,7 @@ var f = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), J = /* @__PURE
|
|
|
106
106
|
return r;
|
|
107
107
|
}
|
|
108
108
|
return c;
|
|
109
|
-
}, "findNonClusterChild"), k = /* @__PURE__ */
|
|
109
|
+
}, "findNonClusterChild"), k = /* @__PURE__ */ X((e) => !f.has(e) || !f.get(e).externalConnections ? e : f.has(e) ? f.get(e).id : e, "getAnchorId"), re = /* @__PURE__ */ X((e, t) => {
|
|
110
110
|
if (!e || t > 10) {
|
|
111
111
|
i.debug("Opting out, no graph ");
|
|
112
112
|
return;
|
|
@@ -155,10 +155,10 @@ var f = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), J = /* @__PURE
|
|
|
155
155
|
}
|
|
156
156
|
i.warn("Fix Replacing with XXX", c, a, n.name), e.setEdge(c, a, o, n.name);
|
|
157
157
|
}
|
|
158
|
-
}), i.warn("Adjusted Graph",
|
|
159
|
-
}, "adjustClustersAndEdges"), T = /* @__PURE__ */
|
|
158
|
+
}), i.warn("Adjusted Graph", E(e)), T(e, 0), i.trace(f);
|
|
159
|
+
}, "adjustClustersAndEdges"), T = /* @__PURE__ */ X((e, t) => {
|
|
160
160
|
var c, a;
|
|
161
|
-
if (i.warn("extractor - ", t,
|
|
161
|
+
if (i.warn("extractor - ", t, E(e), e.children("D")), t > 10) {
|
|
162
162
|
i.error("Bailing out");
|
|
163
163
|
return;
|
|
164
164
|
}
|
|
@@ -205,13 +205,13 @@ var f = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), J = /* @__PURE
|
|
|
205
205
|
}).setDefaultEdgeLabel(function() {
|
|
206
206
|
return {};
|
|
207
207
|
});
|
|
208
|
-
i.warn("Old graph before copy",
|
|
208
|
+
i.warn("Old graph before copy", E(e)), G(r, e, v, r), e.setNode(r, {
|
|
209
209
|
clusterNode: !0,
|
|
210
210
|
id: r,
|
|
211
211
|
clusterData: f.get(r).clusterData,
|
|
212
212
|
label: f.get(r).label,
|
|
213
213
|
graph: v
|
|
214
|
-
}), i.warn("New graph after copy node: (", r, ")",
|
|
214
|
+
}), i.warn("New graph after copy node: (", r, ")", E(v)), i.debug("Old graph after copy", E(e));
|
|
215
215
|
} else
|
|
216
216
|
i.warn(
|
|
217
217
|
"Cluster ** ",
|
|
@@ -230,7 +230,7 @@ var f = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), J = /* @__PURE
|
|
|
230
230
|
const u = e.node(r);
|
|
231
231
|
i.warn(" Now next level", r, u), u != null && u.clusterNode && T(u.graph, t + 1);
|
|
232
232
|
}
|
|
233
|
-
}, "extractor"), M = /* @__PURE__ */
|
|
233
|
+
}, "extractor"), M = /* @__PURE__ */ X((e, t) => {
|
|
234
234
|
if (t.length === 0)
|
|
235
235
|
return [];
|
|
236
236
|
let n = Object.assign([], t);
|
|
@@ -238,8 +238,8 @@ var f = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), J = /* @__PURE
|
|
|
238
238
|
const c = e.children(o), a = M(e, c);
|
|
239
239
|
n = [...n, ...a];
|
|
240
240
|
}), n;
|
|
241
|
-
}, "sorter"), oe = /* @__PURE__ */
|
|
242
|
-
i.warn("Graph in recursive render:XAX",
|
|
241
|
+
}, "sorter"), oe = /* @__PURE__ */ X((e) => M(e, e.children()), "sortNodesByHierarchy"), F = /* @__PURE__ */ X(async (e, t, n, o, c, a) => {
|
|
242
|
+
i.warn("Graph in recursive render:XAX", E(t), c);
|
|
243
243
|
const r = t.graph().rankdir;
|
|
244
244
|
i.trace("Dir in recursive render - dir:", r);
|
|
245
245
|
const u = e.insert("g").attr("class", "root");
|
|
@@ -270,15 +270,15 @@ Parent cluster`,
|
|
|
270
270
|
ranksep: w + 25,
|
|
271
271
|
nodesep: m
|
|
272
272
|
});
|
|
273
|
-
const
|
|
273
|
+
const p = await F(
|
|
274
274
|
g,
|
|
275
275
|
s.graph,
|
|
276
276
|
n,
|
|
277
277
|
o,
|
|
278
278
|
t.node(d),
|
|
279
279
|
a
|
|
280
|
-
), S =
|
|
281
|
-
|
|
280
|
+
), S = p.elem;
|
|
281
|
+
K(s, S), s.diff = p.diff || 0, i.info(
|
|
282
282
|
"New compound node after recursive render XAX",
|
|
283
283
|
d,
|
|
284
284
|
"width",
|
|
@@ -288,7 +288,7 @@ Parent cluster`,
|
|
|
288
288
|
s.height
|
|
289
289
|
// node.x,
|
|
290
290
|
// node.y
|
|
291
|
-
),
|
|
291
|
+
), U(S, s);
|
|
292
292
|
} else
|
|
293
293
|
t.children(d).length > 0 ? (i.trace(
|
|
294
294
|
"Cluster - the non recursive path XBX",
|
|
@@ -298,9 +298,9 @@ Parent cluster`,
|
|
|
298
298
|
s.width,
|
|
299
299
|
"Graph:",
|
|
300
300
|
t
|
|
301
|
-
), i.trace(D(s.id, t)), f.set(s.id, { id: D(s.id, t), node: s })) : (i.trace("Node - the non recursive path XAX", d, g, t.node(d), r), await
|
|
301
|
+
), i.trace(D(s.id, t)), f.set(s.id, { id: D(s.id, t), node: s })) : (i.trace("Node - the non recursive path XAX", d, g, t.node(d), r), await $(g, t.node(d), { config: a, dir: r }));
|
|
302
302
|
})
|
|
303
|
-
), await (/* @__PURE__ */
|
|
303
|
+
), await (/* @__PURE__ */ X(async () => {
|
|
304
304
|
const d = t.edges().map(async function(s) {
|
|
305
305
|
const w = t.edge(s.v, s.w, s.name);
|
|
306
306
|
i.info("Edge " + s.v + " -> " + s.w + ": " + JSON.stringify(s)), i.info("Edge " + s.v + " -> " + s.w + ": ", s, " ", JSON.stringify(t.edge(s))), i.info(
|
|
@@ -315,8 +315,8 @@ Parent cluster`,
|
|
|
315
315
|
), await Z(C, w);
|
|
316
316
|
});
|
|
317
317
|
await Promise.all(d);
|
|
318
|
-
}, "processEdges"))(), i.info("Graph before layout:", JSON.stringify(
|
|
319
|
-
let y = 0, { subGraphTitleTotalMargin:
|
|
318
|
+
}, "processEdges"))(), i.info("Graph before layout:", JSON.stringify(E(t))), i.info("############################################# XXX"), i.info("### Layout ### XXX"), i.info("############################################# XXX"), I(t), i.info("Graph after layout:", JSON.stringify(E(t)));
|
|
319
|
+
let y = 0, { subGraphTitleTotalMargin: b } = q(a);
|
|
320
320
|
return await Promise.all(
|
|
321
321
|
oe(t).map(async function(d) {
|
|
322
322
|
var w;
|
|
@@ -329,7 +329,7 @@ Parent cluster`,
|
|
|
329
329
|
" height: ",
|
|
330
330
|
s.height
|
|
331
331
|
), s != null && s.clusterNode)
|
|
332
|
-
s.y +=
|
|
332
|
+
s.y += b, i.info(
|
|
333
333
|
"A tainted cluster node XBX1",
|
|
334
334
|
d,
|
|
335
335
|
s.id,
|
|
@@ -349,12 +349,12 @@ Parent cluster`,
|
|
|
349
349
|
s.width,
|
|
350
350
|
s.height,
|
|
351
351
|
t.parent(d)
|
|
352
|
-
), s.height +=
|
|
353
|
-
const m = (s == null ? void 0 : s.padding) / 2 || 0,
|
|
354
|
-
i.debug("OffsetY", S, "labelHeight",
|
|
352
|
+
), s.height += b, t.node(s.parentId);
|
|
353
|
+
const m = (s == null ? void 0 : s.padding) / 2 || 0, p = ((w = s == null ? void 0 : s.labelBBox) == null ? void 0 : w.height) || 0, S = p - m || 0;
|
|
354
|
+
i.debug("OffsetY", S, "labelHeight", p, "halfPadding", m), await z(l, s), f.get(s.id).node = s;
|
|
355
355
|
} else {
|
|
356
356
|
const m = t.node(s.parentId);
|
|
357
|
-
s.y +=
|
|
357
|
+
s.y += b / 2, i.info(
|
|
358
358
|
"A regular node XBX1 - using the padding",
|
|
359
359
|
s.id,
|
|
360
360
|
"parent",
|
|
@@ -374,16 +374,16 @@ Parent cluster`,
|
|
|
374
374
|
})
|
|
375
375
|
), t.edges().forEach(function(d) {
|
|
376
376
|
const s = t.edge(d);
|
|
377
|
-
i.info("Edge " + d.v + " -> " + d.w + ": " + JSON.stringify(s), s), s.points.forEach((S) => S.y +=
|
|
377
|
+
i.info("Edge " + d.v + " -> " + d.w + ": " + JSON.stringify(s), s), s.points.forEach((S) => S.y += b / 2);
|
|
378
378
|
const w = t.node(d.v);
|
|
379
379
|
var m = t.node(d.w);
|
|
380
|
-
const
|
|
381
|
-
W(s,
|
|
380
|
+
const p = Q(v, s, f, n, w, m, o);
|
|
381
|
+
W(s, p);
|
|
382
382
|
}), t.nodes().forEach(function(d) {
|
|
383
383
|
const s = t.node(d);
|
|
384
384
|
i.info(d, s.type, s.diff), s.isGroup && (y = s.diff);
|
|
385
385
|
}), i.warn("Returning from recursive render XAX", u, y), { elem: u, diff: y };
|
|
386
|
-
}, "recursiveRender"), ge = /* @__PURE__ */
|
|
386
|
+
}, "recursiveRender"), ge = /* @__PURE__ */ X(async (e, t) => {
|
|
387
387
|
var a, r, u, l, v, C;
|
|
388
388
|
const n = new B({
|
|
389
389
|
multigraph: !0,
|
|
@@ -397,11 +397,11 @@ Parent cluster`,
|
|
|
397
397
|
}).setDefaultEdgeLabel(function() {
|
|
398
398
|
return {};
|
|
399
399
|
}), o = t.select("g");
|
|
400
|
-
|
|
400
|
+
j(o, e.markers, e.type, e.diagramId), H(), Y(), _(), te(), e.nodes.forEach((g) => {
|
|
401
401
|
n.setNode(g.id, { ...g }), g.parentId && n.setParent(g.id, g.parentId);
|
|
402
402
|
}), i.debug("Edges:", e.edges), e.edges.forEach((g) => {
|
|
403
403
|
if (g.start === g.end) {
|
|
404
|
-
const h = g.start, y = h + "---" + h + "---1",
|
|
404
|
+
const h = g.start, y = h + "---" + h + "---1", b = h + "---" + h + "---2", d = n.node(h);
|
|
405
405
|
n.setNode(y, {
|
|
406
406
|
domId: y,
|
|
407
407
|
id: y,
|
|
@@ -414,9 +414,9 @@ Parent cluster`,
|
|
|
414
414
|
style: "",
|
|
415
415
|
width: 10,
|
|
416
416
|
height: 10
|
|
417
|
-
}), n.setParent(y, d.parentId), n.setNode(
|
|
418
|
-
domId:
|
|
419
|
-
id:
|
|
417
|
+
}), n.setParent(y, d.parentId), n.setNode(b, {
|
|
418
|
+
domId: b,
|
|
419
|
+
id: b,
|
|
420
420
|
parentId: d.parentId,
|
|
421
421
|
labelStyle: "",
|
|
422
422
|
padding: 0,
|
|
@@ -426,14 +426,14 @@ Parent cluster`,
|
|
|
426
426
|
style: "",
|
|
427
427
|
width: 10,
|
|
428
428
|
height: 10
|
|
429
|
-
}), n.setParent(
|
|
429
|
+
}), n.setParent(b, d.parentId);
|
|
430
430
|
const s = structuredClone(g), w = structuredClone(g), m = structuredClone(g);
|
|
431
|
-
s.label = "", s.arrowTypeEnd = "none", s.id = h + "-cyclic-special-1", w.arrowTypeStart = "none", w.arrowTypeEnd = "none", w.id = h + "-cyclic-special-mid", m.label = "", d.isGroup && (s.fromCluster = h, m.toCluster = h), m.id = h + "-cyclic-special-2", m.arrowTypeStart = "none", n.setEdge(h, y, s, h + "-cyclic-special-0"), n.setEdge(y,
|
|
431
|
+
s.label = "", s.arrowTypeEnd = "none", s.id = h + "-cyclic-special-1", w.arrowTypeStart = "none", w.arrowTypeEnd = "none", w.id = h + "-cyclic-special-mid", m.label = "", d.isGroup && (s.fromCluster = h, m.toCluster = h), m.id = h + "-cyclic-special-2", m.arrowTypeStart = "none", n.setEdge(h, y, s, h + "-cyclic-special-0"), n.setEdge(y, b, w, h + "-cyclic-special-1"), n.setEdge(b, h, m, h + "-cyc<lic-special-2");
|
|
432
432
|
} else
|
|
433
433
|
n.setEdge(g.start, g.end, { ...g }, g.id);
|
|
434
|
-
}), i.warn("Graph at first:", JSON.stringify(
|
|
434
|
+
}), i.warn("Graph at first:", JSON.stringify(E(n))), re(n), i.warn("Graph after XAX:", JSON.stringify(E(n)));
|
|
435
435
|
const c = V();
|
|
436
|
-
await
|
|
436
|
+
await F(
|
|
437
437
|
o,
|
|
438
438
|
n,
|
|
439
439
|
e.type,
|