PossessiveRepeatingParserExtension<R> extension
Methods
-
plus()
→ Parser<List<R>>
-
Returns a parser that accepts the receiver one or more times. The
resulting parser returns a list of the parse results of the receiver.
-
repeat(int min, [int? max])
→ Parser<List<R>>
-
Returns a parser that accepts the receiver between
min
and max
times.
The resulting parser returns a list of the parse results of the receiver.
-
star()
→ Parser<List<R>>
-
Returns a parser that accepts the receiver zero or more times. The
resulting parser returns a list of the parse results of the receiver.
-
times(int count)
→ Parser<List<R>>
-
Returns a parser that accepts the receiver exactly
count
times. The
resulting parser returns a list of the parse results of the receiver.