public final class LocalParam extends GeneralVariable
evaluationMode, nameCode, referenceCount, requiredType, select, slotNumberlocationId, staticPropertiesEVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD| Constructor and Description |
|---|
LocalParam() |
| Modifier and Type | Method and Description |
|---|---|
ValueRepresentation |
evaluateVariable(XPathContext c)
Evaluate the variable
|
int |
getInstructionNameCode()
Get the name of this instruction for diagnostic and tracing purposes
|
java.util.Iterator |
iterateSubExpressions()
Get all the XPath expressions associated with this instruction
(in XSLT terms, the expression present on attributes of the instruction,
as distinct from the child instructions in a sequence construction)
|
TailCall |
processLeavingTail(XPathContext context)
Process the local parameter declaration
|
boolean |
replaceSubExpression(Expression original,
Expression replacement)
Replace one subexpression by a replacement subexpression
|
void |
setConversion(Expression convertor)
Define a conversion that is to be applied to the supplied parameter value.
|
display, evaluateItem, getCardinality, getItemType, getLocalSlotNumber, getNameCode, getRequiredType, getSelectExpression, getSelectValue, getSlotNumber, getVariableFingerprint, getVariableName, init, isAssignable, isGlobal, isImplicitlyRequiredParam, isRequiredParam, isTunnelParam, iterate, optimize, promoteInst, setAssignable, setImplicitlyRequiredParam, setNameCode, setReferenceCount, setRequiredParam, setRequiredType, setSelectExpression, setSlotNumber, setTunnel, setVariableName, simplify, typeCheckappendItem, assembleParams, assembleTunnelParams, computeCardinality, computeSpecialProperties, createsNewNodes, dynamicError, evaluateAsString, getImplementationMethod, getInstructionInfo, getSourceLocator, isXSLT, process, promoteadoptChildExpression, checkPermittedContents, computeDependencies, computeStaticProperties, doPromotion, dynamicError, effectiveBooleanValue, getColumnNumber, getConstructType, getDependencies, getExecutable, getHostLanguage, getIntrinsicDependencies, getLineNumber, getLocationId, getLocationProvider, getParentExpression, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, hasBadParentPointer, markTailFunctionCalls, resetStaticProperties, setLocationId, setParentExpression, setParentExpression, suppressValidation, typeErrorpublic void setConversion(Expression convertor)
convertor - public int getInstructionNameCode()
getInstructionNameCode in class GeneralVariablepublic java.util.Iterator iterateSubExpressions()
iterateSubExpressions in interface ExpressioniterateSubExpressions in class GeneralVariablepublic boolean replaceSubExpression(Expression original, Expression replacement)
replaceSubExpression in interface ContainerreplaceSubExpression in class GeneralVariableoriginal - the original subexpressionreplacement - the replacement subexpressionpublic TailCall processLeavingTail(XPathContext context) throws XPathException
processLeavingTail in interface TailCallReturnerprocessLeavingTail in class Instructioncontext - The dynamic context of the transformation, giving access to the current node,
the current variables, etc.XPathExceptionpublic ValueRepresentation evaluateVariable(XPathContext c)