Expand description
KDL-node-tree → Zenith AST transform.
All fallible helpers return Result<_, ParseError> so no .unwrap() or
.expect() appears anywhere in this module tree.
Wiring only: submodules carry the logic, grouped by node cohesion.
helpers: shared span/value-extraction helpers.document: the top-leveltransformentry plus the document-level structural blocks (project/assets/libraries/…/pages).tokens: thetokens { … }andstyles { … }blocks.node: the per-node-kind dispatch edge (node::transform_node).page:page { … }block transform andPAGE_KNOWN_PROPS.pattern:patternnode transform.chart:chartnode transform.leaf/container/special: the renderable node transforms.
Functions§
- transform
- Transform a parsed
KdlDocumentinto a ZenithDocumentAST.