public class UnaryExpressionADJ extends ExpressionADJ
ci, expr
Constructor and Description |
---|
UnaryExpressionADJ(Expression e) |
Modifier and Type | Method and Description |
---|---|
Set<Expression> |
getPreconditions(PatternOptimizationEE patternOptimization)
Get the preconditions for an expression
|
Expression |
interpolateVariables(RewriteContext rc)
Intepolate variable values into this expression
|
Expression |
optimizeForContextType(ContextItemStaticInfo contextItemType)
Optimize a pattern with respect to a context item type
|
Expression |
unify(ExpressionADJ source,
RewriteContext rc)
Unify this expression against another expression
|
applyAxis, copyLocationInfo, evaluateAgainstBoolean, export, getOperandPreconditions, getOperandPreconditions, getPreconditions, getRetainedStaticContext, important, interpolateVariablesOperands, isCallOn, optimizeForName, optimizeForType, optimizeOperandsForContextType, sameClass, unifyingBindings, unifyOperandBindings, unifyOperands
getExpressionAdjunct, getNodeTestAdjunct, getPatternAdjunct, index, processRewrites
public UnaryExpressionADJ(Expression e)
public Set<Expression> getPreconditions(PatternOptimizationEE patternOptimization)
ExpressionADJ
Note that as a Pattern is a subclass of Expression, we need different named functions for each type.
getPreconditions
in class ExpressionADJ
public Expression optimizeForContextType(ContextItemStaticInfo contextItemType)
ExpressionADJ
optimizeForContextType
in class ExpressionADJ
contextItemType
- the type of the context itempublic Expression unify(ExpressionADJ source, RewriteContext rc)
ExpressionADJ
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)
ExpressionADJ
interpolateVariables
in class ExpressionADJ
rc
- the evaluation context (which contains any variable bindings)Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.