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