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

Method inline

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

Source from the content-addressed store, hash-verified

254 }
255
256 @Override
257 public Expr inline(final InlineContext ic) throws QueryException {
258 boolean changed = ic.inline(groups, true);
259 final Expr inlined = cond.inline(ic);
260 if(inlined != null) {
261 changed = true;
262 cond = inlined;
263 }
264 return changed ? optimize(ic.cc) : null;
265 }
266
267 @Override
268 public Expr typeCheck(final TypeCheck tc, final CompileContext cc) throws QueryException {

Callers

nothing calls this directly

Calls 2

optimizeMethod · 0.95
inlineMethod · 0.65

Tested by

no test coverage detected