Interface IlisaListener
This interface defines a complete listener for a parse tree produced by lisaParser.
Namespace: GCore.Antlr.Grammers.Lisa
Assembly: Lisa.dll
Syntax
public interface IlisaListener : Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterAdd_expression(lisaParser.Add_expressionContext)
Enter a parse tree produced by add_expression().
Declaration
void EnterAdd_expression(lisaParser.Add_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Add_expressionContext | context | The parse tree. |
EnterAddop(lisaParser.AddopContext)
Enter a parse tree produced by addop().
Declaration
void EnterAddop(lisaParser.AddopContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.AddopContext | context | The parse tree. |
EnterConstant(lisaParser.ConstantContext)
Enter a parse tree produced by constant().
Declaration
void EnterConstant(lisaParser.ConstantContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.ConstantContext | context | The parse tree. |
EnterDeclaration_block(lisaParser.Declaration_blockContext)
Enter a parse tree produced by declaration_block().
Declaration
void EnterDeclaration_block(lisaParser.Declaration_blockContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Declaration_blockContext | context | The parse tree. |
EnterDeclaration_statement(lisaParser.Declaration_statementContext)
Enter a parse tree produced by declaration_statement().
Declaration
void EnterDeclaration_statement(lisaParser.Declaration_statementContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Declaration_statementContext | context | The parse tree. |
EnterDeclaration_statements(lisaParser.Declaration_statementsContext)
Enter a parse tree produced by declaration_statements().
Declaration
void EnterDeclaration_statements(lisaParser.Declaration_statementsContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Declaration_statementsContext | context | The parse tree. |
EnterExpression(lisaParser.ExpressionContext)
Enter a parse tree produced by expression().
Declaration
void EnterExpression(lisaParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.ExpressionContext | context | The parse tree. |
EnterExpression_statement(lisaParser.Expression_statementContext)
Enter a parse tree produced by expression_statement().
Declaration
void EnterExpression_statement(lisaParser.Expression_statementContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Expression_statementContext | context | The parse tree. |
EnterExprop(lisaParser.ExpropContext)
Enter a parse tree produced by exprop().
Declaration
void EnterExprop(lisaParser.ExpropContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.ExpropContext | context | The parse tree. |
EnterFactor(lisaParser.FactorContext)
Enter a parse tree produced by factor().
Declaration
void EnterFactor(lisaParser.FactorContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.FactorContext | context | The parse tree. |
EnterFunction_(lisaParser.Function_Context)
Enter a parse tree produced by function_().
Declaration
void EnterFunction_(lisaParser.Function_Context context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Function_Context | context | The parse tree. |
EnterGenerating_statement(lisaParser.Generating_statementContext)
Enter a parse tree produced by generating_statement().
Declaration
void EnterGenerating_statement(lisaParser.Generating_statementContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Generating_statementContext | context | The parse tree. |
EnterGenerator_type(lisaParser.Generator_typeContext)
Enter a parse tree produced by generator_type().
Declaration
void EnterGenerator_type(lisaParser.Generator_typeContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Generator_typeContext | context | The parse tree. |
EnterIf_statement(lisaParser.If_statementContext)
Enter a parse tree produced by if_statement().
Declaration
void EnterIf_statement(lisaParser.If_statementContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.If_statementContext | context | The parse tree. |
EnterInteger(lisaParser.IntegerContext)
Enter a parse tree produced by integer().
Declaration
void EnterInteger(lisaParser.IntegerContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.IntegerContext | context | The parse tree. |
EnterMultop(lisaParser.MultopContext)
Enter a parse tree produced by multop().
Declaration
void EnterMultop(lisaParser.MultopContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.MultopContext | context | The parse tree. |
EnterOr_expression(lisaParser.Or_expressionContext)
Enter a parse tree produced by or_expression().
Declaration
void EnterOr_expression(lisaParser.Or_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Or_expressionContext | context | The parse tree. |
EnterParameter_list(lisaParser.Parameter_listContext)
Enter a parse tree produced by parameter_list().
Declaration
void EnterParameter_list(lisaParser.Parameter_listContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Parameter_listContext | context | The parse tree. |
EnterProgram(lisaParser.ProgramContext)
Enter a parse tree produced by program().
Declaration
void EnterProgram(lisaParser.ProgramContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.ProgramContext | context | The parse tree. |
EnterProgram_block(lisaParser.Program_blockContext)
Enter a parse tree produced by program_block().
Declaration
void EnterProgram_block(lisaParser.Program_blockContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Program_blockContext | context | The parse tree. |
EnterRelation_expression(lisaParser.Relation_expressionContext)
Enter a parse tree produced by relation_expression().
Declaration
void EnterRelation_expression(lisaParser.Relation_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Relation_expressionContext | context | The parse tree. |
EnterRelop(lisaParser.RelopContext)
Enter a parse tree produced by relop().
Declaration
void EnterRelop(lisaParser.RelopContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.RelopContext | context | The parse tree. |
EnterSimple_expression(lisaParser.Simple_expressionContext)
Enter a parse tree produced by simple_expression().
Declaration
void EnterSimple_expression(lisaParser.Simple_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Simple_expressionContext | context | The parse tree. |
EnterStatement(lisaParser.StatementContext)
Enter a parse tree produced by statement().
Declaration
void EnterStatement(lisaParser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.StatementContext | context | The parse tree. |
EnterStatements(lisaParser.StatementsContext)
Enter a parse tree produced by statements().
Declaration
void EnterStatements(lisaParser.StatementsContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.StatementsContext | context | The parse tree. |
EnterTerm(lisaParser.TermContext)
Enter a parse tree produced by term().
Declaration
void EnterTerm(lisaParser.TermContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.TermContext | context | The parse tree. |
EnterType_(lisaParser.Type_Context)
Enter a parse tree produced by type_().
Declaration
void EnterType_(lisaParser.Type_Context context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Type_Context | context | The parse tree. |
EnterUnary_relationexpression(lisaParser.Unary_relationexpressionContext)
Enter a parse tree produced by unary_relationexpression().
Declaration
void EnterUnary_relationexpression(lisaParser.Unary_relationexpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Unary_relationexpressionContext | context | The parse tree. |
EnterVariable(lisaParser.VariableContext)
Enter a parse tree produced by variable().
Declaration
void EnterVariable(lisaParser.VariableContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.VariableContext | context | The parse tree. |
EnterWhile_statement(lisaParser.While_statementContext)
Enter a parse tree produced by while_statement().
Declaration
void EnterWhile_statement(lisaParser.While_statementContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.While_statementContext | context | The parse tree. |
ExitAdd_expression(lisaParser.Add_expressionContext)
Exit a parse tree produced by add_expression().
Declaration
void ExitAdd_expression(lisaParser.Add_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Add_expressionContext | context | The parse tree. |
ExitAddop(lisaParser.AddopContext)
Exit a parse tree produced by addop().
Declaration
void ExitAddop(lisaParser.AddopContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.AddopContext | context | The parse tree. |
ExitConstant(lisaParser.ConstantContext)
Exit a parse tree produced by constant().
Declaration
void ExitConstant(lisaParser.ConstantContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.ConstantContext | context | The parse tree. |
ExitDeclaration_block(lisaParser.Declaration_blockContext)
Exit a parse tree produced by declaration_block().
Declaration
void ExitDeclaration_block(lisaParser.Declaration_blockContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Declaration_blockContext | context | The parse tree. |
ExitDeclaration_statement(lisaParser.Declaration_statementContext)
Exit a parse tree produced by declaration_statement().
Declaration
void ExitDeclaration_statement(lisaParser.Declaration_statementContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Declaration_statementContext | context | The parse tree. |
ExitDeclaration_statements(lisaParser.Declaration_statementsContext)
Exit a parse tree produced by declaration_statements().
Declaration
void ExitDeclaration_statements(lisaParser.Declaration_statementsContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Declaration_statementsContext | context | The parse tree. |
ExitExpression(lisaParser.ExpressionContext)
Exit a parse tree produced by expression().
Declaration
void ExitExpression(lisaParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.ExpressionContext | context | The parse tree. |
ExitExpression_statement(lisaParser.Expression_statementContext)
Exit a parse tree produced by expression_statement().
Declaration
void ExitExpression_statement(lisaParser.Expression_statementContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Expression_statementContext | context | The parse tree. |
ExitExprop(lisaParser.ExpropContext)
Exit a parse tree produced by exprop().
Declaration
void ExitExprop(lisaParser.ExpropContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.ExpropContext | context | The parse tree. |
ExitFactor(lisaParser.FactorContext)
Exit a parse tree produced by factor().
Declaration
void ExitFactor(lisaParser.FactorContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.FactorContext | context | The parse tree. |
ExitFunction_(lisaParser.Function_Context)
Exit a parse tree produced by function_().
Declaration
void ExitFunction_(lisaParser.Function_Context context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Function_Context | context | The parse tree. |
ExitGenerating_statement(lisaParser.Generating_statementContext)
Exit a parse tree produced by generating_statement().
Declaration
void ExitGenerating_statement(lisaParser.Generating_statementContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Generating_statementContext | context | The parse tree. |
ExitGenerator_type(lisaParser.Generator_typeContext)
Exit a parse tree produced by generator_type().
Declaration
void ExitGenerator_type(lisaParser.Generator_typeContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Generator_typeContext | context | The parse tree. |
ExitIf_statement(lisaParser.If_statementContext)
Exit a parse tree produced by if_statement().
Declaration
void ExitIf_statement(lisaParser.If_statementContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.If_statementContext | context | The parse tree. |
ExitInteger(lisaParser.IntegerContext)
Exit a parse tree produced by integer().
Declaration
void ExitInteger(lisaParser.IntegerContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.IntegerContext | context | The parse tree. |
ExitMultop(lisaParser.MultopContext)
Exit a parse tree produced by multop().
Declaration
void ExitMultop(lisaParser.MultopContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.MultopContext | context | The parse tree. |
ExitOr_expression(lisaParser.Or_expressionContext)
Exit a parse tree produced by or_expression().
Declaration
void ExitOr_expression(lisaParser.Or_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Or_expressionContext | context | The parse tree. |
ExitParameter_list(lisaParser.Parameter_listContext)
Exit a parse tree produced by parameter_list().
Declaration
void ExitParameter_list(lisaParser.Parameter_listContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Parameter_listContext | context | The parse tree. |
ExitProgram(lisaParser.ProgramContext)
Exit a parse tree produced by program().
Declaration
void ExitProgram(lisaParser.ProgramContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.ProgramContext | context | The parse tree. |
ExitProgram_block(lisaParser.Program_blockContext)
Exit a parse tree produced by program_block().
Declaration
void ExitProgram_block(lisaParser.Program_blockContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Program_blockContext | context | The parse tree. |
ExitRelation_expression(lisaParser.Relation_expressionContext)
Exit a parse tree produced by relation_expression().
Declaration
void ExitRelation_expression(lisaParser.Relation_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Relation_expressionContext | context | The parse tree. |
ExitRelop(lisaParser.RelopContext)
Exit a parse tree produced by relop().
Declaration
void ExitRelop(lisaParser.RelopContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.RelopContext | context | The parse tree. |
ExitSimple_expression(lisaParser.Simple_expressionContext)
Exit a parse tree produced by simple_expression().
Declaration
void ExitSimple_expression(lisaParser.Simple_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Simple_expressionContext | context | The parse tree. |
ExitStatement(lisaParser.StatementContext)
Exit a parse tree produced by statement().
Declaration
void ExitStatement(lisaParser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.StatementContext | context | The parse tree. |
ExitStatements(lisaParser.StatementsContext)
Exit a parse tree produced by statements().
Declaration
void ExitStatements(lisaParser.StatementsContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.StatementsContext | context | The parse tree. |
ExitTerm(lisaParser.TermContext)
Exit a parse tree produced by term().
Declaration
void ExitTerm(lisaParser.TermContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.TermContext | context | The parse tree. |
ExitType_(lisaParser.Type_Context)
Exit a parse tree produced by type_().
Declaration
void ExitType_(lisaParser.Type_Context context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Type_Context | context | The parse tree. |
ExitUnary_relationexpression(lisaParser.Unary_relationexpressionContext)
Exit a parse tree produced by unary_relationexpression().
Declaration
void ExitUnary_relationexpression(lisaParser.Unary_relationexpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.Unary_relationexpressionContext | context | The parse tree. |
ExitVariable(lisaParser.VariableContext)
Exit a parse tree produced by variable().
Declaration
void ExitVariable(lisaParser.VariableContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.VariableContext | context | The parse tree. |
ExitWhile_statement(lisaParser.While_statementContext)
Exit a parse tree produced by while_statement().
Declaration
void ExitWhile_statement(lisaParser.While_statementContext context)
Parameters
Type | Name | Description |
---|---|---|
lisaParser.While_statementContext | context | The parse tree. |