Class tinybasicBaseListener
This class provides an empty implementation of ItinybasicListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Tinybasic
Assembly: Tinybasic.dll
Syntax
public class tinybasicBaseListener : object, ItinybasicListener, 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.
EnterExpression(tinybasicParser.ExpressionContext)
Enter a parse tree produced by expression().
The default implementation does nothing.
Declaration
public virtual void EnterExpression(tinybasicParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.ExpressionContext | context | The parse tree. |
EnterExprlist(tinybasicParser.ExprlistContext)
Enter a parse tree produced by exprlist().
The default implementation does nothing.
Declaration
public virtual void EnterExprlist(tinybasicParser.ExprlistContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.ExprlistContext | context | The parse tree. |
EnterFactor(tinybasicParser.FactorContext)
Enter a parse tree produced by factor().
The default implementation does nothing.
Declaration
public virtual void EnterFactor(tinybasicParser.FactorContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.FactorContext | context | The parse tree. |
EnterLine(tinybasicParser.LineContext)
Enter a parse tree produced by line().
The default implementation does nothing.
Declaration
public virtual void EnterLine(tinybasicParser.LineContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.LineContext | context | The parse tree. |
EnterNumber(tinybasicParser.NumberContext)
Enter a parse tree produced by number().
The default implementation does nothing.
Declaration
public virtual void EnterNumber(tinybasicParser.NumberContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.NumberContext | context | The parse tree. |
EnterProgram(tinybasicParser.ProgramContext)
Enter a parse tree produced by program().
The default implementation does nothing.
Declaration
public virtual void EnterProgram(tinybasicParser.ProgramContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.ProgramContext | context | The parse tree. |
EnterRelop(tinybasicParser.RelopContext)
Enter a parse tree produced by relop().
The default implementation does nothing.
Declaration
public virtual void EnterRelop(tinybasicParser.RelopContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.RelopContext | context | The parse tree. |
EnterStatement(tinybasicParser.StatementContext)
Enter a parse tree produced by statement().
The default implementation does nothing.
Declaration
public virtual void EnterStatement(tinybasicParser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.StatementContext | context | The parse tree. |
EnterTerm(tinybasicParser.TermContext)
Enter a parse tree produced by term().
The default implementation does nothing.
Declaration
public virtual void EnterTerm(tinybasicParser.TermContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.TermContext | context | The parse tree. |
EnterVara(tinybasicParser.VaraContext)
Enter a parse tree produced by vara().
The default implementation does nothing.
Declaration
public virtual void EnterVara(tinybasicParser.VaraContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.VaraContext | context | The parse tree. |
EnterVarlist(tinybasicParser.VarlistContext)
Enter a parse tree produced by varlist().
The default implementation does nothing.
Declaration
public virtual void EnterVarlist(tinybasicParser.VarlistContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.VarlistContext | 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.
ExitExpression(tinybasicParser.ExpressionContext)
Exit a parse tree produced by expression().
The default implementation does nothing.
Declaration
public virtual void ExitExpression(tinybasicParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.ExpressionContext | context | The parse tree. |
ExitExprlist(tinybasicParser.ExprlistContext)
Exit a parse tree produced by exprlist().
The default implementation does nothing.
Declaration
public virtual void ExitExprlist(tinybasicParser.ExprlistContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.ExprlistContext | context | The parse tree. |
ExitFactor(tinybasicParser.FactorContext)
Exit a parse tree produced by factor().
The default implementation does nothing.
Declaration
public virtual void ExitFactor(tinybasicParser.FactorContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.FactorContext | context | The parse tree. |
ExitLine(tinybasicParser.LineContext)
Exit a parse tree produced by line().
The default implementation does nothing.
Declaration
public virtual void ExitLine(tinybasicParser.LineContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.LineContext | context | The parse tree. |
ExitNumber(tinybasicParser.NumberContext)
Exit a parse tree produced by number().
The default implementation does nothing.
Declaration
public virtual void ExitNumber(tinybasicParser.NumberContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.NumberContext | context | The parse tree. |
ExitProgram(tinybasicParser.ProgramContext)
Exit a parse tree produced by program().
The default implementation does nothing.
Declaration
public virtual void ExitProgram(tinybasicParser.ProgramContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.ProgramContext | context | The parse tree. |
ExitRelop(tinybasicParser.RelopContext)
Exit a parse tree produced by relop().
The default implementation does nothing.
Declaration
public virtual void ExitRelop(tinybasicParser.RelopContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.RelopContext | context | The parse tree. |
ExitStatement(tinybasicParser.StatementContext)
Exit a parse tree produced by statement().
The default implementation does nothing.
Declaration
public virtual void ExitStatement(tinybasicParser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.StatementContext | context | The parse tree. |
ExitTerm(tinybasicParser.TermContext)
Exit a parse tree produced by term().
The default implementation does nothing.
Declaration
public virtual void ExitTerm(tinybasicParser.TermContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.TermContext | context | The parse tree. |
ExitVara(tinybasicParser.VaraContext)
Exit a parse tree produced by vara().
The default implementation does nothing.
Declaration
public virtual void ExitVara(tinybasicParser.VaraContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.VaraContext | context | The parse tree. |
ExitVarlist(tinybasicParser.VarlistContext)
Exit a parse tree produced by varlist().
The default implementation does nothing.
Declaration
public virtual void ExitVarlist(tinybasicParser.VarlistContext context)
Parameters
Type | Name | Description |
---|---|---|
tinybasicParser.VarlistContext | 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.