}
public void visit(LOAnd binOp) throws VisitorException {
// if lhs or rhs is null constant then cast it to boolean
insertCastsForNullToBoolean(binOp);
ExpressionOperator lhs = binOp.getLhsOperand();
ExpressionOperator rhs = binOp.getRhsOperand();
byte lhsType = lhs.getType() ;
byte rhsType = rhs.getType() ;
if ( (lhsType != DataType.BOOLEAN) ||
(rhsType != DataType.BOOLEAN) ) {
int errCode = 1038;
String msg = "Operands of AND/OR can be boolean only" ;