public virtual void Accept(NodeVisitor visitor) { foreach (Node node in this) { node.Accept(visitor); } }