Show / Hide Table of Contents

Class DOTBaseVisitor<Result>

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

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

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitA_list(DOTParser.A_listContext)

Visit a parse tree produced by a_list().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitA_list(DOTParser.A_listContext context)
Parameters
Type Name Description
DOTParser.A_listContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAttr_list(DOTParser.Attr_listContext)

Visit a parse tree produced by attr_list().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAttr_list(DOTParser.Attr_listContext context)
Parameters
Type Name Description
DOTParser.Attr_listContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitAttr_stmt(DOTParser.Attr_stmtContext)

Visit a parse tree produced by attr_stmt().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAttr_stmt(DOTParser.Attr_stmtContext context)
Parameters
Type Name Description
DOTParser.Attr_stmtContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitEdge_stmt(DOTParser.Edge_stmtContext)

Visit a parse tree produced by edge_stmt().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitEdge_stmt(DOTParser.Edge_stmtContext context)
Parameters
Type Name Description
DOTParser.Edge_stmtContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitEdgeop(DOTParser.EdgeopContext)

Visit a parse tree produced by edgeop().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitEdgeop(DOTParser.EdgeopContext context)
Parameters
Type Name Description
DOTParser.EdgeopContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitEdgeRHS(DOTParser.EdgeRHSContext)

Visit a parse tree produced by edgeRHS().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitEdgeRHS(DOTParser.EdgeRHSContext context)
Parameters
Type Name Description
DOTParser.EdgeRHSContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitGraph(DOTParser.GraphContext)

Visit a parse tree produced by graph().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitGraph(DOTParser.GraphContext context)
Parameters
Type Name Description
DOTParser.GraphContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitId_(DOTParser.Id_Context)

Visit a parse tree produced by id_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitId_(DOTParser.Id_Context context)
Parameters
Type Name Description
DOTParser.Id_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNode_id(DOTParser.Node_idContext)

Visit a parse tree produced by node_id().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitNode_id(DOTParser.Node_idContext context)
Parameters
Type Name Description
DOTParser.Node_idContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitNode_stmt(DOTParser.Node_stmtContext)

Visit a parse tree produced by node_stmt().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitNode_stmt(DOTParser.Node_stmtContext context)
Parameters
Type Name Description
DOTParser.Node_stmtContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPort(DOTParser.PortContext)

Visit a parse tree produced by port().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitPort(DOTParser.PortContext context)
Parameters
Type Name Description
DOTParser.PortContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitStmt(DOTParser.StmtContext)

Visit a parse tree produced by stmt().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitStmt(DOTParser.StmtContext context)
Parameters
Type Name Description
DOTParser.StmtContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitStmt_list(DOTParser.Stmt_listContext)

Visit a parse tree produced by stmt_list().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitStmt_list(DOTParser.Stmt_listContext context)
Parameters
Type Name Description
DOTParser.Stmt_listContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSubgraph(DOTParser.SubgraphContext)

Visit a parse tree produced by subgraph().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitSubgraph(DOTParser.SubgraphContext context)
Parameters
Type Name Description
DOTParser.SubgraphContext context

The parse tree.

Returns
Type Description
Result

Implements

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