Show / Hide Table of Contents

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
System.Object
MuParserBaseListener
Implements
IMuParserListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Muparser
Assembly: Muparser.dll
Syntax
public class MuParserBaseListener : object, IMuParserListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

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

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| 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

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| 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

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| 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

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