Expand description
The lowered semantic document graph (manifest §5, §6 stage 2).
Document owns every Node and hands them out through their stable
NodeId. Each node carries a NodeKind, a SourceSpan, a
ContentHash, a StyleId, and an AttrMap of AttrValues.
Structs§
- Document
- The lowered semantic document graph (manifest §5, §6 stage 2).
- Node
- A semantic document node (manifest §5.1).
- NodeId
- Stable identifier for a document node.
- Node
Spec - Blueprint for allocating a node in the document arena.
- StyleId
- Identifier for a resolved style bundle.
Enums§
- Attr
Value - Attribute value carried on a semantic
Node. - Node
Kind - The kinds of nodes Mosaic recognises (manifest §5.1).
Type Aliases§
- AttrMap
- Attribute map carried on each node. Keys are interned strings in a
later iteration; for now plain
Stringkeys are fine for the stub.