2024-06-12 12:27:35 +08:00
|
|
|
#![deny(clippy::all)]
|
|
|
|
#![warn(clippy::pedantic)]
|
|
|
|
#![allow(
|
|
|
|
clippy::cast_lossless,
|
|
|
|
clippy::default_trait_access,
|
|
|
|
clippy::missing_errors_doc,
|
|
|
|
clippy::missing_panics_doc,
|
|
|
|
clippy::module_name_repetitions,
|
|
|
|
clippy::must_use_candidate,
|
|
|
|
clippy::needless_pass_by_value,
|
|
|
|
clippy::too_many_lines,
|
|
|
|
clippy::uninlined_format_args,
|
|
|
|
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>>;
|