GraphNodeStep<T> class

A GraphStep with a Node resolved.

Inheritance

Constructors

GraphNodeStep.root(GraphWalker<T> walker, Node<T> node)
GraphNodeStep.subNode(GraphNodeStep<T> previous, Node<T> node, {bool sideBranch = false})

Properties

depth int
This step depth.
final
hashCode int
The hash code for this object.
no setterinherited
isNotRoot bool
NOT isRoot.
no setterinherited
isRoot bool
Returns true if this step is a root step.
no setterinherited
isSideRoot bool
Returns true if this is a side root step.
no setteroverride
node Node<T>
The node of this step.
final
nodePathToRoot List<Node<T>>
no setter
nodeValue → T
The step node value.
no setteroverride
parentNode Node<T>?
The Node of the previous step.
no setter
parentValue → T?
The parent step node value.
no setteroverride
previous GraphNodeStep<T>?
The previous step.
final
processed Map<Node<T>, int>
The table of processed Nodes
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sideBranch bool
If true this is a Node step from a side branch.
final
valuePathToRoot List<T>
The values path to the root step.
no setterinherited
walker GraphWalker<T>
final

Methods

fullPathToRoot({String pathDelimiter = '/', Iterable<T>? head, Iterable<T>? tail, Iterable<String>? headString, Iterable<String>? tailString}) String
Returns a String that represents a full path to the root step.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
valuePathToRootWith({Iterable<T>? head, Iterable<T>? tail}) List<T>
Same as valuePathToRoot, but with additional head and tail.
inherited

Operators

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