public class CSVBaseListener extends Object implements CSVListener
CSVListener
,
which can be extended to create a listener which only needs to handle a subset
of the available methods.Constructor and Description |
---|
CSVBaseListener() |
Modifier and Type | Method and Description |
---|---|
void |
enterEmptyField(CSVParser.EmptyFieldContext ctx)
Enter a parse tree produced by the
EmptyField
labeled alternative in CSVParser.field() . |
void |
enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) |
void |
enterFile(CSVParser.FileContext ctx)
Enter a parse tree produced by
CSVParser.file() . |
void |
enterHeader(CSVParser.HeaderContext ctx)
Enter a parse tree produced by
CSVParser.header() . |
void |
enterRecord(CSVParser.RecordContext ctx)
Enter a parse tree produced by
CSVParser.record() . |
void |
enterStringField(CSVParser.StringFieldContext ctx)
Enter a parse tree produced by the
StringField
labeled alternative in CSVParser.field() . |
void |
enterTextField(CSVParser.TextFieldContext ctx)
Enter a parse tree produced by the
TextField
labeled alternative in CSVParser.field() . |
void |
exitEmptyField(CSVParser.EmptyFieldContext ctx)
Exit a parse tree produced by the
EmptyField
labeled alternative in CSVParser.field() . |
void |
exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) |
void |
exitFile(CSVParser.FileContext ctx)
Exit a parse tree produced by
CSVParser.file() . |
void |
exitHeader(CSVParser.HeaderContext ctx)
Exit a parse tree produced by
CSVParser.header() . |
void |
exitRecord(CSVParser.RecordContext ctx)
Exit a parse tree produced by
CSVParser.record() . |
void |
exitStringField(CSVParser.StringFieldContext ctx)
Exit a parse tree produced by the
StringField
labeled alternative in CSVParser.field() . |
void |
exitTextField(CSVParser.TextFieldContext ctx)
Exit a parse tree produced by the
TextField
labeled alternative in CSVParser.field() . |
void |
visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) |
void |
visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node) |
public void enterFile(CSVParser.FileContext ctx)
CSVParser.file()
.
The default implementation does nothing.
enterFile
in interface CSVListener
ctx
- the parse treepublic void exitFile(CSVParser.FileContext ctx)
CSVParser.file()
.
The default implementation does nothing.
exitFile
in interface CSVListener
ctx
- the parse treepublic void enterHeader(CSVParser.HeaderContext ctx)
CSVParser.header()
.
The default implementation does nothing.
enterHeader
in interface CSVListener
ctx
- the parse treepublic void exitHeader(CSVParser.HeaderContext ctx)
CSVParser.header()
.
The default implementation does nothing.
exitHeader
in interface CSVListener
ctx
- the parse treepublic void enterRecord(CSVParser.RecordContext ctx)
CSVParser.record()
.
The default implementation does nothing.
enterRecord
in interface CSVListener
ctx
- the parse treepublic void exitRecord(CSVParser.RecordContext ctx)
CSVParser.record()
.
The default implementation does nothing.
exitRecord
in interface CSVListener
ctx
- the parse treepublic void enterTextField(CSVParser.TextFieldContext ctx)
TextField
labeled alternative in CSVParser.field()
.
The default implementation does nothing.
enterTextField
in interface CSVListener
ctx
- the parse treepublic void exitTextField(CSVParser.TextFieldContext ctx)
TextField
labeled alternative in CSVParser.field()
.
The default implementation does nothing.
exitTextField
in interface CSVListener
ctx
- the parse treepublic void enterStringField(CSVParser.StringFieldContext ctx)
StringField
labeled alternative in CSVParser.field()
.
The default implementation does nothing.
enterStringField
in interface CSVListener
ctx
- the parse treepublic void exitStringField(CSVParser.StringFieldContext ctx)
StringField
labeled alternative in CSVParser.field()
.
The default implementation does nothing.
exitStringField
in interface CSVListener
ctx
- the parse treepublic void enterEmptyField(CSVParser.EmptyFieldContext ctx)
EmptyField
labeled alternative in CSVParser.field()
.
The default implementation does nothing.
enterEmptyField
in interface CSVListener
ctx
- the parse treepublic void exitEmptyField(CSVParser.EmptyFieldContext ctx)
EmptyField
labeled alternative in CSVParser.field()
.
The default implementation does nothing.
exitEmptyField
in interface CSVListener
ctx
- the parse treepublic void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
enterEveryRule
in interface org.antlr.v4.runtime.tree.ParseTreeListener
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
exitEveryRule
in interface org.antlr.v4.runtime.tree.ParseTreeListener
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
visitTerminal
in interface org.antlr.v4.runtime.tree.ParseTreeListener
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
visitErrorNode
in interface org.antlr.v4.runtime.tree.ParseTreeListener
Copyright © 2016. All rights reserved.