| Package | Description |
|---|---|
| org.petitparser.parser.primitive |
| Modifier and Type | Class | Description |
|---|---|---|
static class |
CharacterPredicate.NotCharacterPredicate |
The negated character predicate.
|
| Modifier and Type | Method | Description |
|---|---|---|
static CharacterPredicate |
CharacterPredicate.any() |
Returns a character predicate that matches any character.
|
static CharacterPredicate |
CharacterPredicate.anyOf(String string) |
Returns a character predicate that matches any of the characters in
string. |
static CharacterPredicate |
CharacterPredicate.none() |
Returns a character predicate that matches no character.
|
static CharacterPredicate |
CharacterPredicate.noneOf(String string) |
Returns a character predicate that matches none of the characters in
string. |
default CharacterPredicate |
CharacterPredicate.not() |
Negates this character predicate.
|
CharacterPredicate |
CharacterPredicate.NotCharacterPredicate.not() |
|
static CharacterPredicate |
CharacterPredicate.of(char character) |
Returns a character predicate that matches the given
character. |
static CharacterPredicate |
CharacterPredicate.pattern(String pattern) |
Returns a character predicate that matches the provided pattern.
|
static CharacterPredicate |
CharacterPredicate.range(char start,
char stop) |
Returns a character predicate that matches any character between
start and
stop. |
static CharacterPredicate |
CharacterPredicate.ranges(char[] starts,
char[] stops) |
Returns a character predicate that matches character ranges between
starts and
stops. |
| Modifier and Type | Method | Description |
|---|---|---|
static CharacterParser |
CharacterParser.of(CharacterPredicate predicate,
String message) |
Returns a parser that accepts a specific
CharacterPredicate. |
| Constructor | Description |
|---|---|
NotCharacterPredicate(CharacterPredicate predicate) |
Copyright © 2018 PetitParser. All rights reserved.