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

Method get

basex-core/src/main/java/org/basex/query/expr/path/Step.java:77–80  ·  view source on GitHub ↗

Returns a new optimized step. @param cc compilation context @param root root context expression; if null, the current context will be used @param info input info (can be null) @param axis axis @param test test @param preds predicates @return step or empty sequence @throws QueryExcept

(final CompileContext cc, final Expr root, final InputInfo info,
      final Axis axis, final Test test, final Expr... preds)

Source from the content-addressed store, hash-verified

75 * @throws QueryException query exception
76 */
77 public static Expr get(final CompileContext cc, final Expr root, final InputInfo info,
78 final Axis axis, final Test test, final Expr... preds) throws QueryException {
79 return new CachedStep(info, axis, test, preds).optimize(root, cc);
80 }
81
82 /**
83 * Returns a new step.

Callers 14

mergePathsMethod · 0.95
getMethod · 0.95
childrenMethod · 0.95
indexMethod · 0.95
mergeStepsMethod · 0.95
movePredicatesMethod · 0.95
mergeStepMethod · 0.95
selfMethod · 0.95
optimizeMethod · 0.95
addPredicatesMethod · 0.95
removePredicateMethod · 0.95
simplifyEbvMethod · 0.95

Calls 3

isMethod · 0.65
optimizeMethod · 0.45
mayBePositionalMethod · 0.45

Tested by

no test coverage detected