Interface calculatorVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- All Known Implementing Classes:
calculatorBaseVisitor, ParserVisitor
public interface calculatorVisitor<T>
extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced
by
calculatorParser.-
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced by theAtomComplexlabeled alternative incalculatorParser.atom().Visit a parse tree produced by theAtomNumberlabeled alternative incalculatorParser.atom().Visit a parse tree produced by theCompleteInfixlabeled alternative incalculatorParser.complete().Visit a parse tree produced by theCompletePostfixlabeled alternative incalculatorParser.complete().Visit a parse tree produced by theCompletePrefixlabeled alternative incalculatorParser.complete().Visit a parse tree produced by theComplexNumberlabeled alternative incalculatorParser.complex().Visit a parse tree produced by theConstEulerlabeled alternative incalculatorParser.constant().Visit a parse tree produced by theConstPilabeled alternative incalculatorParser.constant().Visit a parse tree produced by theFnAcoslabeled alternative incalculatorParser.funcname().Visit a parse tree produced by theFnAsinlabeled alternative incalculatorParser.funcname().Visit a parse tree produced by theFnAtanlabeled alternative incalculatorParser.funcname().Visit a parse tree produced by theFnCoslabeled alternative incalculatorParser.funcname().Visit a parse tree produced by theFnCoshlabeled alternative incalculatorParser.funcname().Visit a parse tree produced by theFnLnlabeled alternative incalculatorParser.funcname().Visit a parse tree produced by theFnLoglabeled alternative incalculatorParser.funcname().Visit a parse tree produced by theFnSinlabeled alternative incalculatorParser.funcname().Visit a parse tree produced by theFnSinhlabeled alternative incalculatorParser.funcname().Visit a parse tree produced by theFnSqrtlabeled alternative incalculatorParser.funcname().Visit a parse tree produced by theFnTanlabeled alternative incalculatorParser.funcname().Visit a parse tree produced by theFnTanhlabeled alternative incalculatorParser.funcname().Visit a parse tree produced by theINAddSublabeled alternative incalculatorParser.expressionIN().Visit a parse tree produced by theInfixFunctionCalllabeled alternative incalculatorParser.functionIN().Visit a parse tree produced by theINFunctionlabeled alternative incalculatorParser.atomIN().Visit a parse tree produced by theINImplicitMultlabeled alternative incalculatorParser.atomIN().Visit a parse tree produced by theINMultlabeled alternative incalculatorParser.multExp().Visit a parse tree produced by theINParenthesislabeled alternative incalculatorParser.atomIN().Visit a parse tree produced by theINPowlabeled alternative incalculatorParser.powExp().Visit a parse tree produced by theINSignedAtomlabeled alternative incalculatorParser.atomIN().Visit a parse tree produced by theINTimesDivlabeled alternative incalculatorParser.multExp().Visit a parse tree produced by theNumberConstantlabeled alternative incalculatorParser.number().Visit a parse tree produced by theNumberReallabeled alternative incalculatorParser.number().Visit a parse tree produced by theNumberScientificlabeled alternative incalculatorParser.number().Visit a parse tree produced by theOpDivlabeled alternative incalculatorParser.operator().Visit a parse tree produced by theOpMinuslabeled alternative incalculatorParser.operator().Visit a parse tree produced by theOpPluslabeled alternative incalculatorParser.operator().Visit a parse tree produced by theOpPowlabeled alternative incalculatorParser.operator().Visit a parse tree produced by theOpTimeslabeled alternative incalculatorParser.operator().Visit a parse tree produced by thePost2Paramlabeled alternative incalculatorParser.expressionPOST().Visit a parse tree produced by thePostAtomlabeled alternative incalculatorParser.expressionPOST().Visit a parse tree produced by thePostFunclabeled alternative incalculatorParser.expressionPOST().Visit a parse tree produced by thePostFunc1Paramlabeled alternative incalculatorParser.expressionPOST().Visit a parse tree produced by thePostMultlabeled alternative incalculatorParser.expressionPOST().Visit a parse tree produced by thePostPlus2Paramlabeled alternative incalculatorParser.expressionPOST().Visit a parse tree produced by thePre2Paramlabeled alternative incalculatorParser.expressionPRE().Visit a parse tree produced by thePreAtomlabeled alternative incalculatorParser.expressionPRE().Visit a parse tree produced by thePreFunclabeled alternative incalculatorParser.expressionPRE().Visit a parse tree produced by thePreFunc1Paramlabeled alternative incalculatorParser.expressionPRE().Visit a parse tree produced by thePreMultlabeled alternative incalculatorParser.expressionPRE().Visit a parse tree produced by thePrePlus2Paramlabeled alternative incalculatorParser.expressionPRE().Visit a parse tree produced by theRealNumberlabeled alternative incalculatorParser.real().Visit a parse tree produced by theScientificNumberlabeled alternative incalculatorParser.scientific().Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Method Details
-
visitCompleteInfix
Visit a parse tree produced by theCompleteInfixlabeled alternative incalculatorParser.complete().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCompletePostfix
Visit a parse tree produced by theCompletePostfixlabeled alternative incalculatorParser.complete().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCompletePrefix
Visit a parse tree produced by theCompletePrefixlabeled alternative incalculatorParser.complete().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPre2Param
Visit a parse tree produced by thePre2Paramlabeled alternative incalculatorParser.expressionPRE().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrePlus2Param
Visit a parse tree produced by thePrePlus2Paramlabeled alternative incalculatorParser.expressionPRE().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPreMult
Visit a parse tree produced by thePreMultlabeled alternative incalculatorParser.expressionPRE().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPreFunc
Visit a parse tree produced by thePreFunclabeled alternative incalculatorParser.expressionPRE().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPreAtom
Visit a parse tree produced by thePreAtomlabeled alternative incalculatorParser.expressionPRE().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPreFunc1Param
Visit a parse tree produced by thePreFunc1Paramlabeled alternative incalculatorParser.expressionPRE().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPostAtom
Visit a parse tree produced by thePostAtomlabeled alternative incalculatorParser.expressionPOST().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPostFunc1Param
Visit a parse tree produced by thePostFunc1Paramlabeled alternative incalculatorParser.expressionPOST().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPostMult
Visit a parse tree produced by thePostMultlabeled alternative incalculatorParser.expressionPOST().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPostFunc
Visit a parse tree produced by thePostFunclabeled alternative incalculatorParser.expressionPOST().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPostPlus2Param
Visit a parse tree produced by thePostPlus2Paramlabeled alternative incalculatorParser.expressionPOST().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPost2Param
Visit a parse tree produced by thePost2Paramlabeled alternative incalculatorParser.expressionPOST().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOpPlus
Visit a parse tree produced by theOpPluslabeled alternative incalculatorParser.operator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOpMinus
Visit a parse tree produced by theOpMinuslabeled alternative incalculatorParser.operator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOpTimes
Visit a parse tree produced by theOpTimeslabeled alternative incalculatorParser.operator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOpDiv
Visit a parse tree produced by theOpDivlabeled alternative incalculatorParser.operator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOpPow
Visit a parse tree produced by theOpPowlabeled alternative incalculatorParser.operator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitINAddSub
Visit a parse tree produced by theINAddSublabeled alternative incalculatorParser.expressionIN().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitINTimesDiv
Visit a parse tree produced by theINTimesDivlabeled alternative incalculatorParser.multExp().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitINMult
Visit a parse tree produced by theINMultlabeled alternative incalculatorParser.multExp().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitINPow
Visit a parse tree produced by theINPowlabeled alternative incalculatorParser.powExp().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitINSignedAtom
Visit a parse tree produced by theINSignedAtomlabeled alternative incalculatorParser.atomIN().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitINImplicitMult
Visit a parse tree produced by theINImplicitMultlabeled alternative incalculatorParser.atomIN().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitINParenthesis
Visit a parse tree produced by theINParenthesislabeled alternative incalculatorParser.atomIN().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitINFunction
Visit a parse tree produced by theINFunctionlabeled alternative incalculatorParser.atomIN().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAtomComplex
Visit a parse tree produced by theAtomComplexlabeled alternative incalculatorParser.atom().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAtomNumber
Visit a parse tree produced by theAtomNumberlabeled alternative incalculatorParser.atom().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumberConstant
Visit a parse tree produced by theNumberConstantlabeled alternative incalculatorParser.number().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumberReal
Visit a parse tree produced by theNumberReallabeled alternative incalculatorParser.number().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumberScientific
Visit a parse tree produced by theNumberScientificlabeled alternative incalculatorParser.number().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitScientificNumber
Visit a parse tree produced by theScientificNumberlabeled alternative incalculatorParser.scientific().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRealNumber
Visit a parse tree produced by theRealNumberlabeled alternative incalculatorParser.real().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComplexNumber
Visit a parse tree produced by theComplexNumberlabeled alternative incalculatorParser.complex().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstPi
Visit a parse tree produced by theConstPilabeled alternative incalculatorParser.constant().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConstEuler
Visit a parse tree produced by theConstEulerlabeled alternative incalculatorParser.constant().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInfixFunctionCall
Visit a parse tree produced by theInfixFunctionCalllabeled alternative incalculatorParser.functionIN().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFnCos
Visit a parse tree produced by theFnCoslabeled alternative incalculatorParser.funcname().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFnTan
Visit a parse tree produced by theFnTanlabeled alternative incalculatorParser.funcname().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFnSin
Visit a parse tree produced by theFnSinlabeled alternative incalculatorParser.funcname().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFnAcos
Visit a parse tree produced by theFnAcoslabeled alternative incalculatorParser.funcname().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFnAtan
Visit a parse tree produced by theFnAtanlabeled alternative incalculatorParser.funcname().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFnAsin
Visit a parse tree produced by theFnAsinlabeled alternative incalculatorParser.funcname().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFnLog
Visit a parse tree produced by theFnLoglabeled alternative incalculatorParser.funcname().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFnLn
Visit a parse tree produced by theFnLnlabeled alternative incalculatorParser.funcname().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFnSqrt
Visit a parse tree produced by theFnSqrtlabeled alternative incalculatorParser.funcname().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFnCosh
Visit a parse tree produced by theFnCoshlabeled alternative incalculatorParser.funcname().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFnSinh
Visit a parse tree produced by theFnSinhlabeled alternative incalculatorParser.funcname().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFnTanh
Visit a parse tree produced by theFnTanhlabeled alternative incalculatorParser.funcname().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-