Class snowballBaseListener
This class provides an empty implementation of IsnowballListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Snowball
Assembly: Snowball.dll
Syntax
public class snowballBaseListener : object, IsnowballListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterAe(snowballParser.AeContext)
Enter a parse tree produced by ae().
The default implementation does nothing.
Declaration
public virtual void EnterAe(snowballParser.AeContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.AeContext | context | The parse tree. |
EnterB_name(snowballParser.B_nameContext)
Enter a parse tree produced by b_name().
The default implementation does nothing.
Declaration
public virtual void EnterB_name(snowballParser.B_nameContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.B_nameContext | context | The parse tree. |
EnterC(snowballParser.CContext)
Enter a parse tree produced by c().
The default implementation does nothing.
Declaration
public virtual void EnterC(snowballParser.CContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.CContext | context | The parse tree. |
EnterDeclaration(snowballParser.DeclarationContext)
Enter a parse tree produced by declaration().
The default implementation does nothing.
Declaration
public virtual void EnterDeclaration(snowballParser.DeclarationContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.DeclarationContext | 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.
EnterG(snowballParser.GContext)
Enter a parse tree produced by g().
The default implementation does nothing.
Declaration
public virtual void EnterG(snowballParser.GContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.GContext | context | The parse tree. |
EnterG_definition(snowballParser.G_definitionContext)
Enter a parse tree produced by g_definition().
The default implementation does nothing.
Declaration
public virtual void EnterG_definition(snowballParser.G_definitionContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.G_definitionContext | context | The parse tree. |
EnterG_name(snowballParser.G_nameContext)
Enter a parse tree produced by g_name().
The default implementation does nothing.
Declaration
public virtual void EnterG_name(snowballParser.G_nameContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.G_nameContext | context | The parse tree. |
EnterI_command(snowballParser.I_commandContext)
Enter a parse tree produced by i_command().
The default implementation does nothing.
Declaration
public virtual void EnterI_command(snowballParser.I_commandContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.I_commandContext | context | The parse tree. |
EnterI_name(snowballParser.I_nameContext)
Enter a parse tree produced by i_name().
The default implementation does nothing.
Declaration
public virtual void EnterI_name(snowballParser.I_nameContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.I_nameContext | context | The parse tree. |
EnterP(snowballParser.PContext)
Enter a parse tree produced by p().
The default implementation does nothing.
Declaration
public virtual void EnterP(snowballParser.PContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.PContext | context | The parse tree. |
EnterProgram(snowballParser.ProgramContext)
Enter a parse tree produced by program().
The default implementation does nothing.
Declaration
public virtual void EnterProgram(snowballParser.ProgramContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.ProgramContext | context | The parse tree. |
EnterR_definition(snowballParser.R_definitionContext)
Enter a parse tree produced by r_definition().
The default implementation does nothing.
Declaration
public virtual void EnterR_definition(snowballParser.R_definitionContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.R_definitionContext | context | The parse tree. |
EnterR_name(snowballParser.R_nameContext)
Enter a parse tree produced by r_name().
The default implementation does nothing.
Declaration
public virtual void EnterR_name(snowballParser.R_nameContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.R_nameContext | context | The parse tree. |
EnterS(snowballParser.SContext)
Enter a parse tree produced by s().
The default implementation does nothing.
Declaration
public virtual void EnterS(snowballParser.SContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.SContext | context | The parse tree. |
EnterS_command(snowballParser.S_commandContext)
Enter a parse tree produced by s_command().
The default implementation does nothing.
Declaration
public virtual void EnterS_command(snowballParser.S_commandContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.S_commandContext | context | The parse tree. |
EnterS_name(snowballParser.S_nameContext)
Enter a parse tree produced by s_name().
The default implementation does nothing.
Declaration
public virtual void EnterS_name(snowballParser.S_nameContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.S_nameContext | context | The parse tree. |
ExitAe(snowballParser.AeContext)
Exit a parse tree produced by ae().
The default implementation does nothing.
Declaration
public virtual void ExitAe(snowballParser.AeContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.AeContext | context | The parse tree. |
ExitB_name(snowballParser.B_nameContext)
Exit a parse tree produced by b_name().
The default implementation does nothing.
Declaration
public virtual void ExitB_name(snowballParser.B_nameContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.B_nameContext | context | The parse tree. |
ExitC(snowballParser.CContext)
Exit a parse tree produced by c().
The default implementation does nothing.
Declaration
public virtual void ExitC(snowballParser.CContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.CContext | context | The parse tree. |
ExitDeclaration(snowballParser.DeclarationContext)
Exit a parse tree produced by declaration().
The default implementation does nothing.
Declaration
public virtual void ExitDeclaration(snowballParser.DeclarationContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.DeclarationContext | 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.
ExitG(snowballParser.GContext)
Exit a parse tree produced by g().
The default implementation does nothing.
Declaration
public virtual void ExitG(snowballParser.GContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.GContext | context | The parse tree. |
ExitG_definition(snowballParser.G_definitionContext)
Exit a parse tree produced by g_definition().
The default implementation does nothing.
Declaration
public virtual void ExitG_definition(snowballParser.G_definitionContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.G_definitionContext | context | The parse tree. |
ExitG_name(snowballParser.G_nameContext)
Exit a parse tree produced by g_name().
The default implementation does nothing.
Declaration
public virtual void ExitG_name(snowballParser.G_nameContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.G_nameContext | context | The parse tree. |
ExitI_command(snowballParser.I_commandContext)
Exit a parse tree produced by i_command().
The default implementation does nothing.
Declaration
public virtual void ExitI_command(snowballParser.I_commandContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.I_commandContext | context | The parse tree. |
ExitI_name(snowballParser.I_nameContext)
Exit a parse tree produced by i_name().
The default implementation does nothing.
Declaration
public virtual void ExitI_name(snowballParser.I_nameContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.I_nameContext | context | The parse tree. |
ExitP(snowballParser.PContext)
Exit a parse tree produced by p().
The default implementation does nothing.
Declaration
public virtual void ExitP(snowballParser.PContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.PContext | context | The parse tree. |
ExitProgram(snowballParser.ProgramContext)
Exit a parse tree produced by program().
The default implementation does nothing.
Declaration
public virtual void ExitProgram(snowballParser.ProgramContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.ProgramContext | context | The parse tree. |
ExitR_definition(snowballParser.R_definitionContext)
Exit a parse tree produced by r_definition().
The default implementation does nothing.
Declaration
public virtual void ExitR_definition(snowballParser.R_definitionContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.R_definitionContext | context | The parse tree. |
ExitR_name(snowballParser.R_nameContext)
Exit a parse tree produced by r_name().
The default implementation does nothing.
Declaration
public virtual void ExitR_name(snowballParser.R_nameContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.R_nameContext | context | The parse tree. |
ExitS(snowballParser.SContext)
Exit a parse tree produced by s().
The default implementation does nothing.
Declaration
public virtual void ExitS(snowballParser.SContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.SContext | context | The parse tree. |
ExitS_command(snowballParser.S_commandContext)
Exit a parse tree produced by s_command().
The default implementation does nothing.
Declaration
public virtual void ExitS_command(snowballParser.S_commandContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.S_commandContext | context | The parse tree. |
ExitS_name(snowballParser.S_nameContext)
Exit a parse tree produced by s_name().
The default implementation does nothing.
Declaration
public virtual void ExitS_name(snowballParser.S_nameContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.S_nameContext | 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.