Class Term.BinaryN

Direct Known Subclasses:
Term.Add, Term.Div, Term.Mod, Term.Mul, Term.Sub
Enclosing class:
Term

public abstract static class Term.BinaryN extends Term.Binary
An abstract binary (= 2 operands) operation with a numeric return type.
  • Constructor Details

    • BinaryN

      protected BinaryN(String name, int type, Term arg1, Term arg2)
  • Method Details

    • 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