Class romannumeralsBaseVisitor<Result>
This class provides an empty implementation of IromannumeralsVisitor<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.Romannumerals
Assembly: Romannumerals.dll
Syntax
public class romannumeralsBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IromannumeralsVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitExpression(romannumeralsParser.ExpressionContext)
Visit a parse tree produced by expression().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitExpression(romannumeralsParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.ExpressionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitHun_part(romannumeralsParser.Hun_partContext)
Visit a parse tree produced by hun_part().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitHun_part(romannumeralsParser.Hun_partContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.Hun_partContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitHun_rep(romannumeralsParser.Hun_repContext)
Visit a parse tree produced by hun_rep().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitHun_rep(romannumeralsParser.Hun_repContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.Hun_repContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitHundreds(romannumeralsParser.HundredsContext)
Visit a parse tree produced by hundreds().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitHundreds(romannumeralsParser.HundredsContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.HundredsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOnes(romannumeralsParser.OnesContext)
Visit a parse tree produced by ones().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitOnes(romannumeralsParser.OnesContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.OnesContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOnes_rep(romannumeralsParser.Ones_repContext)
Visit a parse tree produced by ones_rep().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitOnes_rep(romannumeralsParser.Ones_repContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.Ones_repContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTens(romannumeralsParser.TensContext)
Visit a parse tree produced by tens().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitTens(romannumeralsParser.TensContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.TensContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTens_part(romannumeralsParser.Tens_partContext)
Visit a parse tree produced by tens_part().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitTens_part(romannumeralsParser.Tens_partContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.Tens_partContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTens_rep(romannumeralsParser.Tens_repContext)
Visit a parse tree produced by tens_rep().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitTens_rep(romannumeralsParser.Tens_repContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.Tens_repContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitThous_part(romannumeralsParser.Thous_partContext)
Visit a parse tree produced by thous_part().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitThous_part(romannumeralsParser.Thous_partContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.Thous_partContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitThousands(romannumeralsParser.ThousandsContext)
Visit a parse tree produced by thousands().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitThousands(romannumeralsParser.ThousandsContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.ThousandsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |