Package | Description |
---|---|
jfun.parsec |
Provides classes and interfaces for parser combinator logic and basic parsers.
|
Modifier and Type | Method and Description |
---|---|
static <From,A extends From,R,To extends R> |
Parsers.manyAccum(java.lang.String name,
Accumulatable<From,To> accm,
int min,
Parser<A> p)
Greedily runs Parser p repeatedly for at least min times and collect the
result with the Accumulator object created by Accumulatable.
|
static <From,A extends From,R,To extends R> |
Parsers.manyAccum(java.lang.String name,
Accumulatable<From,To> accm,
Parser<A> p)
Greedily runs Parser p repeatedly for 0 or more times.
|
static <From,A extends From,R,To extends R> |
Parsers.someAccum(java.lang.String name,
Accumulatable<From,To> accm,
int min,
int max,
Parser<A> p)
Greedily runs Parser p repeatedly for at least min times and at most max
times, collect the result with the Accumulator object created by
Accumulatable.
|
static <From,A extends From,R,To extends R> |
Parsers.someAccum(java.lang.String name,
Accumulatable<From,To> accm,
int max,
Parser<A> p)
Greedily runs Parser p repeatedly for at most max times, collect the result
with the Accumulator object created by Accumulatable.
|