Class BinaryExpr


  • public class BinaryExpr
    extends Expr
    • Constructor Summary

      Constructors 
      Constructor Description
      BinaryExpr​(Op op, Expr lhs, Expr rhs)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object evaluate​(Context context)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BinaryExpr

        public BinaryExpr​(Op op,
                          Expr lhs,
                          Expr rhs)
    • Method Detail

      • evaluate

        public java.lang.Object evaluate​(Context context)
        Specified by:
        evaluate in class Expr