lang_c/
lib.rs

1//! C language parser and abstract syntax tree
2//!
3//! ```
4//! use lang_c::driver::{Config, parse};
5//!
6//! fn main() {
7//!     let config = Config::default();
8//!     println!("{:?}", parse(&config, "example.c"));
9//! }
10//! ```
11
12#![allow(deprecated)]
13#![allow(ellipsis_inclusive_range_patterns)]
14
15pub mod ast;
16pub mod driver;
17pub mod loc;
18pub mod print;
19pub mod span;
20pub mod visit;
21
22mod astutil;
23mod env;
24mod parser;
25mod strings;
26
27#[cfg(test)]
28mod tests;