Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/Rule.java')
-rw-r--r--plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/Rule.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/Rule.java b/plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/Rule.java
index 239d362f..4942b3ab 100644
--- a/plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/Rule.java
+++ b/plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/Rule.java
@@ -549,6 +549,19 @@ public interface Rule extends NamedElement {
/**
* <!-- begin-user-doc -->
+ * Matches this rule only (without suoer-rules) for <code>valuesMap</code>.
+ * Call {@link #compileState()} before calling this method.
+ * @param frame the stack frame in which to execute the matcher
+ * @param valuesMap the values to match against
+ * @return <code>true</code> iff the rule matches
+ * <!-- end-user-doc -->
+ * @model frameDataType="org.eclipse.m2m.atl.emftvm.StackFrame"
+ * @generated
+ */
+ boolean matchOneOnly(StackFrame frame, Map<String, Object> valuesMap);
+
+ /**
+ * <!-- begin-user-doc -->
* Creates trace elements for the recorded matches for this rule.
* Call {@link #compileState()} before calling this method.
* @param frame the stack frame context
@@ -612,6 +625,18 @@ public interface Rule extends NamedElement {
boolean applyFirst(StackFrame frame);
/**
+ * <!-- begin-user-doc -->
+ * Applies {@link #getRule()} to <code>trace</code>
+ * @param frame the stack frame in which to execute the applier and post-apply
+ * @param trace the source and target values to which to apply the rule
+ * @return the rule application result
+ * <!-- end-user-doc -->
+ * @model frameDataType="org.eclipse.m2m.atl.emftvm.StackFrame"
+ * @generated
+ */
+ Object applyOne(StackFrame frame, TraceLink trace);
+
+ /**
* <!-- begin-user-doc -->
* Applies this rule for the given <code>trace</code>. Call {@link #compileState()} before calling this method.
*

Back to the top