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

Method invert

basex-core/src/main/java/org/basex/query/expr/Cmp.java:81–84  ·  view source on GitHub ↗

If possible, returns an optimized expression with inverted operands. @param cc compilation context @return original or modified expression @throws QueryException query exception

(final CompileContext cc)

Source from the content-addressed store, hash-verified

79 * @throws QueryException query exception
80 */
81 public final Expr invert(final CompileContext cc) throws QueryException {
82 final Expr expr = invert();
83 return expr != null ? expr.optimize(cc) : this;
84 }
85
86 /**
87 * If possible, returns an expression with inverted operands.

Callers

nothing calls this directly

Calls 1

optimizeMethod · 0.95

Tested by

no test coverage detected