Many1<I, O> class
Cyclically invokes the p parser and stores each parse result in a list until the p parser fails.
Parsing succeeds if at least one result of loop parsing by the p parser is available.
Otherwise, parsing fails.
Returns: List of parsing results.
Properties
- getInputType → Type
-
no setterinherited
- getOutputType → Type
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String?
-
finalinherited
-
p
→ Parser<
I, O> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
backtrack(
State< ChunkedData< state) → boolI> > -
inherited
-
build(
ParserBuilder< I> builder) → Parser<I, List< O> > -
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<List< ?O> > -
Parses the input and returns a result wrapped in Result if successful,
null
otherwise.override -
parseAsync(
State< ChunkedData< state) → AsyncResult<I> >List< O> > -
Experimental. Not yet fully implemented
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited