public class GreedyRepeatingParser extends LimitedRepeatingParser
delegate
limit
max, min, UNBOUNDED
Constructor | Description |
---|---|
GreedyRepeatingParser(Parser delegate,
Parser limit,
int min,
int max) |
Modifier and Type | Method | Description |
---|---|---|
GreedyRepeatingParser |
copy() |
Returns a shallow copy of the receiver.
|
Result |
parseOn(Context context) |
Primitive method doing the actual parsing.
|
getChildren, replace
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept, and, callCC, delimitedBy, end, end, flatten, hasEqualChildren, isEqualTo, isEqualTo, map, matches, matchesSkipping, neg, neg, not, not, optional, optional, or, parse, permute, pick, plus, plusGreedy, plusLazy, repeat, repeatGreedy, repeatLazy, separatedBy, seq, settable, star, starGreedy, starLazy, times, token, trim, trim, trim
hasEqualProperties, toString
public Result parseOn(Context context)
Parser
parseOn
in class DelegateParser
public GreedyRepeatingParser copy()
Parser
copy
in class DelegateParser
Copyright © 2018 PetitParser. All rights reserved.