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

Method self

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

Returns a new optimized self::node() 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 preds predicates @return step or empty sequence @throws QueryException query exception

(final CompileContext cc, final Expr root, final InputInfo info,
      final Expr... preds)

Source from the content-addressed store, hash-verified

44 * @throws QueryException query exception
45 */
46 public static Expr self(final CompileContext cc, final Expr root, final InputInfo info,
47 final Expr... preds) throws QueryException {
48 return self(cc, root, info, NodeTest.NODE, preds);
49 }
50
51 /**
52 * Returns a new optimized self step.

Callers 6

optimizeMethod · 0.95
optPredMethod · 0.95
optPredMethod · 0.95
indexMethod · 0.95
invertMethod · 0.95
invertMethod · 0.95

Calls 1

getMethod · 0.95

Tested by

no test coverage detected