Modules§
Enums§
Functions§
- emit_
str_ to_ out_ dir - Generates typed AST code from a
node-types.jsonstring and writes it to$OUT_DIR. - emit_
to_ out_ dir - Reads a
node-types.jsonfile, generates typed AST code, and writes it to$OUT_DIR. - format
- Formats a
TokenStreaminto pretty-printed Rust source code. - generate
- Generates a
TokenStreamof typed AST definitions from the contents of anode-types.json. - generate_
to_ string - Generates typed AST code from
node-types.jsoncontents and returns it as formatted Rust source.