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

Method compile

basex-core/src/main/java/org/basex/query/expr/Logical.java:30–37  ·  view source on GitHub ↗
(final CompileContext cc)

Source from the content-addressed store, hash-verified

28 }
29
30 @Override
31 public final Expr compile(final CompileContext cc) throws QueryException {
32 final int el = exprs.length;
33 for(int e = 0; e < el; e++) {
34 exprs[e] = cc.compileOrError(exprs[e], e == 0);
35 }
36 return optimize(cc);
37 }
38
39 @Override
40 public final Expr optimize(final CompileContext cc) throws QueryException {

Callers

nothing calls this directly

Calls 2

optimizeMethod · 0.95
compileOrErrorMethod · 0.80

Tested by

no test coverage detected