Beispiel #1
0
        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);
        }
Beispiel #2
0
 public override void Visit(DoWhileStatement node)
 {
   VisitNode(node.Body);
   VisitNode(node.Condition);
   Visit((LoopStatement)node);
 }
 public override void Visit(DoWhileStatement node) { Visit((LoopStatement)node); }
Beispiel #4
0
 public override void Visit(DoWhileStatement node)
 {
     Visit((LoopStatement)node);
 }
Beispiel #5
0
 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;
 }
Beispiel #6
0
 public abstract void Visit(DoWhileStatement node);
Beispiel #7
0
 public override void Visit(DoWhileStatement node)
 {
   Loop(node, null, node.Condition, null, node.Body, true);
 }
 public override void Visit(DoWhileStatement node) { VisitNode(node.Body); }