public class Assign extends GeneralVariable implements BindingReference
evaluationMode, referenceCount, requiredType, select, slotNumber, variableQNameEVALUATE_METHOD, EVENT_FEED_METHOD, ITEM_FEED_METHOD, ITERATE_METHOD, locationId, PROCESS_METHOD, PUSH_SELECTION, staticProperties, WATCH_METHOD| Constructor and Description |
|---|
Assign() |
| Modifier and Type | Method and Description |
|---|---|
ValueRepresentation |
evaluateVariable(XPathContext context)
Evaluate the variable (method exists only to satisfy the interface)
|
void |
explain(ExpressionPresenter out)
Diagnostic print of expression structure.
|
void |
fixup(Binding binding)
Fix up this binding reference to a binding
|
int |
getInstructionNameCode()
Get the name of this instruction for diagnostic and tracing purposes
|
int |
getIntrinsicDependencies()
Determine the intrinsic dependencies of an expression, that is, those which are not derived
from the dependencies of its subexpressions.
|
TailCall |
processLeavingTail(XPathContext context)
ProcessLeavingTail: called to do the real work of this instruction.
|
Expression |
promote(PromotionOffer offer,
Expression parent)
Offer promotion for this subexpression.
|
void |
setStaticType(SequenceType type,
Value constantValue,
int properties)
Fix up the static type of this variable reference; optionally, supply a constant value for
the variable.
|
copy, evaluateItem, getCardinality, getEvaluationMode, getItemType, getLocalSlotNumber, getRequiredType, getSelectExpression, getSelectValue, getSlotNumber, getVariableQName, init, isAssignable, isGlobal, isImplicitlyRequiredParam, isRequiredParam, isTunnelParam, iterate, iterateSubExpressions, optimize, promoteInst, replaceSubExpression, setAssignable, setImplicitlyRequiredParam, setReferenceCount, setRequiredParam, setRequiredType, setSelectExpression, setSlotNumber, setTunnel, setVariableQName, simplify, typeCheckassembleParams, assembleTunnelParams, computeCardinality, computeSpecialProperties, createsNewNodes, dynamicError, evaluateAsString, getConstructType, getExpressionName, getImplementationMethod, getInstructionName, getIteratorFromProcessMethod, getSourceLocator, isXSLT, processaddToPathMap, adoptChildExpression, checkForUpdatingSubexpressions, checkPermittedContents, computeDependencies, computeStaticProperties, doPromotion, dynamicError, effectiveBooleanValue, evaluatePendingUpdates, explain, getColumnNumber, getColumnNumber, getContainer, getDependencies, getEvaluationMethod, getExecutable, getHostLanguage, getLineNumber, getLineNumber, getLocationId, getLocationProvider, getObjectName, getProperties, getProperty, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, getSystemId, hasLoopingSubexpression, implementsStaticTypeCheck, isSubtreeExpression, isUpdatingExpression, isVacuousExpression, iterateEvents, iterateSameFocusSubExpressions, markTailFunctionCalls, resetLocalStaticProperties, setContainer, setEvaluationMethod, setFiltered, setFlattened, setLocationId, staticTypeCheck, suppressValidation, toString, typeErrorpublic void setStaticType(SequenceType type, Value constantValue, int properties)
BindingReferencesetStaticType in interface BindingReferencepublic void fixup(Binding binding)
BindingReferencefixup in interface BindingReferencepublic int getIntrinsicDependencies()
ExpressiongetIntrinsicDependencies in class Expressionpublic Expression promote(PromotionOffer offer, Expression parent) throws XPathException
promote in class Instructionoffer - details of the offer, for example the offer to move
expressions that don't depend on the context to an outer level in
the containing expressionparent - XPathException - if any error is detectedpublic int getInstructionNameCode()
getInstructionNameCode in class GeneralVariablepublic TailCall processLeavingTail(XPathContext context) throws XPathException
InstructionprocessLeavingTail 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 context) throws XPathException
evaluateVariable in interface Bindingcontext - the XPath dynamic evaluation contextXPathExceptionpublic void explain(ExpressionPresenter out)
explain in class GeneralVariableout - the expression presenter used to display the structure