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