public JNode VisitDoWhileStatement(DoWhileStatement node) { var node2 = new JDoWhileStatement { Statement = VisitStatement(node.EmbeddedStatement), Condition = VisitExpression(node.Condition) }; return(node2); }
public void VisitDoWhileStatement(JDoWhileStatement node) { Write("do"); Visit(node.Statement); Write("while"); Write("("); Visit(node.Condition); Write(")"); WriteLine(); }