Пример #1
0
 public override void Accept(EvalStateNodeVisitor visitor)
 {
     visitor.VisitOr(evalOrNode.FactoryNode, this);
     foreach (var node in childNodes) {
         node?.Accept(visitor);
     }
 }
Пример #2
0
 public override void Accept(EvalStateNodeVisitor visitor)
 {
     visitor.VisitOr(EvalOrNode.FactoryNode, this);
     foreach (EvalStateNode node in ChildNodes)
     {
         if (node != null)
         {
             node.Accept(visitor);
         }
     }
 }