XmlHasParent<T extends XmlNode> mixin

Mixin for nodes with a parent.

Mixin Applications

Properties

parent → T
Return the parent node of this node, or null if there is none.
read-only
hasParent bool
Test whether the node has a parent or not.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

replace(XmlNode other) → void
Replace this node with other.
attachParent(covariant T parent) → void
Internal helper to attach a child to this parent, do not call directly.
detachParent(covariant T parent) → void
Internal helper to detach a child from its parent, do not call directly.
toString() String
A string representation of this object. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited