]> git.lizzy.rs Git - rust.git/commit
rustc: support dumping the AST as JSON
authorCorey Richardson <corey@octayn.net>
Wed, 19 Feb 2014 07:27:49 +0000 (02:27 -0500)
committerCorey Richardson <corey@octayn.net>
Wed, 19 Feb 2014 18:32:26 +0000 (13:32 -0500)
commit34ffe3cc1c1c9855ecb47479761d812f64436c85
treea210ff5ed9fa5b3662c6f62ab68726b0ccf4813e
parent74f3e0474b382160a6b0aec6e27fe239025519a0
rustc: support dumping the AST as JSON

This is mostly useful for working on rustc, when one is unfamiliar with the
AST a particular construct will produce. It's a -Z flag as it's very much for
debugging.

Closes #10485
src/librustc/driver/driver.rs
src/librustc/driver/session.rs