Package | Description |
---|---|
eu.bandm.tools.lljava.parser |
Modifier and Type | Method and Description |
---|---|
LLJavaLexer.Token<D> |
LLJavaLexer.get() |
LLJavaLexer.Token<D> |
LLJavaLexer.Token.withText(String text)
Creates a variant of this token with the given text.
|
LLJavaLexer.Token<D> |
LLJavaLexer.Token.withType(LLJavaLexer.TokenType type)
Creates a variant of this token with the given type.
|
Modifier and Type | Method and Description |
---|---|
Supplier<LLJavaLexer.Token<D>> |
LLJavaLexer.discard(LLJavaLexer.TokenType first,
LLJavaLexer.TokenType... rest)
Returns a functional object that supplies the tokens of this
lexer, except for those of the given types.
|
Supplier<LLJavaLexer.Token<D>> |
LLJavaLexer.discard(Set<LLJavaLexer.TokenType> types)
Returns a functional object that supplies the tokens of this
lexer, except for the given types.
|
Stream<LLJavaLexer.Token<D>> |
LLJavaLexer.stream()
Returns a sequential token stream with this lexer as its source.
|
see also the complete user documentation .