public class VariableReferenceADJ extends ExpressionADJ
ci, expr
Constructor and Description |
---|
VariableReferenceADJ(Expression e) |
Modifier and Type | Method and Description |
---|---|
Expression |
interpolateVariables(RewriteContext rc)
When we interpolate a variable reference, we pull the stored value from the slot.
|
Expression |
unify(ExpressionADJ source,
RewriteContext rc)
When we unify an unbound variable reference with something,
we bind to that something held in an appropriate slot
|
applyAxis, copyLocationInfo, evaluateAgainstBoolean, export, getOperandPreconditions, getOperandPreconditions, getPreconditions, getPreconditions, getRetainedStaticContext, important, interpolateVariablesOperands, isCallOn, optimizeForContextType, optimizeForName, optimizeForType, optimizeOperandsForContextType, sameClass, unifyingBindings, unifyOperandBindings, unifyOperands
getExpressionAdjunct, getNodeTestAdjunct, getPatternAdjunct, index, processRewrites
public VariableReferenceADJ(Expression e)
public Expression unify(ExpressionADJ source, RewriteContext rc)
unify
in class ExpressionADJ
source
- the expression to be unified againstrc
- the evaluation context to use (which may be side-effected)public Expression interpolateVariables(RewriteContext rc)
interpolateVariables
in class ExpressionADJ
rc
- the evaluation context (which contains any variable bindings)Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.