Class MuParserBaseListener
This class provides an empty implementation of IMuParserListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Muparser
Assembly: Muparser.dll
Syntax
public class MuParserBaseListener : object, IMuParserListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterAddSubExpr(MuParserParser.AddSubExprContext)
Enter a parse tree produced by the addSubExpr
labeled alternative in expr().
The default implementation does nothing.
Declaration
public virtual void EnterAddSubExpr(MuParserParser.AddSubExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.AddSubExprContext | context | The parse tree. |
EnterAndExpr(MuParserParser.AndExprContext)
Enter a parse tree produced by the andExpr
labeled alternative in expr().
The default implementation does nothing.
Declaration
public virtual void EnterAndExpr(MuParserParser.AndExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.AndExprContext | context | The parse tree. |
EnterAssignExpr(MuParserParser.AssignExprContext)
Enter a parse tree produced by the assignExpr
labeled alternative in expr().
The default implementation does nothing.
Declaration
public virtual void EnterAssignExpr(MuParserParser.AssignExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.AssignExprContext | context | The parse tree. |
EnterAtomExpr(MuParserParser.AtomExprContext)
Enter a parse tree produced by the atomExpr
labeled alternative in expr().
The default implementation does nothing.
Declaration
public virtual void EnterAtomExpr(MuParserParser.AtomExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.AtomExprContext | context | The parse tree. |
EnterBooleanAtom(MuParserParser.BooleanAtomContext)
Enter a parse tree produced by the booleanAtom
labeled alternative in atom().
The default implementation does nothing.
Declaration
public virtual void EnterBooleanAtom(MuParserParser.BooleanAtomContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.BooleanAtomContext | context | The parse tree. |
EnterEqualityExpr(MuParserParser.EqualityExprContext)
Enter a parse tree produced by the equalityExpr
labeled alternative in expr().
The default implementation does nothing.
Declaration
public virtual void EnterEqualityExpr(MuParserParser.EqualityExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.EqualityExprContext | 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.
EnterFunctionExpr(MuParserParser.FunctionExprContext)
Enter a parse tree produced by the functionExpr
labeled alternative in expr().
The default implementation does nothing.
Declaration
public virtual void EnterFunctionExpr(MuParserParser.FunctionExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.FunctionExprContext | context | The parse tree. |
EnterFunctionMultiExpr(MuParserParser.FunctionMultiExprContext)
Enter a parse tree produced by the functionMultiExpr
labeled alternative in expr().
The default implementation does nothing.
Declaration
public virtual void EnterFunctionMultiExpr(MuParserParser.FunctionMultiExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.FunctionMultiExprContext | context | The parse tree. |
EnterIdAtom(MuParserParser.IdAtomContext)
Enter a parse tree produced by the idAtom
labeled alternative in atom().
The default implementation does nothing.
Declaration
public virtual void EnterIdAtom(MuParserParser.IdAtomContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.IdAtomContext | context | The parse tree. |
EnterIteExpr(MuParserParser.IteExprContext)
Enter a parse tree produced by the iteExpr
labeled alternative in expr().
The default implementation does nothing.
Declaration
public virtual void EnterIteExpr(MuParserParser.IteExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.IteExprContext | context | The parse tree. |
EnterMulDivExpr(MuParserParser.MulDivExprContext)
Enter a parse tree produced by the mulDivExpr
labeled alternative in expr().
The default implementation does nothing.
Declaration
public virtual void EnterMulDivExpr(MuParserParser.MulDivExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.MulDivExprContext | context | The parse tree. |
EnterNumberAtom(MuParserParser.NumberAtomContext)
Enter a parse tree produced by the numberAtom
labeled alternative in atom().
The default implementation does nothing.
Declaration
public virtual void EnterNumberAtom(MuParserParser.NumberAtomContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.NumberAtomContext | context | The parse tree. |
EnterOrExpr(MuParserParser.OrExprContext)
Enter a parse tree produced by the orExpr
labeled alternative in expr().
The default implementation does nothing.
Declaration
public virtual void EnterOrExpr(MuParserParser.OrExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.OrExprContext | context | The parse tree. |
EnterParExpr(MuParserParser.ParExprContext)
Enter a parse tree produced by the parExpr
labeled alternative in atom().
The default implementation does nothing.
Declaration
public virtual void EnterParExpr(MuParserParser.ParExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.ParExprContext | context | The parse tree. |
EnterPowExpr(MuParserParser.PowExprContext)
Enter a parse tree produced by the powExpr
labeled alternative in expr().
The default implementation does nothing.
Declaration
public virtual void EnterPowExpr(MuParserParser.PowExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.PowExprContext | context | The parse tree. |
EnterPredefinedConstantAtom(MuParserParser.PredefinedConstantAtomContext)
Enter a parse tree produced by the predefinedConstantAtom
labeled alternative in atom().
The default implementation does nothing.
Declaration
public virtual void EnterPredefinedConstantAtom(MuParserParser.PredefinedConstantAtomContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.PredefinedConstantAtomContext | context | The parse tree. |
EnterProgExpr(MuParserParser.ProgExprContext)
Enter a parse tree produced by the progExpr
labeled alternative in prog().
The default implementation does nothing.
Declaration
public virtual void EnterProgExpr(MuParserParser.ProgExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.ProgExprContext | context | The parse tree. |
EnterRelationalExpr(MuParserParser.RelationalExprContext)
Enter a parse tree produced by the relationalExpr
labeled alternative in expr().
The default implementation does nothing.
Declaration
public virtual void EnterRelationalExpr(MuParserParser.RelationalExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.RelationalExprContext | context | The parse tree. |
EnterUnaryMinusExpr(MuParserParser.UnaryMinusExprContext)
Enter a parse tree produced by the unaryMinusExpr
labeled alternative in expr().
The default implementation does nothing.
Declaration
public virtual void EnterUnaryMinusExpr(MuParserParser.UnaryMinusExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.UnaryMinusExprContext | context | The parse tree. |
ExitAddSubExpr(MuParserParser.AddSubExprContext)
Exit a parse tree produced by the addSubExpr
labeled alternative in expr().
The default implementation does nothing.
Declaration
public virtual void ExitAddSubExpr(MuParserParser.AddSubExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.AddSubExprContext | context | The parse tree. |
ExitAndExpr(MuParserParser.AndExprContext)
Exit a parse tree produced by the andExpr
labeled alternative in expr().
The default implementation does nothing.
Declaration
public virtual void ExitAndExpr(MuParserParser.AndExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.AndExprContext | context | The parse tree. |
ExitAssignExpr(MuParserParser.AssignExprContext)
Exit a parse tree produced by the assignExpr
labeled alternative in expr().
The default implementation does nothing.
Declaration
public virtual void ExitAssignExpr(MuParserParser.AssignExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.AssignExprContext | context | The parse tree. |
ExitAtomExpr(MuParserParser.AtomExprContext)
Exit a parse tree produced by the atomExpr
labeled alternative in expr().
The default implementation does nothing.
Declaration
public virtual void ExitAtomExpr(MuParserParser.AtomExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.AtomExprContext | context | The parse tree. |
ExitBooleanAtom(MuParserParser.BooleanAtomContext)
Exit a parse tree produced by the booleanAtom
labeled alternative in atom().
The default implementation does nothing.
Declaration
public virtual void ExitBooleanAtom(MuParserParser.BooleanAtomContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.BooleanAtomContext | context | The parse tree. |
ExitEqualityExpr(MuParserParser.EqualityExprContext)
Exit a parse tree produced by the equalityExpr
labeled alternative in expr().
The default implementation does nothing.
Declaration
public virtual void ExitEqualityExpr(MuParserParser.EqualityExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.EqualityExprContext | 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.
ExitFunctionExpr(MuParserParser.FunctionExprContext)
Exit a parse tree produced by the functionExpr
labeled alternative in expr().
The default implementation does nothing.
Declaration
public virtual void ExitFunctionExpr(MuParserParser.FunctionExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.FunctionExprContext | context | The parse tree. |
ExitFunctionMultiExpr(MuParserParser.FunctionMultiExprContext)
Exit a parse tree produced by the functionMultiExpr
labeled alternative in expr().
The default implementation does nothing.
Declaration
public virtual void ExitFunctionMultiExpr(MuParserParser.FunctionMultiExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.FunctionMultiExprContext | context | The parse tree. |
ExitIdAtom(MuParserParser.IdAtomContext)
Exit a parse tree produced by the idAtom
labeled alternative in atom().
The default implementation does nothing.
Declaration
public virtual void ExitIdAtom(MuParserParser.IdAtomContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.IdAtomContext | context | The parse tree. |
ExitIteExpr(MuParserParser.IteExprContext)
Exit a parse tree produced by the iteExpr
labeled alternative in expr().
The default implementation does nothing.
Declaration
public virtual void ExitIteExpr(MuParserParser.IteExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.IteExprContext | context | The parse tree. |
ExitMulDivExpr(MuParserParser.MulDivExprContext)
Exit a parse tree produced by the mulDivExpr
labeled alternative in expr().
The default implementation does nothing.
Declaration
public virtual void ExitMulDivExpr(MuParserParser.MulDivExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.MulDivExprContext | context | The parse tree. |
ExitNumberAtom(MuParserParser.NumberAtomContext)
Exit a parse tree produced by the numberAtom
labeled alternative in atom().
The default implementation does nothing.
Declaration
public virtual void ExitNumberAtom(MuParserParser.NumberAtomContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.NumberAtomContext | context | The parse tree. |
ExitOrExpr(MuParserParser.OrExprContext)
Exit a parse tree produced by the orExpr
labeled alternative in expr().
The default implementation does nothing.
Declaration
public virtual void ExitOrExpr(MuParserParser.OrExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.OrExprContext | context | The parse tree. |
ExitParExpr(MuParserParser.ParExprContext)
Exit a parse tree produced by the parExpr
labeled alternative in atom().
The default implementation does nothing.
Declaration
public virtual void ExitParExpr(MuParserParser.ParExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.ParExprContext | context | The parse tree. |
ExitPowExpr(MuParserParser.PowExprContext)
Exit a parse tree produced by the powExpr
labeled alternative in expr().
The default implementation does nothing.
Declaration
public virtual void ExitPowExpr(MuParserParser.PowExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.PowExprContext | context | The parse tree. |
ExitPredefinedConstantAtom(MuParserParser.PredefinedConstantAtomContext)
Exit a parse tree produced by the predefinedConstantAtom
labeled alternative in atom().
The default implementation does nothing.
Declaration
public virtual void ExitPredefinedConstantAtom(MuParserParser.PredefinedConstantAtomContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.PredefinedConstantAtomContext | context | The parse tree. |
ExitProgExpr(MuParserParser.ProgExprContext)
Exit a parse tree produced by the progExpr
labeled alternative in prog().
The default implementation does nothing.
Declaration
public virtual void ExitProgExpr(MuParserParser.ProgExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.ProgExprContext | context | The parse tree. |
ExitRelationalExpr(MuParserParser.RelationalExprContext)
Exit a parse tree produced by the relationalExpr
labeled alternative in expr().
The default implementation does nothing.
Declaration
public virtual void ExitRelationalExpr(MuParserParser.RelationalExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.RelationalExprContext | context | The parse tree. |
ExitUnaryMinusExpr(MuParserParser.UnaryMinusExprContext)
Exit a parse tree produced by the unaryMinusExpr
labeled alternative in expr().
The default implementation does nothing.
Declaration
public virtual void ExitUnaryMinusExpr(MuParserParser.UnaryMinusExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.UnaryMinusExprContext | 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.