diff options
Diffstat (limited to 'language-model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/util/ProblemSwitch.java')
-rw-r--r-- | language-model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/util/ProblemSwitch.java | 728 |
1 files changed, 728 insertions, 0 deletions
diff --git a/language-model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/util/ProblemSwitch.java b/language-model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/util/ProblemSwitch.java new file mode 100644 index 00000000..b74718b5 --- /dev/null +++ b/language-model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/util/ProblemSwitch.java | |||
@@ -0,0 +1,728 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package org.eclipse.viatra.solver.language.model.problem.util; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EObject; | ||
6 | import org.eclipse.emf.ecore.EPackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.util.Switch; | ||
9 | |||
10 | import org.eclipse.viatra.solver.language.model.problem.*; | ||
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 org.eclipse.viatra.solver.language.model.problem.ProblemPackage | ||
23 | * @generated | ||
24 | */ | ||
25 | public class ProblemSwitch<T> extends Switch<T> { | ||
26 | /** | ||
27 | * The cached model package | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | protected static ProblemPackage modelPackage; | ||
33 | |||
34 | /** | ||
35 | * Creates an instance of the switch. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @generated | ||
39 | */ | ||
40 | public ProblemSwitch() { | ||
41 | if (modelPackage == null) { | ||
42 | modelPackage = ProblemPackage.eINSTANCE; | ||
43 | } | ||
44 | } | ||
45 | |||
46 | /** | ||
47 | * Checks whether this is a switch for the given package. | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @param ePackage the package in question. | ||
51 | * @return whether this is a switch for the given package. | ||
52 | * @generated | ||
53 | */ | ||
54 | @Override | ||
55 | protected boolean isSwitchFor(EPackage ePackage) { | ||
56 | return ePackage == modelPackage; | ||
57 | } | ||
58 | |||
59 | /** | ||
60 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @return the first non-null result returned by a <code>caseXXX</code> call. | ||
64 | * @generated | ||
65 | */ | ||
66 | @Override | ||
67 | protected T doSwitch(int classifierID, EObject theEObject) { | ||
68 | switch (classifierID) { | ||
69 | case ProblemPackage.PROBLEM: { | ||
70 | Problem problem = (Problem) theEObject; | ||
71 | T result = caseProblem(problem); | ||
72 | if (result == null) | ||
73 | result = caseNamedElement(problem); | ||
74 | if (result == null) | ||
75 | result = defaultCase(theEObject); | ||
76 | return result; | ||
77 | } | ||
78 | case ProblemPackage.RELATION: { | ||
79 | Relation relation = (Relation) theEObject; | ||
80 | T result = caseRelation(relation); | ||
81 | if (result == null) | ||
82 | result = caseNamedElement(relation); | ||
83 | if (result == null) | ||
84 | result = defaultCase(theEObject); | ||
85 | return result; | ||
86 | } | ||
87 | case ProblemPackage.CLASS_DECLARATION: { | ||
88 | ClassDeclaration classDeclaration = (ClassDeclaration) theEObject; | ||
89 | T result = caseClassDeclaration(classDeclaration); | ||
90 | if (result == null) | ||
91 | result = caseRelation(classDeclaration); | ||
92 | if (result == null) | ||
93 | result = caseStatement(classDeclaration); | ||
94 | if (result == null) | ||
95 | result = caseNamedElement(classDeclaration); | ||
96 | if (result == null) | ||
97 | result = defaultCase(theEObject); | ||
98 | return result; | ||
99 | } | ||
100 | case ProblemPackage.REFERENCE_DECLARATION: { | ||
101 | ReferenceDeclaration referenceDeclaration = (ReferenceDeclaration) theEObject; | ||
102 | T result = caseReferenceDeclaration(referenceDeclaration); | ||
103 | if (result == null) | ||
104 | result = caseRelation(referenceDeclaration); | ||
105 | if (result == null) | ||
106 | result = caseNamedElement(referenceDeclaration); | ||
107 | if (result == null) | ||
108 | result = defaultCase(theEObject); | ||
109 | return result; | ||
110 | } | ||
111 | case ProblemPackage.NAMED_ELEMENT: { | ||
112 | NamedElement namedElement = (NamedElement) theEObject; | ||
113 | T result = caseNamedElement(namedElement); | ||
114 | if (result == null) | ||
115 | result = defaultCase(theEObject); | ||
116 | return result; | ||
117 | } | ||
118 | case ProblemPackage.PREDICATE_DEFINITION: { | ||
119 | PredicateDefinition predicateDefinition = (PredicateDefinition) theEObject; | ||
120 | T result = casePredicateDefinition(predicateDefinition); | ||
121 | if (result == null) | ||
122 | result = caseRelation(predicateDefinition); | ||
123 | if (result == null) | ||
124 | result = caseStatement(predicateDefinition); | ||
125 | if (result == null) | ||
126 | result = caseNamedElement(predicateDefinition); | ||
127 | if (result == null) | ||
128 | result = defaultCase(theEObject); | ||
129 | return result; | ||
130 | } | ||
131 | case ProblemPackage.PARAMETER: { | ||
132 | Parameter parameter = (Parameter) theEObject; | ||
133 | T result = caseParameter(parameter); | ||
134 | if (result == null) | ||
135 | result = caseVariable(parameter); | ||
136 | if (result == null) | ||
137 | result = caseVariableOrNode(parameter); | ||
138 | if (result == null) | ||
139 | result = caseNamedElement(parameter); | ||
140 | if (result == null) | ||
141 | result = defaultCase(theEObject); | ||
142 | return result; | ||
143 | } | ||
144 | case ProblemPackage.VARIABLE: { | ||
145 | Variable variable = (Variable) theEObject; | ||
146 | T result = caseVariable(variable); | ||
147 | if (result == null) | ||
148 | result = caseVariableOrNode(variable); | ||
149 | if (result == null) | ||
150 | result = caseNamedElement(variable); | ||
151 | if (result == null) | ||
152 | result = defaultCase(theEObject); | ||
153 | return result; | ||
154 | } | ||
155 | case ProblemPackage.CONJUNCTION: { | ||
156 | Conjunction conjunction = (Conjunction) theEObject; | ||
157 | T result = caseConjunction(conjunction); | ||
158 | if (result == null) | ||
159 | result = caseExistentialQuantifier(conjunction); | ||
160 | if (result == null) | ||
161 | result = defaultCase(theEObject); | ||
162 | return result; | ||
163 | } | ||
164 | case ProblemPackage.LITERAL: { | ||
165 | Literal literal = (Literal) theEObject; | ||
166 | T result = caseLiteral(literal); | ||
167 | if (result == null) | ||
168 | result = defaultCase(theEObject); | ||
169 | return result; | ||
170 | } | ||
171 | case ProblemPackage.ATOM: { | ||
172 | Atom atom = (Atom) theEObject; | ||
173 | T result = caseAtom(atom); | ||
174 | if (result == null) | ||
175 | result = caseLiteral(atom); | ||
176 | if (result == null) | ||
177 | result = defaultCase(theEObject); | ||
178 | return result; | ||
179 | } | ||
180 | case ProblemPackage.IMPLICIT_VARIABLE: { | ||
181 | ImplicitVariable implicitVariable = (ImplicitVariable) theEObject; | ||
182 | T result = caseImplicitVariable(implicitVariable); | ||
183 | if (result == null) | ||
184 | result = caseVariable(implicitVariable); | ||
185 | if (result == null) | ||
186 | result = caseVariableOrNode(implicitVariable); | ||
187 | if (result == null) | ||
188 | result = caseNamedElement(implicitVariable); | ||
189 | if (result == null) | ||
190 | result = defaultCase(theEObject); | ||
191 | return result; | ||
192 | } | ||
193 | case ProblemPackage.NEGATIVE_LITERAL: { | ||
194 | NegativeLiteral negativeLiteral = (NegativeLiteral) theEObject; | ||
195 | T result = caseNegativeLiteral(negativeLiteral); | ||
196 | if (result == null) | ||
197 | result = caseExistentialQuantifier(negativeLiteral); | ||
198 | if (result == null) | ||
199 | result = caseLiteral(negativeLiteral); | ||
200 | if (result == null) | ||
201 | result = defaultCase(theEObject); | ||
202 | return result; | ||
203 | } | ||
204 | case ProblemPackage.EXISTENTIAL_QUANTIFIER: { | ||
205 | ExistentialQuantifier existentialQuantifier = (ExistentialQuantifier) theEObject; | ||
206 | T result = caseExistentialQuantifier(existentialQuantifier); | ||
207 | if (result == null) | ||
208 | result = defaultCase(theEObject); | ||
209 | return result; | ||
210 | } | ||
211 | case ProblemPackage.ASSERTION: { | ||
212 | Assertion assertion = (Assertion) theEObject; | ||
213 | T result = caseAssertion(assertion); | ||
214 | if (result == null) | ||
215 | result = caseStatement(assertion); | ||
216 | if (result == null) | ||
217 | result = defaultCase(theEObject); | ||
218 | return result; | ||
219 | } | ||
220 | case ProblemPackage.NODE: { | ||
221 | Node node = (Node) theEObject; | ||
222 | T result = caseNode(node); | ||
223 | if (result == null) | ||
224 | result = caseVariableOrNode(node); | ||
225 | if (result == null) | ||
226 | result = caseNamedElement(node); | ||
227 | if (result == null) | ||
228 | result = defaultCase(theEObject); | ||
229 | return result; | ||
230 | } | ||
231 | case ProblemPackage.SCOPE_DECLARATION: { | ||
232 | ScopeDeclaration scopeDeclaration = (ScopeDeclaration) theEObject; | ||
233 | T result = caseScopeDeclaration(scopeDeclaration); | ||
234 | if (result == null) | ||
235 | result = caseStatement(scopeDeclaration); | ||
236 | if (result == null) | ||
237 | result = defaultCase(theEObject); | ||
238 | return result; | ||
239 | } | ||
240 | case ProblemPackage.STATEMENT: { | ||
241 | Statement statement = (Statement) theEObject; | ||
242 | T result = caseStatement(statement); | ||
243 | if (result == null) | ||
244 | result = defaultCase(theEObject); | ||
245 | return result; | ||
246 | } | ||
247 | case ProblemPackage.TYPE_SCOPE: { | ||
248 | TypeScope typeScope = (TypeScope) theEObject; | ||
249 | T result = caseTypeScope(typeScope); | ||
250 | if (result == null) | ||
251 | result = defaultCase(theEObject); | ||
252 | return result; | ||
253 | } | ||
254 | case ProblemPackage.MULTIPLICITY: { | ||
255 | Multiplicity multiplicity = (Multiplicity) theEObject; | ||
256 | T result = caseMultiplicity(multiplicity); | ||
257 | if (result == null) | ||
258 | result = defaultCase(theEObject); | ||
259 | return result; | ||
260 | } | ||
261 | case ProblemPackage.RANGE_MULTIPLICITY: { | ||
262 | RangeMultiplicity rangeMultiplicity = (RangeMultiplicity) theEObject; | ||
263 | T result = caseRangeMultiplicity(rangeMultiplicity); | ||
264 | if (result == null) | ||
265 | result = caseMultiplicity(rangeMultiplicity); | ||
266 | if (result == null) | ||
267 | result = defaultCase(theEObject); | ||
268 | return result; | ||
269 | } | ||
270 | case ProblemPackage.EXACT_MULTIPLICITY: { | ||
271 | ExactMultiplicity exactMultiplicity = (ExactMultiplicity) theEObject; | ||
272 | T result = caseExactMultiplicity(exactMultiplicity); | ||
273 | if (result == null) | ||
274 | result = caseMultiplicity(exactMultiplicity); | ||
275 | if (result == null) | ||
276 | result = defaultCase(theEObject); | ||
277 | return result; | ||
278 | } | ||
279 | case ProblemPackage.UNBOUNDED_MULTIPLICITY: { | ||
280 | UnboundedMultiplicity unboundedMultiplicity = (UnboundedMultiplicity) theEObject; | ||
281 | T result = caseUnboundedMultiplicity(unboundedMultiplicity); | ||
282 | if (result == null) | ||
283 | result = caseMultiplicity(unboundedMultiplicity); | ||
284 | if (result == null) | ||
285 | result = defaultCase(theEObject); | ||
286 | return result; | ||
287 | } | ||
288 | case ProblemPackage.ARGUMENT: { | ||
289 | Argument argument = (Argument) theEObject; | ||
290 | T result = caseArgument(argument); | ||
291 | if (result == null) | ||
292 | result = defaultCase(theEObject); | ||
293 | return result; | ||
294 | } | ||
295 | case ProblemPackage.ENUM_DECLARATION: { | ||
296 | EnumDeclaration enumDeclaration = (EnumDeclaration) theEObject; | ||
297 | T result = caseEnumDeclaration(enumDeclaration); | ||
298 | if (result == null) | ||
299 | result = caseRelation(enumDeclaration); | ||
300 | if (result == null) | ||
301 | result = caseStatement(enumDeclaration); | ||
302 | if (result == null) | ||
303 | result = caseNamedElement(enumDeclaration); | ||
304 | if (result == null) | ||
305 | result = defaultCase(theEObject); | ||
306 | return result; | ||
307 | } | ||
308 | case ProblemPackage.VARIABLE_OR_NODE: { | ||
309 | VariableOrNode variableOrNode = (VariableOrNode) theEObject; | ||
310 | T result = caseVariableOrNode(variableOrNode); | ||
311 | if (result == null) | ||
312 | result = caseNamedElement(variableOrNode); | ||
313 | if (result == null) | ||
314 | result = defaultCase(theEObject); | ||
315 | return result; | ||
316 | } | ||
317 | default: | ||
318 | return defaultCase(theEObject); | ||
319 | } | ||
320 | } | ||
321 | |||
322 | /** | ||
323 | * Returns the result of interpreting the object as an instance of '<em>Problem</em>'. | ||
324 | * <!-- begin-user-doc --> | ||
325 | * This implementation returns null; | ||
326 | * returning a non-null result will terminate the switch. | ||
327 | * <!-- end-user-doc --> | ||
328 | * @param object the target of the switch. | ||
329 | * @return the result of interpreting the object as an instance of '<em>Problem</em>'. | ||
330 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
331 | * @generated | ||
332 | */ | ||
333 | public T caseProblem(Problem object) { | ||
334 | return null; | ||
335 | } | ||
336 | |||
337 | /** | ||
338 | * Returns the result of interpreting the object as an instance of '<em>Relation</em>'. | ||
339 | * <!-- begin-user-doc --> | ||
340 | * This implementation returns null; | ||
341 | * returning a non-null result will terminate the switch. | ||
342 | * <!-- end-user-doc --> | ||
343 | * @param object the target of the switch. | ||
344 | * @return the result of interpreting the object as an instance of '<em>Relation</em>'. | ||
345 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
346 | * @generated | ||
347 | */ | ||
348 | public T caseRelation(Relation object) { | ||
349 | return null; | ||
350 | } | ||
351 | |||
352 | /** | ||
353 | * Returns the result of interpreting the object as an instance of '<em>Class Declaration</em>'. | ||
354 | * <!-- begin-user-doc --> | ||
355 | * This implementation returns null; | ||
356 | * returning a non-null result will terminate the switch. | ||
357 | * <!-- end-user-doc --> | ||
358 | * @param object the target of the switch. | ||
359 | * @return the result of interpreting the object as an instance of '<em>Class Declaration</em>'. | ||
360 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
361 | * @generated | ||
362 | */ | ||
363 | public T caseClassDeclaration(ClassDeclaration object) { | ||
364 | return null; | ||
365 | } | ||
366 | |||
367 | /** | ||
368 | * Returns the result of interpreting the object as an instance of '<em>Reference Declaration</em>'. | ||
369 | * <!-- begin-user-doc --> | ||
370 | * This implementation returns null; | ||
371 | * returning a non-null result will terminate the switch. | ||
372 | * <!-- end-user-doc --> | ||
373 | * @param object the target of the switch. | ||
374 | * @return the result of interpreting the object as an instance of '<em>Reference Declaration</em>'. | ||
375 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
376 | * @generated | ||
377 | */ | ||
378 | public T caseReferenceDeclaration(ReferenceDeclaration object) { | ||
379 | return null; | ||
380 | } | ||
381 | |||
382 | /** | ||
383 | * Returns the result of interpreting the object as an instance of '<em>Named Element</em>'. | ||
384 | * <!-- begin-user-doc --> | ||
385 | * This implementation returns null; | ||
386 | * returning a non-null result will terminate the switch. | ||
387 | * <!-- end-user-doc --> | ||
388 | * @param object the target of the switch. | ||
389 | * @return the result of interpreting the object as an instance of '<em>Named Element</em>'. | ||
390 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
391 | * @generated | ||
392 | */ | ||
393 | public T caseNamedElement(NamedElement object) { | ||
394 | return null; | ||
395 | } | ||
396 | |||
397 | /** | ||
398 | * Returns the result of interpreting the object as an instance of '<em>Predicate Definition</em>'. | ||
399 | * <!-- begin-user-doc --> | ||
400 | * This implementation returns null; | ||
401 | * returning a non-null result will terminate the switch. | ||
402 | * <!-- end-user-doc --> | ||
403 | * @param object the target of the switch. | ||
404 | * @return the result of interpreting the object as an instance of '<em>Predicate Definition</em>'. | ||
405 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
406 | * @generated | ||
407 | */ | ||
408 | public T casePredicateDefinition(PredicateDefinition object) { | ||
409 | return null; | ||
410 | } | ||
411 | |||
412 | /** | ||
413 | * Returns the result of interpreting the object as an instance of '<em>Parameter</em>'. | ||
414 | * <!-- begin-user-doc --> | ||
415 | * This implementation returns null; | ||
416 | * returning a non-null result will terminate the switch. | ||
417 | * <!-- end-user-doc --> | ||
418 | * @param object the target of the switch. | ||
419 | * @return the result of interpreting the object as an instance of '<em>Parameter</em>'. | ||
420 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
421 | * @generated | ||
422 | */ | ||
423 | public T caseParameter(Parameter object) { | ||
424 | return null; | ||
425 | } | ||
426 | |||
427 | /** | ||
428 | * Returns the result of interpreting the object as an instance of '<em>Variable</em>'. | ||
429 | * <!-- begin-user-doc --> | ||
430 | * This implementation returns null; | ||
431 | * returning a non-null result will terminate the switch. | ||
432 | * <!-- end-user-doc --> | ||
433 | * @param object the target of the switch. | ||
434 | * @return the result of interpreting the object as an instance of '<em>Variable</em>'. | ||
435 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
436 | * @generated | ||
437 | */ | ||
438 | public T caseVariable(Variable object) { | ||
439 | return null; | ||
440 | } | ||
441 | |||
442 | /** | ||
443 | * Returns the result of interpreting the object as an instance of '<em>Conjunction</em>'. | ||
444 | * <!-- begin-user-doc --> | ||
445 | * This implementation returns null; | ||
446 | * returning a non-null result will terminate the switch. | ||
447 | * <!-- end-user-doc --> | ||
448 | * @param object the target of the switch. | ||
449 | * @return the result of interpreting the object as an instance of '<em>Conjunction</em>'. | ||
450 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
451 | * @generated | ||
452 | */ | ||
453 | public T caseConjunction(Conjunction object) { | ||
454 | return null; | ||
455 | } | ||
456 | |||
457 | /** | ||
458 | * Returns the result of interpreting the object as an instance of '<em>Literal</em>'. | ||
459 | * <!-- begin-user-doc --> | ||
460 | * This implementation returns null; | ||
461 | * returning a non-null result will terminate the switch. | ||
462 | * <!-- end-user-doc --> | ||
463 | * @param object the target of the switch. | ||
464 | * @return the result of interpreting the object as an instance of '<em>Literal</em>'. | ||
465 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
466 | * @generated | ||
467 | */ | ||
468 | public T caseLiteral(Literal object) { | ||
469 | return null; | ||
470 | } | ||
471 | |||
472 | /** | ||
473 | * Returns the result of interpreting the object as an instance of '<em>Atom</em>'. | ||
474 | * <!-- begin-user-doc --> | ||
475 | * This implementation returns null; | ||
476 | * returning a non-null result will terminate the switch. | ||
477 | * <!-- end-user-doc --> | ||
478 | * @param object the target of the switch. | ||
479 | * @return the result of interpreting the object as an instance of '<em>Atom</em>'. | ||
480 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
481 | * @generated | ||
482 | */ | ||
483 | public T caseAtom(Atom object) { | ||
484 | return null; | ||
485 | } | ||
486 | |||
487 | /** | ||
488 | * Returns the result of interpreting the object as an instance of '<em>Implicit Variable</em>'. | ||
489 | * <!-- begin-user-doc --> | ||
490 | * This implementation returns null; | ||
491 | * returning a non-null result will terminate the switch. | ||
492 | * <!-- end-user-doc --> | ||
493 | * @param object the target of the switch. | ||
494 | * @return the result of interpreting the object as an instance of '<em>Implicit Variable</em>'. | ||
495 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
496 | * @generated | ||
497 | */ | ||
498 | public T caseImplicitVariable(ImplicitVariable object) { | ||
499 | return null; | ||
500 | } | ||
501 | |||
502 | /** | ||
503 | * Returns the result of interpreting the object as an instance of '<em>Negative Literal</em>'. | ||
504 | * <!-- begin-user-doc --> | ||
505 | * This implementation returns null; | ||
506 | * returning a non-null result will terminate the switch. | ||
507 | * <!-- end-user-doc --> | ||
508 | * @param object the target of the switch. | ||
509 | * @return the result of interpreting the object as an instance of '<em>Negative Literal</em>'. | ||
510 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
511 | * @generated | ||
512 | */ | ||
513 | public T caseNegativeLiteral(NegativeLiteral object) { | ||
514 | return null; | ||
515 | } | ||
516 | |||
517 | /** | ||
518 | * Returns the result of interpreting the object as an instance of '<em>Existential Quantifier</em>'. | ||
519 | * <!-- begin-user-doc --> | ||
520 | * This implementation returns null; | ||
521 | * returning a non-null result will terminate the switch. | ||
522 | * <!-- end-user-doc --> | ||
523 | * @param object the target of the switch. | ||
524 | * @return the result of interpreting the object as an instance of '<em>Existential Quantifier</em>'. | ||
525 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
526 | * @generated | ||
527 | */ | ||
528 | public T caseExistentialQuantifier(ExistentialQuantifier object) { | ||
529 | return null; | ||
530 | } | ||
531 | |||
532 | /** | ||
533 | * Returns the result of interpreting the object as an instance of '<em>Assertion</em>'. | ||
534 | * <!-- begin-user-doc --> | ||
535 | * This implementation returns null; | ||
536 | * returning a non-null result will terminate the switch. | ||
537 | * <!-- end-user-doc --> | ||
538 | * @param object the target of the switch. | ||
539 | * @return the result of interpreting the object as an instance of '<em>Assertion</em>'. | ||
540 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
541 | * @generated | ||
542 | */ | ||
543 | public T caseAssertion(Assertion object) { | ||
544 | return null; | ||
545 | } | ||
546 | |||
547 | /** | ||
548 | * Returns the result of interpreting the object as an instance of '<em>Node</em>'. | ||
549 | * <!-- begin-user-doc --> | ||
550 | * This implementation returns null; | ||
551 | * returning a non-null result will terminate the switch. | ||
552 | * <!-- end-user-doc --> | ||
553 | * @param object the target of the switch. | ||
554 | * @return the result of interpreting the object as an instance of '<em>Node</em>'. | ||
555 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
556 | * @generated | ||
557 | */ | ||
558 | public T caseNode(Node object) { | ||
559 | return null; | ||
560 | } | ||
561 | |||
562 | /** | ||
563 | * Returns the result of interpreting the object as an instance of '<em>Scope Declaration</em>'. | ||
564 | * <!-- begin-user-doc --> | ||
565 | * This implementation returns null; | ||
566 | * returning a non-null result will terminate the switch. | ||
567 | * <!-- end-user-doc --> | ||
568 | * @param object the target of the switch. | ||
569 | * @return the result of interpreting the object as an instance of '<em>Scope Declaration</em>'. | ||
570 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
571 | * @generated | ||
572 | */ | ||
573 | public T caseScopeDeclaration(ScopeDeclaration object) { | ||
574 | return null; | ||
575 | } | ||
576 | |||
577 | /** | ||
578 | * Returns the result of interpreting the object as an instance of '<em>Statement</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>Statement</em>'. | ||
585 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
586 | * @generated | ||
587 | */ | ||
588 | public T caseStatement(Statement object) { | ||
589 | return null; | ||
590 | } | ||
591 | |||
592 | /** | ||
593 | * Returns the result of interpreting the object as an instance of '<em>Type Scope</em>'. | ||
594 | * <!-- begin-user-doc --> | ||
595 | * This implementation returns null; | ||
596 | * returning a non-null result will terminate the switch. | ||
597 | * <!-- end-user-doc --> | ||
598 | * @param object the target of the switch. | ||
599 | * @return the result of interpreting the object as an instance of '<em>Type Scope</em>'. | ||
600 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
601 | * @generated | ||
602 | */ | ||
603 | public T caseTypeScope(TypeScope object) { | ||
604 | return null; | ||
605 | } | ||
606 | |||
607 | /** | ||
608 | * Returns the result of interpreting the object as an instance of '<em>Multiplicity</em>'. | ||
609 | * <!-- begin-user-doc --> | ||
610 | * This implementation returns null; | ||
611 | * returning a non-null result will terminate the switch. | ||
612 | * <!-- end-user-doc --> | ||
613 | * @param object the target of the switch. | ||
614 | * @return the result of interpreting the object as an instance of '<em>Multiplicity</em>'. | ||
615 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
616 | * @generated | ||
617 | */ | ||
618 | public T caseMultiplicity(Multiplicity object) { | ||
619 | return null; | ||
620 | } | ||
621 | |||
622 | /** | ||
623 | * Returns the result of interpreting the object as an instance of '<em>Range Multiplicity</em>'. | ||
624 | * <!-- begin-user-doc --> | ||
625 | * This implementation returns null; | ||
626 | * returning a non-null result will terminate the switch. | ||
627 | * <!-- end-user-doc --> | ||
628 | * @param object the target of the switch. | ||
629 | * @return the result of interpreting the object as an instance of '<em>Range Multiplicity</em>'. | ||
630 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
631 | * @generated | ||
632 | */ | ||
633 | public T caseRangeMultiplicity(RangeMultiplicity object) { | ||
634 | return null; | ||
635 | } | ||
636 | |||
637 | /** | ||
638 | * Returns the result of interpreting the object as an instance of '<em>Exact Multiplicity</em>'. | ||
639 | * <!-- begin-user-doc --> | ||
640 | * This implementation returns null; | ||
641 | * returning a non-null result will terminate the switch. | ||
642 | * <!-- end-user-doc --> | ||
643 | * @param object the target of the switch. | ||
644 | * @return the result of interpreting the object as an instance of '<em>Exact Multiplicity</em>'. | ||
645 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
646 | * @generated | ||
647 | */ | ||
648 | public T caseExactMultiplicity(ExactMultiplicity object) { | ||
649 | return null; | ||
650 | } | ||
651 | |||
652 | /** | ||
653 | * Returns the result of interpreting the object as an instance of '<em>Unbounded Multiplicity</em>'. | ||
654 | * <!-- begin-user-doc --> | ||
655 | * This implementation returns null; | ||
656 | * returning a non-null result will terminate the switch. | ||
657 | * <!-- end-user-doc --> | ||
658 | * @param object the target of the switch. | ||
659 | * @return the result of interpreting the object as an instance of '<em>Unbounded Multiplicity</em>'. | ||
660 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
661 | * @generated | ||
662 | */ | ||
663 | public T caseUnboundedMultiplicity(UnboundedMultiplicity object) { | ||
664 | return null; | ||
665 | } | ||
666 | |||
667 | /** | ||
668 | * Returns the result of interpreting the object as an instance of '<em>Argument</em>'. | ||
669 | * <!-- begin-user-doc --> | ||
670 | * This implementation returns null; | ||
671 | * returning a non-null result will terminate the switch. | ||
672 | * <!-- end-user-doc --> | ||
673 | * @param object the target of the switch. | ||
674 | * @return the result of interpreting the object as an instance of '<em>Argument</em>'. | ||
675 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
676 | * @generated | ||
677 | */ | ||
678 | public T caseArgument(Argument object) { | ||
679 | return null; | ||
680 | } | ||
681 | |||
682 | /** | ||
683 | * Returns the result of interpreting the object as an instance of '<em>Enum Declaration</em>'. | ||
684 | * <!-- begin-user-doc --> | ||
685 | * This implementation returns null; | ||
686 | * returning a non-null result will terminate the switch. | ||
687 | * <!-- end-user-doc --> | ||
688 | * @param object the target of the switch. | ||
689 | * @return the result of interpreting the object as an instance of '<em>Enum Declaration</em>'. | ||
690 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
691 | * @generated | ||
692 | */ | ||
693 | public T caseEnumDeclaration(EnumDeclaration object) { | ||
694 | return null; | ||
695 | } | ||
696 | |||
697 | /** | ||
698 | * Returns the result of interpreting the object as an instance of '<em>Variable Or Node</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>Variable Or Node</em>'. | ||
705 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
706 | * @generated | ||
707 | */ | ||
708 | public T caseVariableOrNode(VariableOrNode object) { | ||
709 | return null; | ||
710 | } | ||
711 | |||
712 | /** | ||
713 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
714 | * <!-- begin-user-doc --> | ||
715 | * This implementation returns null; | ||
716 | * returning a non-null result will terminate the switch, but this is the last case anyway. | ||
717 | * <!-- end-user-doc --> | ||
718 | * @param object the target of the switch. | ||
719 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
720 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) | ||
721 | * @generated | ||
722 | */ | ||
723 | @Override | ||
724 | public T defaultCase(EObject object) { | ||
725 | return null; | ||
726 | } | ||
727 | |||
728 | } //ProblemSwitch | ||