Parser<I, O> class abstract

Implementers

Constructors

Parser.new([String? name])
const

Properties

getInputType Type
no setter
getOutputType Type
no setter
hashCode int
The hash code for this object.
no setterinherited
name String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

backtrack(State<ChunkedData<I>> state) bool
build(ParserBuilder<I> builder) Parser<I, O>
Builds a new parser using the specified builder.
fastParse(State<I> state) bool
Parses the input and returns true if successful, false otherwise.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(State<I> state) Result<O>?
Parses the input and returns a result wrapped in Result if successful, null otherwise.
parseAsync(State<ChunkedData<I>> state) AsyncResult<O>
Experimental. Not yet fully implemented
toString() String
A string representation of this object.
override

Operators

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