Class newickBaseListener
This class provides an empty implementation of InewickListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Newick
Assembly: Newick.dll
Syntax
public class newickBaseListener : object, InewickListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterBranch(newickParser.BranchContext)
Enter a parse tree produced by branch().
The default implementation does nothing.
Declaration
public virtual void EnterBranch(newickParser.BranchContext context)
Parameters
Type | Name | Description |
---|---|---|
newickParser.BranchContext | context | The parse tree. |
EnterBranchSet(newickParser.BranchSetContext)
Enter a parse tree produced by branchSet().
The default implementation does nothing.
Declaration
public virtual void EnterBranchSet(newickParser.BranchSetContext context)
Parameters
Type | Name | Description |
---|---|---|
newickParser.BranchSetContext | context | The parse tree. |
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.
EnterInternal_(newickParser.Internal_Context)
Enter a parse tree produced by internal_().
The default implementation does nothing.
Declaration
public virtual void EnterInternal_(newickParser.Internal_Context context)
Parameters
Type | Name | Description |
---|---|---|
newickParser.Internal_Context | context | The parse tree. |
EnterLeaf(newickParser.LeafContext)
Enter a parse tree produced by leaf().
The default implementation does nothing.
Declaration
public virtual void EnterLeaf(newickParser.LeafContext context)
Parameters
Type | Name | Description |
---|---|---|
newickParser.LeafContext | context | The parse tree. |
EnterLength(newickParser.LengthContext)
Enter a parse tree produced by length().
The default implementation does nothing.
Declaration
public virtual void EnterLength(newickParser.LengthContext context)
Parameters
Type | Name | Description |
---|---|---|
newickParser.LengthContext | context | The parse tree. |
EnterName(newickParser.NameContext)
Enter a parse tree produced by name().
The default implementation does nothing.
Declaration
public virtual void EnterName(newickParser.NameContext context)
Parameters
Type | Name | Description |
---|---|---|
newickParser.NameContext | context | The parse tree. |
EnterRootInternal(newickParser.RootInternalContext)
Enter a parse tree produced by rootInternal().
The default implementation does nothing.
Declaration
public virtual void EnterRootInternal(newickParser.RootInternalContext context)
Parameters
Type | Name | Description |
---|---|---|
newickParser.RootInternalContext | context | The parse tree. |
EnterRootLeaf(newickParser.RootLeafContext)
Enter a parse tree produced by rootLeaf().
The default implementation does nothing.
Declaration
public virtual void EnterRootLeaf(newickParser.RootLeafContext context)
Parameters
Type | Name | Description |
---|---|---|
newickParser.RootLeafContext | context | The parse tree. |
EnterSubtree(newickParser.SubtreeContext)
Enter a parse tree produced by subtree().
The default implementation does nothing.
Declaration
public virtual void EnterSubtree(newickParser.SubtreeContext context)
Parameters
Type | Name | Description |
---|---|---|
newickParser.SubtreeContext | context | The parse tree. |
EnterTree_(newickParser.Tree_Context)
Enter a parse tree produced by tree_().
The default implementation does nothing.
Declaration
public virtual void EnterTree_(newickParser.Tree_Context context)
Parameters
Type | Name | Description |
---|---|---|
newickParser.Tree_Context | context | The parse tree. |
ExitBranch(newickParser.BranchContext)
Exit a parse tree produced by branch().
The default implementation does nothing.
Declaration
public virtual void ExitBranch(newickParser.BranchContext context)
Parameters
Type | Name | Description |
---|---|---|
newickParser.BranchContext | context | The parse tree. |
ExitBranchSet(newickParser.BranchSetContext)
Exit a parse tree produced by branchSet().
The default implementation does nothing.
Declaration
public virtual void ExitBranchSet(newickParser.BranchSetContext context)
Parameters
Type | Name | Description |
---|---|---|
newickParser.BranchSetContext | context | The parse tree. |
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.
ExitInternal_(newickParser.Internal_Context)
Exit a parse tree produced by internal_().
The default implementation does nothing.
Declaration
public virtual void ExitInternal_(newickParser.Internal_Context context)
Parameters
Type | Name | Description |
---|---|---|
newickParser.Internal_Context | context | The parse tree. |
ExitLeaf(newickParser.LeafContext)
Exit a parse tree produced by leaf().
The default implementation does nothing.
Declaration
public virtual void ExitLeaf(newickParser.LeafContext context)
Parameters
Type | Name | Description |
---|---|---|
newickParser.LeafContext | context | The parse tree. |
ExitLength(newickParser.LengthContext)
Exit a parse tree produced by length().
The default implementation does nothing.
Declaration
public virtual void ExitLength(newickParser.LengthContext context)
Parameters
Type | Name | Description |
---|---|---|
newickParser.LengthContext | context | The parse tree. |
ExitName(newickParser.NameContext)
Exit a parse tree produced by name().
The default implementation does nothing.
Declaration
public virtual void ExitName(newickParser.NameContext context)
Parameters
Type | Name | Description |
---|---|---|
newickParser.NameContext | context | The parse tree. |
ExitRootInternal(newickParser.RootInternalContext)
Exit a parse tree produced by rootInternal().
The default implementation does nothing.
Declaration
public virtual void ExitRootInternal(newickParser.RootInternalContext context)
Parameters
Type | Name | Description |
---|---|---|
newickParser.RootInternalContext | context | The parse tree. |
ExitRootLeaf(newickParser.RootLeafContext)
Exit a parse tree produced by rootLeaf().
The default implementation does nothing.
Declaration
public virtual void ExitRootLeaf(newickParser.RootLeafContext context)
Parameters
Type | Name | Description |
---|---|---|
newickParser.RootLeafContext | context | The parse tree. |
ExitSubtree(newickParser.SubtreeContext)
Exit a parse tree produced by subtree().
The default implementation does nothing.
Declaration
public virtual void ExitSubtree(newickParser.SubtreeContext context)
Parameters
Type | Name | Description |
---|---|---|
newickParser.SubtreeContext | context | The parse tree. |
ExitTree_(newickParser.Tree_Context)
Exit a parse tree produced by tree_().
The default implementation does nothing.
Declaration
public virtual void ExitTree_(newickParser.Tree_Context context)
Parameters
Type | Name | Description |
---|---|---|
newickParser.Tree_Context | context | The parse tree. |
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.
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.