Crate lang_c[−][src]
C language parser and abstract syntax tree
use lang_c::driver::{Config, parse}; fn main() { let config = Config::default(); println!("{:?}", parse(&config, "example.c")); }
Modules
ast | Abstract syntax tree |
driver | Preprocess and parse C source file into an abstract syntax tree |
Debug rinter for abstract syntax tree | |
span | Source text location tracking |
visit | Recursive abstract syntax tree traversal |