Class brainfuckBaseListener
This class provides an empty implementation of IbrainfuckListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Brainfuck
Assembly: Brainfuck.dll
Syntax
public class brainfuckBaseListener : object, IbrainfuckListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterEveryRule(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_(brainfuckParser.File_Context)
Enter a parse tree produced by file_().
The default implementation does nothing.
Declaration
public virtual void EnterFile_(brainfuckParser.File_Context context)
Parameters
Type | Name | Description |
---|---|---|
brainfuckParser.File_Context | context | The parse tree. |
EnterOpcode(brainfuckParser.OpcodeContext)
Enter a parse tree produced by opcode().
The default implementation does nothing.
Declaration
public virtual void EnterOpcode(brainfuckParser.OpcodeContext context)
Parameters
Type | Name | Description |
---|---|---|
brainfuckParser.OpcodeContext | context | The parse tree. |
EnterStatement(brainfuckParser.StatementContext)
Enter a parse tree produced by statement().
The default implementation does nothing.
Declaration
public virtual void EnterStatement(brainfuckParser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
brainfuckParser.StatementContext | 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_(brainfuckParser.File_Context)
Exit a parse tree produced by file_().
The default implementation does nothing.
Declaration
public virtual void ExitFile_(brainfuckParser.File_Context context)
Parameters
Type | Name | Description |
---|---|---|
brainfuckParser.File_Context | context | The parse tree. |
ExitOpcode(brainfuckParser.OpcodeContext)
Exit a parse tree produced by opcode().
The default implementation does nothing.
Declaration
public virtual void ExitOpcode(brainfuckParser.OpcodeContext context)
Parameters
Type | Name | Description |
---|---|---|
brainfuckParser.OpcodeContext | context | The parse tree. |
ExitStatement(brainfuckParser.StatementContext)
Exit a parse tree produced by statement().
The default implementation does nothing.
Declaration
public virtual void ExitStatement(brainfuckParser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
brainfuckParser.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.