GreedyRepeatingParserExtension<T> extension
Methods
-
plusGreedy(Parser<void> limit)
→ Parser<List<T>>
-
Returns a parser that parses the receiver one or more times until it
reaches
limit
. This is a greedy non-blind implementation of the plus
operator. The limit
is not consumed.
-
repeatGreedy(Parser<void> limit, int min, int max)
→ Parser<List<T>>
-
Returns a parser that parses the receiver at least
min
and at most max
times until it reaches a limit
. This is a greedy non-blind
implementation of the repeat operator. The limit
is not consumed.
-
starGreedy(Parser<void> limit)
→ Parser<List<T>>
-
Returns a parser that parses the receiver zero or more times until it
reaches a
limit
. This is a greedy non-blind implementation of the
star operator. The limit
is not consumed.