third_party_rust_syn/codegen
2021-01-05 13:02:34 -08:00
..
src Handle path attr in internal code generator 2021-01-05 13:02:34 -08:00
Cargo.toml Update internal code generator to rustfmt 2.0.0-rc.2 2020-12-31 21:39:29 -08:00
README.md Briefer ast traversal trait names 2018-01-06 13:48:05 -08:00
rust-toolchain Update internal code generator to rustfmt 2.0.0-rc.2 2020-12-31 21:39:29 -08:00

syn_codegen

This is an internal (not published on crates.io) crate which is used to generate the files in the gen/ directory of syn. It is used to ensure that the implementations for Fold, Visit, and VisitMut remain in sync with the actual AST.

To run this program, run cargo run in this directory, and the gen/ folder will be re-generated.

This program is slow, and is therefore not run when building syn as part of the build script to save on compile time.