ObservableAstIterator
An iterator that performs a DFS traversal through the nodes of an AST, allowing the registration of observers that will be notified when a node of a certain type is visited.
Properties
Functions
Link copied to clipboard
Attaches a hook to this iterator.
Link copied to clipboard
Link copied to clipboard
Registers a hook that will be called when the tree traversal fully finishes.
Link copied to clipboard
Runs the iterator from the given root node, traversing the node tree and visiting each node.