Exemple #1
0
 public DirectAccessPathExpr(XQueryContext context, XQueryExprBase[] path, bool isOrdered)
     : base(context)
 {
     XQueryExprBase[] tmp = new XQueryExprBase[path.Length + 1];
     tmp[0] = new XQueryStepExpr(XQueryPathExprType.Self, context);
     for (int k = 0; k < path.Length; k++)
         tmp[k + 1] = path[k];
     _shadowXPath = new XQueryPathExpr(context, tmp, isOrdered);
     _path = path;
 }
Exemple #2
0
 public ResultIterator(XQueryPathExpr owner, IContextProvider provider, bool orderedSet, bool parallel,
     XQueryNodeIterator rootIter, object[] args, MemoryPool pool)
 {
     itemSet = new ItemSet();
     this.owner = owner;
     this.provider = provider;
     this.orderedSet = orderedSet;
     this.rootIter = rootIter;
     this.args = args;
     this.pool = pool;
     this.parallel = parallel;
 }