traverse

open override fun traverse(root: AstRoot): AstRoot

Runs the iterator from the given root node, traversing the node tree and visiting each node.

Return

the result of the traversal, whose semantics depend on the iterator

Parameters

root

root of the AST to traverse