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

Method simplifyFor

basex-core/src/main/java/org/basex/query/expr/Expr.java:333–335  ·  view source on GitHub ↗

Simplifies the expression. Overwritten by many expressions; calls #simplify(Simplify, CompileContext) otherwise. @param mode mode of simplification @param cc compilation context @return simplified or original expression @see Simplify @throws QueryException query exception

(final Simplify mode, final CompileContext cc)

Source from the content-addressed store, hash-verified

331 * @throws QueryException query exception
332 */
333 public Expr simplifyFor(final Simplify mode, final CompileContext cc) throws QueryException {
334 return simplify(mode, cc);
335 }
336
337 /**
338 * Simplifies the expression.

Callers 5

optimizePosMethod · 0.95
toPathMethod · 0.95
simplifyForMethod · 0.95
simplifyForMethod · 0.95
simplifyForMethod · 0.95

Calls 1

simplifyMethod · 0.95

Tested by

no test coverage detected