Package org.eclipse.m2m.atl.emftvm.impl
Class RuleImpl.ApplierCbState
- java.lang.Object
-
- org.eclipse.m2m.atl.emftvm.impl.RuleImpl.ApplierCbState
-
- Direct Known Subclasses:
RuleImpl.WithApplierWithoutPostApplyCbState
,RuleImpl.WithApplierWithPostApplyCbState
,RuleImpl.WithoutApplierWithoutPostApplyCbState
,RuleImpl.WithoutApplierWithPostApplyCbState
- Enclosing class:
- RuleImpl
protected abstract class RuleImpl.ApplierCbState extends java.lang.Object
Base class for code that depends on whether the rule has aRule.getApplier()
code block and/or aRule.getPostApply()
code block.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ApplierCbState()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract java.lang.Object
applyFor(StackFrame frame, TraceLink trace)
Applies this rule for the giventrace
.abstract java.lang.Object
postApplyFor(StackFrame frame, TraceLink trace)
Post-applies this rule for the giventrace
.
-
-
-
Method Detail
-
applyFor
public abstract java.lang.Object applyFor(StackFrame frame, TraceLink trace)
Applies this rule for the giventrace
.- Parameters:
frame
- the stack frame contexttrace
- the trace link to apply the rule for- Returns:
- the application result
-
postApplyFor
public abstract java.lang.Object postApplyFor(StackFrame frame, TraceLink trace)
Post-applies this rule for the giventrace
.- Parameters:
frame
- the stack frame contexttrace
- the trace link to postApply the rule for- Returns:
- the application result
-
-