Show / Hide Table of Contents

Class lisaBaseListener

This class provides an empty implementation of IlisaListener, which can be extended to create a listener which only needs to handle a subset of the available methods.

Inheritance
System.Object
lisaBaseListener
Implements
IlisaListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Lisa
Assembly: Lisa.dll
Syntax
public class lisaBaseListener : object, IlisaListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterAdd_expression(lisaParser.Add_expressionContext)

Enter a parse tree produced by add_expression().

The default implementation does nothing.

Declaration
public virtual void EnterAdd_expression(lisaParser.Add_expressionContext context)
Parameters
Type Name Description
lisaParser.Add_expressionContext context

The parse tree.

| Improve this Doc View Source

EnterAddop(lisaParser.AddopContext)

Enter a parse tree produced by addop().

The default implementation does nothing.

Declaration
public virtual void EnterAddop(lisaParser.AddopContext context)
Parameters
Type Name Description
lisaParser.AddopContext context

The parse tree.

| Improve this Doc View Source

EnterConstant(lisaParser.ConstantContext)

Enter a parse tree produced by constant().

The default implementation does nothing.

Declaration
public virtual void EnterConstant(lisaParser.ConstantContext context)
Parameters
Type Name Description
lisaParser.ConstantContext context

The parse tree.

| Improve this Doc View Source

EnterDeclaration_block(lisaParser.Declaration_blockContext)

Enter a parse tree produced by declaration_block().

The default implementation does nothing.

Declaration
public virtual void EnterDeclaration_block(lisaParser.Declaration_blockContext context)
Parameters
Type Name Description
lisaParser.Declaration_blockContext context

The parse tree.

| Improve this Doc View Source

EnterDeclaration_statement(lisaParser.Declaration_statementContext)

Enter a parse tree produced by declaration_statement().

The default implementation does nothing.

Declaration
public virtual void EnterDeclaration_statement(lisaParser.Declaration_statementContext context)
Parameters
Type Name Description
lisaParser.Declaration_statementContext context

The parse tree.

| Improve this Doc View Source

EnterDeclaration_statements(lisaParser.Declaration_statementsContext)

Enter a parse tree produced by declaration_statements().

The default implementation does nothing.

Declaration
public virtual void EnterDeclaration_statements(lisaParser.Declaration_statementsContext context)
Parameters
Type Name Description
lisaParser.Declaration_statementsContext context

The parse tree.

| Improve this Doc View Source

EnterEveryRule(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.

| Improve this Doc View Source

EnterExpression(lisaParser.ExpressionContext)

Enter a parse tree produced by expression().

The default implementation does nothing.

Declaration
public virtual void EnterExpression(lisaParser.ExpressionContext context)
Parameters
Type Name Description
lisaParser.ExpressionContext context

The parse tree.

| Improve this Doc View Source

EnterExpression_statement(lisaParser.Expression_statementContext)

Enter a parse tree produced by expression_statement().

The default implementation does nothing.

Declaration
public virtual void EnterExpression_statement(lisaParser.Expression_statementContext context)
Parameters
Type Name Description
lisaParser.Expression_statementContext context

The parse tree.

| Improve this Doc View Source

EnterExprop(lisaParser.ExpropContext)

Enter a parse tree produced by exprop().

The default implementation does nothing.

Declaration
public virtual void EnterExprop(lisaParser.ExpropContext context)
Parameters
Type Name Description
lisaParser.ExpropContext context

The parse tree.

| Improve this Doc View Source

EnterFactor(lisaParser.FactorContext)

Enter a parse tree produced by factor().

The default implementation does nothing.

Declaration
public virtual void EnterFactor(lisaParser.FactorContext context)
Parameters
Type Name Description
lisaParser.FactorContext context

The parse tree.

| Improve this Doc View Source

EnterFunction_(lisaParser.Function_Context)

Enter a parse tree produced by function_().

The default implementation does nothing.

Declaration
public virtual void EnterFunction_(lisaParser.Function_Context context)
Parameters
Type Name Description
lisaParser.Function_Context context

The parse tree.

| Improve this Doc View Source

EnterGenerating_statement(lisaParser.Generating_statementContext)

Enter a parse tree produced by generating_statement().

The default implementation does nothing.

Declaration
public virtual void EnterGenerating_statement(lisaParser.Generating_statementContext context)
Parameters
Type Name Description
lisaParser.Generating_statementContext context

The parse tree.

| Improve this Doc View Source

EnterGenerator_type(lisaParser.Generator_typeContext)

Enter a parse tree produced by generator_type().

The default implementation does nothing.

Declaration
public virtual void EnterGenerator_type(lisaParser.Generator_typeContext context)
Parameters
Type Name Description
lisaParser.Generator_typeContext context

The parse tree.

| Improve this Doc View Source

EnterIf_statement(lisaParser.If_statementContext)

Enter a parse tree produced by if_statement().

The default implementation does nothing.

Declaration
public virtual void EnterIf_statement(lisaParser.If_statementContext context)
Parameters
Type Name Description
lisaParser.If_statementContext context

The parse tree.

| Improve this Doc View Source

EnterInteger(lisaParser.IntegerContext)

Enter a parse tree produced by integer().

The default implementation does nothing.

Declaration
public virtual void EnterInteger(lisaParser.IntegerContext context)
Parameters
Type Name Description
lisaParser.IntegerContext context

The parse tree.

| Improve this Doc View Source

EnterMultop(lisaParser.MultopContext)

Enter a parse tree produced by multop().

The default implementation does nothing.

Declaration
public virtual void EnterMultop(lisaParser.MultopContext context)
Parameters
Type Name Description
lisaParser.MultopContext context

The parse tree.

| Improve this Doc View Source

EnterOr_expression(lisaParser.Or_expressionContext)

Enter a parse tree produced by or_expression().

The default implementation does nothing.

Declaration
public virtual void EnterOr_expression(lisaParser.Or_expressionContext context)
Parameters
Type Name Description
lisaParser.Or_expressionContext context

The parse tree.

| Improve this Doc View Source

EnterParameter_list(lisaParser.Parameter_listContext)

Enter a parse tree produced by parameter_list().

The default implementation does nothing.

Declaration
public virtual void EnterParameter_list(lisaParser.Parameter_listContext context)
Parameters
Type Name Description
lisaParser.Parameter_listContext context

The parse tree.

| Improve this Doc View Source

EnterProgram(lisaParser.ProgramContext)

Enter a parse tree produced by program().

The default implementation does nothing.

Declaration
public virtual void EnterProgram(lisaParser.ProgramContext context)
Parameters
Type Name Description
lisaParser.ProgramContext context

The parse tree.

| Improve this Doc View Source

EnterProgram_block(lisaParser.Program_blockContext)

Enter a parse tree produced by program_block().

The default implementation does nothing.

Declaration
public virtual void EnterProgram_block(lisaParser.Program_blockContext context)
Parameters
Type Name Description
lisaParser.Program_blockContext context

The parse tree.

| Improve this Doc View Source

EnterRelation_expression(lisaParser.Relation_expressionContext)

Enter a parse tree produced by relation_expression().

The default implementation does nothing.

Declaration
public virtual void EnterRelation_expression(lisaParser.Relation_expressionContext context)
Parameters
Type Name Description
lisaParser.Relation_expressionContext context

The parse tree.

| Improve this Doc View Source

EnterRelop(lisaParser.RelopContext)

Enter a parse tree produced by relop().

The default implementation does nothing.

Declaration
public virtual void EnterRelop(lisaParser.RelopContext context)
Parameters
Type Name Description
lisaParser.RelopContext context

The parse tree.

| Improve this Doc View Source

EnterSimple_expression(lisaParser.Simple_expressionContext)

Enter a parse tree produced by simple_expression().

The default implementation does nothing.

Declaration
public virtual void EnterSimple_expression(lisaParser.Simple_expressionContext context)
Parameters
Type Name Description
lisaParser.Simple_expressionContext context

The parse tree.

| Improve this Doc View Source

EnterStatement(lisaParser.StatementContext)

Enter a parse tree produced by statement().

The default implementation does nothing.

Declaration
public virtual void EnterStatement(lisaParser.StatementContext context)
Parameters
Type Name Description
lisaParser.StatementContext context

The parse tree.

| Improve this Doc View Source

EnterStatements(lisaParser.StatementsContext)

Enter a parse tree produced by statements().

The default implementation does nothing.

Declaration
public virtual void EnterStatements(lisaParser.StatementsContext context)
Parameters
Type Name Description
lisaParser.StatementsContext context

The parse tree.

| Improve this Doc View Source

EnterTerm(lisaParser.TermContext)

Enter a parse tree produced by term().

The default implementation does nothing.

Declaration
public virtual void EnterTerm(lisaParser.TermContext context)
Parameters
Type Name Description
lisaParser.TermContext context

The parse tree.

| Improve this Doc View Source

EnterType_(lisaParser.Type_Context)

Enter a parse tree produced by type_().

The default implementation does nothing.

Declaration
public virtual void EnterType_(lisaParser.Type_Context context)
Parameters
Type Name Description
lisaParser.Type_Context context

The parse tree.

| Improve this Doc View Source

EnterUnary_relationexpression(lisaParser.Unary_relationexpressionContext)

Enter a parse tree produced by unary_relationexpression().

The default implementation does nothing.

Declaration
public virtual void EnterUnary_relationexpression(lisaParser.Unary_relationexpressionContext context)
Parameters
Type Name Description
lisaParser.Unary_relationexpressionContext context

The parse tree.

| Improve this Doc View Source

EnterVariable(lisaParser.VariableContext)

Enter a parse tree produced by variable().

The default implementation does nothing.

Declaration
public virtual void EnterVariable(lisaParser.VariableContext context)
Parameters
Type Name Description
lisaParser.VariableContext context

The parse tree.

| Improve this Doc View Source

EnterWhile_statement(lisaParser.While_statementContext)

Enter a parse tree produced by while_statement().

The default implementation does nothing.

Declaration
public virtual void EnterWhile_statement(lisaParser.While_statementContext context)
Parameters
Type Name Description
lisaParser.While_statementContext context

The parse tree.

| Improve this Doc View Source

ExitAdd_expression(lisaParser.Add_expressionContext)

Exit a parse tree produced by add_expression().

The default implementation does nothing.

Declaration
public virtual void ExitAdd_expression(lisaParser.Add_expressionContext context)
Parameters
Type Name Description
lisaParser.Add_expressionContext context

The parse tree.

| Improve this Doc View Source

ExitAddop(lisaParser.AddopContext)

Exit a parse tree produced by addop().

The default implementation does nothing.

Declaration
public virtual void ExitAddop(lisaParser.AddopContext context)
Parameters
Type Name Description
lisaParser.AddopContext context

The parse tree.

| Improve this Doc View Source

ExitConstant(lisaParser.ConstantContext)

Exit a parse tree produced by constant().

The default implementation does nothing.

Declaration
public virtual void ExitConstant(lisaParser.ConstantContext context)
Parameters
Type Name Description
lisaParser.ConstantContext context

The parse tree.

| Improve this Doc View Source

ExitDeclaration_block(lisaParser.Declaration_blockContext)

Exit a parse tree produced by declaration_block().

The default implementation does nothing.

Declaration
public virtual void ExitDeclaration_block(lisaParser.Declaration_blockContext context)
Parameters
Type Name Description
lisaParser.Declaration_blockContext context

The parse tree.

| Improve this Doc View Source

ExitDeclaration_statement(lisaParser.Declaration_statementContext)

Exit a parse tree produced by declaration_statement().

The default implementation does nothing.

Declaration
public virtual void ExitDeclaration_statement(lisaParser.Declaration_statementContext context)
Parameters
Type Name Description
lisaParser.Declaration_statementContext context

The parse tree.

| Improve this Doc View Source

ExitDeclaration_statements(lisaParser.Declaration_statementsContext)

Exit a parse tree produced by declaration_statements().

The default implementation does nothing.

Declaration
public virtual void ExitDeclaration_statements(lisaParser.Declaration_statementsContext context)
Parameters
Type Name Description
lisaParser.Declaration_statementsContext context

The parse tree.

| Improve this Doc View Source

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.

| Improve this Doc View Source

ExitExpression(lisaParser.ExpressionContext)

Exit a parse tree produced by expression().

The default implementation does nothing.

Declaration
public virtual void ExitExpression(lisaParser.ExpressionContext context)
Parameters
Type Name Description
lisaParser.ExpressionContext context

The parse tree.

| Improve this Doc View Source

ExitExpression_statement(lisaParser.Expression_statementContext)

Exit a parse tree produced by expression_statement().

The default implementation does nothing.

Declaration
public virtual void ExitExpression_statement(lisaParser.Expression_statementContext context)
Parameters
Type Name Description
lisaParser.Expression_statementContext context

The parse tree.

| Improve this Doc View Source

ExitExprop(lisaParser.ExpropContext)

Exit a parse tree produced by exprop().

The default implementation does nothing.

Declaration
public virtual void ExitExprop(lisaParser.ExpropContext context)
Parameters
Type Name Description
lisaParser.ExpropContext context

The parse tree.

| Improve this Doc View Source

ExitFactor(lisaParser.FactorContext)

Exit a parse tree produced by factor().

The default implementation does nothing.

Declaration
public virtual void ExitFactor(lisaParser.FactorContext context)
Parameters
Type Name Description
lisaParser.FactorContext context

The parse tree.

| Improve this Doc View Source

ExitFunction_(lisaParser.Function_Context)

Exit a parse tree produced by function_().

The default implementation does nothing.

Declaration
public virtual void ExitFunction_(lisaParser.Function_Context context)
Parameters
Type Name Description
lisaParser.Function_Context context

The parse tree.

| Improve this Doc View Source

ExitGenerating_statement(lisaParser.Generating_statementContext)

Exit a parse tree produced by generating_statement().

The default implementation does nothing.

Declaration
public virtual void ExitGenerating_statement(lisaParser.Generating_statementContext context)
Parameters
Type Name Description
lisaParser.Generating_statementContext context

The parse tree.

| Improve this Doc View Source

ExitGenerator_type(lisaParser.Generator_typeContext)

Exit a parse tree produced by generator_type().

The default implementation does nothing.

Declaration
public virtual void ExitGenerator_type(lisaParser.Generator_typeContext context)
Parameters
Type Name Description
lisaParser.Generator_typeContext context

The parse tree.

| Improve this Doc View Source

ExitIf_statement(lisaParser.If_statementContext)

Exit a parse tree produced by if_statement().

The default implementation does nothing.

Declaration
public virtual void ExitIf_statement(lisaParser.If_statementContext context)
Parameters
Type Name Description
lisaParser.If_statementContext context

The parse tree.

| Improve this Doc View Source

ExitInteger(lisaParser.IntegerContext)

Exit a parse tree produced by integer().

The default implementation does nothing.

Declaration
public virtual void ExitInteger(lisaParser.IntegerContext context)
Parameters
Type Name Description
lisaParser.IntegerContext context

The parse tree.

| Improve this Doc View Source

ExitMultop(lisaParser.MultopContext)

Exit a parse tree produced by multop().

The default implementation does nothing.

Declaration
public virtual void ExitMultop(lisaParser.MultopContext context)
Parameters
Type Name Description
lisaParser.MultopContext context

The parse tree.

| Improve this Doc View Source

ExitOr_expression(lisaParser.Or_expressionContext)

Exit a parse tree produced by or_expression().

The default implementation does nothing.

Declaration
public virtual void ExitOr_expression(lisaParser.Or_expressionContext context)
Parameters
Type Name Description
lisaParser.Or_expressionContext context

The parse tree.

| Improve this Doc View Source

ExitParameter_list(lisaParser.Parameter_listContext)

Exit a parse tree produced by parameter_list().

The default implementation does nothing.

Declaration
public virtual void ExitParameter_list(lisaParser.Parameter_listContext context)
Parameters
Type Name Description
lisaParser.Parameter_listContext context

The parse tree.

| Improve this Doc View Source

ExitProgram(lisaParser.ProgramContext)

Exit a parse tree produced by program().

The default implementation does nothing.

Declaration
public virtual void ExitProgram(lisaParser.ProgramContext context)
Parameters
Type Name Description
lisaParser.ProgramContext context

The parse tree.

| Improve this Doc View Source

ExitProgram_block(lisaParser.Program_blockContext)

Exit a parse tree produced by program_block().

The default implementation does nothing.

Declaration
public virtual void ExitProgram_block(lisaParser.Program_blockContext context)
Parameters
Type Name Description
lisaParser.Program_blockContext context

The parse tree.

| Improve this Doc View Source

ExitRelation_expression(lisaParser.Relation_expressionContext)

Exit a parse tree produced by relation_expression().

The default implementation does nothing.

Declaration
public virtual void ExitRelation_expression(lisaParser.Relation_expressionContext context)
Parameters
Type Name Description
lisaParser.Relation_expressionContext context

The parse tree.

| Improve this Doc View Source

ExitRelop(lisaParser.RelopContext)

Exit a parse tree produced by relop().

The default implementation does nothing.

Declaration
public virtual void ExitRelop(lisaParser.RelopContext context)
Parameters
Type Name Description
lisaParser.RelopContext context

The parse tree.

| Improve this Doc View Source

ExitSimple_expression(lisaParser.Simple_expressionContext)

Exit a parse tree produced by simple_expression().

The default implementation does nothing.

Declaration
public virtual void ExitSimple_expression(lisaParser.Simple_expressionContext context)
Parameters
Type Name Description
lisaParser.Simple_expressionContext context

The parse tree.

| Improve this Doc View Source

ExitStatement(lisaParser.StatementContext)

Exit a parse tree produced by statement().

The default implementation does nothing.

Declaration
public virtual void ExitStatement(lisaParser.StatementContext context)
Parameters
Type Name Description
lisaParser.StatementContext context

The parse tree.

| Improve this Doc View Source

ExitStatements(lisaParser.StatementsContext)

Exit a parse tree produced by statements().

The default implementation does nothing.

Declaration
public virtual void ExitStatements(lisaParser.StatementsContext context)
Parameters
Type Name Description
lisaParser.StatementsContext context

The parse tree.

| Improve this Doc View Source

ExitTerm(lisaParser.TermContext)

Exit a parse tree produced by term().

The default implementation does nothing.

Declaration
public virtual void ExitTerm(lisaParser.TermContext context)
Parameters
Type Name Description
lisaParser.TermContext context

The parse tree.

| Improve this Doc View Source

ExitType_(lisaParser.Type_Context)

Exit a parse tree produced by type_().

The default implementation does nothing.

Declaration
public virtual void ExitType_(lisaParser.Type_Context context)
Parameters
Type Name Description
lisaParser.Type_Context context

The parse tree.

| Improve this Doc View Source

ExitUnary_relationexpression(lisaParser.Unary_relationexpressionContext)

Exit a parse tree produced by unary_relationexpression().

The default implementation does nothing.

Declaration
public virtual void ExitUnary_relationexpression(lisaParser.Unary_relationexpressionContext context)
Parameters
Type Name Description
lisaParser.Unary_relationexpressionContext context

The parse tree.

| Improve this Doc View Source

ExitVariable(lisaParser.VariableContext)

Exit a parse tree produced by variable().

The default implementation does nothing.

Declaration
public virtual void ExitVariable(lisaParser.VariableContext context)
Parameters
Type Name Description
lisaParser.VariableContext context

The parse tree.

| Improve this Doc View Source

ExitWhile_statement(lisaParser.While_statementContext)

Exit a parse tree produced by while_statement().

The default implementation does nothing.

Declaration
public virtual void ExitWhile_statement(lisaParser.While_statementContext context)
Parameters
Type Name Description
lisaParser.While_statementContext context

The parse tree.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

Implements

IlisaListener
Antlr4.Runtime.Tree.IParseTreeListener
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX