public class AccumulatorRule extends Object implements RuleTarget
| Constructor and Description |
|---|
AccumulatorRule(Expression newValueExpression,
SlotManager stackFrameMap)
Create a rule
|
| Modifier and Type | Method and Description |
|---|---|
void |
explain(ExpressionPresenter presenter)
Output diagnostic explanation to an ExpressionPresenter
|
Expression |
getNewValueExpression() |
SlotManager |
getStackFrameMap() |
public AccumulatorRule(Expression newValueExpression, SlotManager stackFrameMap)
newValueExpression - the expression that computes a new value of the accumulator functionstackFrameMap - the stack frame used to evaluate this expressionpublic Expression getNewValueExpression()
public void explain(ExpressionPresenter presenter)
RuleTargetexplain in interface RuleTargetpublic SlotManager getStackFrameMap()
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.