ChainL1<I, O1, O2> class

Inheritance

Constructors

ChainL1.new(Parser<I, O1> left, Parser<I, O2> op, Parser<I, O1> right, O1 f(O1, O2, O1), {String? name})
const

Properties

f → O1 Function(O1, O2, O1)
final
getInputType Type
no setterinherited
getOutputType Type
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
left Parser<I, O1>
final
name String?
finalinherited
op Parser<I, O2>
final
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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