Package org.eclipse.m2m.atl.emftvm.impl
Class RuleImpl.IsLeafState
- java.lang.Object
-
- org.eclipse.m2m.atl.emftvm.impl.RuleImpl.LeafState
-
- org.eclipse.m2m.atl.emftvm.impl.RuleImpl.IsLeafState
-
- Enclosing class:
- RuleImpl
protected class RuleImpl.IsLeafState extends RuleImpl.LeafState
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedIsLeafState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanapplyFirst(StackFrame frame)Applies and post-applies this rule for the first recorded match.boolean[]matchRecursive(StackFrame frame)Matches#getRule()for the automatic recursive stage, if applicable.-
Methods inherited from class org.eclipse.m2m.atl.emftvm.impl.RuleImpl.LeafState
matchSingle
-
-
-
-
Method Detail
-
matchRecursive
public boolean[] matchRecursive(StackFrame frame)
Matches#getRule()for the automatic recursive stage, if applicable.- Specified by:
matchRecursivein classRuleImpl.LeafState- Parameters:
frame- the stack frame in which to execute the matcher- Returns:
trueiff the rule has any matches
-
applyFirst
public boolean applyFirst(StackFrame frame)
Applies and post-applies this rule for the first recorded match.- Overrides:
applyFirstin classRuleImpl.LeafState- Parameters:
frame- the stack frame in which to execute the applier and post-applier- Returns:
trueiff this rule was applied
-
-