Package | Description |
---|---|
eu.bandm.tools.lljava.codec | |
eu.bandm.tools.lljava.parser | |
eu.bandm.tools.ramus.runtime2 |
Modifier and Type | Class and Description |
---|---|
static class |
SignatureParser.Token |
Modifier and Type | Class and Description |
---|---|
static class |
LLJavaLexer.Token<D>
Immutable LLJava tokens.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCharacterInput<D,T,U extends Parser.Token<D,T>>
Character input source.
|
Modifier and Type | Class and Description |
---|---|
class |
Content<D,T> |
Modifier and Type | Method and Description |
---|---|
Parser.Token<D,T> |
Parser.Input.lookahead(int k)
Returns the token that lies a given number of steps ahead.
|
Parser.Token<D,T> |
Parser.Input.lookbehind()
Returns the token that lies one step behind.
|
Modifier and Type | Method and Description |
---|---|
Optional<Parser.Token<D,T>> |
Expression.Result.getLastObstructionToken() |
static <D,T> Predicate<Parser.Token<D,T>> |
Parser.keyword(String text)
Returns a predicate that matches a single token with a given text,
regardless of type.
|
Modifier and Type | Method and Description |
---|---|
static <D,T> Parser<D,T> |
Parser.ifThenElse(Predicate<Parser.Token<D,T>> condition,
Parser<D,T> thenBranch,
Parser<D,T> elseBranch)
Alternates the behavior of two parsers in deterministic choice, depending
on the next input token.
|
static <D,T> Parser<D,T> |
Parser.lookbehind(Predicate<Parser.Token<D,T>> match) |
Expression.Result<D,T,A> |
Expression.process(Supplier<? extends Parser.Token<D,T>> in) |
static <D,T> Parser<D,T> |
Parser.terminal(Predicate<Parser.Token<D,T>> match)
Returns a parser that consumes a single token matching a given predicate.
|
static <D,T> Parser<D,T> |
Parser.terminal(Predicate<Parser.Token<D,T>> match,
Optional<Set<T>> firstSet,
@Opt String description)
Returns a parser that consumes a single token matching a given predicate.
|
static <D,T> Parser.Input<D,T> |
Parser.wrap(Supplier<? extends Parser.Token<D,T>> gen)
Returns a parser input state lazily backed by a generator.
|
Constructor and Description |
---|
Content(Parser.Token<D,T> token) |
see also the complete user documentation .