system/src/sc/lang/java/BinaryExpression.java
public void transformBindingArgs(SemanticNodeList<Expression> bindArgs, BindDescriptor bd) {
      if (operator.equals("instanceof")) {
         bindArgs.add(StringLiteral.create(operator));

         Expression rhsExpr = getRhsExprForInstanceof();
         bindArgs.add(createBindingParameters(false, lhs, rhsExpr));
      }
      else {
         bindArgs.add(StringLiteral.create(operator));
         bindArgs.add(createBindingParameters(false, lhs, getRhsExpr()));
      }
   }
/**
    * Produces binding arguments for the operator and the two nested bindings
    */
Produces binding arguments for the operator and the two nested bindings
Produces binding arguments for the operator and the two nested bindings
public void transformBindingArgs(SemanticNodeList<Expression> bindArgs, BindDescriptor bd) {
      if (operator.equals("instanceof")) {
         bindArgs.add(StringLiteral.create(operator));
         Expression rhsExpr = getRhsExprForInstanceof();
         bindArgs.add(createBindingParameters(false, lhs, rhsExpr));
      }
      else {
         bindArgs.add(StringLiteral.create(operator));
         bindArgs.add(createBindingParameters(false, lhs, getRhsExpr()));
      }
   }
public void transformBindingArgs ( SemanticNodeList < Expression > bindArgs , BindDescriptor bd ) { if ( operator . equals ( "instanceof" ) ) { bindArgs . add ( StringLiteral . create ( operator ) ) ; Expression rhsExpr = getRhsExprForInstanceof ( ) ; bindArgs . add ( createBindingParameters ( false , lhs , rhsExpr ) ) ; } else { bindArgs . add ( StringLiteral . create ( operator ) ) ; bindArgs . add ( createBindingParameters ( false , lhs , getRhsExpr ( ) ) ) ; } }
Produces binding arguments for the operator and the two nested bindings
Produces binding arguments for the operator and the two nested bindings