/** * Given a root context, walks a path therefrom and builds a context * that contains all nodes matching the path. * @param context evaluation context * @return EvaluationContext */ protected EvalContext evalSteps(EvalContext context) { return buildContextChain(context, steps.length, false); }
EvalContext ctx = buildContextChain(context, steps.length, true); Pointer pointer = ctx.getSingleNodePointer(); return null; ctx = buildContextChain(context, i, true); if (ctx.hasNext()) { Pointer partial = (Pointer) ctx.next();