Show / Hide Table of Contents

Class CSVBaseVisitor<Result>

This class provides an empty implementation of ICSVVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.

Inheritance
System.Object
CSVBaseVisitor<Result>
Implements
ICSVVisitor<Result>
IParseTreeVisitor<Result>
Namespace: GCore.Antlr.Grammers.Csv
Assembly: Csv.dll
Syntax
public class CSVBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, ICSVVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name Description
Result

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitCsvFile(CSVParser.CsvFileContext)

Visit a parse tree produced by csvFile().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitCsvFile(CSVParser.CsvFileContext context)
Parameters
Type Name Description
CSVParser.CsvFileContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitField(CSVParser.FieldContext)

Visit a parse tree produced by field().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitField(CSVParser.FieldContext context)
Parameters
Type Name Description
CSVParser.FieldContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitHdr(CSVParser.HdrContext)

Visit a parse tree produced by hdr().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitHdr(CSVParser.HdrContext context)
Parameters
Type Name Description
CSVParser.HdrContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitRow(CSVParser.RowContext)

Visit a parse tree produced by row().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitRow(CSVParser.RowContext context)
Parameters
Type Name Description
CSVParser.RowContext context

The parse tree.

Returns
Type Description
Result

Implements

ICSVVisitor<Result>
IParseTreeVisitor<>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX