Interface IjanusListener
This interface defines a complete listener for a parse tree produced by janusParser.
Namespace: GCore.Antlr.Grammers.Janus
Assembly: Janus.dll
Syntax
public interface IjanusListener : Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterCallstmt(janusParser.CallstmtContext)
Enter a parse tree produced by callstmt().
Declaration
void EnterCallstmt(janusParser.CallstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.CallstmtContext | context | The parse tree. |
EnterConstant(janusParser.ConstantContext)
Enter a parse tree produced by constant().
Declaration
void EnterConstant(janusParser.ConstantContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.ConstantContext | context | The parse tree. |
EnterDostmt(janusParser.DostmtContext)
Enter a parse tree produced by dostmt().
Declaration
void EnterDostmt(janusParser.DostmtContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.DostmtContext | context | The parse tree. |
EnterExpression(janusParser.ExpressionContext)
Enter a parse tree produced by expression().
Declaration
void EnterExpression(janusParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.ExpressionContext | context | The parse tree. |
EnterIfstmt(janusParser.IfstmtContext)
Enter a parse tree produced by ifstmt().
Declaration
void EnterIfstmt(janusParser.IfstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.IfstmtContext | context | The parse tree. |
EnterLvalstmt(janusParser.LvalstmtContext)
Enter a parse tree produced by lvalstmt().
Declaration
void EnterLvalstmt(janusParser.LvalstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.LvalstmtContext | context | The parse tree. |
EnterLvalue(janusParser.LvalueContext)
Enter a parse tree produced by lvalue().
Declaration
void EnterLvalue(janusParser.LvalueContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.LvalueContext | context | The parse tree. |
EnterMinexp(janusParser.MinexpContext)
Enter a parse tree produced by minexp().
Declaration
void EnterMinexp(janusParser.MinexpContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.MinexpContext | context | The parse tree. |
EnterModstmt(janusParser.ModstmtContext)
Enter a parse tree produced by modstmt().
Declaration
void EnterModstmt(janusParser.ModstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.ModstmtContext | context | The parse tree. |
EnterProgram(janusParser.ProgramContext)
Enter a parse tree produced by program().
Declaration
void EnterProgram(janusParser.ProgramContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.ProgramContext | context | The parse tree. |
EnterReadstmt(janusParser.ReadstmtContext)
Enter a parse tree produced by readstmt().
Declaration
void EnterReadstmt(janusParser.ReadstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.ReadstmtContext | context | The parse tree. |
EnterStatement(janusParser.StatementContext)
Enter a parse tree produced by statement().
Declaration
void EnterStatement(janusParser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.StatementContext | context | The parse tree. |
EnterStatements(janusParser.StatementsContext)
Enter a parse tree produced by statements().
Declaration
void EnterStatements(janusParser.StatementsContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.StatementsContext | context | The parse tree. |
EnterSwapstmt(janusParser.SwapstmtContext)
Enter a parse tree produced by swapstmt().
Declaration
void EnterSwapstmt(janusParser.SwapstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.SwapstmtContext | context | The parse tree. |
EnterWritestmt(janusParser.WritestmtContext)
Enter a parse tree produced by writestmt().
Declaration
void EnterWritestmt(janusParser.WritestmtContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.WritestmtContext | context | The parse tree. |
ExitCallstmt(janusParser.CallstmtContext)
Exit a parse tree produced by callstmt().
Declaration
void ExitCallstmt(janusParser.CallstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.CallstmtContext | context | The parse tree. |
ExitConstant(janusParser.ConstantContext)
Exit a parse tree produced by constant().
Declaration
void ExitConstant(janusParser.ConstantContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.ConstantContext | context | The parse tree. |
ExitDostmt(janusParser.DostmtContext)
Exit a parse tree produced by dostmt().
Declaration
void ExitDostmt(janusParser.DostmtContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.DostmtContext | context | The parse tree. |
ExitExpression(janusParser.ExpressionContext)
Exit a parse tree produced by expression().
Declaration
void ExitExpression(janusParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.ExpressionContext | context | The parse tree. |
ExitIfstmt(janusParser.IfstmtContext)
Exit a parse tree produced by ifstmt().
Declaration
void ExitIfstmt(janusParser.IfstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.IfstmtContext | context | The parse tree. |
ExitLvalstmt(janusParser.LvalstmtContext)
Exit a parse tree produced by lvalstmt().
Declaration
void ExitLvalstmt(janusParser.LvalstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.LvalstmtContext | context | The parse tree. |
ExitLvalue(janusParser.LvalueContext)
Exit a parse tree produced by lvalue().
Declaration
void ExitLvalue(janusParser.LvalueContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.LvalueContext | context | The parse tree. |
ExitMinexp(janusParser.MinexpContext)
Exit a parse tree produced by minexp().
Declaration
void ExitMinexp(janusParser.MinexpContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.MinexpContext | context | The parse tree. |
ExitModstmt(janusParser.ModstmtContext)
Exit a parse tree produced by modstmt().
Declaration
void ExitModstmt(janusParser.ModstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.ModstmtContext | context | The parse tree. |
ExitProgram(janusParser.ProgramContext)
Exit a parse tree produced by program().
Declaration
void ExitProgram(janusParser.ProgramContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.ProgramContext | context | The parse tree. |
ExitReadstmt(janusParser.ReadstmtContext)
Exit a parse tree produced by readstmt().
Declaration
void ExitReadstmt(janusParser.ReadstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.ReadstmtContext | context | The parse tree. |
ExitStatement(janusParser.StatementContext)
Exit a parse tree produced by statement().
Declaration
void ExitStatement(janusParser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.StatementContext | context | The parse tree. |
ExitStatements(janusParser.StatementsContext)
Exit a parse tree produced by statements().
Declaration
void ExitStatements(janusParser.StatementsContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.StatementsContext | context | The parse tree. |
ExitSwapstmt(janusParser.SwapstmtContext)
Exit a parse tree produced by swapstmt().
Declaration
void ExitSwapstmt(janusParser.SwapstmtContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.SwapstmtContext | context | The parse tree. |
ExitWritestmt(janusParser.WritestmtContext)
Exit a parse tree produced by writestmt().
Declaration
void ExitWritestmt(janusParser.WritestmtContext context)
Parameters
Type | Name | Description |
---|---|---|
janusParser.WritestmtContext | context | The parse tree. |