Exemple #1
0
 public override void Walk(AstVisitor visitor)
 {
     if (visitor.Walk(this))
     {
         Block.Walk(visitor);
     }
     visitor.PostWalk(this);
 }
Exemple #2
0
 public override void Walk(AstVisitor visitor)
 {
     if (visitor.Walk(this))
     {
         m_withObject.Walk(visitor);
         m_body.Walk(visitor);
     }
     visitor.PostWalk(this);
 }
Exemple #3
0
 public override void Walk(AstVisitor visitor)
 {
     if (visitor.Walk(this))
     {
         if (m_caseValue != null)
         {
             m_caseValue.Walk(visitor);
         }
         m_statements.Walk(visitor);
     }
     visitor.PostWalk(this);
 }
Exemple #4
0
 public override void Walk(AstVisitor visitor)
 {
     if (visitor.Walk(this))
     {
         m_tryBlock.Walk(visitor);
         if (m_catchParameter != null)
         {
             m_catchParameter.Walk(visitor);
         }
         if (m_catchBlock != null)
         {
             m_catchBlock.Walk(visitor);
         }
         if (m_finallyBlock != null)
         {
             m_finallyBlock.Walk(visitor);
         }
     }
     visitor.PostWalk(this);
 }