Interface IbnfListener
This interface defines a complete listener for a parse tree produced by bnfParser.
Namespace: GCore.Antlr.Grammers.Bnf
Assembly: Bnf.dll
Syntax
public interface IbnfListener : Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterAlternative(bnfParser.AlternativeContext)
Enter a parse tree produced by alternative().
Declaration
void EnterAlternative(bnfParser.AlternativeContext context)
Parameters
Type | Name | Description |
---|---|---|
bnfParser.AlternativeContext | context | The parse tree. |
EnterAlternatives(bnfParser.AlternativesContext)
Enter a parse tree produced by alternatives().
Declaration
void EnterAlternatives(bnfParser.AlternativesContext context)
Parameters
Type | Name | Description |
---|---|---|
bnfParser.AlternativesContext | context | The parse tree. |
EnterElement(bnfParser.ElementContext)
Enter a parse tree produced by element().
Declaration
void EnterElement(bnfParser.ElementContext context)
Parameters
Type | Name | Description |
---|---|---|
bnfParser.ElementContext | context | The parse tree. |
EnterId_(bnfParser.Id_Context)
Enter a parse tree produced by id_().
Declaration
void EnterId_(bnfParser.Id_Context context)
Parameters
Type | Name | Description |
---|---|---|
bnfParser.Id_Context | context | The parse tree. |
EnterLhs(bnfParser.LhsContext)
Enter a parse tree produced by lhs().
Declaration
void EnterLhs(bnfParser.LhsContext context)
Parameters
Type | Name | Description |
---|---|---|
bnfParser.LhsContext | context | The parse tree. |
EnterOneormore(bnfParser.OneormoreContext)
Enter a parse tree produced by oneormore().
Declaration
void EnterOneormore(bnfParser.OneormoreContext context)
Parameters
Type | Name | Description |
---|---|---|
bnfParser.OneormoreContext | context | The parse tree. |
EnterOptional_(bnfParser.Optional_Context)
Enter a parse tree produced by optional_().
Declaration
void EnterOptional_(bnfParser.Optional_Context context)
Parameters
Type | Name | Description |
---|---|---|
bnfParser.Optional_Context | context | The parse tree. |
EnterRhs(bnfParser.RhsContext)
Enter a parse tree produced by rhs().
Declaration
void EnterRhs(bnfParser.RhsContext context)
Parameters
Type | Name | Description |
---|---|---|
bnfParser.RhsContext | context | The parse tree. |
EnterRule_(bnfParser.Rule_Context)
Enter a parse tree produced by rule_().
Declaration
void EnterRule_(bnfParser.Rule_Context context)
Parameters
Type | Name | Description |
---|---|---|
bnfParser.Rule_Context | context | The parse tree. |
EnterRuleid(bnfParser.RuleidContext)
Enter a parse tree produced by ruleid().
Declaration
void EnterRuleid(bnfParser.RuleidContext context)
Parameters
Type | Name | Description |
---|---|---|
bnfParser.RuleidContext | context | The parse tree. |
EnterRulelist(bnfParser.RulelistContext)
Enter a parse tree produced by rulelist().
Declaration
void EnterRulelist(bnfParser.RulelistContext context)
Parameters
Type | Name | Description |
---|---|---|
bnfParser.RulelistContext | context | The parse tree. |
EnterText_(bnfParser.Text_Context)
Enter a parse tree produced by text_().
Declaration
void EnterText_(bnfParser.Text_Context context)
Parameters
Type | Name | Description |
---|---|---|
bnfParser.Text_Context | context | The parse tree. |
EnterZeroormore(bnfParser.ZeroormoreContext)
Enter a parse tree produced by zeroormore().
Declaration
void EnterZeroormore(bnfParser.ZeroormoreContext context)
Parameters
Type | Name | Description |
---|---|---|
bnfParser.ZeroormoreContext | context | The parse tree. |
ExitAlternative(bnfParser.AlternativeContext)
Exit a parse tree produced by alternative().
Declaration
void ExitAlternative(bnfParser.AlternativeContext context)
Parameters
Type | Name | Description |
---|---|---|
bnfParser.AlternativeContext | context | The parse tree. |
ExitAlternatives(bnfParser.AlternativesContext)
Exit a parse tree produced by alternatives().
Declaration
void ExitAlternatives(bnfParser.AlternativesContext context)
Parameters
Type | Name | Description |
---|---|---|
bnfParser.AlternativesContext | context | The parse tree. |
ExitElement(bnfParser.ElementContext)
Exit a parse tree produced by element().
Declaration
void ExitElement(bnfParser.ElementContext context)
Parameters
Type | Name | Description |
---|---|---|
bnfParser.ElementContext | context | The parse tree. |
ExitId_(bnfParser.Id_Context)
Exit a parse tree produced by id_().
Declaration
void ExitId_(bnfParser.Id_Context context)
Parameters
Type | Name | Description |
---|---|---|
bnfParser.Id_Context | context | The parse tree. |
ExitLhs(bnfParser.LhsContext)
Exit a parse tree produced by lhs().
Declaration
void ExitLhs(bnfParser.LhsContext context)
Parameters
Type | Name | Description |
---|---|---|
bnfParser.LhsContext | context | The parse tree. |
ExitOneormore(bnfParser.OneormoreContext)
Exit a parse tree produced by oneormore().
Declaration
void ExitOneormore(bnfParser.OneormoreContext context)
Parameters
Type | Name | Description |
---|---|---|
bnfParser.OneormoreContext | context | The parse tree. |
ExitOptional_(bnfParser.Optional_Context)
Exit a parse tree produced by optional_().
Declaration
void ExitOptional_(bnfParser.Optional_Context context)
Parameters
Type | Name | Description |
---|---|---|
bnfParser.Optional_Context | context | The parse tree. |
ExitRhs(bnfParser.RhsContext)
Exit a parse tree produced by rhs().
Declaration
void ExitRhs(bnfParser.RhsContext context)
Parameters
Type | Name | Description |
---|---|---|
bnfParser.RhsContext | context | The parse tree. |
ExitRule_(bnfParser.Rule_Context)
Exit a parse tree produced by rule_().
Declaration
void ExitRule_(bnfParser.Rule_Context context)
Parameters
Type | Name | Description |
---|---|---|
bnfParser.Rule_Context | context | The parse tree. |
ExitRuleid(bnfParser.RuleidContext)
Exit a parse tree produced by ruleid().
Declaration
void ExitRuleid(bnfParser.RuleidContext context)
Parameters
Type | Name | Description |
---|---|---|
bnfParser.RuleidContext | context | The parse tree. |
ExitRulelist(bnfParser.RulelistContext)
Exit a parse tree produced by rulelist().
Declaration
void ExitRulelist(bnfParser.RulelistContext context)
Parameters
Type | Name | Description |
---|---|---|
bnfParser.RulelistContext | context | The parse tree. |
ExitText_(bnfParser.Text_Context)
Exit a parse tree produced by text_().
Declaration
void ExitText_(bnfParser.Text_Context context)
Parameters
Type | Name | Description |
---|---|---|
bnfParser.Text_Context | context | The parse tree. |
ExitZeroormore(bnfParser.ZeroormoreContext)
Exit a parse tree produced by zeroormore().
Declaration
void ExitZeroormore(bnfParser.ZeroormoreContext context)
Parameters
Type | Name | Description |
---|---|---|
bnfParser.ZeroormoreContext | context | The parse tree. |