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

Method compile

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

Source from the content-addressed store, hash-verified

52 }
53
54 @Override
55 public Expr compile(final CompileContext cc) throws QueryException {
56 cond = cond.compile(cc);
57 for(final SwitchGroup group : groups) group.compile(cc);
58 return optimize(cc);
59 }
60
61 @Override
62 public Expr optimize(final CompileContext cc) throws QueryException {

Callers

nothing calls this directly

Calls 2

optimizeMethod · 0.95
compileMethod · 0.65

Tested by

no test coverage detected