net.sf.saxon.instruct
public class Assign extends GeneralVariable implements BindingReference
Constructor Summary | |
---|---|
Assign() |
Method Summary | |
---|---|
ValueRepresentation | evaluateVariable(XPathContext context)
Evaluate the variable (method exists only to satisfy the interface) |
void | fixup(Binding binding) |
int | getInstructionNameCode()
Get the name of this instruction for diagnostic and tracing purposes |
int | getIntrinsicDependencies() |
TailCall | processLeavingTail(XPathContext context) |
Expression | promote(PromotionOffer offer)
Offer promotion for this subexpression. |
void | setStaticType(SequenceType type, Value constantValue, int properties) |
Parameters: offer 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 expression
Returns: if the offer is not accepted, return this expression unchanged. Otherwise return the result of rewriting the expression to promote this subexpression
Throws: net.sf.saxon.trans.XPathException if any error is detected