public class LoopLifter
extends java.lang.Object
Constructor and Description |
---|
LoopLifter(Expression root,
Configuration config) |
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)
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-2018 Saxonica Limited. All rights reserved.