LimitedRepeatingParser, PossessiveRepeatingParserpublic abstract class RepeatingParser extends DelegateParser
| Modifier and Type | Field | Description |
|---|---|---|
protected int |
max |
|
protected int |
min |
|
static int |
UNBOUNDED |
delegate| Constructor | Description |
|---|---|
RepeatingParser(Parser delegate,
int min,
int max) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
hasEqualProperties(Parser other) |
Compares the properties of two parsers.
|
String |
toString() |
Returns a human readable string identifying this parser.
|
copy, getChildren, parseOn, replaceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, 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, trimpublic static final int UNBOUNDED
protected final int min
protected final int max
public RepeatingParser(Parser delegate, int min, int max)
public boolean hasEqualProperties(Parser other)
ParserhasEqualProperties in class ParserCopyright © 2018 PetitParser. All rights reserved.