diff options
author | 2021-08-03 18:42:39 +0900 | |
---|---|---|
committer | 2021-08-06 19:32:38 +0900 | |
commit | be4f78978faba3d3ceb88df02a7f93a2e09ff1e0 (patch) | |
tree | 1f3f1a96251ac4f655c8a96fc33d5d4ee779cd06 /rba.model.core/src/rba/core/LetStatement.java | |
parent | 71ca7c6cab863767ef30c8bd05b2bbfda8731cb5 (diff) |
Initial commit
Bug-AGL: SPEC-4033
Signed-off-by: Kenji Hosokawa <khosokawa@jp.adit-jv.com>
Diffstat (limited to 'rba.model.core/src/rba/core/LetStatement.java')
-rw-r--r-- | rba.model.core/src/rba/core/LetStatement.java | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/rba.model.core/src/rba/core/LetStatement.java b/rba.model.core/src/rba/core/LetStatement.java new file mode 100644 index 0000000..56d26ab --- /dev/null +++ b/rba.model.core/src/rba/core/LetStatement.java @@ -0,0 +1,84 @@ +/**
+ */
+package rba.core;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Let Statement</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * </p>
+ * <ul>
+ * <li>{@link rba.core.LetStatement#getVariable <em>Variable</em>}</li>
+ * <li>{@link rba.core.LetStatement#getBody <em>Body</em>}</li>
+ * </ul>
+ *
+ * @see rba.core.RBACorePackage#getLetStatement()
+ * @model
+ * @generated
+ */
+public interface LetStatement extends ModelElement {
+ /**
+ * Returns the value of the '<em><b>Variable</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Variable</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Variable</em>' containment reference.
+ * @see #setVariable(Variable)
+ * @see rba.core.RBACorePackage#getLetStatement_Variable()
+ * @model containment="true" required="true"
+ * @generated
+ */
+ Variable getVariable();
+
+ /**
+ * Sets the value of the '{@link rba.core.LetStatement#getVariable <em>Variable</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Variable</em>' containment reference.
+ * @see #getVariable()
+ * @generated
+ */
+ void setVariable(Variable value);
+
+ /**
+ * Returns the value of the '<em><b>Body</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Body</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Body</em>' containment reference.
+ * @see #setBody(Expression)
+ * @see rba.core.RBACorePackage#getLetStatement_Body()
+ * @model containment="true" required="true"
+ * @generated
+ */
+ Expression getBody();
+
+ /**
+ * Sets the value of the '{@link rba.core.LetStatement#getBody <em>Body</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Body</em>' containment reference.
+ * @see #getBody()
+ * @generated
+ */
+ void setBody(Expression value);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model required="true"
+ * annotation="http://www.eclipse.org/emf/2002/GenModel body='StringBuilder ret = new StringBuilder();\r\nret.append(\"let \"); //$NON-NLS-1$\r\nret.append(getVariable().getName());\r\nret.append(\"= \"); //$NON-NLS-1$\r\nret.append(getBody().getExpressionText());\r\nreturn ret.toString();'"
+ * @generated
+ */
+ String toString();
+
+} // LetStatement
|