ParserPath class final
A continuous path through the parser graph.
Constructors
-
ParserPath(List<
Parser> parsers, List<int> indexes) - Constructs a path from a list of parsers and indexes.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
indexes
→ List<
int> -
The child-indexes that navigate from one parser to the next one.
final
- length → int
-
The number of parsers in this path.
no setter
-
parsers
→ List<
Parser> -
The non-empty list of parsers in this path.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → Parser
-
The parser where this path starts.
no setter
- target → Parser
-
The parser where this path ends.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited