Recognize7<O1, O2, O3, O4, O5, O6, O7> 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.

Inheritance

Constructors

Recognize7.new(Parser<StringReader, O1> p1, Parser<StringReader, O2> p2, Parser<StringReader, O3> p3, Parser<StringReader, O4> p4, Parser<StringReader, O5> p5, Parser<StringReader, O6> p6, Parser<StringReader, O7> p7, {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
p4 Parser<StringReader, O4>
final
p5 Parser<StringReader, O5>
final
p6 Parser<StringReader, O6>
final
p7 Parser<StringReader, O7>
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