Class lambdaBaseListener
This class provides an empty implementation of IlambdaListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Lambda
Assembly: Lambda.dll
Syntax
public class lambdaBaseListener : object, IlambdaListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterApplication(lambdaParser.ApplicationContext)
Enter a parse tree produced by application().
The default implementation does nothing.
Declaration
public virtual void EnterApplication(lambdaParser.ApplicationContext context)
Parameters
Type | Name | Description |
---|---|---|
lambdaParser.ApplicationContext | 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.
EnterExpression(lambdaParser.ExpressionContext)
Enter a parse tree produced by expression().
The default implementation does nothing.
Declaration
public virtual void EnterExpression(lambdaParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
lambdaParser.ExpressionContext | context | The parse tree. |
EnterFunction_(lambdaParser.Function_Context)
Enter a parse tree produced by function_().
The default implementation does nothing.
Declaration
public virtual void EnterFunction_(lambdaParser.Function_Context context)
Parameters
Type | Name | Description |
---|---|---|
lambdaParser.Function_Context | context | The parse tree. |
EnterScope(lambdaParser.ScopeContext)
Enter a parse tree produced by scope().
The default implementation does nothing.
Declaration
public virtual void EnterScope(lambdaParser.ScopeContext context)
Parameters
Type | Name | Description |
---|---|---|
lambdaParser.ScopeContext | context | The parse tree. |
ExitApplication(lambdaParser.ApplicationContext)
Exit a parse tree produced by application().
The default implementation does nothing.
Declaration
public virtual void ExitApplication(lambdaParser.ApplicationContext context)
Parameters
Type | Name | Description |
---|---|---|
lambdaParser.ApplicationContext | 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(lambdaParser.ExpressionContext)
Exit a parse tree produced by expression().
The default implementation does nothing.
Declaration
public virtual void ExitExpression(lambdaParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
lambdaParser.ExpressionContext | context | The parse tree. |
ExitFunction_(lambdaParser.Function_Context)
Exit a parse tree produced by function_().
The default implementation does nothing.
Declaration
public virtual void ExitFunction_(lambdaParser.Function_Context context)
Parameters
Type | Name | Description |
---|---|---|
lambdaParser.Function_Context | context | The parse tree. |
ExitScope(lambdaParser.ScopeContext)
Exit a parse tree produced by scope().
The default implementation does nothing.
Declaration
public virtual void ExitScope(lambdaParser.ScopeContext context)
Parameters
Type | Name | Description |
---|---|---|
lambdaParser.ScopeContext | 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.