Class Term.AndI

  • Enclosing class:
    Term

    public static final class Term.AndI
    extends Term.BinaryI
    The bitwise AND operation:
    i-term & i-term
    • Constructor Detail

      • AndI

        public AndI​(Term arg1,
                    Term arg2)
    • Method Detail

      • evalI

        public int evalI​(EvalEnv env)
        Description copied from class: Term
        Evaluates this term to an int value.
        Specified by:
        evalI in class Term
        Parameters:
        env - the application dependant environment.
        Returns:
        an int value
      • accept

        public <T> T accept​(TermVisitor<T> visitor)
        Description copied from class: Term
        Visitor support.
        Specified by:
        accept in class Term
        Parameters:
        visitor - A visitor.
      • pre

        public int pre()
        Specified by:
        pre in class Term