Interface IMuParserVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by MuParserParser.
Namespace: GCore.Antlr.Grammers.Muparser
Assembly: Muparser.dll
Syntax
public interface IMuParserVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitAddSubExpr(MuParserParser.AddSubExprContext)
Visit a parse tree produced by the addSubExpr
labeled alternative in expr().
Declaration
Result VisitAddSubExpr(MuParserParser.AddSubExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.AddSubExprContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAndExpr(MuParserParser.AndExprContext)
Visit a parse tree produced by the andExpr
labeled alternative in expr().
Declaration
Result VisitAndExpr(MuParserParser.AndExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.AndExprContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAssignExpr(MuParserParser.AssignExprContext)
Visit a parse tree produced by the assignExpr
labeled alternative in expr().
Declaration
Result VisitAssignExpr(MuParserParser.AssignExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.AssignExprContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAtomExpr(MuParserParser.AtomExprContext)
Visit a parse tree produced by the atomExpr
labeled alternative in expr().
Declaration
Result VisitAtomExpr(MuParserParser.AtomExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.AtomExprContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBooleanAtom(MuParserParser.BooleanAtomContext)
Visit a parse tree produced by the booleanAtom
labeled alternative in atom().
Declaration
Result VisitBooleanAtom(MuParserParser.BooleanAtomContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.BooleanAtomContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEqualityExpr(MuParserParser.EqualityExprContext)
Visit a parse tree produced by the equalityExpr
labeled alternative in expr().
Declaration
Result VisitEqualityExpr(MuParserParser.EqualityExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.EqualityExprContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFunctionExpr(MuParserParser.FunctionExprContext)
Visit a parse tree produced by the functionExpr
labeled alternative in expr().
Declaration
Result VisitFunctionExpr(MuParserParser.FunctionExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.FunctionExprContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFunctionMultiExpr(MuParserParser.FunctionMultiExprContext)
Visit a parse tree produced by the functionMultiExpr
labeled alternative in expr().
Declaration
Result VisitFunctionMultiExpr(MuParserParser.FunctionMultiExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.FunctionMultiExprContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIdAtom(MuParserParser.IdAtomContext)
Visit a parse tree produced by the idAtom
labeled alternative in atom().
Declaration
Result VisitIdAtom(MuParserParser.IdAtomContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.IdAtomContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIteExpr(MuParserParser.IteExprContext)
Visit a parse tree produced by the iteExpr
labeled alternative in expr().
Declaration
Result VisitIteExpr(MuParserParser.IteExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.IteExprContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMulDivExpr(MuParserParser.MulDivExprContext)
Visit a parse tree produced by the mulDivExpr
labeled alternative in expr().
Declaration
Result VisitMulDivExpr(MuParserParser.MulDivExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.MulDivExprContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNumberAtom(MuParserParser.NumberAtomContext)
Visit a parse tree produced by the numberAtom
labeled alternative in atom().
Declaration
Result VisitNumberAtom(MuParserParser.NumberAtomContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.NumberAtomContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOrExpr(MuParserParser.OrExprContext)
Visit a parse tree produced by the orExpr
labeled alternative in expr().
Declaration
Result VisitOrExpr(MuParserParser.OrExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.OrExprContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitParExpr(MuParserParser.ParExprContext)
Visit a parse tree produced by the parExpr
labeled alternative in atom().
Declaration
Result VisitParExpr(MuParserParser.ParExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.ParExprContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPowExpr(MuParserParser.PowExprContext)
Visit a parse tree produced by the powExpr
labeled alternative in expr().
Declaration
Result VisitPowExpr(MuParserParser.PowExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.PowExprContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPredefinedConstantAtom(MuParserParser.PredefinedConstantAtomContext)
Visit a parse tree produced by the predefinedConstantAtom
labeled alternative in atom().
Declaration
Result VisitPredefinedConstantAtom(MuParserParser.PredefinedConstantAtomContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.PredefinedConstantAtomContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitProgExpr(MuParserParser.ProgExprContext)
Visit a parse tree produced by the progExpr
labeled alternative in prog().
Declaration
Result VisitProgExpr(MuParserParser.ProgExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.ProgExprContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRelationalExpr(MuParserParser.RelationalExprContext)
Visit a parse tree produced by the relationalExpr
labeled alternative in expr().
Declaration
Result VisitRelationalExpr(MuParserParser.RelationalExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.RelationalExprContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitUnaryMinusExpr(MuParserParser.UnaryMinusExprContext)
Visit a parse tree produced by the unaryMinusExpr
labeled alternative in expr().
Declaration
Result VisitUnaryMinusExpr(MuParserParser.UnaryMinusExprContext context)
Parameters
Type | Name | Description |
---|---|---|
MuParserParser.UnaryMinusExprContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |