public class SystemFunctionCallADJ extends ExpressionADJ
ci, expr
Constructor and Description |
---|
SystemFunctionCallADJ(Expression e) |
Modifier and Type | Method and Description |
---|---|
Expression |
evaluateAgainstBoolean(Expression t,
PatternOptimizationEE patternOptimization)
Given an expression that is known to be true, produce a simplified version of this expression.
|
ExpressionADJ |
getArg(int i) |
int |
getArity() |
SystemFunction |
getTargetFunction() |
ExpressionADJ |
important()
Return the adjunct that is important for unification
|
Expression |
interpolateVariables(RewriteContext rc)
Intepolate variable values into this expression
|
Expression |
optimizeForContextType(ContextItemStaticInfo contextItemType)
Optimize a pattern with respect to a context item type
|
Adjunct |
processRewrites(PatternOptimizationEE patternOptimization)
process any rewrites for the attached expression or pattern
|
boolean |
sameSignature(ExpressionADJ exp)
Determine if this and another expression are calls to the same function and arity
|
Expression |
unify(ExpressionADJ source,
RewriteContext rc)
Unify this expression against another expression
|
Set<RewriteContext> |
unifyingBindings(ExpressionADJ source,
RewriteContext rc)
Unify this expression against another expression
|
applyAxis, copyLocationInfo, export, getOperandPreconditions, getOperandPreconditions, getPreconditions, getPreconditions, getRetainedStaticContext, interpolateVariablesOperands, isCallOn, optimizeForName, optimizeForType, optimizeOperandsForContextType, sameClass, unifyOperandBindings, unifyOperands
getExpressionAdjunct, getNodeTestAdjunct, getPatternAdjunct, index
public SystemFunctionCallADJ(Expression e)
public int getArity()
public SystemFunction getTargetFunction()
public ExpressionADJ getArg(int i)
public Expression evaluateAgainstBoolean(Expression t, PatternOptimizationEE patternOptimization)
ExpressionADJ
evaluateAgainstBoolean
in class ExpressionADJ
t
- the expression assumed to be true.public Expression optimizeForContextType(ContextItemStaticInfo contextItemType)
ExpressionADJ
optimizeForContextType
in class ExpressionADJ
contextItemType
- the type of the context itempublic boolean sameSignature(ExpressionADJ exp)
exp
- the adjunct for the expression to be comparedpublic Set<RewriteContext> unifyingBindings(ExpressionADJ source, RewriteContext rc)
ExpressionADJ
unifyingBindings
in class ExpressionADJ
source
- the expression to be unified againstrc
- the evaluation context to use (which may be side-effected)public 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)public Adjunct processRewrites(PatternOptimizationEE patternOptimization)
Adjunct
processRewrites
in class Adjunct
patternOptimization
- definitions of pattern optimization controlspublic ExpressionADJ important()
important
in class ExpressionADJ
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.