Class CSVBaseListener
java.lang.Object
org.jgrapht.io.CSVBaseListener
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener, CSVListener
This class provides an empty implementation of
CSVListener,
which can be extended to create a listener which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEnter a parse tree produced by theEmptyFieldlabeled alternative inCSVParser.field().voidenterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) voidEnter a parse tree produced byCSVParser.file().voidEnter a parse tree produced byCSVParser.header().voidEnter a parse tree produced byCSVParser.record().voidEnter a parse tree produced by theStringFieldlabeled alternative inCSVParser.field().voidEnter a parse tree produced by theTextFieldlabeled alternative inCSVParser.field().voidExit a parse tree produced by theEmptyFieldlabeled alternative inCSVParser.field().voidexitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) voidExit a parse tree produced byCSVParser.file().voidExit a parse tree produced byCSVParser.header().voidExit a parse tree produced byCSVParser.record().voidExit a parse tree produced by theStringFieldlabeled alternative inCSVParser.field().voidExit a parse tree produced by theTextFieldlabeled alternative inCSVParser.field().voidvisitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) voidvisitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
-
Constructor Details
-
CSVBaseListener
CSVBaseListener()
-
-
Method Details
-
enterFile
Enter a parse tree produced byCSVParser.file().The default implementation does nothing.
- Specified by:
enterFilein interfaceCSVListener- Parameters:
ctx- the parse tree
-
exitFile
Exit a parse tree produced byCSVParser.file().The default implementation does nothing.
- Specified by:
exitFilein interfaceCSVListener- Parameters:
ctx- the parse tree
-
enterHeader
Enter a parse tree produced byCSVParser.header().The default implementation does nothing.
- Specified by:
enterHeaderin interfaceCSVListener- Parameters:
ctx- the parse tree
-
exitHeader
Exit a parse tree produced byCSVParser.header().The default implementation does nothing.
- Specified by:
exitHeaderin interfaceCSVListener- Parameters:
ctx- the parse tree
-
enterRecord
Enter a parse tree produced byCSVParser.record().The default implementation does nothing.
- Specified by:
enterRecordin interfaceCSVListener- Parameters:
ctx- the parse tree
-
exitRecord
Exit a parse tree produced byCSVParser.record().The default implementation does nothing.
- Specified by:
exitRecordin interfaceCSVListener- Parameters:
ctx- the parse tree
-
enterTextField
Enter a parse tree produced by theTextFieldlabeled alternative inCSVParser.field().The default implementation does nothing.
- Specified by:
enterTextFieldin interfaceCSVListener- Parameters:
ctx- the parse tree
-
exitTextField
Exit a parse tree produced by theTextFieldlabeled alternative inCSVParser.field().The default implementation does nothing.
- Specified by:
exitTextFieldin interfaceCSVListener- Parameters:
ctx- the parse tree
-
enterStringField
Enter a parse tree produced by theStringFieldlabeled alternative inCSVParser.field().The default implementation does nothing.
- Specified by:
enterStringFieldin interfaceCSVListener- Parameters:
ctx- the parse tree
-
exitStringField
Exit a parse tree produced by theStringFieldlabeled alternative inCSVParser.field().The default implementation does nothing.
- Specified by:
exitStringFieldin interfaceCSVListener- Parameters:
ctx- the parse tree
-
enterEmptyField
Enter a parse tree produced by theEmptyFieldlabeled alternative inCSVParser.field().The default implementation does nothing.
- Specified by:
enterEmptyFieldin interfaceCSVListener- Parameters:
ctx- the parse tree
-
exitEmptyField
Exit a parse tree produced by theEmptyFieldlabeled alternative inCSVParser.field().The default implementation does nothing.
- Specified by:
exitEmptyFieldin interfaceCSVListener- Parameters:
ctx- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) The default implementation does nothing.
- Specified by:
enterEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) The default implementation does nothing.
- Specified by:
exitEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node) The default implementation does nothing.
- Specified by:
visitTerminalin interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) The default implementation does nothing.
- Specified by:
visitErrorNodein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-