Package com.saxonica.ee.optim
Class GlobalExtractor
- java.lang.Object
-
- com.saxonica.ee.optim.GlobalExtractor
-
public class GlobalExtractor extends java.lang.Object
This class is responsible for extracting global variables from subexpressions within a function or template
-
-
Field Summary
Fields Modifier and Type Field Description static int
COST_THRESHOLD
-
Constructor Summary
Constructors Constructor Description GlobalExtractor(Expression root, GlobalVariableManager globalVariableManager, ExpressionVisitor visitor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Expression
extractGlobals()
-
-
-
Field Detail
-
COST_THRESHOLD
public static final int COST_THRESHOLD
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GlobalExtractor
public GlobalExtractor(Expression root, GlobalVariableManager globalVariableManager, ExpressionVisitor visitor)
-
-
Method Detail
-
extractGlobals
public Expression extractGlobals() throws XPathException
- Throws:
XPathException
-
-