Package com.oracle.truffle.api.nodes
Interface NodeVisitor
public interface NodeVisitor
Visitor for trees of nodes.
- Since:
- 0.8 or earlier
-
Method Summary
-
Method Details
-
visit
This visitor method is called for every node in the tree. Its return value determines if the visitation continues i.e. As long as the return value istrue
the visitation continues.- Parameters:
node
- the node that is currently visited- Returns:
true
if the visitation should continue,false
otherwise- Since:
- 0.8 or earlier
-