diff options
Diffstat (limited to 'Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageSwitch.java')
-rw-r--r-- | Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageSwitch.java | 1245 |
1 files changed, 0 insertions, 1245 deletions
diff --git a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageSwitch.java b/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageSwitch.java deleted file mode 100644 index 79a98ff7..00000000 --- a/Application/org.eclipse.viatra.solver.language/src-gen/org/eclipse/viatra/solver/language/solverLanguage/util/SolverLanguageSwitch.java +++ /dev/null | |||
@@ -1,1245 +0,0 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.21.0 | ||
3 | */ | ||
4 | package org.eclipse.viatra.solver.language.solverLanguage.util; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EObject; | ||
7 | import org.eclipse.emf.ecore.EPackage; | ||
8 | |||
9 | import org.eclipse.emf.ecore.util.Switch; | ||
10 | |||
11 | import org.eclipse.viatra.solver.language.solverLanguage.*; | ||
12 | |||
13 | /** | ||
14 | * <!-- begin-user-doc --> | ||
15 | * The <b>Switch</b> for the model's inheritance hierarchy. | ||
16 | * It supports the call {@link #doSwitch(EObject) doSwitch(object)} | ||
17 | * to invoke the <code>caseXXX</code> method for each class of the model, | ||
18 | * starting with the actual class of the object | ||
19 | * and proceeding up the inheritance hierarchy | ||
20 | * until a non-null result is returned, | ||
21 | * which is the result of the switch. | ||
22 | * <!-- end-user-doc --> | ||
23 | * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage | ||
24 | * @generated | ||
25 | */ | ||
26 | public class SolverLanguageSwitch<T> extends Switch<T> | ||
27 | { | ||
28 | /** | ||
29 | * The cached model package | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @generated | ||
33 | */ | ||
34 | protected static SolverLanguagePackage modelPackage; | ||
35 | |||
36 | /** | ||
37 | * Creates an instance of the switch. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @generated | ||
41 | */ | ||
42 | public SolverLanguageSwitch() | ||
43 | { | ||
44 | if (modelPackage == null) | ||
45 | { | ||
46 | modelPackage = SolverLanguagePackage.eINSTANCE; | ||
47 | } | ||
48 | } | ||
49 | |||
50 | /** | ||
51 | * Checks whether this is a switch for the given package. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @param ePackage the package in question. | ||
55 | * @return whether this is a switch for the given package. | ||
56 | * @generated | ||
57 | */ | ||
58 | @Override | ||
59 | protected boolean isSwitchFor(EPackage ePackage) | ||
60 | { | ||
61 | return ePackage == modelPackage; | ||
62 | } | ||
63 | |||
64 | /** | ||
65 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. | ||
66 | * <!-- begin-user-doc --> | ||
67 | * <!-- end-user-doc --> | ||
68 | * @return the first non-null result returned by a <code>caseXXX</code> call. | ||
69 | * @generated | ||
70 | */ | ||
71 | @Override | ||
72 | protected T doSwitch(int classifierID, EObject theEObject) | ||
73 | { | ||
74 | switch (classifierID) | ||
75 | { | ||
76 | case SolverLanguagePackage.PROBLEM: | ||
77 | { | ||
78 | Problem problem = (Problem)theEObject; | ||
79 | T result = caseProblem(problem); | ||
80 | if (result == null) result = defaultCase(theEObject); | ||
81 | return result; | ||
82 | } | ||
83 | case SolverLanguagePackage.STATEMENT: | ||
84 | { | ||
85 | Statement statement = (Statement)theEObject; | ||
86 | T result = caseStatement(statement); | ||
87 | if (result == null) result = defaultCase(theEObject); | ||
88 | return result; | ||
89 | } | ||
90 | case SolverLanguagePackage.PREDICATE_DEFINITION: | ||
91 | { | ||
92 | PredicateDefinition predicateDefinition = (PredicateDefinition)theEObject; | ||
93 | T result = casePredicateDefinition(predicateDefinition); | ||
94 | if (result == null) result = caseStatement(predicateDefinition); | ||
95 | if (result == null) result = defaultCase(theEObject); | ||
96 | return result; | ||
97 | } | ||
98 | case SolverLanguagePackage.UNNAMED_ERROR_PREDIATE_DEFINITION: | ||
99 | { | ||
100 | UnnamedErrorPrediateDefinition unnamedErrorPrediateDefinition = (UnnamedErrorPrediateDefinition)theEObject; | ||
101 | T result = caseUnnamedErrorPrediateDefinition(unnamedErrorPrediateDefinition); | ||
102 | if (result == null) result = caseStatement(unnamedErrorPrediateDefinition); | ||
103 | if (result == null) result = defaultCase(theEObject); | ||
104 | return result; | ||
105 | } | ||
106 | case SolverLanguagePackage.DEFAULT_DEFINITION: | ||
107 | { | ||
108 | DefaultDefinition defaultDefinition = (DefaultDefinition)theEObject; | ||
109 | T result = caseDefaultDefinition(defaultDefinition); | ||
110 | if (result == null) result = caseStatement(defaultDefinition); | ||
111 | if (result == null) result = defaultCase(theEObject); | ||
112 | return result; | ||
113 | } | ||
114 | case SolverLanguagePackage.EXTERN_PREDICATE_DEFINITION: | ||
115 | { | ||
116 | ExternPredicateDefinition externPredicateDefinition = (ExternPredicateDefinition)theEObject; | ||
117 | T result = caseExternPredicateDefinition(externPredicateDefinition); | ||
118 | if (result == null) result = caseStatement(externPredicateDefinition); | ||
119 | if (result == null) result = defaultCase(theEObject); | ||
120 | return result; | ||
121 | } | ||
122 | case SolverLanguagePackage.METRIC_DEFINITION: | ||
123 | { | ||
124 | MetricDefinition metricDefinition = (MetricDefinition)theEObject; | ||
125 | T result = caseMetricDefinition(metricDefinition); | ||
126 | if (result == null) result = caseStatement(metricDefinition); | ||
127 | if (result == null) result = defaultCase(theEObject); | ||
128 | return result; | ||
129 | } | ||
130 | case SolverLanguagePackage.EXTERN_METRIC_DEFINITION: | ||
131 | { | ||
132 | ExternMetricDefinition externMetricDefinition = (ExternMetricDefinition)theEObject; | ||
133 | T result = caseExternMetricDefinition(externMetricDefinition); | ||
134 | if (result == null) result = caseStatement(externMetricDefinition); | ||
135 | if (result == null) result = defaultCase(theEObject); | ||
136 | return result; | ||
137 | } | ||
138 | case SolverLanguagePackage.EXPRESSION: | ||
139 | { | ||
140 | Expression expression = (Expression)theEObject; | ||
141 | T result = caseExpression(expression); | ||
142 | if (result == null) result = caseStatement(expression); | ||
143 | if (result == null) result = defaultCase(theEObject); | ||
144 | return result; | ||
145 | } | ||
146 | case SolverLanguagePackage.IF_ELSE: | ||
147 | { | ||
148 | IfElse ifElse = (IfElse)theEObject; | ||
149 | T result = caseIfElse(ifElse); | ||
150 | if (result == null) result = caseExpression(ifElse); | ||
151 | if (result == null) result = caseStatement(ifElse); | ||
152 | if (result == null) result = defaultCase(theEObject); | ||
153 | return result; | ||
154 | } | ||
155 | case SolverLanguagePackage.CASE: | ||
156 | { | ||
157 | Case case_ = (Case)theEObject; | ||
158 | T result = caseCase(case_); | ||
159 | if (result == null) result = caseExpression(case_); | ||
160 | if (result == null) result = caseStatement(case_); | ||
161 | if (result == null) result = defaultCase(theEObject); | ||
162 | return result; | ||
163 | } | ||
164 | case SolverLanguagePackage.COUNT: | ||
165 | { | ||
166 | Count count = (Count)theEObject; | ||
167 | T result = caseCount(count); | ||
168 | if (result == null) result = caseExpression(count); | ||
169 | if (result == null) result = caseStatement(count); | ||
170 | if (result == null) result = defaultCase(theEObject); | ||
171 | return result; | ||
172 | } | ||
173 | case SolverLanguagePackage.AGGREGATION: | ||
174 | { | ||
175 | Aggregation aggregation = (Aggregation)theEObject; | ||
176 | T result = caseAggregation(aggregation); | ||
177 | if (result == null) result = caseExpression(aggregation); | ||
178 | if (result == null) result = caseStatement(aggregation); | ||
179 | if (result == null) result = defaultCase(theEObject); | ||
180 | return result; | ||
181 | } | ||
182 | case SolverLanguagePackage.CALL: | ||
183 | { | ||
184 | Call call = (Call)theEObject; | ||
185 | T result = caseCall(call); | ||
186 | if (result == null) result = caseExpression(call); | ||
187 | if (result == null) result = caseStatement(call); | ||
188 | if (result == null) result = defaultCase(theEObject); | ||
189 | return result; | ||
190 | } | ||
191 | case SolverLanguagePackage.ARGUMENT_LIST: | ||
192 | { | ||
193 | ArgumentList argumentList = (ArgumentList)theEObject; | ||
194 | T result = caseArgumentList(argumentList); | ||
195 | if (result == null) result = defaultCase(theEObject); | ||
196 | return result; | ||
197 | } | ||
198 | case SolverLanguagePackage.ARGUMENT: | ||
199 | { | ||
200 | Argument argument = (Argument)theEObject; | ||
201 | T result = caseArgument(argument); | ||
202 | if (result == null) result = defaultCase(theEObject); | ||
203 | return result; | ||
204 | } | ||
205 | case SolverLanguagePackage.EXPRESSION_ARGUMENT: | ||
206 | { | ||
207 | ExpressionArgument expressionArgument = (ExpressionArgument)theEObject; | ||
208 | T result = caseExpressionArgument(expressionArgument); | ||
209 | if (result == null) result = caseArgument(expressionArgument); | ||
210 | if (result == null) result = defaultCase(theEObject); | ||
211 | return result; | ||
212 | } | ||
213 | case SolverLanguagePackage.STAR_ARGUMENT: | ||
214 | { | ||
215 | StarArgument starArgument = (StarArgument)theEObject; | ||
216 | T result = caseStarArgument(starArgument); | ||
217 | if (result == null) result = caseArgument(starArgument); | ||
218 | if (result == null) result = defaultCase(theEObject); | ||
219 | return result; | ||
220 | } | ||
221 | case SolverLanguagePackage.TYPED_ARGUMENT: | ||
222 | { | ||
223 | TypedArgument typedArgument = (TypedArgument)theEObject; | ||
224 | T result = caseTypedArgument(typedArgument); | ||
225 | if (result == null) result = caseArgument(typedArgument); | ||
226 | if (result == null) result = defaultCase(theEObject); | ||
227 | return result; | ||
228 | } | ||
229 | case SolverLanguagePackage.TYPED_STAR_ARGUMENT: | ||
230 | { | ||
231 | TypedStarArgument typedStarArgument = (TypedStarArgument)theEObject; | ||
232 | T result = caseTypedStarArgument(typedStarArgument); | ||
233 | if (result == null) result = caseArgument(typedStarArgument); | ||
234 | if (result == null) result = defaultCase(theEObject); | ||
235 | return result; | ||
236 | } | ||
237 | case SolverLanguagePackage.REFERENCE: | ||
238 | { | ||
239 | Reference reference = (Reference)theEObject; | ||
240 | T result = caseReference(reference); | ||
241 | if (result == null) result = caseExpression(reference); | ||
242 | if (result == null) result = caseStatement(reference); | ||
243 | if (result == null) result = defaultCase(theEObject); | ||
244 | return result; | ||
245 | } | ||
246 | case SolverLanguagePackage.INTERVAL: | ||
247 | { | ||
248 | Interval interval = (Interval)theEObject; | ||
249 | T result = caseInterval(interval); | ||
250 | if (result == null) result = caseExpression(interval); | ||
251 | if (result == null) result = caseStatement(interval); | ||
252 | if (result == null) result = defaultCase(theEObject); | ||
253 | return result; | ||
254 | } | ||
255 | case SolverLanguagePackage.LITERAL: | ||
256 | { | ||
257 | Literal literal = (Literal)theEObject; | ||
258 | T result = caseLiteral(literal); | ||
259 | if (result == null) result = caseExpression(literal); | ||
260 | if (result == null) result = caseStatement(literal); | ||
261 | if (result == null) result = defaultCase(theEObject); | ||
262 | return result; | ||
263 | } | ||
264 | case SolverLanguagePackage.LOGIC_LITERAL: | ||
265 | { | ||
266 | LogicLiteral logicLiteral = (LogicLiteral)theEObject; | ||
267 | T result = caseLogicLiteral(logicLiteral); | ||
268 | if (result == null) result = caseLiteral(logicLiteral); | ||
269 | if (result == null) result = caseExpression(logicLiteral); | ||
270 | if (result == null) result = caseStatement(logicLiteral); | ||
271 | if (result == null) result = defaultCase(theEObject); | ||
272 | return result; | ||
273 | } | ||
274 | case SolverLanguagePackage.NUMERIC_LITERAL: | ||
275 | { | ||
276 | NumericLiteral numericLiteral = (NumericLiteral)theEObject; | ||
277 | T result = caseNumericLiteral(numericLiteral); | ||
278 | if (result == null) result = caseLiteral(numericLiteral); | ||
279 | if (result == null) result = caseExpression(numericLiteral); | ||
280 | if (result == null) result = caseStatement(numericLiteral); | ||
281 | if (result == null) result = defaultCase(theEObject); | ||
282 | return result; | ||
283 | } | ||
284 | case SolverLanguagePackage.INFINITY_LITERAL: | ||
285 | { | ||
286 | InfinityLiteral infinityLiteral = (InfinityLiteral)theEObject; | ||
287 | T result = caseInfinityLiteral(infinityLiteral); | ||
288 | if (result == null) result = caseLiteral(infinityLiteral); | ||
289 | if (result == null) result = caseExpression(infinityLiteral); | ||
290 | if (result == null) result = caseStatement(infinityLiteral); | ||
291 | if (result == null) result = defaultCase(theEObject); | ||
292 | return result; | ||
293 | } | ||
294 | case SolverLanguagePackage.EMPTY_INTERVAL_LITERAL: | ||
295 | { | ||
296 | EmptyIntervalLiteral emptyIntervalLiteral = (EmptyIntervalLiteral)theEObject; | ||
297 | T result = caseEmptyIntervalLiteral(emptyIntervalLiteral); | ||
298 | if (result == null) result = caseLiteral(emptyIntervalLiteral); | ||
299 | if (result == null) result = caseExpression(emptyIntervalLiteral); | ||
300 | if (result == null) result = caseStatement(emptyIntervalLiteral); | ||
301 | if (result == null) result = defaultCase(theEObject); | ||
302 | return result; | ||
303 | } | ||
304 | case SolverLanguagePackage.STRING_LITERAL: | ||
305 | { | ||
306 | StringLiteral stringLiteral = (StringLiteral)theEObject; | ||
307 | T result = caseStringLiteral(stringLiteral); | ||
308 | if (result == null) result = caseLiteral(stringLiteral); | ||
309 | if (result == null) result = caseExpression(stringLiteral); | ||
310 | if (result == null) result = caseStatement(stringLiteral); | ||
311 | if (result == null) result = defaultCase(theEObject); | ||
312 | return result; | ||
313 | } | ||
314 | case SolverLanguagePackage.CLASS_DEFINITION: | ||
315 | { | ||
316 | ClassDefinition classDefinition = (ClassDefinition)theEObject; | ||
317 | T result = caseClassDefinition(classDefinition); | ||
318 | if (result == null) result = caseStatement(classDefinition); | ||
319 | if (result == null) result = defaultCase(theEObject); | ||
320 | return result; | ||
321 | } | ||
322 | case SolverLanguagePackage.MEMBER_DEFINITION: | ||
323 | { | ||
324 | MemberDefinition memberDefinition = (MemberDefinition)theEObject; | ||
325 | T result = caseMemberDefinition(memberDefinition); | ||
326 | if (result == null) result = defaultCase(theEObject); | ||
327 | return result; | ||
328 | } | ||
329 | case SolverLanguagePackage.MULTIPLICITY: | ||
330 | { | ||
331 | Multiplicity multiplicity = (Multiplicity)theEObject; | ||
332 | T result = caseMultiplicity(multiplicity); | ||
333 | if (result == null) result = defaultCase(theEObject); | ||
334 | return result; | ||
335 | } | ||
336 | case SolverLanguagePackage.MANY_MULTIPLICITY: | ||
337 | { | ||
338 | ManyMultiplicity manyMultiplicity = (ManyMultiplicity)theEObject; | ||
339 | T result = caseManyMultiplicity(manyMultiplicity); | ||
340 | if (result == null) result = caseMultiplicity(manyMultiplicity); | ||
341 | if (result == null) result = defaultCase(theEObject); | ||
342 | return result; | ||
343 | } | ||
344 | case SolverLanguagePackage.EXACT_MULTIPLICITY: | ||
345 | { | ||
346 | ExactMultiplicity exactMultiplicity = (ExactMultiplicity)theEObject; | ||
347 | T result = caseExactMultiplicity(exactMultiplicity); | ||
348 | if (result == null) result = caseMultiplicity(exactMultiplicity); | ||
349 | if (result == null) result = defaultCase(theEObject); | ||
350 | return result; | ||
351 | } | ||
352 | case SolverLanguagePackage.BOUNDED_MULTIPLICITY: | ||
353 | { | ||
354 | BoundedMultiplicity boundedMultiplicity = (BoundedMultiplicity)theEObject; | ||
355 | T result = caseBoundedMultiplicity(boundedMultiplicity); | ||
356 | if (result == null) result = caseMultiplicity(boundedMultiplicity); | ||
357 | if (result == null) result = defaultCase(theEObject); | ||
358 | return result; | ||
359 | } | ||
360 | case SolverLanguagePackage.SCOPE_DEFINITION: | ||
361 | { | ||
362 | ScopeDefinition scopeDefinition = (ScopeDefinition)theEObject; | ||
363 | T result = caseScopeDefinition(scopeDefinition); | ||
364 | if (result == null) result = caseStatement(scopeDefinition); | ||
365 | if (result == null) result = defaultCase(theEObject); | ||
366 | return result; | ||
367 | } | ||
368 | case SolverLanguagePackage.EXACT_SCOPE_DEFINITION: | ||
369 | { | ||
370 | ExactScopeDefinition exactScopeDefinition = (ExactScopeDefinition)theEObject; | ||
371 | T result = caseExactScopeDefinition(exactScopeDefinition); | ||
372 | if (result == null) result = caseScopeDefinition(exactScopeDefinition); | ||
373 | if (result == null) result = caseStatement(exactScopeDefinition); | ||
374 | if (result == null) result = defaultCase(theEObject); | ||
375 | return result; | ||
376 | } | ||
377 | case SolverLanguagePackage.BOUNDED_SCOPE_DEFINITION: | ||
378 | { | ||
379 | BoundedScopeDefinition boundedScopeDefinition = (BoundedScopeDefinition)theEObject; | ||
380 | T result = caseBoundedScopeDefinition(boundedScopeDefinition); | ||
381 | if (result == null) result = caseScopeDefinition(boundedScopeDefinition); | ||
382 | if (result == null) result = caseStatement(boundedScopeDefinition); | ||
383 | if (result == null) result = defaultCase(theEObject); | ||
384 | return result; | ||
385 | } | ||
386 | case SolverLanguagePackage.LOWER_BOUNDED_SCOPE_DEFINITION: | ||
387 | { | ||
388 | LowerBoundedScopeDefinition lowerBoundedScopeDefinition = (LowerBoundedScopeDefinition)theEObject; | ||
389 | T result = caseLowerBoundedScopeDefinition(lowerBoundedScopeDefinition); | ||
390 | if (result == null) result = caseScopeDefinition(lowerBoundedScopeDefinition); | ||
391 | if (result == null) result = caseStatement(lowerBoundedScopeDefinition); | ||
392 | if (result == null) result = defaultCase(theEObject); | ||
393 | return result; | ||
394 | } | ||
395 | case SolverLanguagePackage.OBJECTIVE_DEFINITION: | ||
396 | { | ||
397 | ObjectiveDefinition objectiveDefinition = (ObjectiveDefinition)theEObject; | ||
398 | T result = caseObjectiveDefinition(objectiveDefinition); | ||
399 | if (result == null) result = caseStatement(objectiveDefinition); | ||
400 | if (result == null) result = defaultCase(theEObject); | ||
401 | return result; | ||
402 | } | ||
403 | case SolverLanguagePackage.NAMED_ELEMENT: | ||
404 | { | ||
405 | NamedElement namedElement = (NamedElement)theEObject; | ||
406 | T result = caseNamedElement(namedElement); | ||
407 | if (result == null) result = defaultCase(theEObject); | ||
408 | return result; | ||
409 | } | ||
410 | case SolverLanguagePackage.ASSERTION: | ||
411 | { | ||
412 | Assertion assertion = (Assertion)theEObject; | ||
413 | T result = caseAssertion(assertion); | ||
414 | if (result == null) result = caseStatement(assertion); | ||
415 | if (result == null) result = defaultCase(theEObject); | ||
416 | return result; | ||
417 | } | ||
418 | case SolverLanguagePackage.DISJUNCTION: | ||
419 | { | ||
420 | Disjunction disjunction = (Disjunction)theEObject; | ||
421 | T result = caseDisjunction(disjunction); | ||
422 | if (result == null) result = caseExpression(disjunction); | ||
423 | if (result == null) result = caseStatement(disjunction); | ||
424 | if (result == null) result = defaultCase(theEObject); | ||
425 | return result; | ||
426 | } | ||
427 | case SolverLanguagePackage.SWITCH: | ||
428 | { | ||
429 | org.eclipse.viatra.solver.language.solverLanguage.Switch switch_ = (org.eclipse.viatra.solver.language.solverLanguage.Switch)theEObject; | ||
430 | T result = caseSwitch(switch_); | ||
431 | if (result == null) result = caseExpression(switch_); | ||
432 | if (result == null) result = caseStatement(switch_); | ||
433 | if (result == null) result = defaultCase(theEObject); | ||
434 | return result; | ||
435 | } | ||
436 | case SolverLanguagePackage.CONJUNCTION: | ||
437 | { | ||
438 | Conjunction conjunction = (Conjunction)theEObject; | ||
439 | T result = caseConjunction(conjunction); | ||
440 | if (result == null) result = caseExpression(conjunction); | ||
441 | if (result == null) result = caseStatement(conjunction); | ||
442 | if (result == null) result = defaultCase(theEObject); | ||
443 | return result; | ||
444 | } | ||
445 | case SolverLanguagePackage.COMPARISON: | ||
446 | { | ||
447 | Comparison comparison = (Comparison)theEObject; | ||
448 | T result = caseComparison(comparison); | ||
449 | if (result == null) result = caseExpression(comparison); | ||
450 | if (result == null) result = caseStatement(comparison); | ||
451 | if (result == null) result = defaultCase(theEObject); | ||
452 | return result; | ||
453 | } | ||
454 | case SolverLanguagePackage.BINARY_EXPRESSION: | ||
455 | { | ||
456 | BinaryExpression binaryExpression = (BinaryExpression)theEObject; | ||
457 | T result = caseBinaryExpression(binaryExpression); | ||
458 | if (result == null) result = caseExpression(binaryExpression); | ||
459 | if (result == null) result = caseStatement(binaryExpression); | ||
460 | if (result == null) result = defaultCase(theEObject); | ||
461 | return result; | ||
462 | } | ||
463 | case SolverLanguagePackage.UNARY_EXPRESSION: | ||
464 | { | ||
465 | UnaryExpression unaryExpression = (UnaryExpression)theEObject; | ||
466 | T result = caseUnaryExpression(unaryExpression); | ||
467 | if (result == null) result = caseExpression(unaryExpression); | ||
468 | if (result == null) result = caseStatement(unaryExpression); | ||
469 | if (result == null) result = defaultCase(theEObject); | ||
470 | return result; | ||
471 | } | ||
472 | default: return defaultCase(theEObject); | ||
473 | } | ||
474 | } | ||
475 | |||
476 | /** | ||
477 | * Returns the result of interpreting the object as an instance of '<em>Problem</em>'. | ||
478 | * <!-- begin-user-doc --> | ||
479 | * This implementation returns null; | ||
480 | * returning a non-null result will terminate the switch. | ||
481 | * <!-- end-user-doc --> | ||
482 | * @param object the target of the switch. | ||
483 | * @return the result of interpreting the object as an instance of '<em>Problem</em>'. | ||
484 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
485 | * @generated | ||
486 | */ | ||
487 | public T caseProblem(Problem object) | ||
488 | { | ||
489 | return null; | ||
490 | } | ||
491 | |||
492 | /** | ||
493 | * Returns the result of interpreting the object as an instance of '<em>Statement</em>'. | ||
494 | * <!-- begin-user-doc --> | ||
495 | * This implementation returns null; | ||
496 | * returning a non-null result will terminate the switch. | ||
497 | * <!-- end-user-doc --> | ||
498 | * @param object the target of the switch. | ||
499 | * @return the result of interpreting the object as an instance of '<em>Statement</em>'. | ||
500 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
501 | * @generated | ||
502 | */ | ||
503 | public T caseStatement(Statement object) | ||
504 | { | ||
505 | return null; | ||
506 | } | ||
507 | |||
508 | /** | ||
509 | * Returns the result of interpreting the object as an instance of '<em>Predicate Definition</em>'. | ||
510 | * <!-- begin-user-doc --> | ||
511 | * This implementation returns null; | ||
512 | * returning a non-null result will terminate the switch. | ||
513 | * <!-- end-user-doc --> | ||
514 | * @param object the target of the switch. | ||
515 | * @return the result of interpreting the object as an instance of '<em>Predicate Definition</em>'. | ||
516 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
517 | * @generated | ||
518 | */ | ||
519 | public T casePredicateDefinition(PredicateDefinition object) | ||
520 | { | ||
521 | return null; | ||
522 | } | ||
523 | |||
524 | /** | ||
525 | * Returns the result of interpreting the object as an instance of '<em>Unnamed Error Prediate Definition</em>'. | ||
526 | * <!-- begin-user-doc --> | ||
527 | * This implementation returns null; | ||
528 | * returning a non-null result will terminate the switch. | ||
529 | * <!-- end-user-doc --> | ||
530 | * @param object the target of the switch. | ||
531 | * @return the result of interpreting the object as an instance of '<em>Unnamed Error Prediate Definition</em>'. | ||
532 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
533 | * @generated | ||
534 | */ | ||
535 | public T caseUnnamedErrorPrediateDefinition(UnnamedErrorPrediateDefinition object) | ||
536 | { | ||
537 | return null; | ||
538 | } | ||
539 | |||
540 | /** | ||
541 | * Returns the result of interpreting the object as an instance of '<em>Default Definition</em>'. | ||
542 | * <!-- begin-user-doc --> | ||
543 | * This implementation returns null; | ||
544 | * returning a non-null result will terminate the switch. | ||
545 | * <!-- end-user-doc --> | ||
546 | * @param object the target of the switch. | ||
547 | * @return the result of interpreting the object as an instance of '<em>Default Definition</em>'. | ||
548 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
549 | * @generated | ||
550 | */ | ||
551 | public T caseDefaultDefinition(DefaultDefinition object) | ||
552 | { | ||
553 | return null; | ||
554 | } | ||
555 | |||
556 | /** | ||
557 | * Returns the result of interpreting the object as an instance of '<em>Extern Predicate Definition</em>'. | ||
558 | * <!-- begin-user-doc --> | ||
559 | * This implementation returns null; | ||
560 | * returning a non-null result will terminate the switch. | ||
561 | * <!-- end-user-doc --> | ||
562 | * @param object the target of the switch. | ||
563 | * @return the result of interpreting the object as an instance of '<em>Extern Predicate Definition</em>'. | ||
564 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
565 | * @generated | ||
566 | */ | ||
567 | public T caseExternPredicateDefinition(ExternPredicateDefinition object) | ||
568 | { | ||
569 | return null; | ||
570 | } | ||
571 | |||
572 | /** | ||
573 | * Returns the result of interpreting the object as an instance of '<em>Metric Definition</em>'. | ||
574 | * <!-- begin-user-doc --> | ||
575 | * This implementation returns null; | ||
576 | * returning a non-null result will terminate the switch. | ||
577 | * <!-- end-user-doc --> | ||
578 | * @param object the target of the switch. | ||
579 | * @return the result of interpreting the object as an instance of '<em>Metric Definition</em>'. | ||
580 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
581 | * @generated | ||
582 | */ | ||
583 | public T caseMetricDefinition(MetricDefinition object) | ||
584 | { | ||
585 | return null; | ||
586 | } | ||
587 | |||
588 | /** | ||
589 | * Returns the result of interpreting the object as an instance of '<em>Extern Metric Definition</em>'. | ||
590 | * <!-- begin-user-doc --> | ||
591 | * This implementation returns null; | ||
592 | * returning a non-null result will terminate the switch. | ||
593 | * <!-- end-user-doc --> | ||
594 | * @param object the target of the switch. | ||
595 | * @return the result of interpreting the object as an instance of '<em>Extern Metric Definition</em>'. | ||
596 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
597 | * @generated | ||
598 | */ | ||
599 | public T caseExternMetricDefinition(ExternMetricDefinition object) | ||
600 | { | ||
601 | return null; | ||
602 | } | ||
603 | |||
604 | /** | ||
605 | * Returns the result of interpreting the object as an instance of '<em>Expression</em>'. | ||
606 | * <!-- begin-user-doc --> | ||
607 | * This implementation returns null; | ||
608 | * returning a non-null result will terminate the switch. | ||
609 | * <!-- end-user-doc --> | ||
610 | * @param object the target of the switch. | ||
611 | * @return the result of interpreting the object as an instance of '<em>Expression</em>'. | ||
612 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
613 | * @generated | ||
614 | */ | ||
615 | public T caseExpression(Expression object) | ||
616 | { | ||
617 | return null; | ||
618 | } | ||
619 | |||
620 | /** | ||
621 | * Returns the result of interpreting the object as an instance of '<em>If Else</em>'. | ||
622 | * <!-- begin-user-doc --> | ||
623 | * This implementation returns null; | ||
624 | * returning a non-null result will terminate the switch. | ||
625 | * <!-- end-user-doc --> | ||
626 | * @param object the target of the switch. | ||
627 | * @return the result of interpreting the object as an instance of '<em>If Else</em>'. | ||
628 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
629 | * @generated | ||
630 | */ | ||
631 | public T caseIfElse(IfElse object) | ||
632 | { | ||
633 | return null; | ||
634 | } | ||
635 | |||
636 | /** | ||
637 | * Returns the result of interpreting the object as an instance of '<em>Case</em>'. | ||
638 | * <!-- begin-user-doc --> | ||
639 | * This implementation returns null; | ||
640 | * returning a non-null result will terminate the switch. | ||
641 | * <!-- end-user-doc --> | ||
642 | * @param object the target of the switch. | ||
643 | * @return the result of interpreting the object as an instance of '<em>Case</em>'. | ||
644 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
645 | * @generated | ||
646 | */ | ||
647 | public T caseCase(Case object) | ||
648 | { | ||
649 | return null; | ||
650 | } | ||
651 | |||
652 | /** | ||
653 | * Returns the result of interpreting the object as an instance of '<em>Count</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>Count</em>'. | ||
660 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
661 | * @generated | ||
662 | */ | ||
663 | public T caseCount(Count object) | ||
664 | { | ||
665 | return null; | ||
666 | } | ||
667 | |||
668 | /** | ||
669 | * Returns the result of interpreting the object as an instance of '<em>Aggregation</em>'. | ||
670 | * <!-- begin-user-doc --> | ||
671 | * This implementation returns null; | ||
672 | * returning a non-null result will terminate the switch. | ||
673 | * <!-- end-user-doc --> | ||
674 | * @param object the target of the switch. | ||
675 | * @return the result of interpreting the object as an instance of '<em>Aggregation</em>'. | ||
676 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
677 | * @generated | ||
678 | */ | ||
679 | public T caseAggregation(Aggregation object) | ||
680 | { | ||
681 | return null; | ||
682 | } | ||
683 | |||
684 | /** | ||
685 | * Returns the result of interpreting the object as an instance of '<em>Call</em>'. | ||
686 | * <!-- begin-user-doc --> | ||
687 | * This implementation returns null; | ||
688 | * returning a non-null result will terminate the switch. | ||
689 | * <!-- end-user-doc --> | ||
690 | * @param object the target of the switch. | ||
691 | * @return the result of interpreting the object as an instance of '<em>Call</em>'. | ||
692 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
693 | * @generated | ||
694 | */ | ||
695 | public T caseCall(Call object) | ||
696 | { | ||
697 | return null; | ||
698 | } | ||
699 | |||
700 | /** | ||
701 | * Returns the result of interpreting the object as an instance of '<em>Argument List</em>'. | ||
702 | * <!-- begin-user-doc --> | ||
703 | * This implementation returns null; | ||
704 | * returning a non-null result will terminate the switch. | ||
705 | * <!-- end-user-doc --> | ||
706 | * @param object the target of the switch. | ||
707 | * @return the result of interpreting the object as an instance of '<em>Argument List</em>'. | ||
708 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
709 | * @generated | ||
710 | */ | ||
711 | public T caseArgumentList(ArgumentList object) | ||
712 | { | ||
713 | return null; | ||
714 | } | ||
715 | |||
716 | /** | ||
717 | * Returns the result of interpreting the object as an instance of '<em>Argument</em>'. | ||
718 | * <!-- begin-user-doc --> | ||
719 | * This implementation returns null; | ||
720 | * returning a non-null result will terminate the switch. | ||
721 | * <!-- end-user-doc --> | ||
722 | * @param object the target of the switch. | ||
723 | * @return the result of interpreting the object as an instance of '<em>Argument</em>'. | ||
724 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
725 | * @generated | ||
726 | */ | ||
727 | public T caseArgument(Argument object) | ||
728 | { | ||
729 | return null; | ||
730 | } | ||
731 | |||
732 | /** | ||
733 | * Returns the result of interpreting the object as an instance of '<em>Expression Argument</em>'. | ||
734 | * <!-- begin-user-doc --> | ||
735 | * This implementation returns null; | ||
736 | * returning a non-null result will terminate the switch. | ||
737 | * <!-- end-user-doc --> | ||
738 | * @param object the target of the switch. | ||
739 | * @return the result of interpreting the object as an instance of '<em>Expression Argument</em>'. | ||
740 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
741 | * @generated | ||
742 | */ | ||
743 | public T caseExpressionArgument(ExpressionArgument object) | ||
744 | { | ||
745 | return null; | ||
746 | } | ||
747 | |||
748 | /** | ||
749 | * Returns the result of interpreting the object as an instance of '<em>Star Argument</em>'. | ||
750 | * <!-- begin-user-doc --> | ||
751 | * This implementation returns null; | ||
752 | * returning a non-null result will terminate the switch. | ||
753 | * <!-- end-user-doc --> | ||
754 | * @param object the target of the switch. | ||
755 | * @return the result of interpreting the object as an instance of '<em>Star Argument</em>'. | ||
756 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
757 | * @generated | ||
758 | */ | ||
759 | public T caseStarArgument(StarArgument object) | ||
760 | { | ||
761 | return null; | ||
762 | } | ||
763 | |||
764 | /** | ||
765 | * Returns the result of interpreting the object as an instance of '<em>Typed Argument</em>'. | ||
766 | * <!-- begin-user-doc --> | ||
767 | * This implementation returns null; | ||
768 | * returning a non-null result will terminate the switch. | ||
769 | * <!-- end-user-doc --> | ||
770 | * @param object the target of the switch. | ||
771 | * @return the result of interpreting the object as an instance of '<em>Typed Argument</em>'. | ||
772 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
773 | * @generated | ||
774 | */ | ||
775 | public T caseTypedArgument(TypedArgument object) | ||
776 | { | ||
777 | return null; | ||
778 | } | ||
779 | |||
780 | /** | ||
781 | * Returns the result of interpreting the object as an instance of '<em>Typed Star Argument</em>'. | ||
782 | * <!-- begin-user-doc --> | ||
783 | * This implementation returns null; | ||
784 | * returning a non-null result will terminate the switch. | ||
785 | * <!-- end-user-doc --> | ||
786 | * @param object the target of the switch. | ||
787 | * @return the result of interpreting the object as an instance of '<em>Typed Star Argument</em>'. | ||
788 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
789 | * @generated | ||
790 | */ | ||
791 | public T caseTypedStarArgument(TypedStarArgument object) | ||
792 | { | ||
793 | return null; | ||
794 | } | ||
795 | |||
796 | /** | ||
797 | * Returns the result of interpreting the object as an instance of '<em>Reference</em>'. | ||
798 | * <!-- begin-user-doc --> | ||
799 | * This implementation returns null; | ||
800 | * returning a non-null result will terminate the switch. | ||
801 | * <!-- end-user-doc --> | ||
802 | * @param object the target of the switch. | ||
803 | * @return the result of interpreting the object as an instance of '<em>Reference</em>'. | ||
804 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
805 | * @generated | ||
806 | */ | ||
807 | public T caseReference(Reference object) | ||
808 | { | ||
809 | return null; | ||
810 | } | ||
811 | |||
812 | /** | ||
813 | * Returns the result of interpreting the object as an instance of '<em>Interval</em>'. | ||
814 | * <!-- begin-user-doc --> | ||
815 | * This implementation returns null; | ||
816 | * returning a non-null result will terminate the switch. | ||
817 | * <!-- end-user-doc --> | ||
818 | * @param object the target of the switch. | ||
819 | * @return the result of interpreting the object as an instance of '<em>Interval</em>'. | ||
820 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
821 | * @generated | ||
822 | */ | ||
823 | public T caseInterval(Interval object) | ||
824 | { | ||
825 | return null; | ||
826 | } | ||
827 | |||
828 | /** | ||
829 | * Returns the result of interpreting the object as an instance of '<em>Literal</em>'. | ||
830 | * <!-- begin-user-doc --> | ||
831 | * This implementation returns null; | ||
832 | * returning a non-null result will terminate the switch. | ||
833 | * <!-- end-user-doc --> | ||
834 | * @param object the target of the switch. | ||
835 | * @return the result of interpreting the object as an instance of '<em>Literal</em>'. | ||
836 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
837 | * @generated | ||
838 | */ | ||
839 | public T caseLiteral(Literal object) | ||
840 | { | ||
841 | return null; | ||
842 | } | ||
843 | |||
844 | /** | ||
845 | * Returns the result of interpreting the object as an instance of '<em>Logic Literal</em>'. | ||
846 | * <!-- begin-user-doc --> | ||
847 | * This implementation returns null; | ||
848 | * returning a non-null result will terminate the switch. | ||
849 | * <!-- end-user-doc --> | ||
850 | * @param object the target of the switch. | ||
851 | * @return the result of interpreting the object as an instance of '<em>Logic Literal</em>'. | ||
852 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
853 | * @generated | ||
854 | */ | ||
855 | public T caseLogicLiteral(LogicLiteral object) | ||
856 | { | ||
857 | return null; | ||
858 | } | ||
859 | |||
860 | /** | ||
861 | * Returns the result of interpreting the object as an instance of '<em>Numeric Literal</em>'. | ||
862 | * <!-- begin-user-doc --> | ||
863 | * This implementation returns null; | ||
864 | * returning a non-null result will terminate the switch. | ||
865 | * <!-- end-user-doc --> | ||
866 | * @param object the target of the switch. | ||
867 | * @return the result of interpreting the object as an instance of '<em>Numeric Literal</em>'. | ||
868 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
869 | * @generated | ||
870 | */ | ||
871 | public T caseNumericLiteral(NumericLiteral object) | ||
872 | { | ||
873 | return null; | ||
874 | } | ||
875 | |||
876 | /** | ||
877 | * Returns the result of interpreting the object as an instance of '<em>Infinity Literal</em>'. | ||
878 | * <!-- begin-user-doc --> | ||
879 | * This implementation returns null; | ||
880 | * returning a non-null result will terminate the switch. | ||
881 | * <!-- end-user-doc --> | ||
882 | * @param object the target of the switch. | ||
883 | * @return the result of interpreting the object as an instance of '<em>Infinity Literal</em>'. | ||
884 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
885 | * @generated | ||
886 | */ | ||
887 | public T caseInfinityLiteral(InfinityLiteral object) | ||
888 | { | ||
889 | return null; | ||
890 | } | ||
891 | |||
892 | /** | ||
893 | * Returns the result of interpreting the object as an instance of '<em>Empty Interval Literal</em>'. | ||
894 | * <!-- begin-user-doc --> | ||
895 | * This implementation returns null; | ||
896 | * returning a non-null result will terminate the switch. | ||
897 | * <!-- end-user-doc --> | ||
898 | * @param object the target of the switch. | ||
899 | * @return the result of interpreting the object as an instance of '<em>Empty Interval Literal</em>'. | ||
900 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
901 | * @generated | ||
902 | */ | ||
903 | public T caseEmptyIntervalLiteral(EmptyIntervalLiteral object) | ||
904 | { | ||
905 | return null; | ||
906 | } | ||
907 | |||
908 | /** | ||
909 | * Returns the result of interpreting the object as an instance of '<em>String Literal</em>'. | ||
910 | * <!-- begin-user-doc --> | ||
911 | * This implementation returns null; | ||
912 | * returning a non-null result will terminate the switch. | ||
913 | * <!-- end-user-doc --> | ||
914 | * @param object the target of the switch. | ||
915 | * @return the result of interpreting the object as an instance of '<em>String Literal</em>'. | ||
916 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
917 | * @generated | ||
918 | */ | ||
919 | public T caseStringLiteral(StringLiteral object) | ||
920 | { | ||
921 | return null; | ||
922 | } | ||
923 | |||
924 | /** | ||
925 | * Returns the result of interpreting the object as an instance of '<em>Class Definition</em>'. | ||
926 | * <!-- begin-user-doc --> | ||
927 | * This implementation returns null; | ||
928 | * returning a non-null result will terminate the switch. | ||
929 | * <!-- end-user-doc --> | ||
930 | * @param object the target of the switch. | ||
931 | * @return the result of interpreting the object as an instance of '<em>Class Definition</em>'. | ||
932 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
933 | * @generated | ||
934 | */ | ||
935 | public T caseClassDefinition(ClassDefinition object) | ||
936 | { | ||
937 | return null; | ||
938 | } | ||
939 | |||
940 | /** | ||
941 | * Returns the result of interpreting the object as an instance of '<em>Member Definition</em>'. | ||
942 | * <!-- begin-user-doc --> | ||
943 | * This implementation returns null; | ||
944 | * returning a non-null result will terminate the switch. | ||
945 | * <!-- end-user-doc --> | ||
946 | * @param object the target of the switch. | ||
947 | * @return the result of interpreting the object as an instance of '<em>Member Definition</em>'. | ||
948 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
949 | * @generated | ||
950 | */ | ||
951 | public T caseMemberDefinition(MemberDefinition object) | ||
952 | { | ||
953 | return null; | ||
954 | } | ||
955 | |||
956 | /** | ||
957 | * Returns the result of interpreting the object as an instance of '<em>Multiplicity</em>'. | ||
958 | * <!-- begin-user-doc --> | ||
959 | * This implementation returns null; | ||
960 | * returning a non-null result will terminate the switch. | ||
961 | * <!-- end-user-doc --> | ||
962 | * @param object the target of the switch. | ||
963 | * @return the result of interpreting the object as an instance of '<em>Multiplicity</em>'. | ||
964 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
965 | * @generated | ||
966 | */ | ||
967 | public T caseMultiplicity(Multiplicity object) | ||
968 | { | ||
969 | return null; | ||
970 | } | ||
971 | |||
972 | /** | ||
973 | * Returns the result of interpreting the object as an instance of '<em>Many Multiplicity</em>'. | ||
974 | * <!-- begin-user-doc --> | ||
975 | * This implementation returns null; | ||
976 | * returning a non-null result will terminate the switch. | ||
977 | * <!-- end-user-doc --> | ||
978 | * @param object the target of the switch. | ||
979 | * @return the result of interpreting the object as an instance of '<em>Many Multiplicity</em>'. | ||
980 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
981 | * @generated | ||
982 | */ | ||
983 | public T caseManyMultiplicity(ManyMultiplicity object) | ||
984 | { | ||
985 | return null; | ||
986 | } | ||
987 | |||
988 | /** | ||
989 | * Returns the result of interpreting the object as an instance of '<em>Exact Multiplicity</em>'. | ||
990 | * <!-- begin-user-doc --> | ||
991 | * This implementation returns null; | ||
992 | * returning a non-null result will terminate the switch. | ||
993 | * <!-- end-user-doc --> | ||
994 | * @param object the target of the switch. | ||
995 | * @return the result of interpreting the object as an instance of '<em>Exact Multiplicity</em>'. | ||
996 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
997 | * @generated | ||
998 | */ | ||
999 | public T caseExactMultiplicity(ExactMultiplicity object) | ||
1000 | { | ||
1001 | return null; | ||
1002 | } | ||
1003 | |||
1004 | /** | ||
1005 | * Returns the result of interpreting the object as an instance of '<em>Bounded Multiplicity</em>'. | ||
1006 | * <!-- begin-user-doc --> | ||
1007 | * This implementation returns null; | ||
1008 | * returning a non-null result will terminate the switch. | ||
1009 | * <!-- end-user-doc --> | ||
1010 | * @param object the target of the switch. | ||
1011 | * @return the result of interpreting the object as an instance of '<em>Bounded Multiplicity</em>'. | ||
1012 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1013 | * @generated | ||
1014 | */ | ||
1015 | public T caseBoundedMultiplicity(BoundedMultiplicity object) | ||
1016 | { | ||
1017 | return null; | ||
1018 | } | ||
1019 | |||
1020 | /** | ||
1021 | * Returns the result of interpreting the object as an instance of '<em>Scope Definition</em>'. | ||
1022 | * <!-- begin-user-doc --> | ||
1023 | * This implementation returns null; | ||
1024 | * returning a non-null result will terminate the switch. | ||
1025 | * <!-- end-user-doc --> | ||
1026 | * @param object the target of the switch. | ||
1027 | * @return the result of interpreting the object as an instance of '<em>Scope Definition</em>'. | ||
1028 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1029 | * @generated | ||
1030 | */ | ||
1031 | public T caseScopeDefinition(ScopeDefinition object) | ||
1032 | { | ||
1033 | return null; | ||
1034 | } | ||
1035 | |||
1036 | /** | ||
1037 | * Returns the result of interpreting the object as an instance of '<em>Exact Scope Definition</em>'. | ||
1038 | * <!-- begin-user-doc --> | ||
1039 | * This implementation returns null; | ||
1040 | * returning a non-null result will terminate the switch. | ||
1041 | * <!-- end-user-doc --> | ||
1042 | * @param object the target of the switch. | ||
1043 | * @return the result of interpreting the object as an instance of '<em>Exact Scope Definition</em>'. | ||
1044 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1045 | * @generated | ||
1046 | */ | ||
1047 | public T caseExactScopeDefinition(ExactScopeDefinition object) | ||
1048 | { | ||
1049 | return null; | ||
1050 | } | ||
1051 | |||
1052 | /** | ||
1053 | * Returns the result of interpreting the object as an instance of '<em>Bounded Scope Definition</em>'. | ||
1054 | * <!-- begin-user-doc --> | ||
1055 | * This implementation returns null; | ||
1056 | * returning a non-null result will terminate the switch. | ||
1057 | * <!-- end-user-doc --> | ||
1058 | * @param object the target of the switch. | ||
1059 | * @return the result of interpreting the object as an instance of '<em>Bounded Scope Definition</em>'. | ||
1060 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1061 | * @generated | ||
1062 | */ | ||
1063 | public T caseBoundedScopeDefinition(BoundedScopeDefinition object) | ||
1064 | { | ||
1065 | return null; | ||
1066 | } | ||
1067 | |||
1068 | /** | ||
1069 | * Returns the result of interpreting the object as an instance of '<em>Lower Bounded Scope Definition</em>'. | ||
1070 | * <!-- begin-user-doc --> | ||
1071 | * This implementation returns null; | ||
1072 | * returning a non-null result will terminate the switch. | ||
1073 | * <!-- end-user-doc --> | ||
1074 | * @param object the target of the switch. | ||
1075 | * @return the result of interpreting the object as an instance of '<em>Lower Bounded Scope Definition</em>'. | ||
1076 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1077 | * @generated | ||
1078 | */ | ||
1079 | public T caseLowerBoundedScopeDefinition(LowerBoundedScopeDefinition object) | ||
1080 | { | ||
1081 | return null; | ||
1082 | } | ||
1083 | |||
1084 | /** | ||
1085 | * Returns the result of interpreting the object as an instance of '<em>Objective Definition</em>'. | ||
1086 | * <!-- begin-user-doc --> | ||
1087 | * This implementation returns null; | ||
1088 | * returning a non-null result will terminate the switch. | ||
1089 | * <!-- end-user-doc --> | ||
1090 | * @param object the target of the switch. | ||
1091 | * @return the result of interpreting the object as an instance of '<em>Objective Definition</em>'. | ||
1092 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1093 | * @generated | ||
1094 | */ | ||
1095 | public T caseObjectiveDefinition(ObjectiveDefinition object) | ||
1096 | { | ||
1097 | return null; | ||
1098 | } | ||
1099 | |||
1100 | /** | ||
1101 | * Returns the result of interpreting the object as an instance of '<em>Named Element</em>'. | ||
1102 | * <!-- begin-user-doc --> | ||
1103 | * This implementation returns null; | ||
1104 | * returning a non-null result will terminate the switch. | ||
1105 | * <!-- end-user-doc --> | ||
1106 | * @param object the target of the switch. | ||
1107 | * @return the result of interpreting the object as an instance of '<em>Named Element</em>'. | ||
1108 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1109 | * @generated | ||
1110 | */ | ||
1111 | public T caseNamedElement(NamedElement object) | ||
1112 | { | ||
1113 | return null; | ||
1114 | } | ||
1115 | |||
1116 | /** | ||
1117 | * Returns the result of interpreting the object as an instance of '<em>Assertion</em>'. | ||
1118 | * <!-- begin-user-doc --> | ||
1119 | * This implementation returns null; | ||
1120 | * returning a non-null result will terminate the switch. | ||
1121 | * <!-- end-user-doc --> | ||
1122 | * @param object the target of the switch. | ||
1123 | * @return the result of interpreting the object as an instance of '<em>Assertion</em>'. | ||
1124 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1125 | * @generated | ||
1126 | */ | ||
1127 | public T caseAssertion(Assertion object) | ||
1128 | { | ||
1129 | return null; | ||
1130 | } | ||
1131 | |||
1132 | /** | ||
1133 | * Returns the result of interpreting the object as an instance of '<em>Disjunction</em>'. | ||
1134 | * <!-- begin-user-doc --> | ||
1135 | * This implementation returns null; | ||
1136 | * returning a non-null result will terminate the switch. | ||
1137 | * <!-- end-user-doc --> | ||
1138 | * @param object the target of the switch. | ||
1139 | * @return the result of interpreting the object as an instance of '<em>Disjunction</em>'. | ||
1140 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1141 | * @generated | ||
1142 | */ | ||
1143 | public T caseDisjunction(Disjunction object) | ||
1144 | { | ||
1145 | return null; | ||
1146 | } | ||
1147 | |||
1148 | /** | ||
1149 | * Returns the result of interpreting the object as an instance of '<em>Switch</em>'. | ||
1150 | * <!-- begin-user-doc --> | ||
1151 | * This implementation returns null; | ||
1152 | * returning a non-null result will terminate the switch. | ||
1153 | * <!-- end-user-doc --> | ||
1154 | * @param object the target of the switch. | ||
1155 | * @return the result of interpreting the object as an instance of '<em>Switch</em>'. | ||
1156 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1157 | * @generated | ||
1158 | */ | ||
1159 | public T caseSwitch(org.eclipse.viatra.solver.language.solverLanguage.Switch object) | ||
1160 | { | ||
1161 | return null; | ||
1162 | } | ||
1163 | |||
1164 | /** | ||
1165 | * Returns the result of interpreting the object as an instance of '<em>Conjunction</em>'. | ||
1166 | * <!-- begin-user-doc --> | ||
1167 | * This implementation returns null; | ||
1168 | * returning a non-null result will terminate the switch. | ||
1169 | * <!-- end-user-doc --> | ||
1170 | * @param object the target of the switch. | ||
1171 | * @return the result of interpreting the object as an instance of '<em>Conjunction</em>'. | ||
1172 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1173 | * @generated | ||
1174 | */ | ||
1175 | public T caseConjunction(Conjunction object) | ||
1176 | { | ||
1177 | return null; | ||
1178 | } | ||
1179 | |||
1180 | /** | ||
1181 | * Returns the result of interpreting the object as an instance of '<em>Comparison</em>'. | ||
1182 | * <!-- begin-user-doc --> | ||
1183 | * This implementation returns null; | ||
1184 | * returning a non-null result will terminate the switch. | ||
1185 | * <!-- end-user-doc --> | ||
1186 | * @param object the target of the switch. | ||
1187 | * @return the result of interpreting the object as an instance of '<em>Comparison</em>'. | ||
1188 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1189 | * @generated | ||
1190 | */ | ||
1191 | public T caseComparison(Comparison object) | ||
1192 | { | ||
1193 | return null; | ||
1194 | } | ||
1195 | |||
1196 | /** | ||
1197 | * Returns the result of interpreting the object as an instance of '<em>Binary Expression</em>'. | ||
1198 | * <!-- begin-user-doc --> | ||
1199 | * This implementation returns null; | ||
1200 | * returning a non-null result will terminate the switch. | ||
1201 | * <!-- end-user-doc --> | ||
1202 | * @param object the target of the switch. | ||
1203 | * @return the result of interpreting the object as an instance of '<em>Binary Expression</em>'. | ||
1204 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1205 | * @generated | ||
1206 | */ | ||
1207 | public T caseBinaryExpression(BinaryExpression object) | ||
1208 | { | ||
1209 | return null; | ||
1210 | } | ||
1211 | |||
1212 | /** | ||
1213 | * Returns the result of interpreting the object as an instance of '<em>Unary Expression</em>'. | ||
1214 | * <!-- begin-user-doc --> | ||
1215 | * This implementation returns null; | ||
1216 | * returning a non-null result will terminate the switch. | ||
1217 | * <!-- end-user-doc --> | ||
1218 | * @param object the target of the switch. | ||
1219 | * @return the result of interpreting the object as an instance of '<em>Unary Expression</em>'. | ||
1220 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1221 | * @generated | ||
1222 | */ | ||
1223 | public T caseUnaryExpression(UnaryExpression object) | ||
1224 | { | ||
1225 | return null; | ||
1226 | } | ||
1227 | |||
1228 | /** | ||
1229 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
1230 | * <!-- begin-user-doc --> | ||
1231 | * This implementation returns null; | ||
1232 | * returning a non-null result will terminate the switch, but this is the last case anyway. | ||
1233 | * <!-- end-user-doc --> | ||
1234 | * @param object the target of the switch. | ||
1235 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
1236 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) | ||
1237 | * @generated | ||
1238 | */ | ||
1239 | @Override | ||
1240 | public T defaultCase(EObject object) | ||
1241 | { | ||
1242 | return null; | ||
1243 | } | ||
1244 | |||
1245 | } //SolverLanguageSwitch | ||