Recognize3<O1, O2, O3> class

Stores the current parsing position and invokes all specified parsers.

Parsing succeeds if the parsing of all parsers succeeds.

Otherwise, parsing fails.

Returns: Input string value from the stored position to the last parsed position. Stores the current parsing position and invokes all specified parsers.

Parsing succeeds if the parsing of all parsers succeeds.

Otherwise, parsing fails.

Returns: Input string value from the stored position to the last parsed position.

Inheritance

Constructors

Recognize3.new(Parser<StringReader, O1> p1, Parser<StringReader, O2> p2, Parser<StringReader, O3> p3, {String? name})
const

Properties

getInputType Type
no setterinherited
getOutputType Type
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
name String?
finalinherited
p1 Parser<StringReader, O1>
final
p2 Parser<StringReader, O2>
final
p3 Parser<StringReader, O3>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

backtrack(State<ChunkedData<StringReader>> state) bool
inherited
build(ParserBuilder<StringReader> builder) Parser<StringReader, String>
Builds a new parser using the specified builder.
override
fastParse(State<StringReader> 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<StringReader> state) Result<String>?
Parses the input and returns a result wrapped in Result if successful, null otherwise.
override
parseAsync(State<ChunkedData<StringReader>> state) AsyncResult<String>
Experimental. Not yet fully implemented
override
toString() String
A string representation of this object.
inherited

Operators

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