Expand description
Structs§
- AstWalker
- Walks the AST while tracking scope context via
node_to_scope.
Enums§
- Visit
Result - Result from a mutable visitor hook.
Traits§
- MutVisitor
- Trait for mutating Babel AST nodes during traversal.
- Visitor
- Trait for visiting Babel AST nodes. All methods default to no-ops. Override specific methods to intercept nodes of interest.
Functions§
- walk_
expression_ mut - Walk an expression mutably, calling visitor hooks and recursing into children.
- walk_
program_ mut - Walk a program’s body mutably, calling visitor hooks for each node.
- walk_
statement_ mut - Walk a single statement mutably, calling visitor hooks and recursing into children.