nac3/nac3ast/src/lib.rs

31 lines
560 B
Rust
Raw Normal View History

2024-06-12 15:13:09 +08:00
#![deny(
future_incompatible,
let_underscore,
nonstandard_style,
rust_2024_compatibility,
clippy::all
)]
#![warn(clippy::pedantic)]
#![allow(
clippy::missing_errors_doc,
clippy::missing_panics_doc,
clippy::module_name_repetitions,
clippy::too_many_lines,
clippy::wildcard_imports
)]
#[macro_use]
extern crate lazy_static;
mod ast_gen;
mod constant;
#[cfg(feature = "fold")]
mod fold_helpers;
mod impls;
mod location;
pub use ast_gen::*;
2024-06-12 14:45:03 +08:00
pub use location::{FileName, Location};
pub type Suite<U = ()> = Vec<Stmt<U>>;