public final class LocalParam extends GeneralVariable
evaluationMode, nameCode, referenceCount, requiredType, select, slotNumber
locationId, staticProperties
EVALUATE_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, typeCheck
appendItem, assembleParams, assembleTunnelParams, computeCardinality, computeSpecialProperties, createsNewNodes, dynamicError, evaluateAsString, getImplementationMethod, getInstructionInfo, getSourceLocator, isXSLT, process, promote
adoptChildExpression, 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, typeError
public void setConversion(Expression convertor)
convertor
- public int getInstructionNameCode()
getInstructionNameCode
in class GeneralVariable
public java.util.Iterator iterateSubExpressions()
iterateSubExpressions
in interface Expression
iterateSubExpressions
in class GeneralVariable
public boolean replaceSubExpression(Expression original, Expression replacement)
replaceSubExpression
in interface Container
replaceSubExpression
in class GeneralVariable
original
- the original subexpressionreplacement
- the replacement subexpressionpublic TailCall processLeavingTail(XPathContext context) throws XPathException
processLeavingTail
in interface TailCallReturner
processLeavingTail
in class Instruction
context
- The dynamic context of the transformation, giving access to the current node,
the current variables, etc.XPathException
public ValueRepresentation evaluateVariable(XPathContext c)