public class NotParser extends DelegateParser
| Modifier and Type | Field | Description |
|---|---|---|
protected String |
message |
delegate| Constructor | Description |
|---|---|
NotParser(Parser delegate,
String message) |
| Modifier and Type | Method | Description |
|---|---|---|
NotParser |
copy() |
Returns a shallow copy of the receiver.
|
protected boolean |
hasEqualProperties(Parser other) |
Compares the properties of two parsers.
|
Result |
parseOn(Context context) |
Primitive method doing the actual parsing.
|
String |
toString() |
Returns a human readable string identifying this parser.
|
getChildren, 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, trimprotected final String message
public Result parseOn(Context context)
ParserparseOn in class DelegateParserprotected boolean hasEqualProperties(Parser other)
ParserhasEqualProperties in class Parserpublic NotParser copy()
Parsercopy in class DelegateParserCopyright © 2018 PetitParser. All rights reserved.