Exemplo n.º 1
0
 @Override
 public Void visitWhileStatement(WhileStatement node) {
   writer.print("while (");
   visit(node.getCondition());
   writer.print(") ");
   visit(node.getBody());
   return null;
 }
 @Override
 public R visitWhileStatement(WhileStatement node) {
   node.visitChildren(this);
   return null;
 }