.. | ||
src | ||
Cargo.toml | ||
README.md | ||
rust2json_main.json |
Parse a Rust source file into a syn_serde::File
and print out a JSON representation of the syntax tree.
cargo run -- src/main.rs
The output is the same as rust2json_main.json.
.. | ||
src | ||
Cargo.toml | ||
README.md | ||
rust2json_main.json |
Parse a Rust source file into a syn_serde::File
and print out a JSON representation of the syntax tree.
cargo run -- src/main.rs
The output is the same as rust2json_main.json.