Class PMMNBaseListener
This class provides an empty implementation of IPMMNListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Pmmn
Assembly: Pmmn.dll
Syntax
public class PMMNBaseListener : object, IPMMNListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterBlock(PMMNParser.BlockContext)
Enter a parse tree produced by block().
The default implementation does nothing.
Declaration
public virtual void EnterBlock(PMMNParser.BlockContext context)
Parameters
Type | Name | Description |
---|---|---|
PMMNParser.BlockContext | context | The parse tree. |
EnterCommand(PMMNParser.CommandContext)
Enter a parse tree produced by command().
The default implementation does nothing.
Declaration
public virtual void EnterCommand(PMMNParser.CommandContext context)
Parameters
Type | Name | Description |
---|---|---|
PMMNParser.CommandContext | context | The parse tree. |
EnterCommandlist(PMMNParser.CommandlistContext)
Enter a parse tree produced by commandlist().
The default implementation does nothing.
Declaration
public virtual void EnterCommandlist(PMMNParser.CommandlistContext context)
Parameters
Type | Name | Description |
---|---|---|
PMMNParser.CommandlistContext | context | The parse tree. |
EnterCounter(PMMNParser.CounterContext)
Enter a parse tree produced by counter().
The default implementation does nothing.
Declaration
public virtual void EnterCounter(PMMNParser.CounterContext context)
Parameters
Type | Name | Description |
---|---|---|
PMMNParser.CounterContext | 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.
EnterTest(PMMNParser.TestContext)
Enter a parse tree produced by test().
The default implementation does nothing.
Declaration
public virtual void EnterTest(PMMNParser.TestContext context)
Parameters
Type | Name | Description |
---|---|---|
PMMNParser.TestContext | context | The parse tree. |
ExitBlock(PMMNParser.BlockContext)
Exit a parse tree produced by block().
The default implementation does nothing.
Declaration
public virtual void ExitBlock(PMMNParser.BlockContext context)
Parameters
Type | Name | Description |
---|---|---|
PMMNParser.BlockContext | context | The parse tree. |
ExitCommand(PMMNParser.CommandContext)
Exit a parse tree produced by command().
The default implementation does nothing.
Declaration
public virtual void ExitCommand(PMMNParser.CommandContext context)
Parameters
Type | Name | Description |
---|---|---|
PMMNParser.CommandContext | context | The parse tree. |
ExitCommandlist(PMMNParser.CommandlistContext)
Exit a parse tree produced by commandlist().
The default implementation does nothing.
Declaration
public virtual void ExitCommandlist(PMMNParser.CommandlistContext context)
Parameters
Type | Name | Description |
---|---|---|
PMMNParser.CommandlistContext | context | The parse tree. |
ExitCounter(PMMNParser.CounterContext)
Exit a parse tree produced by counter().
The default implementation does nothing.
Declaration
public virtual void ExitCounter(PMMNParser.CounterContext context)
Parameters
Type | Name | Description |
---|---|---|
PMMNParser.CounterContext | 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.
ExitTest(PMMNParser.TestContext)
Exit a parse tree produced by test().
The default implementation does nothing.
Declaration
public virtual void ExitTest(PMMNParser.TestContext context)
Parameters
Type | Name | Description |
---|---|---|
PMMNParser.TestContext | 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.