java.lang.Object
org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
org.antlr.v4.runtime.Parser
org.jgrapht.nio.csv.CSVParser
class CSVParser
extends org.antlr.v4.runtime.Parser
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
Nested classes/interfaces inherited from class org.antlr.v4.runtime.Parser
org.antlr.v4.runtime.Parser.TraceListener, org.antlr.v4.runtime.Parser.TrimToSizeListener
-
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 final int
static final int
static final int
static final int
static final String[]
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.Parser
_buildParseTrees, _ctx, _errHandler, _input, _parseListeners, _precedenceStack, _syntaxErrors, matchedEOF
Fields inherited from class org.antlr.v4.runtime.Recognizer
_interp, EOF
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal CSVParser.FieldContext
field()
final CSVParser.FileContext
file()
org.antlr.v4.runtime.atn.ATN
getATN()
String[]
String[]
Deprecated.org.antlr.v4.runtime.Vocabulary
final CSVParser.HeaderContext
header()
private static String[]
private static String[]
private static String[]
final CSVParser.RecordContext
record()
Methods inherited from class org.antlr.v4.runtime.Parser
addContextToParseTree, addParseListener, compileParseTreePattern, compileParseTreePattern, consume, createErrorNode, createTerminalNode, dumpDFA, dumpDFA, enterOuterAlt, enterRecursionRule, enterRecursionRule, enterRule, exitRule, getATNWithBypassAlts, getBuildParseTree, getContext, getCurrentToken, getDFAStrings, getErrorHandler, getExpectedTokens, getExpectedTokensWithinCurrentRule, getInputStream, getInvokingContext, getNumberOfSyntaxErrors, getParseInfo, getParseListeners, getPrecedence, getRuleContext, getRuleIndex, getRuleInvocationStack, getRuleInvocationStack, getSourceName, getTokenFactory, getTokenStream, getTrimParseTree, inContext, isExpectedToken, isMatchedEOF, isTrace, match, matchWildcard, notifyErrorListeners, notifyErrorListeners, precpred, pushNewRecursionContext, removeParseListener, removeParseListeners, reset, setBuildParseTree, setContext, setErrorHandler, setInputStream, setProfile, setTokenFactory, setTokenStream, setTrace, setTrimParseTree, triggerEnterRuleEvent, triggerExitRuleEvent, unrollRecursionContexts
Methods inherited from class org.antlr.v4.runtime.Recognizer
action, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, removeErrorListener, removeErrorListeners, sempred, 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:
-
RULE_file
public static final int RULE_file- See Also:
-
RULE_header
public static final int RULE_header- See Also:
-
RULE_record
public static final int RULE_record- See Also:
-
RULE_field
public static final int RULE_field- See Also:
-
ruleNames
-
_LITERAL_NAMES
-
_SYMBOLIC_NAMES
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY -
tokenNames
Deprecated.UseVOCABULARY
instead. -
_serializedATN
- See Also:
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
-
-
Constructor Details
-
CSVParser
public CSVParser(org.antlr.v4.runtime.TokenStream input)
-
-
Method Details
-
makeRuleNames
-
makeLiteralNames
-
makeSymbolicNames
-
getTokenNames
Deprecated.- Specified by:
getTokenNames
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,
org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getVocabulary
public org.antlr.v4.runtime.Vocabulary getVocabulary()- Overrides:
getVocabulary
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,
org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getGrammarFileName
- Specified by:
getGrammarFileName
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,
org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getRuleNames
- Specified by:
getRuleNames
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,
org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getSerializedATN
- Overrides:
getSerializedATN
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,
org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getATN
public org.antlr.v4.runtime.atn.ATN getATN()- Specified by:
getATN
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,
org.antlr.v4.runtime.atn.ParserATNSimulator>
-
file
- Throws:
org.antlr.v4.runtime.RecognitionException
-
header
- Throws:
org.antlr.v4.runtime.RecognitionException
-
record
- Throws:
org.antlr.v4.runtime.RecognitionException
-
field
- Throws:
org.antlr.v4.runtime.RecognitionException
-
VOCABULARY
instead.