Token<O> class

Inheritance
Available extensions

Constructors

Token(String label, StringParser<O> p, AnyStringParser ws)

Properties

capture Capture

Available on AnyStringParser, provided by the CaptureExt extension

no setter
error ParseError?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
label String
getter/setter pairinherited
p StringParser<O>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
ws AnyStringParser
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(ParseInput<String> input, ParseState state) Tuple1<O>?
override
parseString(String source) → O

Available on Parser<String, O>, provided by the ParseExt extension

toString() String
A string representation of this object.
inherited
tryParseString(String source) Tuple1<O>?

Available on Parser<String, O>, provided by the ParseExt extension

Operators

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