leekscript_tooling/lib.rs
1//! `LeekScript` tooling: formatter, visitor, tree display, optional transform.
2
3pub mod formatter;
4pub mod tree_display;
5pub mod visitor;
6
7#[cfg(feature = "transform")]
8pub mod transform;
9
10pub use formatter::{format, FormatDriver, FormatterOptions};
11pub use tree_display::{format_syntax_tree, print_syntax_tree, TreeDisplayOptions};
12pub use visitor::{walk, Visitor, WalkOptions, WalkResult};
13
14#[cfg(feature = "transform")]
15pub use transform::{transform, ExpandAssignAdd, TransformResult, Transformer};