Skip to main content

Module visitor

Module visitor 

Source
Expand description

Generic visitor over the parsed LeekScript syntax tree.

Re-exports sipha’s tree walk (Visitor, WalkOptions, walk, WalkResult). Implement Visitor and call walk (or root.walk(...)) with your visitor and options.

Structs§

WalkOptions
Options that control how the tree is traversed.

Traits§

Visitor
Trait for visiting a sipha syntax tree.

Functions§

walk
Walks the tree starting at root with the given visitor and options.

Type Aliases§

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