示例#1
0
 @Override
 public IterPath copy(final QueryContext qc, final VarScope scp, final IntObjMap<Var> vs) {
   final Expr rt = root == null ? null : root.copy(qc, scp, vs);
   return copyType(new IterPath(info, rt, Arr.copyAll(qc, scp, vs, steps)));
 }
示例#2
0
 @Override
 public Expr compile(final QueryContext ctx, final VarScope scp) throws QueryException {
   for (final Let c : copies) c.expr = c.expr.compile(ctx, scp);
   super.compile(ctx, scp);
   return this;
 }