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

Method test

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

Computes the effective boolean value for this expression. @param qc query context @param ii input info (can be null; required for those Value instances that have no input info) @param pos position of context item (if 0, perform EBV test) @return item @throws QueryException

(QueryContext qc, InputInfo ii, long pos)

Source from the content-addressed store, hash-verified

192 * @throws QueryException query exception
193 */
194 public abstract boolean test(QueryContext qc, InputInfo ii, long pos) throws QueryException;
195
196 /**
197 * Tests if this is a vacuous expression (empty sequence or error function).

Callers 1

optimizeEbvMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected