public DoWhileStatement MakeDoWhileStatement(Scope scope, IExpression condition, IStatement body) { scope.HasLoop = true; var booleanCondition = MakeToBoolean((Expression)condition); var n = new DoWhileStatement(booleanCondition, (Statement)body); return(n); }
public override void Visit(DoWhileStatement node) { VisitNode(node.Body); VisitNode(node.Condition); Visit((LoopStatement)node); }
public override void Visit(DoWhileStatement node) { Visit((LoopStatement)node); }
public DoWhileStatement MakeDoWhileStatement(Scope scope, IExpression condition, IStatement body) { scope.HasLoop = true; var booleanCondition = MakeToBoolean((Expression)condition); var n = new DoWhileStatement(booleanCondition, (Statement)body); return n; }
public abstract void Visit(DoWhileStatement node);
public override void Visit(DoWhileStatement node) { Loop(node, null, node.Condition, null, node.Body, true); }
public override void Visit(DoWhileStatement node) { VisitNode(node.Body); }