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

Method inlineable

basex-core/src/main/java/org/basex/query/expr/Preds.java:312–321  ·  view source on GitHub ↗
(final InlineContext ic)

Source from the content-addressed store, hash-verified

310 }
311
312 @Override
313 public boolean inlineable(final InlineContext ic) {
314 // do not replace $v with .: EXPR[. = $v]
315 if(ic.var != null && ic.expr.has(Flag.CTX)) {
316 for(final Expr expr : exprs) {
317 if(expr.uses(ic.var)) return false;
318 }
319 }
320 return true;
321 }
322
323 @Override
324 public void toString(final QueryString qs) {

Callers

nothing calls this directly

Calls 2

usesMethod · 0.80
hasMethod · 0.45

Tested by

no test coverage detected