Evaluator.EagerSequence, Evaluator.EmptySequenceEvaluator, Evaluator.LazySequence, Evaluator.LazyTail, Evaluator.Literal, Evaluator.MakeIndexedVariable, Evaluator.MemoClosureEvaluator, Evaluator.OptionalItem, Evaluator.Process, Evaluator.SharedAppend, Evaluator.SingleItem, Evaluator.SingletonClosure, Evaluator.StreamingArgument, Evaluator.SuppliedParameter, Evaluator.Variable| Modifier and Type | Field and Description |
|---|---|
static Evaluator.SingleItem |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
Item |
evaluate(Expression expr,
XPathContext context)
Evaluate an expression to return a sequence
|
int |
getCode()
Get the integer code for the evaluator
|
public static final Evaluator.SingleItem INSTANCE
public int getCode()
Evaluatorpublic Item evaluate(Expression expr, XPathContext context) throws XPathException
Evaluatorevaluate in class Evaluatorexpr - the expression to be evaluatedcontext - the dynamic context for evaluationXPathException - if any dynamic error occurs during the evaluationCopyright (c) 2004-2022 Saxonica Limited. All rights reserved.