Expand description
In-memory tree representation and full-tree wire format.
See docs/PROTOCOL.md § “Tree representation” for the wire spec.
Each node line is:
<ref> <role> <label> [op[,op]...] [k=v]...…prefixed by two spaces of indent per nesting level. The encoder
emits a canonical form (attributes sorted alphabetically, ops in
source order via std::collections::BTreeSet); the parser is
tolerant of either ordering.