Show / Hide Table of Contents

Class plucidBaseListener

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

Inheritance
System.Object
plucidBaseListener
Implements
IplucidListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Plucid
Assembly: Plucid.dll
Syntax
public class plucidBaseListener : object, IplucidListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterActuals_list(plucidParser.Actuals_listContext)

Enter a parse tree produced by actuals_list().

The default implementation does nothing.

Declaration
public virtual void EnterActuals_list(plucidParser.Actuals_listContext context)
Parameters
Type Name Description
plucidParser.Actuals_listContext context

The parse tree.

| Improve this Doc View Source

EnterBody(plucidParser.BodyContext)

Enter a parse tree produced by body().

The default implementation does nothing.

Declaration
public virtual void EnterBody(plucidParser.BodyContext context)
Parameters
Type Name Description
plucidParser.BodyContext context

The parse tree.

| Improve this Doc View Source

EnterCase_expression(plucidParser.Case_expressionContext)

Enter a parse tree produced by case_expression().

The default implementation does nothing.

Declaration
public virtual void EnterCase_expression(plucidParser.Case_expressionContext context)
Parameters
Type Name Description
plucidParser.Case_expressionContext context

The parse tree.

| Improve this Doc View Source

EnterCbody(plucidParser.CbodyContext)

Enter a parse tree produced by cbody().

The default implementation does nothing.

Declaration
public virtual void EnterCbody(plucidParser.CbodyContext context)
Parameters
Type Name Description
plucidParser.CbodyContext context

The parse tree.

| Improve this Doc View Source

EnterCond_expression(plucidParser.Cond_expressionContext)

Enter a parse tree produced by cond_expression().

The default implementation does nothing.

Declaration
public virtual void EnterCond_expression(plucidParser.Cond_expressionContext context)
Parameters
Type Name Description
plucidParser.Cond_expressionContext context

The parse tree.

| Improve this Doc View Source

EnterConstant(plucidParser.ConstantContext)

Enter a parse tree produced by constant().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterCurrent_declaration(plucidParser.Current_declarationContext)

Enter a parse tree produced by current_declaration().

The default implementation does nothing.

Declaration
public virtual void EnterCurrent_declaration(plucidParser.Current_declarationContext context)
Parameters
Type Name Description
plucidParser.Current_declarationContext context

The parse tree.

| Improve this Doc View Source

EnterDeclarations_list(plucidParser.Declarations_listContext)

Enter a parse tree produced by declarations_list().

The default implementation does nothing.

Declaration
public virtual void EnterDeclarations_list(plucidParser.Declarations_listContext context)
Parameters
Type Name Description
plucidParser.Declarations_listContext context

The parse tree.

| Improve this Doc View Source

EnterDefaultcase(plucidParser.DefaultcaseContext)

Enter a parse tree produced by defaultcase().

The default implementation does nothing.

Declaration
public virtual void EnterDefaultcase(plucidParser.DefaultcaseContext context)
Parameters
Type Name Description
plucidParser.DefaultcaseContext context

The parse tree.

| Improve this Doc View Source

EnterDefinition(plucidParser.DefinitionContext)

Enter a parse tree produced by definition().

The default implementation does nothing.

Declaration
public virtual void EnterDefinition(plucidParser.DefinitionContext context)
Parameters
Type Name Description
plucidParser.DefinitionContext context

The parse tree.

| Improve this Doc View Source

EnterDefinitions_list(plucidParser.Definitions_listContext)

Enter a parse tree produced by definitions_list().

The default implementation does nothing.

Declaration
public virtual void EnterDefinitions_list(plucidParser.Definitions_listContext context)
Parameters
Type Name Description
plucidParser.Definitions_listContext context

The parse tree.

| Improve this Doc View Source

EnterEndif(plucidParser.EndifContext)

Enter a parse tree produced by endif().

The default implementation does nothing.

Declaration
public virtual void EnterEndif(plucidParser.EndifContext context)
Parameters
Type Name Description
plucidParser.EndifContext 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(plucidParser.ExpressionContext)

Enter a parse tree produced by expression().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterExpression_item(plucidParser.Expression_itemContext)

Enter a parse tree produced by expression_item().

The default implementation does nothing.

Declaration
public virtual void EnterExpression_item(plucidParser.Expression_itemContext context)
Parameters
Type Name Description
plucidParser.Expression_itemContext context

The parse tree.

| Improve this Doc View Source

EnterExpressions_list(plucidParser.Expressions_listContext)

Enter a parse tree produced by expressions_list().

The default implementation does nothing.

Declaration
public virtual void EnterExpressions_list(plucidParser.Expressions_listContext context)
Parameters
Type Name Description
plucidParser.Expressions_listContext context

The parse tree.

| Improve this Doc View Source

EnterFormals_list(plucidParser.Formals_listContext)

Enter a parse tree produced by formals_list().

The default implementation does nothing.

Declaration
public virtual void EnterFormals_list(plucidParser.Formals_listContext context)
Parameters
Type Name Description
plucidParser.Formals_listContext context

The parse tree.

| Improve this Doc View Source

EnterFunction_call(plucidParser.Function_callContext)

Enter a parse tree produced by function_call().

The default implementation does nothing.

Declaration
public virtual void EnterFunction_call(plucidParser.Function_callContext context)
Parameters
Type Name Description
plucidParser.Function_callContext context

The parse tree.

| Improve this Doc View Source

EnterFunction_definition(plucidParser.Function_definitionContext)

Enter a parse tree produced by function_definition().

The default implementation does nothing.

Declaration
public virtual void EnterFunction_definition(plucidParser.Function_definitionContext context)
Parameters
Type Name Description
plucidParser.Function_definitionContext context

The parse tree.

| Improve this Doc View Source

EnterIdentifier(plucidParser.IdentifierContext)

Enter a parse tree produced by identifier().

The default implementation does nothing.

Declaration
public virtual void EnterIdentifier(plucidParser.IdentifierContext context)
Parameters
Type Name Description
plucidParser.IdentifierContext context

The parse tree.

| Improve this Doc View Source

EnterIf_expression(plucidParser.If_expressionContext)

Enter a parse tree produced by if_expression().

The default implementation does nothing.

Declaration
public virtual void EnterIf_expression(plucidParser.If_expressionContext context)
Parameters
Type Name Description
plucidParser.If_expressionContext context

The parse tree.

| Improve this Doc View Source

EnterInfix_operator(plucidParser.Infix_operatorContext)

Enter a parse tree produced by infix_operator().

The default implementation does nothing.

Declaration
public virtual void EnterInfix_operator(plucidParser.Infix_operatorContext context)
Parameters
Type Name Description
plucidParser.Infix_operatorContext context

The parse tree.

| Improve this Doc View Source

EnterInteger_constant(plucidParser.Integer_constantContext)

Enter a parse tree produced by integer_constant().

The default implementation does nothing.

Declaration
public virtual void EnterInteger_constant(plucidParser.Integer_constantContext context)
Parameters
Type Name Description
plucidParser.Integer_constantContext context

The parse tree.

| Improve this Doc View Source

EnterList_constant(plucidParser.List_constantContext)

Enter a parse tree produced by list_constant().

The default implementation does nothing.

Declaration
public virtual void EnterList_constant(plucidParser.List_constantContext context)
Parameters
Type Name Description
plucidParser.List_constantContext context

The parse tree.

| Improve this Doc View Source

EnterList_constant_element(plucidParser.List_constant_elementContext)

Enter a parse tree produced by list_constant_element().

The default implementation does nothing.

Declaration
public virtual void EnterList_constant_element(plucidParser.List_constant_elementContext context)
Parameters
Type Name Description
plucidParser.List_constant_elementContext context

The parse tree.

| Improve this Doc View Source

EnterList_expression(plucidParser.List_expressionContext)

Enter a parse tree produced by list_expression().

The default implementation does nothing.

Declaration
public virtual void EnterList_expression(plucidParser.List_expressionContext context)
Parameters
Type Name Description
plucidParser.List_expressionContext context

The parse tree.

| Improve this Doc View Source

EnterNumeric_constant(plucidParser.Numeric_constantContext)

Enter a parse tree produced by numeric_constant().

The default implementation does nothing.

Declaration
public virtual void EnterNumeric_constant(plucidParser.Numeric_constantContext context)
Parameters
Type Name Description
plucidParser.Numeric_constantContext context

The parse tree.

| Improve this Doc View Source

EnterPrefix_operator(plucidParser.Prefix_operatorContext)

Enter a parse tree produced by prefix_operator().

The default implementation does nothing.

Declaration
public virtual void EnterPrefix_operator(plucidParser.Prefix_operatorContext context)
Parameters
Type Name Description
plucidParser.Prefix_operatorContext context

The parse tree.

| Improve this Doc View Source

EnterProgram(plucidParser.ProgramContext)

Enter a parse tree produced by program().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

EnterReal_constant(plucidParser.Real_constantContext)

Enter a parse tree produced by real_constant().

The default implementation does nothing.

Declaration
public virtual void EnterReal_constant(plucidParser.Real_constantContext context)
Parameters
Type Name Description
plucidParser.Real_constantContext context

The parse tree.

| Improve this Doc View Source

EnterSimple_definition(plucidParser.Simple_definitionContext)

Enter a parse tree produced by simple_definition().

The default implementation does nothing.

Declaration
public virtual void EnterSimple_definition(plucidParser.Simple_definitionContext context)
Parameters
Type Name Description
plucidParser.Simple_definitionContext context

The parse tree.

| Improve this Doc View Source

EnterWhere_clause(plucidParser.Where_clauseContext)

Enter a parse tree produced by where_clause().

The default implementation does nothing.

Declaration
public virtual void EnterWhere_clause(plucidParser.Where_clauseContext context)
Parameters
Type Name Description
plucidParser.Where_clauseContext context

The parse tree.

| Improve this Doc View Source

EnterWord_constant(plucidParser.Word_constantContext)

Enter a parse tree produced by word_constant().

The default implementation does nothing.

Declaration
public virtual void EnterWord_constant(plucidParser.Word_constantContext context)
Parameters
Type Name Description
plucidParser.Word_constantContext context

The parse tree.

| Improve this Doc View Source

EnterWord_constant_less_the_quotes(plucidParser.Word_constant_less_the_quotesContext)

Enter a parse tree produced by word_constant_less_the_quotes().

The default implementation does nothing.

Declaration
public virtual void EnterWord_constant_less_the_quotes(plucidParser.Word_constant_less_the_quotesContext context)
Parameters
Type Name Description
plucidParser.Word_constant_less_the_quotesContext context

The parse tree.

| Improve this Doc View Source

ExitActuals_list(plucidParser.Actuals_listContext)

Exit a parse tree produced by actuals_list().

The default implementation does nothing.

Declaration
public virtual void ExitActuals_list(plucidParser.Actuals_listContext context)
Parameters
Type Name Description
plucidParser.Actuals_listContext context

The parse tree.

| Improve this Doc View Source

ExitBody(plucidParser.BodyContext)

Exit a parse tree produced by body().

The default implementation does nothing.

Declaration
public virtual void ExitBody(plucidParser.BodyContext context)
Parameters
Type Name Description
plucidParser.BodyContext context

The parse tree.

| Improve this Doc View Source

ExitCase_expression(plucidParser.Case_expressionContext)

Exit a parse tree produced by case_expression().

The default implementation does nothing.

Declaration
public virtual void ExitCase_expression(plucidParser.Case_expressionContext context)
Parameters
Type Name Description
plucidParser.Case_expressionContext context

The parse tree.

| Improve this Doc View Source

ExitCbody(plucidParser.CbodyContext)

Exit a parse tree produced by cbody().

The default implementation does nothing.

Declaration
public virtual void ExitCbody(plucidParser.CbodyContext context)
Parameters
Type Name Description
plucidParser.CbodyContext context

The parse tree.

| Improve this Doc View Source

ExitCond_expression(plucidParser.Cond_expressionContext)

Exit a parse tree produced by cond_expression().

The default implementation does nothing.

Declaration
public virtual void ExitCond_expression(plucidParser.Cond_expressionContext context)
Parameters
Type Name Description
plucidParser.Cond_expressionContext context

The parse tree.

| Improve this Doc View Source

ExitConstant(plucidParser.ConstantContext)

Exit a parse tree produced by constant().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitCurrent_declaration(plucidParser.Current_declarationContext)

Exit a parse tree produced by current_declaration().

The default implementation does nothing.

Declaration
public virtual void ExitCurrent_declaration(plucidParser.Current_declarationContext context)
Parameters
Type Name Description
plucidParser.Current_declarationContext context

The parse tree.

| Improve this Doc View Source

ExitDeclarations_list(plucidParser.Declarations_listContext)

Exit a parse tree produced by declarations_list().

The default implementation does nothing.

Declaration
public virtual void ExitDeclarations_list(plucidParser.Declarations_listContext context)
Parameters
Type Name Description
plucidParser.Declarations_listContext context

The parse tree.

| Improve this Doc View Source

ExitDefaultcase(plucidParser.DefaultcaseContext)

Exit a parse tree produced by defaultcase().

The default implementation does nothing.

Declaration
public virtual void ExitDefaultcase(plucidParser.DefaultcaseContext context)
Parameters
Type Name Description
plucidParser.DefaultcaseContext context

The parse tree.

| Improve this Doc View Source

ExitDefinition(plucidParser.DefinitionContext)

Exit a parse tree produced by definition().

The default implementation does nothing.

Declaration
public virtual void ExitDefinition(plucidParser.DefinitionContext context)
Parameters
Type Name Description
plucidParser.DefinitionContext context

The parse tree.

| Improve this Doc View Source

ExitDefinitions_list(plucidParser.Definitions_listContext)

Exit a parse tree produced by definitions_list().

The default implementation does nothing.

Declaration
public virtual void ExitDefinitions_list(plucidParser.Definitions_listContext context)
Parameters
Type Name Description
plucidParser.Definitions_listContext context

The parse tree.

| Improve this Doc View Source

ExitEndif(plucidParser.EndifContext)

Exit a parse tree produced by endif().

The default implementation does nothing.

Declaration
public virtual void ExitEndif(plucidParser.EndifContext context)
Parameters
Type Name Description
plucidParser.EndifContext 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(plucidParser.ExpressionContext)

Exit a parse tree produced by expression().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitExpression_item(plucidParser.Expression_itemContext)

Exit a parse tree produced by expression_item().

The default implementation does nothing.

Declaration
public virtual void ExitExpression_item(plucidParser.Expression_itemContext context)
Parameters
Type Name Description
plucidParser.Expression_itemContext context

The parse tree.

| Improve this Doc View Source

ExitExpressions_list(plucidParser.Expressions_listContext)

Exit a parse tree produced by expressions_list().

The default implementation does nothing.

Declaration
public virtual void ExitExpressions_list(plucidParser.Expressions_listContext context)
Parameters
Type Name Description
plucidParser.Expressions_listContext context

The parse tree.

| Improve this Doc View Source

ExitFormals_list(plucidParser.Formals_listContext)

Exit a parse tree produced by formals_list().

The default implementation does nothing.

Declaration
public virtual void ExitFormals_list(plucidParser.Formals_listContext context)
Parameters
Type Name Description
plucidParser.Formals_listContext context

The parse tree.

| Improve this Doc View Source

ExitFunction_call(plucidParser.Function_callContext)

Exit a parse tree produced by function_call().

The default implementation does nothing.

Declaration
public virtual void ExitFunction_call(plucidParser.Function_callContext context)
Parameters
Type Name Description
plucidParser.Function_callContext context

The parse tree.

| Improve this Doc View Source

ExitFunction_definition(plucidParser.Function_definitionContext)

Exit a parse tree produced by function_definition().

The default implementation does nothing.

Declaration
public virtual void ExitFunction_definition(plucidParser.Function_definitionContext context)
Parameters
Type Name Description
plucidParser.Function_definitionContext context

The parse tree.

| Improve this Doc View Source

ExitIdentifier(plucidParser.IdentifierContext)

Exit a parse tree produced by identifier().

The default implementation does nothing.

Declaration
public virtual void ExitIdentifier(plucidParser.IdentifierContext context)
Parameters
Type Name Description
plucidParser.IdentifierContext context

The parse tree.

| Improve this Doc View Source

ExitIf_expression(plucidParser.If_expressionContext)

Exit a parse tree produced by if_expression().

The default implementation does nothing.

Declaration
public virtual void ExitIf_expression(plucidParser.If_expressionContext context)
Parameters
Type Name Description
plucidParser.If_expressionContext context

The parse tree.

| Improve this Doc View Source

ExitInfix_operator(plucidParser.Infix_operatorContext)

Exit a parse tree produced by infix_operator().

The default implementation does nothing.

Declaration
public virtual void ExitInfix_operator(plucidParser.Infix_operatorContext context)
Parameters
Type Name Description
plucidParser.Infix_operatorContext context

The parse tree.

| Improve this Doc View Source

ExitInteger_constant(plucidParser.Integer_constantContext)

Exit a parse tree produced by integer_constant().

The default implementation does nothing.

Declaration
public virtual void ExitInteger_constant(plucidParser.Integer_constantContext context)
Parameters
Type Name Description
plucidParser.Integer_constantContext context

The parse tree.

| Improve this Doc View Source

ExitList_constant(plucidParser.List_constantContext)

Exit a parse tree produced by list_constant().

The default implementation does nothing.

Declaration
public virtual void ExitList_constant(plucidParser.List_constantContext context)
Parameters
Type Name Description
plucidParser.List_constantContext context

The parse tree.

| Improve this Doc View Source

ExitList_constant_element(plucidParser.List_constant_elementContext)

Exit a parse tree produced by list_constant_element().

The default implementation does nothing.

Declaration
public virtual void ExitList_constant_element(plucidParser.List_constant_elementContext context)
Parameters
Type Name Description
plucidParser.List_constant_elementContext context

The parse tree.

| Improve this Doc View Source

ExitList_expression(plucidParser.List_expressionContext)

Exit a parse tree produced by list_expression().

The default implementation does nothing.

Declaration
public virtual void ExitList_expression(plucidParser.List_expressionContext context)
Parameters
Type Name Description
plucidParser.List_expressionContext context

The parse tree.

| Improve this Doc View Source

ExitNumeric_constant(plucidParser.Numeric_constantContext)

Exit a parse tree produced by numeric_constant().

The default implementation does nothing.

Declaration
public virtual void ExitNumeric_constant(plucidParser.Numeric_constantContext context)
Parameters
Type Name Description
plucidParser.Numeric_constantContext context

The parse tree.

| Improve this Doc View Source

ExitPrefix_operator(plucidParser.Prefix_operatorContext)

Exit a parse tree produced by prefix_operator().

The default implementation does nothing.

Declaration
public virtual void ExitPrefix_operator(plucidParser.Prefix_operatorContext context)
Parameters
Type Name Description
plucidParser.Prefix_operatorContext context

The parse tree.

| Improve this Doc View Source

ExitProgram(plucidParser.ProgramContext)

Exit a parse tree produced by program().

The default implementation does nothing.

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

The parse tree.

| Improve this Doc View Source

ExitReal_constant(plucidParser.Real_constantContext)

Exit a parse tree produced by real_constant().

The default implementation does nothing.

Declaration
public virtual void ExitReal_constant(plucidParser.Real_constantContext context)
Parameters
Type Name Description
plucidParser.Real_constantContext context

The parse tree.

| Improve this Doc View Source

ExitSimple_definition(plucidParser.Simple_definitionContext)

Exit a parse tree produced by simple_definition().

The default implementation does nothing.

Declaration
public virtual void ExitSimple_definition(plucidParser.Simple_definitionContext context)
Parameters
Type Name Description
plucidParser.Simple_definitionContext context

The parse tree.

| Improve this Doc View Source

ExitWhere_clause(plucidParser.Where_clauseContext)

Exit a parse tree produced by where_clause().

The default implementation does nothing.

Declaration
public virtual void ExitWhere_clause(plucidParser.Where_clauseContext context)
Parameters
Type Name Description
plucidParser.Where_clauseContext context

The parse tree.

| Improve this Doc View Source

ExitWord_constant(plucidParser.Word_constantContext)

Exit a parse tree produced by word_constant().

The default implementation does nothing.

Declaration
public virtual void ExitWord_constant(plucidParser.Word_constantContext context)
Parameters
Type Name Description
plucidParser.Word_constantContext context

The parse tree.

| Improve this Doc View Source

ExitWord_constant_less_the_quotes(plucidParser.Word_constant_less_the_quotesContext)

Exit a parse tree produced by word_constant_less_the_quotes().

The default implementation does nothing.

Declaration
public virtual void ExitWord_constant_less_the_quotes(plucidParser.Word_constant_less_the_quotesContext context)
Parameters
Type Name Description
plucidParser.Word_constant_less_the_quotesContext 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

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