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

Method step

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

Parses the "StepExpr" rule. @param error show error if nothing is found @return query expression or null @throws QueryException query exception

(final boolean error)

Source from the content-addressed store, hash-verified

2290 * @throws QueryException query exception
2291 */
2292 private Expr step(final boolean error) throws QueryException {
2293 final Expr expr = postfix();
2294 return expr != null ? expr : axisStep(error);
2295 }
2296
2297 /**
2298 * Parses the "AxisStep" rule.

Callers 2

pathMethod · 0.95
relativePathMethod · 0.95

Calls 2

postfixMethod · 0.95
axisStepMethod · 0.95

Tested by

no test coverage detected