public abstract class Lexer
extends org.antlr.runtime.Lexer
Constructor and Description |
---|
Lexer() |
Lexer(org.antlr.runtime.CharStream input) |
Lexer(org.antlr.runtime.CharStream input,
org.antlr.runtime.RecognizerSharedState state) |
Modifier and Type | Method and Description |
---|---|
void |
emitErrorMessage(java.lang.String msg) |
java.lang.String |
getErrorMessage(org.antlr.runtime.Token t) |
org.antlr.runtime.Token |
nextToken() |
emit, emit, getCharErrorDisplay, getCharIndex, getCharPositionInLine, getCharStream, getErrorMessage, getLine, getSourceName, getText, match, match, matchAny, matchRange, mTokens, recover, reportError, reset, setCharStream, setText, skip, traceIn, traceOut
alreadyParsedRule, beginResync, combineFollows, computeContextSensitiveRuleFOLLOW, computeErrorRecoverySet, consumeUntil, consumeUntil, displayRecognitionError, endResync, failed, getBacktrackingLevel, getCurrentInputSymbol, getErrorHeader, getGrammarFileName, getMissingSymbol, getNumberOfSyntaxErrors, getRuleInvocationStack, getRuleInvocationStack, getRuleMemoization, getRuleMemoizationCacheSize, getTokenErrorDisplay, getTokenNames, match, matchAny, memoize, mismatchIsMissingToken, mismatchIsUnwantedToken, pushFollow, recover, recoverFromMismatchedSet, recoverFromMismatchedToken, setBacktrackingLevel, toStrings, traceIn, traceOut
public Lexer()
public Lexer(org.antlr.runtime.CharStream input)
public Lexer(org.antlr.runtime.CharStream input, org.antlr.runtime.RecognizerSharedState state)
public org.antlr.runtime.Token nextToken()
nextToken
in interface org.antlr.runtime.TokenSource
nextToken
in class org.antlr.runtime.Lexer
public java.lang.String getErrorMessage(org.antlr.runtime.Token t)
public void emitErrorMessage(java.lang.String msg)
emitErrorMessage
in class org.antlr.runtime.BaseRecognizer