Expand description
A deterministic, human readable dump of the AST.
Used by the snapshot tests and handy when debugging the parser. Source ranges are deliberately left out: they would drown the interesting structure, and span behaviour is covered by its own tests.
Functionsยง
- dump_
expr - Renders a single expression (useful for focused tests).
- dump_
translation_ unit - Renders a whole translation unit.
- type_
to_ string - Renders a type the way the dump does.