예제 #1
0
 /**
  * Visit a while statement node
  *
  * @param node the while statement node
  * @return result of the visit
  */
 public Object visit(WhileStmt node) {
   node.getBodyStmt().accept(this);
   return null;
 }
예제 #2
0
 public Object visit(WhileStmt node) {
   return layoutBinary("While", node.getPredExpr(), node.getBodyStmt());
 }