Parses the "OrExpr" rule. @return query expression or null @throws QueryException query exception
()
| 1701 | * @throws QueryException query exception |
| 1702 | */ |
| 1703 | private Expr or() throws QueryException { |
| 1704 | final Expr expr = and(); |
| 1705 | if(!wsConsumeWs(OR)) return expr; |
| 1706 | |
| 1707 | final InputInfo ii = info(); |
| 1708 | final ExprList el = new ExprList(2).add(expr); |
| 1709 | do add(el, and()); while(wsConsumeWs(OR)); |
| 1710 | return new Or(ii, el.finish()); |
| 1711 | } |
| 1712 | |
| 1713 | /** |
| 1714 | * Parses the "AndExpr" rule. |