Skip to main content

Crate leekscript_tooling

Crate leekscript_tooling 

Source
Expand description

LeekScript tooling: formatter, visitor, tree display, optional transform.

Re-exports§

pub use formatter::format;
pub use formatter::FormatDriver;
pub use formatter::FormatterOptions;
pub use tree_display::format_syntax_tree;
pub use tree_display::print_syntax_tree;
pub use visitor::walk;

Modules§

formatter
LeekScript tree printer.
tree_display
Utilities to display the parser’s syntax tree in a readable ASCII/Unicode tree format.
visitor
Generic visitor over the parsed LeekScript syntax tree.

Structs§

TreeDisplayOptions
Options for formatting the syntax tree (re-exported from sipha). Options for formatting the syntax tree.
WalkOptions
Options that control how the tree is traversed.

Traits§

Visitor
Trait for visiting a sipha syntax tree.

Type Aliases§

WalkResult
Result of a visitor callback: continue walking or stop.