public void Accept(Visitor visitor) { foreach (var element in _elements) { element.Accept(visitor); } }
public override void Accept(Visitor visitor) { visitor.Visit(this); }
public abstract void Accept(Visitor visitor);