diff options
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.g')
-rw-r--r-- | Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.g | 1577 |
1 files changed, 1577 insertions, 0 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.g b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.g new file mode 100644 index 00000000..08fa0536 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.g | |||
@@ -0,0 +1,1577 @@ | |||
1 | /* | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | grammar InternalApplicationConfiguration; | ||
5 | |||
6 | options { | ||
7 | superClass=AbstractInternalContentAssistParser; | ||
8 | } | ||
9 | |||
10 | @lexer::header { | ||
11 | package hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.internal; | ||
12 | |||
13 | // Hack: Use our own Lexer superclass by means of import. | ||
14 | // Currently there is no other way to specify the superclass for the lexer. | ||
15 | import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer; | ||
16 | } | ||
17 | |||
18 | @parser::header { | ||
19 | package hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.internal; | ||
20 | |||
21 | import java.io.InputStream; | ||
22 | import org.eclipse.xtext.*; | ||
23 | import org.eclipse.xtext.parser.*; | ||
24 | import org.eclipse.xtext.parser.impl.*; | ||
25 | import org.eclipse.emf.ecore.util.EcoreUtil; | ||
26 | import org.eclipse.emf.ecore.EObject; | ||
27 | import org.eclipse.xtext.parser.antlr.XtextTokenStream; | ||
28 | import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; | ||
29 | import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; | ||
30 | import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.DFA; | ||
31 | import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; | ||
32 | |||
33 | } | ||
34 | @parser::members { | ||
35 | private ApplicationConfigurationGrammarAccess grammarAccess; | ||
36 | |||
37 | public void setGrammarAccess(ApplicationConfigurationGrammarAccess grammarAccess) { | ||
38 | this.grammarAccess = grammarAccess; | ||
39 | } | ||
40 | |||
41 | @Override | ||
42 | protected Grammar getGrammar() { | ||
43 | return grammarAccess.getGrammar(); | ||
44 | } | ||
45 | |||
46 | @Override | ||
47 | protected String getValueForTokenName(String tokenName) { | ||
48 | return tokenName; | ||
49 | } | ||
50 | } | ||
51 | |||
52 | // Entry rule entryRuleConfigurationScript | ||
53 | entryRuleConfigurationScript | ||
54 | : | ||
55 | { before(grammarAccess.getConfigurationScriptRule()); } | ||
56 | ruleConfigurationScript | ||
57 | { after(grammarAccess.getConfigurationScriptRule()); } | ||
58 | EOF | ||
59 | ; | ||
60 | |||
61 | // Rule ConfigurationScript | ||
62 | ruleConfigurationScript | ||
63 | @init { | ||
64 | int stackSize = keepStackSize(); | ||
65 | } | ||
66 | : | ||
67 | ( | ||
68 | { before(grammarAccess.getConfigurationScriptAccess().getGroup()); } | ||
69 | (rule__ConfigurationScript__Group__0) | ||
70 | { after(grammarAccess.getConfigurationScriptAccess().getGroup()); } | ||
71 | ) | ||
72 | ; | ||
73 | finally { | ||
74 | restoreStackSize(stackSize); | ||
75 | } | ||
76 | |||
77 | // Entry rule entryRuleCommand | ||
78 | entryRuleCommand | ||
79 | : | ||
80 | { before(grammarAccess.getCommandRule()); } | ||
81 | ruleCommand | ||
82 | { after(grammarAccess.getCommandRule()); } | ||
83 | EOF | ||
84 | ; | ||
85 | |||
86 | // Rule Command | ||
87 | ruleCommand | ||
88 | @init { | ||
89 | int stackSize = keepStackSize(); | ||
90 | } | ||
91 | : | ||
92 | ( | ||
93 | { before(grammarAccess.getCommandAccess().getDeclarationParserRuleCall()); } | ||
94 | ruleDeclaration | ||
95 | { after(grammarAccess.getCommandAccess().getDeclarationParserRuleCall()); } | ||
96 | ) | ||
97 | ; | ||
98 | finally { | ||
99 | restoreStackSize(stackSize); | ||
100 | } | ||
101 | |||
102 | // Entry rule entryRuleDeclaration | ||
103 | entryRuleDeclaration | ||
104 | : | ||
105 | { before(grammarAccess.getDeclarationRule()); } | ||
106 | ruleDeclaration | ||
107 | { after(grammarAccess.getDeclarationRule()); } | ||
108 | EOF | ||
109 | ; | ||
110 | |||
111 | // Rule Declaration | ||
112 | ruleDeclaration | ||
113 | @init { | ||
114 | int stackSize = keepStackSize(); | ||
115 | } | ||
116 | : | ||
117 | ( | ||
118 | { before(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall()); } | ||
119 | ruleMetamodelDeclaration | ||
120 | { after(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall()); } | ||
121 | ) | ||
122 | ; | ||
123 | finally { | ||
124 | restoreStackSize(stackSize); | ||
125 | } | ||
126 | |||
127 | // Entry rule entryRuleImport | ||
128 | entryRuleImport | ||
129 | : | ||
130 | { before(grammarAccess.getImportRule()); } | ||
131 | ruleImport | ||
132 | { after(grammarAccess.getImportRule()); } | ||
133 | EOF | ||
134 | ; | ||
135 | |||
136 | // Rule Import | ||
137 | ruleImport | ||
138 | @init { | ||
139 | int stackSize = keepStackSize(); | ||
140 | } | ||
141 | : | ||
142 | ( | ||
143 | { before(grammarAccess.getImportAccess().getAlternatives()); } | ||
144 | (rule__Import__Alternatives) | ||
145 | { after(grammarAccess.getImportAccess().getAlternatives()); } | ||
146 | ) | ||
147 | ; | ||
148 | finally { | ||
149 | restoreStackSize(stackSize); | ||
150 | } | ||
151 | |||
152 | // Entry rule entryRuleEPackageImport | ||
153 | entryRuleEPackageImport | ||
154 | : | ||
155 | { before(grammarAccess.getEPackageImportRule()); } | ||
156 | ruleEPackageImport | ||
157 | { after(grammarAccess.getEPackageImportRule()); } | ||
158 | EOF | ||
159 | ; | ||
160 | |||
161 | // Rule EPackageImport | ||
162 | ruleEPackageImport | ||
163 | @init { | ||
164 | int stackSize = keepStackSize(); | ||
165 | } | ||
166 | : | ||
167 | ( | ||
168 | { before(grammarAccess.getEPackageImportAccess().getGroup()); } | ||
169 | (rule__EPackageImport__Group__0) | ||
170 | { after(grammarAccess.getEPackageImportAccess().getGroup()); } | ||
171 | ) | ||
172 | ; | ||
173 | finally { | ||
174 | restoreStackSize(stackSize); | ||
175 | } | ||
176 | |||
177 | // Entry rule entryRuleViatraImport | ||
178 | entryRuleViatraImport | ||
179 | : | ||
180 | { before(grammarAccess.getViatraImportRule()); } | ||
181 | ruleViatraImport | ||
182 | { after(grammarAccess.getViatraImportRule()); } | ||
183 | EOF | ||
184 | ; | ||
185 | |||
186 | // Rule ViatraImport | ||
187 | ruleViatraImport | ||
188 | @init { | ||
189 | int stackSize = keepStackSize(); | ||
190 | } | ||
191 | : | ||
192 | ( | ||
193 | { before(grammarAccess.getViatraImportAccess().getGroup()); } | ||
194 | (rule__ViatraImport__Group__0) | ||
195 | { after(grammarAccess.getViatraImportAccess().getGroup()); } | ||
196 | ) | ||
197 | ; | ||
198 | finally { | ||
199 | restoreStackSize(stackSize); | ||
200 | } | ||
201 | |||
202 | // Entry rule entryRuleMetamodelSpecification | ||
203 | entryRuleMetamodelSpecification | ||
204 | : | ||
205 | { before(grammarAccess.getMetamodelSpecificationRule()); } | ||
206 | ruleMetamodelSpecification | ||
207 | { after(grammarAccess.getMetamodelSpecificationRule()); } | ||
208 | EOF | ||
209 | ; | ||
210 | |||
211 | // Rule MetamodelSpecification | ||
212 | ruleMetamodelSpecification | ||
213 | @init { | ||
214 | int stackSize = keepStackSize(); | ||
215 | } | ||
216 | : | ||
217 | ( | ||
218 | { before(grammarAccess.getMetamodelSpecificationAccess().getGroup()); } | ||
219 | (rule__MetamodelSpecification__Group__0) | ||
220 | { after(grammarAccess.getMetamodelSpecificationAccess().getGroup()); } | ||
221 | ) | ||
222 | ; | ||
223 | finally { | ||
224 | restoreStackSize(stackSize); | ||
225 | } | ||
226 | |||
227 | // Entry rule entryRuleMetamodelEntry | ||
228 | entryRuleMetamodelEntry | ||
229 | : | ||
230 | { before(grammarAccess.getMetamodelEntryRule()); } | ||
231 | ruleMetamodelEntry | ||
232 | { after(grammarAccess.getMetamodelEntryRule()); } | ||
233 | EOF | ||
234 | ; | ||
235 | |||
236 | // Rule MetamodelEntry | ||
237 | ruleMetamodelEntry | ||
238 | @init { | ||
239 | int stackSize = keepStackSize(); | ||
240 | } | ||
241 | : | ||
242 | ( | ||
243 | { before(grammarAccess.getMetamodelEntryAccess().getAlternatives()); } | ||
244 | (rule__MetamodelEntry__Alternatives) | ||
245 | { after(grammarAccess.getMetamodelEntryAccess().getAlternatives()); } | ||
246 | ) | ||
247 | ; | ||
248 | finally { | ||
249 | restoreStackSize(stackSize); | ||
250 | } | ||
251 | |||
252 | // Entry rule entryRuleAllPackageEntry | ||
253 | entryRuleAllPackageEntry | ||
254 | : | ||
255 | { before(grammarAccess.getAllPackageEntryRule()); } | ||
256 | ruleAllPackageEntry | ||
257 | { after(grammarAccess.getAllPackageEntryRule()); } | ||
258 | EOF | ||
259 | ; | ||
260 | |||
261 | // Rule AllPackageEntry | ||
262 | ruleAllPackageEntry | ||
263 | @init { | ||
264 | int stackSize = keepStackSize(); | ||
265 | } | ||
266 | : | ||
267 | ( | ||
268 | { before(grammarAccess.getAllPackageEntryAccess().getGroup()); } | ||
269 | (rule__AllPackageEntry__Group__0) | ||
270 | { after(grammarAccess.getAllPackageEntryAccess().getGroup()); } | ||
271 | ) | ||
272 | ; | ||
273 | finally { | ||
274 | restoreStackSize(stackSize); | ||
275 | } | ||
276 | |||
277 | // Entry rule entryRuleMetamodelElement | ||
278 | entryRuleMetamodelElement | ||
279 | : | ||
280 | { before(grammarAccess.getMetamodelElementRule()); } | ||
281 | ruleMetamodelElement | ||
282 | { after(grammarAccess.getMetamodelElementRule()); } | ||
283 | EOF | ||
284 | ; | ||
285 | |||
286 | // Rule MetamodelElement | ||
287 | ruleMetamodelElement | ||
288 | @init { | ||
289 | int stackSize = keepStackSize(); | ||
290 | } | ||
291 | : | ||
292 | ( | ||
293 | { before(grammarAccess.getMetamodelElementAccess().getGroup()); } | ||
294 | (rule__MetamodelElement__Group__0) | ||
295 | { after(grammarAccess.getMetamodelElementAccess().getGroup()); } | ||
296 | ) | ||
297 | ; | ||
298 | finally { | ||
299 | restoreStackSize(stackSize); | ||
300 | } | ||
301 | |||
302 | // Entry rule entryRuleMetamodelDeclaration | ||
303 | entryRuleMetamodelDeclaration | ||
304 | : | ||
305 | { before(grammarAccess.getMetamodelDeclarationRule()); } | ||
306 | ruleMetamodelDeclaration | ||
307 | { after(grammarAccess.getMetamodelDeclarationRule()); } | ||
308 | EOF | ||
309 | ; | ||
310 | |||
311 | // Rule MetamodelDeclaration | ||
312 | ruleMetamodelDeclaration | ||
313 | @init { | ||
314 | int stackSize = keepStackSize(); | ||
315 | } | ||
316 | : | ||
317 | ( | ||
318 | { before(grammarAccess.getMetamodelDeclarationAccess().getGroup()); } | ||
319 | (rule__MetamodelDeclaration__Group__0) | ||
320 | { after(grammarAccess.getMetamodelDeclarationAccess().getGroup()); } | ||
321 | ) | ||
322 | ; | ||
323 | finally { | ||
324 | restoreStackSize(stackSize); | ||
325 | } | ||
326 | |||
327 | // Entry rule entryRuleMetamodelReference | ||
328 | entryRuleMetamodelReference | ||
329 | : | ||
330 | { before(grammarAccess.getMetamodelReferenceRule()); } | ||
331 | ruleMetamodelReference | ||
332 | { after(grammarAccess.getMetamodelReferenceRule()); } | ||
333 | EOF | ||
334 | ; | ||
335 | |||
336 | // Rule MetamodelReference | ||
337 | ruleMetamodelReference | ||
338 | @init { | ||
339 | int stackSize = keepStackSize(); | ||
340 | } | ||
341 | : | ||
342 | ( | ||
343 | { before(grammarAccess.getMetamodelReferenceAccess().getReferredAssignment()); } | ||
344 | (rule__MetamodelReference__ReferredAssignment) | ||
345 | { after(grammarAccess.getMetamodelReferenceAccess().getReferredAssignment()); } | ||
346 | ) | ||
347 | ; | ||
348 | finally { | ||
349 | restoreStackSize(stackSize); | ||
350 | } | ||
351 | |||
352 | rule__Import__Alternatives | ||
353 | @init { | ||
354 | int stackSize = keepStackSize(); | ||
355 | } | ||
356 | : | ||
357 | ( | ||
358 | { before(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); } | ||
359 | ruleEPackageImport | ||
360 | { after(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); } | ||
361 | ) | ||
362 | | | ||
363 | ( | ||
364 | { before(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); } | ||
365 | ruleViatraImport | ||
366 | { after(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); } | ||
367 | ) | ||
368 | ; | ||
369 | finally { | ||
370 | restoreStackSize(stackSize); | ||
371 | } | ||
372 | |||
373 | rule__MetamodelEntry__Alternatives | ||
374 | @init { | ||
375 | int stackSize = keepStackSize(); | ||
376 | } | ||
377 | : | ||
378 | ( | ||
379 | { before(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); } | ||
380 | ruleMetamodelElement | ||
381 | { after(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); } | ||
382 | ) | ||
383 | | | ||
384 | ( | ||
385 | { before(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); } | ||
386 | ruleAllPackageEntry | ||
387 | { after(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); } | ||
388 | ) | ||
389 | ; | ||
390 | finally { | ||
391 | restoreStackSize(stackSize); | ||
392 | } | ||
393 | |||
394 | rule__ConfigurationScript__Group__0 | ||
395 | @init { | ||
396 | int stackSize = keepStackSize(); | ||
397 | } | ||
398 | : | ||
399 | rule__ConfigurationScript__Group__0__Impl | ||
400 | rule__ConfigurationScript__Group__1 | ||
401 | ; | ||
402 | finally { | ||
403 | restoreStackSize(stackSize); | ||
404 | } | ||
405 | |||
406 | rule__ConfigurationScript__Group__0__Impl | ||
407 | @init { | ||
408 | int stackSize = keepStackSize(); | ||
409 | } | ||
410 | : | ||
411 | ( | ||
412 | { before(grammarAccess.getConfigurationScriptAccess().getImportsAssignment_0()); } | ||
413 | (rule__ConfigurationScript__ImportsAssignment_0)* | ||
414 | { after(grammarAccess.getConfigurationScriptAccess().getImportsAssignment_0()); } | ||
415 | ) | ||
416 | ; | ||
417 | finally { | ||
418 | restoreStackSize(stackSize); | ||
419 | } | ||
420 | |||
421 | rule__ConfigurationScript__Group__1 | ||
422 | @init { | ||
423 | int stackSize = keepStackSize(); | ||
424 | } | ||
425 | : | ||
426 | rule__ConfigurationScript__Group__1__Impl | ||
427 | ; | ||
428 | finally { | ||
429 | restoreStackSize(stackSize); | ||
430 | } | ||
431 | |||
432 | rule__ConfigurationScript__Group__1__Impl | ||
433 | @init { | ||
434 | int stackSize = keepStackSize(); | ||
435 | } | ||
436 | : | ||
437 | ( | ||
438 | { before(grammarAccess.getConfigurationScriptAccess().getCommandsAssignment_1()); } | ||
439 | (rule__ConfigurationScript__CommandsAssignment_1)* | ||
440 | { after(grammarAccess.getConfigurationScriptAccess().getCommandsAssignment_1()); } | ||
441 | ) | ||
442 | ; | ||
443 | finally { | ||
444 | restoreStackSize(stackSize); | ||
445 | } | ||
446 | |||
447 | |||
448 | rule__EPackageImport__Group__0 | ||
449 | @init { | ||
450 | int stackSize = keepStackSize(); | ||
451 | } | ||
452 | : | ||
453 | rule__EPackageImport__Group__0__Impl | ||
454 | rule__EPackageImport__Group__1 | ||
455 | ; | ||
456 | finally { | ||
457 | restoreStackSize(stackSize); | ||
458 | } | ||
459 | |||
460 | rule__EPackageImport__Group__0__Impl | ||
461 | @init { | ||
462 | int stackSize = keepStackSize(); | ||
463 | } | ||
464 | : | ||
465 | ( | ||
466 | { before(grammarAccess.getEPackageImportAccess().getImportKeyword_0()); } | ||
467 | 'import' | ||
468 | { after(grammarAccess.getEPackageImportAccess().getImportKeyword_0()); } | ||
469 | ) | ||
470 | ; | ||
471 | finally { | ||
472 | restoreStackSize(stackSize); | ||
473 | } | ||
474 | |||
475 | rule__EPackageImport__Group__1 | ||
476 | @init { | ||
477 | int stackSize = keepStackSize(); | ||
478 | } | ||
479 | : | ||
480 | rule__EPackageImport__Group__1__Impl | ||
481 | rule__EPackageImport__Group__2 | ||
482 | ; | ||
483 | finally { | ||
484 | restoreStackSize(stackSize); | ||
485 | } | ||
486 | |||
487 | rule__EPackageImport__Group__1__Impl | ||
488 | @init { | ||
489 | int stackSize = keepStackSize(); | ||
490 | } | ||
491 | : | ||
492 | ( | ||
493 | { before(grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); } | ||
494 | 'epackage' | ||
495 | { after(grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); } | ||
496 | ) | ||
497 | ; | ||
498 | finally { | ||
499 | restoreStackSize(stackSize); | ||
500 | } | ||
501 | |||
502 | rule__EPackageImport__Group__2 | ||
503 | @init { | ||
504 | int stackSize = keepStackSize(); | ||
505 | } | ||
506 | : | ||
507 | rule__EPackageImport__Group__2__Impl | ||
508 | ; | ||
509 | finally { | ||
510 | restoreStackSize(stackSize); | ||
511 | } | ||
512 | |||
513 | rule__EPackageImport__Group__2__Impl | ||
514 | @init { | ||
515 | int stackSize = keepStackSize(); | ||
516 | } | ||
517 | : | ||
518 | ( | ||
519 | { before(grammarAccess.getEPackageImportAccess().getImportedPackageAssignment_2()); } | ||
520 | (rule__EPackageImport__ImportedPackageAssignment_2) | ||
521 | { after(grammarAccess.getEPackageImportAccess().getImportedPackageAssignment_2()); } | ||
522 | ) | ||
523 | ; | ||
524 | finally { | ||
525 | restoreStackSize(stackSize); | ||
526 | } | ||
527 | |||
528 | |||
529 | rule__ViatraImport__Group__0 | ||
530 | @init { | ||
531 | int stackSize = keepStackSize(); | ||
532 | } | ||
533 | : | ||
534 | rule__ViatraImport__Group__0__Impl | ||
535 | rule__ViatraImport__Group__1 | ||
536 | ; | ||
537 | finally { | ||
538 | restoreStackSize(stackSize); | ||
539 | } | ||
540 | |||
541 | rule__ViatraImport__Group__0__Impl | ||
542 | @init { | ||
543 | int stackSize = keepStackSize(); | ||
544 | } | ||
545 | : | ||
546 | ( | ||
547 | { before(grammarAccess.getViatraImportAccess().getImportKeyword_0()); } | ||
548 | 'import' | ||
549 | { after(grammarAccess.getViatraImportAccess().getImportKeyword_0()); } | ||
550 | ) | ||
551 | ; | ||
552 | finally { | ||
553 | restoreStackSize(stackSize); | ||
554 | } | ||
555 | |||
556 | rule__ViatraImport__Group__1 | ||
557 | @init { | ||
558 | int stackSize = keepStackSize(); | ||
559 | } | ||
560 | : | ||
561 | rule__ViatraImport__Group__1__Impl | ||
562 | rule__ViatraImport__Group__2 | ||
563 | ; | ||
564 | finally { | ||
565 | restoreStackSize(stackSize); | ||
566 | } | ||
567 | |||
568 | rule__ViatraImport__Group__1__Impl | ||
569 | @init { | ||
570 | int stackSize = keepStackSize(); | ||
571 | } | ||
572 | : | ||
573 | ( | ||
574 | { before(grammarAccess.getViatraImportAccess().getViatraKeyword_1()); } | ||
575 | 'viatra' | ||
576 | { after(grammarAccess.getViatraImportAccess().getViatraKeyword_1()); } | ||
577 | ) | ||
578 | ; | ||
579 | finally { | ||
580 | restoreStackSize(stackSize); | ||
581 | } | ||
582 | |||
583 | rule__ViatraImport__Group__2 | ||
584 | @init { | ||
585 | int stackSize = keepStackSize(); | ||
586 | } | ||
587 | : | ||
588 | rule__ViatraImport__Group__2__Impl | ||
589 | ; | ||
590 | finally { | ||
591 | restoreStackSize(stackSize); | ||
592 | } | ||
593 | |||
594 | rule__ViatraImport__Group__2__Impl | ||
595 | @init { | ||
596 | int stackSize = keepStackSize(); | ||
597 | } | ||
598 | : | ||
599 | ( | ||
600 | { before(grammarAccess.getViatraImportAccess().getImportedViatraAssignment_2()); } | ||
601 | (rule__ViatraImport__ImportedViatraAssignment_2) | ||
602 | { after(grammarAccess.getViatraImportAccess().getImportedViatraAssignment_2()); } | ||
603 | ) | ||
604 | ; | ||
605 | finally { | ||
606 | restoreStackSize(stackSize); | ||
607 | } | ||
608 | |||
609 | |||
610 | rule__MetamodelSpecification__Group__0 | ||
611 | @init { | ||
612 | int stackSize = keepStackSize(); | ||
613 | } | ||
614 | : | ||
615 | rule__MetamodelSpecification__Group__0__Impl | ||
616 | rule__MetamodelSpecification__Group__1 | ||
617 | ; | ||
618 | finally { | ||
619 | restoreStackSize(stackSize); | ||
620 | } | ||
621 | |||
622 | rule__MetamodelSpecification__Group__0__Impl | ||
623 | @init { | ||
624 | int stackSize = keepStackSize(); | ||
625 | } | ||
626 | : | ||
627 | ( | ||
628 | { before(grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); } | ||
629 | '{' | ||
630 | { after(grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); } | ||
631 | ) | ||
632 | ; | ||
633 | finally { | ||
634 | restoreStackSize(stackSize); | ||
635 | } | ||
636 | |||
637 | rule__MetamodelSpecification__Group__1 | ||
638 | @init { | ||
639 | int stackSize = keepStackSize(); | ||
640 | } | ||
641 | : | ||
642 | rule__MetamodelSpecification__Group__1__Impl | ||
643 | rule__MetamodelSpecification__Group__2 | ||
644 | ; | ||
645 | finally { | ||
646 | restoreStackSize(stackSize); | ||
647 | } | ||
648 | |||
649 | rule__MetamodelSpecification__Group__1__Impl | ||
650 | @init { | ||
651 | int stackSize = keepStackSize(); | ||
652 | } | ||
653 | : | ||
654 | ( | ||
655 | { before(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_1()); } | ||
656 | (rule__MetamodelSpecification__EntriesAssignment_1) | ||
657 | { after(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_1()); } | ||
658 | ) | ||
659 | ; | ||
660 | finally { | ||
661 | restoreStackSize(stackSize); | ||
662 | } | ||
663 | |||
664 | rule__MetamodelSpecification__Group__2 | ||
665 | @init { | ||
666 | int stackSize = keepStackSize(); | ||
667 | } | ||
668 | : | ||
669 | rule__MetamodelSpecification__Group__2__Impl | ||
670 | rule__MetamodelSpecification__Group__3 | ||
671 | ; | ||
672 | finally { | ||
673 | restoreStackSize(stackSize); | ||
674 | } | ||
675 | |||
676 | rule__MetamodelSpecification__Group__2__Impl | ||
677 | @init { | ||
678 | int stackSize = keepStackSize(); | ||
679 | } | ||
680 | : | ||
681 | ( | ||
682 | { before(grammarAccess.getMetamodelSpecificationAccess().getGroup_2()); } | ||
683 | (rule__MetamodelSpecification__Group_2__0)* | ||
684 | { after(grammarAccess.getMetamodelSpecificationAccess().getGroup_2()); } | ||
685 | ) | ||
686 | ; | ||
687 | finally { | ||
688 | restoreStackSize(stackSize); | ||
689 | } | ||
690 | |||
691 | rule__MetamodelSpecification__Group__3 | ||
692 | @init { | ||
693 | int stackSize = keepStackSize(); | ||
694 | } | ||
695 | : | ||
696 | rule__MetamodelSpecification__Group__3__Impl | ||
697 | ; | ||
698 | finally { | ||
699 | restoreStackSize(stackSize); | ||
700 | } | ||
701 | |||
702 | rule__MetamodelSpecification__Group__3__Impl | ||
703 | @init { | ||
704 | int stackSize = keepStackSize(); | ||
705 | } | ||
706 | : | ||
707 | ( | ||
708 | { before(grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); } | ||
709 | '}' | ||
710 | { after(grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); } | ||
711 | ) | ||
712 | ; | ||
713 | finally { | ||
714 | restoreStackSize(stackSize); | ||
715 | } | ||
716 | |||
717 | |||
718 | rule__MetamodelSpecification__Group_2__0 | ||
719 | @init { | ||
720 | int stackSize = keepStackSize(); | ||
721 | } | ||
722 | : | ||
723 | rule__MetamodelSpecification__Group_2__0__Impl | ||
724 | rule__MetamodelSpecification__Group_2__1 | ||
725 | ; | ||
726 | finally { | ||
727 | restoreStackSize(stackSize); | ||
728 | } | ||
729 | |||
730 | rule__MetamodelSpecification__Group_2__0__Impl | ||
731 | @init { | ||
732 | int stackSize = keepStackSize(); | ||
733 | } | ||
734 | : | ||
735 | ( | ||
736 | { before(grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); } | ||
737 | ',' | ||
738 | { after(grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); } | ||
739 | ) | ||
740 | ; | ||
741 | finally { | ||
742 | restoreStackSize(stackSize); | ||
743 | } | ||
744 | |||
745 | rule__MetamodelSpecification__Group_2__1 | ||
746 | @init { | ||
747 | int stackSize = keepStackSize(); | ||
748 | } | ||
749 | : | ||
750 | rule__MetamodelSpecification__Group_2__1__Impl | ||
751 | ; | ||
752 | finally { | ||
753 | restoreStackSize(stackSize); | ||
754 | } | ||
755 | |||
756 | rule__MetamodelSpecification__Group_2__1__Impl | ||
757 | @init { | ||
758 | int stackSize = keepStackSize(); | ||
759 | } | ||
760 | : | ||
761 | ( | ||
762 | { before(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_2_1()); } | ||
763 | (rule__MetamodelSpecification__EntriesAssignment_2_1) | ||
764 | { after(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_2_1()); } | ||
765 | ) | ||
766 | ; | ||
767 | finally { | ||
768 | restoreStackSize(stackSize); | ||
769 | } | ||
770 | |||
771 | |||
772 | rule__AllPackageEntry__Group__0 | ||
773 | @init { | ||
774 | int stackSize = keepStackSize(); | ||
775 | } | ||
776 | : | ||
777 | rule__AllPackageEntry__Group__0__Impl | ||
778 | rule__AllPackageEntry__Group__1 | ||
779 | ; | ||
780 | finally { | ||
781 | restoreStackSize(stackSize); | ||
782 | } | ||
783 | |||
784 | rule__AllPackageEntry__Group__0__Impl | ||
785 | @init { | ||
786 | int stackSize = keepStackSize(); | ||
787 | } | ||
788 | : | ||
789 | ( | ||
790 | { before(grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); } | ||
791 | 'package' | ||
792 | { after(grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); } | ||
793 | ) | ||
794 | ; | ||
795 | finally { | ||
796 | restoreStackSize(stackSize); | ||
797 | } | ||
798 | |||
799 | rule__AllPackageEntry__Group__1 | ||
800 | @init { | ||
801 | int stackSize = keepStackSize(); | ||
802 | } | ||
803 | : | ||
804 | rule__AllPackageEntry__Group__1__Impl | ||
805 | rule__AllPackageEntry__Group__2 | ||
806 | ; | ||
807 | finally { | ||
808 | restoreStackSize(stackSize); | ||
809 | } | ||
810 | |||
811 | rule__AllPackageEntry__Group__1__Impl | ||
812 | @init { | ||
813 | int stackSize = keepStackSize(); | ||
814 | } | ||
815 | : | ||
816 | ( | ||
817 | { before(grammarAccess.getAllPackageEntryAccess().getPackageAssignment_1()); } | ||
818 | (rule__AllPackageEntry__PackageAssignment_1) | ||
819 | { after(grammarAccess.getAllPackageEntryAccess().getPackageAssignment_1()); } | ||
820 | ) | ||
821 | ; | ||
822 | finally { | ||
823 | restoreStackSize(stackSize); | ||
824 | } | ||
825 | |||
826 | rule__AllPackageEntry__Group__2 | ||
827 | @init { | ||
828 | int stackSize = keepStackSize(); | ||
829 | } | ||
830 | : | ||
831 | rule__AllPackageEntry__Group__2__Impl | ||
832 | ; | ||
833 | finally { | ||
834 | restoreStackSize(stackSize); | ||
835 | } | ||
836 | |||
837 | rule__AllPackageEntry__Group__2__Impl | ||
838 | @init { | ||
839 | int stackSize = keepStackSize(); | ||
840 | } | ||
841 | : | ||
842 | ( | ||
843 | { before(grammarAccess.getAllPackageEntryAccess().getGroup_2()); } | ||
844 | (rule__AllPackageEntry__Group_2__0)? | ||
845 | { after(grammarAccess.getAllPackageEntryAccess().getGroup_2()); } | ||
846 | ) | ||
847 | ; | ||
848 | finally { | ||
849 | restoreStackSize(stackSize); | ||
850 | } | ||
851 | |||
852 | |||
853 | rule__AllPackageEntry__Group_2__0 | ||
854 | @init { | ||
855 | int stackSize = keepStackSize(); | ||
856 | } | ||
857 | : | ||
858 | rule__AllPackageEntry__Group_2__0__Impl | ||
859 | rule__AllPackageEntry__Group_2__1 | ||
860 | ; | ||
861 | finally { | ||
862 | restoreStackSize(stackSize); | ||
863 | } | ||
864 | |||
865 | rule__AllPackageEntry__Group_2__0__Impl | ||
866 | @init { | ||
867 | int stackSize = keepStackSize(); | ||
868 | } | ||
869 | : | ||
870 | ( | ||
871 | { before(grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); } | ||
872 | 'excluding' | ||
873 | { after(grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); } | ||
874 | ) | ||
875 | ; | ||
876 | finally { | ||
877 | restoreStackSize(stackSize); | ||
878 | } | ||
879 | |||
880 | rule__AllPackageEntry__Group_2__1 | ||
881 | @init { | ||
882 | int stackSize = keepStackSize(); | ||
883 | } | ||
884 | : | ||
885 | rule__AllPackageEntry__Group_2__1__Impl | ||
886 | rule__AllPackageEntry__Group_2__2 | ||
887 | ; | ||
888 | finally { | ||
889 | restoreStackSize(stackSize); | ||
890 | } | ||
891 | |||
892 | rule__AllPackageEntry__Group_2__1__Impl | ||
893 | @init { | ||
894 | int stackSize = keepStackSize(); | ||
895 | } | ||
896 | : | ||
897 | ( | ||
898 | { before(grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); } | ||
899 | '{' | ||
900 | { after(grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); } | ||
901 | ) | ||
902 | ; | ||
903 | finally { | ||
904 | restoreStackSize(stackSize); | ||
905 | } | ||
906 | |||
907 | rule__AllPackageEntry__Group_2__2 | ||
908 | @init { | ||
909 | int stackSize = keepStackSize(); | ||
910 | } | ||
911 | : | ||
912 | rule__AllPackageEntry__Group_2__2__Impl | ||
913 | rule__AllPackageEntry__Group_2__3 | ||
914 | ; | ||
915 | finally { | ||
916 | restoreStackSize(stackSize); | ||
917 | } | ||
918 | |||
919 | rule__AllPackageEntry__Group_2__2__Impl | ||
920 | @init { | ||
921 | int stackSize = keepStackSize(); | ||
922 | } | ||
923 | : | ||
924 | ( | ||
925 | { before(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_2()); } | ||
926 | (rule__AllPackageEntry__ExclusionAssignment_2_2) | ||
927 | { after(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_2()); } | ||
928 | ) | ||
929 | ; | ||
930 | finally { | ||
931 | restoreStackSize(stackSize); | ||
932 | } | ||
933 | |||
934 | rule__AllPackageEntry__Group_2__3 | ||
935 | @init { | ||
936 | int stackSize = keepStackSize(); | ||
937 | } | ||
938 | : | ||
939 | rule__AllPackageEntry__Group_2__3__Impl | ||
940 | rule__AllPackageEntry__Group_2__4 | ||
941 | ; | ||
942 | finally { | ||
943 | restoreStackSize(stackSize); | ||
944 | } | ||
945 | |||
946 | rule__AllPackageEntry__Group_2__3__Impl | ||
947 | @init { | ||
948 | int stackSize = keepStackSize(); | ||
949 | } | ||
950 | : | ||
951 | ( | ||
952 | { before(grammarAccess.getAllPackageEntryAccess().getGroup_2_3()); } | ||
953 | (rule__AllPackageEntry__Group_2_3__0)* | ||
954 | { after(grammarAccess.getAllPackageEntryAccess().getGroup_2_3()); } | ||
955 | ) | ||
956 | ; | ||
957 | finally { | ||
958 | restoreStackSize(stackSize); | ||
959 | } | ||
960 | |||
961 | rule__AllPackageEntry__Group_2__4 | ||
962 | @init { | ||
963 | int stackSize = keepStackSize(); | ||
964 | } | ||
965 | : | ||
966 | rule__AllPackageEntry__Group_2__4__Impl | ||
967 | ; | ||
968 | finally { | ||
969 | restoreStackSize(stackSize); | ||
970 | } | ||
971 | |||
972 | rule__AllPackageEntry__Group_2__4__Impl | ||
973 | @init { | ||
974 | int stackSize = keepStackSize(); | ||
975 | } | ||
976 | : | ||
977 | ( | ||
978 | { before(grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); } | ||
979 | '}' | ||
980 | { after(grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); } | ||
981 | ) | ||
982 | ; | ||
983 | finally { | ||
984 | restoreStackSize(stackSize); | ||
985 | } | ||
986 | |||
987 | |||
988 | rule__AllPackageEntry__Group_2_3__0 | ||
989 | @init { | ||
990 | int stackSize = keepStackSize(); | ||
991 | } | ||
992 | : | ||
993 | rule__AllPackageEntry__Group_2_3__0__Impl | ||
994 | rule__AllPackageEntry__Group_2_3__1 | ||
995 | ; | ||
996 | finally { | ||
997 | restoreStackSize(stackSize); | ||
998 | } | ||
999 | |||
1000 | rule__AllPackageEntry__Group_2_3__0__Impl | ||
1001 | @init { | ||
1002 | int stackSize = keepStackSize(); | ||
1003 | } | ||
1004 | : | ||
1005 | ( | ||
1006 | { before(grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); } | ||
1007 | ',' | ||
1008 | { after(grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); } | ||
1009 | ) | ||
1010 | ; | ||
1011 | finally { | ||
1012 | restoreStackSize(stackSize); | ||
1013 | } | ||
1014 | |||
1015 | rule__AllPackageEntry__Group_2_3__1 | ||
1016 | @init { | ||
1017 | int stackSize = keepStackSize(); | ||
1018 | } | ||
1019 | : | ||
1020 | rule__AllPackageEntry__Group_2_3__1__Impl | ||
1021 | ; | ||
1022 | finally { | ||
1023 | restoreStackSize(stackSize); | ||
1024 | } | ||
1025 | |||
1026 | rule__AllPackageEntry__Group_2_3__1__Impl | ||
1027 | @init { | ||
1028 | int stackSize = keepStackSize(); | ||
1029 | } | ||
1030 | : | ||
1031 | ( | ||
1032 | { before(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_3_1()); } | ||
1033 | (rule__AllPackageEntry__ExclusionAssignment_2_3_1) | ||
1034 | { after(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_3_1()); } | ||
1035 | ) | ||
1036 | ; | ||
1037 | finally { | ||
1038 | restoreStackSize(stackSize); | ||
1039 | } | ||
1040 | |||
1041 | |||
1042 | rule__MetamodelElement__Group__0 | ||
1043 | @init { | ||
1044 | int stackSize = keepStackSize(); | ||
1045 | } | ||
1046 | : | ||
1047 | rule__MetamodelElement__Group__0__Impl | ||
1048 | rule__MetamodelElement__Group__1 | ||
1049 | ; | ||
1050 | finally { | ||
1051 | restoreStackSize(stackSize); | ||
1052 | } | ||
1053 | |||
1054 | rule__MetamodelElement__Group__0__Impl | ||
1055 | @init { | ||
1056 | int stackSize = keepStackSize(); | ||
1057 | } | ||
1058 | : | ||
1059 | ( | ||
1060 | { before(grammarAccess.getMetamodelElementAccess().getGroup_0()); } | ||
1061 | (rule__MetamodelElement__Group_0__0)? | ||
1062 | { after(grammarAccess.getMetamodelElementAccess().getGroup_0()); } | ||
1063 | ) | ||
1064 | ; | ||
1065 | finally { | ||
1066 | restoreStackSize(stackSize); | ||
1067 | } | ||
1068 | |||
1069 | rule__MetamodelElement__Group__1 | ||
1070 | @init { | ||
1071 | int stackSize = keepStackSize(); | ||
1072 | } | ||
1073 | : | ||
1074 | rule__MetamodelElement__Group__1__Impl | ||
1075 | rule__MetamodelElement__Group__2 | ||
1076 | ; | ||
1077 | finally { | ||
1078 | restoreStackSize(stackSize); | ||
1079 | } | ||
1080 | |||
1081 | rule__MetamodelElement__Group__1__Impl | ||
1082 | @init { | ||
1083 | int stackSize = keepStackSize(); | ||
1084 | } | ||
1085 | : | ||
1086 | ( | ||
1087 | { before(grammarAccess.getMetamodelElementAccess().getClassifierAssignment_1()); } | ||
1088 | (rule__MetamodelElement__ClassifierAssignment_1) | ||
1089 | { after(grammarAccess.getMetamodelElementAccess().getClassifierAssignment_1()); } | ||
1090 | ) | ||
1091 | ; | ||
1092 | finally { | ||
1093 | restoreStackSize(stackSize); | ||
1094 | } | ||
1095 | |||
1096 | rule__MetamodelElement__Group__2 | ||
1097 | @init { | ||
1098 | int stackSize = keepStackSize(); | ||
1099 | } | ||
1100 | : | ||
1101 | rule__MetamodelElement__Group__2__Impl | ||
1102 | ; | ||
1103 | finally { | ||
1104 | restoreStackSize(stackSize); | ||
1105 | } | ||
1106 | |||
1107 | rule__MetamodelElement__Group__2__Impl | ||
1108 | @init { | ||
1109 | int stackSize = keepStackSize(); | ||
1110 | } | ||
1111 | : | ||
1112 | ( | ||
1113 | { before(grammarAccess.getMetamodelElementAccess().getGroup_2()); } | ||
1114 | (rule__MetamodelElement__Group_2__0)? | ||
1115 | { after(grammarAccess.getMetamodelElementAccess().getGroup_2()); } | ||
1116 | ) | ||
1117 | ; | ||
1118 | finally { | ||
1119 | restoreStackSize(stackSize); | ||
1120 | } | ||
1121 | |||
1122 | |||
1123 | rule__MetamodelElement__Group_0__0 | ||
1124 | @init { | ||
1125 | int stackSize = keepStackSize(); | ||
1126 | } | ||
1127 | : | ||
1128 | rule__MetamodelElement__Group_0__0__Impl | ||
1129 | rule__MetamodelElement__Group_0__1 | ||
1130 | ; | ||
1131 | finally { | ||
1132 | restoreStackSize(stackSize); | ||
1133 | } | ||
1134 | |||
1135 | rule__MetamodelElement__Group_0__0__Impl | ||
1136 | @init { | ||
1137 | int stackSize = keepStackSize(); | ||
1138 | } | ||
1139 | : | ||
1140 | ( | ||
1141 | { before(grammarAccess.getMetamodelElementAccess().getPackageAssignment_0_0()); } | ||
1142 | (rule__MetamodelElement__PackageAssignment_0_0) | ||
1143 | { after(grammarAccess.getMetamodelElementAccess().getPackageAssignment_0_0()); } | ||
1144 | ) | ||
1145 | ; | ||
1146 | finally { | ||
1147 | restoreStackSize(stackSize); | ||
1148 | } | ||
1149 | |||
1150 | rule__MetamodelElement__Group_0__1 | ||
1151 | @init { | ||
1152 | int stackSize = keepStackSize(); | ||
1153 | } | ||
1154 | : | ||
1155 | rule__MetamodelElement__Group_0__1__Impl | ||
1156 | ; | ||
1157 | finally { | ||
1158 | restoreStackSize(stackSize); | ||
1159 | } | ||
1160 | |||
1161 | rule__MetamodelElement__Group_0__1__Impl | ||
1162 | @init { | ||
1163 | int stackSize = keepStackSize(); | ||
1164 | } | ||
1165 | : | ||
1166 | ( | ||
1167 | { before(grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); } | ||
1168 | '::' | ||
1169 | { after(grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); } | ||
1170 | ) | ||
1171 | ; | ||
1172 | finally { | ||
1173 | restoreStackSize(stackSize); | ||
1174 | } | ||
1175 | |||
1176 | |||
1177 | rule__MetamodelElement__Group_2__0 | ||
1178 | @init { | ||
1179 | int stackSize = keepStackSize(); | ||
1180 | } | ||
1181 | : | ||
1182 | rule__MetamodelElement__Group_2__0__Impl | ||
1183 | rule__MetamodelElement__Group_2__1 | ||
1184 | ; | ||
1185 | finally { | ||
1186 | restoreStackSize(stackSize); | ||
1187 | } | ||
1188 | |||
1189 | rule__MetamodelElement__Group_2__0__Impl | ||
1190 | @init { | ||
1191 | int stackSize = keepStackSize(); | ||
1192 | } | ||
1193 | : | ||
1194 | ( | ||
1195 | { before(grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); } | ||
1196 | '.' | ||
1197 | { after(grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); } | ||
1198 | ) | ||
1199 | ; | ||
1200 | finally { | ||
1201 | restoreStackSize(stackSize); | ||
1202 | } | ||
1203 | |||
1204 | rule__MetamodelElement__Group_2__1 | ||
1205 | @init { | ||
1206 | int stackSize = keepStackSize(); | ||
1207 | } | ||
1208 | : | ||
1209 | rule__MetamodelElement__Group_2__1__Impl | ||
1210 | ; | ||
1211 | finally { | ||
1212 | restoreStackSize(stackSize); | ||
1213 | } | ||
1214 | |||
1215 | rule__MetamodelElement__Group_2__1__Impl | ||
1216 | @init { | ||
1217 | int stackSize = keepStackSize(); | ||
1218 | } | ||
1219 | : | ||
1220 | ( | ||
1221 | { before(grammarAccess.getMetamodelElementAccess().getFeatureAssignment_2_1()); } | ||
1222 | (rule__MetamodelElement__FeatureAssignment_2_1) | ||
1223 | { after(grammarAccess.getMetamodelElementAccess().getFeatureAssignment_2_1()); } | ||
1224 | ) | ||
1225 | ; | ||
1226 | finally { | ||
1227 | restoreStackSize(stackSize); | ||
1228 | } | ||
1229 | |||
1230 | |||
1231 | rule__MetamodelDeclaration__Group__0 | ||
1232 | @init { | ||
1233 | int stackSize = keepStackSize(); | ||
1234 | } | ||
1235 | : | ||
1236 | rule__MetamodelDeclaration__Group__0__Impl | ||
1237 | rule__MetamodelDeclaration__Group__1 | ||
1238 | ; | ||
1239 | finally { | ||
1240 | restoreStackSize(stackSize); | ||
1241 | } | ||
1242 | |||
1243 | rule__MetamodelDeclaration__Group__0__Impl | ||
1244 | @init { | ||
1245 | int stackSize = keepStackSize(); | ||
1246 | } | ||
1247 | : | ||
1248 | ( | ||
1249 | { before(grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); } | ||
1250 | 'metamodel' | ||
1251 | { after(grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); } | ||
1252 | ) | ||
1253 | ; | ||
1254 | finally { | ||
1255 | restoreStackSize(stackSize); | ||
1256 | } | ||
1257 | |||
1258 | rule__MetamodelDeclaration__Group__1 | ||
1259 | @init { | ||
1260 | int stackSize = keepStackSize(); | ||
1261 | } | ||
1262 | : | ||
1263 | rule__MetamodelDeclaration__Group__1__Impl | ||
1264 | rule__MetamodelDeclaration__Group__2 | ||
1265 | ; | ||
1266 | finally { | ||
1267 | restoreStackSize(stackSize); | ||
1268 | } | ||
1269 | |||
1270 | rule__MetamodelDeclaration__Group__1__Impl | ||
1271 | @init { | ||
1272 | int stackSize = keepStackSize(); | ||
1273 | } | ||
1274 | : | ||
1275 | ( | ||
1276 | { before(grammarAccess.getMetamodelDeclarationAccess().getNameAssignment_1()); } | ||
1277 | (rule__MetamodelDeclaration__NameAssignment_1) | ||
1278 | { after(grammarAccess.getMetamodelDeclarationAccess().getNameAssignment_1()); } | ||
1279 | ) | ||
1280 | ; | ||
1281 | finally { | ||
1282 | restoreStackSize(stackSize); | ||
1283 | } | ||
1284 | |||
1285 | rule__MetamodelDeclaration__Group__2 | ||
1286 | @init { | ||
1287 | int stackSize = keepStackSize(); | ||
1288 | } | ||
1289 | : | ||
1290 | rule__MetamodelDeclaration__Group__2__Impl | ||
1291 | ; | ||
1292 | finally { | ||
1293 | restoreStackSize(stackSize); | ||
1294 | } | ||
1295 | |||
1296 | rule__MetamodelDeclaration__Group__2__Impl | ||
1297 | @init { | ||
1298 | int stackSize = keepStackSize(); | ||
1299 | } | ||
1300 | : | ||
1301 | ( | ||
1302 | { before(grammarAccess.getMetamodelDeclarationAccess().getSpecificationAssignment_2()); } | ||
1303 | (rule__MetamodelDeclaration__SpecificationAssignment_2) | ||
1304 | { after(grammarAccess.getMetamodelDeclarationAccess().getSpecificationAssignment_2()); } | ||
1305 | ) | ||
1306 | ; | ||
1307 | finally { | ||
1308 | restoreStackSize(stackSize); | ||
1309 | } | ||
1310 | |||
1311 | |||
1312 | rule__ConfigurationScript__ImportsAssignment_0 | ||
1313 | @init { | ||
1314 | int stackSize = keepStackSize(); | ||
1315 | } | ||
1316 | : | ||
1317 | ( | ||
1318 | { before(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); } | ||
1319 | ruleImport | ||
1320 | { after(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); } | ||
1321 | ) | ||
1322 | ; | ||
1323 | finally { | ||
1324 | restoreStackSize(stackSize); | ||
1325 | } | ||
1326 | |||
1327 | rule__ConfigurationScript__CommandsAssignment_1 | ||
1328 | @init { | ||
1329 | int stackSize = keepStackSize(); | ||
1330 | } | ||
1331 | : | ||
1332 | ( | ||
1333 | { before(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); } | ||
1334 | ruleCommand | ||
1335 | { after(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); } | ||
1336 | ) | ||
1337 | ; | ||
1338 | finally { | ||
1339 | restoreStackSize(stackSize); | ||
1340 | } | ||
1341 | |||
1342 | rule__EPackageImport__ImportedPackageAssignment_2 | ||
1343 | @init { | ||
1344 | int stackSize = keepStackSize(); | ||
1345 | } | ||
1346 | : | ||
1347 | ( | ||
1348 | { before(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); } | ||
1349 | ( | ||
1350 | { before(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1()); } | ||
1351 | RULE_STRING | ||
1352 | { after(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1()); } | ||
1353 | ) | ||
1354 | { after(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); } | ||
1355 | ) | ||
1356 | ; | ||
1357 | finally { | ||
1358 | restoreStackSize(stackSize); | ||
1359 | } | ||
1360 | |||
1361 | rule__ViatraImport__ImportedViatraAssignment_2 | ||
1362 | @init { | ||
1363 | int stackSize = keepStackSize(); | ||
1364 | } | ||
1365 | : | ||
1366 | ( | ||
1367 | { before(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); } | ||
1368 | ( | ||
1369 | { before(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1()); } | ||
1370 | RULE_STRING | ||
1371 | { after(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1()); } | ||
1372 | ) | ||
1373 | { after(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); } | ||
1374 | ) | ||
1375 | ; | ||
1376 | finally { | ||
1377 | restoreStackSize(stackSize); | ||
1378 | } | ||
1379 | |||
1380 | rule__MetamodelSpecification__EntriesAssignment_1 | ||
1381 | @init { | ||
1382 | int stackSize = keepStackSize(); | ||
1383 | } | ||
1384 | : | ||
1385 | ( | ||
1386 | { before(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); } | ||
1387 | ruleMetamodelEntry | ||
1388 | { after(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); } | ||
1389 | ) | ||
1390 | ; | ||
1391 | finally { | ||
1392 | restoreStackSize(stackSize); | ||
1393 | } | ||
1394 | |||
1395 | rule__MetamodelSpecification__EntriesAssignment_2_1 | ||
1396 | @init { | ||
1397 | int stackSize = keepStackSize(); | ||
1398 | } | ||
1399 | : | ||
1400 | ( | ||
1401 | { before(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); } | ||
1402 | ruleMetamodelEntry | ||
1403 | { after(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); } | ||
1404 | ) | ||
1405 | ; | ||
1406 | finally { | ||
1407 | restoreStackSize(stackSize); | ||
1408 | } | ||
1409 | |||
1410 | rule__AllPackageEntry__PackageAssignment_1 | ||
1411 | @init { | ||
1412 | int stackSize = keepStackSize(); | ||
1413 | } | ||
1414 | : | ||
1415 | ( | ||
1416 | { before(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); } | ||
1417 | ( | ||
1418 | { before(grammarAccess.getAllPackageEntryAccess().getPackageEPackageIDTerminalRuleCall_1_0_1()); } | ||
1419 | RULE_ID | ||
1420 | { after(grammarAccess.getAllPackageEntryAccess().getPackageEPackageIDTerminalRuleCall_1_0_1()); } | ||
1421 | ) | ||
1422 | { after(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); } | ||
1423 | ) | ||
1424 | ; | ||
1425 | finally { | ||
1426 | restoreStackSize(stackSize); | ||
1427 | } | ||
1428 | |||
1429 | rule__AllPackageEntry__ExclusionAssignment_2_2 | ||
1430 | @init { | ||
1431 | int stackSize = keepStackSize(); | ||
1432 | } | ||
1433 | : | ||
1434 | ( | ||
1435 | { before(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); } | ||
1436 | ruleMetamodelElement | ||
1437 | { after(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); } | ||
1438 | ) | ||
1439 | ; | ||
1440 | finally { | ||
1441 | restoreStackSize(stackSize); | ||
1442 | } | ||
1443 | |||
1444 | rule__AllPackageEntry__ExclusionAssignment_2_3_1 | ||
1445 | @init { | ||
1446 | int stackSize = keepStackSize(); | ||
1447 | } | ||
1448 | : | ||
1449 | ( | ||
1450 | { before(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); } | ||
1451 | ruleMetamodelElement | ||
1452 | { after(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); } | ||
1453 | ) | ||
1454 | ; | ||
1455 | finally { | ||
1456 | restoreStackSize(stackSize); | ||
1457 | } | ||
1458 | |||
1459 | rule__MetamodelElement__PackageAssignment_0_0 | ||
1460 | @init { | ||
1461 | int stackSize = keepStackSize(); | ||
1462 | } | ||
1463 | : | ||
1464 | ( | ||
1465 | { before(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); } | ||
1466 | ( | ||
1467 | { before(grammarAccess.getMetamodelElementAccess().getPackageEPackageIDTerminalRuleCall_0_0_0_1()); } | ||
1468 | RULE_ID | ||
1469 | { after(grammarAccess.getMetamodelElementAccess().getPackageEPackageIDTerminalRuleCall_0_0_0_1()); } | ||
1470 | ) | ||
1471 | { after(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); } | ||
1472 | ) | ||
1473 | ; | ||
1474 | finally { | ||
1475 | restoreStackSize(stackSize); | ||
1476 | } | ||
1477 | |||
1478 | rule__MetamodelElement__ClassifierAssignment_1 | ||
1479 | @init { | ||
1480 | int stackSize = keepStackSize(); | ||
1481 | } | ||
1482 | : | ||
1483 | ( | ||
1484 | { before(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); } | ||
1485 | ( | ||
1486 | { before(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierIDTerminalRuleCall_1_0_1()); } | ||
1487 | RULE_ID | ||
1488 | { after(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierIDTerminalRuleCall_1_0_1()); } | ||
1489 | ) | ||
1490 | { after(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); } | ||
1491 | ) | ||
1492 | ; | ||
1493 | finally { | ||
1494 | restoreStackSize(stackSize); | ||
1495 | } | ||
1496 | |||
1497 | rule__MetamodelElement__FeatureAssignment_2_1 | ||
1498 | @init { | ||
1499 | int stackSize = keepStackSize(); | ||
1500 | } | ||
1501 | : | ||
1502 | ( | ||
1503 | { before(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); } | ||
1504 | ( | ||
1505 | { before(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementIDTerminalRuleCall_2_1_0_1()); } | ||
1506 | RULE_ID | ||
1507 | { after(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementIDTerminalRuleCall_2_1_0_1()); } | ||
1508 | ) | ||
1509 | { after(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); } | ||
1510 | ) | ||
1511 | ; | ||
1512 | finally { | ||
1513 | restoreStackSize(stackSize); | ||
1514 | } | ||
1515 | |||
1516 | rule__MetamodelDeclaration__NameAssignment_1 | ||
1517 | @init { | ||
1518 | int stackSize = keepStackSize(); | ||
1519 | } | ||
1520 | : | ||
1521 | ( | ||
1522 | { before(grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } | ||
1523 | RULE_ID | ||
1524 | { after(grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } | ||
1525 | ) | ||
1526 | ; | ||
1527 | finally { | ||
1528 | restoreStackSize(stackSize); | ||
1529 | } | ||
1530 | |||
1531 | rule__MetamodelDeclaration__SpecificationAssignment_2 | ||
1532 | @init { | ||
1533 | int stackSize = keepStackSize(); | ||
1534 | } | ||
1535 | : | ||
1536 | ( | ||
1537 | { before(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); } | ||
1538 | ruleMetamodelSpecification | ||
1539 | { after(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); } | ||
1540 | ) | ||
1541 | ; | ||
1542 | finally { | ||
1543 | restoreStackSize(stackSize); | ||
1544 | } | ||
1545 | |||
1546 | rule__MetamodelReference__ReferredAssignment | ||
1547 | @init { | ||
1548 | int stackSize = keepStackSize(); | ||
1549 | } | ||
1550 | : | ||
1551 | ( | ||
1552 | { before(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); } | ||
1553 | ( | ||
1554 | { before(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationIDTerminalRuleCall_0_1()); } | ||
1555 | RULE_ID | ||
1556 | { after(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationIDTerminalRuleCall_0_1()); } | ||
1557 | ) | ||
1558 | { after(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); } | ||
1559 | ) | ||
1560 | ; | ||
1561 | finally { | ||
1562 | restoreStackSize(stackSize); | ||
1563 | } | ||
1564 | |||
1565 | RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; | ||
1566 | |||
1567 | RULE_INT : ('0'..'9')+; | ||
1568 | |||
1569 | RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'|'\'' ('\\' .|~(('\\'|'\'')))* '\''); | ||
1570 | |||
1571 | RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; | ||
1572 | |||
1573 | RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; | ||
1574 | |||
1575 | RULE_WS : (' '|'\t'|'\r'|'\n')+; | ||
1576 | |||
1577 | RULE_ANY_OTHER : .; | ||