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