Class sickbayBaseListener
This class provides an empty implementation of IsickbayListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Sickbay
Assembly: Sickbay.dll
Syntax
public class sickbayBaseListener : object, IsickbayListener, 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.
EnterIntExpr(sickbayParser.IntExprContext)
Enter a parse tree produced by intExpr().
The default implementation does nothing.
Declaration
public virtual void EnterIntExpr(sickbayParser.IntExprContext context)
Parameters
Type | Name | Description |
---|---|---|
sickbayParser.IntExprContext | context | The parse tree. |
EnterIntVar(sickbayParser.IntVarContext)
Enter a parse tree produced by intVar().
The default implementation does nothing.
Declaration
public virtual void EnterIntVar(sickbayParser.IntVarContext context)
Parameters
Type | Name | Description |
---|---|---|
sickbayParser.IntVarContext | context | The parse tree. |
EnterLine(sickbayParser.LineContext)
Enter a parse tree produced by line().
The default implementation does nothing.
Declaration
public virtual void EnterLine(sickbayParser.LineContext context)
Parameters
Type | Name | Description |
---|---|---|
sickbayParser.LineContext | context | The parse tree. |
EnterSickbay(sickbayParser.SickbayContext)
Enter a parse tree produced by sickbay().
The default implementation does nothing.
Declaration
public virtual void EnterSickbay(sickbayParser.SickbayContext context)
Parameters
Type | Name | Description |
---|---|---|
sickbayParser.SickbayContext | context | The parse tree. |
EnterStmt(sickbayParser.StmtContext)
Enter a parse tree produced by stmt().
The default implementation does nothing.
Declaration
public virtual void EnterStmt(sickbayParser.StmtContext context)
Parameters
Type | Name | Description |
---|---|---|
sickbayParser.StmtContext | 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.
ExitIntExpr(sickbayParser.IntExprContext)
Exit a parse tree produced by intExpr().
The default implementation does nothing.
Declaration
public virtual void ExitIntExpr(sickbayParser.IntExprContext context)
Parameters
Type | Name | Description |
---|---|---|
sickbayParser.IntExprContext | context | The parse tree. |
ExitIntVar(sickbayParser.IntVarContext)
Exit a parse tree produced by intVar().
The default implementation does nothing.
Declaration
public virtual void ExitIntVar(sickbayParser.IntVarContext context)
Parameters
Type | Name | Description |
---|---|---|
sickbayParser.IntVarContext | context | The parse tree. |
ExitLine(sickbayParser.LineContext)
Exit a parse tree produced by line().
The default implementation does nothing.
Declaration
public virtual void ExitLine(sickbayParser.LineContext context)
Parameters
Type | Name | Description |
---|---|---|
sickbayParser.LineContext | context | The parse tree. |
ExitSickbay(sickbayParser.SickbayContext)
Exit a parse tree produced by sickbay().
The default implementation does nothing.
Declaration
public virtual void ExitSickbay(sickbayParser.SickbayContext context)
Parameters
Type | Name | Description |
---|---|---|
sickbayParser.SickbayContext | context | The parse tree. |
ExitStmt(sickbayParser.StmtContext)
Exit a parse tree produced by stmt().
The default implementation does nothing.
Declaration
public virtual void ExitStmt(sickbayParser.StmtContext context)
Parameters
Type | Name | Description |
---|---|---|
sickbayParser.StmtContext | 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.