parseOr method
Reads || chains, left to right, over parseAnd. Throws an
ExpressionSyntaxException for an operand that is not a truth value.
Implementation
Expression parseOr() {
var left = parseAnd();
while (current.kind == '||') {
final op = expectToken('||', 'an operator');
left = logical(op, left, parseAnd());
}
return left;
}