Package | Description |
---|---|
eu.bandm.tools.lljava.parser | |
eu.bandm.tools.ramus.runtime2 |
Modifier and Type | Field and Description |
---|---|
protected static Parser.Pragma |
LLJavaGrammar.greedy |
Modifier and Type | Method and Description |
---|---|
protected Expression<SourceId,LLJavaLexer.TokenType,Boolean> |
LLJavaGrammar.flag(LLJavaLexer.TokenType type,
Parser.Pragma... pragmas) |
Modifier and Type | Method and Description |
---|---|
static Parser.Pragma |
Parser.Pragma.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Parser.Pragma[] |
Parser.Pragma.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Parser<D,T> |
Parser.optional(Parser.Pragma... pragmas)
Returns a parser that behaves like this parser, or alternatively does
nothing.
|
Expression<D,T,Optional<A>> |
Expression.optional(Parser.Pragma... pragmas) |
Parser<D,T> |
Parser.optionalTagged(Parser.Pragma... pragmas)
Returns a parser that behaves like this parser, or alternatively does
nothing, setting a corresponding result value.
|
Parser<D,T> |
Parser.optionalTagged(Parser<D,T> defaultBranch,
Parser.Pragma... pragmas) |
Expression<D,T,A> |
Expression.orElse(A defaultValue,
Parser.Pragma... pragmas) |
Expression<D,T,A> |
Expression.orElseGet(Supplier<? extends A> defaultValue,
Parser.Pragma... pragmas) |
Parser<D,T> |
Parser.plus(Parser.Pragma... pragmas)
Returns a parser that behaves as the sequential iteration of this parser,
one or more times.
|
Expression<D,T,List<A>> |
Expression.plus(Parser.Pragma... pragmas) |
Expression<D,T,List<A>> |
Expression.plus(Parser<D,T> sep,
Parser.Pragma... pragmas) |
Expression<D,T,List<A>> |
Expression.plus(T sep,
Parser.Pragma... pragmas) |
Parser<D,T> |
Parser.plusSequence(Parser.Pragma... pragmas)
Returns a parser that behaves as the sequential iteration of this parser,
one or more times, and collects the result values in a sequence.
|
Parser<D,T> |
Parser.plusSequence(Parser<D,T> separator,
Parser.Pragma... pragmas)
Returns a parser that behaves as the sequential iteration of this parser,
one or more times, interspersed with a separator parser, and collects the
result values in a sequence.
|
Parser<D,T> |
Parser.star(Parser.Pragma... pragmas)
Returns a parser that behaves as the sequential iteration of this parser,
zero or more times.
|
Expression<D,T,List<A>> |
Expression.star(Parser.Pragma... pragmas) |
Expression<D,T,List<A>> |
Expression.star(Parser<D,T> sep,
Parser.Pragma... pragmas) |
Expression<D,T,List<A>> |
Expression.star(T sep,
Parser.Pragma... pragmas) |
Parser<D,T> |
Parser.starSequence(Parser.Pragma... pragmas)
Returns a parser that behaves as the sequential iteration of this parser,
zero or more times, and collects the result values in a sequence.
|
Parser<D,T> |
Parser.starSequence(Parser<D,T> separator,
Parser.Pragma... pragmas)
Returns a parser that behaves as the sequential iteration of this parser,
zero or more times, interspersed with a separator parser, and collects the
result values in a sequence.
|
see also the complete user documentation .