Class brainflakBaseListener
This class provides an empty implementation of IbrainflakListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Brainflak
Assembly: Brainflak.dll
Syntax
public class brainflakBaseListener : object, IbrainflakListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterBracestmt(brainflakParser.BracestmtContext)
Enter a parse tree produced by bracestmt().
The default implementation does nothing.
Declaration
public virtual void EnterBracestmt(brainflakParser.BracestmtContext context)
Parameters
Type | Name | Description |
---|---|---|
brainflakParser.BracestmtContext | context | The parse tree. |
EnterBracketstmt(brainflakParser.BracketstmtContext)
Enter a parse tree produced by bracketstmt().
The default implementation does nothing.
Declaration
public virtual void EnterBracketstmt(brainflakParser.BracketstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
brainflakParser.BracketstmtContext | 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.
EnterFile_(brainflakParser.File_Context)
Enter a parse tree produced by file_().
The default implementation does nothing.
Declaration
public virtual void EnterFile_(brainflakParser.File_Context context)
Parameters
Type | Name | Description |
---|---|---|
brainflakParser.File_Context | context | The parse tree. |
EnterGtltstmt(brainflakParser.GtltstmtContext)
Enter a parse tree produced by gtltstmt().
The default implementation does nothing.
Declaration
public virtual void EnterGtltstmt(brainflakParser.GtltstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
brainflakParser.GtltstmtContext | context | The parse tree. |
EnterParenstmt(brainflakParser.ParenstmtContext)
Enter a parse tree produced by parenstmt().
The default implementation does nothing.
Declaration
public virtual void EnterParenstmt(brainflakParser.ParenstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
brainflakParser.ParenstmtContext | context | The parse tree. |
EnterStatement(brainflakParser.StatementContext)
Enter a parse tree produced by statement().
The default implementation does nothing.
Declaration
public virtual void EnterStatement(brainflakParser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
brainflakParser.StatementContext | context | The parse tree. |
ExitBracestmt(brainflakParser.BracestmtContext)
Exit a parse tree produced by bracestmt().
The default implementation does nothing.
Declaration
public virtual void ExitBracestmt(brainflakParser.BracestmtContext context)
Parameters
Type | Name | Description |
---|---|---|
brainflakParser.BracestmtContext | context | The parse tree. |
ExitBracketstmt(brainflakParser.BracketstmtContext)
Exit a parse tree produced by bracketstmt().
The default implementation does nothing.
Declaration
public virtual void ExitBracketstmt(brainflakParser.BracketstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
brainflakParser.BracketstmtContext | 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.
ExitFile_(brainflakParser.File_Context)
Exit a parse tree produced by file_().
The default implementation does nothing.
Declaration
public virtual void ExitFile_(brainflakParser.File_Context context)
Parameters
Type | Name | Description |
---|---|---|
brainflakParser.File_Context | context | The parse tree. |
ExitGtltstmt(brainflakParser.GtltstmtContext)
Exit a parse tree produced by gtltstmt().
The default implementation does nothing.
Declaration
public virtual void ExitGtltstmt(brainflakParser.GtltstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
brainflakParser.GtltstmtContext | context | The parse tree. |
ExitParenstmt(brainflakParser.ParenstmtContext)
Exit a parse tree produced by parenstmt().
The default implementation does nothing.
Declaration
public virtual void ExitParenstmt(brainflakParser.ParenstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
brainflakParser.ParenstmtContext | context | The parse tree. |
ExitStatement(brainflakParser.StatementContext)
Exit a parse tree produced by statement().
The default implementation does nothing.
Declaration
public virtual void ExitStatement(brainflakParser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
brainflakParser.StatementContext | 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.