diff options
author | 2017-06-10 21:03:09 +0200 | |
---|---|---|
committer | 2017-06-10 21:03:09 +0200 | |
commit | 17be8277d61825e6df21afe513dcfe53190663f0 (patch) | |
tree | 11cdac2d06328b2303cadc867bfea77148c06c69 /Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageSwitch.java | |
parent | Added generated Xtext artefacts (diff) | |
download | VIATRA-Generator-17be8277d61825e6df21afe513dcfe53190663f0.tar.gz VIATRA-Generator-17be8277d61825e6df21afe513dcfe53190663f0.tar.zst VIATRA-Generator-17be8277d61825e6df21afe513dcfe53190663f0.zip |
Added generated artefacts for the alloy parser
Diffstat (limited to 'Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageSwitch.java')
-rw-r--r-- | Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageSwitch.java | 1338 |
1 files changed, 1338 insertions, 0 deletions
diff --git a/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageSwitch.java b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageSwitch.java new file mode 100644 index 00000000..91fa2086 --- /dev/null +++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dslreasoner.alloy.language/src-gen/hu/bme/mit/inf/dslreasoner/alloyLanguage/util/AlloyLanguageSwitch.java | |||
@@ -0,0 +1,1338 @@ | |||
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_QUANTIFIED_EX: | ||
214 | { | ||
215 | ALSQuantifiedEx alsQuantifiedEx = (ALSQuantifiedEx)theEObject; | ||
216 | T result = caseALSQuantifiedEx(alsQuantifiedEx); | ||
217 | if (result == null) result = caseALSTerm(alsQuantifiedEx); | ||
218 | if (result == null) result = defaultCase(theEObject); | ||
219 | return result; | ||
220 | } | ||
221 | case AlloyLanguagePackage.ALS_OR: | ||
222 | { | ||
223 | ALSOr alsOr = (ALSOr)theEObject; | ||
224 | T result = caseALSOr(alsOr); | ||
225 | if (result == null) result = caseALSTerm(alsOr); | ||
226 | if (result == null) result = defaultCase(theEObject); | ||
227 | return result; | ||
228 | } | ||
229 | case AlloyLanguagePackage.ALS_IFF: | ||
230 | { | ||
231 | ALSIff alsIff = (ALSIff)theEObject; | ||
232 | T result = caseALSIff(alsIff); | ||
233 | if (result == null) result = caseALSTerm(alsIff); | ||
234 | if (result == null) result = defaultCase(theEObject); | ||
235 | return result; | ||
236 | } | ||
237 | case AlloyLanguagePackage.ALS_IMPL: | ||
238 | { | ||
239 | ALSImpl alsImpl = (ALSImpl)theEObject; | ||
240 | T result = caseALSImpl(alsImpl); | ||
241 | if (result == null) result = caseALSTerm(alsImpl); | ||
242 | if (result == null) result = defaultCase(theEObject); | ||
243 | return result; | ||
244 | } | ||
245 | case AlloyLanguagePackage.ALS_AND: | ||
246 | { | ||
247 | ALSAnd alsAnd = (ALSAnd)theEObject; | ||
248 | T result = caseALSAnd(alsAnd); | ||
249 | if (result == null) result = caseALSTerm(alsAnd); | ||
250 | if (result == null) result = defaultCase(theEObject); | ||
251 | return result; | ||
252 | } | ||
253 | case AlloyLanguagePackage.ALS_EQUALS: | ||
254 | { | ||
255 | ALSEquals alsEquals = (ALSEquals)theEObject; | ||
256 | T result = caseALSEquals(alsEquals); | ||
257 | if (result == null) result = caseALSTerm(alsEquals); | ||
258 | if (result == null) result = defaultCase(theEObject); | ||
259 | return result; | ||
260 | } | ||
261 | case AlloyLanguagePackage.ALS_NOT_EQUALS: | ||
262 | { | ||
263 | ALSNotEquals alsNotEquals = (ALSNotEquals)theEObject; | ||
264 | T result = caseALSNotEquals(alsNotEquals); | ||
265 | if (result == null) result = caseALSTerm(alsNotEquals); | ||
266 | if (result == null) result = defaultCase(theEObject); | ||
267 | return result; | ||
268 | } | ||
269 | case AlloyLanguagePackage.ALS_SUBSET: | ||
270 | { | ||
271 | ALSSubset alsSubset = (ALSSubset)theEObject; | ||
272 | T result = caseALSSubset(alsSubset); | ||
273 | if (result == null) result = caseALSTerm(alsSubset); | ||
274 | if (result == null) result = defaultCase(theEObject); | ||
275 | return result; | ||
276 | } | ||
277 | case AlloyLanguagePackage.ALS_LESS: | ||
278 | { | ||
279 | ALSLess alsLess = (ALSLess)theEObject; | ||
280 | T result = caseALSLess(alsLess); | ||
281 | if (result == null) result = caseALSTerm(alsLess); | ||
282 | if (result == null) result = defaultCase(theEObject); | ||
283 | return result; | ||
284 | } | ||
285 | case AlloyLanguagePackage.ALS_LEQ: | ||
286 | { | ||
287 | ALSLeq alsLeq = (ALSLeq)theEObject; | ||
288 | T result = caseALSLeq(alsLeq); | ||
289 | if (result == null) result = caseALSTerm(alsLeq); | ||
290 | if (result == null) result = defaultCase(theEObject); | ||
291 | return result; | ||
292 | } | ||
293 | case AlloyLanguagePackage.ALS_MORE: | ||
294 | { | ||
295 | ALSMore alsMore = (ALSMore)theEObject; | ||
296 | T result = caseALSMore(alsMore); | ||
297 | if (result == null) result = caseALSTerm(alsMore); | ||
298 | if (result == null) result = defaultCase(theEObject); | ||
299 | return result; | ||
300 | } | ||
301 | case AlloyLanguagePackage.ALS_MEQ: | ||
302 | { | ||
303 | ALSMeq alsMeq = (ALSMeq)theEObject; | ||
304 | T result = caseALSMeq(alsMeq); | ||
305 | if (result == null) result = caseALSTerm(alsMeq); | ||
306 | if (result == null) result = defaultCase(theEObject); | ||
307 | return result; | ||
308 | } | ||
309 | case AlloyLanguagePackage.ALS_OVERRIDE: | ||
310 | { | ||
311 | ALSOverride alsOverride = (ALSOverride)theEObject; | ||
312 | T result = caseALSOverride(alsOverride); | ||
313 | if (result == null) result = caseALSTerm(alsOverride); | ||
314 | if (result == null) result = defaultCase(theEObject); | ||
315 | return result; | ||
316 | } | ||
317 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_RIGHT: | ||
318 | { | ||
319 | ALSRangeRestrictionRight alsRangeRestrictionRight = (ALSRangeRestrictionRight)theEObject; | ||
320 | T result = caseALSRangeRestrictionRight(alsRangeRestrictionRight); | ||
321 | if (result == null) result = caseALSTerm(alsRangeRestrictionRight); | ||
322 | if (result == null) result = defaultCase(theEObject); | ||
323 | return result; | ||
324 | } | ||
325 | case AlloyLanguagePackage.ALS_RANGE_RESTRICTION_LEFT: | ||
326 | { | ||
327 | ALSRangeRestrictionLeft alsRangeRestrictionLeft = (ALSRangeRestrictionLeft)theEObject; | ||
328 | T result = caseALSRangeRestrictionLeft(alsRangeRestrictionLeft); | ||
329 | if (result == null) result = caseALSTerm(alsRangeRestrictionLeft); | ||
330 | if (result == null) result = defaultCase(theEObject); | ||
331 | return result; | ||
332 | } | ||
333 | case AlloyLanguagePackage.ALS_JOIN: | ||
334 | { | ||
335 | ALSJoin alsJoin = (ALSJoin)theEObject; | ||
336 | T result = caseALSJoin(alsJoin); | ||
337 | if (result == null) result = caseALSTerm(alsJoin); | ||
338 | if (result == null) result = defaultCase(theEObject); | ||
339 | return result; | ||
340 | } | ||
341 | case AlloyLanguagePackage.ALS_MINUS: | ||
342 | { | ||
343 | ALSMinus alsMinus = (ALSMinus)theEObject; | ||
344 | T result = caseALSMinus(alsMinus); | ||
345 | if (result == null) result = caseALSTerm(alsMinus); | ||
346 | if (result == null) result = defaultCase(theEObject); | ||
347 | return result; | ||
348 | } | ||
349 | case AlloyLanguagePackage.ALS_PLUS: | ||
350 | { | ||
351 | ALSPlus alsPlus = (ALSPlus)theEObject; | ||
352 | T result = caseALSPlus(alsPlus); | ||
353 | if (result == null) result = caseALSTerm(alsPlus); | ||
354 | if (result == null) result = defaultCase(theEObject); | ||
355 | return result; | ||
356 | } | ||
357 | case AlloyLanguagePackage.ALS_INTERSECTION: | ||
358 | { | ||
359 | ALSIntersection alsIntersection = (ALSIntersection)theEObject; | ||
360 | T result = caseALSIntersection(alsIntersection); | ||
361 | if (result == null) result = caseALSTerm(alsIntersection); | ||
362 | if (result == null) result = defaultCase(theEObject); | ||
363 | return result; | ||
364 | } | ||
365 | case AlloyLanguagePackage.ALS_DIRECT_PRODUCT: | ||
366 | { | ||
367 | ALSDirectProduct alsDirectProduct = (ALSDirectProduct)theEObject; | ||
368 | T result = caseALSDirectProduct(alsDirectProduct); | ||
369 | if (result == null) result = caseALSTerm(alsDirectProduct); | ||
370 | if (result == null) result = defaultCase(theEObject); | ||
371 | return result; | ||
372 | } | ||
373 | case AlloyLanguagePackage.ALS_NOT: | ||
374 | { | ||
375 | ALSNot alsNot = (ALSNot)theEObject; | ||
376 | T result = caseALSNot(alsNot); | ||
377 | if (result == null) result = caseALSTerm(alsNot); | ||
378 | if (result == null) result = defaultCase(theEObject); | ||
379 | return result; | ||
380 | } | ||
381 | case AlloyLanguagePackage.ALS_INVERSE_RELATION: | ||
382 | { | ||
383 | ALSInverseRelation alsInverseRelation = (ALSInverseRelation)theEObject; | ||
384 | T result = caseALSInverseRelation(alsInverseRelation); | ||
385 | if (result == null) result = caseALSTerm(alsInverseRelation); | ||
386 | if (result == null) result = defaultCase(theEObject); | ||
387 | return result; | ||
388 | } | ||
389 | case AlloyLanguagePackage.AL_STRANSITIVE_CLOSURE: | ||
390 | { | ||
391 | AlSTransitiveClosure alSTransitiveClosure = (AlSTransitiveClosure)theEObject; | ||
392 | T result = caseAlSTransitiveClosure(alSTransitiveClosure); | ||
393 | if (result == null) result = caseALSTerm(alSTransitiveClosure); | ||
394 | if (result == null) result = defaultCase(theEObject); | ||
395 | return result; | ||
396 | } | ||
397 | case AlloyLanguagePackage.ALS_REFLECTIVE_TRANSITIVE_CLOSURE: | ||
398 | { | ||
399 | ALSReflectiveTransitiveClosure alsReflectiveTransitiveClosure = (ALSReflectiveTransitiveClosure)theEObject; | ||
400 | T result = caseALSReflectiveTransitiveClosure(alsReflectiveTransitiveClosure); | ||
401 | if (result == null) result = caseALSTerm(alsReflectiveTransitiveClosure); | ||
402 | if (result == null) result = defaultCase(theEObject); | ||
403 | return result; | ||
404 | } | ||
405 | case AlloyLanguagePackage.ALS_CARDINALITY: | ||
406 | { | ||
407 | ALSCardinality alsCardinality = (ALSCardinality)theEObject; | ||
408 | T result = caseALSCardinality(alsCardinality); | ||
409 | if (result == null) result = caseALSTerm(alsCardinality); | ||
410 | if (result == null) result = defaultCase(theEObject); | ||
411 | return result; | ||
412 | } | ||
413 | case AlloyLanguagePackage.ALS_UNARY_MINUS: | ||
414 | { | ||
415 | ALSUnaryMinus alsUnaryMinus = (ALSUnaryMinus)theEObject; | ||
416 | T result = caseALSUnaryMinus(alsUnaryMinus); | ||
417 | if (result == null) result = caseALSTerm(alsUnaryMinus); | ||
418 | if (result == null) result = defaultCase(theEObject); | ||
419 | return result; | ||
420 | } | ||
421 | case AlloyLanguagePackage.ALS_SUM: | ||
422 | { | ||
423 | ALSSum alsSum = (ALSSum)theEObject; | ||
424 | T result = caseALSSum(alsSum); | ||
425 | if (result == null) result = caseALSTerm(alsSum); | ||
426 | if (result == null) result = defaultCase(theEObject); | ||
427 | return result; | ||
428 | } | ||
429 | case AlloyLanguagePackage.ALS_FUNCTION_CALL: | ||
430 | { | ||
431 | ALSFunctionCall alsFunctionCall = (ALSFunctionCall)theEObject; | ||
432 | T result = caseALSFunctionCall(alsFunctionCall); | ||
433 | if (result == null) result = caseALSTerm(alsFunctionCall); | ||
434 | if (result == null) result = defaultCase(theEObject); | ||
435 | return result; | ||
436 | } | ||
437 | case AlloyLanguagePackage.ALS_NONE: | ||
438 | { | ||
439 | ALSNone alsNone = (ALSNone)theEObject; | ||
440 | T result = caseALSNone(alsNone); | ||
441 | if (result == null) result = caseALSTerm(alsNone); | ||
442 | if (result == null) result = defaultCase(theEObject); | ||
443 | return result; | ||
444 | } | ||
445 | case AlloyLanguagePackage.ALS_IDEN: | ||
446 | { | ||
447 | ALSIden alsIden = (ALSIden)theEObject; | ||
448 | T result = caseALSIden(alsIden); | ||
449 | if (result == null) result = caseALSTerm(alsIden); | ||
450 | if (result == null) result = defaultCase(theEObject); | ||
451 | return result; | ||
452 | } | ||
453 | case AlloyLanguagePackage.ALS_UNIV: | ||
454 | { | ||
455 | ALSUniv alsUniv = (ALSUniv)theEObject; | ||
456 | T result = caseALSUniv(alsUniv); | ||
457 | if (result == null) result = caseALSTerm(alsUniv); | ||
458 | if (result == null) result = defaultCase(theEObject); | ||
459 | return result; | ||
460 | } | ||
461 | case AlloyLanguagePackage.ALS_INT: | ||
462 | { | ||
463 | ALSInt alsInt = (ALSInt)theEObject; | ||
464 | T result = caseALSInt(alsInt); | ||
465 | if (result == null) result = caseALSTerm(alsInt); | ||
466 | if (result == null) result = defaultCase(theEObject); | ||
467 | return result; | ||
468 | } | ||
469 | case AlloyLanguagePackage.ALS_REFERENCE: | ||
470 | { | ||
471 | ALSReference alsReference = (ALSReference)theEObject; | ||
472 | T result = caseALSReference(alsReference); | ||
473 | if (result == null) result = caseALSTerm(alsReference); | ||
474 | if (result == null) result = defaultCase(theEObject); | ||
475 | return result; | ||
476 | } | ||
477 | case AlloyLanguagePackage.ALS_NUMBER_LITERAL: | ||
478 | { | ||
479 | ALSNumberLiteral alsNumberLiteral = (ALSNumberLiteral)theEObject; | ||
480 | T result = caseALSNumberLiteral(alsNumberLiteral); | ||
481 | if (result == null) result = caseALSTerm(alsNumberLiteral); | ||
482 | if (result == null) result = defaultCase(theEObject); | ||
483 | return result; | ||
484 | } | ||
485 | default: return defaultCase(theEObject); | ||
486 | } | ||
487 | } | ||
488 | |||
489 | /** | ||
490 | * Returns the result of interpreting the object as an instance of '<em>ALS Document</em>'. | ||
491 | * <!-- begin-user-doc --> | ||
492 | * This implementation returns null; | ||
493 | * returning a non-null result will terminate the switch. | ||
494 | * <!-- end-user-doc --> | ||
495 | * @param object the target of the switch. | ||
496 | * @return the result of interpreting the object as an instance of '<em>ALS Document</em>'. | ||
497 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
498 | * @generated | ||
499 | */ | ||
500 | public T caseALSDocument(ALSDocument object) | ||
501 | { | ||
502 | return null; | ||
503 | } | ||
504 | |||
505 | /** | ||
506 | * Returns the result of interpreting the object as an instance of '<em>ALS Relation Declaration</em>'. | ||
507 | * <!-- begin-user-doc --> | ||
508 | * This implementation returns null; | ||
509 | * returning a non-null result will terminate the switch. | ||
510 | * <!-- end-user-doc --> | ||
511 | * @param object the target of the switch. | ||
512 | * @return the result of interpreting the object as an instance of '<em>ALS Relation Declaration</em>'. | ||
513 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
514 | * @generated | ||
515 | */ | ||
516 | public T caseALSRelationDeclaration(ALSRelationDeclaration object) | ||
517 | { | ||
518 | return null; | ||
519 | } | ||
520 | |||
521 | /** | ||
522 | * Returns the result of interpreting the object as an instance of '<em>ALS Type Declaration</em>'. | ||
523 | * <!-- begin-user-doc --> | ||
524 | * This implementation returns null; | ||
525 | * returning a non-null result will terminate the switch. | ||
526 | * <!-- end-user-doc --> | ||
527 | * @param object the target of the switch. | ||
528 | * @return the result of interpreting the object as an instance of '<em>ALS Type Declaration</em>'. | ||
529 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
530 | * @generated | ||
531 | */ | ||
532 | public T caseALSTypeDeclaration(ALSTypeDeclaration object) | ||
533 | { | ||
534 | return null; | ||
535 | } | ||
536 | |||
537 | /** | ||
538 | * Returns the result of interpreting the object as an instance of '<em>ALS Enum Declaration</em>'. | ||
539 | * <!-- begin-user-doc --> | ||
540 | * This implementation returns null; | ||
541 | * returning a non-null result will terminate the switch. | ||
542 | * <!-- end-user-doc --> | ||
543 | * @param object the target of the switch. | ||
544 | * @return the result of interpreting the object as an instance of '<em>ALS Enum Declaration</em>'. | ||
545 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
546 | * @generated | ||
547 | */ | ||
548 | public T caseALSEnumDeclaration(ALSEnumDeclaration object) | ||
549 | { | ||
550 | return null; | ||
551 | } | ||
552 | |||
553 | /** | ||
554 | * Returns the result of interpreting the object as an instance of '<em>ALS Enum Literal</em>'. | ||
555 | * <!-- begin-user-doc --> | ||
556 | * This implementation returns null; | ||
557 | * returning a non-null result will terminate the switch. | ||
558 | * <!-- end-user-doc --> | ||
559 | * @param object the target of the switch. | ||
560 | * @return the result of interpreting the object as an instance of '<em>ALS Enum Literal</em>'. | ||
561 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
562 | * @generated | ||
563 | */ | ||
564 | public T caseALSEnumLiteral(ALSEnumLiteral object) | ||
565 | { | ||
566 | return null; | ||
567 | } | ||
568 | |||
569 | /** | ||
570 | * Returns the result of interpreting the object as an instance of '<em>ALS Signature Declaration</em>'. | ||
571 | * <!-- begin-user-doc --> | ||
572 | * This implementation returns null; | ||
573 | * returning a non-null result will terminate the switch. | ||
574 | * <!-- end-user-doc --> | ||
575 | * @param object the target of the switch. | ||
576 | * @return the result of interpreting the object as an instance of '<em>ALS Signature Declaration</em>'. | ||
577 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
578 | * @generated | ||
579 | */ | ||
580 | public T caseALSSignatureDeclaration(ALSSignatureDeclaration object) | ||
581 | { | ||
582 | return null; | ||
583 | } | ||
584 | |||
585 | /** | ||
586 | * Returns the result of interpreting the object as an instance of '<em>ALS Signature Body</em>'. | ||
587 | * <!-- begin-user-doc --> | ||
588 | * This implementation returns null; | ||
589 | * returning a non-null result will terminate the switch. | ||
590 | * <!-- end-user-doc --> | ||
591 | * @param object the target of the switch. | ||
592 | * @return the result of interpreting the object as an instance of '<em>ALS Signature Body</em>'. | ||
593 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
594 | * @generated | ||
595 | */ | ||
596 | public T caseALSSignatureBody(ALSSignatureBody object) | ||
597 | { | ||
598 | return null; | ||
599 | } | ||
600 | |||
601 | /** | ||
602 | * Returns the result of interpreting the object as an instance of '<em>ALS Field Declaration</em>'. | ||
603 | * <!-- begin-user-doc --> | ||
604 | * This implementation returns null; | ||
605 | * returning a non-null result will terminate the switch. | ||
606 | * <!-- end-user-doc --> | ||
607 | * @param object the target of the switch. | ||
608 | * @return the result of interpreting the object as an instance of '<em>ALS Field Declaration</em>'. | ||
609 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
610 | * @generated | ||
611 | */ | ||
612 | public T caseALSFieldDeclaration(ALSFieldDeclaration object) | ||
613 | { | ||
614 | return null; | ||
615 | } | ||
616 | |||
617 | /** | ||
618 | * Returns the result of interpreting the object as an instance of '<em>ALS Definition</em>'. | ||
619 | * <!-- begin-user-doc --> | ||
620 | * This implementation returns null; | ||
621 | * returning a non-null result will terminate the switch. | ||
622 | * <!-- end-user-doc --> | ||
623 | * @param object the target of the switch. | ||
624 | * @return the result of interpreting the object as an instance of '<em>ALS Definition</em>'. | ||
625 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
626 | * @generated | ||
627 | */ | ||
628 | public T caseALSDefinition(ALSDefinition object) | ||
629 | { | ||
630 | return null; | ||
631 | } | ||
632 | |||
633 | /** | ||
634 | * Returns the result of interpreting the object as an instance of '<em>ALS Function Definition</em>'. | ||
635 | * <!-- begin-user-doc --> | ||
636 | * This implementation returns null; | ||
637 | * returning a non-null result will terminate the switch. | ||
638 | * <!-- end-user-doc --> | ||
639 | * @param object the target of the switch. | ||
640 | * @return the result of interpreting the object as an instance of '<em>ALS Function Definition</em>'. | ||
641 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
642 | * @generated | ||
643 | */ | ||
644 | public T caseALSFunctionDefinition(ALSFunctionDefinition object) | ||
645 | { | ||
646 | return null; | ||
647 | } | ||
648 | |||
649 | /** | ||
650 | * Returns the result of interpreting the object as an instance of '<em>ALS Relation Definition</em>'. | ||
651 | * <!-- begin-user-doc --> | ||
652 | * This implementation returns null; | ||
653 | * returning a non-null result will terminate the switch. | ||
654 | * <!-- end-user-doc --> | ||
655 | * @param object the target of the switch. | ||
656 | * @return the result of interpreting the object as an instance of '<em>ALS Relation Definition</em>'. | ||
657 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
658 | * @generated | ||
659 | */ | ||
660 | public T caseALSRelationDefinition(ALSRelationDefinition object) | ||
661 | { | ||
662 | return null; | ||
663 | } | ||
664 | |||
665 | /** | ||
666 | * Returns the result of interpreting the object as an instance of '<em>ALS Fact Declaration</em>'. | ||
667 | * <!-- begin-user-doc --> | ||
668 | * This implementation returns null; | ||
669 | * returning a non-null result will terminate the switch. | ||
670 | * <!-- end-user-doc --> | ||
671 | * @param object the target of the switch. | ||
672 | * @return the result of interpreting the object as an instance of '<em>ALS Fact Declaration</em>'. | ||
673 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
674 | * @generated | ||
675 | */ | ||
676 | public T caseALSFactDeclaration(ALSFactDeclaration object) | ||
677 | { | ||
678 | return null; | ||
679 | } | ||
680 | |||
681 | /** | ||
682 | * Returns the result of interpreting the object as an instance of '<em>ALS Term</em>'. | ||
683 | * <!-- begin-user-doc --> | ||
684 | * This implementation returns null; | ||
685 | * returning a non-null result will terminate the switch. | ||
686 | * <!-- end-user-doc --> | ||
687 | * @param object the target of the switch. | ||
688 | * @return the result of interpreting the object as an instance of '<em>ALS Term</em>'. | ||
689 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
690 | * @generated | ||
691 | */ | ||
692 | public T caseALSTerm(ALSTerm object) | ||
693 | { | ||
694 | return null; | ||
695 | } | ||
696 | |||
697 | /** | ||
698 | * Returns the result of interpreting the object as an instance of '<em>ALS Variable Declaration</em>'. | ||
699 | * <!-- begin-user-doc --> | ||
700 | * This implementation returns null; | ||
701 | * returning a non-null result will terminate the switch. | ||
702 | * <!-- end-user-doc --> | ||
703 | * @param object the target of the switch. | ||
704 | * @return the result of interpreting the object as an instance of '<em>ALS Variable Declaration</em>'. | ||
705 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
706 | * @generated | ||
707 | */ | ||
708 | public T caseALSVariableDeclaration(ALSVariableDeclaration object) | ||
709 | { | ||
710 | return null; | ||
711 | } | ||
712 | |||
713 | /** | ||
714 | * Returns the result of interpreting the object as an instance of '<em>ALS Run Command</em>'. | ||
715 | * <!-- begin-user-doc --> | ||
716 | * This implementation returns null; | ||
717 | * returning a non-null result will terminate the switch. | ||
718 | * <!-- end-user-doc --> | ||
719 | * @param object the target of the switch. | ||
720 | * @return the result of interpreting the object as an instance of '<em>ALS Run Command</em>'. | ||
721 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
722 | * @generated | ||
723 | */ | ||
724 | public T caseALSRunCommand(ALSRunCommand object) | ||
725 | { | ||
726 | return null; | ||
727 | } | ||
728 | |||
729 | /** | ||
730 | * Returns the result of interpreting the object as an instance of '<em>ALS Type Scope</em>'. | ||
731 | * <!-- begin-user-doc --> | ||
732 | * This implementation returns null; | ||
733 | * returning a non-null result will terminate the switch. | ||
734 | * <!-- end-user-doc --> | ||
735 | * @param object the target of the switch. | ||
736 | * @return the result of interpreting the object as an instance of '<em>ALS Type Scope</em>'. | ||
737 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
738 | * @generated | ||
739 | */ | ||
740 | public T caseALSTypeScope(ALSTypeScope object) | ||
741 | { | ||
742 | return null; | ||
743 | } | ||
744 | |||
745 | /** | ||
746 | * Returns the result of interpreting the object as an instance of '<em>ALS Sig Scope</em>'. | ||
747 | * <!-- begin-user-doc --> | ||
748 | * This implementation returns null; | ||
749 | * returning a non-null result will terminate the switch. | ||
750 | * <!-- end-user-doc --> | ||
751 | * @param object the target of the switch. | ||
752 | * @return the result of interpreting the object as an instance of '<em>ALS Sig Scope</em>'. | ||
753 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
754 | * @generated | ||
755 | */ | ||
756 | public T caseALSSigScope(ALSSigScope object) | ||
757 | { | ||
758 | return null; | ||
759 | } | ||
760 | |||
761 | /** | ||
762 | * Returns the result of interpreting the object as an instance of '<em>ALS Int Scope</em>'. | ||
763 | * <!-- begin-user-doc --> | ||
764 | * This implementation returns null; | ||
765 | * returning a non-null result will terminate the switch. | ||
766 | * <!-- end-user-doc --> | ||
767 | * @param object the target of the switch. | ||
768 | * @return the result of interpreting the object as an instance of '<em>ALS Int Scope</em>'. | ||
769 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
770 | * @generated | ||
771 | */ | ||
772 | public T caseALSIntScope(ALSIntScope object) | ||
773 | { | ||
774 | return null; | ||
775 | } | ||
776 | |||
777 | /** | ||
778 | * Returns the result of interpreting the object as an instance of '<em>ALS Quantified Ex</em>'. | ||
779 | * <!-- begin-user-doc --> | ||
780 | * This implementation returns null; | ||
781 | * returning a non-null result will terminate the switch. | ||
782 | * <!-- end-user-doc --> | ||
783 | * @param object the target of the switch. | ||
784 | * @return the result of interpreting the object as an instance of '<em>ALS Quantified Ex</em>'. | ||
785 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
786 | * @generated | ||
787 | */ | ||
788 | public T caseALSQuantifiedEx(ALSQuantifiedEx object) | ||
789 | { | ||
790 | return null; | ||
791 | } | ||
792 | |||
793 | /** | ||
794 | * Returns the result of interpreting the object as an instance of '<em>ALS Or</em>'. | ||
795 | * <!-- begin-user-doc --> | ||
796 | * This implementation returns null; | ||
797 | * returning a non-null result will terminate the switch. | ||
798 | * <!-- end-user-doc --> | ||
799 | * @param object the target of the switch. | ||
800 | * @return the result of interpreting the object as an instance of '<em>ALS Or</em>'. | ||
801 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
802 | * @generated | ||
803 | */ | ||
804 | public T caseALSOr(ALSOr object) | ||
805 | { | ||
806 | return null; | ||
807 | } | ||
808 | |||
809 | /** | ||
810 | * Returns the result of interpreting the object as an instance of '<em>ALS Iff</em>'. | ||
811 | * <!-- begin-user-doc --> | ||
812 | * This implementation returns null; | ||
813 | * returning a non-null result will terminate the switch. | ||
814 | * <!-- end-user-doc --> | ||
815 | * @param object the target of the switch. | ||
816 | * @return the result of interpreting the object as an instance of '<em>ALS Iff</em>'. | ||
817 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
818 | * @generated | ||
819 | */ | ||
820 | public T caseALSIff(ALSIff object) | ||
821 | { | ||
822 | return null; | ||
823 | } | ||
824 | |||
825 | /** | ||
826 | * Returns the result of interpreting the object as an instance of '<em>ALS Impl</em>'. | ||
827 | * <!-- begin-user-doc --> | ||
828 | * This implementation returns null; | ||
829 | * returning a non-null result will terminate the switch. | ||
830 | * <!-- end-user-doc --> | ||
831 | * @param object the target of the switch. | ||
832 | * @return the result of interpreting the object as an instance of '<em>ALS Impl</em>'. | ||
833 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
834 | * @generated | ||
835 | */ | ||
836 | public T caseALSImpl(ALSImpl object) | ||
837 | { | ||
838 | return null; | ||
839 | } | ||
840 | |||
841 | /** | ||
842 | * Returns the result of interpreting the object as an instance of '<em>ALS And</em>'. | ||
843 | * <!-- begin-user-doc --> | ||
844 | * This implementation returns null; | ||
845 | * returning a non-null result will terminate the switch. | ||
846 | * <!-- end-user-doc --> | ||
847 | * @param object the target of the switch. | ||
848 | * @return the result of interpreting the object as an instance of '<em>ALS And</em>'. | ||
849 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
850 | * @generated | ||
851 | */ | ||
852 | public T caseALSAnd(ALSAnd object) | ||
853 | { | ||
854 | return null; | ||
855 | } | ||
856 | |||
857 | /** | ||
858 | * Returns the result of interpreting the object as an instance of '<em>ALS Equals</em>'. | ||
859 | * <!-- begin-user-doc --> | ||
860 | * This implementation returns null; | ||
861 | * returning a non-null result will terminate the switch. | ||
862 | * <!-- end-user-doc --> | ||
863 | * @param object the target of the switch. | ||
864 | * @return the result of interpreting the object as an instance of '<em>ALS Equals</em>'. | ||
865 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
866 | * @generated | ||
867 | */ | ||
868 | public T caseALSEquals(ALSEquals object) | ||
869 | { | ||
870 | return null; | ||
871 | } | ||
872 | |||
873 | /** | ||
874 | * Returns the result of interpreting the object as an instance of '<em>ALS Not Equals</em>'. | ||
875 | * <!-- begin-user-doc --> | ||
876 | * This implementation returns null; | ||
877 | * returning a non-null result will terminate the switch. | ||
878 | * <!-- end-user-doc --> | ||
879 | * @param object the target of the switch. | ||
880 | * @return the result of interpreting the object as an instance of '<em>ALS Not Equals</em>'. | ||
881 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
882 | * @generated | ||
883 | */ | ||
884 | public T caseALSNotEquals(ALSNotEquals object) | ||
885 | { | ||
886 | return null; | ||
887 | } | ||
888 | |||
889 | /** | ||
890 | * Returns the result of interpreting the object as an instance of '<em>ALS Subset</em>'. | ||
891 | * <!-- begin-user-doc --> | ||
892 | * This implementation returns null; | ||
893 | * returning a non-null result will terminate the switch. | ||
894 | * <!-- end-user-doc --> | ||
895 | * @param object the target of the switch. | ||
896 | * @return the result of interpreting the object as an instance of '<em>ALS Subset</em>'. | ||
897 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
898 | * @generated | ||
899 | */ | ||
900 | public T caseALSSubset(ALSSubset object) | ||
901 | { | ||
902 | return null; | ||
903 | } | ||
904 | |||
905 | /** | ||
906 | * Returns the result of interpreting the object as an instance of '<em>ALS Less</em>'. | ||
907 | * <!-- begin-user-doc --> | ||
908 | * This implementation returns null; | ||
909 | * returning a non-null result will terminate the switch. | ||
910 | * <!-- end-user-doc --> | ||
911 | * @param object the target of the switch. | ||
912 | * @return the result of interpreting the object as an instance of '<em>ALS Less</em>'. | ||
913 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
914 | * @generated | ||
915 | */ | ||
916 | public T caseALSLess(ALSLess object) | ||
917 | { | ||
918 | return null; | ||
919 | } | ||
920 | |||
921 | /** | ||
922 | * Returns the result of interpreting the object as an instance of '<em>ALS Leq</em>'. | ||
923 | * <!-- begin-user-doc --> | ||
924 | * This implementation returns null; | ||
925 | * returning a non-null result will terminate the switch. | ||
926 | * <!-- end-user-doc --> | ||
927 | * @param object the target of the switch. | ||
928 | * @return the result of interpreting the object as an instance of '<em>ALS Leq</em>'. | ||
929 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
930 | * @generated | ||
931 | */ | ||
932 | public T caseALSLeq(ALSLeq object) | ||
933 | { | ||
934 | return null; | ||
935 | } | ||
936 | |||
937 | /** | ||
938 | * Returns the result of interpreting the object as an instance of '<em>ALS More</em>'. | ||
939 | * <!-- begin-user-doc --> | ||
940 | * This implementation returns null; | ||
941 | * returning a non-null result will terminate the switch. | ||
942 | * <!-- end-user-doc --> | ||
943 | * @param object the target of the switch. | ||
944 | * @return the result of interpreting the object as an instance of '<em>ALS More</em>'. | ||
945 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
946 | * @generated | ||
947 | */ | ||
948 | public T caseALSMore(ALSMore object) | ||
949 | { | ||
950 | return null; | ||
951 | } | ||
952 | |||
953 | /** | ||
954 | * Returns the result of interpreting the object as an instance of '<em>ALS Meq</em>'. | ||
955 | * <!-- begin-user-doc --> | ||
956 | * This implementation returns null; | ||
957 | * returning a non-null result will terminate the switch. | ||
958 | * <!-- end-user-doc --> | ||
959 | * @param object the target of the switch. | ||
960 | * @return the result of interpreting the object as an instance of '<em>ALS Meq</em>'. | ||
961 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
962 | * @generated | ||
963 | */ | ||
964 | public T caseALSMeq(ALSMeq object) | ||
965 | { | ||
966 | return null; | ||
967 | } | ||
968 | |||
969 | /** | ||
970 | * Returns the result of interpreting the object as an instance of '<em>ALS Override</em>'. | ||
971 | * <!-- begin-user-doc --> | ||
972 | * This implementation returns null; | ||
973 | * returning a non-null result will terminate the switch. | ||
974 | * <!-- end-user-doc --> | ||
975 | * @param object the target of the switch. | ||
976 | * @return the result of interpreting the object as an instance of '<em>ALS Override</em>'. | ||
977 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
978 | * @generated | ||
979 | */ | ||
980 | public T caseALSOverride(ALSOverride object) | ||
981 | { | ||
982 | return null; | ||
983 | } | ||
984 | |||
985 | /** | ||
986 | * Returns the result of interpreting the object as an instance of '<em>ALS Range Restriction Right</em>'. | ||
987 | * <!-- begin-user-doc --> | ||
988 | * This implementation returns null; | ||
989 | * returning a non-null result will terminate the switch. | ||
990 | * <!-- end-user-doc --> | ||
991 | * @param object the target of the switch. | ||
992 | * @return the result of interpreting the object as an instance of '<em>ALS Range Restriction Right</em>'. | ||
993 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
994 | * @generated | ||
995 | */ | ||
996 | public T caseALSRangeRestrictionRight(ALSRangeRestrictionRight object) | ||
997 | { | ||
998 | return null; | ||
999 | } | ||
1000 | |||
1001 | /** | ||
1002 | * Returns the result of interpreting the object as an instance of '<em>ALS Range Restriction Left</em>'. | ||
1003 | * <!-- begin-user-doc --> | ||
1004 | * This implementation returns null; | ||
1005 | * returning a non-null result will terminate the switch. | ||
1006 | * <!-- end-user-doc --> | ||
1007 | * @param object the target of the switch. | ||
1008 | * @return the result of interpreting the object as an instance of '<em>ALS Range Restriction Left</em>'. | ||
1009 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1010 | * @generated | ||
1011 | */ | ||
1012 | public T caseALSRangeRestrictionLeft(ALSRangeRestrictionLeft object) | ||
1013 | { | ||
1014 | return null; | ||
1015 | } | ||
1016 | |||
1017 | /** | ||
1018 | * Returns the result of interpreting the object as an instance of '<em>ALS Join</em>'. | ||
1019 | * <!-- begin-user-doc --> | ||
1020 | * This implementation returns null; | ||
1021 | * returning a non-null result will terminate the switch. | ||
1022 | * <!-- end-user-doc --> | ||
1023 | * @param object the target of the switch. | ||
1024 | * @return the result of interpreting the object as an instance of '<em>ALS Join</em>'. | ||
1025 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1026 | * @generated | ||
1027 | */ | ||
1028 | public T caseALSJoin(ALSJoin object) | ||
1029 | { | ||
1030 | return null; | ||
1031 | } | ||
1032 | |||
1033 | /** | ||
1034 | * Returns the result of interpreting the object as an instance of '<em>ALS Minus</em>'. | ||
1035 | * <!-- begin-user-doc --> | ||
1036 | * This implementation returns null; | ||
1037 | * returning a non-null result will terminate the switch. | ||
1038 | * <!-- end-user-doc --> | ||
1039 | * @param object the target of the switch. | ||
1040 | * @return the result of interpreting the object as an instance of '<em>ALS Minus</em>'. | ||
1041 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1042 | * @generated | ||
1043 | */ | ||
1044 | public T caseALSMinus(ALSMinus object) | ||
1045 | { | ||
1046 | return null; | ||
1047 | } | ||
1048 | |||
1049 | /** | ||
1050 | * Returns the result of interpreting the object as an instance of '<em>ALS Plus</em>'. | ||
1051 | * <!-- begin-user-doc --> | ||
1052 | * This implementation returns null; | ||
1053 | * returning a non-null result will terminate the switch. | ||
1054 | * <!-- end-user-doc --> | ||
1055 | * @param object the target of the switch. | ||
1056 | * @return the result of interpreting the object as an instance of '<em>ALS Plus</em>'. | ||
1057 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1058 | * @generated | ||
1059 | */ | ||
1060 | public T caseALSPlus(ALSPlus object) | ||
1061 | { | ||
1062 | return null; | ||
1063 | } | ||
1064 | |||
1065 | /** | ||
1066 | * Returns the result of interpreting the object as an instance of '<em>ALS Intersection</em>'. | ||
1067 | * <!-- begin-user-doc --> | ||
1068 | * This implementation returns null; | ||
1069 | * returning a non-null result will terminate the switch. | ||
1070 | * <!-- end-user-doc --> | ||
1071 | * @param object the target of the switch. | ||
1072 | * @return the result of interpreting the object as an instance of '<em>ALS Intersection</em>'. | ||
1073 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1074 | * @generated | ||
1075 | */ | ||
1076 | public T caseALSIntersection(ALSIntersection object) | ||
1077 | { | ||
1078 | return null; | ||
1079 | } | ||
1080 | |||
1081 | /** | ||
1082 | * Returns the result of interpreting the object as an instance of '<em>ALS Direct Product</em>'. | ||
1083 | * <!-- begin-user-doc --> | ||
1084 | * This implementation returns null; | ||
1085 | * returning a non-null result will terminate the switch. | ||
1086 | * <!-- end-user-doc --> | ||
1087 | * @param object the target of the switch. | ||
1088 | * @return the result of interpreting the object as an instance of '<em>ALS Direct Product</em>'. | ||
1089 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1090 | * @generated | ||
1091 | */ | ||
1092 | public T caseALSDirectProduct(ALSDirectProduct object) | ||
1093 | { | ||
1094 | return null; | ||
1095 | } | ||
1096 | |||
1097 | /** | ||
1098 | * Returns the result of interpreting the object as an instance of '<em>ALS Not</em>'. | ||
1099 | * <!-- begin-user-doc --> | ||
1100 | * This implementation returns null; | ||
1101 | * returning a non-null result will terminate the switch. | ||
1102 | * <!-- end-user-doc --> | ||
1103 | * @param object the target of the switch. | ||
1104 | * @return the result of interpreting the object as an instance of '<em>ALS Not</em>'. | ||
1105 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1106 | * @generated | ||
1107 | */ | ||
1108 | public T caseALSNot(ALSNot object) | ||
1109 | { | ||
1110 | return null; | ||
1111 | } | ||
1112 | |||
1113 | /** | ||
1114 | * Returns the result of interpreting the object as an instance of '<em>ALS Inverse Relation</em>'. | ||
1115 | * <!-- begin-user-doc --> | ||
1116 | * This implementation returns null; | ||
1117 | * returning a non-null result will terminate the switch. | ||
1118 | * <!-- end-user-doc --> | ||
1119 | * @param object the target of the switch. | ||
1120 | * @return the result of interpreting the object as an instance of '<em>ALS Inverse Relation</em>'. | ||
1121 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1122 | * @generated | ||
1123 | */ | ||
1124 | public T caseALSInverseRelation(ALSInverseRelation object) | ||
1125 | { | ||
1126 | return null; | ||
1127 | } | ||
1128 | |||
1129 | /** | ||
1130 | * Returns the result of interpreting the object as an instance of '<em>Al STransitive Closure</em>'. | ||
1131 | * <!-- begin-user-doc --> | ||
1132 | * This implementation returns null; | ||
1133 | * returning a non-null result will terminate the switch. | ||
1134 | * <!-- end-user-doc --> | ||
1135 | * @param object the target of the switch. | ||
1136 | * @return the result of interpreting the object as an instance of '<em>Al STransitive Closure</em>'. | ||
1137 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1138 | * @generated | ||
1139 | */ | ||
1140 | public T caseAlSTransitiveClosure(AlSTransitiveClosure object) | ||
1141 | { | ||
1142 | return null; | ||
1143 | } | ||
1144 | |||
1145 | /** | ||
1146 | * Returns the result of interpreting the object as an instance of '<em>ALS Reflective Transitive Closure</em>'. | ||
1147 | * <!-- begin-user-doc --> | ||
1148 | * This implementation returns null; | ||
1149 | * returning a non-null result will terminate the switch. | ||
1150 | * <!-- end-user-doc --> | ||
1151 | * @param object the target of the switch. | ||
1152 | * @return the result of interpreting the object as an instance of '<em>ALS Reflective Transitive Closure</em>'. | ||
1153 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1154 | * @generated | ||
1155 | */ | ||
1156 | public T caseALSReflectiveTransitiveClosure(ALSReflectiveTransitiveClosure object) | ||
1157 | { | ||
1158 | return null; | ||
1159 | } | ||
1160 | |||
1161 | /** | ||
1162 | * Returns the result of interpreting the object as an instance of '<em>ALS Cardinality</em>'. | ||
1163 | * <!-- begin-user-doc --> | ||
1164 | * This implementation returns null; | ||
1165 | * returning a non-null result will terminate the switch. | ||
1166 | * <!-- end-user-doc --> | ||
1167 | * @param object the target of the switch. | ||
1168 | * @return the result of interpreting the object as an instance of '<em>ALS Cardinality</em>'. | ||
1169 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1170 | * @generated | ||
1171 | */ | ||
1172 | public T caseALSCardinality(ALSCardinality object) | ||
1173 | { | ||
1174 | return null; | ||
1175 | } | ||
1176 | |||
1177 | /** | ||
1178 | * Returns the result of interpreting the object as an instance of '<em>ALS Unary Minus</em>'. | ||
1179 | * <!-- begin-user-doc --> | ||
1180 | * This implementation returns null; | ||
1181 | * returning a non-null result will terminate the switch. | ||
1182 | * <!-- end-user-doc --> | ||
1183 | * @param object the target of the switch. | ||
1184 | * @return the result of interpreting the object as an instance of '<em>ALS Unary Minus</em>'. | ||
1185 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1186 | * @generated | ||
1187 | */ | ||
1188 | public T caseALSUnaryMinus(ALSUnaryMinus object) | ||
1189 | { | ||
1190 | return null; | ||
1191 | } | ||
1192 | |||
1193 | /** | ||
1194 | * Returns the result of interpreting the object as an instance of '<em>ALS Sum</em>'. | ||
1195 | * <!-- begin-user-doc --> | ||
1196 | * This implementation returns null; | ||
1197 | * returning a non-null result will terminate the switch. | ||
1198 | * <!-- end-user-doc --> | ||
1199 | * @param object the target of the switch. | ||
1200 | * @return the result of interpreting the object as an instance of '<em>ALS Sum</em>'. | ||
1201 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1202 | * @generated | ||
1203 | */ | ||
1204 | public T caseALSSum(ALSSum object) | ||
1205 | { | ||
1206 | return null; | ||
1207 | } | ||
1208 | |||
1209 | /** | ||
1210 | * Returns the result of interpreting the object as an instance of '<em>ALS Function Call</em>'. | ||
1211 | * <!-- begin-user-doc --> | ||
1212 | * This implementation returns null; | ||
1213 | * returning a non-null result will terminate the switch. | ||
1214 | * <!-- end-user-doc --> | ||
1215 | * @param object the target of the switch. | ||
1216 | * @return the result of interpreting the object as an instance of '<em>ALS Function Call</em>'. | ||
1217 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1218 | * @generated | ||
1219 | */ | ||
1220 | public T caseALSFunctionCall(ALSFunctionCall object) | ||
1221 | { | ||
1222 | return null; | ||
1223 | } | ||
1224 | |||
1225 | /** | ||
1226 | * Returns the result of interpreting the object as an instance of '<em>ALS None</em>'. | ||
1227 | * <!-- begin-user-doc --> | ||
1228 | * This implementation returns null; | ||
1229 | * returning a non-null result will terminate the switch. | ||
1230 | * <!-- end-user-doc --> | ||
1231 | * @param object the target of the switch. | ||
1232 | * @return the result of interpreting the object as an instance of '<em>ALS None</em>'. | ||
1233 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1234 | * @generated | ||
1235 | */ | ||
1236 | public T caseALSNone(ALSNone object) | ||
1237 | { | ||
1238 | return null; | ||
1239 | } | ||
1240 | |||
1241 | /** | ||
1242 | * Returns the result of interpreting the object as an instance of '<em>ALS Iden</em>'. | ||
1243 | * <!-- begin-user-doc --> | ||
1244 | * This implementation returns null; | ||
1245 | * returning a non-null result will terminate the switch. | ||
1246 | * <!-- end-user-doc --> | ||
1247 | * @param object the target of the switch. | ||
1248 | * @return the result of interpreting the object as an instance of '<em>ALS Iden</em>'. | ||
1249 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1250 | * @generated | ||
1251 | */ | ||
1252 | public T caseALSIden(ALSIden object) | ||
1253 | { | ||
1254 | return null; | ||
1255 | } | ||
1256 | |||
1257 | /** | ||
1258 | * Returns the result of interpreting the object as an instance of '<em>ALS Univ</em>'. | ||
1259 | * <!-- begin-user-doc --> | ||
1260 | * This implementation returns null; | ||
1261 | * returning a non-null result will terminate the switch. | ||
1262 | * <!-- end-user-doc --> | ||
1263 | * @param object the target of the switch. | ||
1264 | * @return the result of interpreting the object as an instance of '<em>ALS Univ</em>'. | ||
1265 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1266 | * @generated | ||
1267 | */ | ||
1268 | public T caseALSUniv(ALSUniv object) | ||
1269 | { | ||
1270 | return null; | ||
1271 | } | ||
1272 | |||
1273 | /** | ||
1274 | * Returns the result of interpreting the object as an instance of '<em>ALS Int</em>'. | ||
1275 | * <!-- begin-user-doc --> | ||
1276 | * This implementation returns null; | ||
1277 | * returning a non-null result will terminate the switch. | ||
1278 | * <!-- end-user-doc --> | ||
1279 | * @param object the target of the switch. | ||
1280 | * @return the result of interpreting the object as an instance of '<em>ALS Int</em>'. | ||
1281 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1282 | * @generated | ||
1283 | */ | ||
1284 | public T caseALSInt(ALSInt object) | ||
1285 | { | ||
1286 | return null; | ||
1287 | } | ||
1288 | |||
1289 | /** | ||
1290 | * Returns the result of interpreting the object as an instance of '<em>ALS Reference</em>'. | ||
1291 | * <!-- begin-user-doc --> | ||
1292 | * This implementation returns null; | ||
1293 | * returning a non-null result will terminate the switch. | ||
1294 | * <!-- end-user-doc --> | ||
1295 | * @param object the target of the switch. | ||
1296 | * @return the result of interpreting the object as an instance of '<em>ALS Reference</em>'. | ||
1297 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1298 | * @generated | ||
1299 | */ | ||
1300 | public T caseALSReference(ALSReference object) | ||
1301 | { | ||
1302 | return null; | ||
1303 | } | ||
1304 | |||
1305 | /** | ||
1306 | * Returns the result of interpreting the object as an instance of '<em>ALS Number Literal</em>'. | ||
1307 | * <!-- begin-user-doc --> | ||
1308 | * This implementation returns null; | ||
1309 | * returning a non-null result will terminate the switch. | ||
1310 | * <!-- end-user-doc --> | ||
1311 | * @param object the target of the switch. | ||
1312 | * @return the result of interpreting the object as an instance of '<em>ALS Number Literal</em>'. | ||
1313 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1314 | * @generated | ||
1315 | */ | ||
1316 | public T caseALSNumberLiteral(ALSNumberLiteral object) | ||
1317 | { | ||
1318 | return null; | ||
1319 | } | ||
1320 | |||
1321 | /** | ||
1322 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
1323 | * <!-- begin-user-doc --> | ||
1324 | * This implementation returns null; | ||
1325 | * returning a non-null result will terminate the switch, but this is the last case anyway. | ||
1326 | * <!-- end-user-doc --> | ||
1327 | * @param object the target of the switch. | ||
1328 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
1329 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) | ||
1330 | * @generated | ||
1331 | */ | ||
1332 | @Override | ||
1333 | public T defaultCase(EObject object) | ||
1334 | { | ||
1335 | return null; | ||
1336 | } | ||
1337 | |||
1338 | } //AlloyLanguageSwitch | ||