-
Notifications
You must be signed in to change notification settings - Fork 317
/
Function.java
227 lines (208 loc) · 8.75 KB
/
Function.java
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
/**
* Copyright (c) 2010, 2024 itemis AG (http://www.itemis.eu) and others.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
*/
package org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Function</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Function#getDocumentation <em>Documentation</em>}</li>
* <li>{@link org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Function#getVisibility <em>Visibility</em>}</li>
* <li>{@link org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Function#isFinal <em>Final</em>}</li>
* <li>{@link org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Function#getReturnType <em>Return Type</em>}</li>
* <li>{@link org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Function#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Function#getParameters <em>Parameters</em>}</li>
* <li>{@link org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Function#isVarArgs <em>Var Args</em>}</li>
* <li>{@link org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Function#getGuard <em>Guard</em>}</li>
* <li>{@link org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Function#getFuncExpr <em>Func Expr</em>}</li>
* </ul>
*
* @see org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.BeeLangTestLanguagePackage#getFunction()
* @model
* @generated
*/
public interface Function extends Expression
{
/**
* Returns the value of the '<em><b>Documentation</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Documentation</em>' attribute.
* @see #setDocumentation(String)
* @see org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.BeeLangTestLanguagePackage#getFunction_Documentation()
* @model
* @generated
*/
String getDocumentation();
/**
* Sets the value of the '{@link org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Function#getDocumentation <em>Documentation</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Documentation</em>' attribute.
* @see #getDocumentation()
* @generated
*/
void setDocumentation(String value);
/**
* Returns the value of the '<em><b>Visibility</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Visibility</em>' attribute.
* @see #setVisibility(String)
* @see org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.BeeLangTestLanguagePackage#getFunction_Visibility()
* @model
* @generated
*/
String getVisibility();
/**
* Sets the value of the '{@link org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Function#getVisibility <em>Visibility</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Visibility</em>' attribute.
* @see #getVisibility()
* @generated
*/
void setVisibility(String value);
/**
* Returns the value of the '<em><b>Final</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Final</em>' attribute.
* @see #setFinal(boolean)
* @see org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.BeeLangTestLanguagePackage#getFunction_Final()
* @model
* @generated
*/
boolean isFinal();
/**
* Sets the value of the '{@link org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Function#isFinal <em>Final</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Final</em>' attribute.
* @see #isFinal()
* @generated
*/
void setFinal(boolean value);
/**
* Returns the value of the '<em><b>Return Type</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Return Type</em>' containment reference.
* @see #setReturnType(TypeRef)
* @see org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.BeeLangTestLanguagePackage#getFunction_ReturnType()
* @model containment="true"
* @generated
*/
TypeRef getReturnType();
/**
* Sets the value of the '{@link org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Function#getReturnType <em>Return Type</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Return Type</em>' containment reference.
* @see #getReturnType()
* @generated
*/
void setReturnType(TypeRef value);
/**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.BeeLangTestLanguagePackage#getFunction_Name()
* @model
* @generated
*/
String getName();
/**
* Sets the value of the '{@link org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Function#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
void setName(String value);
/**
* Returns the value of the '<em><b>Parameters</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.ParameterDeclaration}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Parameters</em>' containment reference list.
* @see org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.BeeLangTestLanguagePackage#getFunction_Parameters()
* @model containment="true"
* @generated
*/
EList<ParameterDeclaration> getParameters();
/**
* Returns the value of the '<em><b>Var Args</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Var Args</em>' attribute.
* @see #setVarArgs(boolean)
* @see org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.BeeLangTestLanguagePackage#getFunction_VarArgs()
* @model
* @generated
*/
boolean isVarArgs();
/**
* Sets the value of the '{@link org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Function#isVarArgs <em>Var Args</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Var Args</em>' attribute.
* @see #isVarArgs()
* @generated
*/
void setVarArgs(boolean value);
/**
* Returns the value of the '<em><b>Guard</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Guard</em>' containment reference.
* @see #setGuard(GuardExpression)
* @see org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.BeeLangTestLanguagePackage#getFunction_Guard()
* @model containment="true"
* @generated
*/
GuardExpression getGuard();
/**
* Sets the value of the '{@link org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Function#getGuard <em>Guard</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Guard</em>' containment reference.
* @see #getGuard()
* @generated
*/
void setGuard(GuardExpression value);
/**
* Returns the value of the '<em><b>Func Expr</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Func Expr</em>' containment reference.
* @see #setFuncExpr(Expression)
* @see org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.BeeLangTestLanguagePackage#getFunction_FuncExpr()
* @model containment="true"
* @generated
*/
Expression getFuncExpr();
/**
* Sets the value of the '{@link org.eclipse.xtext.testlanguages.backtracking.beeLangTestLanguage.Function#getFuncExpr <em>Func Expr</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Func Expr</em>' containment reference.
* @see #getFuncExpr()
* @generated
*/
void setFuncExpr(Expression value);
} // Function