leekscript-tooling 0.1.0

LeekScript tooling: formatter, visitor, tree display, transform
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! `LeekScript` tooling: formatter, visitor, tree display, optional transform.

pub mod formatter;
pub mod tree_display;
pub mod visitor;

#[cfg(feature = "transform")]
pub mod transform;

pub use formatter::{format, FormatDriver, FormatterOptions};
pub use tree_display::{format_syntax_tree, print_syntax_tree, TreeDisplayOptions};
pub use visitor::{walk, Visitor, WalkOptions, WalkResult};

#[cfg(feature = "transform")]
pub use transform::{transform, ExpandAssignAdd, TransformResult, Transformer};