diff options
Diffstat (limited to 'Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageSwitch.java')
-rw-r--r-- | Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageSwitch.java | 1410 |
1 files changed, 1410 insertions, 0 deletions
diff --git a/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageSwitch.java b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageSwitch.java new file mode 100644 index 00000000..9c67bad7 --- /dev/null +++ b/Solvers/Alloy-Solver2/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageSwitch.java | |||
@@ -0,0 +1,1410 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package hu.bme.mit.inf.dslreasoner.alloyLanguage.util; | ||
4 | |||
5 | import hu.bme.mit.inf.dslreasoner.alloyLanguage.*; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | import org.eclipse.emf.ecore.EPackage; | ||
9 | |||
10 | import org.eclipse.emf.ecore.util.Switch; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * The <b>Switch</b> for the model's inheritance hierarchy. | ||
15 | * It supports the call {@link #doSwitch(EObject) doSwitch(object)} | ||
16 | * to invoke the <code>caseXXX</code> method for each class of the model, | ||
17 | * starting with the actual class of the object | ||
18 | * and proceeding up the inheritance hierarchy | ||
19 | * until a non-null result is returned, | ||
20 | * which is the result of the switch. | ||
21 | * <!-- end-user-doc --> | ||
22 | * @see hu.bme.mit.inf.dslreasoner.alloyLanguage.AlloyLanguagePackage | ||
23 | * @generated | ||
24 | */ | ||
25 | public class AlloyLanguageSwitch<T> extends Switch<T> | ||
26 | { | ||
27 | /** | ||
28 | * The cached model package | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <!-- end-user-doc --> | ||
31 | * @generated | ||
32 | */ | ||
33 | protected static AlloyLanguagePackage modelPackage; | ||
34 | |||
35 | /** | ||
36 | * Creates an instance of the switch. | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @generated | ||
40 | */ | ||
41 | public AlloyLanguageSwitch() | ||
42 | { | ||
43 | if (modelPackage == null) | ||
44 | { | ||
45 | modelPackage = AlloyLanguagePackage.eINSTANCE; | ||
46 | } | ||
47 | } | ||
48 | |||
49 | /** | ||
50 | * Checks whether this is a switch for the given package. | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @param ePackage the package in question. | ||
54 | * @return whether this is a switch for the given package. | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected boolean isSwitchFor(EPackage ePackage) | ||
59 | { | ||
60 | return ePackage == modelPackage; | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @return the first non-null result returned by a <code>caseXXX</code> call. | ||
68 | * @generated | ||
69 | */ | ||
70 | @Override | ||
71 | protected T doSwitch(int classifierID, EObject theEObject) | ||
72 | { | ||
73 | switch (classifierID) | ||
74 | { | ||
75 | case AlloyLanguagePackage.ALS_DOCUMENT: | ||
76 | { | ||
77 | ALSDocument alsDocument = (ALSDocument)theEObject; | ||
78 | T result = caseALSDocument(alsDocument); | ||
79 | if (result == null) result = defaultCase(theEObject); | ||
80 | return result; | ||
81 | } | ||
82 | case AlloyLanguagePackage.ALS_RELATION_DECLARATION: | ||
83 | { | ||
84 | ALSRelationDeclaration alsRelationDeclaration = (ALSRelationDeclaration)theEObject; | ||
85 | T result = caseALSRelationDeclaration(alsRelationDeclaration); | ||
86 | if (result == null) result = defaultCase(theEObject); | ||
87 | return result; | ||
88 | } | ||
89 | case AlloyLanguagePackage.ALS_TYPE_DECLARATION: | ||
90 | { | ||
91 | ALSTypeDeclaration alsTypeDeclaration = (ALSTypeDeclaration)theEObject; | ||
92 | T result = caseALSTypeDeclaration(alsTypeDeclaration); | ||
93 | if (result == null) result = caseALSRelationDeclaration(alsTypeDeclaration); | ||
94 | if (result == null) result = defaultCase(theEObject); | ||
95 | return result; | ||
96 | } | ||
97 | case AlloyLanguagePackage.ALS_ENUM_DECLARATION: | ||
98 | { | ||
99 | ALSEnumDeclaration alsEnumDeclaration = (ALSEnumDeclaration)theEObject; | ||
100 | T result = caseALSEnumDeclaration(alsEnumDeclaration); | ||
101 | if (result == null) result = caseALSTypeDeclaration(alsEnumDeclaration); | ||
102 | if (result == null) result = caseALSRelationDeclaration(alsEnumDeclaration); | ||
103 | if (result == null) result = defaultCase(theEObject); | ||
104 | return result; | ||
105 | } | ||
106 | case AlloyLanguagePackage.ALS_ENUM_LITERAL: | ||
107 | { | ||
108 | ALSEnumLiteral alsEnumLiteral = (ALSEnumLiteral)theEObject; | ||
109 | T result = caseALSEnumLiteral(alsEnumLiteral); | ||
110 | if (result == null) result = caseALSRelationDeclaration(alsEnumLiteral); | ||
111 | if (result == null) result = defaultCase(theEObject); | ||
112 | return result; | ||
113 | } | ||
114 | case AlloyLanguagePackage.ALS_SIGNATURE_DECLARATION: | ||
115 | { | ||
116 | ALSSignatureDeclaration alsSignatureDeclaration = (ALSSignatureDeclaration)theEObject; | ||
117 | T result = caseALSSignatureDeclaration(alsSignatureDeclaration); | ||
118 | if (result == null) result = caseALSTypeDeclaration(alsSignatureDeclaration); | ||
119 | if (result == null) result = caseALSRelationDeclaration(alsSignatureDeclaration); | ||
120 | if (result == null) result = defaultCase(theEObject); | ||
121 | return result; | ||
122 | } | ||
123 | case AlloyLanguagePackage.ALS_SIGNATURE_BODY: | ||
124 | { | ||
125 | ALSSignatureBody alsSignatureBody = (ALSSignatureBody)theEObject; | ||
126 | T result = caseALSSignatureBody(alsSignatureBody); | ||
127 | if (result == null) result = defaultCase(theEObject); | ||
128 | return result; | ||
129 | } | ||
130 | case AlloyLanguagePackage.ALS_FIELD_DECLARATION: | ||
131 | { | ||
132 | ALSFieldDeclaration alsFieldDeclaration = (ALSFieldDeclaration)theEObject; | ||
133 | T result = caseALSFieldDeclaration(alsFieldDeclaration); | ||
134 | if (result == null) result = caseALSRelationDeclaration(alsFieldDeclaration); | ||
135 | if (result == null) result = defaultCase(theEObject); | ||
136 | return result; | ||
137 | } | ||
138 | case AlloyLanguagePackage.ALS_DEFINITION: | ||
139 | { | ||
140 | ALSDefinition alsDefinition = (ALSDefinition)theEObject; | ||
141 | T result = caseALSDefinition(alsDefinition); | ||
142 | if (result == null) result = defaultCase(theEObject); | ||
143 | return result; | ||
144 | } | ||
145 | case AlloyLanguagePackage.ALS_FUNCTION_DEFINITION: | ||
146 | { | ||
147 | ALSFunctionDefinition alsFunctionDefinition = (ALSFunctionDefinition)theEObject; | ||
148 | T result = caseALSFunctionDefinition(alsFunctionDefinition); | ||
149 | if (result == null) result = caseALSDefinition(alsFunctionDefinition); | ||
150 | if (result == null) result = defaultCase(theEObject); | ||
151 | return result; | ||
152 | } | ||
153 | case AlloyLanguagePackage.ALS_RELATION_DEFINITION: | ||
154 | { | ||
155 | ALSRelationDefinition alsRelationDefinition = (ALSRelationDefinition)theEObject; | ||
156 | T result = caseALSRelationDefinition(alsRelationDefinition); | ||
157 | if (result == null) result = caseALSDefinition(alsRelationDefinition); | ||
158 | if (result == null) result = defaultCase(theEObject); | ||
159 | return result; | ||
160 | } | ||
161 | case AlloyLanguagePackage.ALS_FACT_DECLARATION: | ||
162 | { | ||
163 | ALSFactDeclaration alsFactDeclaration = (ALSFactDeclaration)theEObject; | ||
164 | T result = caseALSFactDeclaration(alsFactDeclaration); | ||
165 | if (result == null) result = defaultCase(theEObject); | ||
166 | return result; | ||
167 | } | ||
168 | case AlloyLanguagePackage.ALS_TERM: | ||
169 | { | ||
170 | ALSTerm alsTerm = (ALSTerm)theEObject; | ||
171 | T result = caseALSTerm(alsTerm); | ||
172 | if (result == null) result = defaultCase(theEObject); | ||
173 | return result; | ||
174 | } | ||
175 | case AlloyLanguagePackage.ALS_VARIABLE_DECLARATION: | ||
176 | { | ||
177 | ALSVariableDeclaration alsVariableDeclaration = (ALSVariableDeclaration)theEObject; | ||
178 | T result = caseALSVariableDeclaration(alsVariableDeclaration); | ||
179 | if (result == null) result = caseALSRelationDeclaration(alsVariableDeclaration); | ||
180 | if (result == null) result = defaultCase(theEObject); | ||
181 | return result; | ||
182 | } | ||
183 | case AlloyLanguagePackage.ALS_RUN_COMMAND: | ||
184 | { | ||
185 | ALSRunCommand alsRunCommand = (ALSRunCommand)theEObject; | ||
186 | T result = caseALSRunCommand(alsRunCommand); | ||
187 | if (result == null) result = defaultCase(theEObject); | ||
188 | return result; | ||
189 | } | ||
190 | case AlloyLanguagePackage.ALS_TYPE_SCOPE: | ||
191 | { | ||
192 | ALSTypeScope alsTypeScope = (ALSTypeScope)theEObject; | ||
193 | T result = caseALSTypeScope(alsTypeScope); | ||
194 | if (result == null) result = defaultCase(theEObject); | ||
195 | return result; | ||
196 | } | ||
197 | case AlloyLanguagePackage.ALS_SIG_SCOPE: | ||
198 | { | ||
199 | ALSSigScope alsSigScope = (ALSSigScope)theEObject; | ||
200 | T result = caseALSSigScope(alsSigScope); | ||
201 | if (result == null) result = caseALSTypeScope(alsSigScope); | ||
202 | if (result == null) result = defaultCase(theEObject); | ||
203 | return result; | ||
204 | } | ||
205 | case AlloyLanguagePackage.ALS_INT_SCOPE: | ||
206 | { | ||
207 | ALSIntScope alsIntScope = (ALSIntScope)theEObject; | ||
208 | T result = caseALSIntScope(alsIntScope); | ||
209 | if (result == null) result = caseALSTypeScope(alsIntScope); | ||
210 | if (result == null) result = defaultCase(theEObject); | ||
211 | return result; | ||
212 | } | ||
213 | case AlloyLanguagePackage.ALS_STRING_SCOPE: | ||
214 | { | ||
215 | ALSStringScope alsStringScope = (ALSStringScope)theEObject; | ||
216 | T result = caseALSStringScope(alsStringScope); | ||
217 | if (result == null) result = caseALSTypeScope(alsStringScope); | ||
218 | if (result == null) result = defaultCase(theEObject); | ||
219 | return result; | ||
220 | } | ||
221 | case AlloyLanguagePackage.ALS_QUANTIFIED_EX: | ||
222 | { | ||
223 | ALSQuantifiedEx alsQuantifiedEx = (ALSQuantifiedEx)theEObject; | ||
224 | T result = caseALSQuantifiedEx(alsQuantifiedEx); | ||
225 | if (result == null) result = caseALSTerm(alsQuantifiedEx); | ||
226 | if (result == null) result = defaultCase(theEObject); | ||
227 | return result; | ||
228 | } | ||
229 | case AlloyLanguagePackage.ALS_OR: | ||
230 | { | ||
231 | ALSOr alsOr = (ALSOr)theEObject; | ||
232 | T result = caseALSOr(alsOr); | ||
233 | if (result == null) result = caseALSTerm(alsOr); | ||
234 | if (result == null) result = defaultCase(theEObject); | ||
235 | return result; | ||
236 | } | ||
237 | case AlloyLanguagePackage.ALS_IFF: | ||
238 | { | ||
239 | ALSIff alsIff = (ALSIff)theEObject; | ||
240 | T result = caseALSIff(alsIff); | ||
241 | if (result == null) result = caseALSTerm(alsIff); | ||
242 | if (result == null) result = defaultCase(theEObject); | ||
243 | return result; | ||
244 | } | ||
245 | case AlloyLanguagePackage.ALS_IMPL: | ||
246 | { | ||
247 | ALSImpl alsImpl = (ALSImpl)theEObject; | ||
248 | T result = caseALSImpl(alsImpl); | ||
249 | if (result == null) result = caseALSTerm(alsImpl); | ||
250 | if (result == null) result = defaultCase(theEObject); | ||
251 | return result; | ||
252 | } | ||
253 | case AlloyLanguagePackage.ALS_AND: | ||
254 | { | ||
255 | ALSAnd alsAnd = (ALSAnd)theEObject; | ||
256 | T result = caseALSAnd(alsAnd); | ||
257 | if (result == null) result = caseALSTerm(alsAnd); | ||
258 | if (result == null) result = defaultCase(theEObject); | ||
259 | return result; | ||
260 | } | ||
261 | case AlloyLanguagePackage.ALS_EQUALS: | ||
262 | { | ||
263 | ALSEquals alsEquals = (ALSEquals)theEObject; | ||
264 | T result = caseALSEquals(alsEquals); | ||
265 | if (result == null) result = caseALSTerm(alsEquals); | ||
266 | if (result == null) result = defaultCase(theEObject); | ||
267 | return result; | ||
268 | } | ||
269 | case AlloyLanguagePackage.ALS_NOT_EQUALS: | ||
270 | { | ||
271 | ALSNotEquals alsNotEquals = (ALSNotEquals)theEObject; | ||
272 | T result = caseALSNotEquals(alsNotEquals); | ||
273 | if (result == null) result = caseALSTerm(alsNotEquals); | ||
274 | if (result == null) result = defaultCase(theEObject); | ||
275 | return result; | ||
276 | } | ||
277 | case AlloyLanguagePackage.ALS_SUBSET: | ||
278 | { | ||
279 | ALSSubset alsSubset = (ALSSubset)theEObject; | ||
280 | T result = caseALSSubset(alsSubset); | ||
281 | if (result == null) result = caseALSTerm(alsSubset); | ||
282 | if (result == null) result = defaultCase(theEObject); | ||
283 | return result; | ||
284 | } | ||
285 | case AlloyLanguagePackage.ALS_LESS: | ||
286 | { | ||
287 | ALSLess alsLess = (ALSLess)theEObject; | ||
288 | T result = caseALSLess(alsLess); | ||
289 | if (result == null) result = caseALSTerm(alsLess); | ||
290 | if (result == null) result = defaultCase(theEObject); | ||
291 | return result; | ||
292 | } | ||
293 | case AlloyLanguagePackage.ALS_LEQ: | ||
294 | { | ||
295 | ALSLeq alsLeq = (ALSLeq)theEObject; | ||
296 | T result = caseALSLeq(alsLeq); | ||
297 | if (result == null) result = caseALSTerm(alsLeq); | ||
298 | if (result == null) result = defaultCase(theEObject); | ||
299 | return result; | ||
300 | } | ||
301 | case AlloyLanguagePackage.ALS_MORE: | ||
302 | { | ||
303 | ALSMore alsMore = (ALSMore)theEObject; | ||
304 | T result = caseALSMore(alsMore); | ||
305 | if (result == null) result = caseALSTerm(alsMore); | ||
306 | if (result == null) result = defaultCase(theEObject); | ||
307 | return result; | ||
308 | } | ||
309 | case AlloyLanguagePackage.ALS_MEQ: | ||
310 | { | ||
311 | ALSMeq alsMeq = (ALSMeq)theEObject; | ||
312 | T result = caseALSMeq(alsMeq); | ||
313 | if (result == null) result = caseALSTerm(alsMeq); | ||
314 | if (result == null) result = defaultCase(theEObject); | ||
315 | return result; | ||
316 | } | ||
317 | case AlloyLanguagePackage.ALS_OVERRIDE: | ||
318 | { | ||
319 | ALSOverride alsOverride = (ALSOverride)theEObject; | ||
320 | T result = caseALSOverride(alsOverride); | ||
321 | if (result == null) result = caseALSTerm(alsOverride); | ||
322 | if (result == null) result = defaultCase(theEObject); | ||
323 | return result; | ||
324 | } | ||
325 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT: | ||
326 | { | ||
327 | ALSRangeRestrictionRight alsRangeRestrictionRight = (ALSRangeRestrictionRight)theEObject; | ||
328 | T result = caseALSRangeRestrictionRight(alsRangeRestrictionRight); | ||
329 | if (result == null) result = caseALSTerm(alsRangeRestrictionRight); | ||
330 | if (result == null) result = defaultCase(theEObject); | ||
331 | return result; | ||
332 | } | ||
333 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT: | ||
334 | { | ||
335 | ALSRangeRestrictionLeft alsRangeRestrictionLeft = (ALSRangeRestrictionLeft)theEObject; | ||
336 | T result = caseALSRangeRestrictionLeft(alsRangeRestrictionLeft); | ||
337 | if (result == null) result = caseALSTerm(alsRangeRestrictionLeft); | ||
338 | if (result == null) result = defaultCase(theEObject); | ||
339 | return result; | ||
340 | } | ||
341 | case AlloyLanguagePackage.ALS_JOIN: | ||
342 | { | ||
343 | ALSJoin alsJoin = (ALSJoin)theEObject; | ||
344 | T result = caseALSJoin(alsJoin); | ||
345 | if (result == null) result = caseALSTerm(alsJoin); | ||
346 | if (result == null) result = defaultCase(theEObject); | ||
347 | return result; | ||
348 | } | ||
349 | case AlloyLanguagePackage.ALS_MINUS: | ||
350 | { | ||
351 | ALSMinus alsMinus = (ALSMinus)theEObject; | ||
352 | T result = caseALSMinus(alsMinus); | ||
353 | if (result == null) result = caseALSTerm(alsMinus); | ||
354 | if (result == null) result = defaultCase(theEObject); | ||
355 | return result; | ||
356 | } | ||
357 | case AlloyLanguagePackage.ALS_PLUS: | ||
358 | { | ||
359 | ALSPlus alsPlus = (ALSPlus)theEObject; | ||
360 | T result = caseALSPlus(alsPlus); | ||
361 | if (result == null) result = caseALSTerm(alsPlus); | ||
362 | if (result == null) result = defaultCase(theEObject); | ||
363 | return result; | ||
364 | } | ||
365 | case AlloyLanguagePackage.ALS_INTERSECTION: | ||
366 | { | ||
367 | ALSIntersection alsIntersection = (ALSIntersection)theEObject; | ||
368 | T result = caseALSIntersection(alsIntersection); | ||
369 | if (result == null) result = caseALSTerm(alsIntersection); | ||
370 | if (result == null) result = defaultCase(theEObject); | ||
371 | return result; | ||
372 | } | ||
373 | case AlloyLanguagePackage.ALS_DIRECT_PRODUCT: | ||
374 | { | ||
375 | ALSDirectProduct alsDirectProduct = (ALSDirectProduct)theEObject; | ||
376 | T result = caseALSDirectProduct(alsDirectProduct); | ||
377 | if (result == null) result = caseALSTerm(alsDirectProduct); | ||
378 | if (result == null) result = defaultCase(theEObject); | ||
379 | return result; | ||
380 | } | ||
381 | case AlloyLanguagePackage.ALS_NOT: | ||
382 | { | ||
383 | ALSNot alsNot = (ALSNot)theEObject; | ||
384 | T result = caseALSNot(alsNot); | ||
385 | if (result == null) result = caseALSTerm(alsNot); | ||
386 | if (result == null) result = defaultCase(theEObject); | ||
387 | return result; | ||
388 | } | ||
389 | case AlloyLanguagePackage.ALS_INVERSE_RELATION: | ||
390 | { | ||
391 | ALSInverseRelation alsInverseRelation = (ALSInverseRelation)theEObject; | ||
392 | T result = caseALSInverseRelation(alsInverseRelation); | ||
393 | if (result == null) result = caseALSTerm(alsInverseRelation); | ||
394 | if (result == null) result = defaultCase(theEObject); | ||
395 | return result; | ||
396 | } | ||
397 | case AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE: | ||
398 | { | ||
399 | AlSTransitiveClosure alSTransitiveClosure = (AlSTransitiveClosure)theEObject; | ||
400 | T result = caseAlSTransitiveClosure(alSTransitiveClosure); | ||
401 | if (result == null) result = caseALSTerm(alSTransitiveClosure); | ||
402 | if (result == null) result = defaultCase(theEObject); | ||
403 | return result; | ||
404 | } | ||
405 | case AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE: | ||
406 | { | ||
407 | ALSReflectiveTransitiveClosure alsReflectiveTransitiveClosure = (ALSReflectiveTransitiveClosure)theEObject; | ||
408 | T result = caseALSReflectiveTransitiveClosure(alsReflectiveTransitiveClosure); | ||
409 | if (result == null) result = caseALSTerm(alsReflectiveTransitiveClosure); | ||
410 | if (result == null) result = defaultCase(theEObject); | ||
411 | return result; | ||
412 | } | ||
413 | case AlloyLanguagePackage.ALS_CARDINALITY: | ||
414 | { | ||
415 | ALSCardinality alsCardinality = (ALSCardinality)theEObject; | ||
416 | T result = caseALSCardinality(alsCardinality); | ||
417 | if (result == null) result = caseALSTerm(alsCardinality); | ||
418 | if (result == null) result = defaultCase(theEObject); | ||
419 | return result; | ||
420 | } | ||
421 | case AlloyLanguagePackage.ALS_UNARY_MINUS: | ||
422 | { | ||
423 | ALSUnaryMinus alsUnaryMinus = (ALSUnaryMinus)theEObject; | ||
424 | T result = caseALSUnaryMinus(alsUnaryMinus); | ||
425 | if (result == null) result = caseALSTerm(alsUnaryMinus); | ||
426 | if (result == null) result = defaultCase(theEObject); | ||
427 | return result; | ||
428 | } | ||
429 | case AlloyLanguagePackage.ALS_SUM: | ||
430 | { | ||
431 | ALSSum alsSum = (ALSSum)theEObject; | ||
432 | T result = caseALSSum(alsSum); | ||
433 | if (result == null) result = caseALSTerm(alsSum); | ||
434 | if (result == null) result = defaultCase(theEObject); | ||
435 | return result; | ||
436 | } | ||
437 | case AlloyLanguagePackage.ALS_FUNCTION_CALL: | ||
438 | { | ||
439 | ALSFunctionCall alsFunctionCall = (ALSFunctionCall)theEObject; | ||
440 | T result = caseALSFunctionCall(alsFunctionCall); | ||
441 | if (result == null) result = caseALSTerm(alsFunctionCall); | ||
442 | if (result == null) result = defaultCase(theEObject); | ||
443 | return result; | ||
444 | } | ||
445 | case AlloyLanguagePackage.ALS_NONE: | ||
446 | { | ||
447 | ALSNone alsNone = (ALSNone)theEObject; | ||
448 | T result = caseALSNone(alsNone); | ||
449 | if (result == null) result = caseALSTerm(alsNone); | ||
450 | if (result == null) result = defaultCase(theEObject); | ||
451 | return result; | ||
452 | } | ||
453 | case AlloyLanguagePackage.ALS_IDEN: | ||
454 | { | ||
455 | ALSIden alsIden = (ALSIden)theEObject; | ||
456 | T result = caseALSIden(alsIden); | ||
457 | if (result == null) result = caseALSTerm(alsIden); | ||
458 | if (result == null) result = defaultCase(theEObject); | ||
459 | return result; | ||
460 | } | ||
461 | case AlloyLanguagePackage.ALS_UNIV: | ||
462 | { | ||
463 | ALSUniv alsUniv = (ALSUniv)theEObject; | ||
464 | T result = caseALSUniv(alsUniv); | ||
465 | if (result == null) result = caseALSTerm(alsUniv); | ||
466 | if (result == null) result = defaultCase(theEObject); | ||
467 | return result; | ||
468 | } | ||
469 | case AlloyLanguagePackage.ALS_INT: | ||
470 | { | ||
471 | ALSInt alsInt = (ALSInt)theEObject; | ||
472 | T result = caseALSInt(alsInt); | ||
473 | if (result == null) result = caseALSTerm(alsInt); | ||
474 | if (result == null) result = defaultCase(theEObject); | ||
475 | return result; | ||
476 | } | ||
477 | case AlloyLanguagePackage.ALS_STRING: | ||
478 | { | ||
479 | ALSString alsString = (ALSString)theEObject; | ||
480 | T result = caseALSString(alsString); | ||
481 | if (result == null) result = caseALSTerm(alsString); | ||
482 | if (result == null) result = defaultCase(theEObject); | ||
483 | return result; | ||
484 | } | ||
485 | case AlloyLanguagePackage.ALS_REFERENCE: | ||
486 | { | ||
487 | ALSReference alsReference = (ALSReference)theEObject; | ||
488 | T result = caseALSReference(alsReference); | ||
489 | if (result == null) result = caseALSTerm(alsReference); | ||
490 | if (result == null) result = defaultCase(theEObject); | ||
491 | return result; | ||
492 | } | ||
493 | case AlloyLanguagePackage.ALS_NUMBER_LITERAL: | ||
494 | { | ||
495 | ALSNumberLiteral alsNumberLiteral = (ALSNumberLiteral)theEObject; | ||
496 | T result = caseALSNumberLiteral(alsNumberLiteral); | ||
497 | if (result == null) result = caseALSTerm(alsNumberLiteral); | ||
498 | if (result == null) result = defaultCase(theEObject); | ||
499 | return result; | ||
500 | } | ||
501 | case AlloyLanguagePackage.ALS_STRING_LITERAL: | ||
502 | { | ||
503 | ALSStringLiteral alsStringLiteral = (ALSStringLiteral)theEObject; | ||
504 | T result = caseALSStringLiteral(alsStringLiteral); | ||
505 | if (result == null) result = caseALSTerm(alsStringLiteral); | ||
506 | if (result == null) result = defaultCase(theEObject); | ||
507 | return result; | ||
508 | } | ||
509 | default: return defaultCase(theEObject); | ||
510 | } | ||
511 | } | ||
512 | |||
513 | /** | ||
514 | * Returns the result of interpreting the object as an instance of '<em>ALS Document</em>'. | ||
515 | * <!-- begin-user-doc --> | ||
516 | * This implementation returns null; | ||
517 | * returning a non-null result will terminate the switch. | ||
518 | * <!-- end-user-doc --> | ||
519 | * @param object the target of the switch. | ||
520 | * @return the result of interpreting the object as an instance of '<em>ALS Document</em>'. | ||
521 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
522 | * @generated | ||
523 | */ | ||
524 | public T caseALSDocument(ALSDocument object) | ||
525 | { | ||
526 | return null; | ||
527 | } | ||
528 | |||
529 | /** | ||
530 | * Returns the result of interpreting the object as an instance of '<em>ALS Relation Declaration</em>'. | ||
531 | * <!-- begin-user-doc --> | ||
532 | * This implementation returns null; | ||
533 | * returning a non-null result will terminate the switch. | ||
534 | * <!-- end-user-doc --> | ||
535 | * @param object the target of the switch. | ||
536 | * @return the result of interpreting the object as an instance of '<em>ALS Relation Declaration</em>'. | ||
537 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
538 | * @generated | ||
539 | */ | ||
540 | public T caseALSRelationDeclaration(ALSRelationDeclaration object) | ||
541 | { | ||
542 | return null; | ||
543 | } | ||
544 | |||
545 | /** | ||
546 | * Returns the result of interpreting the object as an instance of '<em>ALS Type Declaration</em>'. | ||
547 | * <!-- begin-user-doc --> | ||
548 | * This implementation returns null; | ||
549 | * returning a non-null result will terminate the switch. | ||
550 | * <!-- end-user-doc --> | ||
551 | * @param object the target of the switch. | ||
552 | * @return the result of interpreting the object as an instance of '<em>ALS Type Declaration</em>'. | ||
553 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
554 | * @generated | ||
555 | */ | ||
556 | public T caseALSTypeDeclaration(ALSTypeDeclaration object) | ||
557 | { | ||
558 | return null; | ||
559 | } | ||
560 | |||
561 | /** | ||
562 | * Returns the result of interpreting the object as an instance of '<em>ALS Enum Declaration</em>'. | ||
563 | * <!-- begin-user-doc --> | ||
564 | * This implementation returns null; | ||
565 | * returning a non-null result will terminate the switch. | ||
566 | * <!-- end-user-doc --> | ||
567 | * @param object the target of the switch. | ||
568 | * @return the result of interpreting the object as an instance of '<em>ALS Enum Declaration</em>'. | ||
569 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
570 | * @generated | ||
571 | */ | ||
572 | public T caseALSEnumDeclaration(ALSEnumDeclaration object) | ||
573 | { | ||
574 | return null; | ||
575 | } | ||
576 | |||
577 | /** | ||
578 | * Returns the result of interpreting the object as an instance of '<em>ALS Enum Literal</em>'. | ||
579 | * <!-- begin-user-doc --> | ||
580 | * This implementation returns null; | ||
581 | * returning a non-null result will terminate the switch. | ||
582 | * <!-- end-user-doc --> | ||
583 | * @param object the target of the switch. | ||
584 | * @return the result of interpreting the object as an instance of '<em>ALS Enum Literal</em>'. | ||
585 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
586 | * @generated | ||
587 | */ | ||
588 | public T caseALSEnumLiteral(ALSEnumLiteral object) | ||
589 | { | ||
590 | return null; | ||
591 | } | ||
592 | |||
593 | /** | ||
594 | * Returns the result of interpreting the object as an instance of '<em>ALS Signature Declaration</em>'. | ||
595 | * <!-- begin-user-doc --> | ||
596 | * This implementation returns null; | ||
597 | * returning a non-null result will terminate the switch. | ||
598 | * <!-- end-user-doc --> | ||
599 | * @param object the target of the switch. | ||
600 | * @return the result of interpreting the object as an instance of '<em>ALS Signature Declaration</em>'. | ||
601 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
602 | * @generated | ||
603 | */ | ||
604 | public T caseALSSignatureDeclaration(ALSSignatureDeclaration object) | ||
605 | { | ||
606 | return null; | ||
607 | } | ||
608 | |||
609 | /** | ||
610 | * Returns the result of interpreting the object as an instance of '<em>ALS Signature Body</em>'. | ||
611 | * <!-- begin-user-doc --> | ||
612 | * This implementation returns null; | ||
613 | * returning a non-null result will terminate the switch. | ||
614 | * <!-- end-user-doc --> | ||
615 | * @param object the target of the switch. | ||
616 | * @return the result of interpreting the object as an instance of '<em>ALS Signature Body</em>'. | ||
617 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
618 | * @generated | ||
619 | */ | ||
620 | public T caseALSSignatureBody(ALSSignatureBody object) | ||
621 | { | ||
622 | return null; | ||
623 | } | ||
624 | |||
625 | /** | ||
626 | * Returns the result of interpreting the object as an instance of '<em>ALS Field Declaration</em>'. | ||
627 | * <!-- begin-user-doc --> | ||
628 | * This implementation returns null; | ||
629 | * returning a non-null result will terminate the switch. | ||
630 | * <!-- end-user-doc --> | ||
631 | * @param object the target of the switch. | ||
632 | * @return the result of interpreting the object as an instance of '<em>ALS Field Declaration</em>'. | ||
633 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
634 | * @generated | ||
635 | */ | ||
636 | public T caseALSFieldDeclaration(ALSFieldDeclaration object) | ||
637 | { | ||
638 | return null; | ||
639 | } | ||
640 | |||
641 | /** | ||
642 | * Returns the result of interpreting the object as an instance of '<em>ALS Definition</em>'. | ||
643 | * <!-- begin-user-doc --> | ||
644 | * This implementation returns null; | ||
645 | * returning a non-null result will terminate the switch. | ||
646 | * <!-- end-user-doc --> | ||
647 | * @param object the target of the switch. | ||
648 | * @return the result of interpreting the object as an instance of '<em>ALS Definition</em>'. | ||
649 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
650 | * @generated | ||
651 | */ | ||
652 | public T caseALSDefinition(ALSDefinition object) | ||
653 | { | ||
654 | return null; | ||
655 | } | ||
656 | |||
657 | /** | ||
658 | * Returns the result of interpreting the object as an instance of '<em>ALS Function Definition</em>'. | ||
659 | * <!-- begin-user-doc --> | ||
660 | * This implementation returns null; | ||
661 | * returning a non-null result will terminate the switch. | ||
662 | * <!-- end-user-doc --> | ||
663 | * @param object the target of the switch. | ||
664 | * @return the result of interpreting the object as an instance of '<em>ALS Function Definition</em>'. | ||
665 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
666 | * @generated | ||
667 | */ | ||
668 | public T caseALSFunctionDefinition(ALSFunctionDefinition object) | ||
669 | { | ||
670 | return null; | ||
671 | } | ||
672 | |||
673 | /** | ||
674 | * Returns the result of interpreting the object as an instance of '<em>ALS Relation Definition</em>'. | ||
675 | * <!-- begin-user-doc --> | ||
676 | * This implementation returns null; | ||
677 | * returning a non-null result will terminate the switch. | ||
678 | * <!-- end-user-doc --> | ||
679 | * @param object the target of the switch. | ||
680 | * @return the result of interpreting the object as an instance of '<em>ALS Relation Definition</em>'. | ||
681 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
682 | * @generated | ||
683 | */ | ||
684 | public T caseALSRelationDefinition(ALSRelationDefinition object) | ||
685 | { | ||
686 | return null; | ||
687 | } | ||
688 | |||
689 | /** | ||
690 | * Returns the result of interpreting the object as an instance of '<em>ALS Fact Declaration</em>'. | ||
691 | * <!-- begin-user-doc --> | ||
692 | * This implementation returns null; | ||
693 | * returning a non-null result will terminate the switch. | ||
694 | * <!-- end-user-doc --> | ||
695 | * @param object the target of the switch. | ||
696 | * @return the result of interpreting the object as an instance of '<em>ALS Fact Declaration</em>'. | ||
697 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
698 | * @generated | ||
699 | */ | ||
700 | public T caseALSFactDeclaration(ALSFactDeclaration object) | ||
701 | { | ||
702 | return null; | ||
703 | } | ||
704 | |||
705 | /** | ||
706 | * Returns the result of interpreting the object as an instance of '<em>ALS Term</em>'. | ||
707 | * <!-- begin-user-doc --> | ||
708 | * This implementation returns null; | ||
709 | * returning a non-null result will terminate the switch. | ||
710 | * <!-- end-user-doc --> | ||
711 | * @param object the target of the switch. | ||
712 | * @return the result of interpreting the object as an instance of '<em>ALS Term</em>'. | ||
713 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
714 | * @generated | ||
715 | */ | ||
716 | public T caseALSTerm(ALSTerm object) | ||
717 | { | ||
718 | return null; | ||
719 | } | ||
720 | |||
721 | /** | ||
722 | * Returns the result of interpreting the object as an instance of '<em>ALS Variable Declaration</em>'. | ||
723 | * <!-- begin-user-doc --> | ||
724 | * This implementation returns null; | ||
725 | * returning a non-null result will terminate the switch. | ||
726 | * <!-- end-user-doc --> | ||
727 | * @param object the target of the switch. | ||
728 | * @return the result of interpreting the object as an instance of '<em>ALS Variable Declaration</em>'. | ||
729 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
730 | * @generated | ||
731 | */ | ||
732 | public T caseALSVariableDeclaration(ALSVariableDeclaration object) | ||
733 | { | ||
734 | return null; | ||
735 | } | ||
736 | |||
737 | /** | ||
738 | * Returns the result of interpreting the object as an instance of '<em>ALS Run Command</em>'. | ||
739 | * <!-- begin-user-doc --> | ||
740 | * This implementation returns null; | ||
741 | * returning a non-null result will terminate the switch. | ||
742 | * <!-- end-user-doc --> | ||
743 | * @param object the target of the switch. | ||
744 | * @return the result of interpreting the object as an instance of '<em>ALS Run Command</em>'. | ||
745 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
746 | * @generated | ||
747 | */ | ||
748 | public T caseALSRunCommand(ALSRunCommand object) | ||
749 | { | ||
750 | return null; | ||
751 | } | ||
752 | |||
753 | /** | ||
754 | * Returns the result of interpreting the object as an instance of '<em>ALS Type Scope</em>'. | ||
755 | * <!-- begin-user-doc --> | ||
756 | * This implementation returns null; | ||
757 | * returning a non-null result will terminate the switch. | ||
758 | * <!-- end-user-doc --> | ||
759 | * @param object the target of the switch. | ||
760 | * @return the result of interpreting the object as an instance of '<em>ALS Type Scope</em>'. | ||
761 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
762 | * @generated | ||
763 | */ | ||
764 | public T caseALSTypeScope(ALSTypeScope object) | ||
765 | { | ||
766 | return null; | ||
767 | } | ||
768 | |||
769 | /** | ||
770 | * Returns the result of interpreting the object as an instance of '<em>ALS Sig Scope</em>'. | ||
771 | * <!-- begin-user-doc --> | ||
772 | * This implementation returns null; | ||
773 | * returning a non-null result will terminate the switch. | ||
774 | * <!-- end-user-doc --> | ||
775 | * @param object the target of the switch. | ||
776 | * @return the result of interpreting the object as an instance of '<em>ALS Sig Scope</em>'. | ||
777 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
778 | * @generated | ||
779 | */ | ||
780 | public T caseALSSigScope(ALSSigScope object) | ||
781 | { | ||
782 | return null; | ||
783 | } | ||
784 | |||
785 | /** | ||
786 | * Returns the result of interpreting the object as an instance of '<em>ALS Int Scope</em>'. | ||
787 | * <!-- begin-user-doc --> | ||
788 | * This implementation returns null; | ||
789 | * returning a non-null result will terminate the switch. | ||
790 | * <!-- end-user-doc --> | ||
791 | * @param object the target of the switch. | ||
792 | * @return the result of interpreting the object as an instance of '<em>ALS Int Scope</em>'. | ||
793 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
794 | * @generated | ||
795 | */ | ||
796 | public T caseALSIntScope(ALSIntScope object) | ||
797 | { | ||
798 | return null; | ||
799 | } | ||
800 | |||
801 | /** | ||
802 | * Returns the result of interpreting the object as an instance of '<em>ALS String Scope</em>'. | ||
803 | * <!-- begin-user-doc --> | ||
804 | * This implementation returns null; | ||
805 | * returning a non-null result will terminate the switch. | ||
806 | * <!-- end-user-doc --> | ||
807 | * @param object the target of the switch. | ||
808 | * @return the result of interpreting the object as an instance of '<em>ALS String Scope</em>'. | ||
809 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
810 | * @generated | ||
811 | */ | ||
812 | public T caseALSStringScope(ALSStringScope object) | ||
813 | { | ||
814 | return null; | ||
815 | } | ||
816 | |||
817 | /** | ||
818 | * Returns the result of interpreting the object as an instance of '<em>ALS Quantified Ex</em>'. | ||
819 | * <!-- begin-user-doc --> | ||
820 | * This implementation returns null; | ||
821 | * returning a non-null result will terminate the switch. | ||
822 | * <!-- end-user-doc --> | ||
823 | * @param object the target of the switch. | ||
824 | * @return the result of interpreting the object as an instance of '<em>ALS Quantified Ex</em>'. | ||
825 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
826 | * @generated | ||
827 | */ | ||
828 | public T caseALSQuantifiedEx(ALSQuantifiedEx object) | ||
829 | { | ||
830 | return null; | ||
831 | } | ||
832 | |||
833 | /** | ||
834 | * Returns the result of interpreting the object as an instance of '<em>ALS Or</em>'. | ||
835 | * <!-- begin-user-doc --> | ||
836 | * This implementation returns null; | ||
837 | * returning a non-null result will terminate the switch. | ||
838 | * <!-- end-user-doc --> | ||
839 | * @param object the target of the switch. | ||
840 | * @return the result of interpreting the object as an instance of '<em>ALS Or</em>'. | ||
841 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
842 | * @generated | ||
843 | */ | ||
844 | public T caseALSOr(ALSOr object) | ||
845 | { | ||
846 | return null; | ||
847 | } | ||
848 | |||
849 | /** | ||
850 | * Returns the result of interpreting the object as an instance of '<em>ALS Iff</em>'. | ||
851 | * <!-- begin-user-doc --> | ||
852 | * This implementation returns null; | ||
853 | * returning a non-null result will terminate the switch. | ||
854 | * <!-- end-user-doc --> | ||
855 | * @param object the target of the switch. | ||
856 | * @return the result of interpreting the object as an instance of '<em>ALS Iff</em>'. | ||
857 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
858 | * @generated | ||
859 | */ | ||
860 | public T caseALSIff(ALSIff object) | ||
861 | { | ||
862 | return null; | ||
863 | } | ||
864 | |||
865 | /** | ||
866 | * Returns the result of interpreting the object as an instance of '<em>ALS Impl</em>'. | ||
867 | * <!-- begin-user-doc --> | ||
868 | * This implementation returns null; | ||
869 | * returning a non-null result will terminate the switch. | ||
870 | * <!-- end-user-doc --> | ||
871 | * @param object the target of the switch. | ||
872 | * @return the result of interpreting the object as an instance of '<em>ALS Impl</em>'. | ||
873 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
874 | * @generated | ||
875 | */ | ||
876 | public T caseALSImpl(ALSImpl object) | ||
877 | { | ||
878 | return null; | ||
879 | } | ||
880 | |||
881 | /** | ||
882 | * Returns the result of interpreting the object as an instance of '<em>ALS And</em>'. | ||
883 | * <!-- begin-user-doc --> | ||
884 | * This implementation returns null; | ||
885 | * returning a non-null result will terminate the switch. | ||
886 | * <!-- end-user-doc --> | ||
887 | * @param object the target of the switch. | ||
888 | * @return the result of interpreting the object as an instance of '<em>ALS And</em>'. | ||
889 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
890 | * @generated | ||
891 | */ | ||
892 | public T caseALSAnd(ALSAnd object) | ||
893 | { | ||
894 | return null; | ||
895 | } | ||
896 | |||
897 | /** | ||
898 | * Returns the result of interpreting the object as an instance of '<em>ALS Equals</em>'. | ||
899 | * <!-- begin-user-doc --> | ||
900 | * This implementation returns null; | ||
901 | * returning a non-null result will terminate the switch. | ||
902 | * <!-- end-user-doc --> | ||
903 | * @param object the target of the switch. | ||
904 | * @return the result of interpreting the object as an instance of '<em>ALS Equals</em>'. | ||
905 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
906 | * @generated | ||
907 | */ | ||
908 | public T caseALSEquals(ALSEquals object) | ||
909 | { | ||
910 | return null; | ||
911 | } | ||
912 | |||
913 | /** | ||
914 | * Returns the result of interpreting the object as an instance of '<em>ALS Not Equals</em>'. | ||
915 | * <!-- begin-user-doc --> | ||
916 | * This implementation returns null; | ||
917 | * returning a non-null result will terminate the switch. | ||
918 | * <!-- end-user-doc --> | ||
919 | * @param object the target of the switch. | ||
920 | * @return the result of interpreting the object as an instance of '<em>ALS Not Equals</em>'. | ||
921 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
922 | * @generated | ||
923 | */ | ||
924 | public T caseALSNotEquals(ALSNotEquals object) | ||
925 | { | ||
926 | return null; | ||
927 | } | ||
928 | |||
929 | /** | ||
930 | * Returns the result of interpreting the object as an instance of '<em>ALS Subset</em>'. | ||
931 | * <!-- begin-user-doc --> | ||
932 | * This implementation returns null; | ||
933 | * returning a non-null result will terminate the switch. | ||
934 | * <!-- end-user-doc --> | ||
935 | * @param object the target of the switch. | ||
936 | * @return the result of interpreting the object as an instance of '<em>ALS Subset</em>'. | ||
937 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
938 | * @generated | ||
939 | */ | ||
940 | public T caseALSSubset(ALSSubset object) | ||
941 | { | ||
942 | return null; | ||
943 | } | ||
944 | |||
945 | /** | ||
946 | * Returns the result of interpreting the object as an instance of '<em>ALS Less</em>'. | ||
947 | * <!-- begin-user-doc --> | ||
948 | * This implementation returns null; | ||
949 | * returning a non-null result will terminate the switch. | ||
950 | * <!-- end-user-doc --> | ||
951 | * @param object the target of the switch. | ||
952 | * @return the result of interpreting the object as an instance of '<em>ALS Less</em>'. | ||
953 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
954 | * @generated | ||
955 | */ | ||
956 | public T caseALSLess(ALSLess object) | ||
957 | { | ||
958 | return null; | ||
959 | } | ||
960 | |||
961 | /** | ||
962 | * Returns the result of interpreting the object as an instance of '<em>ALS Leq</em>'. | ||
963 | * <!-- begin-user-doc --> | ||
964 | * This implementation returns null; | ||
965 | * returning a non-null result will terminate the switch. | ||
966 | * <!-- end-user-doc --> | ||
967 | * @param object the target of the switch. | ||
968 | * @return the result of interpreting the object as an instance of '<em>ALS Leq</em>'. | ||
969 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
970 | * @generated | ||
971 | */ | ||
972 | public T caseALSLeq(ALSLeq object) | ||
973 | { | ||
974 | return null; | ||
975 | } | ||
976 | |||
977 | /** | ||
978 | * Returns the result of interpreting the object as an instance of '<em>ALS More</em>'. | ||
979 | * <!-- begin-user-doc --> | ||
980 | * This implementation returns null; | ||
981 | * returning a non-null result will terminate the switch. | ||
982 | * <!-- end-user-doc --> | ||
983 | * @param object the target of the switch. | ||
984 | * @return the result of interpreting the object as an instance of '<em>ALS More</em>'. | ||
985 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
986 | * @generated | ||
987 | */ | ||
988 | public T caseALSMore(ALSMore object) | ||
989 | { | ||
990 | return null; | ||
991 | } | ||
992 | |||
993 | /** | ||
994 | * Returns the result of interpreting the object as an instance of '<em>ALS Meq</em>'. | ||
995 | * <!-- begin-user-doc --> | ||
996 | * This implementation returns null; | ||
997 | * returning a non-null result will terminate the switch. | ||
998 | * <!-- end-user-doc --> | ||
999 | * @param object the target of the switch. | ||
1000 | * @return the result of interpreting the object as an instance of '<em>ALS Meq</em>'. | ||
1001 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1002 | * @generated | ||
1003 | */ | ||
1004 | public T caseALSMeq(ALSMeq object) | ||
1005 | { | ||
1006 | return null; | ||
1007 | } | ||
1008 | |||
1009 | /** | ||
1010 | * Returns the result of interpreting the object as an instance of '<em>ALS Override</em>'. | ||
1011 | * <!-- begin-user-doc --> | ||
1012 | * This implementation returns null; | ||
1013 | * returning a non-null result will terminate the switch. | ||
1014 | * <!-- end-user-doc --> | ||
1015 | * @param object the target of the switch. | ||
1016 | * @return the result of interpreting the object as an instance of '<em>ALS Override</em>'. | ||
1017 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1018 | * @generated | ||
1019 | */ | ||
1020 | public T caseALSOverride(ALSOverride object) | ||
1021 | { | ||
1022 | return null; | ||
1023 | } | ||
1024 | |||
1025 | /** | ||
1026 | * Returns the result of interpreting the object as an instance of '<em>ALS Range Restriction Right</em>'. | ||
1027 | * <!-- begin-user-doc --> | ||
1028 | * This implementation returns null; | ||
1029 | * returning a non-null result will terminate the switch. | ||
1030 | * <!-- end-user-doc --> | ||
1031 | * @param object the target of the switch. | ||
1032 | * @return the result of interpreting the object as an instance of '<em>ALS Range Restriction Right</em>'. | ||
1033 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1034 | * @generated | ||
1035 | */ | ||
1036 | public T caseALSRangeRestrictionRight(ALSRangeRestrictionRight object) | ||
1037 | { | ||
1038 | return null; | ||
1039 | } | ||
1040 | |||
1041 | /** | ||
1042 | * Returns the result of interpreting the object as an instance of '<em>ALS Range Restriction Left</em>'. | ||
1043 | * <!-- begin-user-doc --> | ||
1044 | * This implementation returns null; | ||
1045 | * returning a non-null result will terminate the switch. | ||
1046 | * <!-- end-user-doc --> | ||
1047 | * @param object the target of the switch. | ||
1048 | * @return the result of interpreting the object as an instance of '<em>ALS Range Restriction Left</em>'. | ||
1049 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1050 | * @generated | ||
1051 | */ | ||
1052 | public T caseALSRangeRestrictionLeft(ALSRangeRestrictionLeft object) | ||
1053 | { | ||
1054 | return null; | ||
1055 | } | ||
1056 | |||
1057 | /** | ||
1058 | * Returns the result of interpreting the object as an instance of '<em>ALS Join</em>'. | ||
1059 | * <!-- begin-user-doc --> | ||
1060 | * This implementation returns null; | ||
1061 | * returning a non-null result will terminate the switch. | ||
1062 | * <!-- end-user-doc --> | ||
1063 | * @param object the target of the switch. | ||
1064 | * @return the result of interpreting the object as an instance of '<em>ALS Join</em>'. | ||
1065 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1066 | * @generated | ||
1067 | */ | ||
1068 | public T caseALSJoin(ALSJoin object) | ||
1069 | { | ||
1070 | return null; | ||
1071 | } | ||
1072 | |||
1073 | /** | ||
1074 | * Returns the result of interpreting the object as an instance of '<em>ALS Minus</em>'. | ||
1075 | * <!-- begin-user-doc --> | ||
1076 | * This implementation returns null; | ||
1077 | * returning a non-null result will terminate the switch. | ||
1078 | * <!-- end-user-doc --> | ||
1079 | * @param object the target of the switch. | ||
1080 | * @return the result of interpreting the object as an instance of '<em>ALS Minus</em>'. | ||
1081 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1082 | * @generated | ||
1083 | */ | ||
1084 | public T caseALSMinus(ALSMinus object) | ||
1085 | { | ||
1086 | return null; | ||
1087 | } | ||
1088 | |||
1089 | /** | ||
1090 | * Returns the result of interpreting the object as an instance of '<em>ALS Plus</em>'. | ||
1091 | * <!-- begin-user-doc --> | ||
1092 | * This implementation returns null; | ||
1093 | * returning a non-null result will terminate the switch. | ||
1094 | * <!-- end-user-doc --> | ||
1095 | * @param object the target of the switch. | ||
1096 | * @return the result of interpreting the object as an instance of '<em>ALS Plus</em>'. | ||
1097 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1098 | * @generated | ||
1099 | */ | ||
1100 | public T caseALSPlus(ALSPlus object) | ||
1101 | { | ||
1102 | return null; | ||
1103 | } | ||
1104 | |||
1105 | /** | ||
1106 | * Returns the result of interpreting the object as an instance of '<em>ALS Intersection</em>'. | ||
1107 | * <!-- begin-user-doc --> | ||
1108 | * This implementation returns null; | ||
1109 | * returning a non-null result will terminate the switch. | ||
1110 | * <!-- end-user-doc --> | ||
1111 | * @param object the target of the switch. | ||
1112 | * @return the result of interpreting the object as an instance of '<em>ALS Intersection</em>'. | ||
1113 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1114 | * @generated | ||
1115 | */ | ||
1116 | public T caseALSIntersection(ALSIntersection object) | ||
1117 | { | ||
1118 | return null; | ||
1119 | } | ||
1120 | |||
1121 | /** | ||
1122 | * Returns the result of interpreting the object as an instance of '<em>ALS Direct Product</em>'. | ||
1123 | * <!-- begin-user-doc --> | ||
1124 | * This implementation returns null; | ||
1125 | * returning a non-null result will terminate the switch. | ||
1126 | * <!-- end-user-doc --> | ||
1127 | * @param object the target of the switch. | ||
1128 | * @return the result of interpreting the object as an instance of '<em>ALS Direct Product</em>'. | ||
1129 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1130 | * @generated | ||
1131 | */ | ||
1132 | public T caseALSDirectProduct(ALSDirectProduct object) | ||
1133 | { | ||
1134 | return null; | ||
1135 | } | ||
1136 | |||
1137 | /** | ||
1138 | * Returns the result of interpreting the object as an instance of '<em>ALS Not</em>'. | ||
1139 | * <!-- begin-user-doc --> | ||
1140 | * This implementation returns null; | ||
1141 | * returning a non-null result will terminate the switch. | ||
1142 | * <!-- end-user-doc --> | ||
1143 | * @param object the target of the switch. | ||
1144 | * @return the result of interpreting the object as an instance of '<em>ALS Not</em>'. | ||
1145 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1146 | * @generated | ||
1147 | */ | ||
1148 | public T caseALSNot(ALSNot object) | ||
1149 | { | ||
1150 | return null; | ||
1151 | } | ||
1152 | |||
1153 | /** | ||
1154 | * Returns the result of interpreting the object as an instance of '<em>ALS Inverse Relation</em>'. | ||
1155 | * <!-- begin-user-doc --> | ||
1156 | * This implementation returns null; | ||
1157 | * returning a non-null result will terminate the switch. | ||
1158 | * <!-- end-user-doc --> | ||
1159 | * @param object the target of the switch. | ||
1160 | * @return the result of interpreting the object as an instance of '<em>ALS Inverse Relation</em>'. | ||
1161 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1162 | * @generated | ||
1163 | */ | ||
1164 | public T caseALSInverseRelation(ALSInverseRelation object) | ||
1165 | { | ||
1166 | return null; | ||
1167 | } | ||
1168 | |||
1169 | /** | ||
1170 | * Returns the result of interpreting the object as an instance of '<em>Al STransitive Closure</em>'. | ||
1171 | * <!-- begin-user-doc --> | ||
1172 | * This implementation returns null; | ||
1173 | * returning a non-null result will terminate the switch. | ||
1174 | * <!-- end-user-doc --> | ||
1175 | * @param object the target of the switch. | ||
1176 | * @return the result of interpreting the object as an instance of '<em>Al STransitive Closure</em>'. | ||
1177 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1178 | * @generated | ||
1179 | */ | ||
1180 | public T caseAlSTransitiveClosure(AlSTransitiveClosure object) | ||
1181 | { | ||
1182 | return null; | ||
1183 | } | ||
1184 | |||
1185 | /** | ||
1186 | * Returns the result of interpreting the object as an instance of '<em>ALS Reflective Transitive Closure</em>'. | ||
1187 | * <!-- begin-user-doc --> | ||
1188 | * This implementation returns null; | ||
1189 | * returning a non-null result will terminate the switch. | ||
1190 | * <!-- end-user-doc --> | ||
1191 | * @param object the target of the switch. | ||
1192 | * @return the result of interpreting the object as an instance of '<em>ALS Reflective Transitive Closure</em>'. | ||
1193 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1194 | * @generated | ||
1195 | */ | ||
1196 | public T caseALSReflectiveTransitiveClosure(ALSReflectiveTransitiveClosure object) | ||
1197 | { | ||
1198 | return null; | ||
1199 | } | ||
1200 | |||
1201 | /** | ||
1202 | * Returns the result of interpreting the object as an instance of '<em>ALS Cardinality</em>'. | ||
1203 | * <!-- begin-user-doc --> | ||
1204 | * This implementation returns null; | ||
1205 | * returning a non-null result will terminate the switch. | ||
1206 | * <!-- end-user-doc --> | ||
1207 | * @param object the target of the switch. | ||
1208 | * @return the result of interpreting the object as an instance of '<em>ALS Cardinality</em>'. | ||
1209 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1210 | * @generated | ||
1211 | */ | ||
1212 | public T caseALSCardinality(ALSCardinality object) | ||
1213 | { | ||
1214 | return null; | ||
1215 | } | ||
1216 | |||
1217 | /** | ||
1218 | * Returns the result of interpreting the object as an instance of '<em>ALS Unary Minus</em>'. | ||
1219 | * <!-- begin-user-doc --> | ||
1220 | * This implementation returns null; | ||
1221 | * returning a non-null result will terminate the switch. | ||
1222 | * <!-- end-user-doc --> | ||
1223 | * @param object the target of the switch. | ||
1224 | * @return the result of interpreting the object as an instance of '<em>ALS Unary Minus</em>'. | ||
1225 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1226 | * @generated | ||
1227 | */ | ||
1228 | public T caseALSUnaryMinus(ALSUnaryMinus object) | ||
1229 | { | ||
1230 | return null; | ||
1231 | } | ||
1232 | |||
1233 | /** | ||
1234 | * Returns the result of interpreting the object as an instance of '<em>ALS Sum</em>'. | ||
1235 | * <!-- begin-user-doc --> | ||
1236 | * This implementation returns null; | ||
1237 | * returning a non-null result will terminate the switch. | ||
1238 | * <!-- end-user-doc --> | ||
1239 | * @param object the target of the switch. | ||
1240 | * @return the result of interpreting the object as an instance of '<em>ALS Sum</em>'. | ||
1241 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1242 | * @generated | ||
1243 | */ | ||
1244 | public T caseALSSum(ALSSum object) | ||
1245 | { | ||
1246 | return null; | ||
1247 | } | ||
1248 | |||
1249 | /** | ||
1250 | * Returns the result of interpreting the object as an instance of '<em>ALS Function Call</em>'. | ||
1251 | * <!-- begin-user-doc --> | ||
1252 | * This implementation returns null; | ||
1253 | * returning a non-null result will terminate the switch. | ||
1254 | * <!-- end-user-doc --> | ||
1255 | * @param object the target of the switch. | ||
1256 | * @return the result of interpreting the object as an instance of '<em>ALS Function Call</em>'. | ||
1257 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1258 | * @generated | ||
1259 | */ | ||
1260 | public T caseALSFunctionCall(ALSFunctionCall object) | ||
1261 | { | ||
1262 | return null; | ||
1263 | } | ||
1264 | |||
1265 | /** | ||
1266 | * Returns the result of interpreting the object as an instance of '<em>ALS None</em>'. | ||
1267 | * <!-- begin-user-doc --> | ||
1268 | * This implementation returns null; | ||
1269 | * returning a non-null result will terminate the switch. | ||
1270 | * <!-- end-user-doc --> | ||
1271 | * @param object the target of the switch. | ||
1272 | * @return the result of interpreting the object as an instance of '<em>ALS None</em>'. | ||
1273 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1274 | * @generated | ||
1275 | */ | ||
1276 | public T caseALSNone(ALSNone object) | ||
1277 | { | ||
1278 | return null; | ||
1279 | } | ||
1280 | |||
1281 | /** | ||
1282 | * Returns the result of interpreting the object as an instance of '<em>ALS Iden</em>'. | ||
1283 | * <!-- begin-user-doc --> | ||
1284 | * This implementation returns null; | ||
1285 | * returning a non-null result will terminate the switch. | ||
1286 | * <!-- end-user-doc --> | ||
1287 | * @param object the target of the switch. | ||
1288 | * @return the result of interpreting the object as an instance of '<em>ALS Iden</em>'. | ||
1289 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1290 | * @generated | ||
1291 | */ | ||
1292 | public T caseALSIden(ALSIden object) | ||
1293 | { | ||
1294 | return null; | ||
1295 | } | ||
1296 | |||
1297 | /** | ||
1298 | * Returns the result of interpreting the object as an instance of '<em>ALS Univ</em>'. | ||
1299 | * <!-- begin-user-doc --> | ||
1300 | * This implementation returns null; | ||
1301 | * returning a non-null result will terminate the switch. | ||
1302 | * <!-- end-user-doc --> | ||
1303 | * @param object the target of the switch. | ||
1304 | * @return the result of interpreting the object as an instance of '<em>ALS Univ</em>'. | ||
1305 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1306 | * @generated | ||
1307 | */ | ||
1308 | public T caseALSUniv(ALSUniv object) | ||
1309 | { | ||
1310 | return null; | ||
1311 | } | ||
1312 | |||
1313 | /** | ||
1314 | * Returns the result of interpreting the object as an instance of '<em>ALS Int</em>'. | ||
1315 | * <!-- begin-user-doc --> | ||
1316 | * This implementation returns null; | ||
1317 | * returning a non-null result will terminate the switch. | ||
1318 | * <!-- end-user-doc --> | ||
1319 | * @param object the target of the switch. | ||
1320 | * @return the result of interpreting the object as an instance of '<em>ALS Int</em>'. | ||
1321 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1322 | * @generated | ||
1323 | */ | ||
1324 | public T caseALSInt(ALSInt object) | ||
1325 | { | ||
1326 | return null; | ||
1327 | } | ||
1328 | |||
1329 | /** | ||
1330 | * Returns the result of interpreting the object as an instance of '<em>ALS String</em>'. | ||
1331 | * <!-- begin-user-doc --> | ||
1332 | * This implementation returns null; | ||
1333 | * returning a non-null result will terminate the switch. | ||
1334 | * <!-- end-user-doc --> | ||
1335 | * @param object the target of the switch. | ||
1336 | * @return the result of interpreting the object as an instance of '<em>ALS String</em>'. | ||
1337 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1338 | * @generated | ||
1339 | */ | ||
1340 | public T caseALSString(ALSString object) | ||
1341 | { | ||
1342 | return null; | ||
1343 | } | ||
1344 | |||
1345 | /** | ||
1346 | * Returns the result of interpreting the object as an instance of '<em>ALS Reference</em>'. | ||
1347 | * <!-- begin-user-doc --> | ||
1348 | * This implementation returns null; | ||
1349 | * returning a non-null result will terminate the switch. | ||
1350 | * <!-- end-user-doc --> | ||
1351 | * @param object the target of the switch. | ||
1352 | * @return the result of interpreting the object as an instance of '<em>ALS Reference</em>'. | ||
1353 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1354 | * @generated | ||
1355 | */ | ||
1356 | public T caseALSReference(ALSReference object) | ||
1357 | { | ||
1358 | return null; | ||
1359 | } | ||
1360 | |||
1361 | /** | ||
1362 | * Returns the result of interpreting the object as an instance of '<em>ALS Number Literal</em>'. | ||
1363 | * <!-- begin-user-doc --> | ||
1364 | * This implementation returns null; | ||
1365 | * returning a non-null result will terminate the switch. | ||
1366 | * <!-- end-user-doc --> | ||
1367 | * @param object the target of the switch. | ||
1368 | * @return the result of interpreting the object as an instance of '<em>ALS Number Literal</em>'. | ||
1369 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1370 | * @generated | ||
1371 | */ | ||
1372 | public T caseALSNumberLiteral(ALSNumberLiteral object) | ||
1373 | { | ||
1374 | return null; | ||
1375 | } | ||
1376 | |||
1377 | /** | ||
1378 | * Returns the result of interpreting the object as an instance of '<em>ALS String Literal</em>'. | ||
1379 | * <!-- begin-user-doc --> | ||
1380 | * This implementation returns null; | ||
1381 | * returning a non-null result will terminate the switch. | ||
1382 | * <!-- end-user-doc --> | ||
1383 | * @param object the target of the switch. | ||
1384 | * @return the result of interpreting the object as an instance of '<em>ALS String Literal</em>'. | ||
1385 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1386 | * @generated | ||
1387 | */ | ||
1388 | public T caseALSStringLiteral(ALSStringLiteral object) | ||
1389 | { | ||
1390 | return null; | ||
1391 | } | ||
1392 | |||
1393 | /** | ||
1394 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
1395 | * <!-- begin-user-doc --> | ||
1396 | * This implementation returns null; | ||
1397 | * returning a non-null result will terminate the switch, but this is the last case anyway. | ||
1398 | * <!-- end-user-doc --> | ||
1399 | * @param object the target of the switch. | ||
1400 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
1401 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) | ||
1402 | * @generated | ||
1403 | */ | ||
1404 | @Override | ||
1405 | public T defaultCase(EObject object) | ||
1406 | { | ||
1407 | return null; | ||
1408 | } | ||
1409 | |||
1410 | } //AlloyLanguageSwitch | ||