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, unifyOperandsgetExpressionAdjunct, getNodeTestAdjunct, getPatternAdjunct, indexpublic SystemFunctionCallADJ(Expression e)
public int getArity()
public SystemFunction getTargetFunction()
public ExpressionADJ getArg(int i)
public Expression evaluateAgainstBoolean(Expression t, PatternOptimizationEE patternOptimization)
ExpressionADJevaluateAgainstBoolean in class ExpressionADJt - the expression assumed to be true.public Expression optimizeForContextType(ContextItemStaticInfo contextItemType)
ExpressionADJoptimizeForContextType in class ExpressionADJcontextItemType - 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)
ExpressionADJunifyingBindings in class ExpressionADJsource - the expression to be unified againstrc - the evaluation context to use (which may be side-effected)public Expression unify(ExpressionADJ source, RewriteContext rc)
ExpressionADJunify in class ExpressionADJsource - the expression to be unified againstrc - the evaluation context to use (which may be side-effected)public Expression interpolateVariables(RewriteContext rc)
ExpressionADJinterpolateVariables in class ExpressionADJrc - the evaluation context (which contains any variable bindings)public Adjunct processRewrites(PatternOptimizationEE patternOptimization)
AdjunctprocessRewrites in class AdjunctpatternOptimization - definitions of pattern optimization controlspublic ExpressionADJ important()
important in class ExpressionADJCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.