[][src]Crate lang_c

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

span

Source text location tracking

visit

Recursive abstract syntax tree traversal