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

Method test

basex-core/src/main/java/org/basex/query/expr/Castable.java:49–53  ·  view source on GitHub ↗
(final QueryContext qc, final InputInfo ii, final long pos)

Source from the content-addressed store, hash-verified

47 }
48
49 @Override
50 public boolean test(final QueryContext qc, final InputInfo ii, final long pos)
51 throws QueryException {
52 return seqType.cast(expr.atomValue(qc, info), false, qc, info) != null;
53 }
54
55 @Override
56 public Expr copy(final CompileContext cc, final IntObjectMap<Var> vm) {

Callers 1

itemMethod · 0.95

Calls 2

castMethod · 0.65
atomValueMethod · 0.45

Tested by

no test coverage detected