bexpr.getOperand1().accept(lhs);
bexpr.getOperand2().accept(rhs);
switch (bexpr.getOperator()) {
case IASTBinaryExpression.op_logicalAnd:
finalCond = new Condition(lhs.getCond(), Condition.Logical_Operator.FADA_AND, rhs.getCond());
break;
case IASTBinaryExpression.op_logicalOr:
finalCond = new Condition(lhs.getCond(), Condition.Logical_Operator.FADA_OR, rhs.getCond());
break;
case IASTBinaryExpression.op_equals:
finalCond = new Condition(new Inequation(lhs.getExpr(), Inequation.Predicate.FADA_EQ, rhs.getExpr()));
break;
case IASTBinaryExpression.op_notequals:
finalCond = new Condition(new Inequation(lhs.getExpr(), Inequation.Predicate.FADA_NEQ, rhs.getExpr()));
break;
case IASTBinaryExpression.op_lessThan:
finalCond = new Condition(new Inequation(lhs.getExpr(), Inequation.Predicate.FADA_LESS, rhs.getExpr()));
break;
case IASTBinaryExpression.op_lessEqual:
finalCond = new Condition(new Inequation(lhs.getExpr(), Inequation.Predicate.FADA_LESS_EQ, rhs.getExpr()));
break;
case IASTBinaryExpression.op_greaterThan:
finalCond = new Condition(new Inequation(lhs.getExpr(), Inequation.Predicate.FADA_GREATER, rhs.getExpr()));
break;
case IASTBinaryExpression.op_greaterEqual:
finalCond = new Condition(new Inequation(lhs.getExpr(), Inequation.Predicate.FADA_GREATER_EQ, rhs.getExpr()));
break;
default:
System.err.println("COND OP NOT HANDLED: " + bexpr.getOperator() + " -> " + bexpr.getRawSignature());
}