- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<java.lang.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
Fields Modifier and Type Field Description static org.antlr.v4.runtime.atn.ATN_ATNprotected static org.antlr.v4.runtime.dfa.DFA[]_decisionToDFAprivate static java.lang.String[]_LITERAL_NAMESstatic java.lang.String_serializedATNprotected static org.antlr.v4.runtime.atn.PredictionContextCache_sharedContextCacheprivate static java.lang.String[]_SYMBOLIC_NAMESstatic java.lang.String[]channelNamesstatic java.lang.String[]modeNamesstatic java.lang.String[]ruleNames(package private) charsepstatic intSEPARATORstatic intSTRINGstatic intT__0static intT__1static intTEXTstatic java.lang.String[]tokenNamesDeprecated.UseVOCABULARYinstead.static org.antlr.v4.runtime.VocabularyVOCABULARY-
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
-
-
Constructor Summary
Constructors Constructor Description CSVLexer(org.antlr.v4.runtime.CharStream input)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.antlr.v4.runtime.atn.ATNgetATN()java.lang.String[]getChannelNames()java.lang.StringgetGrammarFileName()java.lang.String[]getModeNames()java.lang.String[]getRuleNames()private chargetSep()java.lang.StringgetSerializedATN()java.lang.String[]getTokenNames()Deprecated.org.antlr.v4.runtime.VocabularygetVocabulary()private static java.lang.String[]makeLiteralNames()private static java.lang.String[]makeRuleNames()private static java.lang.String[]makeSymbolicNames()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, 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 Detail
-
_decisionToDFA
protected static final org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA
-
_sharedContextCache
protected static final org.antlr.v4.runtime.atn.PredictionContextCache _sharedContextCache
-
T__0
public static final int T__0
- See Also:
- Constant Field Values
-
T__1
public static final int T__1
- See Also:
- Constant Field Values
-
SEPARATOR
public static final int SEPARATOR
- See Also:
- Constant Field Values
-
TEXT
public static final int TEXT
- See Also:
- Constant Field Values
-
STRING
public static final int STRING
- See Also:
- Constant Field Values
-
channelNames
public static java.lang.String[] channelNames
-
modeNames
public static java.lang.String[] modeNames
-
ruleNames
public static final java.lang.String[] ruleNames
-
_LITERAL_NAMES
private static final java.lang.String[] _LITERAL_NAMES
-
_SYMBOLIC_NAMES
private static final java.lang.String[] _SYMBOLIC_NAMES
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY
-
tokenNames
@Deprecated public static final java.lang.String[] tokenNames
Deprecated.UseVOCABULARYinstead.
-
sep
char sep
-
_serializedATN
public static final java.lang.String _serializedATN
- See Also:
- Constant Field Values
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
-
-
Method Detail
-
makeRuleNames
private static java.lang.String[] makeRuleNames()
-
makeLiteralNames
private static java.lang.String[] makeLiteralNames()
-
makeSymbolicNames
private static java.lang.String[] makeSymbolicNames()
-
getTokenNames
@Deprecated public java.lang.String[] getTokenNames()
Deprecated.- Overrides:
getTokenNamesin classorg.antlr.v4.runtime.Lexer
-
getVocabulary
public org.antlr.v4.runtime.Vocabulary getVocabulary()
- Overrides:
getVocabularyin classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
setSep
public void setSep(char sep)
-
getSep
private char getSep()
-
getGrammarFileName
public java.lang.String getGrammarFileName()
- Specified by:
getGrammarFileNamein classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getRuleNames
public java.lang.String[] getRuleNames()
- Specified by:
getRuleNamesin classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getSerializedATN
public java.lang.String getSerializedATN()
- Overrides:
getSerializedATNin classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getChannelNames
public java.lang.String[] getChannelNames()
- Overrides:
getChannelNamesin classorg.antlr.v4.runtime.Lexer
-
getModeNames
public java.lang.String[] 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<java.lang.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<java.lang.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)
-
-