| Package | Description |
|---|---|
| org.petitparser.parser.actions | |
| org.petitparser.parser.combinators | |
| org.petitparser.parser.repeating | |
| org.petitparser.tools |
| Modifier and Type | Class | Description |
|---|---|---|
class |
ActionParser<T,R> |
A parser that performs a transformation with a given function on the successful parse result of
the delegate.
|
class |
ContinuationParser |
Continuation parser that when activated captures a continuation function and passes it together
with the current context into the handler.
|
class |
FlattenParser |
A parser that answers a flat copy of the range my delegate parses.
|
class |
TokenParser |
A parser that creates a token from the parsed input.
|
class |
TrimmingParser |
A parser that silently consumes a before and after the delegate parser.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
AndParser |
The and-predicate, a parser that succeeds whenever its delegate does, but does not consume the
input stream [Parr 1994, 1995].
|
class |
EndOfInputParser |
A parser that succeeds only at the end of the input stream.
|
class |
NotParser |
The not-predicate, a parser that succeeds whenever its delegate does not, but consumes no input
[Parr 1994, 1995].
|
class |
OptionalParser |
A parser that optionally parsers its delegate, or answers nil.
|
class |
SettableParser |
A parser that can be set to behave like another parser.
|
| Modifier and Type | Method | Description |
|---|---|---|
DelegateParser |
DelegateParser.copy() |
| Modifier and Type | Class | Description |
|---|---|---|
class |
GreedyRepeatingParser |
A greedy repeating parser, commonly seen in regular expression implementations.
|
class |
LazyRepeatingParser |
A lazy repeating parser, commonly seen in regular expression implementations.
|
class |
LimitedRepeatingParser |
An abstract parser that repeatedly parses between 'min' and 'max' instances of its delegate and
that requires the input to be completed with a specified parser 'limit'.
|
class |
PossessiveRepeatingParser |
A greedy parser that repeatedly parses between 'min' and 'max' instances of its delegate.
|
class |
RepeatingParser |
An abstract parser that repeatedly parses between 'min' and 'max' instances of its delegate.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
CompositeParser |
Deprecated.
|
class |
GrammarParser |
A helper to build a parser from a
GrammarDefinition. |
Copyright © 2018 PetitParser. All rights reserved.