java.lang.Object
org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
org.antlr.v4.runtime.Lexer
org.jgrapht.io.CSVLexer
- All Implemented Interfaces:
org.antlr.v4.runtime.TokenSource
class CSVLexer
extends org.antlr.v4.runtime.Lexer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.antlr.v4.runtime.atn.ATNprotected static final org.antlr.v4.runtime.dfa.DFA[]private static final String[]static final Stringprotected static final org.antlr.v4.runtime.atn.PredictionContextCacheprivate static final String[]static String[]static String[]static final String[](package private) charstatic final intstatic final intstatic final intstatic final intstatic final intstatic final String[]Deprecated.static final org.antlr.v4.runtime.VocabularyFields inherited from class org.antlr.v4.runtime.Lexer
_channel, _factory, _hitEOF, _input, _mode, _modeStack, _text, _token, _tokenFactorySourcePair, _tokenStartCharIndex, _tokenStartCharPositionInLine, _tokenStartLine, _type, DEFAULT_MODE, DEFAULT_TOKEN_CHANNEL, HIDDEN, MAX_CHAR_VALUE, MIN_CHAR_VALUE, MORE, SKIPFields inherited from class org.antlr.v4.runtime.Recognizer
_interp, EOF -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.antlr.v4.runtime.atn.ATNgetATN()String[]String[]String[]private chargetSep()String[]Deprecated.org.antlr.v4.runtime.Vocabularyprivate static String[]private static String[]private static String[]booleansempred(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex) private booleanSEPARATOR_sempred(org.antlr.v4.runtime.RuleContext _localctx, int predIndex) voidsetSep(char sep) private booleanTEXTCHAR_sempred(org.antlr.v4.runtime.RuleContext _localctx, int predIndex) Methods inherited from class org.antlr.v4.runtime.Lexer
emit, emit, emitEOF, getAllTokens, getChannel, getCharErrorDisplay, getCharIndex, getCharPositionInLine, getErrorDisplay, getErrorDisplay, getInputStream, getLine, getSourceName, getText, getToken, getTokenFactory, getType, mode, more, nextToken, notifyListeners, popMode, pushMode, recover, recover, reset, setChannel, setCharPositionInLine, setInputStream, setLine, setText, setToken, setTokenFactory, setType, skipMethods inherited from class org.antlr.v4.runtime.Recognizer
action, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getParseInfo, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, precpred, removeErrorListener, removeErrorListeners, setInterpreter, setState
-
Field Details
-
_decisionToDFA
protected static final org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA -
T__0
public static final int T__0- See Also:
-
T__1
public static final int T__1- See Also:
-
SEPARATOR
public static final int SEPARATOR- See Also:
-
TEXT
public static final int TEXT- See Also:
-
STRING
public static final int STRING- See Also:
-
channelNames
-
modeNames
-
ruleNames
-
_LITERAL_NAMES
-
_SYMBOLIC_NAMES
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY -
tokenNames
Deprecated.UseVOCABULARYinstead. -
sep
char sep -
_serializedATN
- See Also:
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
-
-
Constructor Details
-
CSVLexer
public CSVLexer(org.antlr.v4.runtime.CharStream input)
-
-
Method Details
-
makeRuleNames
-
makeLiteralNames
-
makeSymbolicNames
-
getTokenNames
Deprecated.- Overrides:
getTokenNamesin classorg.antlr.v4.runtime.Lexer
-
getVocabulary
public org.antlr.v4.runtime.Vocabulary getVocabulary()- Overrides:
getVocabularyin classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
setSep
public void setSep(char sep) -
getSep
private char getSep() -
getGrammarFileName
- Specified by:
getGrammarFileNamein classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getRuleNames
- Specified by:
getRuleNamesin classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getSerializedATN
- Overrides:
getSerializedATNin classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getChannelNames
- Overrides:
getChannelNamesin classorg.antlr.v4.runtime.Lexer
-
getModeNames
- Overrides:
getModeNamesin classorg.antlr.v4.runtime.Lexer
-
getATN
public org.antlr.v4.runtime.atn.ATN getATN()- Specified by:
getATNin classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
sempred
public boolean sempred(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex) - Overrides:
sempredin classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
SEPARATOR_sempred
private boolean SEPARATOR_sempred(org.antlr.v4.runtime.RuleContext _localctx, int predIndex) -
TEXTCHAR_sempred
private boolean TEXTCHAR_sempred(org.antlr.v4.runtime.RuleContext _localctx, int predIndex)
-
VOCABULARYinstead.