public void Accept(Visitor visitor)
 {
     foreach (Element element in _elements)
     {
         element.Accept(visitor);
     }
 }
 public override void Accept(Visitor visitor)
 {
     visitor.VisitConcreteElementA(this);
 }
Example #3
0
 public abstract void Accept(Visitor visitor);