Docs.rs
dmc-transform-0.1.0
dmc-transform 0.1.0
Docs.rs crate page
MIT
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
wildduck2
Dependencies
blake3 ^1
normal
optional
dmc-diagnostic ^0.1.0
normal
dmc-highlight ^0.1.0
normal
optional
dmc-lexer ^0.1.0
normal
dmc-parser ^0.1.0
normal
duck-diagnostic ^0.7.1
normal
emojis ^0.8
normal
optional
pulldown-latex ^0.7
normal
optional
serde ^1
normal
serde_json ^1
normal
pretty_assertions ^1
dev
tempfile ^3
dev
katex ^0.4
normal
optional
katex ^0.4
normal
optional
Versions
73.44%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module visit
dmc_
transform
0.1.0
Module visit
Module Items
Enums
Traits
Functions
In crate dmc_
transform
dmc_transform
Module
visit
Copy item path
Source
Enums
§
Node
Action
Result of visiting one node. Walker consumes this when iterating the parent’s children Vec.
Traits
§
Visitor
Implemented by transform passes to react to each node. The default impl keeps every node and recurses, so override only the variants you care about.
Functions
§
walk_
children_
mut
Recurse into the per-variant inner children of
parent
. Leaf variants (Text, InlineCode, CodeBlock, Image, JsxExpression, …) are no-ops.
walk_
root
Drive the visitor over a
Vec<Node>
, honoring every
NodeAction
variant. Replacements aren’t re-visited but are descended into on a later pass if the visitor returns
Keep
.