Class matlabBaseListener
This class provides an empty implementation of ImatlabListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Matlab
Assembly: Matlab.dll
Syntax
public class matlabBaseListener : object, ImatlabListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterAdditive_expression(matlabParser.Additive_expressionContext)
Enter a parse tree produced by additive_expression().
The default implementation does nothing.
Declaration
public virtual void EnterAdditive_expression(matlabParser.Additive_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Additive_expressionContext | context | The parse tree. |
EnterAnd_expression(matlabParser.And_expressionContext)
Enter a parse tree produced by and_expression().
The default implementation does nothing.
Declaration
public virtual void EnterAnd_expression(matlabParser.And_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.And_expressionContext | context | The parse tree. |
EnterArray_element(matlabParser.Array_elementContext)
Enter a parse tree produced by array_element().
The default implementation does nothing.
Declaration
public virtual void EnterArray_element(matlabParser.Array_elementContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Array_elementContext | context | The parse tree. |
EnterArray_expression(matlabParser.Array_expressionContext)
Enter a parse tree produced by array_expression().
The default implementation does nothing.
Declaration
public virtual void EnterArray_expression(matlabParser.Array_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Array_expressionContext | context | The parse tree. |
EnterArray_list(matlabParser.Array_listContext)
Enter a parse tree produced by array_list().
The default implementation does nothing.
Declaration
public virtual void EnterArray_list(matlabParser.Array_listContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Array_listContext | context | The parse tree. |
EnterAssignment_expression(matlabParser.Assignment_expressionContext)
Enter a parse tree produced by assignment_expression().
The default implementation does nothing.
Declaration
public virtual void EnterAssignment_expression(matlabParser.Assignment_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Assignment_expressionContext | context | The parse tree. |
EnterAssignment_statement(matlabParser.Assignment_statementContext)
Enter a parse tree produced by assignment_statement().
The default implementation does nothing.
Declaration
public virtual void EnterAssignment_statement(matlabParser.Assignment_statementContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Assignment_statementContext | context | The parse tree. |
EnterClear_statement(matlabParser.Clear_statementContext)
Enter a parse tree produced by clear_statement().
The default implementation does nothing.
Declaration
public virtual void EnterClear_statement(matlabParser.Clear_statementContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Clear_statementContext | context | The parse tree. |
EnterElseif_clause(matlabParser.Elseif_clauseContext)
Enter a parse tree produced by elseif_clause().
The default implementation does nothing.
Declaration
public virtual void EnterElseif_clause(matlabParser.Elseif_clauseContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Elseif_clauseContext | context | The parse tree. |
EnterEostmt(matlabParser.EostmtContext)
Enter a parse tree produced by eostmt().
The default implementation does nothing.
Declaration
public virtual void EnterEostmt(matlabParser.EostmtContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.EostmtContext | context | The parse tree. |
EnterEquality_expression(matlabParser.Equality_expressionContext)
Enter a parse tree produced by equality_expression().
The default implementation does nothing.
Declaration
public virtual void EnterEquality_expression(matlabParser.Equality_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Equality_expressionContext | context | The parse tree. |
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.
EnterExpression(matlabParser.ExpressionContext)
Enter a parse tree produced by expression().
The default implementation does nothing.
Declaration
public virtual void EnterExpression(matlabParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.ExpressionContext | context | The parse tree. |
EnterExpression_statement(matlabParser.Expression_statementContext)
Enter a parse tree produced by expression_statement().
The default implementation does nothing.
Declaration
public virtual void EnterExpression_statement(matlabParser.Expression_statementContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Expression_statementContext | context | The parse tree. |
EnterFunc_ident_list(matlabParser.Func_ident_listContext)
Enter a parse tree produced by func_ident_list().
The default implementation does nothing.
Declaration
public virtual void EnterFunc_ident_list(matlabParser.Func_ident_listContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Func_ident_listContext | context | The parse tree. |
EnterFunc_return_list(matlabParser.Func_return_listContext)
Enter a parse tree produced by func_return_list().
The default implementation does nothing.
Declaration
public virtual void EnterFunc_return_list(matlabParser.Func_return_listContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Func_return_listContext | context | The parse tree. |
EnterFunction_declare(matlabParser.Function_declareContext)
Enter a parse tree produced by function_declare().
The default implementation does nothing.
Declaration
public virtual void EnterFunction_declare(matlabParser.Function_declareContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Function_declareContext | context | The parse tree. |
EnterFunction_declare_lhs(matlabParser.Function_declare_lhsContext)
Enter a parse tree produced by function_declare_lhs().
The default implementation does nothing.
Declaration
public virtual void EnterFunction_declare_lhs(matlabParser.Function_declare_lhsContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Function_declare_lhsContext | context | The parse tree. |
EnterGlobal_statement(matlabParser.Global_statementContext)
Enter a parse tree produced by global_statement().
The default implementation does nothing.
Declaration
public virtual void EnterGlobal_statement(matlabParser.Global_statementContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Global_statementContext | context | The parse tree. |
EnterIdentifier_list(matlabParser.Identifier_listContext)
Enter a parse tree produced by identifier_list().
The default implementation does nothing.
Declaration
public virtual void EnterIdentifier_list(matlabParser.Identifier_listContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Identifier_listContext | context | The parse tree. |
EnterIndex_expression(matlabParser.Index_expressionContext)
Enter a parse tree produced by index_expression().
The default implementation does nothing.
Declaration
public virtual void EnterIndex_expression(matlabParser.Index_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Index_expressionContext | context | The parse tree. |
EnterIndex_expression_list(matlabParser.Index_expression_listContext)
Enter a parse tree produced by index_expression_list().
The default implementation does nothing.
Declaration
public virtual void EnterIndex_expression_list(matlabParser.Index_expression_listContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Index_expression_listContext | context | The parse tree. |
EnterIteration_statement(matlabParser.Iteration_statementContext)
Enter a parse tree produced by iteration_statement().
The default implementation does nothing.
Declaration
public virtual void EnterIteration_statement(matlabParser.Iteration_statementContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Iteration_statementContext | context | The parse tree. |
EnterJump_statement(matlabParser.Jump_statementContext)
Enter a parse tree produced by jump_statement().
The default implementation does nothing.
Declaration
public virtual void EnterJump_statement(matlabParser.Jump_statementContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Jump_statementContext | context | The parse tree. |
EnterMultiplicative_expression(matlabParser.Multiplicative_expressionContext)
Enter a parse tree produced by multiplicative_expression().
The default implementation does nothing.
Declaration
public virtual void EnterMultiplicative_expression(matlabParser.Multiplicative_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Multiplicative_expressionContext | context | The parse tree. |
EnterOr_expression(matlabParser.Or_expressionContext)
Enter a parse tree produced by or_expression().
The default implementation does nothing.
Declaration
public virtual void EnterOr_expression(matlabParser.Or_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Or_expressionContext | context | The parse tree. |
EnterPostfix_expression(matlabParser.Postfix_expressionContext)
Enter a parse tree produced by postfix_expression().
The default implementation does nothing.
Declaration
public virtual void EnterPostfix_expression(matlabParser.Postfix_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Postfix_expressionContext | context | The parse tree. |
EnterPrimary_expression(matlabParser.Primary_expressionContext)
Enter a parse tree produced by primary_expression().
The default implementation does nothing.
Declaration
public virtual void EnterPrimary_expression(matlabParser.Primary_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Primary_expressionContext | context | The parse tree. |
EnterRelational_expression(matlabParser.Relational_expressionContext)
Enter a parse tree produced by relational_expression().
The default implementation does nothing.
Declaration
public virtual void EnterRelational_expression(matlabParser.Relational_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Relational_expressionContext | context | The parse tree. |
EnterSelection_statement(matlabParser.Selection_statementContext)
Enter a parse tree produced by selection_statement().
The default implementation does nothing.
Declaration
public virtual void EnterSelection_statement(matlabParser.Selection_statementContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Selection_statementContext | context | The parse tree. |
EnterStatement(matlabParser.StatementContext)
Enter a parse tree produced by statement().
The default implementation does nothing.
Declaration
public virtual void EnterStatement(matlabParser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.StatementContext | context | The parse tree. |
EnterStatement_list(matlabParser.Statement_listContext)
Enter a parse tree produced by statement_list().
The default implementation does nothing.
Declaration
public virtual void EnterStatement_list(matlabParser.Statement_listContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Statement_listContext | context | The parse tree. |
EnterTranslation_unit(matlabParser.Translation_unitContext)
Enter a parse tree produced by translation_unit().
The default implementation does nothing.
Declaration
public virtual void EnterTranslation_unit(matlabParser.Translation_unitContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Translation_unitContext | context | The parse tree. |
EnterUnary_expression(matlabParser.Unary_expressionContext)
Enter a parse tree produced by unary_expression().
The default implementation does nothing.
Declaration
public virtual void EnterUnary_expression(matlabParser.Unary_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Unary_expressionContext | context | The parse tree. |
EnterUnary_operator(matlabParser.Unary_operatorContext)
Enter a parse tree produced by unary_operator().
The default implementation does nothing.
Declaration
public virtual void EnterUnary_operator(matlabParser.Unary_operatorContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Unary_operatorContext | context | The parse tree. |
ExitAdditive_expression(matlabParser.Additive_expressionContext)
Exit a parse tree produced by additive_expression().
The default implementation does nothing.
Declaration
public virtual void ExitAdditive_expression(matlabParser.Additive_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Additive_expressionContext | context | The parse tree. |
ExitAnd_expression(matlabParser.And_expressionContext)
Exit a parse tree produced by and_expression().
The default implementation does nothing.
Declaration
public virtual void ExitAnd_expression(matlabParser.And_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.And_expressionContext | context | The parse tree. |
ExitArray_element(matlabParser.Array_elementContext)
Exit a parse tree produced by array_element().
The default implementation does nothing.
Declaration
public virtual void ExitArray_element(matlabParser.Array_elementContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Array_elementContext | context | The parse tree. |
ExitArray_expression(matlabParser.Array_expressionContext)
Exit a parse tree produced by array_expression().
The default implementation does nothing.
Declaration
public virtual void ExitArray_expression(matlabParser.Array_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Array_expressionContext | context | The parse tree. |
ExitArray_list(matlabParser.Array_listContext)
Exit a parse tree produced by array_list().
The default implementation does nothing.
Declaration
public virtual void ExitArray_list(matlabParser.Array_listContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Array_listContext | context | The parse tree. |
ExitAssignment_expression(matlabParser.Assignment_expressionContext)
Exit a parse tree produced by assignment_expression().
The default implementation does nothing.
Declaration
public virtual void ExitAssignment_expression(matlabParser.Assignment_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Assignment_expressionContext | context | The parse tree. |
ExitAssignment_statement(matlabParser.Assignment_statementContext)
Exit a parse tree produced by assignment_statement().
The default implementation does nothing.
Declaration
public virtual void ExitAssignment_statement(matlabParser.Assignment_statementContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Assignment_statementContext | context | The parse tree. |
ExitClear_statement(matlabParser.Clear_statementContext)
Exit a parse tree produced by clear_statement().
The default implementation does nothing.
Declaration
public virtual void ExitClear_statement(matlabParser.Clear_statementContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Clear_statementContext | context | The parse tree. |
ExitElseif_clause(matlabParser.Elseif_clauseContext)
Exit a parse tree produced by elseif_clause().
The default implementation does nothing.
Declaration
public virtual void ExitElseif_clause(matlabParser.Elseif_clauseContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Elseif_clauseContext | context | The parse tree. |
ExitEostmt(matlabParser.EostmtContext)
Exit a parse tree produced by eostmt().
The default implementation does nothing.
Declaration
public virtual void ExitEostmt(matlabParser.EostmtContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.EostmtContext | context | The parse tree. |
ExitEquality_expression(matlabParser.Equality_expressionContext)
Exit a parse tree produced by equality_expression().
The default implementation does nothing.
Declaration
public virtual void ExitEquality_expression(matlabParser.Equality_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Equality_expressionContext | 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(matlabParser.ExpressionContext)
Exit a parse tree produced by expression().
The default implementation does nothing.
Declaration
public virtual void ExitExpression(matlabParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.ExpressionContext | context | The parse tree. |
ExitExpression_statement(matlabParser.Expression_statementContext)
Exit a parse tree produced by expression_statement().
The default implementation does nothing.
Declaration
public virtual void ExitExpression_statement(matlabParser.Expression_statementContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Expression_statementContext | context | The parse tree. |
ExitFunc_ident_list(matlabParser.Func_ident_listContext)
Exit a parse tree produced by func_ident_list().
The default implementation does nothing.
Declaration
public virtual void ExitFunc_ident_list(matlabParser.Func_ident_listContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Func_ident_listContext | context | The parse tree. |
ExitFunc_return_list(matlabParser.Func_return_listContext)
Exit a parse tree produced by func_return_list().
The default implementation does nothing.
Declaration
public virtual void ExitFunc_return_list(matlabParser.Func_return_listContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Func_return_listContext | context | The parse tree. |
ExitFunction_declare(matlabParser.Function_declareContext)
Exit a parse tree produced by function_declare().
The default implementation does nothing.
Declaration
public virtual void ExitFunction_declare(matlabParser.Function_declareContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Function_declareContext | context | The parse tree. |
ExitFunction_declare_lhs(matlabParser.Function_declare_lhsContext)
Exit a parse tree produced by function_declare_lhs().
The default implementation does nothing.
Declaration
public virtual void ExitFunction_declare_lhs(matlabParser.Function_declare_lhsContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Function_declare_lhsContext | context | The parse tree. |
ExitGlobal_statement(matlabParser.Global_statementContext)
Exit a parse tree produced by global_statement().
The default implementation does nothing.
Declaration
public virtual void ExitGlobal_statement(matlabParser.Global_statementContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Global_statementContext | context | The parse tree. |
ExitIdentifier_list(matlabParser.Identifier_listContext)
Exit a parse tree produced by identifier_list().
The default implementation does nothing.
Declaration
public virtual void ExitIdentifier_list(matlabParser.Identifier_listContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Identifier_listContext | context | The parse tree. |
ExitIndex_expression(matlabParser.Index_expressionContext)
Exit a parse tree produced by index_expression().
The default implementation does nothing.
Declaration
public virtual void ExitIndex_expression(matlabParser.Index_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Index_expressionContext | context | The parse tree. |
ExitIndex_expression_list(matlabParser.Index_expression_listContext)
Exit a parse tree produced by index_expression_list().
The default implementation does nothing.
Declaration
public virtual void ExitIndex_expression_list(matlabParser.Index_expression_listContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Index_expression_listContext | context | The parse tree. |
ExitIteration_statement(matlabParser.Iteration_statementContext)
Exit a parse tree produced by iteration_statement().
The default implementation does nothing.
Declaration
public virtual void ExitIteration_statement(matlabParser.Iteration_statementContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Iteration_statementContext | context | The parse tree. |
ExitJump_statement(matlabParser.Jump_statementContext)
Exit a parse tree produced by jump_statement().
The default implementation does nothing.
Declaration
public virtual void ExitJump_statement(matlabParser.Jump_statementContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Jump_statementContext | context | The parse tree. |
ExitMultiplicative_expression(matlabParser.Multiplicative_expressionContext)
Exit a parse tree produced by multiplicative_expression().
The default implementation does nothing.
Declaration
public virtual void ExitMultiplicative_expression(matlabParser.Multiplicative_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Multiplicative_expressionContext | context | The parse tree. |
ExitOr_expression(matlabParser.Or_expressionContext)
Exit a parse tree produced by or_expression().
The default implementation does nothing.
Declaration
public virtual void ExitOr_expression(matlabParser.Or_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Or_expressionContext | context | The parse tree. |
ExitPostfix_expression(matlabParser.Postfix_expressionContext)
Exit a parse tree produced by postfix_expression().
The default implementation does nothing.
Declaration
public virtual void ExitPostfix_expression(matlabParser.Postfix_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Postfix_expressionContext | context | The parse tree. |
ExitPrimary_expression(matlabParser.Primary_expressionContext)
Exit a parse tree produced by primary_expression().
The default implementation does nothing.
Declaration
public virtual void ExitPrimary_expression(matlabParser.Primary_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Primary_expressionContext | context | The parse tree. |
ExitRelational_expression(matlabParser.Relational_expressionContext)
Exit a parse tree produced by relational_expression().
The default implementation does nothing.
Declaration
public virtual void ExitRelational_expression(matlabParser.Relational_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Relational_expressionContext | context | The parse tree. |
ExitSelection_statement(matlabParser.Selection_statementContext)
Exit a parse tree produced by selection_statement().
The default implementation does nothing.
Declaration
public virtual void ExitSelection_statement(matlabParser.Selection_statementContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Selection_statementContext | context | The parse tree. |
ExitStatement(matlabParser.StatementContext)
Exit a parse tree produced by statement().
The default implementation does nothing.
Declaration
public virtual void ExitStatement(matlabParser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.StatementContext | context | The parse tree. |
ExitStatement_list(matlabParser.Statement_listContext)
Exit a parse tree produced by statement_list().
The default implementation does nothing.
Declaration
public virtual void ExitStatement_list(matlabParser.Statement_listContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Statement_listContext | context | The parse tree. |
ExitTranslation_unit(matlabParser.Translation_unitContext)
Exit a parse tree produced by translation_unit().
The default implementation does nothing.
Declaration
public virtual void ExitTranslation_unit(matlabParser.Translation_unitContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Translation_unitContext | context | The parse tree. |
ExitUnary_expression(matlabParser.Unary_expressionContext)
Exit a parse tree produced by unary_expression().
The default implementation does nothing.
Declaration
public virtual void ExitUnary_expression(matlabParser.Unary_expressionContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Unary_expressionContext | context | The parse tree. |
ExitUnary_operator(matlabParser.Unary_operatorContext)
Exit a parse tree produced by unary_operator().
The default implementation does nothing.
Declaration
public virtual void ExitUnary_operator(matlabParser.Unary_operatorContext context)
Parameters
Type | Name | Description |
---|---|---|
matlabParser.Unary_operatorContext | 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.