TreeVisitor
Iterate over all the nodes in (a part of) the AST. In contrast to the visit methods in Node, these methods are implemented in a simple recursive way which should be more efficient. A disadvantage is that they cannot be quit in the middle of their traversal.
Functions
Link copied to clipboard
https://en.wikipedia.
Link copied to clipboard
Performs a simple traversal over all nodes that have the passed node as their parent.
Link copied to clipboard
Link copied to clipboard
Performs a post-order node traversal starting with a given node.
Link copied to clipboard
Performs a pre-order node traversal starting with a given node.