public class CrAwareLexerSimulator extends org.antlr.v4.runtime.atn.LexerATNSimulator
| Constructor and Description |
|---|
CrAwareLexerSimulator(org.antlr.v4.runtime.Lexer lexer,
org.antlr.v4.runtime.atn.ATN augmented,
org.antlr.v4.runtime.dfa.DFA[] decisionToDfa,
org.antlr.v4.runtime.atn.PredictionContextCache sharedContextCache)
Constructs a CrAwareLexerSimulator to interpret the input
from the lexer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
consume(org.antlr.v4.runtime.CharStream input)
Overrides the 'consume()' method to add support for
'\r' (carriage return) line endings.
|
accept, addDFAEdge, addDFAEdge, addDFAState, captureSimState, clearDFA, closure, computeStartState, computeTargetState, copyState, evaluatePredicate, execATN, failOrAccept, getCharPositionInLine, getDFA, getEpsilonTarget, getExistingTargetState, getLine, getReachableConfigSet, getReachableTarget, getText, getTokenName, match, matchATN, reset, setCharPositionInLine, setLinepublic CrAwareLexerSimulator(org.antlr.v4.runtime.Lexer lexer, org.antlr.v4.runtime.atn.ATN augmented, org.antlr.v4.runtime.dfa.DFA[] decisionToDfa, org.antlr.v4.runtime.atn.PredictionContextCache sharedContextCache)
lexer - the current lexeraugmented - the augmented transition networkdecisionToDfa - the DFA to store our states insharedContextCache - cache of PredictionContext objectspublic void consume(org.antlr.v4.runtime.CharStream input)
consume in class org.antlr.v4.runtime.atn.LexerATNSimulatorinput - the Character stream of the file we are parsingCopyright © 2001-2022. All Rights Reserved.