com.icl.saxon.expr
public class ErrorExpression extends Expression
Constructor Summary | |
---|---|
ErrorExpression(XPathException exception)
Constructor |
Method Summary | |
---|---|
void | display(int level)
Diagnostic print of expression structure |
Value | evaluate(Context c)
Evaluate this expression. |
int | getDataType()
Determine the data type of the expression, if possible |
int | getDependencies()
Determine which aspects of the context the expression depends on. |
Expression | reduce(int dependencies, Context context)
Perform a partial evaluation of the expression, by eliminating specified dependencies
on the context. |
Parameters: exception the error found when parsing this expression
Returns: Value.ANY (meaning not known in advance)
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