public class LoopLifter
extends java.lang.Object
Constructor and Description |
---|
LoopLifter(Expression root,
Configuration config,
boolean streaming) |
Modifier and Type | Method and Description |
---|---|
void |
gatherInfo(Expression exp)
Gather information about an expression.
|
Expression |
getRoot() |
static Expression |
process(Expression exp,
ExpressionVisitor visitor,
ContextItemStaticInfo contextInfo)
Apply loop-lifting to an expression (typically the body of a template or function)
|
public LoopLifter(Expression root, Configuration config, boolean streaming)
public static Expression process(Expression exp, ExpressionVisitor visitor, ContextItemStaticInfo contextInfo) throws XPathException
exp
- the expression to which loop lifting is appliedXPathException
public Expression getRoot()
public void gatherInfo(Expression exp)
exp
- the expression for which information is requiredCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.