@altimateai/ui-components 0.0.77-beta.7 → 0.0.77
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 +24114 -67797
- package/dist/DbtDocsRenderer.js +1 -1
- package/dist/Stack.js +2274 -2824
- package/dist/Switch.js +87 -128
- package/dist/ToggleGroup.js +4788 -5963
- package/dist/_basePickBy.js +60 -60
- package/dist/_baseUniq.js +152 -152
- package/dist/arc.js +53 -53
- package/dist/architectureDiagram-VXUJARFQ.js +4315 -480
- package/dist/assets/icons/index.js +1 -1
- package/dist/blockDiagram-VD42YOAC.js +1 -1
- package/dist/c4Diagram-YG6GDRKO.js +22 -22
- package/dist/channel.js +2 -2
- package/dist/chatbotV2/index.d.ts +19 -57
- package/dist/chatbotV2/index.js +56 -91
- package/dist/chunk-4BX2VUAB.js +1 -1
- package/dist/chunk-55IACEB6.js +2 -2
- package/dist/chunk-B4BG7PRW.js +1 -1
- package/dist/chunk-DI55MBZ5.js +14 -14
- package/dist/chunk-FMBD7UC4.js +1 -1
- package/dist/chunk-QN33PNHL.js +5 -5
- package/dist/chunk-QZHKN3VN.js +1 -1
- package/dist/chunk-TZMSLE5B.js +1 -1
- package/dist/classDiagram-2ON5EDUG.js +1 -1
- package/dist/classDiagram-v2-WZHVMYZB.js +1 -1
- package/dist/cose-bilkent-S5V4N54A.js +2535 -160
- package/dist/dagre-6UL2VRFP.js +101 -101
- package/dist/dayjs.min.js +2 -2
- package/dist/defaultLocale.js +3 -3
- package/dist/diagram-PSM6KHXK.js +414 -198
- package/dist/diagram-QEK2KX5R.js +26 -26
- package/dist/diagram-S2PKOQOG.js +12 -12
- package/dist/erDiagram-Q2GNP2WA.js +1 -1
- package/dist/flowDiagram-NV44I4VS.js +6 -6
- package/dist/ganttDiagram-LVOFAZNH.js +1718 -843
- package/dist/gitGraphDiagram-NY62KEGX.js +13 -13
- package/dist/graph.js +18 -17
- package/dist/index.d.ts +6 -101
- package/dist/index.js +37 -37
- package/dist/index2.js +684 -216
- package/dist/infoDiagram-F6ZHWCRC.js +14 -14
- package/dist/journeyDiagram-XKPGCS4Q.js +1 -1
- package/dist/kanban-definition-3W4ZIXB7.js +42 -42
- package/dist/layout.js +678 -567
- package/dist/lineage/index.js +1315 -1308
- package/dist/linear.js +1 -1
- package/dist/main.css +1 -1
- package/dist/main.js +151 -151
- package/dist/mermaid-parser.core.js +155 -155
- package/dist/mindmap-definition-VGOIOE7T.js +28 -28
- package/dist/pieDiagram-ADFJNKIX.js +108 -68
- package/dist/quadrantDiagram-AYHSOK5B.js +1 -1
- package/dist/redux-toolkit.modern.js +555 -563
- package/dist/requirementDiagram-UZGBJVZJ.js +14 -14
- package/dist/sankeyDiagram-TZEHDZUN.js +622 -229
- package/dist/sequenceDiagram-WL72ISMW.js +1 -1
- package/dist/shadcn/index.d.ts +40 -24
- package/dist/shadcn/index.js +4733 -6547
- package/dist/stateDiagram-FKZM4ZOC.js +33 -33
- package/dist/stateDiagram-v2-4FDKWEC3.js +6 -6
- package/dist/storybook/Typography.stories.tsx +120 -93
- package/dist/timeline-definition-IT6M3QCI.js +63 -63
- package/dist/{types-UHJCpYj0.d.ts → types-ByRPUpXR.d.ts} +116 -25
- package/dist/xychartDiagram-PRI3JC2R.js +491 -449
- package/package.json +1 -1
- package/dist/abap.js +0 -6
- package/dist/actionscript-3.js +0 -6
- package/dist/ada.js +0 -6
- package/dist/andromeeda.js +0 -4
- package/dist/angular-html.js +0 -32
- package/dist/angular-ts.js +0 -21
- package/dist/apache.js +0 -6
- package/dist/apex.js +0 -6
- package/dist/apl.js +0 -16
- package/dist/applescript.js +0 -6
- package/dist/ara.js +0 -6
- package/dist/architectureDiagram-VXUJARFQ2.js +0 -831
- package/dist/asciidoc.js +0 -6
- package/dist/asm.js +0 -6
- package/dist/astro.js +0 -18
- package/dist/aurora-x.js +0 -4
- package/dist/awk.js +0 -6
- package/dist/ayu-dark.js +0 -4
- package/dist/ballerina.js +0 -6
- package/dist/band.js +0 -46
- package/dist/bat.js +0 -6
- package/dist/beancount.js +0 -6
- package/dist/berry.js +0 -6
- package/dist/bibtex.js +0 -6
- package/dist/bicep.js +0 -6
- package/dist/blade.js +0 -20
- package/dist/blockDiagram-VD42YOAC2.js +0 -2266
- package/dist/bsl.js +0 -8
- package/dist/c.js +0 -6
- package/dist/c3.js +0 -6
- package/dist/c4Diagram-YG6GDRKO2.js +0 -1582
- package/dist/cadence.js +0 -6
- package/dist/cairo.js +0 -8
- package/dist/catppuccin-frappe.js +0 -4
- package/dist/catppuccin-latte.js +0 -4
- package/dist/catppuccin-macchiato.js +0 -4
- package/dist/catppuccin-mocha.js +0 -4
- package/dist/chunk-4BX2VUAB2.js +0 -9
- package/dist/chunk-55IACEB62.js +0 -9
- package/dist/chunk-B4BG7PRW2.js +0 -1377
- package/dist/chunk-DI55MBZ52.js +0 -1382
- package/dist/chunk-FMBD7UC42.js +0 -19
- package/dist/chunk-QN33PNHL2.js +0 -20
- package/dist/chunk-QZHKN3VN2.js +0 -15
- package/dist/chunk-TZMSLE5B2.js +0 -64
- package/dist/clarity.js +0 -6
- package/dist/classDiagram-2ON5EDUG2.js +0 -17
- package/dist/classDiagram-v2-WZHVMYZB2.js +0 -17
- package/dist/clojure.js +0 -6
- package/dist/cmake.js +0 -6
- package/dist/cobol.js +0 -10
- package/dist/code-block-37QAKDTI.js +0 -27
- package/dist/codeowners.js +0 -6
- package/dist/codeql.js +0 -6
- package/dist/coffee.js +0 -8
- package/dist/common-lisp.js +0 -6
- package/dist/coq.js +0 -6
- package/dist/cose-bilkent-S5V4N54A2.js +0 -231
- package/dist/cpp.js +0 -18
- package/dist/crystal.js +0 -18
- package/dist/csharp.js +0 -6
- package/dist/css.js +0 -6
- package/dist/csv.js +0 -6
- package/dist/cue.js +0 -6
- package/dist/cypher.js +0 -6
- package/dist/cytoscape-cose-bilkent.js +0 -2380
- package/dist/cytoscape-fcose.js +0 -3840
- package/dist/d.js +0 -6
- package/dist/dagre-6UL2VRFP2.js +0 -447
- package/dist/dark-plus.js +0 -4
- package/dist/dart.js +0 -6
- package/dist/dax.js +0 -6
- package/dist/desktop.js +0 -6
- package/dist/diagram-PSM6KHXK2.js +0 -319
- package/dist/diagram-QEK2KX5R2.js +0 -221
- package/dist/diagram-S2PKOQOG2.js +0 -143
- package/dist/diff.js +0 -6
- package/dist/docker.js +0 -6
- package/dist/dotenv.js +0 -6
- package/dist/dracula-soft.js +0 -4
- package/dist/dracula.js +0 -4
- package/dist/dream-maker.js +0 -6
- package/dist/edge.js +0 -12
- package/dist/elixir.js +0 -8
- package/dist/elm.js +0 -8
- package/dist/emacs-lisp.js +0 -6
- package/dist/erDiagram-Q2GNP2WA2.js +0 -843
- package/dist/erb.js +0 -10
- package/dist/erlang.js +0 -8
- package/dist/everforest-dark.js +0 -4
- package/dist/everforest-light.js +0 -4
- package/dist/fennel.js +0 -6
- package/dist/fish.js +0 -6
- package/dist/flowDiagram-NV44I4VS2.js +0 -1628
- package/dist/fluent.js +0 -6
- package/dist/fortran-fixed-form.js +0 -8
- package/dist/fortran-free-form.js +0 -6
- package/dist/fsharp.js +0 -8
- package/dist/ganttDiagram-JELNMOA3.js +0 -1788
- package/dist/gdresource.js +0 -10
- package/dist/gdscript.js +0 -6
- package/dist/gdshader.js +0 -6
- package/dist/genie.js +0 -6
- package/dist/gherkin.js +0 -6
- package/dist/git-commit.js +0 -8
- package/dist/git-rebase.js +0 -8
- package/dist/gitGraphDiagram-NY62KEGX2.js +0 -713
- package/dist/github-dark-default.js +0 -4
- package/dist/github-dark-dimmed.js +0 -4
- package/dist/github-dark-high-contrast.js +0 -4
- package/dist/github-dark.js +0 -4
- package/dist/github-light-default.js +0 -4
- package/dist/github-light-high-contrast.js +0 -4
- package/dist/github-light.js +0 -4
- package/dist/gleam.js +0 -6
- package/dist/glimmer-js.js +0 -14
- package/dist/glimmer-ts.js +0 -14
- package/dist/glsl.js +0 -8
- package/dist/gn.js +0 -6
- package/dist/gnuplot.js +0 -6
- package/dist/go.js +0 -6
- package/dist/graph2.js +0 -246
- package/dist/graphql.js +0 -14
- package/dist/groovy.js +0 -6
- package/dist/gruvbox-dark-hard.js +0 -4
- package/dist/gruvbox-dark-medium.js +0 -4
- package/dist/gruvbox-dark-soft.js +0 -4
- package/dist/gruvbox-light-hard.js +0 -4
- package/dist/gruvbox-light-medium.js +0 -4
- package/dist/gruvbox-light-soft.js +0 -4
- package/dist/hack.js +0 -10
- package/dist/haml.js +0 -10
- package/dist/handlebars.js +0 -14
- package/dist/haskell.js +0 -6
- package/dist/haxe.js +0 -6
- package/dist/hcl.js +0 -6
- package/dist/hjson.js +0 -6
- package/dist/hlsl.js +0 -6
- package/dist/houston.js +0 -4
- package/dist/html-derivative.js +0 -8
- package/dist/html.js +0 -10
- package/dist/http.js +0 -14
- package/dist/hurl.js +0 -12
- package/dist/hxml.js +0 -8
- package/dist/hy.js +0 -6
- package/dist/imba.js +0 -6
- package/dist/index3.js +0 -689
- package/dist/infoDiagram-WHAUD3N6.js +0 -24
- package/dist/ini.js +0 -6
- package/dist/java.js +0 -6
- package/dist/javascript.js +0 -6
- package/dist/jinja.js +0 -11
- package/dist/jison.js +0 -8
- package/dist/journeyDiagram-XKPGCS4Q2.js +0 -837
- package/dist/json.js +0 -6
- package/dist/json5.js +0 -6
- package/dist/jsonc.js +0 -6
- package/dist/jsonl.js +0 -6
- package/dist/jsonnet.js +0 -6
- package/dist/jssm.js +0 -6
- package/dist/jsx.js +0 -6
- package/dist/julia.js +0 -16
- package/dist/kanagawa-dragon.js +0 -4
- package/dist/kanagawa-lotus.js +0 -4
- package/dist/kanagawa-wave.js +0 -4
- package/dist/kanban-definition-3W4ZIXB72.js +0 -720
- package/dist/katex2.js +0 -11691
- package/dist/kdl.js +0 -6
- package/dist/kotlin.js +0 -6
- package/dist/kusto.js +0 -6
- package/dist/laserwave.js +0 -4
- package/dist/latex.js +0 -8
- package/dist/layout2.js +0 -1224
- package/dist/lean.js +0 -6
- package/dist/less.js +0 -6
- package/dist/light-plus.js +0 -4
- package/dist/liquid.js +0 -14
- package/dist/llvm.js +0 -6
- package/dist/log.js +0 -6
- package/dist/logo.js +0 -6
- package/dist/lua.js +0 -8
- package/dist/luau.js +0 -6
- package/dist/make.js +0 -6
- package/dist/markdown.js +0 -6
- package/dist/marko.js +0 -14
- package/dist/material-theme-darker.js +0 -4
- package/dist/material-theme-lighter.js +0 -4
- package/dist/material-theme-ocean.js +0 -4
- package/dist/material-theme-palenight.js +0 -4
- package/dist/material-theme.js +0 -4
- package/dist/matlab.js +0 -6
- package/dist/mdc.js +0 -12
- package/dist/mdx.js +0 -6
- package/dist/mermaid-4DMBBIKO.js +0 -4
- package/dist/mermaid.js +0 -6
- package/dist/min-dark.js +0 -4
- package/dist/min-light.js +0 -4
- package/dist/mindmap-definition-VGOIOE7T2.js +0 -786
- package/dist/mipsasm.js +0 -6
- package/dist/mojo.js +0 -6
- package/dist/monokai.js +0 -4
- package/dist/moonbit.js +0 -6
- package/dist/move.js +0 -6
- package/dist/narrat.js +0 -6
- package/dist/nextflow.js +0 -6
- package/dist/nginx.js +0 -8
- package/dist/night-owl.js +0 -4
- package/dist/nim.js +0 -20
- package/dist/nix.js +0 -9
- package/dist/nord.js +0 -4
- package/dist/nushell.js +0 -6
- package/dist/objective-c.js +0 -6
- package/dist/objective-cpp.js +0 -6
- package/dist/ocaml.js +0 -6
- package/dist/one-dark-pro.js +0 -4
- package/dist/one-light.js +0 -4
- package/dist/openscad.js +0 -6
- package/dist/pascal.js +0 -6
- package/dist/perl.js +0 -16
- package/dist/php.js +0 -18
- package/dist/pie.js +0 -45
- package/dist/pieDiagram-ADFJNKIX2.js +0 -123
- package/dist/pkl.js +0 -6
- package/dist/plastic.js +0 -4
- package/dist/plsql.js +0 -6
- package/dist/po.js +0 -6
- package/dist/poimandres.js +0 -4
- package/dist/polar.js +0 -6
- package/dist/postcss.js +0 -6
- package/dist/powerquery.js +0 -6
- package/dist/powershell.js +0 -6
- package/dist/prisma.js +0 -6
- package/dist/prolog.js +0 -6
- package/dist/proto.js +0 -6
- package/dist/pug.js +0 -12
- package/dist/puppet.js +0 -6
- package/dist/purescript.js +0 -6
- package/dist/python.js +0 -6
- package/dist/qml.js +0 -8
- package/dist/qmldir.js +0 -6
- package/dist/qss.js +0 -6
- package/dist/quadrantDiagram-AYHSOK5B2.js +0 -1025
- package/dist/r.js +0 -6
- package/dist/racket.js +0 -6
- package/dist/raku.js +0 -6
- package/dist/razor.js +0 -10
- package/dist/red.js +0 -4
- package/dist/reg.js +0 -6
- package/dist/regexp.js +0 -6
- package/dist/rel.js +0 -6
- package/dist/requirementDiagram-UZGBJVZJ2.js +0 -852
- package/dist/riscv.js +0 -6
- package/dist/rose-pine-dawn.js +0 -4
- package/dist/rose-pine-moon.js +0 -4
- package/dist/rose-pine.js +0 -4
- package/dist/rosmsg.js +0 -6
- package/dist/rst.js +0 -22
- package/dist/ruby.js +0 -30
- package/dist/rust.js +0 -6
- package/dist/sankeyDiagram-TZEHDZUN2.js +0 -418
- package/dist/sankeyLinkHorizontal.js +0 -403
- package/dist/sas.js +0 -8
- package/dist/sass.js +0 -6
- package/dist/scala.js +0 -6
- package/dist/scheme.js +0 -6
- package/dist/scss.js +0 -8
- package/dist/sdbl.js +0 -6
- package/dist/sequenceDiagram-WL72ISMW2.js +0 -2523
- package/dist/shaderlab.js +0 -8
- package/dist/shellscript.js +0 -6
- package/dist/shellsession.js +0 -8
- package/dist/slack-dark.js +0 -4
- package/dist/slack-ochin.js +0 -4
- package/dist/smalltalk.js +0 -6
- package/dist/snazzy-light.js +0 -4
- package/dist/solarized-dark.js +0 -4
- package/dist/solarized-light.js +0 -4
- package/dist/solidity.js +0 -6
- package/dist/soy.js +0 -8
- package/dist/sparql.js +0 -8
- package/dist/splunk.js +0 -6
- package/dist/sql.js +0 -6
- package/dist/ssh-config.js +0 -6
- package/dist/stata.js +0 -8
- package/dist/stateDiagram-FKZM4ZOC2.js +0 -264
- package/dist/stateDiagram-v2-4FDKWEC32.js +0 -17
- package/dist/stylus.js +0 -6
- package/dist/svelte.js +0 -14
- package/dist/swift.js +0 -6
- package/dist/synthwave-84.js +0 -4
- package/dist/system-verilog.js +0 -6
- package/dist/systemd.js +0 -6
- package/dist/talonscript.js +0 -6
- package/dist/tasl.js +0 -6
- package/dist/tcl.js +0 -6
- package/dist/templ.js +0 -12
- package/dist/terraform.js +0 -6
- package/dist/tex.js +0 -8
- package/dist/time.js +0 -900
- package/dist/timeline-definition-IT6M3QCI2.js +0 -802
- package/dist/tokyo-night.js +0 -4
- package/dist/toml.js +0 -6
- package/dist/ts-tags.js +0 -41
- package/dist/tsv.js +0 -6
- package/dist/tsx.js +0 -6
- package/dist/turtle.js +0 -6
- package/dist/twig.js +0 -18
- package/dist/typescript.js +0 -6
- package/dist/typespec.js +0 -6
- package/dist/typst.js +0 -6
- package/dist/union.js +0 -8
- package/dist/v.js +0 -6
- package/dist/vala.js +0 -6
- package/dist/vb.js +0 -6
- package/dist/verilog.js +0 -6
- package/dist/vesper.js +0 -4
- package/dist/vhdl.js +0 -6
- package/dist/viml.js +0 -6
- package/dist/vitesse-black.js +0 -4
- package/dist/vitesse-dark.js +0 -4
- package/dist/vitesse-light.js +0 -4
- package/dist/vue-html.js +0 -8
- package/dist/vue-vine.js +0 -18
- package/dist/vue.js +0 -31
- package/dist/vyper.js +0 -6
- package/dist/wasm.js +0 -7
- package/dist/wasm2.js +0 -6
- package/dist/wenyan.js +0 -6
- package/dist/wgsl.js +0 -6
- package/dist/wikitext.js +0 -6
- package/dist/wit.js +0 -6
- package/dist/wolfram.js +0 -6
- package/dist/xml.js +0 -8
- package/dist/xsl.js +0 -8
- package/dist/xychartDiagram-PRI3JC2R2.js +0 -1299
- package/dist/yaml.js +0 -6
- package/dist/zenscript.js +0 -6
- package/dist/zig.js +0 -6
- package/dist/zipObject.js +0 -128
package/dist/d.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
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-6UL2VRFP2.js
DELETED
|
@@ -1,447 +0,0 @@
|
|
|
1
|
-
import { aG as X, cD as j, cE as H, cF as Y, cG as _, aS as i, aM as V, cH as q, cI as K, bq as U, bv as $, br as P, bp as z, cJ as Q, cK as W, cL as Z } from "./CoachForm.js";
|
|
2
|
-
import { G as B } from "./graph2.js";
|
|
3
|
-
import { l as I } from "./layout2.js";
|
|
4
|
-
import { i as x } from "./_baseUniq.js";
|
|
5
|
-
import { c as L } from "./clone.js";
|
|
6
|
-
import { m as A } from "./_basePickBy.js";
|
|
7
|
-
function p(e) {
|
|
8
|
-
var t = {
|
|
9
|
-
options: {
|
|
10
|
-
directed: e.isDirected(),
|
|
11
|
-
multigraph: e.isMultigraph(),
|
|
12
|
-
compound: e.isCompound()
|
|
13
|
-
},
|
|
14
|
-
nodes: ee(e),
|
|
15
|
-
edges: ne(e)
|
|
16
|
-
};
|
|
17
|
-
return x(e.graph()) || (t.value = L(e.graph())), t;
|
|
18
|
-
}
|
|
19
|
-
function ee(e) {
|
|
20
|
-
return A(e.nodes(), function(t) {
|
|
21
|
-
var n = e.node(t), o = e.parent(t), a = { v: t };
|
|
22
|
-
return x(n) || (a.value = n), x(o) || (a.parent = o), a;
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
function ne(e) {
|
|
26
|
-
return A(e.edges(), function(t) {
|
|
27
|
-
var n = e.edge(t), o = { v: t.v, w: t.w };
|
|
28
|
-
return x(t.name) || (o.name = t.name), x(n) || (o.value = n), o;
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
var f = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), G = /* @__PURE__ */ new Map(), te = /* @__PURE__ */ X(() => {
|
|
32
|
-
N.clear(), G.clear(), f.clear();
|
|
33
|
-
}, "clear"), O = /* @__PURE__ */ X((e, t) => {
|
|
34
|
-
const n = N.get(t) || [];
|
|
35
|
-
return i.trace("In isDescendant", t, " ", e, " = ", n.includes(e)), n.includes(e);
|
|
36
|
-
}, "isDescendant"), se = /* @__PURE__ */ X((e, t) => {
|
|
37
|
-
const n = N.get(t) || [];
|
|
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"), J = /* @__PURE__ */ X((e, t, n, o) => {
|
|
40
|
-
i.warn(
|
|
41
|
-
"Copying children of ",
|
|
42
|
-
e,
|
|
43
|
-
"root",
|
|
44
|
-
o,
|
|
45
|
-
"data",
|
|
46
|
-
t.node(e),
|
|
47
|
-
o
|
|
48
|
-
);
|
|
49
|
-
const a = t.children(e) || [];
|
|
50
|
-
e !== o && a.push(e), i.warn("Copying (nodes) clusterId", e, "nodes", a), a.forEach((c) => {
|
|
51
|
-
if (t.children(c).length > 0)
|
|
52
|
-
J(c, t, n, o);
|
|
53
|
-
else {
|
|
54
|
-
const r = t.node(c);
|
|
55
|
-
i.info("cp ", c, " to ", o, " with parent ", e), n.setNode(c, r), o !== t.parent(c) && (i.warn("Setting parent", c, t.parent(c)), n.setParent(c, t.parent(c))), e !== o && c !== e ? (i.debug("Setting parent", c, e), n.setParent(c, e)) : (i.info("In copy ", e, "root", o, "data", t.node(e), o), i.debug(
|
|
56
|
-
"Not Setting parent for node=",
|
|
57
|
-
c,
|
|
58
|
-
"cluster!==rootId",
|
|
59
|
-
e !== o,
|
|
60
|
-
"node!==clusterId",
|
|
61
|
-
c !== e
|
|
62
|
-
));
|
|
63
|
-
const u = t.edges(c);
|
|
64
|
-
i.debug("Copying Edges", u), u.forEach((l) => {
|
|
65
|
-
i.info("Edge", l);
|
|
66
|
-
const h = t.edge(l.v, l.w, l.name);
|
|
67
|
-
i.info("Edge data", h, o);
|
|
68
|
-
try {
|
|
69
|
-
se(l, o) ? (i.info("Copying as ", l.v, l.w, h, l.name), n.setEdge(l.v, l.w, h, l.name), i.info("newGraph edges ", n.edges(), n.edge(n.edges()[0]))) : i.info(
|
|
70
|
-
"Skipping copy of edge ",
|
|
71
|
-
l.v,
|
|
72
|
-
"-->",
|
|
73
|
-
l.w,
|
|
74
|
-
" rootId: ",
|
|
75
|
-
o,
|
|
76
|
-
" clusterId:",
|
|
77
|
-
e
|
|
78
|
-
);
|
|
79
|
-
} catch (C) {
|
|
80
|
-
i.error(C);
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
i.debug("Removing node", c), t.removeNode(c);
|
|
85
|
-
});
|
|
86
|
-
}, "copy"), R = /* @__PURE__ */ X((e, t) => {
|
|
87
|
-
const n = t.children(e);
|
|
88
|
-
let o = [...n];
|
|
89
|
-
for (const a of n)
|
|
90
|
-
G.set(a, e), o = [...o, ...R(a, t)];
|
|
91
|
-
return o;
|
|
92
|
-
}, "extractDescendants"), ie = /* @__PURE__ */ X((e, t, n) => {
|
|
93
|
-
const o = e.edges().filter((l) => l.v === t || l.w === t), a = e.edges().filter((l) => l.v === n || l.w === n), c = o.map((l) => ({ v: l.v === t ? n : l.v, w: l.w === t ? t : l.w })), r = a.map((l) => ({ v: l.v, w: l.w }));
|
|
94
|
-
return c.filter((l) => r.some((h) => l.v === h.v && l.w === h.w));
|
|
95
|
-
}, "findCommonEdges"), D = /* @__PURE__ */ X((e, t, n) => {
|
|
96
|
-
const o = t.children(e);
|
|
97
|
-
if (i.trace("Searching children of id ", e, o), o.length < 1)
|
|
98
|
-
return e;
|
|
99
|
-
let a;
|
|
100
|
-
for (const c of o) {
|
|
101
|
-
const r = D(c, t, n), u = ie(t, n, r);
|
|
102
|
-
if (r)
|
|
103
|
-
if (u.length > 0)
|
|
104
|
-
a = r;
|
|
105
|
-
else
|
|
106
|
-
return r;
|
|
107
|
-
}
|
|
108
|
-
return a;
|
|
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
|
-
if (!e || t > 10) {
|
|
111
|
-
i.debug("Opting out, no graph ");
|
|
112
|
-
return;
|
|
113
|
-
} else
|
|
114
|
-
i.debug("Opting in, graph ");
|
|
115
|
-
e.nodes().forEach(function(n) {
|
|
116
|
-
e.children(n).length > 0 && (i.warn(
|
|
117
|
-
"Cluster identified",
|
|
118
|
-
n,
|
|
119
|
-
" Replacement id in edges: ",
|
|
120
|
-
D(n, e, n)
|
|
121
|
-
), N.set(n, R(n, e)), f.set(n, { id: D(n, e, n), clusterData: e.node(n) }));
|
|
122
|
-
}), e.nodes().forEach(function(n) {
|
|
123
|
-
const o = e.children(n), a = e.edges();
|
|
124
|
-
o.length > 0 ? (i.debug("Cluster identified", n, N), a.forEach((c) => {
|
|
125
|
-
const r = O(c.v, n), u = O(c.w, n);
|
|
126
|
-
r ^ u && (i.warn("Edge: ", c, " leaves cluster ", n), i.warn("Descendants of XXX ", n, ": ", N.get(n)), f.get(n).externalConnections = !0);
|
|
127
|
-
})) : i.debug("Not a cluster ", n, N);
|
|
128
|
-
});
|
|
129
|
-
for (let n of f.keys()) {
|
|
130
|
-
const o = f.get(n).id, a = e.parent(o);
|
|
131
|
-
a !== n && f.has(a) && !f.get(a).externalConnections && (f.get(n).id = a);
|
|
132
|
-
}
|
|
133
|
-
e.edges().forEach(function(n) {
|
|
134
|
-
const o = e.edge(n);
|
|
135
|
-
i.warn("Edge " + n.v + " -> " + n.w + ": " + JSON.stringify(n)), i.warn("Edge " + n.v + " -> " + n.w + ": " + JSON.stringify(e.edge(n)));
|
|
136
|
-
let a = n.v, c = n.w;
|
|
137
|
-
if (i.warn(
|
|
138
|
-
"Fix XXX",
|
|
139
|
-
f,
|
|
140
|
-
"ids:",
|
|
141
|
-
n.v,
|
|
142
|
-
n.w,
|
|
143
|
-
"Translating: ",
|
|
144
|
-
f.get(n.v),
|
|
145
|
-
" --- ",
|
|
146
|
-
f.get(n.w)
|
|
147
|
-
), f.get(n.v) || f.get(n.w)) {
|
|
148
|
-
if (i.warn("Fixing and trying - removing XXX", n.v, n.w, n.name), a = k(n.v), c = k(n.w), e.removeEdge(n.v, n.w, n.name), a !== n.v) {
|
|
149
|
-
const r = e.parent(a);
|
|
150
|
-
f.get(r).externalConnections = !0, o.fromCluster = n.v;
|
|
151
|
-
}
|
|
152
|
-
if (c !== n.w) {
|
|
153
|
-
const r = e.parent(c);
|
|
154
|
-
f.get(r).externalConnections = !0, o.toCluster = n.w;
|
|
155
|
-
}
|
|
156
|
-
i.warn("Fix Replacing with XXX", a, c, n.name), e.setEdge(a, c, o, n.name);
|
|
157
|
-
}
|
|
158
|
-
}), i.warn("Adjusted Graph", p(e)), T(e, 0), i.trace(f);
|
|
159
|
-
}, "adjustClustersAndEdges"), T = /* @__PURE__ */ X((e, t) => {
|
|
160
|
-
var a, c;
|
|
161
|
-
if (i.warn("extractor - ", t, p(e), e.children("D")), t > 10) {
|
|
162
|
-
i.error("Bailing out");
|
|
163
|
-
return;
|
|
164
|
-
}
|
|
165
|
-
let n = e.nodes(), o = !1;
|
|
166
|
-
for (const r of n) {
|
|
167
|
-
const u = e.children(r);
|
|
168
|
-
o = o || u.length > 0;
|
|
169
|
-
}
|
|
170
|
-
if (!o) {
|
|
171
|
-
i.debug("Done, no node has children", e.nodes());
|
|
172
|
-
return;
|
|
173
|
-
}
|
|
174
|
-
i.debug("Nodes = ", n, t);
|
|
175
|
-
for (const r of n)
|
|
176
|
-
if (i.debug(
|
|
177
|
-
"Extracting node",
|
|
178
|
-
r,
|
|
179
|
-
f,
|
|
180
|
-
f.has(r) && !f.get(r).externalConnections,
|
|
181
|
-
!e.parent(r),
|
|
182
|
-
e.node(r),
|
|
183
|
-
e.children("D"),
|
|
184
|
-
" Depth ",
|
|
185
|
-
t
|
|
186
|
-
), !f.has(r))
|
|
187
|
-
i.debug("Not a cluster", r, t);
|
|
188
|
-
else if (!f.get(r).externalConnections && e.children(r) && e.children(r).length > 0) {
|
|
189
|
-
i.warn(
|
|
190
|
-
"Cluster without external connections, without a parent and with children",
|
|
191
|
-
r,
|
|
192
|
-
t
|
|
193
|
-
);
|
|
194
|
-
let l = e.graph().rankdir === "TB" ? "LR" : "TB";
|
|
195
|
-
(c = (a = f.get(r)) == null ? void 0 : a.clusterData) != null && c.dir && (l = f.get(r).clusterData.dir, i.warn("Fixing dir", f.get(r).clusterData.dir, l));
|
|
196
|
-
const h = new B({
|
|
197
|
-
multigraph: !0,
|
|
198
|
-
compound: !0
|
|
199
|
-
}).setGraph({
|
|
200
|
-
rankdir: l,
|
|
201
|
-
nodesep: 50,
|
|
202
|
-
ranksep: 50,
|
|
203
|
-
marginx: 8,
|
|
204
|
-
marginy: 8
|
|
205
|
-
}).setDefaultEdgeLabel(function() {
|
|
206
|
-
return {};
|
|
207
|
-
});
|
|
208
|
-
i.warn("Old graph before copy", p(e)), J(r, e, h, r), e.setNode(r, {
|
|
209
|
-
clusterNode: !0,
|
|
210
|
-
id: r,
|
|
211
|
-
clusterData: f.get(r).clusterData,
|
|
212
|
-
label: f.get(r).label,
|
|
213
|
-
graph: h
|
|
214
|
-
}), i.warn("New graph after copy node: (", r, ")", p(h)), i.debug("Old graph after copy", p(e));
|
|
215
|
-
} else
|
|
216
|
-
i.warn(
|
|
217
|
-
"Cluster ** ",
|
|
218
|
-
r,
|
|
219
|
-
" **not meeting the criteria !externalConnections:",
|
|
220
|
-
!f.get(r).externalConnections,
|
|
221
|
-
" no parent: ",
|
|
222
|
-
!e.parent(r),
|
|
223
|
-
" children ",
|
|
224
|
-
e.children(r) && e.children(r).length > 0,
|
|
225
|
-
e.children("D"),
|
|
226
|
-
t
|
|
227
|
-
), i.debug(f);
|
|
228
|
-
n = e.nodes(), i.warn("New list of nodes", n);
|
|
229
|
-
for (const r of n) {
|
|
230
|
-
const u = e.node(r);
|
|
231
|
-
i.warn(" Now next level", r, u), u != null && u.clusterNode && T(u.graph, t + 1);
|
|
232
|
-
}
|
|
233
|
-
}, "extractor"), M = /* @__PURE__ */ X((e, t) => {
|
|
234
|
-
if (t.length === 0)
|
|
235
|
-
return [];
|
|
236
|
-
let n = Object.assign([], t);
|
|
237
|
-
return t.forEach((o) => {
|
|
238
|
-
const a = e.children(o), c = M(e, a);
|
|
239
|
-
n = [...n, ...c];
|
|
240
|
-
}), n;
|
|
241
|
-
}, "sorter"), oe = /* @__PURE__ */ X((e) => M(e, e.children()), "sortNodesByHierarchy"), F = /* @__PURE__ */ X(async (e, t, n, o, a, c) => {
|
|
242
|
-
i.warn("Graph in recursive render:XAX", p(t), a);
|
|
243
|
-
const r = t.graph().rankdir;
|
|
244
|
-
i.trace("Dir in recursive render - dir:", r);
|
|
245
|
-
const u = e.insert("g").attr("class", "root");
|
|
246
|
-
t.nodes() ? i.info("Recursive render XXX", t.nodes()) : i.info("No nodes found for", t), t.edges().length > 0 && i.info("Recursive edges", t.edge(t.edges()[0]));
|
|
247
|
-
const l = u.insert("g").attr("class", "clusters"), h = u.insert("g").attr("class", "edgePaths"), C = u.insert("g").attr("class", "edgeLabels"), g = u.insert("g").attr("class", "nodes");
|
|
248
|
-
await Promise.all(
|
|
249
|
-
t.nodes().map(async function(d) {
|
|
250
|
-
const s = t.node(d);
|
|
251
|
-
if (a !== void 0) {
|
|
252
|
-
const w = JSON.parse(JSON.stringify(a.clusterData));
|
|
253
|
-
i.trace(
|
|
254
|
-
`Setting data for parent cluster XXX
|
|
255
|
-
Node.id = `,
|
|
256
|
-
d,
|
|
257
|
-
`
|
|
258
|
-
data=`,
|
|
259
|
-
w.height,
|
|
260
|
-
`
|
|
261
|
-
Parent cluster`,
|
|
262
|
-
a.height
|
|
263
|
-
), t.setNode(a.id, w), t.parent(d) || (i.trace("Setting parent", d, a.id), t.setParent(d, a.id, w));
|
|
264
|
-
}
|
|
265
|
-
if (i.info("(Insert) Node XXX" + d + ": " + JSON.stringify(t.node(d))), s != null && s.clusterNode) {
|
|
266
|
-
i.info("Cluster identified XBX", d, s.width, t.node(d));
|
|
267
|
-
const { ranksep: w, nodesep: m } = t.graph();
|
|
268
|
-
s.graph.setGraph({
|
|
269
|
-
...s.graph.graph(),
|
|
270
|
-
ranksep: w + 25,
|
|
271
|
-
nodesep: m
|
|
272
|
-
});
|
|
273
|
-
const b = await F(
|
|
274
|
-
g,
|
|
275
|
-
s.graph,
|
|
276
|
-
n,
|
|
277
|
-
o,
|
|
278
|
-
t.node(d),
|
|
279
|
-
c
|
|
280
|
-
), S = b.elem;
|
|
281
|
-
q(s, S), s.diff = b.diff || 0, i.info(
|
|
282
|
-
"New compound node after recursive render XAX",
|
|
283
|
-
d,
|
|
284
|
-
"width",
|
|
285
|
-
// node,
|
|
286
|
-
s.width,
|
|
287
|
-
"height",
|
|
288
|
-
s.height
|
|
289
|
-
// node.x,
|
|
290
|
-
// node.y
|
|
291
|
-
), K(S, s);
|
|
292
|
-
} else
|
|
293
|
-
t.children(d).length > 0 ? (i.trace(
|
|
294
|
-
"Cluster - the non recursive path XBX",
|
|
295
|
-
d,
|
|
296
|
-
s.id,
|
|
297
|
-
s,
|
|
298
|
-
s.width,
|
|
299
|
-
"Graph:",
|
|
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 U(g, t.node(d), { config: c, dir: r }));
|
|
302
|
-
})
|
|
303
|
-
), await (/* @__PURE__ */ X(async () => {
|
|
304
|
-
const d = t.edges().map(async function(s) {
|
|
305
|
-
const w = t.edge(s.v, s.w, s.name);
|
|
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(
|
|
307
|
-
"Fix",
|
|
308
|
-
f,
|
|
309
|
-
"ids:",
|
|
310
|
-
s.v,
|
|
311
|
-
s.w,
|
|
312
|
-
"Translating: ",
|
|
313
|
-
f.get(s.v),
|
|
314
|
-
f.get(s.w)
|
|
315
|
-
), await Z(C, w);
|
|
316
|
-
});
|
|
317
|
-
await Promise.all(d);
|
|
318
|
-
}, "processEdges"))(), i.info("Graph before layout:", JSON.stringify(p(t))), i.info("############################################# XXX"), i.info("### Layout ### XXX"), i.info("############################################# XXX"), I(t), i.info("Graph after layout:", JSON.stringify(p(t)));
|
|
319
|
-
let E = 0, { subGraphTitleTotalMargin: y } = $(c);
|
|
320
|
-
return await Promise.all(
|
|
321
|
-
oe(t).map(async function(d) {
|
|
322
|
-
var w;
|
|
323
|
-
const s = t.node(d);
|
|
324
|
-
if (i.info(
|
|
325
|
-
"Position XBX => " + d + ": (" + s.x,
|
|
326
|
-
"," + s.y,
|
|
327
|
-
") width: ",
|
|
328
|
-
s.width,
|
|
329
|
-
" height: ",
|
|
330
|
-
s.height
|
|
331
|
-
), s != null && s.clusterNode)
|
|
332
|
-
s.y += y, i.info(
|
|
333
|
-
"A tainted cluster node XBX1",
|
|
334
|
-
d,
|
|
335
|
-
s.id,
|
|
336
|
-
s.width,
|
|
337
|
-
s.height,
|
|
338
|
-
s.x,
|
|
339
|
-
s.y,
|
|
340
|
-
t.parent(d)
|
|
341
|
-
), f.get(s.id).node = s, P(s);
|
|
342
|
-
else if (t.children(d).length > 0) {
|
|
343
|
-
i.info(
|
|
344
|
-
"A pure cluster node XBX1",
|
|
345
|
-
d,
|
|
346
|
-
s.id,
|
|
347
|
-
s.x,
|
|
348
|
-
s.y,
|
|
349
|
-
s.width,
|
|
350
|
-
s.height,
|
|
351
|
-
t.parent(d)
|
|
352
|
-
), s.height += y, t.node(s.parentId);
|
|
353
|
-
const m = (s == null ? void 0 : s.padding) / 2 || 0, b = ((w = s == null ? void 0 : s.labelBBox) == null ? void 0 : w.height) || 0, S = b - m || 0;
|
|
354
|
-
i.debug("OffsetY", S, "labelHeight", b, "halfPadding", m), await z(l, s), f.get(s.id).node = s;
|
|
355
|
-
} else {
|
|
356
|
-
const m = t.node(s.parentId);
|
|
357
|
-
s.y += y / 2, i.info(
|
|
358
|
-
"A regular node XBX1 - using the padding",
|
|
359
|
-
s.id,
|
|
360
|
-
"parent",
|
|
361
|
-
s.parentId,
|
|
362
|
-
s.width,
|
|
363
|
-
s.height,
|
|
364
|
-
s.x,
|
|
365
|
-
s.y,
|
|
366
|
-
"offsetY",
|
|
367
|
-
s.offsetY,
|
|
368
|
-
"parent",
|
|
369
|
-
m,
|
|
370
|
-
m == null ? void 0 : m.offsetY,
|
|
371
|
-
s
|
|
372
|
-
), P(s);
|
|
373
|
-
}
|
|
374
|
-
})
|
|
375
|
-
), t.edges().forEach(function(d) {
|
|
376
|
-
const s = t.edge(d);
|
|
377
|
-
i.info("Edge " + d.v + " -> " + d.w + ": " + JSON.stringify(s), s), s.points.forEach((S) => S.y += y / 2);
|
|
378
|
-
const w = t.node(d.v);
|
|
379
|
-
var m = t.node(d.w);
|
|
380
|
-
const b = Q(h, s, f, n, w, m, o);
|
|
381
|
-
W(s, b);
|
|
382
|
-
}), t.nodes().forEach(function(d) {
|
|
383
|
-
const s = t.node(d);
|
|
384
|
-
i.info(d, s.type, s.diff), s.isGroup && (E = s.diff);
|
|
385
|
-
}), i.warn("Returning from recursive render XAX", u, E), { elem: u, diff: E };
|
|
386
|
-
}, "recursiveRender"), ge = /* @__PURE__ */ X(async (e, t) => {
|
|
387
|
-
var c, r, u, l, h, C;
|
|
388
|
-
const n = new B({
|
|
389
|
-
multigraph: !0,
|
|
390
|
-
compound: !0
|
|
391
|
-
}).setGraph({
|
|
392
|
-
rankdir: e.direction,
|
|
393
|
-
nodesep: ((c = e.config) == null ? void 0 : c.nodeSpacing) || ((u = (r = e.config) == null ? void 0 : r.flowchart) == null ? void 0 : u.nodeSpacing) || e.nodeSpacing,
|
|
394
|
-
ranksep: ((l = e.config) == null ? void 0 : l.rankSpacing) || ((C = (h = e.config) == null ? void 0 : h.flowchart) == null ? void 0 : C.rankSpacing) || e.rankSpacing,
|
|
395
|
-
marginx: 8,
|
|
396
|
-
marginy: 8
|
|
397
|
-
}).setDefaultEdgeLabel(function() {
|
|
398
|
-
return {};
|
|
399
|
-
}), o = t.select("g");
|
|
400
|
-
j(o, e.markers, e.type, e.diagramId), H(), Y(), _(), te(), e.nodes.forEach((g) => {
|
|
401
|
-
n.setNode(g.id, { ...g }), g.parentId && n.setParent(g.id, g.parentId);
|
|
402
|
-
}), i.debug("Edges:", e.edges), e.edges.forEach((g) => {
|
|
403
|
-
if (g.start === g.end) {
|
|
404
|
-
const v = g.start, E = v + "---" + v + "---1", y = v + "---" + v + "---2", d = n.node(v);
|
|
405
|
-
n.setNode(E, {
|
|
406
|
-
domId: E,
|
|
407
|
-
id: E,
|
|
408
|
-
parentId: d.parentId,
|
|
409
|
-
labelStyle: "",
|
|
410
|
-
label: "",
|
|
411
|
-
padding: 0,
|
|
412
|
-
shape: "labelRect",
|
|
413
|
-
// shape: 'rect',
|
|
414
|
-
style: "",
|
|
415
|
-
width: 10,
|
|
416
|
-
height: 10
|
|
417
|
-
}), n.setParent(E, d.parentId), n.setNode(y, {
|
|
418
|
-
domId: y,
|
|
419
|
-
id: y,
|
|
420
|
-
parentId: d.parentId,
|
|
421
|
-
labelStyle: "",
|
|
422
|
-
padding: 0,
|
|
423
|
-
// shape: 'rect',
|
|
424
|
-
shape: "labelRect",
|
|
425
|
-
label: "",
|
|
426
|
-
style: "",
|
|
427
|
-
width: 10,
|
|
428
|
-
height: 10
|
|
429
|
-
}), n.setParent(y, d.parentId);
|
|
430
|
-
const s = structuredClone(g), w = structuredClone(g), m = structuredClone(g);
|
|
431
|
-
s.label = "", s.arrowTypeEnd = "none", s.id = v + "-cyclic-special-1", w.arrowTypeStart = "none", w.arrowTypeEnd = "none", w.id = v + "-cyclic-special-mid", m.label = "", d.isGroup && (s.fromCluster = v, m.toCluster = v), m.id = v + "-cyclic-special-2", m.arrowTypeStart = "none", n.setEdge(v, E, s, v + "-cyclic-special-0"), n.setEdge(E, y, w, v + "-cyclic-special-1"), n.setEdge(y, v, m, v + "-cyc<lic-special-2");
|
|
432
|
-
} else
|
|
433
|
-
n.setEdge(g.start, g.end, { ...g }, g.id);
|
|
434
|
-
}), i.warn("Graph at first:", JSON.stringify(p(n))), re(n), i.warn("Graph after XAX:", JSON.stringify(p(n)));
|
|
435
|
-
const a = V();
|
|
436
|
-
await F(
|
|
437
|
-
o,
|
|
438
|
-
n,
|
|
439
|
-
e.type,
|
|
440
|
-
e.diagramId,
|
|
441
|
-
void 0,
|
|
442
|
-
a
|
|
443
|
-
);
|
|
444
|
-
}, "render");
|
|
445
|
-
export {
|
|
446
|
-
ge as render
|
|
447
|
-
};
|
package/dist/dark-plus.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
const e = Object.freeze(JSON.parse('{"colors":{"actionBar.toggledBackground":"#383a49","activityBarBadge.background":"#007ACC","checkbox.border":"#6B6B6B","editor.background":"#1E1E1E","editor.foreground":"#D4D4D4","editor.inactiveSelectionBackground":"#3A3D41","editor.selectionHighlightBackground":"#ADD6FF26","editorIndentGuide.activeBackground1":"#707070","editorIndentGuide.background1":"#404040","input.placeholderForeground":"#A6A6A6","list.activeSelectionIconForeground":"#FFF","list.dropBackground":"#383B3D","menu.background":"#252526","menu.border":"#454545","menu.foreground":"#CCCCCC","menu.selectionBackground":"#0078d4","menu.separatorBackground":"#454545","ports.iconRunningProcessForeground":"#369432","sideBarSectionHeader.background":"#0000","sideBarSectionHeader.border":"#ccc3","sideBarTitle.foreground":"#BBBBBB","statusBarItem.remoteBackground":"#16825D","statusBarItem.remoteForeground":"#FFF","tab.lastPinnedBorder":"#ccc3","tab.selectedBackground":"#222222","tab.selectedForeground":"#ffffffa0","terminal.inactiveSelectionBackground":"#3A3D41","widget.border":"#303031"},"displayName":"Dark Plus","name":"dark-plus","semanticHighlighting":true,"semanticTokenColors":{"customLiteral":"#DCDCAA","newOperator":"#C586C0","numberLiteral":"#b5cea8","stringLiteral":"#ce9178"},"tokenColors":[{"scope":["meta.embedded","source.groovy.embedded","string meta.image.inline.markdown","variable.legacy.builtin.python"],"settings":{"foreground":"#D4D4D4"}},{"scope":"emphasis","settings":{"fontStyle":"italic"}},{"scope":"strong","settings":{"fontStyle":"bold"}},{"scope":"header","settings":{"foreground":"#000080"}},{"scope":"comment","settings":{"foreground":"#6A9955"}},{"scope":"constant.language","settings":{"foreground":"#569cd6"}},{"scope":["constant.numeric","variable.other.enummember","keyword.operator.plus.exponent","keyword.operator.minus.exponent"],"settings":{"foreground":"#b5cea8"}},{"scope":"constant.regexp","settings":{"foreground":"#646695"}},{"scope":"entity.name.tag","settings":{"foreground":"#569cd6"}},{"scope":["entity.name.tag.css","entity.name.tag.less"],"settings":{"foreground":"#d7ba7d"}},{"scope":"entity.other.attribute-name","settings":{"foreground":"#9cdcfe"}},{"scope":["entity.other.attribute-name.class.css","source.css entity.other.attribute-name.class","entity.other.attribute-name.id.css","entity.other.attribute-name.parent-selector.css","entity.other.attribute-name.parent.less","source.css entity.other.attribute-name.pseudo-class","entity.other.attribute-name.pseudo-element.css","source.css.less entity.other.attribute-name.id","entity.other.attribute-name.scss"],"settings":{"foreground":"#d7ba7d"}},{"scope":"invalid","settings":{"foreground":"#f44747"}},{"scope":"markup.underline","settings":{"fontStyle":"underline"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#569cd6"}},{"scope":"markup.heading","settings":{"fontStyle":"bold","foreground":"#569cd6"}},{"scope":"markup.italic","settings":{"fontStyle":"italic"}},{"scope":"markup.strikethrough","settings":{"fontStyle":"strikethrough"}},{"scope":"markup.inserted","settings":{"foreground":"#b5cea8"}},{"scope":"markup.deleted","settings":{"foreground":"#ce9178"}},{"scope":"markup.changed","settings":{"foreground":"#569cd6"}},{"scope":"punctuation.definition.quote.begin.markdown","settings":{"foreground":"#6A9955"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#6796e6"}},{"scope":"markup.inline.raw","settings":{"foreground":"#ce9178"}},{"scope":"punctuation.definition.tag","settings":{"foreground":"#808080"}},{"scope":["meta.preprocessor","entity.name.function.preprocessor"],"settings":{"foreground":"#569cd6"}},{"scope":"meta.preprocessor.string","settings":{"foreground":"#ce9178"}},{"scope":"meta.preprocessor.numeric","settings":{"foreground":"#b5cea8"}},{"scope":"meta.structure.dictionary.key.python","settings":{"foreground":"#9cdcfe"}},{"scope":"meta.diff.header","settings":{"foreground":"#569cd6"}},{"scope":"storage","settings":{"foreground":"#569cd6"}},{"scope":"storage.type","settings":{"foreground":"#569cd6"}},{"scope":["storage.modifier","keyword.operator.noexcept"],"settings":{"foreground":"#569cd6"}},{"scope":["string","meta.embedded.assembly"],"settings":{"foreground":"#ce9178"}},{"scope":"string.tag","settings":{"foreground":"#ce9178"}},{"scope":"string.value","settings":{"foreground":"#ce9178"}},{"scope":"string.regexp","settings":{"foreground":"#d16969"}},{"scope":["punctuation.definition.template-expression.begin","punctuation.definition.template-expression.end","punctuation.section.embedded"],"settings":{"foreground":"#569cd6"}},{"scope":["meta.template.expression"],"settings":{"foreground":"#d4d4d4"}},{"scope":["support.type.vendored.property-name","support.type.property-name","source.css variable","source.coffee.embedded"],"settings":{"foreground":"#9cdcfe"}},{"scope":"keyword","settings":{"foreground":"#569cd6"}},{"scope":"keyword.control","settings":{"foreground":"#569cd6"}},{"scope":"keyword.operator","settings":{"foreground":"#d4d4d4"}},{"scope":["keyword.operator.new","keyword.operator.expression","keyword.operator.cast","keyword.operator.sizeof","keyword.operator.alignof","keyword.operator.typeid","keyword.operator.alignas","keyword.operator.instanceof","keyword.operator.logical.python","keyword.operator.wordlike"],"settings":{"foreground":"#569cd6"}},{"scope":"keyword.other.unit","settings":{"foreground":"#b5cea8"}},{"scope":["punctuation.section.embedded.begin.php","punctuation.section.embedded.end.php"],"settings":{"foreground":"#569cd6"}},{"scope":"support.function.git-rebase","settings":{"foreground":"#9cdcfe"}},{"scope":"constant.sha.git-rebase","settings":{"foreground":"#b5cea8"}},{"scope":["storage.modifier.import.java","variable.language.wildcard.java","storage.modifier.package.java"],"settings":{"foreground":"#d4d4d4"}},{"scope":"variable.language","settings":{"foreground":"#569cd6"}},{"scope":["entity.name.function","support.function","support.constant.handlebars","source.powershell variable.other.member","entity.name.operator.custom-literal"],"settings":{"foreground":"#DCDCAA"}},{"scope":["support.class","support.type","entity.name.type","entity.name.namespace","entity.other.attribute","entity.name.scope-resolution","entity.name.class","storage.type.numeric.go","storage.type.byte.go","storage.type.boolean.go","storage.type.string.go","storage.type.uintptr.go","storage.type.error.go","storage.type.rune.go","storage.type.cs","storage.type.generic.cs","storage.type.modifier.cs","storage.type.variable.cs","storage.type.annotation.java","storage.type.generic.java","storage.type.java","storage.type.object.array.java","storage.type.primitive.array.java","storage.type.primitive.java","storage.type.token.java","storage.type.groovy","storage.type.annotation.groovy","storage.type.parameters.groovy","storage.type.generic.groovy","storage.type.object.array.groovy","storage.type.primitive.array.groovy","storage.type.primitive.groovy"],"settings":{"foreground":"#4EC9B0"}},{"scope":["meta.type.cast.expr","meta.type.new.expr","support.constant.math","support.constant.dom","support.constant.json","entity.other.inherited-class","punctuation.separator.namespace.ruby"],"settings":{"foreground":"#4EC9B0"}},{"scope":["keyword.control","source.cpp keyword.operator.new","keyword.operator.delete","keyword.other.using","keyword.other.directive.using","keyword.other.operator","entity.name.operator"],"settings":{"foreground":"#C586C0"}},{"scope":["variable","meta.definition.variable.name","support.variable","entity.name.variable","constant.other.placeholder"],"settings":{"foreground":"#9CDCFE"}},{"scope":["variable.other.constant","variable.other.enummember"],"settings":{"foreground":"#4FC1FF"}},{"scope":["meta.object-literal.key"],"settings":{"foreground":"#9CDCFE"}},{"scope":["support.constant.property-value","support.constant.font-name","support.constant.media-type","support.constant.media","constant.other.color.rgb-value","constant.other.rgb-value","support.constant.color"],"settings":{"foreground":"#CE9178"}},{"scope":["punctuation.definition.group.regexp","punctuation.definition.group.assertion.regexp","punctuation.definition.character-class.regexp","punctuation.character.set.begin.regexp","punctuation.character.set.end.regexp","keyword.operator.negation.regexp","support.other.parenthesis.regexp"],"settings":{"foreground":"#CE9178"}},{"scope":["constant.character.character-class.regexp","constant.other.character-class.set.regexp","constant.other.character-class.regexp","constant.character.set.regexp"],"settings":{"foreground":"#d16969"}},{"scope":["keyword.operator.or.regexp","keyword.control.anchor.regexp"],"settings":{"foreground":"#DCDCAA"}},{"scope":"keyword.operator.quantifier.regexp","settings":{"foreground":"#d7ba7d"}},{"scope":["constant.character","constant.other.option"],"settings":{"foreground":"#569cd6"}},{"scope":"constant.character.escape","settings":{"foreground":"#d7ba7d"}},{"scope":"entity.name.label","settings":{"foreground":"#C8C8C8"}}],"type":"dark"}'));
|
|
2
|
-
export {
|
|
3
|
-
e as default
|
|
4
|
-
};
|