blob: 56d26abeb74af83716c4acc4d12814264e033def (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
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
|