Class romannumeralsBaseListener
This class provides an empty implementation of IromannumeralsListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Romannumerals
Assembly: Romannumerals.dll
Syntax
public class romannumeralsBaseListener : object, IromannumeralsListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterEveryRule(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.
EnterExpression(romannumeralsParser.ExpressionContext)
Enter a parse tree produced by expression().
The default implementation does nothing.
Declaration
public virtual void EnterExpression(romannumeralsParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.ExpressionContext | context | The parse tree. |
EnterHun_part(romannumeralsParser.Hun_partContext)
Enter a parse tree produced by hun_part().
The default implementation does nothing.
Declaration
public virtual void EnterHun_part(romannumeralsParser.Hun_partContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.Hun_partContext | context | The parse tree. |
EnterHun_rep(romannumeralsParser.Hun_repContext)
Enter a parse tree produced by hun_rep().
The default implementation does nothing.
Declaration
public virtual void EnterHun_rep(romannumeralsParser.Hun_repContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.Hun_repContext | context | The parse tree. |
EnterHundreds(romannumeralsParser.HundredsContext)
Enter a parse tree produced by hundreds().
The default implementation does nothing.
Declaration
public virtual void EnterHundreds(romannumeralsParser.HundredsContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.HundredsContext | context | The parse tree. |
EnterOnes(romannumeralsParser.OnesContext)
Enter a parse tree produced by ones().
The default implementation does nothing.
Declaration
public virtual void EnterOnes(romannumeralsParser.OnesContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.OnesContext | context | The parse tree. |
EnterOnes_rep(romannumeralsParser.Ones_repContext)
Enter a parse tree produced by ones_rep().
The default implementation does nothing.
Declaration
public virtual void EnterOnes_rep(romannumeralsParser.Ones_repContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.Ones_repContext | context | The parse tree. |
EnterTens(romannumeralsParser.TensContext)
Enter a parse tree produced by tens().
The default implementation does nothing.
Declaration
public virtual void EnterTens(romannumeralsParser.TensContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.TensContext | context | The parse tree. |
EnterTens_part(romannumeralsParser.Tens_partContext)
Enter a parse tree produced by tens_part().
The default implementation does nothing.
Declaration
public virtual void EnterTens_part(romannumeralsParser.Tens_partContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.Tens_partContext | context | The parse tree. |
EnterTens_rep(romannumeralsParser.Tens_repContext)
Enter a parse tree produced by tens_rep().
The default implementation does nothing.
Declaration
public virtual void EnterTens_rep(romannumeralsParser.Tens_repContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.Tens_repContext | context | The parse tree. |
EnterThous_part(romannumeralsParser.Thous_partContext)
Enter a parse tree produced by thous_part().
The default implementation does nothing.
Declaration
public virtual void EnterThous_part(romannumeralsParser.Thous_partContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.Thous_partContext | context | The parse tree. |
EnterThousands(romannumeralsParser.ThousandsContext)
Enter a parse tree produced by thousands().
The default implementation does nothing.
Declaration
public virtual void EnterThousands(romannumeralsParser.ThousandsContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.ThousandsContext | 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.
ExitExpression(romannumeralsParser.ExpressionContext)
Exit a parse tree produced by expression().
The default implementation does nothing.
Declaration
public virtual void ExitExpression(romannumeralsParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.ExpressionContext | context | The parse tree. |
ExitHun_part(romannumeralsParser.Hun_partContext)
Exit a parse tree produced by hun_part().
The default implementation does nothing.
Declaration
public virtual void ExitHun_part(romannumeralsParser.Hun_partContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.Hun_partContext | context | The parse tree. |
ExitHun_rep(romannumeralsParser.Hun_repContext)
Exit a parse tree produced by hun_rep().
The default implementation does nothing.
Declaration
public virtual void ExitHun_rep(romannumeralsParser.Hun_repContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.Hun_repContext | context | The parse tree. |
ExitHundreds(romannumeralsParser.HundredsContext)
Exit a parse tree produced by hundreds().
The default implementation does nothing.
Declaration
public virtual void ExitHundreds(romannumeralsParser.HundredsContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.HundredsContext | context | The parse tree. |
ExitOnes(romannumeralsParser.OnesContext)
Exit a parse tree produced by ones().
The default implementation does nothing.
Declaration
public virtual void ExitOnes(romannumeralsParser.OnesContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.OnesContext | context | The parse tree. |
ExitOnes_rep(romannumeralsParser.Ones_repContext)
Exit a parse tree produced by ones_rep().
The default implementation does nothing.
Declaration
public virtual void ExitOnes_rep(romannumeralsParser.Ones_repContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.Ones_repContext | context | The parse tree. |
ExitTens(romannumeralsParser.TensContext)
Exit a parse tree produced by tens().
The default implementation does nothing.
Declaration
public virtual void ExitTens(romannumeralsParser.TensContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.TensContext | context | The parse tree. |
ExitTens_part(romannumeralsParser.Tens_partContext)
Exit a parse tree produced by tens_part().
The default implementation does nothing.
Declaration
public virtual void ExitTens_part(romannumeralsParser.Tens_partContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.Tens_partContext | context | The parse tree. |
ExitTens_rep(romannumeralsParser.Tens_repContext)
Exit a parse tree produced by tens_rep().
The default implementation does nothing.
Declaration
public virtual void ExitTens_rep(romannumeralsParser.Tens_repContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.Tens_repContext | context | The parse tree. |
ExitThous_part(romannumeralsParser.Thous_partContext)
Exit a parse tree produced by thous_part().
The default implementation does nothing.
Declaration
public virtual void ExitThous_part(romannumeralsParser.Thous_partContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.Thous_partContext | context | The parse tree. |
ExitThousands(romannumeralsParser.ThousandsContext)
Exit a parse tree produced by thousands().
The default implementation does nothing.
Declaration
public virtual void ExitThousands(romannumeralsParser.ThousandsContext context)
Parameters
Type | Name | Description |
---|---|---|
romannumeralsParser.ThousandsContext | 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.