public abstract class ANTLRLangLexerBase
extends org.antlr.runtime.Lexer
Constructor and Description |
---|
ANTLRLangLexerBase() |
ANTLRLangLexerBase(org.antlr.runtime.CharStream input) |
ANTLRLangLexerBase(org.antlr.runtime.CharStream input,
org.antlr.runtime.RecognizerSharedState state) |
Modifier and Type | Method and Description |
---|---|
void |
displayRecognitionError(String[] tokenNames,
org.antlr.runtime.RecognitionException e) |
void |
emit(org.antlr.runtime.Token token) |
Errors |
getErrors()
Returns the collected lexer errors.
|
org.antlr.runtime.Token |
nextToken() |
emit, getCharErrorDisplay, getCharIndex, getCharPositionInLine, getCharStream, getEOFToken, getErrorMessage, getLine, getSourceName, getText, match, match, matchAny, matchRange, mTokens, recover, reportError, reset, setCharStream, setText, skip, traceIn, traceOut
alreadyParsedRule, beginResync, combineFollows, computeContextSensitiveRuleFOLLOW, computeErrorRecoverySet, consumeUntil, consumeUntil, emitErrorMessage, 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 ANTLRLangLexerBase()
public ANTLRLangLexerBase(org.antlr.runtime.CharStream input, org.antlr.runtime.RecognizerSharedState state)
public ANTLRLangLexerBase(org.antlr.runtime.CharStream input)
public void emit(org.antlr.runtime.Token token)
emit
in class org.antlr.runtime.Lexer
public org.antlr.runtime.Token nextToken()
nextToken
in interface org.antlr.runtime.TokenSource
nextToken
in class org.antlr.runtime.Lexer
public Errors getErrors()
public void displayRecognitionError(String[] tokenNames, org.antlr.runtime.RecognitionException e)
displayRecognitionError
in class org.antlr.runtime.BaseRecognizer
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.