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, traceOutalreadyParsedRule, 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, traceOutpublic 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.Lexerpublic org.antlr.runtime.Token nextToken()
nextToken in interface org.antlr.runtime.TokenSourcenextToken in class org.antlr.runtime.Lexerpublic Errors getErrors()
public void displayRecognitionError(String[] tokenNames, org.antlr.runtime.RecognitionException e)
displayRecognitionError in class org.antlr.runtime.BaseRecognizerCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.