MCPcopy Create free account
hub / github.com/BaseXdb/basex / ifCond

Method ifCond

basex-core/src/main/java/org/basex/query/QueryParser.java:1691–1696  ·  view source on GitHub ↗

Parses the if condition. @return query expression or null @throws QueryException query exception

()

Source from the content-addressed store, hash-verified

1689 * @throws QueryException query exception
1690 */
1691 private Expr ifCond() throws QueryException {
1692 wsCheck("(");
1693 final Expr expr = check(expr(), NOIF);
1694 wsCheck(")");
1695 return expr;
1696 }
1697
1698 /**
1699 * Parses the "OrExpr" rule.

Callers 1

iffMethod · 0.95

Calls 3

wsCheckMethod · 0.95
checkMethod · 0.95
exprMethod · 0.95

Tested by

no test coverage detected