Package org.ek9lang.compiler.tokenizer
Interface LexerPlugin
- All Superinterfaces:
org.antlr.v4.runtime.TokenSource
- All Known Implementing Classes:
DelegatingLexer
,Ek9Lexer
public interface LexerPlugin
extends org.antlr.v4.runtime.TokenSource
Due to way Antlr does is class generation we need to make an interface to decouple to
enable debugging and alternatives.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addErrorListener
(org.antlr.v4.runtime.ANTLRErrorListener listener) int
int
getSymbolicName
(int tokenType) void
Methods inherited from interface org.antlr.v4.runtime.TokenSource
getCharPositionInLine, getInputStream, getLine, getSourceName, getTokenFactory, nextToken, setTokenFactory
-
Method Details
-
getIndentToken
int getIndentToken() -
getDedentToken
int getDedentToken() -
getSymbolicName
-
removeErrorListeners
void removeErrorListeners() -
addErrorListener
void addErrorListener(org.antlr.v4.runtime.ANTLRErrorListener listener)
-