Class PMMNBaseVisitor<Result>
This class provides an empty implementation of IPMMNVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Pmmn
Assembly: Pmmn.dll
Syntax
public class PMMNBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IPMMNVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitBlock(PMMNParser.BlockContext)
Visit a parse tree produced by block().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitBlock(PMMNParser.BlockContext context)
Parameters
Type | Name | Description |
---|---|---|
PMMNParser.BlockContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCommand(PMMNParser.CommandContext)
Visit a parse tree produced by command().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCommand(PMMNParser.CommandContext context)
Parameters
Type | Name | Description |
---|---|---|
PMMNParser.CommandContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCommandlist(PMMNParser.CommandlistContext)
Visit a parse tree produced by commandlist().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCommandlist(PMMNParser.CommandlistContext context)
Parameters
Type | Name | Description |
---|---|---|
PMMNParser.CommandlistContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitCounter(PMMNParser.CounterContext)
Visit a parse tree produced by counter().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitCounter(PMMNParser.CounterContext context)
Parameters
Type | Name | Description |
---|---|---|
PMMNParser.CounterContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTest(PMMNParser.TestContext)
Visit a parse tree produced by test().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitTest(PMMNParser.TestContext context)
Parameters
Type | Name | Description |
---|---|---|
PMMNParser.TestContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |