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
Base class for code that depends on whether the rule has any
Rule.getESuperRules().-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidcompileIterables(ExecEnv env) Compiles a list or map of iterables for each input rule element.abstract booleanmatch(StackFrame frame) Matches.invalid reference
#getRule()abstract booleanmatchOne(StackFrame frame) Matches up to one match for.invalid reference
#getRule()
-
Constructor Details
-
SuperRulesState
protected SuperRulesState()
-
-
Method Details
-
match
Matches.invalid reference
#getRule()- Parameters:
frame- the stack frame in which to execute the matcher- Returns:
trueiff the rule has any matches
-
matchOne
Matches up to one match for.invalid reference
#getRule()- Returns:
trueiff the rule has any matches
-
compileIterables
Compiles a list or map of iterables for each input rule element.- Parameters:
env- the execution environment with models
-