Class infosapientBaseListener
This class provides an empty implementation of IinfosapientListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Infosapient
Assembly: Infosapient.dll
Syntax
public class infosapientBaseListener : object, IinfosapientListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterAttribClause(infosapientParser.AttribClauseContext)
Enter a parse tree produced by attribClause().
The default implementation does nothing.
Declaration
public virtual void EnterAttribClause(infosapientParser.AttribClauseContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.AttribClauseContext | context | The parse tree. |
EnterClause(infosapientParser.ClauseContext)
Enter a parse tree produced by clause().
The default implementation does nothing.
Declaration
public virtual void EnterClause(infosapientParser.ClauseContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.ClauseContext | context | The parse tree. |
EnterConditionalRule(infosapientParser.ConditionalRuleContext)
Enter a parse tree produced by conditionalRule().
The default implementation does nothing.
Declaration
public virtual void EnterConditionalRule(infosapientParser.ConditionalRuleContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.ConditionalRuleContext | context | The parse tree. |
EnterConsequent(infosapientParser.ConsequentContext)
Enter a parse tree produced by consequent().
The default implementation does nothing.
Declaration
public virtual void EnterConsequent(infosapientParser.ConsequentContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.ConsequentContext | 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.
EnterExpr(infosapientParser.ExprContext)
Enter a parse tree produced by expr().
The default implementation does nothing.
Declaration
public virtual void EnterExpr(infosapientParser.ExprContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.ExprContext | context | The parse tree. |
EnterHedge(infosapientParser.HedgeContext)
Enter a parse tree produced by hedge().
The default implementation does nothing.
Declaration
public virtual void EnterHedge(infosapientParser.HedgeContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.HedgeContext | context | The parse tree. |
EnterHedgeCollection(infosapientParser.HedgeCollectionContext)
Enter a parse tree produced by hedgeCollection().
The default implementation does nothing.
Declaration
public virtual void EnterHedgeCollection(infosapientParser.HedgeCollectionContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.HedgeCollectionContext | context | The parse tree. |
EnterId_(infosapientParser.Id_Context)
Enter a parse tree produced by id_().
The default implementation does nothing.
Declaration
public virtual void EnterId_(infosapientParser.Id_Context context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.Id_Context | context | The parse tree. |
EnterNLiteral(infosapientParser.NLiteralContext)
Enter a parse tree produced by nLiteral().
The default implementation does nothing.
Declaration
public virtual void EnterNLiteral(infosapientParser.NLiteralContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.NLiteralContext | context | The parse tree. |
EnterOperator_(infosapientParser.Operator_Context)
Enter a parse tree produced by operator_().
The default implementation does nothing.
Declaration
public virtual void EnterOperator_(infosapientParser.Operator_Context context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.Operator_Context | context | The parse tree. |
EnterPremise(infosapientParser.PremiseContext)
Enter a parse tree produced by premise().
The default implementation does nothing.
Declaration
public virtual void EnterPremise(infosapientParser.PremiseContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.PremiseContext | context | The parse tree. |
EnterRestrictionHedge(infosapientParser.RestrictionHedgeContext)
Enter a parse tree produced by restrictionHedge().
The default implementation does nothing.
Declaration
public virtual void EnterRestrictionHedge(infosapientParser.RestrictionHedgeContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.RestrictionHedgeContext | context | The parse tree. |
ExitAttribClause(infosapientParser.AttribClauseContext)
Exit a parse tree produced by attribClause().
The default implementation does nothing.
Declaration
public virtual void ExitAttribClause(infosapientParser.AttribClauseContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.AttribClauseContext | context | The parse tree. |
ExitClause(infosapientParser.ClauseContext)
Exit a parse tree produced by clause().
The default implementation does nothing.
Declaration
public virtual void ExitClause(infosapientParser.ClauseContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.ClauseContext | context | The parse tree. |
ExitConditionalRule(infosapientParser.ConditionalRuleContext)
Exit a parse tree produced by conditionalRule().
The default implementation does nothing.
Declaration
public virtual void ExitConditionalRule(infosapientParser.ConditionalRuleContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.ConditionalRuleContext | context | The parse tree. |
ExitConsequent(infosapientParser.ConsequentContext)
Exit a parse tree produced by consequent().
The default implementation does nothing.
Declaration
public virtual void ExitConsequent(infosapientParser.ConsequentContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.ConsequentContext | 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.
ExitExpr(infosapientParser.ExprContext)
Exit a parse tree produced by expr().
The default implementation does nothing.
Declaration
public virtual void ExitExpr(infosapientParser.ExprContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.ExprContext | context | The parse tree. |
ExitHedge(infosapientParser.HedgeContext)
Exit a parse tree produced by hedge().
The default implementation does nothing.
Declaration
public virtual void ExitHedge(infosapientParser.HedgeContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.HedgeContext | context | The parse tree. |
ExitHedgeCollection(infosapientParser.HedgeCollectionContext)
Exit a parse tree produced by hedgeCollection().
The default implementation does nothing.
Declaration
public virtual void ExitHedgeCollection(infosapientParser.HedgeCollectionContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.HedgeCollectionContext | context | The parse tree. |
ExitId_(infosapientParser.Id_Context)
Exit a parse tree produced by id_().
The default implementation does nothing.
Declaration
public virtual void ExitId_(infosapientParser.Id_Context context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.Id_Context | context | The parse tree. |
ExitNLiteral(infosapientParser.NLiteralContext)
Exit a parse tree produced by nLiteral().
The default implementation does nothing.
Declaration
public virtual void ExitNLiteral(infosapientParser.NLiteralContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.NLiteralContext | context | The parse tree. |
ExitOperator_(infosapientParser.Operator_Context)
Exit a parse tree produced by operator_().
The default implementation does nothing.
Declaration
public virtual void ExitOperator_(infosapientParser.Operator_Context context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.Operator_Context | context | The parse tree. |
ExitPremise(infosapientParser.PremiseContext)
Exit a parse tree produced by premise().
The default implementation does nothing.
Declaration
public virtual void ExitPremise(infosapientParser.PremiseContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.PremiseContext | context | The parse tree. |
ExitRestrictionHedge(infosapientParser.RestrictionHedgeContext)
Exit a parse tree produced by restrictionHedge().
The default implementation does nothing.
Declaration
public virtual void ExitRestrictionHedge(infosapientParser.RestrictionHedgeContext context)
Parameters
Type | Name | Description |
---|---|---|
infosapientParser.RestrictionHedgeContext | 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.