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

Method optimize

basex-core/src/main/java/org/basex/query/expr/path/Step.java:156–159  ·  view source on GitHub ↗
(final CompileContext cc)

Source from the content-addressed store, hash-verified

154 }
155
156 @Override
157 public final Expr optimize(final CompileContext cc) throws QueryException {
158 return optimize(null, cc);
159 }
160
161 /**
162 * Optimizes the step for the given root expression.

Callers 5

removePredicateMethod · 0.95
addPredicatesMethod · 0.95
inlineMethod · 0.95
getMethod · 0.45
assignTypeMethod · 0.45

Calls 15

assignTypeMethod · 0.95
seqTypeMethod · 0.95
instanceOfMethod · 0.95
seqTypeMethod · 0.95
isLeafMethod · 0.95
kindMethod · 0.95
seqTypeMethod · 0.95
getMethod · 0.95
noMatchesMethod · 0.95
getMethod · 0.95
getMethod · 0.95
emptySeqMethod · 0.80

Tested by

no test coverage detected