public void Accept(Vistor visitor) { foreach (var item in elements) { item.Accept(visitor); } }
public override void Accept(Vistor visitor) { visitor.VisitConcretElementB(this); }
public abstract void Accept(Vistor visitor);