예제 #1
0
 protected void traverse(List<ASTNode> astNodes) {
   if (astNodes != null) {
     for (ASTNode node : astNodes) {
       node.accept(this);
     }
   }
 }
예제 #2
0
 @Override
 public void visit(CollectionNode collectionNode) {
   for (ASTNode curNode : collectionNode.getASTNodes()) {
     curNode.accept(this);
   }
 }