Show / Hide Table of Contents

Class newickBaseVisitor<Result>

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

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

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitBranch(newickParser.BranchContext)

Visit a parse tree produced by branch().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitBranch(newickParser.BranchContext context)
Parameters
Type Name Description
newickParser.BranchContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitBranchSet(newickParser.BranchSetContext)

Visit a parse tree produced by branchSet().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitBranchSet(newickParser.BranchSetContext context)
Parameters
Type Name Description
newickParser.BranchSetContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitInternal_(newickParser.Internal_Context)

Visit a parse tree produced by internal_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitInternal_(newickParser.Internal_Context context)
Parameters
Type Name Description
newickParser.Internal_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitLeaf(newickParser.LeafContext)

Visit a parse tree produced by leaf().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitLeaf(newickParser.LeafContext context)
Parameters
Type Name Description
newickParser.LeafContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitLength(newickParser.LengthContext)

Visit a parse tree produced by length().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitLength(newickParser.LengthContext context)
Parameters
Type Name Description
newickParser.LengthContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitName(newickParser.NameContext)

Visit a parse tree produced by name().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitName(newickParser.NameContext context)
Parameters
Type Name Description
newickParser.NameContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitRootInternal(newickParser.RootInternalContext)

Visit a parse tree produced by rootInternal().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitRootInternal(newickParser.RootInternalContext context)
Parameters
Type Name Description
newickParser.RootInternalContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitRootLeaf(newickParser.RootLeafContext)

Visit a parse tree produced by rootLeaf().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitRootLeaf(newickParser.RootLeafContext context)
Parameters
Type Name Description
newickParser.RootLeafContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSubtree(newickParser.SubtreeContext)

Visit a parse tree produced by subtree().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitSubtree(newickParser.SubtreeContext context)
Parameters
Type Name Description
newickParser.SubtreeContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitTree_(newickParser.Tree_Context)

Visit a parse tree produced by tree_().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitTree_(newickParser.Tree_Context context)
Parameters
Type Name Description
newickParser.Tree_Context context

The parse tree.

Returns
Type Description
Result

Implements

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