XmlHasParent<T extends XmlNode> mixin

Mixin for nodes with a parent.

Mixin Applications

Properties

hashCode int
The hash code for this object.
no setterinherited
hasParent bool
Test whether the node has a parent or not.
no setter
parent → T?
Return the parent node of this node, or null if there is none.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
replace(XmlNode other) → void
Replace this node with other.
toString() String
A string representation of this object.
inherited

Operators

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