Renamed ParentNode::accept to acceptVisitor