Show / Hide Table of Contents

Class CSVBaseListener

This class provides an empty implementation of ICSVListener, which can be extended to create a listener which only needs to handle a subset of the available methods.

Inheritance
System.Object
CSVBaseListener
Implements
ICSVListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Csv
Assembly: Csv.dll
Syntax
public class CSVBaseListener : object, ICSVListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterCsvFile(CSVParser.CsvFileContext)

Enter a parse tree produced by csvFile().

The default implementation does nothing.

Declaration
public virtual void EnterCsvFile(CSVParser.CsvFileContext context)
Parameters
Type Name Description
CSVParser.CsvFileContext context

The parse tree.

| Improve this Doc View Source

EnterEveryRule(Antlr4.Runtime.ParserRuleContext)

Declaration
public virtual void EnterEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type Name Description
Antlr4.Runtime.ParserRuleContext context
Remarks

The default implementation does nothing.

| Improve this Doc View Source

EnterField(CSVParser.FieldContext)

Enter a parse tree produced by field().

The default implementation does nothing.

Declaration
public virtual void EnterField(CSVParser.FieldContext context)
Parameters
Type Name Description
CSVParser.FieldContext context

The parse tree.

| Improve this Doc View Source

EnterHdr(CSVParser.HdrContext)

Enter a parse tree produced by hdr().

The default implementation does nothing.

Declaration
public virtual void EnterHdr(CSVParser.HdrContext context)
Parameters
Type Name Description
CSVParser.HdrContext context

The parse tree.

| Improve this Doc View Source

EnterRow(CSVParser.RowContext)

Enter a parse tree produced by row().

The default implementation does nothing.

Declaration
public virtual void EnterRow(CSVParser.RowContext context)
Parameters
Type Name Description
CSVParser.RowContext context

The parse tree.

| Improve this Doc View Source

ExitCsvFile(CSVParser.CsvFileContext)

Exit a parse tree produced by csvFile().

The default implementation does nothing.

Declaration
public virtual void ExitCsvFile(CSVParser.CsvFileContext context)
Parameters
Type Name Description
CSVParser.CsvFileContext context

The parse tree.

| Improve this Doc View Source

ExitEveryRule(Antlr4.Runtime.ParserRuleContext)

Declaration
public virtual void ExitEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type Name Description
Antlr4.Runtime.ParserRuleContext context
Remarks

The default implementation does nothing.

| Improve this Doc View Source

ExitField(CSVParser.FieldContext)

Exit a parse tree produced by field().

The default implementation does nothing.

Declaration
public virtual void ExitField(CSVParser.FieldContext context)
Parameters
Type Name Description
CSVParser.FieldContext context

The parse tree.

| Improve this Doc View Source

ExitHdr(CSVParser.HdrContext)

Exit a parse tree produced by hdr().

The default implementation does nothing.

Declaration
public virtual void ExitHdr(CSVParser.HdrContext context)
Parameters
Type Name Description
CSVParser.HdrContext context

The parse tree.

| Improve this Doc View Source

ExitRow(CSVParser.RowContext)

Exit a parse tree produced by row().

The default implementation does nothing.

Declaration
public virtual void ExitRow(CSVParser.RowContext context)
Parameters
Type Name Description
CSVParser.RowContext context

The parse tree.

| Improve this Doc View Source

VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode)

Declaration
public virtual void VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode node)
Parameters
Type Name Description
Antlr4.Runtime.Tree.IErrorNode node
Remarks

The default implementation does nothing.

| Improve this Doc View Source

VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode)

Declaration
public virtual void VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode node)
Parameters
Type Name Description
Antlr4.Runtime.Tree.ITerminalNode node
Remarks

The default implementation does nothing.

Implements

ICSVListener
Antlr4.Runtime.Tree.IParseTreeListener
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX