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

Method value

basex-core/src/main/java/org/basex/query/expr/Catch.java:64–70  ·  view source on GitHub ↗

Returns the value of the caught expression. @param qc query context @param ex caught exception @return resulting item @throws QueryException query exception

(final QueryContext qc, final QueryException ex)

Source from the content-addressed store, hash-verified

62 * @throws QueryException query exception
63 */
64 Value value(final QueryContext qc, final QueryException ex) throws QueryException {
65 int v = 0;
66 for(final Value value : ex.values()) {
67 qc.set(vars[v++], value);
68 }
69 return expr.value(qc);
70 }
71
72 @Override
73 public Expr copy(final CompileContext cc, final IntObjectMap<Var> vm) {

Callers 1

valueMethod · 0.95

Calls 2

setMethod · 0.65
valuesMethod · 0.45

Tested by

no test coverage detected