Пример #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());
 }