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)
| 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. |