public abstract class AbstractLexer
extends org.antlr.runtime.Lexer
| Constructor and Description |
|---|
AbstractLexer()
Default constructor for the lexer, when you do not yet know what the character stream to be provided is.
|
AbstractLexer(org.antlr.runtime.CharStream input)
Create a new instance of the lexer using the given character stream as the input to lex into tokens.
|
AbstractLexer(org.antlr.runtime.CharStream input,
org.antlr.runtime.RecognizerSharedState state)
Internal constructor for ANTLR - do not use.
|
emit, emit, getCharErrorDisplay, getCharIndex, getCharPositionInLine, getCharStream, getEOFToken, getErrorMessage, getLine, getSourceName, getText, match, match, matchAny, matchRange, mTokens, nextToken, recover, reportError, reset, setCharStream, setText, skip, traceIn, traceOutalreadyParsedRule, beginResync, combineFollows, computeContextSensitiveRuleFOLLOW, computeErrorRecoverySet, consumeUntil, consumeUntil, displayRecognitionError, 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 AbstractLexer()
public AbstractLexer(org.antlr.runtime.CharStream input)
input - A valid character stream that contains the ruleSrc code you wish to compile (or lex at least)public AbstractLexer(org.antlr.runtime.CharStream input,
org.antlr.runtime.RecognizerSharedState state)
input - The character stream we are going to lexstate - The shared state object, shared between all lexer comonentsCopyright © 2009–2021. All rights reserved.