Internal helper to attach a child to this parent, do not call directly.
@override @internal void attachParent(XmlNode parent) => _throwNoParent();