Class NegFunction

  • All Implemented Interfaces:

    public class NegFunction
    extends FunctionNode
    This class represents a negate-function in a GroupingExpression. It evaluates to a number that equals the negative of the results of the argument.
    Simon Thoresen Hult, bratseth
    • Constructor Detail

      • NegFunction

        public NegFunction​(GroupingExpression exp)
        Constructs a new instance of this class.
        exp - The expression to evaluate, must evaluate to a number.