1 | /**
|
---|
2 | */
|
---|
3 | package de.ugoe.cs.swe.bnftools.ebnf.util;
|
---|
4 |
|
---|
5 | import de.ugoe.cs.swe.bnftools.ebnf.*;
|
---|
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 de.ugoe.cs.swe.bnftools.ebnf.EbnfPackage
|
---|
23 | * @generated
|
---|
24 | */
|
---|
25 | public class EbnfSwitch<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 EbnfPackage modelPackage;
|
---|
34 |
|
---|
35 | /**
|
---|
36 | * Creates an instance of the switch.
|
---|
37 | * <!-- begin-user-doc -->
|
---|
38 | * <!-- end-user-doc -->
|
---|
39 | * @generated
|
---|
40 | */
|
---|
41 | public EbnfSwitch()
|
---|
42 | {
|
---|
43 | if (modelPackage == null)
|
---|
44 | {
|
---|
45 | modelPackage = EbnfPackage.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 | * @parameter 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 EbnfPackage.ETSI_BNF:
|
---|
76 | {
|
---|
77 | EtsiBnf etsiBnf = (EtsiBnf)theEObject;
|
---|
78 | T result = caseEtsiBnf(etsiBnf);
|
---|
79 | if (result == null) result = defaultCase(theEObject);
|
---|
80 | return result;
|
---|
81 | }
|
---|
82 | case EbnfPackage.IMPORT_SECTION:
|
---|
83 | {
|
---|
84 | ImportSection importSection = (ImportSection)theEObject;
|
---|
85 | T result = caseImportSection(importSection);
|
---|
86 | if (result == null) result = defaultCase(theEObject);
|
---|
87 | return result;
|
---|
88 | }
|
---|
89 | case EbnfPackage.BNF_ENTRY:
|
---|
90 | {
|
---|
91 | BnfEntry bnfEntry = (BnfEntry)theEObject;
|
---|
92 | T result = caseBnfEntry(bnfEntry);
|
---|
93 | if (result == null) result = defaultCase(theEObject);
|
---|
94 | return result;
|
---|
95 | }
|
---|
96 | case EbnfPackage.DELTA_ENTRY:
|
---|
97 | {
|
---|
98 | DeltaEntry deltaEntry = (DeltaEntry)theEObject;
|
---|
99 | T result = caseDeltaEntry(deltaEntry);
|
---|
100 | if (result == null) result = defaultCase(theEObject);
|
---|
101 | return result;
|
---|
102 | }
|
---|
103 | case EbnfPackage.MERGE_ENTRY:
|
---|
104 | {
|
---|
105 | MergeEntry mergeEntry = (MergeEntry)theEObject;
|
---|
106 | T result = caseMergeEntry(mergeEntry);
|
---|
107 | if (result == null) result = defaultCase(theEObject);
|
---|
108 | return result;
|
---|
109 | }
|
---|
110 | case EbnfPackage.SECTION_HEADING:
|
---|
111 | {
|
---|
112 | SectionHeading sectionHeading = (SectionHeading)theEObject;
|
---|
113 | T result = caseSectionHeading(sectionHeading);
|
---|
114 | if (result == null) result = defaultCase(theEObject);
|
---|
115 | return result;
|
---|
116 | }
|
---|
117 | case EbnfPackage.IMPORT:
|
---|
118 | {
|
---|
119 | Import import_ = (Import)theEObject;
|
---|
120 | T result = caseImport(import_);
|
---|
121 | if (result == null) result = defaultCase(theEObject);
|
---|
122 | return result;
|
---|
123 | }
|
---|
124 | case EbnfPackage.RULE:
|
---|
125 | {
|
---|
126 | Rule rule = (Rule)theEObject;
|
---|
127 | T result = caseRule(rule);
|
---|
128 | if (result == null) result = defaultCase(theEObject);
|
---|
129 | return result;
|
---|
130 | }
|
---|
131 | case EbnfPackage.EXT_RULE:
|
---|
132 | {
|
---|
133 | ExtRule extRule = (ExtRule)theEObject;
|
---|
134 | T result = caseExtRule(extRule);
|
---|
135 | if (result == null) result = defaultCase(theEObject);
|
---|
136 | return result;
|
---|
137 | }
|
---|
138 | case EbnfPackage.MERGE_RULE:
|
---|
139 | {
|
---|
140 | MergeRule mergeRule = (MergeRule)theEObject;
|
---|
141 | T result = caseMergeRule(mergeRule);
|
---|
142 | if (result == null) result = defaultCase(theEObject);
|
---|
143 | return result;
|
---|
144 | }
|
---|
145 | case EbnfPackage.GLOBAL_COMBINATOR:
|
---|
146 | {
|
---|
147 | GlobalCombinator globalCombinator = (GlobalCombinator)theEObject;
|
---|
148 | T result = caseGlobalCombinator(globalCombinator);
|
---|
149 | if (result == null) result = caseMergeRule(globalCombinator);
|
---|
150 | if (result == null) result = defaultCase(theEObject);
|
---|
151 | return result;
|
---|
152 | }
|
---|
153 | case EbnfPackage.RULE_COMBINATOR:
|
---|
154 | {
|
---|
155 | RuleCombinator ruleCombinator = (RuleCombinator)theEObject;
|
---|
156 | T result = caseRuleCombinator(ruleCombinator);
|
---|
157 | if (result == null) result = caseMergeRule(ruleCombinator);
|
---|
158 | if (result == null) result = defaultCase(theEObject);
|
---|
159 | return result;
|
---|
160 | }
|
---|
161 | case EbnfPackage.HOOK_COMBINATOR:
|
---|
162 | {
|
---|
163 | HookCombinator hookCombinator = (HookCombinator)theEObject;
|
---|
164 | T result = caseHookCombinator(hookCombinator);
|
---|
165 | if (result == null) result = caseMergeRule(hookCombinator);
|
---|
166 | if (result == null) result = defaultCase(theEObject);
|
---|
167 | return result;
|
---|
168 | }
|
---|
169 | case EbnfPackage.DEFINITION_LIST:
|
---|
170 | {
|
---|
171 | DefinitionList definitionList = (DefinitionList)theEObject;
|
---|
172 | T result = caseDefinitionList(definitionList);
|
---|
173 | if (result == null) result = defaultCase(theEObject);
|
---|
174 | return result;
|
---|
175 | }
|
---|
176 | case EbnfPackage.SINGLE_DEFINITION:
|
---|
177 | {
|
---|
178 | SingleDefinition singleDefinition = (SingleDefinition)theEObject;
|
---|
179 | T result = caseSingleDefinition(singleDefinition);
|
---|
180 | if (result == null) result = defaultCase(theEObject);
|
---|
181 | return result;
|
---|
182 | }
|
---|
183 | case EbnfPackage.TERM:
|
---|
184 | {
|
---|
185 | Term term = (Term)theEObject;
|
---|
186 | T result = caseTerm(term);
|
---|
187 | if (result == null) result = defaultCase(theEObject);
|
---|
188 | return result;
|
---|
189 | }
|
---|
190 | case EbnfPackage.ATOM:
|
---|
191 | {
|
---|
192 | Atom atom = (Atom)theEObject;
|
---|
193 | T result = caseAtom(atom);
|
---|
194 | if (result == null) result = defaultCase(theEObject);
|
---|
195 | return result;
|
---|
196 | }
|
---|
197 | case EbnfPackage.RULE_REFERENCE:
|
---|
198 | {
|
---|
199 | RuleReference ruleReference = (RuleReference)theEObject;
|
---|
200 | T result = caseRuleReference(ruleReference);
|
---|
201 | if (result == null) result = defaultCase(theEObject);
|
---|
202 | return result;
|
---|
203 | }
|
---|
204 | case EbnfPackage.STRING_RULE:
|
---|
205 | {
|
---|
206 | StringRule stringRule = (StringRule)theEObject;
|
---|
207 | T result = caseStringRule(stringRule);
|
---|
208 | if (result == null) result = defaultCase(theEObject);
|
---|
209 | return result;
|
---|
210 | }
|
---|
211 | case EbnfPackage.GROUPED_SEQUENCE:
|
---|
212 | {
|
---|
213 | GroupedSequence groupedSequence = (GroupedSequence)theEObject;
|
---|
214 | T result = caseGroupedSequence(groupedSequence);
|
---|
215 | if (result == null) result = defaultCase(theEObject);
|
---|
216 | return result;
|
---|
217 | }
|
---|
218 | case EbnfPackage.OPTIONAL_SEQUENCE:
|
---|
219 | {
|
---|
220 | OptionalSequence optionalSequence = (OptionalSequence)theEObject;
|
---|
221 | T result = caseOptionalSequence(optionalSequence);
|
---|
222 | if (result == null) result = defaultCase(theEObject);
|
---|
223 | return result;
|
---|
224 | }
|
---|
225 | case EbnfPackage.REPEATED_SEQUENCE:
|
---|
226 | {
|
---|
227 | RepeatedSequence repeatedSequence = (RepeatedSequence)theEObject;
|
---|
228 | T result = caseRepeatedSequence(repeatedSequence);
|
---|
229 | if (result == null) result = defaultCase(theEObject);
|
---|
230 | return result;
|
---|
231 | }
|
---|
232 | default: return defaultCase(theEObject);
|
---|
233 | }
|
---|
234 | }
|
---|
235 |
|
---|
236 | /**
|
---|
237 | * Returns the result of interpreting the object as an instance of '<em>Etsi Bnf</em>'.
|
---|
238 | * <!-- begin-user-doc -->
|
---|
239 | * This implementation returns null;
|
---|
240 | * returning a non-null result will terminate the switch.
|
---|
241 | * <!-- end-user-doc -->
|
---|
242 | * @param object the target of the switch.
|
---|
243 | * @return the result of interpreting the object as an instance of '<em>Etsi Bnf</em>'.
|
---|
244 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
245 | * @generated
|
---|
246 | */
|
---|
247 | public T caseEtsiBnf(EtsiBnf object)
|
---|
248 | {
|
---|
249 | return null;
|
---|
250 | }
|
---|
251 |
|
---|
252 | /**
|
---|
253 | * Returns the result of interpreting the object as an instance of '<em>Import Section</em>'.
|
---|
254 | * <!-- begin-user-doc -->
|
---|
255 | * This implementation returns null;
|
---|
256 | * returning a non-null result will terminate the switch.
|
---|
257 | * <!-- end-user-doc -->
|
---|
258 | * @param object the target of the switch.
|
---|
259 | * @return the result of interpreting the object as an instance of '<em>Import Section</em>'.
|
---|
260 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
261 | * @generated
|
---|
262 | */
|
---|
263 | public T caseImportSection(ImportSection object)
|
---|
264 | {
|
---|
265 | return null;
|
---|
266 | }
|
---|
267 |
|
---|
268 | /**
|
---|
269 | * Returns the result of interpreting the object as an instance of '<em>Bnf Entry</em>'.
|
---|
270 | * <!-- begin-user-doc -->
|
---|
271 | * This implementation returns null;
|
---|
272 | * returning a non-null result will terminate the switch.
|
---|
273 | * <!-- end-user-doc -->
|
---|
274 | * @param object the target of the switch.
|
---|
275 | * @return the result of interpreting the object as an instance of '<em>Bnf Entry</em>'.
|
---|
276 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
277 | * @generated
|
---|
278 | */
|
---|
279 | public T caseBnfEntry(BnfEntry object)
|
---|
280 | {
|
---|
281 | return null;
|
---|
282 | }
|
---|
283 |
|
---|
284 | /**
|
---|
285 | * Returns the result of interpreting the object as an instance of '<em>Delta Entry</em>'.
|
---|
286 | * <!-- begin-user-doc -->
|
---|
287 | * This implementation returns null;
|
---|
288 | * returning a non-null result will terminate the switch.
|
---|
289 | * <!-- end-user-doc -->
|
---|
290 | * @param object the target of the switch.
|
---|
291 | * @return the result of interpreting the object as an instance of '<em>Delta Entry</em>'.
|
---|
292 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
293 | * @generated
|
---|
294 | */
|
---|
295 | public T caseDeltaEntry(DeltaEntry object)
|
---|
296 | {
|
---|
297 | return null;
|
---|
298 | }
|
---|
299 |
|
---|
300 | /**
|
---|
301 | * Returns the result of interpreting the object as an instance of '<em>Merge Entry</em>'.
|
---|
302 | * <!-- begin-user-doc -->
|
---|
303 | * This implementation returns null;
|
---|
304 | * returning a non-null result will terminate the switch.
|
---|
305 | * <!-- end-user-doc -->
|
---|
306 | * @param object the target of the switch.
|
---|
307 | * @return the result of interpreting the object as an instance of '<em>Merge Entry</em>'.
|
---|
308 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
309 | * @generated
|
---|
310 | */
|
---|
311 | public T caseMergeEntry(MergeEntry object)
|
---|
312 | {
|
---|
313 | return null;
|
---|
314 | }
|
---|
315 |
|
---|
316 | /**
|
---|
317 | * Returns the result of interpreting the object as an instance of '<em>Section Heading</em>'.
|
---|
318 | * <!-- begin-user-doc -->
|
---|
319 | * This implementation returns null;
|
---|
320 | * returning a non-null result will terminate the switch.
|
---|
321 | * <!-- end-user-doc -->
|
---|
322 | * @param object the target of the switch.
|
---|
323 | * @return the result of interpreting the object as an instance of '<em>Section Heading</em>'.
|
---|
324 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
325 | * @generated
|
---|
326 | */
|
---|
327 | public T caseSectionHeading(SectionHeading object)
|
---|
328 | {
|
---|
329 | return null;
|
---|
330 | }
|
---|
331 |
|
---|
332 | /**
|
---|
333 | * Returns the result of interpreting the object as an instance of '<em>Import</em>'.
|
---|
334 | * <!-- begin-user-doc -->
|
---|
335 | * This implementation returns null;
|
---|
336 | * returning a non-null result will terminate the switch.
|
---|
337 | * <!-- end-user-doc -->
|
---|
338 | * @param object the target of the switch.
|
---|
339 | * @return the result of interpreting the object as an instance of '<em>Import</em>'.
|
---|
340 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
341 | * @generated
|
---|
342 | */
|
---|
343 | public T caseImport(Import object)
|
---|
344 | {
|
---|
345 | return null;
|
---|
346 | }
|
---|
347 |
|
---|
348 | /**
|
---|
349 | * Returns the result of interpreting the object as an instance of '<em>Rule</em>'.
|
---|
350 | * <!-- begin-user-doc -->
|
---|
351 | * This implementation returns null;
|
---|
352 | * returning a non-null result will terminate the switch.
|
---|
353 | * <!-- end-user-doc -->
|
---|
354 | * @param object the target of the switch.
|
---|
355 | * @return the result of interpreting the object as an instance of '<em>Rule</em>'.
|
---|
356 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
357 | * @generated
|
---|
358 | */
|
---|
359 | public T caseRule(Rule object)
|
---|
360 | {
|
---|
361 | return null;
|
---|
362 | }
|
---|
363 |
|
---|
364 | /**
|
---|
365 | * Returns the result of interpreting the object as an instance of '<em>Ext Rule</em>'.
|
---|
366 | * <!-- begin-user-doc -->
|
---|
367 | * This implementation returns null;
|
---|
368 | * returning a non-null result will terminate the switch.
|
---|
369 | * <!-- end-user-doc -->
|
---|
370 | * @param object the target of the switch.
|
---|
371 | * @return the result of interpreting the object as an instance of '<em>Ext Rule</em>'.
|
---|
372 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
373 | * @generated
|
---|
374 | */
|
---|
375 | public T caseExtRule(ExtRule object)
|
---|
376 | {
|
---|
377 | return null;
|
---|
378 | }
|
---|
379 |
|
---|
380 | /**
|
---|
381 | * Returns the result of interpreting the object as an instance of '<em>Merge Rule</em>'.
|
---|
382 | * <!-- begin-user-doc -->
|
---|
383 | * This implementation returns null;
|
---|
384 | * returning a non-null result will terminate the switch.
|
---|
385 | * <!-- end-user-doc -->
|
---|
386 | * @param object the target of the switch.
|
---|
387 | * @return the result of interpreting the object as an instance of '<em>Merge Rule</em>'.
|
---|
388 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
389 | * @generated
|
---|
390 | */
|
---|
391 | public T caseMergeRule(MergeRule object)
|
---|
392 | {
|
---|
393 | return null;
|
---|
394 | }
|
---|
395 |
|
---|
396 | /**
|
---|
397 | * Returns the result of interpreting the object as an instance of '<em>Global Combinator</em>'.
|
---|
398 | * <!-- begin-user-doc -->
|
---|
399 | * This implementation returns null;
|
---|
400 | * returning a non-null result will terminate the switch.
|
---|
401 | * <!-- end-user-doc -->
|
---|
402 | * @param object the target of the switch.
|
---|
403 | * @return the result of interpreting the object as an instance of '<em>Global Combinator</em>'.
|
---|
404 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
405 | * @generated
|
---|
406 | */
|
---|
407 | public T caseGlobalCombinator(GlobalCombinator object)
|
---|
408 | {
|
---|
409 | return null;
|
---|
410 | }
|
---|
411 |
|
---|
412 | /**
|
---|
413 | * Returns the result of interpreting the object as an instance of '<em>Rule Combinator</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>Rule Combinator</em>'.
|
---|
420 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
421 | * @generated
|
---|
422 | */
|
---|
423 | public T caseRuleCombinator(RuleCombinator object)
|
---|
424 | {
|
---|
425 | return null;
|
---|
426 | }
|
---|
427 |
|
---|
428 | /**
|
---|
429 | * Returns the result of interpreting the object as an instance of '<em>Hook Combinator</em>'.
|
---|
430 | * <!-- begin-user-doc -->
|
---|
431 | * This implementation returns null;
|
---|
432 | * returning a non-null result will terminate the switch.
|
---|
433 | * <!-- end-user-doc -->
|
---|
434 | * @param object the target of the switch.
|
---|
435 | * @return the result of interpreting the object as an instance of '<em>Hook Combinator</em>'.
|
---|
436 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
437 | * @generated
|
---|
438 | */
|
---|
439 | public T caseHookCombinator(HookCombinator object)
|
---|
440 | {
|
---|
441 | return null;
|
---|
442 | }
|
---|
443 |
|
---|
444 | /**
|
---|
445 | * Returns the result of interpreting the object as an instance of '<em>Definition List</em>'.
|
---|
446 | * <!-- begin-user-doc -->
|
---|
447 | * This implementation returns null;
|
---|
448 | * returning a non-null result will terminate the switch.
|
---|
449 | * <!-- end-user-doc -->
|
---|
450 | * @param object the target of the switch.
|
---|
451 | * @return the result of interpreting the object as an instance of '<em>Definition List</em>'.
|
---|
452 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
453 | * @generated
|
---|
454 | */
|
---|
455 | public T caseDefinitionList(DefinitionList object)
|
---|
456 | {
|
---|
457 | return null;
|
---|
458 | }
|
---|
459 |
|
---|
460 | /**
|
---|
461 | * Returns the result of interpreting the object as an instance of '<em>Single Definition</em>'.
|
---|
462 | * <!-- begin-user-doc -->
|
---|
463 | * This implementation returns null;
|
---|
464 | * returning a non-null result will terminate the switch.
|
---|
465 | * <!-- end-user-doc -->
|
---|
466 | * @param object the target of the switch.
|
---|
467 | * @return the result of interpreting the object as an instance of '<em>Single Definition</em>'.
|
---|
468 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
469 | * @generated
|
---|
470 | */
|
---|
471 | public T caseSingleDefinition(SingleDefinition object)
|
---|
472 | {
|
---|
473 | return null;
|
---|
474 | }
|
---|
475 |
|
---|
476 | /**
|
---|
477 | * Returns the result of interpreting the object as an instance of '<em>Term</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>Term</em>'.
|
---|
484 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
485 | * @generated
|
---|
486 | */
|
---|
487 | public T caseTerm(Term object)
|
---|
488 | {
|
---|
489 | return null;
|
---|
490 | }
|
---|
491 |
|
---|
492 | /**
|
---|
493 | * Returns the result of interpreting the object as an instance of '<em>Atom</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>Atom</em>'.
|
---|
500 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
501 | * @generated
|
---|
502 | */
|
---|
503 | public T caseAtom(Atom object)
|
---|
504 | {
|
---|
505 | return null;
|
---|
506 | }
|
---|
507 |
|
---|
508 | /**
|
---|
509 | * Returns the result of interpreting the object as an instance of '<em>Rule Reference</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>Rule Reference</em>'.
|
---|
516 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
517 | * @generated
|
---|
518 | */
|
---|
519 | public T caseRuleReference(RuleReference object)
|
---|
520 | {
|
---|
521 | return null;
|
---|
522 | }
|
---|
523 |
|
---|
524 | /**
|
---|
525 | * Returns the result of interpreting the object as an instance of '<em>String Rule</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>String Rule</em>'.
|
---|
532 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
533 | * @generated
|
---|
534 | */
|
---|
535 | public T caseStringRule(StringRule object)
|
---|
536 | {
|
---|
537 | return null;
|
---|
538 | }
|
---|
539 |
|
---|
540 | /**
|
---|
541 | * Returns the result of interpreting the object as an instance of '<em>Grouped Sequence</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>Grouped Sequence</em>'.
|
---|
548 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
549 | * @generated
|
---|
550 | */
|
---|
551 | public T caseGroupedSequence(GroupedSequence object)
|
---|
552 | {
|
---|
553 | return null;
|
---|
554 | }
|
---|
555 |
|
---|
556 | /**
|
---|
557 | * Returns the result of interpreting the object as an instance of '<em>Optional Sequence</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>Optional Sequence</em>'.
|
---|
564 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
565 | * @generated
|
---|
566 | */
|
---|
567 | public T caseOptionalSequence(OptionalSequence object)
|
---|
568 | {
|
---|
569 | return null;
|
---|
570 | }
|
---|
571 |
|
---|
572 | /**
|
---|
573 | * Returns the result of interpreting the object as an instance of '<em>Repeated Sequence</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>Repeated Sequence</em>'.
|
---|
580 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
---|
581 | * @generated
|
---|
582 | */
|
---|
583 | public T caseRepeatedSequence(RepeatedSequence object)
|
---|
584 | {
|
---|
585 | return null;
|
---|
586 | }
|
---|
587 |
|
---|
588 | /**
|
---|
589 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
|
---|
590 | * <!-- begin-user-doc -->
|
---|
591 | * This implementation returns null;
|
---|
592 | * returning a non-null result will terminate the switch, but this is the last case anyway.
|
---|
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>EObject</em>'.
|
---|
596 | * @see #doSwitch(org.eclipse.emf.ecore.EObject)
|
---|
597 | * @generated
|
---|
598 | */
|
---|
599 | @Override
|
---|
600 | public T defaultCase(EObject object)
|
---|
601 | {
|
---|
602 | return null;
|
---|
603 | }
|
---|
604 |
|
---|
605 | } //EbnfSwitch
|
---|