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.ATN
protected static final org.antlr.v4.runtime.dfa.DFA[]
private static final String[]
static final String
protected static final org.antlr.v4.runtime.atn.PredictionContextCache
private static final String[]
static String[]
static String[]
static final String[]
(package private) char
static final int
static final int
static final int
static final int
static final int
static final String[]
Deprecated.static final org.antlr.v4.runtime.Vocabulary
Fields 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, SKIP
Fields inherited from class org.antlr.v4.runtime.Recognizer
_interp, EOF
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.antlr.v4.runtime.atn.ATN
getATN()
String[]
String[]
String[]
private char
getSep()
String[]
Deprecated.org.antlr.v4.runtime.Vocabulary
private static String[]
private static String[]
private static String[]
boolean
sempred
(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex) private boolean
SEPARATOR_sempred
(org.antlr.v4.runtime.RuleContext _localctx, int predIndex) void
setSep
(char sep) private boolean
TEXTCHAR_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, skip
Methods 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.UseVOCABULARY
instead. -
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:
getTokenNames
in classorg.antlr.v4.runtime.Lexer
-
getVocabulary
public org.antlr.v4.runtime.Vocabulary getVocabulary()- Overrides:
getVocabulary
in 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:
getGrammarFileName
in classorg.antlr.v4.runtime.Recognizer<Integer,
org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getRuleNames
- Specified by:
getRuleNames
in classorg.antlr.v4.runtime.Recognizer<Integer,
org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getSerializedATN
- Overrides:
getSerializedATN
in classorg.antlr.v4.runtime.Recognizer<Integer,
org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getChannelNames
- Overrides:
getChannelNames
in classorg.antlr.v4.runtime.Lexer
-
getModeNames
- Overrides:
getModeNames
in classorg.antlr.v4.runtime.Lexer
-
getATN
public org.antlr.v4.runtime.atn.ATN getATN()- Specified by:
getATN
in 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:
sempred
in 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)
-
VOCABULARY
instead.