Class Term.UnaryN

  • Direct Known Subclasses:
    Term.Neg
    Enclosing class:
    Term

    public abstract static class Term.UnaryN
    extends Term.Unary
    An abstract unary (= 1 operand) operation with a numeric return type.
    • Constructor Detail

      • UnaryN

        protected UnaryN​(String name,
                         int type,
                         Term arg)
    • Method Detail

      • evalB

        public boolean evalB​(EvalEnv env)
        Description copied from class: Term
        Evaluates this term to a boolean value.
        Specified by:
        evalB in class Term
        Parameters:
        env - the application dependant environment.
        Returns:
        a boolean value