コード例 #1
0
 public override void VisitDoWhileStatement(DoWhileStatement node)
 {
     this.TryProcessConditionStatement(node);
     this.states.Push(2);
     this.Visit(node.get_Condition());
     dummyVar0 = this.states.Pop();
     this.Visit(node.get_Body());
     if (this.processStep == RemoveConditionOnlyVariables.ProcessStep.Search)
     {
         this.SetVariablesExpressionStatements(node);
     }
     return;
 }
コード例 #2
0
 public virtual void VisitDoWhileStatement(DoWhileStatement node)
 {
     this.Visit(node.get_Body());
     this.Visit(node.get_Condition());
     return;
 }
コード例 #3
0
 public virtual ICodeNode VisitDoWhileStatement(DoWhileStatement node)
 {
     node.set_Body((BlockStatement)this.Visit(node.get_Body()));
     node.set_Condition((Expression)this.Visit(node.get_Condition()));
     return(node);
 }