Example #1
0
 public override void Visit(WhileStatement node)
 {
   VisitNode(node.Condition);
   VisitNode(node.Body);
   Visit((LoopStatement)node);
 }
Example #2
0
 public override void Visit(WhileStatement node) { Visit((LoopStatement)node); }
Example #3
0
 public override void Visit(WhileStatement node)
 {
   Loop(node, null, node.Condition, null, node.Body, false);
 }
Example #4
0
 public WhileStatement MakeWhileStatement(Scope scope, IExpression condition, IStatement body)
 {
   scope.HasLoop = true;
   var booleanCondition = MakeToBoolean((Expression)condition);
   var n = new WhileStatement(booleanCondition, (Statement)body);
   return n;
 }
Example #5
0
 public override void Visit(WhileStatement node) { VisitNode(node.Body); }