Package org.eclipse.m2m.atl.emftvm.impl
Class RuleImpl.AutomaticSingleState
java.lang.Object
org.eclipse.m2m.atl.emftvm.impl.RuleImpl.RuleModeState
org.eclipse.m2m.atl.emftvm.impl.RuleImpl.AutomaticSingleState
- Enclosing class:
RuleImpl
RuleImpl.RuleModeState class for rules with mode RuleMode.AUTOMATIC_SINGLE.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatchFor(StackFrame frame, Object[] values) Matches this rule againstvalues, and records a match inExecEnv.getMatches()in case of a match.booleanMatches this rule againstvalues, and records a match inExecEnv.getMatches()in case of a match.booleanmatchSingle(StackFrame frame) Matchesfor the automatic single stage, if applicable.invalid reference
#getRule()Methods inherited from class org.eclipse.m2m.atl.emftvm.impl.RuleImpl.RuleModeState
matchManual, matchManualTrace, matchRecursive
-
Constructor Details
-
AutomaticSingleState
protected AutomaticSingleState()
-
-
Method Details
-
matchSingle
Matchesfor the automatic single stage, if applicable.invalid reference
#getRule()- Overrides:
matchSinglein classRuleImpl.RuleModeState- Parameters:
frame- the stack frame in which to execute the matcher- Returns:
trueiff the rule has any matches
-
matchFor
Matches this rule againstvalues, and records a match inExecEnv.getMatches()in case of a match. In case of a unique rule, this method will not match if the rule has already matched againstvaluesbefore.- Specified by:
matchForin classRuleImpl.RuleModeState- Parameters:
frame- the stack frame contextvalues- the source values to match against- Returns:
trueiff this rule matches againstvalues
-
matchFor
Matches this rule againstvalues, and records a match inExecEnv.getMatches()in case of a match. In case of a unique rule, this method will not match if the rule has already matched againstvaluesbefore.- Specified by:
matchForin classRuleImpl.RuleModeState- Parameters:
frame- the stack frame contextvaluesMap- the map of all values, including super-rule elementsvalues- the source values to match against- Returns:
trueiff this rule matches againstvalues
-