Show / Hide Table of Contents

Interface IcalculatorVisitor<Result>

This interface defines a complete generic visitor for a parse tree produced by calculatorParser.

Namespace: GCore.Antlr.Grammers.Calculator
Assembly: Calculator.dll
Syntax
public interface IcalculatorVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
Name Description
Result

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitAtom(calculatorParser.AtomContext)

Visit a parse tree produced by atom().

Declaration
Result VisitAtom(calculatorParser.AtomContext context)
Parameters
Type Name Description
calculatorParser.AtomContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitConstant(calculatorParser.ConstantContext)

Visit a parse tree produced by constant().

Declaration
Result VisitConstant(calculatorParser.ConstantContext context)
Parameters
Type Name Description
calculatorParser.ConstantContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitEquation(calculatorParser.EquationContext)

Visit a parse tree produced by equation().

Declaration
Result VisitEquation(calculatorParser.EquationContext context)
Parameters
Type Name Description
calculatorParser.EquationContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitExpression(calculatorParser.ExpressionContext)

Visit a parse tree produced by expression().

Declaration
Result VisitExpression(calculatorParser.ExpressionContext context)
Parameters
Type Name Description
calculatorParser.ExpressionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFunc_(calculatorParser.Func_Context)

Visit a parse tree produced by func_().

Declaration
Result VisitFunc_(calculatorParser.Func_Context context)
Parameters
Type Name Description
calculatorParser.Func_Context context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitFuncname(calculatorParser.FuncnameContext)

Visit a parse tree produced by funcname().

Declaration
Result VisitFuncname(calculatorParser.FuncnameContext context)
Parameters
Type Name Description
calculatorParser.FuncnameContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitMultiplyingExpression(calculatorParser.MultiplyingExpressionContext)

Visit a parse tree produced by multiplyingExpression().

Declaration
Result VisitMultiplyingExpression(calculatorParser.MultiplyingExpressionContext context)
Parameters
Type Name Description
calculatorParser.MultiplyingExpressionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitPowExpression(calculatorParser.PowExpressionContext)

Visit a parse tree produced by powExpression().

Declaration
Result VisitPowExpression(calculatorParser.PowExpressionContext context)
Parameters
Type Name Description
calculatorParser.PowExpressionContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitRelop(calculatorParser.RelopContext)

Visit a parse tree produced by relop().

Declaration
Result VisitRelop(calculatorParser.RelopContext context)
Parameters
Type Name Description
calculatorParser.RelopContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitScientific(calculatorParser.ScientificContext)

Visit a parse tree produced by scientific().

Declaration
Result VisitScientific(calculatorParser.ScientificContext context)
Parameters
Type Name Description
calculatorParser.ScientificContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitSignedAtom(calculatorParser.SignedAtomContext)

Visit a parse tree produced by signedAtom().

Declaration
Result VisitSignedAtom(calculatorParser.SignedAtomContext context)
Parameters
Type Name Description
calculatorParser.SignedAtomContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitVariable(calculatorParser.VariableContext)

Visit a parse tree produced by variable().

Declaration
Result VisitVariable(calculatorParser.VariableContext context)
Parameters
Type Name Description
calculatorParser.VariableContext context

The parse tree.

Returns
Type Description
Result
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX