Package org.eclipse.m2m.atl.emftvm.impl
Class RuleImpl.SuperRulesState
- java.lang.Object
-
- org.eclipse.m2m.atl.emftvm.impl.RuleImpl.SuperRulesState
-
- Direct Known Subclasses:
RuleImpl.WithoutSuperRulesState,RuleImpl.WithSuperRulesState
- Enclosing class:
- RuleImpl
protected abstract class RuleImpl.SuperRulesState extends java.lang.ObjectBase class for code that depends on whether the rule has anyRule.getESuperRules().
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSuperRulesState()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidcompileIterables(ExecEnv env)Compiles a list or map of iterables for each input rule element.abstract booleanmatch(StackFrame frame)Matches#getRule().abstract booleanmatchOne(StackFrame frame)Matches up to one match for#getRule().
-
-
-
Method Detail
-
match
public abstract boolean match(StackFrame frame)
Matches#getRule().- Parameters:
frame- the stack frame in which to execute the matcher- Returns:
trueiff the rule has any matches
-
matchOne
public abstract boolean matchOne(StackFrame frame)
Matches up to one match for#getRule().- Returns:
trueiff the rule has any matches
-
compileIterables
public abstract void compileIterables(ExecEnv env)
Compiles a list or map of iterables for each input rule element.- Parameters:
env- the execution environment with models
-
-