Expand description
Visitor pattern for traversing the ForgeScript AST
This module provides a clean way to traverse and analyze the AST without modifying the core parser code.
Structs§
- Function
Collector - Example visitor that collects all function names
- Node
Counter - Example visitor that counts node types
Traits§
- AstVisitor
- Trait for visiting AST nodes
- AstVisitor
Mut - Mutable visitor trait for transforming AST