net.sf.saxon.expr
public final class TailCallLoop extends UnaryExpression
Field Summary | |
---|---|
UserFunction | containingFunction |
Constructor Summary | |
---|---|
TailCallLoop(UserFunction function)
Constructor - create a TailCallLoop |
Method Summary | |
---|---|
Expression | copy()
Copy an expression. |
protected String | displayExpressionName()
Give a string representation of the expression name for use in diagnostics |
Item | evaluateItem(XPathContext context)
Evaluate as an Item. |
UserFunction | getContainingFunction()
Get the containing function |
int | getImplementationMethod()
An implementation of Expression must provide at least one of the methods evaluateItem(), iterate(), or process().
|
ItemType | getItemType(TypeHierarchy th)
Determine the data type of the items returned by the expression |
SequenceIterator | iterate(XPathContext context)
Iterate over the sequence of values |
void | process(XPathContext context)
Process the function body |
Expression | typeCheck(ExpressionVisitor visitor, ItemType contextItemType)
Type-check the expression |
Parameters: function the function in which this tail call loop appears
Returns: the copy of the original expression
Returns: the expression name, as a string
Returns: the containing function
Parameters: th The type hierarchy cache
Parameters: context The dynamic context, giving access to the current node, the current variables, etc.