Creates a new, optimized path expression. @param cc compilation context @param info input info (can be null) @param root root expression (can be temporary Dummy node or null) @param steps steps @return path instance @throws QueryException query exception
(final CompileContext cc, final InputInfo info, final Expr root,
final Expr... steps)
| 64 | * @throws QueryException query exception |
| 65 | */ |
| 66 | public static Expr get(final CompileContext cc, final InputInfo info, final Expr root, |
| 67 | final Expr... steps) throws QueryException { |
| 68 | return get(info, root, steps).optimize(cc); |
| 69 | } |
| 70 | |
| 71 | /** |
| 72 | * Returns a new path instance. |
no test coverage detected