public abstract static class SystemFunctionCall.Optimized extends SystemFunctionCall
SystemFunctionCall.OptimizedargumentEvaluatorsEFFECTIVE_BOOLEAN_VALUE, EVALUATE_METHOD, ITEM_FEED_METHOD, ITERATE_METHOD, MAX_SEQUENCE_LENGTH, MAX_STRING_LENGTH, PROCESS_METHOD, staticProperties, UNBOUNDED_LOWER, UNBOUNDED_UPPER, UPDATE_METHOD, WATCH_METHOD| Constructor and Description | 
|---|
Optimized(SystemFunction target,
         Expression[] arguments)  | 
| Modifier and Type | Method and Description | 
|---|---|
Expression | 
optimize(ExpressionVisitor visitor,
        ContextItemStaticInfo contextInfo)
Perform optimisation of an expression and its subexpressions. 
 | 
addToPathMap, computeCardinality, computeSpecialProperties, copy, evaluateArguments, export, getExpressionName, getIntegerBounds, getIntrinsicDependencies, getItemType, getNetCost, getScopingExpression, getTargetFunction, isLiftable, isNegatable, isVacuousExpression, negate, preEvaluate, resetLocalStaticProperties, setRetainedStaticContext, toPattern, typeCheck, unorderedcall, getFunctionName, getStaticUType, getTargetFunction, isCallOn, isCallOnSystemFunctionaddExternalFunctionCallToPathMap, adjustRequiredType, checkArgumentCount, checkArguments, checkFunctionCall, computeHashCode, equals, getArg, getArguments, getArity, getDisplayName, getImplementationMethod, getOperanda, iterate, operands, pluralArguments, preEvaluateIfConstant, setArg, setArguments, setOperanda, setOperanda, simplifyArguments, toShortString, toStringadoptChildExpression, allowExtractingCommonSubexpressions, checkedOperands, checkForUpdatingSubexpressions, checkPermittedContents, computeDependencies, computeStaticProperties, dynamicError, effectiveBooleanValue, evaluateAsString, evaluateItem, evaluatePendingUpdates, explain, getCardinality, getConfiguration, getConstructType, getCost, getDependencies, getEvaluationMethod, getExtraProperty, getInterpretedExpression, getLocalRetainedStaticContext, getLocation, getObjectName, getPackageData, getParentExpression, getProperties, getProperty, getRetainedStaticContext, getSlotsUsed, getSpecialProperties, getStaticBaseURI, getStaticBaseURIString, getStaticType, getStreamerName, hasCompatibleStaticContext, hashCode, hasVariableBinding, identityHashCode, implementsStaticTypeCheck, isIdentical, isInstruction, isMultiThreaded, isSameExpression, isStaticPropertiesKnown, isSubtreeExpression, isUpdatingExpression, markTailFunctionCalls, operandList, operandSparseList, optimizeChildren, process, restoreParentPointers, setEvaluationMethod, setExtraProperty, setFiltered, setFlattened, setLocation, setParentExpression, setRetainedStaticContextLocally, setRetainedStaticContextThoroughly, setStaticProperty, simplify, simplifyChildren, staticTypeCheck, suppressValidation, typeCheckChildren, typeError, verifyParentPointers, verifyParentPointerspublic Optimized(SystemFunction target, Expression[] arguments)
public Expression optimize(ExpressionVisitor visitor, ContextItemStaticInfo contextInfo) throws XPathException
FunctionCallThis method is called after all references to functions and variables have been resolved to the declaration of the function or variable, and after all type checking has been done.
optimize in class SystemFunctionCallvisitor - an expression visitorcontextInfo - the static type of "." at the point where this expression is invoked.
                        The parameter is set to null if it is known statically that the context item will be undefined.
                        If the type of the context item is not known statically, the argument is set to
                        Type.ITEM_TYPEXPathException - if an error is discovered during this phase
                        (typically a type error)Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.