Class brainflakBaseVisitor<Result>
This class provides an empty implementation of IbrainflakVisitor<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.Brainflak
Assembly: Brainflak.dll
Syntax
public class brainflakBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IbrainflakVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitBracestmt(brainflakParser.BracestmtContext)
Visit a parse tree produced by bracestmt().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitBracestmt(brainflakParser.BracestmtContext context)
Parameters
Type | Name | Description |
---|---|---|
brainflakParser.BracestmtContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBracketstmt(brainflakParser.BracketstmtContext)
Visit a parse tree produced by bracketstmt().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitBracketstmt(brainflakParser.BracketstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
brainflakParser.BracketstmtContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFile_(brainflakParser.File_Context)
Visit a parse tree produced by file_().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitFile_(brainflakParser.File_Context context)
Parameters
Type | Name | Description |
---|---|---|
brainflakParser.File_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitGtltstmt(brainflakParser.GtltstmtContext)
Visit a parse tree produced by gtltstmt().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitGtltstmt(brainflakParser.GtltstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
brainflakParser.GtltstmtContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitParenstmt(brainflakParser.ParenstmtContext)
Visit a parse tree produced by parenstmt().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitParenstmt(brainflakParser.ParenstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
brainflakParser.ParenstmtContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStatement(brainflakParser.StatementContext)
Visit a parse tree produced by statement().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitStatement(brainflakParser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
brainflakParser.StatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |