Nika Layzell | 2772666 | 2017-10-24 23:16:35 -0400 | [diff] [blame^] | 1 | # syn_codegen |
| 2 | |
| 3 | This is an internal (not published on crates.io) crate which is used to generate |
| 4 | the files in the `gen/` directory of `syn`. It is used to ensure that the |
| 5 | implementations for `Folder`, `Visitor`, and `VisitorMut` remain in sync with |
| 6 | the actual AST. |
| 7 | |
| 8 | To run this program, run `cargo run` in this directory, and the `gen/` folder |
| 9 | will be re-generated. |
| 10 | |
| 11 | This program is slow, and is therefore not run when building `syn` as part of |
| 12 | the build script to save on compile time. |