Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/NodeVisitor.java @ 7530:5e3d1a68664e
applied mx eclipseformat to all Java files
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 23 Jan 2013 16:34:57 +0100 |
parents | a4b84ba6dc2e |
children | 494b818b527c |
comparison
equal
deleted
inserted
replaced
7529:4a11124a3563 | 7530:5e3d1a68664e |
---|---|
26 * Visitor for trees of nodes. | 26 * Visitor for trees of nodes. |
27 */ | 27 */ |
28 public interface NodeVisitor { | 28 public interface NodeVisitor { |
29 | 29 |
30 /** | 30 /** |
31 * This visitor method is called for every node in the tree. Its return value determines if the children of this | 31 * This visitor method is called for every node in the tree. Its return value determines if the |
32 * node should be excluded in the iteration. | 32 * children of this node should be excluded in the iteration. |
33 * | 33 * |
34 * @param node the node that is currently visited | 34 * @param node the node that is currently visited |
35 * @return {@code true} if the children should be visited too, {@code false} otherwise | 35 * @return {@code true} if the children should be visited too, {@code false} otherwise |
36 */ | 36 */ |
37 boolean visit(Node node); | 37 boolean visit(Node node); |
38 } | 38 } |