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
Base class for code that depends on whether the rule has a
Rule.getApplier()
code block and/or a Rule.getPostApply()
code block.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Object
applyFor
(StackFrame frame, TraceLink trace) Applies this rule for the giventrace
.abstract Object
postApplyFor
(StackFrame frame, TraceLink trace) Post-applies this rule for the giventrace
.
-
Constructor Details
-
ApplierCbState
protected ApplierCbState()
-
-
Method Details
-
applyFor
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
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
-