public override void Visit(ForStatement node) { VisitNode(node.Initialization); VisitNode(node.Condition); VisitNode(node.Increment); VisitNode(node.Body); Visit((LoopStatement)node); }
public override void Visit(ForStatement node) { Visit((LoopStatement)node); }
public override void Visit(ForStatement node) { Loop(node, node.Initialization, node.Condition, node.Increment, node.Body, false); }
public ForStatement MakeForStatement(Scope scope, IStatement initialization, IExpression condition, IExpression increment, IStatement body) { scope.HasLoop = true; ToBoolean booleanCondition = null; if (condition != null) booleanCondition = MakeToBoolean((Expression)condition); var n = new ForStatement((Statement)initialization, booleanCondition, (Expression)increment, (Statement)body); return n; }
public override void Visit(ForStatement node) { VisitNode(node.Body); }