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