예제 #1
0
 public override void OnVisitChildNodes(IVisitor visitor)
 {
     if (Value != null)
     {
         Value.Visit(visitor);
     }
 }
예제 #2
0
 public override void OnVisitChildNodes(IVisitor visitor)
 {
     Condition.Visit(visitor);
     TrueStatement.Visit(visitor);
     if (FalseStatement != null)
     {
         FalseStatement.Visit(visitor);
     }
 }
예제 #3
0
 public override void OnVisitChildNodes(IVisitor visitor)
 {
     if (Condition != null)
     {
         Condition.Visit(visitor);
     }
     if (Code != null)
     {
         Code.Visit(visitor);
     }
 }
예제 #4
0
 public override void OnVisitChildNodes(IVisitor visitor)
 {
     if (VariableDeclaration != null)
     {
         VariableDeclaration.Visit(visitor);
     }
     else
     {
         Iterator.Visit(visitor);
     }
     Collection.Visit(visitor);
     Code.Visit(visitor);
 }
예제 #5
0
        public override void OnVisitChildNodes(IVisitor visitor)
        {
            if (Initialize != null)
            {
                Initialize.Visit(visitor);
            }

            if (Condition != null)
            {
                Condition.Visit(visitor);
            }

            if (Increment != null)
            {
                Increment.Visit(visitor);
            }

            Code.Visit(visitor);
        }
예제 #6
0
 public override void OnVisitChildNodes(IVisitor visitor)
 {
     Condition.Visit(visitor);
     Code.Visit(visitor);
 }
예제 #7
0
 public override void OnVisitChildNodes(IVisitor visitor)
 {
     Expression.Visit(visitor);
 }