Package org.basex.query.expr.path
Class IterPath
java.lang.Object
org.basex.query.expr.ExprInfo
org.basex.query.expr.Expr
org.basex.query.expr.ParseExpr
org.basex.query.expr.path.Path
org.basex.query.expr.path.AxisPath
org.basex.query.expr.path.IterPath
Iterative expression for paths that return nodes in distinct document order.
- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy(CompileContext cc, IntObjMap<Var> vm) Copies an expression.protected Iteriterator(QueryContext qc) Returns a node iterator.protected Valuenodes(QueryContext qc) Returns a node sequence.Methods inherited from class org.basex.query.expr.path.AxisPath
addPredicates, data, data, ddo, iter, mergeEbv, step, valueMethods inherited from class org.basex.query.expr.path.Path
accept, checkUp, compile, count, equals, exprSize, get, get, has, inline, inlineable, optimize, pathNodes, plan, plan, simple, simplifyForMethods inherited from class org.basex.query.expr.ParseExpr
adoptType, atomValue, checkAllUp, checkNoEmpty, checkNoEmpty, checkNoneUp, checkNoUp, checkType, checkType, checkUp, copyType, ctxValue, ebv, item, refineType, seqType, size, test, toArray, toArray, toAtomItem, toB64, toB64, toBin, toBin, toBoolean, toBoolean, toBytes, toBytes, toDouble, toDouble, toElem, toFloat, toFunc, toItem, toItem, toLong, toLong, toMap, toMap, toNode, toNode, toNodeOrNull, toNumber, toNumberOrNull, toQNm, toQNm, toToken, toToken, toTokenOrNull, toZeroTokenMethods inherited from class org.basex.query.expr.Expr
arg, args, atomItem, atomIter, funcType, hasFreeVars, indexAccessible, isSimple, markTailCalls, typeCheck, uses, vacuous, visitAllMethods inherited from class org.basex.query.expr.ExprInfo
description, toErrorString, toString
-
Method Details
-
iterator
Description copied from class:AxisPathReturns a node iterator. -
nodes
Description copied from class:AxisPathReturns a node sequence.- Specified by:
nodesin classAxisPath- Parameters:
qc- query context- Returns:
- iterator
- Throws:
QueryException- query exception
-
copy
Description copied from class:ExprCopies an expression. Used for inlining functions, or for copying static queries. It is utilized byVarRef.inline(org.basex.query.InlineContext),FuncItem.inline(org.basex.query.expr.Expr[], org.basex.query.CompileContext),Closure.inline(org.basex.query.InlineContext)andStaticFunc.inline(org.basex.query.expr.Expr[], org.basex.query.CompileContext).- Specified by:
copyin classExpr- Parameters:
cc- compilation contextvm- mapping from old variable IDs to new variable copies. Required byClosure.copy(org.basex.query.CompileContext, org.basex.util.hash.IntObjMap<org.basex.query.var.Var>)andVarRef.copy(org.basex.query.CompileContext, org.basex.util.hash.IntObjMap<org.basex.query.var.Var>)- Returns:
- copied expression
-