Class snowballBaseVisitor<Result>
This class provides an empty implementation of IsnowballVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Snowball
Assembly: Snowball.dll
Syntax
public class snowballBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IsnowballVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitAe(snowballParser.AeContext)
Visit a parse tree produced by ae().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitAe(snowballParser.AeContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.AeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitB_name(snowballParser.B_nameContext)
Visit a parse tree produced by b_name().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitB_name(snowballParser.B_nameContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.B_nameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitC(snowballParser.CContext)
Visit a parse tree produced by c().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitC(snowballParser.CContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.CContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDeclaration(snowballParser.DeclarationContext)
Visit a parse tree produced by declaration().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDeclaration(snowballParser.DeclarationContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.DeclarationContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitG(snowballParser.GContext)
Visit a parse tree produced by g().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitG(snowballParser.GContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.GContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitG_definition(snowballParser.G_definitionContext)
Visit a parse tree produced by g_definition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitG_definition(snowballParser.G_definitionContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.G_definitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitG_name(snowballParser.G_nameContext)
Visit a parse tree produced by g_name().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitG_name(snowballParser.G_nameContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.G_nameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitI_command(snowballParser.I_commandContext)
Visit a parse tree produced by i_command().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitI_command(snowballParser.I_commandContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.I_commandContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitI_name(snowballParser.I_nameContext)
Visit a parse tree produced by i_name().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitI_name(snowballParser.I_nameContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.I_nameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitP(snowballParser.PContext)
Visit a parse tree produced by p().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitP(snowballParser.PContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.PContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitProgram(snowballParser.ProgramContext)
Visit a parse tree produced by program().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitProgram(snowballParser.ProgramContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.ProgramContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitR_definition(snowballParser.R_definitionContext)
Visit a parse tree produced by r_definition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitR_definition(snowballParser.R_definitionContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.R_definitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitR_name(snowballParser.R_nameContext)
Visit a parse tree produced by r_name().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitR_name(snowballParser.R_nameContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.R_nameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitS(snowballParser.SContext)
Visit a parse tree produced by s().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitS(snowballParser.SContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.SContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitS_command(snowballParser.S_commandContext)
Visit a parse tree produced by s_command().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitS_command(snowballParser.S_commandContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.S_commandContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitS_name(snowballParser.S_nameContext)
Visit a parse tree produced by s_name().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitS_name(snowballParser.S_nameContext context)
Parameters
Type | Name | Description |
---|---|---|
snowballParser.S_nameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |