com.icl.saxon.expr
public final class ContextNodeExpression extends SingletonExpression
Method Summary | |
---|---|
void | display(int level)
Diagnostic print of expression structure |
int | getDependencies()
Determine which aspects of the context the expression depends on. |
NodeInfo | getNode(Context context)
Return the node selected by this expression. |
Expression | reduce(int dependencies, Context context)
Perform a partial evaluation of the expression, by eliminating specified dependencies
on the context. |
Parameters: context The context for the evaluation
Returns: one NodeInfo only, namely the current node defined by the context
Parameters: dependencies The dependencies to be removed context The context to be used for the partial evaluation
Returns: a new expression that does not have any of the specified dependencies