Package com.oracle.truffle.api.nodes
Interface NodeVisitor
-
public interface NodeVisitorVisitor for trees of nodes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanvisit(Node node)This visitor method is called for every node in the tree.
-
-
-
Method Detail
-
visit
boolean visit(Node node)
This visitor method is called for every node in the tree. Its return value determines if the children of this node should be excluded in the iteration.- Parameters:
node- the node that is currently visited- Returns:
trueif the children should be visited too,falseotherwise
-
-