Expression e = expressionChildOf(condParts.get(--pos));
if (!hasElse) {
Expression lastCond = (Expression) condParts.get(--pos);
if (Operation.is(lastCond, Operator.NOT)) {
e = Operation.createInfix(
Operator.LOGICAL_OR, (Expression) lastCond.children().get(0), e);
} else {
e = Operation.createInfix(Operator.LOGICAL_AND, lastCond, e);
}
}