Uses of Class
calculator.functions.BinaryFunction
Packages that use BinaryFunction
-
Uses of BinaryFunction in calculator.atoms
Methods in calculator.atoms with parameters of type BinaryFunctionModifier and TypeMethodDescriptionAtom.apply(BinaryFunction f, Atom a) Applies an Binary between two atoms of the same concrete type The function supposes that both atoms are of the same concrete typeComplex.apply(BinaryFunction f, Atom a) IntegerAtom.apply(BinaryFunction f, Atom a) Rationnal.apply(BinaryFunction f, Atom a) Real.apply(BinaryFunction f, Atom a) -
Uses of BinaryFunction in calculator.functions
Subclasses of BinaryFunction in calculator.functionsModifier and TypeClassDescriptionclassThis class represents the arithmetic binary operation "log(x, base)". -
Uses of BinaryFunction in visitor
Methods in visitor with parameters of type BinaryFunctionModifier and TypeMethodDescriptionvoidCounter.visit(BinaryFunction f) voidEvaluator.visit(BinaryFunction f) voidPrinter.visit(BinaryFunction f) abstract voidVisitor.visit(BinaryFunction f) The Visitor can traverse a binary function (a subtype of Expression)