Ejemplo n.º 1
0
 public override void Visit(ForStatement node)
 {
   VisitNode(node.Initialization);
   VisitNode(node.Condition);
   VisitNode(node.Increment);
   VisitNode(node.Body);
   Visit((LoopStatement)node);
 }
Ejemplo n.º 2
0
 public override void Visit(ForStatement node) { Visit((LoopStatement)node); }
Ejemplo n.º 3
0
 public override void Visit(ForStatement node)
 {
   Loop(node, node.Initialization, node.Condition, node.Increment, node.Body, false);
 }
Ejemplo n.º 4
0
 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;
 }
Ejemplo n.º 5
0
 public override void Visit(ForStatement node) { VisitNode(node.Body); }