system/src/sc/lang/java/BinaryExpression.java
public boolean isConstant() {
      if (lhs != null && lhs.isConstant()) {
         if (rhs instanceof Expression) {
            if (((Expression) rhs).isConstant())
               return true;
         }
      }
      return false;
   }
// This ensures that an expression involving only constants does not generate a binding expression.
This ensures that an expression involving only constants does not generate a binding expression.
This ensures that an expression involving only constants does not generate a binding expression .
public boolean isConstant() {
      if (lhs != null && lhs.isConstant()) {
         if (rhs instanceof Expression) {
            if (((Expression) rhs).isConstant())
               return true;
         }
      }
      return false;
   }
public boolean isConstant ( ) { if ( lhs != null && lhs . isConstant ( ) ) { if ( rhs instanceof Expression ) { if ( ( ( Expression ) rhs ) . isConstant ( ) ) return true ; } } return false ; }
This ensures that an expression involving only constants does not generate a binding expression.
This ensures that an expression involving only constants does not generate a binding expression .