2024-06-12 15:13:09 +08:00
|
|
|
#![deny(
|
|
|
|
future_incompatible,
|
|
|
|
let_underscore,
|
|
|
|
nonstandard_style,
|
|
|
|
rust_2024_compatibility,
|
|
|
|
clippy::all
|
|
|
|
)]
|
2024-06-12 12:27:35 +08:00
|
|
|
#![warn(clippy::pedantic)]
|
|
|
|
#![allow(
|
|
|
|
clippy::missing_errors_doc,
|
|
|
|
clippy::missing_panics_doc,
|
|
|
|
clippy::module_name_repetitions,
|
|
|
|
clippy::too_many_lines,
|
|
|
|
clippy::wildcard_imports
|
|
|
|
)]
|
|
|
|
|
2021-11-03 16:35:16 +08:00
|
|
|
#[macro_use]
|
|
|
|
extern crate lazy_static;
|
|
|
|
|
2021-11-03 16:34:05 +08:00
|
|
|
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};
|
2021-11-03 16:34:05 +08:00
|
|
|
|
|
|
|
pub type Suite<U = ()> = Vec<Stmt<U>>;
|