diff options
Diffstat (limited to 'language-ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblem.g')
-rw-r--r-- | language-ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblem.g | 5038 |
1 files changed, 5038 insertions, 0 deletions
diff --git a/language-ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblem.g b/language-ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblem.g new file mode 100644 index 00000000..0a7c03ba --- /dev/null +++ b/language-ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblem.g | |||
@@ -0,0 +1,5038 @@ | |||
1 | /* | ||
2 | * generated by Xtext 2.26.0.M1 | ||
3 | */ | ||
4 | grammar InternalProblem; | ||
5 | |||
6 | options { | ||
7 | superClass=AbstractInternalContentAssistParser; | ||
8 | } | ||
9 | |||
10 | @lexer::header { | ||
11 | package org.eclipse.viatra.solver.language.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 org.eclipse.viatra.solver.language.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 org.eclipse.viatra.solver.language.services.ProblemGrammarAccess; | ||
32 | |||
33 | } | ||
34 | @parser::members { | ||
35 | private ProblemGrammarAccess grammarAccess; | ||
36 | |||
37 | public void setGrammarAccess(ProblemGrammarAccess 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 entryRuleProblem | ||
53 | entryRuleProblem | ||
54 | : | ||
55 | { before(grammarAccess.getProblemRule()); } | ||
56 | ruleProblem | ||
57 | { after(grammarAccess.getProblemRule()); } | ||
58 | EOF | ||
59 | ; | ||
60 | |||
61 | // Rule Problem | ||
62 | ruleProblem | ||
63 | @init { | ||
64 | int stackSize = keepStackSize(); | ||
65 | } | ||
66 | : | ||
67 | ( | ||
68 | { before(grammarAccess.getProblemAccess().getGroup()); } | ||
69 | (rule__Problem__Group__0) | ||
70 | { after(grammarAccess.getProblemAccess().getGroup()); } | ||
71 | ) | ||
72 | ; | ||
73 | finally { | ||
74 | restoreStackSize(stackSize); | ||
75 | } | ||
76 | |||
77 | // Entry rule entryRuleStatement | ||
78 | entryRuleStatement | ||
79 | : | ||
80 | { before(grammarAccess.getStatementRule()); } | ||
81 | ruleStatement | ||
82 | { after(grammarAccess.getStatementRule()); } | ||
83 | EOF | ||
84 | ; | ||
85 | |||
86 | // Rule Statement | ||
87 | ruleStatement | ||
88 | @init { | ||
89 | int stackSize = keepStackSize(); | ||
90 | } | ||
91 | : | ||
92 | ( | ||
93 | { before(grammarAccess.getStatementAccess().getAlternatives()); } | ||
94 | (rule__Statement__Alternatives) | ||
95 | { after(grammarAccess.getStatementAccess().getAlternatives()); } | ||
96 | ) | ||
97 | ; | ||
98 | finally { | ||
99 | restoreStackSize(stackSize); | ||
100 | } | ||
101 | |||
102 | // Entry rule entryRuleClassDeclaration | ||
103 | entryRuleClassDeclaration | ||
104 | : | ||
105 | { before(grammarAccess.getClassDeclarationRule()); } | ||
106 | ruleClassDeclaration | ||
107 | { after(grammarAccess.getClassDeclarationRule()); } | ||
108 | EOF | ||
109 | ; | ||
110 | |||
111 | // Rule ClassDeclaration | ||
112 | ruleClassDeclaration | ||
113 | @init { | ||
114 | int stackSize = keepStackSize(); | ||
115 | } | ||
116 | : | ||
117 | ( | ||
118 | { before(grammarAccess.getClassDeclarationAccess().getGroup()); } | ||
119 | (rule__ClassDeclaration__Group__0) | ||
120 | { after(grammarAccess.getClassDeclarationAccess().getGroup()); } | ||
121 | ) | ||
122 | ; | ||
123 | finally { | ||
124 | restoreStackSize(stackSize); | ||
125 | } | ||
126 | |||
127 | // Entry rule entryRuleEnumDeclaration | ||
128 | entryRuleEnumDeclaration | ||
129 | : | ||
130 | { before(grammarAccess.getEnumDeclarationRule()); } | ||
131 | ruleEnumDeclaration | ||
132 | { after(grammarAccess.getEnumDeclarationRule()); } | ||
133 | EOF | ||
134 | ; | ||
135 | |||
136 | // Rule EnumDeclaration | ||
137 | ruleEnumDeclaration | ||
138 | @init { | ||
139 | int stackSize = keepStackSize(); | ||
140 | } | ||
141 | : | ||
142 | ( | ||
143 | { before(grammarAccess.getEnumDeclarationAccess().getGroup()); } | ||
144 | (rule__EnumDeclaration__Group__0) | ||
145 | { after(grammarAccess.getEnumDeclarationAccess().getGroup()); } | ||
146 | ) | ||
147 | ; | ||
148 | finally { | ||
149 | restoreStackSize(stackSize); | ||
150 | } | ||
151 | |||
152 | // Entry rule entryRuleEnumLiteral | ||
153 | entryRuleEnumLiteral | ||
154 | : | ||
155 | { before(grammarAccess.getEnumLiteralRule()); } | ||
156 | ruleEnumLiteral | ||
157 | { after(grammarAccess.getEnumLiteralRule()); } | ||
158 | EOF | ||
159 | ; | ||
160 | |||
161 | // Rule EnumLiteral | ||
162 | ruleEnumLiteral | ||
163 | @init { | ||
164 | int stackSize = keepStackSize(); | ||
165 | } | ||
166 | : | ||
167 | ( | ||
168 | { before(grammarAccess.getEnumLiteralAccess().getNameAssignment()); } | ||
169 | (rule__EnumLiteral__NameAssignment) | ||
170 | { after(grammarAccess.getEnumLiteralAccess().getNameAssignment()); } | ||
171 | ) | ||
172 | ; | ||
173 | finally { | ||
174 | restoreStackSize(stackSize); | ||
175 | } | ||
176 | |||
177 | // Entry rule entryRuleReferenceDeclaration | ||
178 | entryRuleReferenceDeclaration | ||
179 | : | ||
180 | { before(grammarAccess.getReferenceDeclarationRule()); } | ||
181 | ruleReferenceDeclaration | ||
182 | { after(grammarAccess.getReferenceDeclarationRule()); } | ||
183 | EOF | ||
184 | ; | ||
185 | |||
186 | // Rule ReferenceDeclaration | ||
187 | ruleReferenceDeclaration | ||
188 | @init { | ||
189 | int stackSize = keepStackSize(); | ||
190 | } | ||
191 | : | ||
192 | ( | ||
193 | { before(grammarAccess.getReferenceDeclarationAccess().getGroup()); } | ||
194 | (rule__ReferenceDeclaration__Group__0) | ||
195 | { after(grammarAccess.getReferenceDeclarationAccess().getGroup()); } | ||
196 | ) | ||
197 | ; | ||
198 | finally { | ||
199 | restoreStackSize(stackSize); | ||
200 | } | ||
201 | |||
202 | // Entry rule entryRulePredicateDefinition | ||
203 | entryRulePredicateDefinition | ||
204 | : | ||
205 | { before(grammarAccess.getPredicateDefinitionRule()); } | ||
206 | rulePredicateDefinition | ||
207 | { after(grammarAccess.getPredicateDefinitionRule()); } | ||
208 | EOF | ||
209 | ; | ||
210 | |||
211 | // Rule PredicateDefinition | ||
212 | rulePredicateDefinition | ||
213 | @init { | ||
214 | int stackSize = keepStackSize(); | ||
215 | } | ||
216 | : | ||
217 | ( | ||
218 | { before(grammarAccess.getPredicateDefinitionAccess().getGroup()); } | ||
219 | (rule__PredicateDefinition__Group__0) | ||
220 | { after(grammarAccess.getPredicateDefinitionAccess().getGroup()); } | ||
221 | ) | ||
222 | ; | ||
223 | finally { | ||
224 | restoreStackSize(stackSize); | ||
225 | } | ||
226 | |||
227 | // Entry rule entryRuleParameter | ||
228 | entryRuleParameter | ||
229 | : | ||
230 | { before(grammarAccess.getParameterRule()); } | ||
231 | ruleParameter | ||
232 | { after(grammarAccess.getParameterRule()); } | ||
233 | EOF | ||
234 | ; | ||
235 | |||
236 | // Rule Parameter | ||
237 | ruleParameter | ||
238 | @init { | ||
239 | int stackSize = keepStackSize(); | ||
240 | } | ||
241 | : | ||
242 | ( | ||
243 | { before(grammarAccess.getParameterAccess().getGroup()); } | ||
244 | (rule__Parameter__Group__0) | ||
245 | { after(grammarAccess.getParameterAccess().getGroup()); } | ||
246 | ) | ||
247 | ; | ||
248 | finally { | ||
249 | restoreStackSize(stackSize); | ||
250 | } | ||
251 | |||
252 | // Entry rule entryRuleConjunction | ||
253 | entryRuleConjunction | ||
254 | : | ||
255 | { before(grammarAccess.getConjunctionRule()); } | ||
256 | ruleConjunction | ||
257 | { after(grammarAccess.getConjunctionRule()); } | ||
258 | EOF | ||
259 | ; | ||
260 | |||
261 | // Rule Conjunction | ||
262 | ruleConjunction | ||
263 | @init { | ||
264 | int stackSize = keepStackSize(); | ||
265 | } | ||
266 | : | ||
267 | ( | ||
268 | { before(grammarAccess.getConjunctionAccess().getGroup()); } | ||
269 | (rule__Conjunction__Group__0) | ||
270 | { after(grammarAccess.getConjunctionAccess().getGroup()); } | ||
271 | ) | ||
272 | ; | ||
273 | finally { | ||
274 | restoreStackSize(stackSize); | ||
275 | } | ||
276 | |||
277 | // Entry rule entryRuleLiteral | ||
278 | entryRuleLiteral | ||
279 | : | ||
280 | { before(grammarAccess.getLiteralRule()); } | ||
281 | ruleLiteral | ||
282 | { after(grammarAccess.getLiteralRule()); } | ||
283 | EOF | ||
284 | ; | ||
285 | |||
286 | // Rule Literal | ||
287 | ruleLiteral | ||
288 | @init { | ||
289 | int stackSize = keepStackSize(); | ||
290 | } | ||
291 | : | ||
292 | ( | ||
293 | { before(grammarAccess.getLiteralAccess().getAlternatives()); } | ||
294 | (rule__Literal__Alternatives) | ||
295 | { after(grammarAccess.getLiteralAccess().getAlternatives()); } | ||
296 | ) | ||
297 | ; | ||
298 | finally { | ||
299 | restoreStackSize(stackSize); | ||
300 | } | ||
301 | |||
302 | // Entry rule entryRuleNegativeLiteral | ||
303 | entryRuleNegativeLiteral | ||
304 | : | ||
305 | { before(grammarAccess.getNegativeLiteralRule()); } | ||
306 | ruleNegativeLiteral | ||
307 | { after(grammarAccess.getNegativeLiteralRule()); } | ||
308 | EOF | ||
309 | ; | ||
310 | |||
311 | // Rule NegativeLiteral | ||
312 | ruleNegativeLiteral | ||
313 | @init { | ||
314 | int stackSize = keepStackSize(); | ||
315 | } | ||
316 | : | ||
317 | ( | ||
318 | { before(grammarAccess.getNegativeLiteralAccess().getGroup()); } | ||
319 | (rule__NegativeLiteral__Group__0) | ||
320 | { after(grammarAccess.getNegativeLiteralAccess().getGroup()); } | ||
321 | ) | ||
322 | ; | ||
323 | finally { | ||
324 | restoreStackSize(stackSize); | ||
325 | } | ||
326 | |||
327 | // Entry rule entryRuleAtom | ||
328 | entryRuleAtom | ||
329 | : | ||
330 | { before(grammarAccess.getAtomRule()); } | ||
331 | ruleAtom | ||
332 | { after(grammarAccess.getAtomRule()); } | ||
333 | EOF | ||
334 | ; | ||
335 | |||
336 | // Rule Atom | ||
337 | ruleAtom | ||
338 | @init { | ||
339 | int stackSize = keepStackSize(); | ||
340 | } | ||
341 | : | ||
342 | ( | ||
343 | { before(grammarAccess.getAtomAccess().getGroup()); } | ||
344 | (rule__Atom__Group__0) | ||
345 | { after(grammarAccess.getAtomAccess().getGroup()); } | ||
346 | ) | ||
347 | ; | ||
348 | finally { | ||
349 | restoreStackSize(stackSize); | ||
350 | } | ||
351 | |||
352 | // Entry rule entryRuleArgument | ||
353 | entryRuleArgument | ||
354 | : | ||
355 | { before(grammarAccess.getArgumentRule()); } | ||
356 | ruleArgument | ||
357 | { after(grammarAccess.getArgumentRule()); } | ||
358 | EOF | ||
359 | ; | ||
360 | |||
361 | // Rule Argument | ||
362 | ruleArgument | ||
363 | @init { | ||
364 | int stackSize = keepStackSize(); | ||
365 | } | ||
366 | : | ||
367 | ( | ||
368 | { before(grammarAccess.getArgumentAccess().getVariableOrNodeAssignment()); } | ||
369 | (rule__Argument__VariableOrNodeAssignment) | ||
370 | { after(grammarAccess.getArgumentAccess().getVariableOrNodeAssignment()); } | ||
371 | ) | ||
372 | ; | ||
373 | finally { | ||
374 | restoreStackSize(stackSize); | ||
375 | } | ||
376 | |||
377 | // Entry rule entryRuleAssertion | ||
378 | entryRuleAssertion | ||
379 | : | ||
380 | { before(grammarAccess.getAssertionRule()); } | ||
381 | ruleAssertion | ||
382 | { after(grammarAccess.getAssertionRule()); } | ||
383 | EOF | ||
384 | ; | ||
385 | |||
386 | // Rule Assertion | ||
387 | ruleAssertion | ||
388 | @init { | ||
389 | int stackSize = keepStackSize(); | ||
390 | } | ||
391 | : | ||
392 | ( | ||
393 | { before(grammarAccess.getAssertionAccess().getGroup()); } | ||
394 | (rule__Assertion__Group__0) | ||
395 | { after(grammarAccess.getAssertionAccess().getGroup()); } | ||
396 | ) | ||
397 | ; | ||
398 | finally { | ||
399 | restoreStackSize(stackSize); | ||
400 | } | ||
401 | |||
402 | // Entry rule entryRuleScopeDeclaration | ||
403 | entryRuleScopeDeclaration | ||
404 | : | ||
405 | { before(grammarAccess.getScopeDeclarationRule()); } | ||
406 | ruleScopeDeclaration | ||
407 | { after(grammarAccess.getScopeDeclarationRule()); } | ||
408 | EOF | ||
409 | ; | ||
410 | |||
411 | // Rule ScopeDeclaration | ||
412 | ruleScopeDeclaration | ||
413 | @init { | ||
414 | int stackSize = keepStackSize(); | ||
415 | } | ||
416 | : | ||
417 | ( | ||
418 | { before(grammarAccess.getScopeDeclarationAccess().getGroup()); } | ||
419 | (rule__ScopeDeclaration__Group__0) | ||
420 | { after(grammarAccess.getScopeDeclarationAccess().getGroup()); } | ||
421 | ) | ||
422 | ; | ||
423 | finally { | ||
424 | restoreStackSize(stackSize); | ||
425 | } | ||
426 | |||
427 | // Entry rule entryRuleTypeScope | ||
428 | entryRuleTypeScope | ||
429 | : | ||
430 | { before(grammarAccess.getTypeScopeRule()); } | ||
431 | ruleTypeScope | ||
432 | { after(grammarAccess.getTypeScopeRule()); } | ||
433 | EOF | ||
434 | ; | ||
435 | |||
436 | // Rule TypeScope | ||
437 | ruleTypeScope | ||
438 | @init { | ||
439 | int stackSize = keepStackSize(); | ||
440 | } | ||
441 | : | ||
442 | ( | ||
443 | { before(grammarAccess.getTypeScopeAccess().getGroup()); } | ||
444 | (rule__TypeScope__Group__0) | ||
445 | { after(grammarAccess.getTypeScopeAccess().getGroup()); } | ||
446 | ) | ||
447 | ; | ||
448 | finally { | ||
449 | restoreStackSize(stackSize); | ||
450 | } | ||
451 | |||
452 | // Entry rule entryRuleMultiplicity | ||
453 | entryRuleMultiplicity | ||
454 | : | ||
455 | { before(grammarAccess.getMultiplicityRule()); } | ||
456 | ruleMultiplicity | ||
457 | { after(grammarAccess.getMultiplicityRule()); } | ||
458 | EOF | ||
459 | ; | ||
460 | |||
461 | // Rule Multiplicity | ||
462 | ruleMultiplicity | ||
463 | @init { | ||
464 | int stackSize = keepStackSize(); | ||
465 | } | ||
466 | : | ||
467 | ( | ||
468 | { before(grammarAccess.getMultiplicityAccess().getAlternatives()); } | ||
469 | (rule__Multiplicity__Alternatives) | ||
470 | { after(grammarAccess.getMultiplicityAccess().getAlternatives()); } | ||
471 | ) | ||
472 | ; | ||
473 | finally { | ||
474 | restoreStackSize(stackSize); | ||
475 | } | ||
476 | |||
477 | // Entry rule entryRuleDefiniteMultiplicity | ||
478 | entryRuleDefiniteMultiplicity | ||
479 | : | ||
480 | { before(grammarAccess.getDefiniteMultiplicityRule()); } | ||
481 | ruleDefiniteMultiplicity | ||
482 | { after(grammarAccess.getDefiniteMultiplicityRule()); } | ||
483 | EOF | ||
484 | ; | ||
485 | |||
486 | // Rule DefiniteMultiplicity | ||
487 | ruleDefiniteMultiplicity | ||
488 | @init { | ||
489 | int stackSize = keepStackSize(); | ||
490 | } | ||
491 | : | ||
492 | ( | ||
493 | { before(grammarAccess.getDefiniteMultiplicityAccess().getAlternatives()); } | ||
494 | (rule__DefiniteMultiplicity__Alternatives) | ||
495 | { after(grammarAccess.getDefiniteMultiplicityAccess().getAlternatives()); } | ||
496 | ) | ||
497 | ; | ||
498 | finally { | ||
499 | restoreStackSize(stackSize); | ||
500 | } | ||
501 | |||
502 | // Entry rule entryRuleUnboundedMultiplicity | ||
503 | entryRuleUnboundedMultiplicity | ||
504 | : | ||
505 | { before(grammarAccess.getUnboundedMultiplicityRule()); } | ||
506 | ruleUnboundedMultiplicity | ||
507 | { after(grammarAccess.getUnboundedMultiplicityRule()); } | ||
508 | EOF | ||
509 | ; | ||
510 | |||
511 | // Rule UnboundedMultiplicity | ||
512 | ruleUnboundedMultiplicity | ||
513 | @init { | ||
514 | int stackSize = keepStackSize(); | ||
515 | } | ||
516 | : | ||
517 | ( | ||
518 | { before(grammarAccess.getUnboundedMultiplicityAccess().getUnboundedMultiplicityAction()); } | ||
519 | () | ||
520 | { after(grammarAccess.getUnboundedMultiplicityAccess().getUnboundedMultiplicityAction()); } | ||
521 | ) | ||
522 | ; | ||
523 | finally { | ||
524 | restoreStackSize(stackSize); | ||
525 | } | ||
526 | |||
527 | // Entry rule entryRuleRangeMultiplicity | ||
528 | entryRuleRangeMultiplicity | ||
529 | : | ||
530 | { before(grammarAccess.getRangeMultiplicityRule()); } | ||
531 | ruleRangeMultiplicity | ||
532 | { after(grammarAccess.getRangeMultiplicityRule()); } | ||
533 | EOF | ||
534 | ; | ||
535 | |||
536 | // Rule RangeMultiplicity | ||
537 | ruleRangeMultiplicity | ||
538 | @init { | ||
539 | int stackSize = keepStackSize(); | ||
540 | } | ||
541 | : | ||
542 | ( | ||
543 | { before(grammarAccess.getRangeMultiplicityAccess().getGroup()); } | ||
544 | (rule__RangeMultiplicity__Group__0) | ||
545 | { after(grammarAccess.getRangeMultiplicityAccess().getGroup()); } | ||
546 | ) | ||
547 | ; | ||
548 | finally { | ||
549 | restoreStackSize(stackSize); | ||
550 | } | ||
551 | |||
552 | // Entry rule entryRuleExactMultiplicity | ||
553 | entryRuleExactMultiplicity | ||
554 | : | ||
555 | { before(grammarAccess.getExactMultiplicityRule()); } | ||
556 | ruleExactMultiplicity | ||
557 | { after(grammarAccess.getExactMultiplicityRule()); } | ||
558 | EOF | ||
559 | ; | ||
560 | |||
561 | // Rule ExactMultiplicity | ||
562 | ruleExactMultiplicity | ||
563 | @init { | ||
564 | int stackSize = keepStackSize(); | ||
565 | } | ||
566 | : | ||
567 | ( | ||
568 | { before(grammarAccess.getExactMultiplicityAccess().getExactValueAssignment()); } | ||
569 | (rule__ExactMultiplicity__ExactValueAssignment) | ||
570 | { after(grammarAccess.getExactMultiplicityAccess().getExactValueAssignment()); } | ||
571 | ) | ||
572 | ; | ||
573 | finally { | ||
574 | restoreStackSize(stackSize); | ||
575 | } | ||
576 | |||
577 | // Entry rule entryRuleUpperBound | ||
578 | entryRuleUpperBound | ||
579 | : | ||
580 | { before(grammarAccess.getUpperBoundRule()); } | ||
581 | ruleUpperBound | ||
582 | { after(grammarAccess.getUpperBoundRule()); } | ||
583 | EOF | ||
584 | ; | ||
585 | |||
586 | // Rule UpperBound | ||
587 | ruleUpperBound | ||
588 | @init { | ||
589 | int stackSize = keepStackSize(); | ||
590 | } | ||
591 | : | ||
592 | ( | ||
593 | { before(grammarAccess.getUpperBoundAccess().getAlternatives()); } | ||
594 | (rule__UpperBound__Alternatives) | ||
595 | { after(grammarAccess.getUpperBoundAccess().getAlternatives()); } | ||
596 | ) | ||
597 | ; | ||
598 | finally { | ||
599 | restoreStackSize(stackSize); | ||
600 | } | ||
601 | |||
602 | // Entry rule entryRuleQuotedOrUnquotedId | ||
603 | entryRuleQuotedOrUnquotedId | ||
604 | : | ||
605 | { before(grammarAccess.getQuotedOrUnquotedIdRule()); } | ||
606 | ruleQuotedOrUnquotedId | ||
607 | { after(grammarAccess.getQuotedOrUnquotedIdRule()); } | ||
608 | EOF | ||
609 | ; | ||
610 | |||
611 | // Rule QuotedOrUnquotedId | ||
612 | ruleQuotedOrUnquotedId | ||
613 | @init { | ||
614 | int stackSize = keepStackSize(); | ||
615 | } | ||
616 | : | ||
617 | ( | ||
618 | { before(grammarAccess.getQuotedOrUnquotedIdAccess().getAlternatives()); } | ||
619 | (rule__QuotedOrUnquotedId__Alternatives) | ||
620 | { after(grammarAccess.getQuotedOrUnquotedIdAccess().getAlternatives()); } | ||
621 | ) | ||
622 | ; | ||
623 | finally { | ||
624 | restoreStackSize(stackSize); | ||
625 | } | ||
626 | |||
627 | // Entry rule entryRuleQualifiedName | ||
628 | entryRuleQualifiedName | ||
629 | : | ||
630 | { before(grammarAccess.getQualifiedNameRule()); } | ||
631 | ruleQualifiedName | ||
632 | { after(grammarAccess.getQualifiedNameRule()); } | ||
633 | EOF | ||
634 | ; | ||
635 | |||
636 | // Rule QualifiedName | ||
637 | ruleQualifiedName | ||
638 | @init { | ||
639 | int stackSize = keepStackSize(); | ||
640 | } | ||
641 | : | ||
642 | ( | ||
643 | { before(grammarAccess.getQualifiedNameAccess().getAlternatives()); } | ||
644 | (rule__QualifiedName__Alternatives) | ||
645 | { after(grammarAccess.getQualifiedNameAccess().getAlternatives()); } | ||
646 | ) | ||
647 | ; | ||
648 | finally { | ||
649 | restoreStackSize(stackSize); | ||
650 | } | ||
651 | |||
652 | // Entry rule entryRuleIdentifier | ||
653 | entryRuleIdentifier | ||
654 | : | ||
655 | { before(grammarAccess.getIdentifierRule()); } | ||
656 | ruleIdentifier | ||
657 | { after(grammarAccess.getIdentifierRule()); } | ||
658 | EOF | ||
659 | ; | ||
660 | |||
661 | // Rule Identifier | ||
662 | ruleIdentifier | ||
663 | @init { | ||
664 | int stackSize = keepStackSize(); | ||
665 | } | ||
666 | : | ||
667 | ( | ||
668 | { before(grammarAccess.getIdentifierAccess().getAlternatives()); } | ||
669 | (rule__Identifier__Alternatives) | ||
670 | { after(grammarAccess.getIdentifierAccess().getAlternatives()); } | ||
671 | ) | ||
672 | ; | ||
673 | finally { | ||
674 | restoreStackSize(stackSize); | ||
675 | } | ||
676 | |||
677 | // Rule LogicValue | ||
678 | ruleLogicValue | ||
679 | @init { | ||
680 | int stackSize = keepStackSize(); | ||
681 | } | ||
682 | : | ||
683 | ( | ||
684 | { before(grammarAccess.getLogicValueAccess().getAlternatives()); } | ||
685 | (rule__LogicValue__Alternatives) | ||
686 | { after(grammarAccess.getLogicValueAccess().getAlternatives()); } | ||
687 | ) | ||
688 | ; | ||
689 | finally { | ||
690 | restoreStackSize(stackSize); | ||
691 | } | ||
692 | |||
693 | // Rule ShortLogicValue | ||
694 | ruleShortLogicValue | ||
695 | @init { | ||
696 | int stackSize = keepStackSize(); | ||
697 | } | ||
698 | : | ||
699 | ( | ||
700 | { before(grammarAccess.getShortLogicValueAccess().getAlternatives()); } | ||
701 | (rule__ShortLogicValue__Alternatives) | ||
702 | { after(grammarAccess.getShortLogicValueAccess().getAlternatives()); } | ||
703 | ) | ||
704 | ; | ||
705 | finally { | ||
706 | restoreStackSize(stackSize); | ||
707 | } | ||
708 | |||
709 | rule__Statement__Alternatives | ||
710 | @init { | ||
711 | int stackSize = keepStackSize(); | ||
712 | } | ||
713 | : | ||
714 | ( | ||
715 | { before(grammarAccess.getStatementAccess().getClassDeclarationParserRuleCall_0()); } | ||
716 | ruleClassDeclaration | ||
717 | { after(grammarAccess.getStatementAccess().getClassDeclarationParserRuleCall_0()); } | ||
718 | ) | ||
719 | | | ||
720 | ( | ||
721 | { before(grammarAccess.getStatementAccess().getEnumDeclarationParserRuleCall_1()); } | ||
722 | ruleEnumDeclaration | ||
723 | { after(grammarAccess.getStatementAccess().getEnumDeclarationParserRuleCall_1()); } | ||
724 | ) | ||
725 | | | ||
726 | ( | ||
727 | { before(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_2()); } | ||
728 | rulePredicateDefinition | ||
729 | { after(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_2()); } | ||
730 | ) | ||
731 | | | ||
732 | ( | ||
733 | { before(grammarAccess.getStatementAccess().getAssertionParserRuleCall_3()); } | ||
734 | ruleAssertion | ||
735 | { after(grammarAccess.getStatementAccess().getAssertionParserRuleCall_3()); } | ||
736 | ) | ||
737 | | | ||
738 | ( | ||
739 | { before(grammarAccess.getStatementAccess().getScopeDeclarationParserRuleCall_4()); } | ||
740 | ruleScopeDeclaration | ||
741 | { after(grammarAccess.getStatementAccess().getScopeDeclarationParserRuleCall_4()); } | ||
742 | ) | ||
743 | ; | ||
744 | finally { | ||
745 | restoreStackSize(stackSize); | ||
746 | } | ||
747 | |||
748 | rule__ClassDeclaration__Alternatives_4 | ||
749 | @init { | ||
750 | int stackSize = keepStackSize(); | ||
751 | } | ||
752 | : | ||
753 | ( | ||
754 | { before(grammarAccess.getClassDeclarationAccess().getGroup_4_0()); } | ||
755 | (rule__ClassDeclaration__Group_4_0__0) | ||
756 | { after(grammarAccess.getClassDeclarationAccess().getGroup_4_0()); } | ||
757 | ) | ||
758 | | | ||
759 | ( | ||
760 | { before(grammarAccess.getClassDeclarationAccess().getFullStopKeyword_4_1()); } | ||
761 | '.' | ||
762 | { after(grammarAccess.getClassDeclarationAccess().getFullStopKeyword_4_1()); } | ||
763 | ) | ||
764 | ; | ||
765 | finally { | ||
766 | restoreStackSize(stackSize); | ||
767 | } | ||
768 | |||
769 | rule__EnumDeclaration__Alternatives_2 | ||
770 | @init { | ||
771 | int stackSize = keepStackSize(); | ||
772 | } | ||
773 | : | ||
774 | ( | ||
775 | { before(grammarAccess.getEnumDeclarationAccess().getGroup_2_0()); } | ||
776 | (rule__EnumDeclaration__Group_2_0__0) | ||
777 | { after(grammarAccess.getEnumDeclarationAccess().getGroup_2_0()); } | ||
778 | ) | ||
779 | | | ||
780 | ( | ||
781 | { before(grammarAccess.getEnumDeclarationAccess().getFullStopKeyword_2_1()); } | ||
782 | '.' | ||
783 | { after(grammarAccess.getEnumDeclarationAccess().getFullStopKeyword_2_1()); } | ||
784 | ) | ||
785 | ; | ||
786 | finally { | ||
787 | restoreStackSize(stackSize); | ||
788 | } | ||
789 | |||
790 | rule__EnumDeclaration__Alternatives_2_0_1_2 | ||
791 | @init { | ||
792 | int stackSize = keepStackSize(); | ||
793 | } | ||
794 | : | ||
795 | ( | ||
796 | { before(grammarAccess.getEnumDeclarationAccess().getCommaKeyword_2_0_1_2_0()); } | ||
797 | ',' | ||
798 | { after(grammarAccess.getEnumDeclarationAccess().getCommaKeyword_2_0_1_2_0()); } | ||
799 | ) | ||
800 | | | ||
801 | ( | ||
802 | { before(grammarAccess.getEnumDeclarationAccess().getSemicolonKeyword_2_0_1_2_1()); } | ||
803 | ';' | ||
804 | { after(grammarAccess.getEnumDeclarationAccess().getSemicolonKeyword_2_0_1_2_1()); } | ||
805 | ) | ||
806 | ; | ||
807 | finally { | ||
808 | restoreStackSize(stackSize); | ||
809 | } | ||
810 | |||
811 | rule__ReferenceDeclaration__Alternatives_0 | ||
812 | @init { | ||
813 | int stackSize = keepStackSize(); | ||
814 | } | ||
815 | : | ||
816 | ( | ||
817 | { before(grammarAccess.getReferenceDeclarationAccess().getContainmentAssignment_0_0()); } | ||
818 | (rule__ReferenceDeclaration__ContainmentAssignment_0_0) | ||
819 | { after(grammarAccess.getReferenceDeclarationAccess().getContainmentAssignment_0_0()); } | ||
820 | ) | ||
821 | | | ||
822 | ( | ||
823 | { before(grammarAccess.getReferenceDeclarationAccess().getRefersKeyword_0_1()); } | ||
824 | 'refers' | ||
825 | { after(grammarAccess.getReferenceDeclarationAccess().getRefersKeyword_0_1()); } | ||
826 | ) | ||
827 | ; | ||
828 | finally { | ||
829 | restoreStackSize(stackSize); | ||
830 | } | ||
831 | |||
832 | rule__PredicateDefinition__Alternatives_0 | ||
833 | @init { | ||
834 | int stackSize = keepStackSize(); | ||
835 | } | ||
836 | : | ||
837 | ( | ||
838 | { before(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0()); } | ||
839 | (rule__PredicateDefinition__Group_0_0__0) | ||
840 | { after(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0()); } | ||
841 | ) | ||
842 | | | ||
843 | ( | ||
844 | { before(grammarAccess.getPredicateDefinitionAccess().getPredKeyword_0_1()); } | ||
845 | 'pred' | ||
846 | { after(grammarAccess.getPredicateDefinitionAccess().getPredKeyword_0_1()); } | ||
847 | ) | ||
848 | ; | ||
849 | finally { | ||
850 | restoreStackSize(stackSize); | ||
851 | } | ||
852 | |||
853 | rule__Literal__Alternatives | ||
854 | @init { | ||
855 | int stackSize = keepStackSize(); | ||
856 | } | ||
857 | : | ||
858 | ( | ||
859 | { before(grammarAccess.getLiteralAccess().getAtomParserRuleCall_0()); } | ||
860 | ruleAtom | ||
861 | { after(grammarAccess.getLiteralAccess().getAtomParserRuleCall_0()); } | ||
862 | ) | ||
863 | | | ||
864 | ( | ||
865 | { before(grammarAccess.getLiteralAccess().getNegativeLiteralParserRuleCall_1()); } | ||
866 | ruleNegativeLiteral | ||
867 | { after(grammarAccess.getLiteralAccess().getNegativeLiteralParserRuleCall_1()); } | ||
868 | ) | ||
869 | ; | ||
870 | finally { | ||
871 | restoreStackSize(stackSize); | ||
872 | } | ||
873 | |||
874 | rule__Assertion__Alternatives_0 | ||
875 | @init { | ||
876 | int stackSize = keepStackSize(); | ||
877 | } | ||
878 | : | ||
879 | ( | ||
880 | { before(grammarAccess.getAssertionAccess().getGroup_0_0()); } | ||
881 | (rule__Assertion__Group_0_0__0) | ||
882 | { after(grammarAccess.getAssertionAccess().getGroup_0_0()); } | ||
883 | ) | ||
884 | | | ||
885 | ( | ||
886 | { before(grammarAccess.getAssertionAccess().getGroup_0_1()); } | ||
887 | (rule__Assertion__Group_0_1__0) | ||
888 | { after(grammarAccess.getAssertionAccess().getGroup_0_1()); } | ||
889 | ) | ||
890 | ; | ||
891 | finally { | ||
892 | restoreStackSize(stackSize); | ||
893 | } | ||
894 | |||
895 | rule__TypeScope__Alternatives_1 | ||
896 | @init { | ||
897 | int stackSize = keepStackSize(); | ||
898 | } | ||
899 | : | ||
900 | ( | ||
901 | { before(grammarAccess.getTypeScopeAccess().getIncrementAssignment_1_0()); } | ||
902 | (rule__TypeScope__IncrementAssignment_1_0) | ||
903 | { after(grammarAccess.getTypeScopeAccess().getIncrementAssignment_1_0()); } | ||
904 | ) | ||
905 | | | ||
906 | ( | ||
907 | { before(grammarAccess.getTypeScopeAccess().getEqualsSignKeyword_1_1()); } | ||
908 | '=' | ||
909 | { after(grammarAccess.getTypeScopeAccess().getEqualsSignKeyword_1_1()); } | ||
910 | ) | ||
911 | ; | ||
912 | finally { | ||
913 | restoreStackSize(stackSize); | ||
914 | } | ||
915 | |||
916 | rule__Multiplicity__Alternatives | ||
917 | @init { | ||
918 | int stackSize = keepStackSize(); | ||
919 | } | ||
920 | : | ||
921 | ( | ||
922 | { before(grammarAccess.getMultiplicityAccess().getUnboundedMultiplicityParserRuleCall_0()); } | ||
923 | ruleUnboundedMultiplicity | ||
924 | { after(grammarAccess.getMultiplicityAccess().getUnboundedMultiplicityParserRuleCall_0()); } | ||
925 | ) | ||
926 | | | ||
927 | ( | ||
928 | { before(grammarAccess.getMultiplicityAccess().getDefiniteMultiplicityParserRuleCall_1()); } | ||
929 | ruleDefiniteMultiplicity | ||
930 | { after(grammarAccess.getMultiplicityAccess().getDefiniteMultiplicityParserRuleCall_1()); } | ||
931 | ) | ||
932 | ; | ||
933 | finally { | ||
934 | restoreStackSize(stackSize); | ||
935 | } | ||
936 | |||
937 | rule__DefiniteMultiplicity__Alternatives | ||
938 | @init { | ||
939 | int stackSize = keepStackSize(); | ||
940 | } | ||
941 | : | ||
942 | ( | ||
943 | { before(grammarAccess.getDefiniteMultiplicityAccess().getRangeMultiplicityParserRuleCall_0()); } | ||
944 | ruleRangeMultiplicity | ||
945 | { after(grammarAccess.getDefiniteMultiplicityAccess().getRangeMultiplicityParserRuleCall_0()); } | ||
946 | ) | ||
947 | | | ||
948 | ( | ||
949 | { before(grammarAccess.getDefiniteMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); } | ||
950 | ruleExactMultiplicity | ||
951 | { after(grammarAccess.getDefiniteMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); } | ||
952 | ) | ||
953 | ; | ||
954 | finally { | ||
955 | restoreStackSize(stackSize); | ||
956 | } | ||
957 | |||
958 | rule__UpperBound__Alternatives | ||
959 | @init { | ||
960 | int stackSize = keepStackSize(); | ||
961 | } | ||
962 | : | ||
963 | ( | ||
964 | { before(grammarAccess.getUpperBoundAccess().getINTTerminalRuleCall_0()); } | ||
965 | RULE_INT | ||
966 | { after(grammarAccess.getUpperBoundAccess().getINTTerminalRuleCall_0()); } | ||
967 | ) | ||
968 | | | ||
969 | ( | ||
970 | { before(grammarAccess.getUpperBoundAccess().getAsteriskKeyword_1()); } | ||
971 | '*' | ||
972 | { after(grammarAccess.getUpperBoundAccess().getAsteriskKeyword_1()); } | ||
973 | ) | ||
974 | ; | ||
975 | finally { | ||
976 | restoreStackSize(stackSize); | ||
977 | } | ||
978 | |||
979 | rule__QuotedOrUnquotedId__Alternatives | ||
980 | @init { | ||
981 | int stackSize = keepStackSize(); | ||
982 | } | ||
983 | : | ||
984 | ( | ||
985 | { before(grammarAccess.getQuotedOrUnquotedIdAccess().getQUOTED_IDTerminalRuleCall_0()); } | ||
986 | RULE_QUOTED_ID | ||
987 | { after(grammarAccess.getQuotedOrUnquotedIdAccess().getQUOTED_IDTerminalRuleCall_0()); } | ||
988 | ) | ||
989 | | | ||
990 | ( | ||
991 | { before(grammarAccess.getQuotedOrUnquotedIdAccess().getIdentifierParserRuleCall_1()); } | ||
992 | ruleIdentifier | ||
993 | { after(grammarAccess.getQuotedOrUnquotedIdAccess().getIdentifierParserRuleCall_1()); } | ||
994 | ) | ||
995 | ; | ||
996 | finally { | ||
997 | restoreStackSize(stackSize); | ||
998 | } | ||
999 | |||
1000 | rule__QualifiedName__Alternatives | ||
1001 | @init { | ||
1002 | int stackSize = keepStackSize(); | ||
1003 | } | ||
1004 | : | ||
1005 | ( | ||
1006 | { before(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_0()); } | ||
1007 | RULE_QUOTED_ID | ||
1008 | { after(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_0()); } | ||
1009 | ) | ||
1010 | | | ||
1011 | ( | ||
1012 | { before(grammarAccess.getQualifiedNameAccess().getGroup_1()); } | ||
1013 | (rule__QualifiedName__Group_1__0) | ||
1014 | { after(grammarAccess.getQualifiedNameAccess().getGroup_1()); } | ||
1015 | ) | ||
1016 | ; | ||
1017 | finally { | ||
1018 | restoreStackSize(stackSize); | ||
1019 | } | ||
1020 | |||
1021 | rule__Identifier__Alternatives | ||
1022 | @init { | ||
1023 | int stackSize = keepStackSize(); | ||
1024 | } | ||
1025 | : | ||
1026 | ( | ||
1027 | { before(grammarAccess.getIdentifierAccess().getIDTerminalRuleCall_0()); } | ||
1028 | RULE_ID | ||
1029 | { after(grammarAccess.getIdentifierAccess().getIDTerminalRuleCall_0()); } | ||
1030 | ) | ||
1031 | | | ||
1032 | ( | ||
1033 | { before(grammarAccess.getIdentifierAccess().getTrueKeyword_1()); } | ||
1034 | 'true' | ||
1035 | { after(grammarAccess.getIdentifierAccess().getTrueKeyword_1()); } | ||
1036 | ) | ||
1037 | | | ||
1038 | ( | ||
1039 | { before(grammarAccess.getIdentifierAccess().getFalseKeyword_2()); } | ||
1040 | 'false' | ||
1041 | { after(grammarAccess.getIdentifierAccess().getFalseKeyword_2()); } | ||
1042 | ) | ||
1043 | ; | ||
1044 | finally { | ||
1045 | restoreStackSize(stackSize); | ||
1046 | } | ||
1047 | |||
1048 | rule__LogicValue__Alternatives | ||
1049 | @init { | ||
1050 | int stackSize = keepStackSize(); | ||
1051 | } | ||
1052 | : | ||
1053 | ( | ||
1054 | { before(grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0()); } | ||
1055 | ('true') | ||
1056 | { after(grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0()); } | ||
1057 | ) | ||
1058 | | | ||
1059 | ( | ||
1060 | { before(grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1()); } | ||
1061 | ('false') | ||
1062 | { after(grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1()); } | ||
1063 | ) | ||
1064 | | | ||
1065 | ( | ||
1066 | { before(grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2()); } | ||
1067 | ('unknown') | ||
1068 | { after(grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2()); } | ||
1069 | ) | ||
1070 | ; | ||
1071 | finally { | ||
1072 | restoreStackSize(stackSize); | ||
1073 | } | ||
1074 | |||
1075 | rule__ShortLogicValue__Alternatives | ||
1076 | @init { | ||
1077 | int stackSize = keepStackSize(); | ||
1078 | } | ||
1079 | : | ||
1080 | ( | ||
1081 | { before(grammarAccess.getShortLogicValueAccess().getFALSEEnumLiteralDeclaration_0()); } | ||
1082 | ('!') | ||
1083 | { after(grammarAccess.getShortLogicValueAccess().getFALSEEnumLiteralDeclaration_0()); } | ||
1084 | ) | ||
1085 | | | ||
1086 | ( | ||
1087 | { before(grammarAccess.getShortLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_1()); } | ||
1088 | ('?') | ||
1089 | { after(grammarAccess.getShortLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_1()); } | ||
1090 | ) | ||
1091 | ; | ||
1092 | finally { | ||
1093 | restoreStackSize(stackSize); | ||
1094 | } | ||
1095 | |||
1096 | rule__Problem__Group__0 | ||
1097 | @init { | ||
1098 | int stackSize = keepStackSize(); | ||
1099 | } | ||
1100 | : | ||
1101 | rule__Problem__Group__0__Impl | ||
1102 | rule__Problem__Group__1 | ||
1103 | ; | ||
1104 | finally { | ||
1105 | restoreStackSize(stackSize); | ||
1106 | } | ||
1107 | |||
1108 | rule__Problem__Group__0__Impl | ||
1109 | @init { | ||
1110 | int stackSize = keepStackSize(); | ||
1111 | } | ||
1112 | : | ||
1113 | ( | ||
1114 | { before(grammarAccess.getProblemAccess().getGroup_0()); } | ||
1115 | (rule__Problem__Group_0__0)? | ||
1116 | { after(grammarAccess.getProblemAccess().getGroup_0()); } | ||
1117 | ) | ||
1118 | ; | ||
1119 | finally { | ||
1120 | restoreStackSize(stackSize); | ||
1121 | } | ||
1122 | |||
1123 | rule__Problem__Group__1 | ||
1124 | @init { | ||
1125 | int stackSize = keepStackSize(); | ||
1126 | } | ||
1127 | : | ||
1128 | rule__Problem__Group__1__Impl | ||
1129 | ; | ||
1130 | finally { | ||
1131 | restoreStackSize(stackSize); | ||
1132 | } | ||
1133 | |||
1134 | rule__Problem__Group__1__Impl | ||
1135 | @init { | ||
1136 | int stackSize = keepStackSize(); | ||
1137 | } | ||
1138 | : | ||
1139 | ( | ||
1140 | { before(grammarAccess.getProblemAccess().getStatementsAssignment_1()); } | ||
1141 | (rule__Problem__StatementsAssignment_1)* | ||
1142 | { after(grammarAccess.getProblemAccess().getStatementsAssignment_1()); } | ||
1143 | ) | ||
1144 | ; | ||
1145 | finally { | ||
1146 | restoreStackSize(stackSize); | ||
1147 | } | ||
1148 | |||
1149 | |||
1150 | rule__Problem__Group_0__0 | ||
1151 | @init { | ||
1152 | int stackSize = keepStackSize(); | ||
1153 | } | ||
1154 | : | ||
1155 | rule__Problem__Group_0__0__Impl | ||
1156 | rule__Problem__Group_0__1 | ||
1157 | ; | ||
1158 | finally { | ||
1159 | restoreStackSize(stackSize); | ||
1160 | } | ||
1161 | |||
1162 | rule__Problem__Group_0__0__Impl | ||
1163 | @init { | ||
1164 | int stackSize = keepStackSize(); | ||
1165 | } | ||
1166 | : | ||
1167 | ( | ||
1168 | { before(grammarAccess.getProblemAccess().getProblemKeyword_0_0()); } | ||
1169 | 'problem' | ||
1170 | { after(grammarAccess.getProblemAccess().getProblemKeyword_0_0()); } | ||
1171 | ) | ||
1172 | ; | ||
1173 | finally { | ||
1174 | restoreStackSize(stackSize); | ||
1175 | } | ||
1176 | |||
1177 | rule__Problem__Group_0__1 | ||
1178 | @init { | ||
1179 | int stackSize = keepStackSize(); | ||
1180 | } | ||
1181 | : | ||
1182 | rule__Problem__Group_0__1__Impl | ||
1183 | rule__Problem__Group_0__2 | ||
1184 | ; | ||
1185 | finally { | ||
1186 | restoreStackSize(stackSize); | ||
1187 | } | ||
1188 | |||
1189 | rule__Problem__Group_0__1__Impl | ||
1190 | @init { | ||
1191 | int stackSize = keepStackSize(); | ||
1192 | } | ||
1193 | : | ||
1194 | ( | ||
1195 | { before(grammarAccess.getProblemAccess().getNameAssignment_0_1()); } | ||
1196 | (rule__Problem__NameAssignment_0_1) | ||
1197 | { after(grammarAccess.getProblemAccess().getNameAssignment_0_1()); } | ||
1198 | ) | ||
1199 | ; | ||
1200 | finally { | ||
1201 | restoreStackSize(stackSize); | ||
1202 | } | ||
1203 | |||
1204 | rule__Problem__Group_0__2 | ||
1205 | @init { | ||
1206 | int stackSize = keepStackSize(); | ||
1207 | } | ||
1208 | : | ||
1209 | rule__Problem__Group_0__2__Impl | ||
1210 | ; | ||
1211 | finally { | ||
1212 | restoreStackSize(stackSize); | ||
1213 | } | ||
1214 | |||
1215 | rule__Problem__Group_0__2__Impl | ||
1216 | @init { | ||
1217 | int stackSize = keepStackSize(); | ||
1218 | } | ||
1219 | : | ||
1220 | ( | ||
1221 | { before(grammarAccess.getProblemAccess().getFullStopKeyword_0_2()); } | ||
1222 | '.' | ||
1223 | { after(grammarAccess.getProblemAccess().getFullStopKeyword_0_2()); } | ||
1224 | ) | ||
1225 | ; | ||
1226 | finally { | ||
1227 | restoreStackSize(stackSize); | ||
1228 | } | ||
1229 | |||
1230 | |||
1231 | rule__ClassDeclaration__Group__0 | ||
1232 | @init { | ||
1233 | int stackSize = keepStackSize(); | ||
1234 | } | ||
1235 | : | ||
1236 | rule__ClassDeclaration__Group__0__Impl | ||
1237 | rule__ClassDeclaration__Group__1 | ||
1238 | ; | ||
1239 | finally { | ||
1240 | restoreStackSize(stackSize); | ||
1241 | } | ||
1242 | |||
1243 | rule__ClassDeclaration__Group__0__Impl | ||
1244 | @init { | ||
1245 | int stackSize = keepStackSize(); | ||
1246 | } | ||
1247 | : | ||
1248 | ( | ||
1249 | { before(grammarAccess.getClassDeclarationAccess().getAbstractAssignment_0()); } | ||
1250 | (rule__ClassDeclaration__AbstractAssignment_0)? | ||
1251 | { after(grammarAccess.getClassDeclarationAccess().getAbstractAssignment_0()); } | ||
1252 | ) | ||
1253 | ; | ||
1254 | finally { | ||
1255 | restoreStackSize(stackSize); | ||
1256 | } | ||
1257 | |||
1258 | rule__ClassDeclaration__Group__1 | ||
1259 | @init { | ||
1260 | int stackSize = keepStackSize(); | ||
1261 | } | ||
1262 | : | ||
1263 | rule__ClassDeclaration__Group__1__Impl | ||
1264 | rule__ClassDeclaration__Group__2 | ||
1265 | ; | ||
1266 | finally { | ||
1267 | restoreStackSize(stackSize); | ||
1268 | } | ||
1269 | |||
1270 | rule__ClassDeclaration__Group__1__Impl | ||
1271 | @init { | ||
1272 | int stackSize = keepStackSize(); | ||
1273 | } | ||
1274 | : | ||
1275 | ( | ||
1276 | { before(grammarAccess.getClassDeclarationAccess().getClassKeyword_1()); } | ||
1277 | 'class' | ||
1278 | { after(grammarAccess.getClassDeclarationAccess().getClassKeyword_1()); } | ||
1279 | ) | ||
1280 | ; | ||
1281 | finally { | ||
1282 | restoreStackSize(stackSize); | ||
1283 | } | ||
1284 | |||
1285 | rule__ClassDeclaration__Group__2 | ||
1286 | @init { | ||
1287 | int stackSize = keepStackSize(); | ||
1288 | } | ||
1289 | : | ||
1290 | rule__ClassDeclaration__Group__2__Impl | ||
1291 | rule__ClassDeclaration__Group__3 | ||
1292 | ; | ||
1293 | finally { | ||
1294 | restoreStackSize(stackSize); | ||
1295 | } | ||
1296 | |||
1297 | rule__ClassDeclaration__Group__2__Impl | ||
1298 | @init { | ||
1299 | int stackSize = keepStackSize(); | ||
1300 | } | ||
1301 | : | ||
1302 | ( | ||
1303 | { before(grammarAccess.getClassDeclarationAccess().getNameAssignment_2()); } | ||
1304 | (rule__ClassDeclaration__NameAssignment_2) | ||
1305 | { after(grammarAccess.getClassDeclarationAccess().getNameAssignment_2()); } | ||
1306 | ) | ||
1307 | ; | ||
1308 | finally { | ||
1309 | restoreStackSize(stackSize); | ||
1310 | } | ||
1311 | |||
1312 | rule__ClassDeclaration__Group__3 | ||
1313 | @init { | ||
1314 | int stackSize = keepStackSize(); | ||
1315 | } | ||
1316 | : | ||
1317 | rule__ClassDeclaration__Group__3__Impl | ||
1318 | rule__ClassDeclaration__Group__4 | ||
1319 | ; | ||
1320 | finally { | ||
1321 | restoreStackSize(stackSize); | ||
1322 | } | ||
1323 | |||
1324 | rule__ClassDeclaration__Group__3__Impl | ||
1325 | @init { | ||
1326 | int stackSize = keepStackSize(); | ||
1327 | } | ||
1328 | : | ||
1329 | ( | ||
1330 | { before(grammarAccess.getClassDeclarationAccess().getGroup_3()); } | ||
1331 | (rule__ClassDeclaration__Group_3__0)? | ||
1332 | { after(grammarAccess.getClassDeclarationAccess().getGroup_3()); } | ||
1333 | ) | ||
1334 | ; | ||
1335 | finally { | ||
1336 | restoreStackSize(stackSize); | ||
1337 | } | ||
1338 | |||
1339 | rule__ClassDeclaration__Group__4 | ||
1340 | @init { | ||
1341 | int stackSize = keepStackSize(); | ||
1342 | } | ||
1343 | : | ||
1344 | rule__ClassDeclaration__Group__4__Impl | ||
1345 | ; | ||
1346 | finally { | ||
1347 | restoreStackSize(stackSize); | ||
1348 | } | ||
1349 | |||
1350 | rule__ClassDeclaration__Group__4__Impl | ||
1351 | @init { | ||
1352 | int stackSize = keepStackSize(); | ||
1353 | } | ||
1354 | : | ||
1355 | ( | ||
1356 | { before(grammarAccess.getClassDeclarationAccess().getAlternatives_4()); } | ||
1357 | (rule__ClassDeclaration__Alternatives_4) | ||
1358 | { after(grammarAccess.getClassDeclarationAccess().getAlternatives_4()); } | ||
1359 | ) | ||
1360 | ; | ||
1361 | finally { | ||
1362 | restoreStackSize(stackSize); | ||
1363 | } | ||
1364 | |||
1365 | |||
1366 | rule__ClassDeclaration__Group_3__0 | ||
1367 | @init { | ||
1368 | int stackSize = keepStackSize(); | ||
1369 | } | ||
1370 | : | ||
1371 | rule__ClassDeclaration__Group_3__0__Impl | ||
1372 | rule__ClassDeclaration__Group_3__1 | ||
1373 | ; | ||
1374 | finally { | ||
1375 | restoreStackSize(stackSize); | ||
1376 | } | ||
1377 | |||
1378 | rule__ClassDeclaration__Group_3__0__Impl | ||
1379 | @init { | ||
1380 | int stackSize = keepStackSize(); | ||
1381 | } | ||
1382 | : | ||
1383 | ( | ||
1384 | { before(grammarAccess.getClassDeclarationAccess().getExtendsKeyword_3_0()); } | ||
1385 | 'extends' | ||
1386 | { after(grammarAccess.getClassDeclarationAccess().getExtendsKeyword_3_0()); } | ||
1387 | ) | ||
1388 | ; | ||
1389 | finally { | ||
1390 | restoreStackSize(stackSize); | ||
1391 | } | ||
1392 | |||
1393 | rule__ClassDeclaration__Group_3__1 | ||
1394 | @init { | ||
1395 | int stackSize = keepStackSize(); | ||
1396 | } | ||
1397 | : | ||
1398 | rule__ClassDeclaration__Group_3__1__Impl | ||
1399 | rule__ClassDeclaration__Group_3__2 | ||
1400 | ; | ||
1401 | finally { | ||
1402 | restoreStackSize(stackSize); | ||
1403 | } | ||
1404 | |||
1405 | rule__ClassDeclaration__Group_3__1__Impl | ||
1406 | @init { | ||
1407 | int stackSize = keepStackSize(); | ||
1408 | } | ||
1409 | : | ||
1410 | ( | ||
1411 | { before(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_1()); } | ||
1412 | (rule__ClassDeclaration__SuperTypesAssignment_3_1) | ||
1413 | { after(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_1()); } | ||
1414 | ) | ||
1415 | ; | ||
1416 | finally { | ||
1417 | restoreStackSize(stackSize); | ||
1418 | } | ||
1419 | |||
1420 | rule__ClassDeclaration__Group_3__2 | ||
1421 | @init { | ||
1422 | int stackSize = keepStackSize(); | ||
1423 | } | ||
1424 | : | ||
1425 | rule__ClassDeclaration__Group_3__2__Impl | ||
1426 | ; | ||
1427 | finally { | ||
1428 | restoreStackSize(stackSize); | ||
1429 | } | ||
1430 | |||
1431 | rule__ClassDeclaration__Group_3__2__Impl | ||
1432 | @init { | ||
1433 | int stackSize = keepStackSize(); | ||
1434 | } | ||
1435 | : | ||
1436 | ( | ||
1437 | { before(grammarAccess.getClassDeclarationAccess().getGroup_3_2()); } | ||
1438 | (rule__ClassDeclaration__Group_3_2__0)* | ||
1439 | { after(grammarAccess.getClassDeclarationAccess().getGroup_3_2()); } | ||
1440 | ) | ||
1441 | ; | ||
1442 | finally { | ||
1443 | restoreStackSize(stackSize); | ||
1444 | } | ||
1445 | |||
1446 | |||
1447 | rule__ClassDeclaration__Group_3_2__0 | ||
1448 | @init { | ||
1449 | int stackSize = keepStackSize(); | ||
1450 | } | ||
1451 | : | ||
1452 | rule__ClassDeclaration__Group_3_2__0__Impl | ||
1453 | rule__ClassDeclaration__Group_3_2__1 | ||
1454 | ; | ||
1455 | finally { | ||
1456 | restoreStackSize(stackSize); | ||
1457 | } | ||
1458 | |||
1459 | rule__ClassDeclaration__Group_3_2__0__Impl | ||
1460 | @init { | ||
1461 | int stackSize = keepStackSize(); | ||
1462 | } | ||
1463 | : | ||
1464 | ( | ||
1465 | { before(grammarAccess.getClassDeclarationAccess().getCommaKeyword_3_2_0()); } | ||
1466 | ',' | ||
1467 | { after(grammarAccess.getClassDeclarationAccess().getCommaKeyword_3_2_0()); } | ||
1468 | ) | ||
1469 | ; | ||
1470 | finally { | ||
1471 | restoreStackSize(stackSize); | ||
1472 | } | ||
1473 | |||
1474 | rule__ClassDeclaration__Group_3_2__1 | ||
1475 | @init { | ||
1476 | int stackSize = keepStackSize(); | ||
1477 | } | ||
1478 | : | ||
1479 | rule__ClassDeclaration__Group_3_2__1__Impl | ||
1480 | ; | ||
1481 | finally { | ||
1482 | restoreStackSize(stackSize); | ||
1483 | } | ||
1484 | |||
1485 | rule__ClassDeclaration__Group_3_2__1__Impl | ||
1486 | @init { | ||
1487 | int stackSize = keepStackSize(); | ||
1488 | } | ||
1489 | : | ||
1490 | ( | ||
1491 | { before(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_2_1()); } | ||
1492 | (rule__ClassDeclaration__SuperTypesAssignment_3_2_1) | ||
1493 | { after(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_2_1()); } | ||
1494 | ) | ||
1495 | ; | ||
1496 | finally { | ||
1497 | restoreStackSize(stackSize); | ||
1498 | } | ||
1499 | |||
1500 | |||
1501 | rule__ClassDeclaration__Group_4_0__0 | ||
1502 | @init { | ||
1503 | int stackSize = keepStackSize(); | ||
1504 | } | ||
1505 | : | ||
1506 | rule__ClassDeclaration__Group_4_0__0__Impl | ||
1507 | rule__ClassDeclaration__Group_4_0__1 | ||
1508 | ; | ||
1509 | finally { | ||
1510 | restoreStackSize(stackSize); | ||
1511 | } | ||
1512 | |||
1513 | rule__ClassDeclaration__Group_4_0__0__Impl | ||
1514 | @init { | ||
1515 | int stackSize = keepStackSize(); | ||
1516 | } | ||
1517 | : | ||
1518 | ( | ||
1519 | { before(grammarAccess.getClassDeclarationAccess().getLeftCurlyBracketKeyword_4_0_0()); } | ||
1520 | '{' | ||
1521 | { after(grammarAccess.getClassDeclarationAccess().getLeftCurlyBracketKeyword_4_0_0()); } | ||
1522 | ) | ||
1523 | ; | ||
1524 | finally { | ||
1525 | restoreStackSize(stackSize); | ||
1526 | } | ||
1527 | |||
1528 | rule__ClassDeclaration__Group_4_0__1 | ||
1529 | @init { | ||
1530 | int stackSize = keepStackSize(); | ||
1531 | } | ||
1532 | : | ||
1533 | rule__ClassDeclaration__Group_4_0__1__Impl | ||
1534 | rule__ClassDeclaration__Group_4_0__2 | ||
1535 | ; | ||
1536 | finally { | ||
1537 | restoreStackSize(stackSize); | ||
1538 | } | ||
1539 | |||
1540 | rule__ClassDeclaration__Group_4_0__1__Impl | ||
1541 | @init { | ||
1542 | int stackSize = keepStackSize(); | ||
1543 | } | ||
1544 | : | ||
1545 | ( | ||
1546 | { before(grammarAccess.getClassDeclarationAccess().getGroup_4_0_1()); } | ||
1547 | (rule__ClassDeclaration__Group_4_0_1__0)* | ||
1548 | { after(grammarAccess.getClassDeclarationAccess().getGroup_4_0_1()); } | ||
1549 | ) | ||
1550 | ; | ||
1551 | finally { | ||
1552 | restoreStackSize(stackSize); | ||
1553 | } | ||
1554 | |||
1555 | rule__ClassDeclaration__Group_4_0__2 | ||
1556 | @init { | ||
1557 | int stackSize = keepStackSize(); | ||
1558 | } | ||
1559 | : | ||
1560 | rule__ClassDeclaration__Group_4_0__2__Impl | ||
1561 | ; | ||
1562 | finally { | ||
1563 | restoreStackSize(stackSize); | ||
1564 | } | ||
1565 | |||
1566 | rule__ClassDeclaration__Group_4_0__2__Impl | ||
1567 | @init { | ||
1568 | int stackSize = keepStackSize(); | ||
1569 | } | ||
1570 | : | ||
1571 | ( | ||
1572 | { before(grammarAccess.getClassDeclarationAccess().getRightCurlyBracketKeyword_4_0_2()); } | ||
1573 | '}' | ||
1574 | { after(grammarAccess.getClassDeclarationAccess().getRightCurlyBracketKeyword_4_0_2()); } | ||
1575 | ) | ||
1576 | ; | ||
1577 | finally { | ||
1578 | restoreStackSize(stackSize); | ||
1579 | } | ||
1580 | |||
1581 | |||
1582 | rule__ClassDeclaration__Group_4_0_1__0 | ||
1583 | @init { | ||
1584 | int stackSize = keepStackSize(); | ||
1585 | } | ||
1586 | : | ||
1587 | rule__ClassDeclaration__Group_4_0_1__0__Impl | ||
1588 | rule__ClassDeclaration__Group_4_0_1__1 | ||
1589 | ; | ||
1590 | finally { | ||
1591 | restoreStackSize(stackSize); | ||
1592 | } | ||
1593 | |||
1594 | rule__ClassDeclaration__Group_4_0_1__0__Impl | ||
1595 | @init { | ||
1596 | int stackSize = keepStackSize(); | ||
1597 | } | ||
1598 | : | ||
1599 | ( | ||
1600 | { before(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsAssignment_4_0_1_0()); } | ||
1601 | (rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0) | ||
1602 | { after(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsAssignment_4_0_1_0()); } | ||
1603 | ) | ||
1604 | ; | ||
1605 | finally { | ||
1606 | restoreStackSize(stackSize); | ||
1607 | } | ||
1608 | |||
1609 | rule__ClassDeclaration__Group_4_0_1__1 | ||
1610 | @init { | ||
1611 | int stackSize = keepStackSize(); | ||
1612 | } | ||
1613 | : | ||
1614 | rule__ClassDeclaration__Group_4_0_1__1__Impl | ||
1615 | ; | ||
1616 | finally { | ||
1617 | restoreStackSize(stackSize); | ||
1618 | } | ||
1619 | |||
1620 | rule__ClassDeclaration__Group_4_0_1__1__Impl | ||
1621 | @init { | ||
1622 | int stackSize = keepStackSize(); | ||
1623 | } | ||
1624 | : | ||
1625 | ( | ||
1626 | { before(grammarAccess.getClassDeclarationAccess().getSemicolonKeyword_4_0_1_1()); } | ||
1627 | (';')? | ||
1628 | { after(grammarAccess.getClassDeclarationAccess().getSemicolonKeyword_4_0_1_1()); } | ||
1629 | ) | ||
1630 | ; | ||
1631 | finally { | ||
1632 | restoreStackSize(stackSize); | ||
1633 | } | ||
1634 | |||
1635 | |||
1636 | rule__EnumDeclaration__Group__0 | ||
1637 | @init { | ||
1638 | int stackSize = keepStackSize(); | ||
1639 | } | ||
1640 | : | ||
1641 | rule__EnumDeclaration__Group__0__Impl | ||
1642 | rule__EnumDeclaration__Group__1 | ||
1643 | ; | ||
1644 | finally { | ||
1645 | restoreStackSize(stackSize); | ||
1646 | } | ||
1647 | |||
1648 | rule__EnumDeclaration__Group__0__Impl | ||
1649 | @init { | ||
1650 | int stackSize = keepStackSize(); | ||
1651 | } | ||
1652 | : | ||
1653 | ( | ||
1654 | { before(grammarAccess.getEnumDeclarationAccess().getEnumKeyword_0()); } | ||
1655 | 'enum' | ||
1656 | { after(grammarAccess.getEnumDeclarationAccess().getEnumKeyword_0()); } | ||
1657 | ) | ||
1658 | ; | ||
1659 | finally { | ||
1660 | restoreStackSize(stackSize); | ||
1661 | } | ||
1662 | |||
1663 | rule__EnumDeclaration__Group__1 | ||
1664 | @init { | ||
1665 | int stackSize = keepStackSize(); | ||
1666 | } | ||
1667 | : | ||
1668 | rule__EnumDeclaration__Group__1__Impl | ||
1669 | rule__EnumDeclaration__Group__2 | ||
1670 | ; | ||
1671 | finally { | ||
1672 | restoreStackSize(stackSize); | ||
1673 | } | ||
1674 | |||
1675 | rule__EnumDeclaration__Group__1__Impl | ||
1676 | @init { | ||
1677 | int stackSize = keepStackSize(); | ||
1678 | } | ||
1679 | : | ||
1680 | ( | ||
1681 | { before(grammarAccess.getEnumDeclarationAccess().getNameAssignment_1()); } | ||
1682 | (rule__EnumDeclaration__NameAssignment_1) | ||
1683 | { after(grammarAccess.getEnumDeclarationAccess().getNameAssignment_1()); } | ||
1684 | ) | ||
1685 | ; | ||
1686 | finally { | ||
1687 | restoreStackSize(stackSize); | ||
1688 | } | ||
1689 | |||
1690 | rule__EnumDeclaration__Group__2 | ||
1691 | @init { | ||
1692 | int stackSize = keepStackSize(); | ||
1693 | } | ||
1694 | : | ||
1695 | rule__EnumDeclaration__Group__2__Impl | ||
1696 | ; | ||
1697 | finally { | ||
1698 | restoreStackSize(stackSize); | ||
1699 | } | ||
1700 | |||
1701 | rule__EnumDeclaration__Group__2__Impl | ||
1702 | @init { | ||
1703 | int stackSize = keepStackSize(); | ||
1704 | } | ||
1705 | : | ||
1706 | ( | ||
1707 | { before(grammarAccess.getEnumDeclarationAccess().getAlternatives_2()); } | ||
1708 | (rule__EnumDeclaration__Alternatives_2) | ||
1709 | { after(grammarAccess.getEnumDeclarationAccess().getAlternatives_2()); } | ||
1710 | ) | ||
1711 | ; | ||
1712 | finally { | ||
1713 | restoreStackSize(stackSize); | ||
1714 | } | ||
1715 | |||
1716 | |||
1717 | rule__EnumDeclaration__Group_2_0__0 | ||
1718 | @init { | ||
1719 | int stackSize = keepStackSize(); | ||
1720 | } | ||
1721 | : | ||
1722 | rule__EnumDeclaration__Group_2_0__0__Impl | ||
1723 | rule__EnumDeclaration__Group_2_0__1 | ||
1724 | ; | ||
1725 | finally { | ||
1726 | restoreStackSize(stackSize); | ||
1727 | } | ||
1728 | |||
1729 | rule__EnumDeclaration__Group_2_0__0__Impl | ||
1730 | @init { | ||
1731 | int stackSize = keepStackSize(); | ||
1732 | } | ||
1733 | : | ||
1734 | ( | ||
1735 | { before(grammarAccess.getEnumDeclarationAccess().getLeftCurlyBracketKeyword_2_0_0()); } | ||
1736 | '{' | ||
1737 | { after(grammarAccess.getEnumDeclarationAccess().getLeftCurlyBracketKeyword_2_0_0()); } | ||
1738 | ) | ||
1739 | ; | ||
1740 | finally { | ||
1741 | restoreStackSize(stackSize); | ||
1742 | } | ||
1743 | |||
1744 | rule__EnumDeclaration__Group_2_0__1 | ||
1745 | @init { | ||
1746 | int stackSize = keepStackSize(); | ||
1747 | } | ||
1748 | : | ||
1749 | rule__EnumDeclaration__Group_2_0__1__Impl | ||
1750 | rule__EnumDeclaration__Group_2_0__2 | ||
1751 | ; | ||
1752 | finally { | ||
1753 | restoreStackSize(stackSize); | ||
1754 | } | ||
1755 | |||
1756 | rule__EnumDeclaration__Group_2_0__1__Impl | ||
1757 | @init { | ||
1758 | int stackSize = keepStackSize(); | ||
1759 | } | ||
1760 | : | ||
1761 | ( | ||
1762 | { before(grammarAccess.getEnumDeclarationAccess().getGroup_2_0_1()); } | ||
1763 | (rule__EnumDeclaration__Group_2_0_1__0)? | ||
1764 | { after(grammarAccess.getEnumDeclarationAccess().getGroup_2_0_1()); } | ||
1765 | ) | ||
1766 | ; | ||
1767 | finally { | ||
1768 | restoreStackSize(stackSize); | ||
1769 | } | ||
1770 | |||
1771 | rule__EnumDeclaration__Group_2_0__2 | ||
1772 | @init { | ||
1773 | int stackSize = keepStackSize(); | ||
1774 | } | ||
1775 | : | ||
1776 | rule__EnumDeclaration__Group_2_0__2__Impl | ||
1777 | ; | ||
1778 | finally { | ||
1779 | restoreStackSize(stackSize); | ||
1780 | } | ||
1781 | |||
1782 | rule__EnumDeclaration__Group_2_0__2__Impl | ||
1783 | @init { | ||
1784 | int stackSize = keepStackSize(); | ||
1785 | } | ||
1786 | : | ||
1787 | ( | ||
1788 | { before(grammarAccess.getEnumDeclarationAccess().getRightCurlyBracketKeyword_2_0_2()); } | ||
1789 | '}' | ||
1790 | { after(grammarAccess.getEnumDeclarationAccess().getRightCurlyBracketKeyword_2_0_2()); } | ||
1791 | ) | ||
1792 | ; | ||
1793 | finally { | ||
1794 | restoreStackSize(stackSize); | ||
1795 | } | ||
1796 | |||
1797 | |||
1798 | rule__EnumDeclaration__Group_2_0_1__0 | ||
1799 | @init { | ||
1800 | int stackSize = keepStackSize(); | ||
1801 | } | ||
1802 | : | ||
1803 | rule__EnumDeclaration__Group_2_0_1__0__Impl | ||
1804 | rule__EnumDeclaration__Group_2_0_1__1 | ||
1805 | ; | ||
1806 | finally { | ||
1807 | restoreStackSize(stackSize); | ||
1808 | } | ||
1809 | |||
1810 | rule__EnumDeclaration__Group_2_0_1__0__Impl | ||
1811 | @init { | ||
1812 | int stackSize = keepStackSize(); | ||
1813 | } | ||
1814 | : | ||
1815 | ( | ||
1816 | { before(grammarAccess.getEnumDeclarationAccess().getLiteralsAssignment_2_0_1_0()); } | ||
1817 | (rule__EnumDeclaration__LiteralsAssignment_2_0_1_0) | ||
1818 | { after(grammarAccess.getEnumDeclarationAccess().getLiteralsAssignment_2_0_1_0()); } | ||
1819 | ) | ||
1820 | ; | ||
1821 | finally { | ||
1822 | restoreStackSize(stackSize); | ||
1823 | } | ||
1824 | |||
1825 | rule__EnumDeclaration__Group_2_0_1__1 | ||
1826 | @init { | ||
1827 | int stackSize = keepStackSize(); | ||
1828 | } | ||
1829 | : | ||
1830 | rule__EnumDeclaration__Group_2_0_1__1__Impl | ||
1831 | rule__EnumDeclaration__Group_2_0_1__2 | ||
1832 | ; | ||
1833 | finally { | ||
1834 | restoreStackSize(stackSize); | ||
1835 | } | ||
1836 | |||
1837 | rule__EnumDeclaration__Group_2_0_1__1__Impl | ||
1838 | @init { | ||
1839 | int stackSize = keepStackSize(); | ||
1840 | } | ||
1841 | : | ||
1842 | ( | ||
1843 | { before(grammarAccess.getEnumDeclarationAccess().getGroup_2_0_1_1()); } | ||
1844 | (rule__EnumDeclaration__Group_2_0_1_1__0)* | ||
1845 | { after(grammarAccess.getEnumDeclarationAccess().getGroup_2_0_1_1()); } | ||
1846 | ) | ||
1847 | ; | ||
1848 | finally { | ||
1849 | restoreStackSize(stackSize); | ||
1850 | } | ||
1851 | |||
1852 | rule__EnumDeclaration__Group_2_0_1__2 | ||
1853 | @init { | ||
1854 | int stackSize = keepStackSize(); | ||
1855 | } | ||
1856 | : | ||
1857 | rule__EnumDeclaration__Group_2_0_1__2__Impl | ||
1858 | ; | ||
1859 | finally { | ||
1860 | restoreStackSize(stackSize); | ||
1861 | } | ||
1862 | |||
1863 | rule__EnumDeclaration__Group_2_0_1__2__Impl | ||
1864 | @init { | ||
1865 | int stackSize = keepStackSize(); | ||
1866 | } | ||
1867 | : | ||
1868 | ( | ||
1869 | { before(grammarAccess.getEnumDeclarationAccess().getAlternatives_2_0_1_2()); } | ||
1870 | (rule__EnumDeclaration__Alternatives_2_0_1_2)? | ||
1871 | { after(grammarAccess.getEnumDeclarationAccess().getAlternatives_2_0_1_2()); } | ||
1872 | ) | ||
1873 | ; | ||
1874 | finally { | ||
1875 | restoreStackSize(stackSize); | ||
1876 | } | ||
1877 | |||
1878 | |||
1879 | rule__EnumDeclaration__Group_2_0_1_1__0 | ||
1880 | @init { | ||
1881 | int stackSize = keepStackSize(); | ||
1882 | } | ||
1883 | : | ||
1884 | rule__EnumDeclaration__Group_2_0_1_1__0__Impl | ||
1885 | rule__EnumDeclaration__Group_2_0_1_1__1 | ||
1886 | ; | ||
1887 | finally { | ||
1888 | restoreStackSize(stackSize); | ||
1889 | } | ||
1890 | |||
1891 | rule__EnumDeclaration__Group_2_0_1_1__0__Impl | ||
1892 | @init { | ||
1893 | int stackSize = keepStackSize(); | ||
1894 | } | ||
1895 | : | ||
1896 | ( | ||
1897 | { before(grammarAccess.getEnumDeclarationAccess().getCommaKeyword_2_0_1_1_0()); } | ||
1898 | ',' | ||
1899 | { after(grammarAccess.getEnumDeclarationAccess().getCommaKeyword_2_0_1_1_0()); } | ||
1900 | ) | ||
1901 | ; | ||
1902 | finally { | ||
1903 | restoreStackSize(stackSize); | ||
1904 | } | ||
1905 | |||
1906 | rule__EnumDeclaration__Group_2_0_1_1__1 | ||
1907 | @init { | ||
1908 | int stackSize = keepStackSize(); | ||
1909 | } | ||
1910 | : | ||
1911 | rule__EnumDeclaration__Group_2_0_1_1__1__Impl | ||
1912 | ; | ||
1913 | finally { | ||
1914 | restoreStackSize(stackSize); | ||
1915 | } | ||
1916 | |||
1917 | rule__EnumDeclaration__Group_2_0_1_1__1__Impl | ||
1918 | @init { | ||
1919 | int stackSize = keepStackSize(); | ||
1920 | } | ||
1921 | : | ||
1922 | ( | ||
1923 | { before(grammarAccess.getEnumDeclarationAccess().getLiteralsAssignment_2_0_1_1_1()); } | ||
1924 | (rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1) | ||
1925 | { after(grammarAccess.getEnumDeclarationAccess().getLiteralsAssignment_2_0_1_1_1()); } | ||
1926 | ) | ||
1927 | ; | ||
1928 | finally { | ||
1929 | restoreStackSize(stackSize); | ||
1930 | } | ||
1931 | |||
1932 | |||
1933 | rule__ReferenceDeclaration__Group__0 | ||
1934 | @init { | ||
1935 | int stackSize = keepStackSize(); | ||
1936 | } | ||
1937 | : | ||
1938 | rule__ReferenceDeclaration__Group__0__Impl | ||
1939 | rule__ReferenceDeclaration__Group__1 | ||
1940 | ; | ||
1941 | finally { | ||
1942 | restoreStackSize(stackSize); | ||
1943 | } | ||
1944 | |||
1945 | rule__ReferenceDeclaration__Group__0__Impl | ||
1946 | @init { | ||
1947 | int stackSize = keepStackSize(); | ||
1948 | } | ||
1949 | : | ||
1950 | ( | ||
1951 | { before(grammarAccess.getReferenceDeclarationAccess().getAlternatives_0()); } | ||
1952 | (rule__ReferenceDeclaration__Alternatives_0)? | ||
1953 | { after(grammarAccess.getReferenceDeclarationAccess().getAlternatives_0()); } | ||
1954 | ) | ||
1955 | ; | ||
1956 | finally { | ||
1957 | restoreStackSize(stackSize); | ||
1958 | } | ||
1959 | |||
1960 | rule__ReferenceDeclaration__Group__1 | ||
1961 | @init { | ||
1962 | int stackSize = keepStackSize(); | ||
1963 | } | ||
1964 | : | ||
1965 | rule__ReferenceDeclaration__Group__1__Impl | ||
1966 | rule__ReferenceDeclaration__Group__2 | ||
1967 | ; | ||
1968 | finally { | ||
1969 | restoreStackSize(stackSize); | ||
1970 | } | ||
1971 | |||
1972 | rule__ReferenceDeclaration__Group__1__Impl | ||
1973 | @init { | ||
1974 | int stackSize = keepStackSize(); | ||
1975 | } | ||
1976 | : | ||
1977 | ( | ||
1978 | { before(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeAssignment_1()); } | ||
1979 | (rule__ReferenceDeclaration__ReferenceTypeAssignment_1) | ||
1980 | { after(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeAssignment_1()); } | ||
1981 | ) | ||
1982 | ; | ||
1983 | finally { | ||
1984 | restoreStackSize(stackSize); | ||
1985 | } | ||
1986 | |||
1987 | rule__ReferenceDeclaration__Group__2 | ||
1988 | @init { | ||
1989 | int stackSize = keepStackSize(); | ||
1990 | } | ||
1991 | : | ||
1992 | rule__ReferenceDeclaration__Group__2__Impl | ||
1993 | rule__ReferenceDeclaration__Group__3 | ||
1994 | ; | ||
1995 | finally { | ||
1996 | restoreStackSize(stackSize); | ||
1997 | } | ||
1998 | |||
1999 | rule__ReferenceDeclaration__Group__2__Impl | ||
2000 | @init { | ||
2001 | int stackSize = keepStackSize(); | ||
2002 | } | ||
2003 | : | ||
2004 | ( | ||
2005 | { before(grammarAccess.getReferenceDeclarationAccess().getGroup_2()); } | ||
2006 | (rule__ReferenceDeclaration__Group_2__0)? | ||
2007 | { after(grammarAccess.getReferenceDeclarationAccess().getGroup_2()); } | ||
2008 | ) | ||
2009 | ; | ||
2010 | finally { | ||
2011 | restoreStackSize(stackSize); | ||
2012 | } | ||
2013 | |||
2014 | rule__ReferenceDeclaration__Group__3 | ||
2015 | @init { | ||
2016 | int stackSize = keepStackSize(); | ||
2017 | } | ||
2018 | : | ||
2019 | rule__ReferenceDeclaration__Group__3__Impl | ||
2020 | rule__ReferenceDeclaration__Group__4 | ||
2021 | ; | ||
2022 | finally { | ||
2023 | restoreStackSize(stackSize); | ||
2024 | } | ||
2025 | |||
2026 | rule__ReferenceDeclaration__Group__3__Impl | ||
2027 | @init { | ||
2028 | int stackSize = keepStackSize(); | ||
2029 | } | ||
2030 | : | ||
2031 | ( | ||
2032 | { before(grammarAccess.getReferenceDeclarationAccess().getNameAssignment_3()); } | ||
2033 | (rule__ReferenceDeclaration__NameAssignment_3) | ||
2034 | { after(grammarAccess.getReferenceDeclarationAccess().getNameAssignment_3()); } | ||
2035 | ) | ||
2036 | ; | ||
2037 | finally { | ||
2038 | restoreStackSize(stackSize); | ||
2039 | } | ||
2040 | |||
2041 | rule__ReferenceDeclaration__Group__4 | ||
2042 | @init { | ||
2043 | int stackSize = keepStackSize(); | ||
2044 | } | ||
2045 | : | ||
2046 | rule__ReferenceDeclaration__Group__4__Impl | ||
2047 | ; | ||
2048 | finally { | ||
2049 | restoreStackSize(stackSize); | ||
2050 | } | ||
2051 | |||
2052 | rule__ReferenceDeclaration__Group__4__Impl | ||
2053 | @init { | ||
2054 | int stackSize = keepStackSize(); | ||
2055 | } | ||
2056 | : | ||
2057 | ( | ||
2058 | { before(grammarAccess.getReferenceDeclarationAccess().getGroup_4()); } | ||
2059 | (rule__ReferenceDeclaration__Group_4__0)? | ||
2060 | { after(grammarAccess.getReferenceDeclarationAccess().getGroup_4()); } | ||
2061 | ) | ||
2062 | ; | ||
2063 | finally { | ||
2064 | restoreStackSize(stackSize); | ||
2065 | } | ||
2066 | |||
2067 | |||
2068 | rule__ReferenceDeclaration__Group_2__0 | ||
2069 | @init { | ||
2070 | int stackSize = keepStackSize(); | ||
2071 | } | ||
2072 | : | ||
2073 | rule__ReferenceDeclaration__Group_2__0__Impl | ||
2074 | rule__ReferenceDeclaration__Group_2__1 | ||
2075 | ; | ||
2076 | finally { | ||
2077 | restoreStackSize(stackSize); | ||
2078 | } | ||
2079 | |||
2080 | rule__ReferenceDeclaration__Group_2__0__Impl | ||
2081 | @init { | ||
2082 | int stackSize = keepStackSize(); | ||
2083 | } | ||
2084 | : | ||
2085 | ( | ||
2086 | { before(grammarAccess.getReferenceDeclarationAccess().getLeftSquareBracketKeyword_2_0()); } | ||
2087 | '[' | ||
2088 | { after(grammarAccess.getReferenceDeclarationAccess().getLeftSquareBracketKeyword_2_0()); } | ||
2089 | ) | ||
2090 | ; | ||
2091 | finally { | ||
2092 | restoreStackSize(stackSize); | ||
2093 | } | ||
2094 | |||
2095 | rule__ReferenceDeclaration__Group_2__1 | ||
2096 | @init { | ||
2097 | int stackSize = keepStackSize(); | ||
2098 | } | ||
2099 | : | ||
2100 | rule__ReferenceDeclaration__Group_2__1__Impl | ||
2101 | rule__ReferenceDeclaration__Group_2__2 | ||
2102 | ; | ||
2103 | finally { | ||
2104 | restoreStackSize(stackSize); | ||
2105 | } | ||
2106 | |||
2107 | rule__ReferenceDeclaration__Group_2__1__Impl | ||
2108 | @init { | ||
2109 | int stackSize = keepStackSize(); | ||
2110 | } | ||
2111 | : | ||
2112 | ( | ||
2113 | { before(grammarAccess.getReferenceDeclarationAccess().getMultiplicityAssignment_2_1()); } | ||
2114 | (rule__ReferenceDeclaration__MultiplicityAssignment_2_1) | ||
2115 | { after(grammarAccess.getReferenceDeclarationAccess().getMultiplicityAssignment_2_1()); } | ||
2116 | ) | ||
2117 | ; | ||
2118 | finally { | ||
2119 | restoreStackSize(stackSize); | ||
2120 | } | ||
2121 | |||
2122 | rule__ReferenceDeclaration__Group_2__2 | ||
2123 | @init { | ||
2124 | int stackSize = keepStackSize(); | ||
2125 | } | ||
2126 | : | ||
2127 | rule__ReferenceDeclaration__Group_2__2__Impl | ||
2128 | ; | ||
2129 | finally { | ||
2130 | restoreStackSize(stackSize); | ||
2131 | } | ||
2132 | |||
2133 | rule__ReferenceDeclaration__Group_2__2__Impl | ||
2134 | @init { | ||
2135 | int stackSize = keepStackSize(); | ||
2136 | } | ||
2137 | : | ||
2138 | ( | ||
2139 | { before(grammarAccess.getReferenceDeclarationAccess().getRightSquareBracketKeyword_2_2()); } | ||
2140 | ']' | ||
2141 | { after(grammarAccess.getReferenceDeclarationAccess().getRightSquareBracketKeyword_2_2()); } | ||
2142 | ) | ||
2143 | ; | ||
2144 | finally { | ||
2145 | restoreStackSize(stackSize); | ||
2146 | } | ||
2147 | |||
2148 | |||
2149 | rule__ReferenceDeclaration__Group_4__0 | ||
2150 | @init { | ||
2151 | int stackSize = keepStackSize(); | ||
2152 | } | ||
2153 | : | ||
2154 | rule__ReferenceDeclaration__Group_4__0__Impl | ||
2155 | rule__ReferenceDeclaration__Group_4__1 | ||
2156 | ; | ||
2157 | finally { | ||
2158 | restoreStackSize(stackSize); | ||
2159 | } | ||
2160 | |||
2161 | rule__ReferenceDeclaration__Group_4__0__Impl | ||
2162 | @init { | ||
2163 | int stackSize = keepStackSize(); | ||
2164 | } | ||
2165 | : | ||
2166 | ( | ||
2167 | { before(grammarAccess.getReferenceDeclarationAccess().getOppositeKeyword_4_0()); } | ||
2168 | 'opposite' | ||
2169 | { after(grammarAccess.getReferenceDeclarationAccess().getOppositeKeyword_4_0()); } | ||
2170 | ) | ||
2171 | ; | ||
2172 | finally { | ||
2173 | restoreStackSize(stackSize); | ||
2174 | } | ||
2175 | |||
2176 | rule__ReferenceDeclaration__Group_4__1 | ||
2177 | @init { | ||
2178 | int stackSize = keepStackSize(); | ||
2179 | } | ||
2180 | : | ||
2181 | rule__ReferenceDeclaration__Group_4__1__Impl | ||
2182 | ; | ||
2183 | finally { | ||
2184 | restoreStackSize(stackSize); | ||
2185 | } | ||
2186 | |||
2187 | rule__ReferenceDeclaration__Group_4__1__Impl | ||
2188 | @init { | ||
2189 | int stackSize = keepStackSize(); | ||
2190 | } | ||
2191 | : | ||
2192 | ( | ||
2193 | { before(grammarAccess.getReferenceDeclarationAccess().getOppositeAssignment_4_1()); } | ||
2194 | (rule__ReferenceDeclaration__OppositeAssignment_4_1) | ||
2195 | { after(grammarAccess.getReferenceDeclarationAccess().getOppositeAssignment_4_1()); } | ||
2196 | ) | ||
2197 | ; | ||
2198 | finally { | ||
2199 | restoreStackSize(stackSize); | ||
2200 | } | ||
2201 | |||
2202 | |||
2203 | rule__PredicateDefinition__Group__0 | ||
2204 | @init { | ||
2205 | int stackSize = keepStackSize(); | ||
2206 | } | ||
2207 | : | ||
2208 | rule__PredicateDefinition__Group__0__Impl | ||
2209 | rule__PredicateDefinition__Group__1 | ||
2210 | ; | ||
2211 | finally { | ||
2212 | restoreStackSize(stackSize); | ||
2213 | } | ||
2214 | |||
2215 | rule__PredicateDefinition__Group__0__Impl | ||
2216 | @init { | ||
2217 | int stackSize = keepStackSize(); | ||
2218 | } | ||
2219 | : | ||
2220 | ( | ||
2221 | { before(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0()); } | ||
2222 | (rule__PredicateDefinition__Alternatives_0) | ||
2223 | { after(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0()); } | ||
2224 | ) | ||
2225 | ; | ||
2226 | finally { | ||
2227 | restoreStackSize(stackSize); | ||
2228 | } | ||
2229 | |||
2230 | rule__PredicateDefinition__Group__1 | ||
2231 | @init { | ||
2232 | int stackSize = keepStackSize(); | ||
2233 | } | ||
2234 | : | ||
2235 | rule__PredicateDefinition__Group__1__Impl | ||
2236 | rule__PredicateDefinition__Group__2 | ||
2237 | ; | ||
2238 | finally { | ||
2239 | restoreStackSize(stackSize); | ||
2240 | } | ||
2241 | |||
2242 | rule__PredicateDefinition__Group__1__Impl | ||
2243 | @init { | ||
2244 | int stackSize = keepStackSize(); | ||
2245 | } | ||
2246 | : | ||
2247 | ( | ||
2248 | { before(grammarAccess.getPredicateDefinitionAccess().getNameAssignment_1()); } | ||
2249 | (rule__PredicateDefinition__NameAssignment_1) | ||
2250 | { after(grammarAccess.getPredicateDefinitionAccess().getNameAssignment_1()); } | ||
2251 | ) | ||
2252 | ; | ||
2253 | finally { | ||
2254 | restoreStackSize(stackSize); | ||
2255 | } | ||
2256 | |||
2257 | rule__PredicateDefinition__Group__2 | ||
2258 | @init { | ||
2259 | int stackSize = keepStackSize(); | ||
2260 | } | ||
2261 | : | ||
2262 | rule__PredicateDefinition__Group__2__Impl | ||
2263 | rule__PredicateDefinition__Group__3 | ||
2264 | ; | ||
2265 | finally { | ||
2266 | restoreStackSize(stackSize); | ||
2267 | } | ||
2268 | |||
2269 | rule__PredicateDefinition__Group__2__Impl | ||
2270 | @init { | ||
2271 | int stackSize = keepStackSize(); | ||
2272 | } | ||
2273 | : | ||
2274 | ( | ||
2275 | { before(grammarAccess.getPredicateDefinitionAccess().getLeftParenthesisKeyword_2()); } | ||
2276 | '(' | ||
2277 | { after(grammarAccess.getPredicateDefinitionAccess().getLeftParenthesisKeyword_2()); } | ||
2278 | ) | ||
2279 | ; | ||
2280 | finally { | ||
2281 | restoreStackSize(stackSize); | ||
2282 | } | ||
2283 | |||
2284 | rule__PredicateDefinition__Group__3 | ||
2285 | @init { | ||
2286 | int stackSize = keepStackSize(); | ||
2287 | } | ||
2288 | : | ||
2289 | rule__PredicateDefinition__Group__3__Impl | ||
2290 | rule__PredicateDefinition__Group__4 | ||
2291 | ; | ||
2292 | finally { | ||
2293 | restoreStackSize(stackSize); | ||
2294 | } | ||
2295 | |||
2296 | rule__PredicateDefinition__Group__3__Impl | ||
2297 | @init { | ||
2298 | int stackSize = keepStackSize(); | ||
2299 | } | ||
2300 | : | ||
2301 | ( | ||
2302 | { before(grammarAccess.getPredicateDefinitionAccess().getGroup_3()); } | ||
2303 | (rule__PredicateDefinition__Group_3__0)? | ||
2304 | { after(grammarAccess.getPredicateDefinitionAccess().getGroup_3()); } | ||
2305 | ) | ||
2306 | ; | ||
2307 | finally { | ||
2308 | restoreStackSize(stackSize); | ||
2309 | } | ||
2310 | |||
2311 | rule__PredicateDefinition__Group__4 | ||
2312 | @init { | ||
2313 | int stackSize = keepStackSize(); | ||
2314 | } | ||
2315 | : | ||
2316 | rule__PredicateDefinition__Group__4__Impl | ||
2317 | rule__PredicateDefinition__Group__5 | ||
2318 | ; | ||
2319 | finally { | ||
2320 | restoreStackSize(stackSize); | ||
2321 | } | ||
2322 | |||
2323 | rule__PredicateDefinition__Group__4__Impl | ||
2324 | @init { | ||
2325 | int stackSize = keepStackSize(); | ||
2326 | } | ||
2327 | : | ||
2328 | ( | ||
2329 | { before(grammarAccess.getPredicateDefinitionAccess().getRightParenthesisKeyword_4()); } | ||
2330 | ')' | ||
2331 | { after(grammarAccess.getPredicateDefinitionAccess().getRightParenthesisKeyword_4()); } | ||
2332 | ) | ||
2333 | ; | ||
2334 | finally { | ||
2335 | restoreStackSize(stackSize); | ||
2336 | } | ||
2337 | |||
2338 | rule__PredicateDefinition__Group__5 | ||
2339 | @init { | ||
2340 | int stackSize = keepStackSize(); | ||
2341 | } | ||
2342 | : | ||
2343 | rule__PredicateDefinition__Group__5__Impl | ||
2344 | rule__PredicateDefinition__Group__6 | ||
2345 | ; | ||
2346 | finally { | ||
2347 | restoreStackSize(stackSize); | ||
2348 | } | ||
2349 | |||
2350 | rule__PredicateDefinition__Group__5__Impl | ||
2351 | @init { | ||
2352 | int stackSize = keepStackSize(); | ||
2353 | } | ||
2354 | : | ||
2355 | ( | ||
2356 | { before(grammarAccess.getPredicateDefinitionAccess().getGroup_5()); } | ||
2357 | (rule__PredicateDefinition__Group_5__0)? | ||
2358 | { after(grammarAccess.getPredicateDefinitionAccess().getGroup_5()); } | ||
2359 | ) | ||
2360 | ; | ||
2361 | finally { | ||
2362 | restoreStackSize(stackSize); | ||
2363 | } | ||
2364 | |||
2365 | rule__PredicateDefinition__Group__6 | ||
2366 | @init { | ||
2367 | int stackSize = keepStackSize(); | ||
2368 | } | ||
2369 | : | ||
2370 | rule__PredicateDefinition__Group__6__Impl | ||
2371 | ; | ||
2372 | finally { | ||
2373 | restoreStackSize(stackSize); | ||
2374 | } | ||
2375 | |||
2376 | rule__PredicateDefinition__Group__6__Impl | ||
2377 | @init { | ||
2378 | int stackSize = keepStackSize(); | ||
2379 | } | ||
2380 | : | ||
2381 | ( | ||
2382 | { before(grammarAccess.getPredicateDefinitionAccess().getFullStopKeyword_6()); } | ||
2383 | '.' | ||
2384 | { after(grammarAccess.getPredicateDefinitionAccess().getFullStopKeyword_6()); } | ||
2385 | ) | ||
2386 | ; | ||
2387 | finally { | ||
2388 | restoreStackSize(stackSize); | ||
2389 | } | ||
2390 | |||
2391 | |||
2392 | rule__PredicateDefinition__Group_0_0__0 | ||
2393 | @init { | ||
2394 | int stackSize = keepStackSize(); | ||
2395 | } | ||
2396 | : | ||
2397 | rule__PredicateDefinition__Group_0_0__0__Impl | ||
2398 | rule__PredicateDefinition__Group_0_0__1 | ||
2399 | ; | ||
2400 | finally { | ||
2401 | restoreStackSize(stackSize); | ||
2402 | } | ||
2403 | |||
2404 | rule__PredicateDefinition__Group_0_0__0__Impl | ||
2405 | @init { | ||
2406 | int stackSize = keepStackSize(); | ||
2407 | } | ||
2408 | : | ||
2409 | ( | ||
2410 | { before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_0()); } | ||
2411 | (rule__PredicateDefinition__ErrorAssignment_0_0_0) | ||
2412 | { after(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_0()); } | ||
2413 | ) | ||
2414 | ; | ||
2415 | finally { | ||
2416 | restoreStackSize(stackSize); | ||
2417 | } | ||
2418 | |||
2419 | rule__PredicateDefinition__Group_0_0__1 | ||
2420 | @init { | ||
2421 | int stackSize = keepStackSize(); | ||
2422 | } | ||
2423 | : | ||
2424 | rule__PredicateDefinition__Group_0_0__1__Impl | ||
2425 | ; | ||
2426 | finally { | ||
2427 | restoreStackSize(stackSize); | ||
2428 | } | ||
2429 | |||
2430 | rule__PredicateDefinition__Group_0_0__1__Impl | ||
2431 | @init { | ||
2432 | int stackSize = keepStackSize(); | ||
2433 | } | ||
2434 | : | ||
2435 | ( | ||
2436 | { before(grammarAccess.getPredicateDefinitionAccess().getPredKeyword_0_0_1()); } | ||
2437 | ('pred')? | ||
2438 | { after(grammarAccess.getPredicateDefinitionAccess().getPredKeyword_0_0_1()); } | ||
2439 | ) | ||
2440 | ; | ||
2441 | finally { | ||
2442 | restoreStackSize(stackSize); | ||
2443 | } | ||
2444 | |||
2445 | |||
2446 | rule__PredicateDefinition__Group_3__0 | ||
2447 | @init { | ||
2448 | int stackSize = keepStackSize(); | ||
2449 | } | ||
2450 | : | ||
2451 | rule__PredicateDefinition__Group_3__0__Impl | ||
2452 | rule__PredicateDefinition__Group_3__1 | ||
2453 | ; | ||
2454 | finally { | ||
2455 | restoreStackSize(stackSize); | ||
2456 | } | ||
2457 | |||
2458 | rule__PredicateDefinition__Group_3__0__Impl | ||
2459 | @init { | ||
2460 | int stackSize = keepStackSize(); | ||
2461 | } | ||
2462 | : | ||
2463 | ( | ||
2464 | { before(grammarAccess.getPredicateDefinitionAccess().getParametersAssignment_3_0()); } | ||
2465 | (rule__PredicateDefinition__ParametersAssignment_3_0) | ||
2466 | { after(grammarAccess.getPredicateDefinitionAccess().getParametersAssignment_3_0()); } | ||
2467 | ) | ||
2468 | ; | ||
2469 | finally { | ||
2470 | restoreStackSize(stackSize); | ||
2471 | } | ||
2472 | |||
2473 | rule__PredicateDefinition__Group_3__1 | ||
2474 | @init { | ||
2475 | int stackSize = keepStackSize(); | ||
2476 | } | ||
2477 | : | ||
2478 | rule__PredicateDefinition__Group_3__1__Impl | ||
2479 | ; | ||
2480 | finally { | ||
2481 | restoreStackSize(stackSize); | ||
2482 | } | ||
2483 | |||
2484 | rule__PredicateDefinition__Group_3__1__Impl | ||
2485 | @init { | ||
2486 | int stackSize = keepStackSize(); | ||
2487 | } | ||
2488 | : | ||
2489 | ( | ||
2490 | { before(grammarAccess.getPredicateDefinitionAccess().getGroup_3_1()); } | ||
2491 | (rule__PredicateDefinition__Group_3_1__0)* | ||
2492 | { after(grammarAccess.getPredicateDefinitionAccess().getGroup_3_1()); } | ||
2493 | ) | ||
2494 | ; | ||
2495 | finally { | ||
2496 | restoreStackSize(stackSize); | ||
2497 | } | ||
2498 | |||
2499 | |||
2500 | rule__PredicateDefinition__Group_3_1__0 | ||
2501 | @init { | ||
2502 | int stackSize = keepStackSize(); | ||
2503 | } | ||
2504 | : | ||
2505 | rule__PredicateDefinition__Group_3_1__0__Impl | ||
2506 | rule__PredicateDefinition__Group_3_1__1 | ||
2507 | ; | ||
2508 | finally { | ||
2509 | restoreStackSize(stackSize); | ||
2510 | } | ||
2511 | |||
2512 | rule__PredicateDefinition__Group_3_1__0__Impl | ||
2513 | @init { | ||
2514 | int stackSize = keepStackSize(); | ||
2515 | } | ||
2516 | : | ||
2517 | ( | ||
2518 | { before(grammarAccess.getPredicateDefinitionAccess().getCommaKeyword_3_1_0()); } | ||
2519 | ',' | ||
2520 | { after(grammarAccess.getPredicateDefinitionAccess().getCommaKeyword_3_1_0()); } | ||
2521 | ) | ||
2522 | ; | ||
2523 | finally { | ||
2524 | restoreStackSize(stackSize); | ||
2525 | } | ||
2526 | |||
2527 | rule__PredicateDefinition__Group_3_1__1 | ||
2528 | @init { | ||
2529 | int stackSize = keepStackSize(); | ||
2530 | } | ||
2531 | : | ||
2532 | rule__PredicateDefinition__Group_3_1__1__Impl | ||
2533 | ; | ||
2534 | finally { | ||
2535 | restoreStackSize(stackSize); | ||
2536 | } | ||
2537 | |||
2538 | rule__PredicateDefinition__Group_3_1__1__Impl | ||
2539 | @init { | ||
2540 | int stackSize = keepStackSize(); | ||
2541 | } | ||
2542 | : | ||
2543 | ( | ||
2544 | { before(grammarAccess.getPredicateDefinitionAccess().getParametersAssignment_3_1_1()); } | ||
2545 | (rule__PredicateDefinition__ParametersAssignment_3_1_1) | ||
2546 | { after(grammarAccess.getPredicateDefinitionAccess().getParametersAssignment_3_1_1()); } | ||
2547 | ) | ||
2548 | ; | ||
2549 | finally { | ||
2550 | restoreStackSize(stackSize); | ||
2551 | } | ||
2552 | |||
2553 | |||
2554 | rule__PredicateDefinition__Group_5__0 | ||
2555 | @init { | ||
2556 | int stackSize = keepStackSize(); | ||
2557 | } | ||
2558 | : | ||
2559 | rule__PredicateDefinition__Group_5__0__Impl | ||
2560 | rule__PredicateDefinition__Group_5__1 | ||
2561 | ; | ||
2562 | finally { | ||
2563 | restoreStackSize(stackSize); | ||
2564 | } | ||
2565 | |||
2566 | rule__PredicateDefinition__Group_5__0__Impl | ||
2567 | @init { | ||
2568 | int stackSize = keepStackSize(); | ||
2569 | } | ||
2570 | : | ||
2571 | ( | ||
2572 | { before(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_5_0()); } | ||
2573 | ':-' | ||
2574 | { after(grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_5_0()); } | ||
2575 | ) | ||
2576 | ; | ||
2577 | finally { | ||
2578 | restoreStackSize(stackSize); | ||
2579 | } | ||
2580 | |||
2581 | rule__PredicateDefinition__Group_5__1 | ||
2582 | @init { | ||
2583 | int stackSize = keepStackSize(); | ||
2584 | } | ||
2585 | : | ||
2586 | rule__PredicateDefinition__Group_5__1__Impl | ||
2587 | rule__PredicateDefinition__Group_5__2 | ||
2588 | ; | ||
2589 | finally { | ||
2590 | restoreStackSize(stackSize); | ||
2591 | } | ||
2592 | |||
2593 | rule__PredicateDefinition__Group_5__1__Impl | ||
2594 | @init { | ||
2595 | int stackSize = keepStackSize(); | ||
2596 | } | ||
2597 | : | ||
2598 | ( | ||
2599 | { before(grammarAccess.getPredicateDefinitionAccess().getBodiesAssignment_5_1()); } | ||
2600 | (rule__PredicateDefinition__BodiesAssignment_5_1) | ||
2601 | { after(grammarAccess.getPredicateDefinitionAccess().getBodiesAssignment_5_1()); } | ||
2602 | ) | ||
2603 | ; | ||
2604 | finally { | ||
2605 | restoreStackSize(stackSize); | ||
2606 | } | ||
2607 | |||
2608 | rule__PredicateDefinition__Group_5__2 | ||
2609 | @init { | ||
2610 | int stackSize = keepStackSize(); | ||
2611 | } | ||
2612 | : | ||
2613 | rule__PredicateDefinition__Group_5__2__Impl | ||
2614 | ; | ||
2615 | finally { | ||
2616 | restoreStackSize(stackSize); | ||
2617 | } | ||
2618 | |||
2619 | rule__PredicateDefinition__Group_5__2__Impl | ||
2620 | @init { | ||
2621 | int stackSize = keepStackSize(); | ||
2622 | } | ||
2623 | : | ||
2624 | ( | ||
2625 | { before(grammarAccess.getPredicateDefinitionAccess().getGroup_5_2()); } | ||
2626 | (rule__PredicateDefinition__Group_5_2__0)* | ||
2627 | { after(grammarAccess.getPredicateDefinitionAccess().getGroup_5_2()); } | ||
2628 | ) | ||
2629 | ; | ||
2630 | finally { | ||
2631 | restoreStackSize(stackSize); | ||
2632 | } | ||
2633 | |||
2634 | |||
2635 | rule__PredicateDefinition__Group_5_2__0 | ||
2636 | @init { | ||
2637 | int stackSize = keepStackSize(); | ||
2638 | } | ||
2639 | : | ||
2640 | rule__PredicateDefinition__Group_5_2__0__Impl | ||
2641 | rule__PredicateDefinition__Group_5_2__1 | ||
2642 | ; | ||
2643 | finally { | ||
2644 | restoreStackSize(stackSize); | ||
2645 | } | ||
2646 | |||
2647 | rule__PredicateDefinition__Group_5_2__0__Impl | ||
2648 | @init { | ||
2649 | int stackSize = keepStackSize(); | ||
2650 | } | ||
2651 | : | ||
2652 | ( | ||
2653 | { before(grammarAccess.getPredicateDefinitionAccess().getSemicolonKeyword_5_2_0()); } | ||
2654 | ';' | ||
2655 | { after(grammarAccess.getPredicateDefinitionAccess().getSemicolonKeyword_5_2_0()); } | ||
2656 | ) | ||
2657 | ; | ||
2658 | finally { | ||
2659 | restoreStackSize(stackSize); | ||
2660 | } | ||
2661 | |||
2662 | rule__PredicateDefinition__Group_5_2__1 | ||
2663 | @init { | ||
2664 | int stackSize = keepStackSize(); | ||
2665 | } | ||
2666 | : | ||
2667 | rule__PredicateDefinition__Group_5_2__1__Impl | ||
2668 | ; | ||
2669 | finally { | ||
2670 | restoreStackSize(stackSize); | ||
2671 | } | ||
2672 | |||
2673 | rule__PredicateDefinition__Group_5_2__1__Impl | ||
2674 | @init { | ||
2675 | int stackSize = keepStackSize(); | ||
2676 | } | ||
2677 | : | ||
2678 | ( | ||
2679 | { before(grammarAccess.getPredicateDefinitionAccess().getBodiesAssignment_5_2_1()); } | ||
2680 | (rule__PredicateDefinition__BodiesAssignment_5_2_1) | ||
2681 | { after(grammarAccess.getPredicateDefinitionAccess().getBodiesAssignment_5_2_1()); } | ||
2682 | ) | ||
2683 | ; | ||
2684 | finally { | ||
2685 | restoreStackSize(stackSize); | ||
2686 | } | ||
2687 | |||
2688 | |||
2689 | rule__Parameter__Group__0 | ||
2690 | @init { | ||
2691 | int stackSize = keepStackSize(); | ||
2692 | } | ||
2693 | : | ||
2694 | rule__Parameter__Group__0__Impl | ||
2695 | rule__Parameter__Group__1 | ||
2696 | ; | ||
2697 | finally { | ||
2698 | restoreStackSize(stackSize); | ||
2699 | } | ||
2700 | |||
2701 | rule__Parameter__Group__0__Impl | ||
2702 | @init { | ||
2703 | int stackSize = keepStackSize(); | ||
2704 | } | ||
2705 | : | ||
2706 | ( | ||
2707 | { before(grammarAccess.getParameterAccess().getParameterTypeAssignment_0()); } | ||
2708 | (rule__Parameter__ParameterTypeAssignment_0)? | ||
2709 | { after(grammarAccess.getParameterAccess().getParameterTypeAssignment_0()); } | ||
2710 | ) | ||
2711 | ; | ||
2712 | finally { | ||
2713 | restoreStackSize(stackSize); | ||
2714 | } | ||
2715 | |||
2716 | rule__Parameter__Group__1 | ||
2717 | @init { | ||
2718 | int stackSize = keepStackSize(); | ||
2719 | } | ||
2720 | : | ||
2721 | rule__Parameter__Group__1__Impl | ||
2722 | ; | ||
2723 | finally { | ||
2724 | restoreStackSize(stackSize); | ||
2725 | } | ||
2726 | |||
2727 | rule__Parameter__Group__1__Impl | ||
2728 | @init { | ||
2729 | int stackSize = keepStackSize(); | ||
2730 | } | ||
2731 | : | ||
2732 | ( | ||
2733 | { before(grammarAccess.getParameterAccess().getNameAssignment_1()); } | ||
2734 | (rule__Parameter__NameAssignment_1) | ||
2735 | { after(grammarAccess.getParameterAccess().getNameAssignment_1()); } | ||
2736 | ) | ||
2737 | ; | ||
2738 | finally { | ||
2739 | restoreStackSize(stackSize); | ||
2740 | } | ||
2741 | |||
2742 | |||
2743 | rule__Conjunction__Group__0 | ||
2744 | @init { | ||
2745 | int stackSize = keepStackSize(); | ||
2746 | } | ||
2747 | : | ||
2748 | rule__Conjunction__Group__0__Impl | ||
2749 | rule__Conjunction__Group__1 | ||
2750 | ; | ||
2751 | finally { | ||
2752 | restoreStackSize(stackSize); | ||
2753 | } | ||
2754 | |||
2755 | rule__Conjunction__Group__0__Impl | ||
2756 | @init { | ||
2757 | int stackSize = keepStackSize(); | ||
2758 | } | ||
2759 | : | ||
2760 | ( | ||
2761 | { before(grammarAccess.getConjunctionAccess().getLiteralsAssignment_0()); } | ||
2762 | (rule__Conjunction__LiteralsAssignment_0) | ||
2763 | { after(grammarAccess.getConjunctionAccess().getLiteralsAssignment_0()); } | ||
2764 | ) | ||
2765 | ; | ||
2766 | finally { | ||
2767 | restoreStackSize(stackSize); | ||
2768 | } | ||
2769 | |||
2770 | rule__Conjunction__Group__1 | ||
2771 | @init { | ||
2772 | int stackSize = keepStackSize(); | ||
2773 | } | ||
2774 | : | ||
2775 | rule__Conjunction__Group__1__Impl | ||
2776 | ; | ||
2777 | finally { | ||
2778 | restoreStackSize(stackSize); | ||
2779 | } | ||
2780 | |||
2781 | rule__Conjunction__Group__1__Impl | ||
2782 | @init { | ||
2783 | int stackSize = keepStackSize(); | ||
2784 | } | ||
2785 | : | ||
2786 | ( | ||
2787 | { before(grammarAccess.getConjunctionAccess().getGroup_1()); } | ||
2788 | (rule__Conjunction__Group_1__0)* | ||
2789 | { after(grammarAccess.getConjunctionAccess().getGroup_1()); } | ||
2790 | ) | ||
2791 | ; | ||
2792 | finally { | ||
2793 | restoreStackSize(stackSize); | ||
2794 | } | ||
2795 | |||
2796 | |||
2797 | rule__Conjunction__Group_1__0 | ||
2798 | @init { | ||
2799 | int stackSize = keepStackSize(); | ||
2800 | } | ||
2801 | : | ||
2802 | rule__Conjunction__Group_1__0__Impl | ||
2803 | rule__Conjunction__Group_1__1 | ||
2804 | ; | ||
2805 | finally { | ||
2806 | restoreStackSize(stackSize); | ||
2807 | } | ||
2808 | |||
2809 | rule__Conjunction__Group_1__0__Impl | ||
2810 | @init { | ||
2811 | int stackSize = keepStackSize(); | ||
2812 | } | ||
2813 | : | ||
2814 | ( | ||
2815 | { before(grammarAccess.getConjunctionAccess().getCommaKeyword_1_0()); } | ||
2816 | ',' | ||
2817 | { after(grammarAccess.getConjunctionAccess().getCommaKeyword_1_0()); } | ||
2818 | ) | ||
2819 | ; | ||
2820 | finally { | ||
2821 | restoreStackSize(stackSize); | ||
2822 | } | ||
2823 | |||
2824 | rule__Conjunction__Group_1__1 | ||
2825 | @init { | ||
2826 | int stackSize = keepStackSize(); | ||
2827 | } | ||
2828 | : | ||
2829 | rule__Conjunction__Group_1__1__Impl | ||
2830 | ; | ||
2831 | finally { | ||
2832 | restoreStackSize(stackSize); | ||
2833 | } | ||
2834 | |||
2835 | rule__Conjunction__Group_1__1__Impl | ||
2836 | @init { | ||
2837 | int stackSize = keepStackSize(); | ||
2838 | } | ||
2839 | : | ||
2840 | ( | ||
2841 | { before(grammarAccess.getConjunctionAccess().getLiteralsAssignment_1_1()); } | ||
2842 | (rule__Conjunction__LiteralsAssignment_1_1) | ||
2843 | { after(grammarAccess.getConjunctionAccess().getLiteralsAssignment_1_1()); } | ||
2844 | ) | ||
2845 | ; | ||
2846 | finally { | ||
2847 | restoreStackSize(stackSize); | ||
2848 | } | ||
2849 | |||
2850 | |||
2851 | rule__NegativeLiteral__Group__0 | ||
2852 | @init { | ||
2853 | int stackSize = keepStackSize(); | ||
2854 | } | ||
2855 | : | ||
2856 | rule__NegativeLiteral__Group__0__Impl | ||
2857 | rule__NegativeLiteral__Group__1 | ||
2858 | ; | ||
2859 | finally { | ||
2860 | restoreStackSize(stackSize); | ||
2861 | } | ||
2862 | |||
2863 | rule__NegativeLiteral__Group__0__Impl | ||
2864 | @init { | ||
2865 | int stackSize = keepStackSize(); | ||
2866 | } | ||
2867 | : | ||
2868 | ( | ||
2869 | { before(grammarAccess.getNegativeLiteralAccess().getExclamationMarkKeyword_0()); } | ||
2870 | '!' | ||
2871 | { after(grammarAccess.getNegativeLiteralAccess().getExclamationMarkKeyword_0()); } | ||
2872 | ) | ||
2873 | ; | ||
2874 | finally { | ||
2875 | restoreStackSize(stackSize); | ||
2876 | } | ||
2877 | |||
2878 | rule__NegativeLiteral__Group__1 | ||
2879 | @init { | ||
2880 | int stackSize = keepStackSize(); | ||
2881 | } | ||
2882 | : | ||
2883 | rule__NegativeLiteral__Group__1__Impl | ||
2884 | ; | ||
2885 | finally { | ||
2886 | restoreStackSize(stackSize); | ||
2887 | } | ||
2888 | |||
2889 | rule__NegativeLiteral__Group__1__Impl | ||
2890 | @init { | ||
2891 | int stackSize = keepStackSize(); | ||
2892 | } | ||
2893 | : | ||
2894 | ( | ||
2895 | { before(grammarAccess.getNegativeLiteralAccess().getAtomAssignment_1()); } | ||
2896 | (rule__NegativeLiteral__AtomAssignment_1) | ||
2897 | { after(grammarAccess.getNegativeLiteralAccess().getAtomAssignment_1()); } | ||
2898 | ) | ||
2899 | ; | ||
2900 | finally { | ||
2901 | restoreStackSize(stackSize); | ||
2902 | } | ||
2903 | |||
2904 | |||
2905 | rule__Atom__Group__0 | ||
2906 | @init { | ||
2907 | int stackSize = keepStackSize(); | ||
2908 | } | ||
2909 | : | ||
2910 | rule__Atom__Group__0__Impl | ||
2911 | rule__Atom__Group__1 | ||
2912 | ; | ||
2913 | finally { | ||
2914 | restoreStackSize(stackSize); | ||
2915 | } | ||
2916 | |||
2917 | rule__Atom__Group__0__Impl | ||
2918 | @init { | ||
2919 | int stackSize = keepStackSize(); | ||
2920 | } | ||
2921 | : | ||
2922 | ( | ||
2923 | { before(grammarAccess.getAtomAccess().getRelationAssignment_0()); } | ||
2924 | (rule__Atom__RelationAssignment_0) | ||
2925 | { after(grammarAccess.getAtomAccess().getRelationAssignment_0()); } | ||
2926 | ) | ||
2927 | ; | ||
2928 | finally { | ||
2929 | restoreStackSize(stackSize); | ||
2930 | } | ||
2931 | |||
2932 | rule__Atom__Group__1 | ||
2933 | @init { | ||
2934 | int stackSize = keepStackSize(); | ||
2935 | } | ||
2936 | : | ||
2937 | rule__Atom__Group__1__Impl | ||
2938 | rule__Atom__Group__2 | ||
2939 | ; | ||
2940 | finally { | ||
2941 | restoreStackSize(stackSize); | ||
2942 | } | ||
2943 | |||
2944 | rule__Atom__Group__1__Impl | ||
2945 | @init { | ||
2946 | int stackSize = keepStackSize(); | ||
2947 | } | ||
2948 | : | ||
2949 | ( | ||
2950 | { before(grammarAccess.getAtomAccess().getTransitiveClosureAssignment_1()); } | ||
2951 | (rule__Atom__TransitiveClosureAssignment_1)? | ||
2952 | { after(grammarAccess.getAtomAccess().getTransitiveClosureAssignment_1()); } | ||
2953 | ) | ||
2954 | ; | ||
2955 | finally { | ||
2956 | restoreStackSize(stackSize); | ||
2957 | } | ||
2958 | |||
2959 | rule__Atom__Group__2 | ||
2960 | @init { | ||
2961 | int stackSize = keepStackSize(); | ||
2962 | } | ||
2963 | : | ||
2964 | rule__Atom__Group__2__Impl | ||
2965 | rule__Atom__Group__3 | ||
2966 | ; | ||
2967 | finally { | ||
2968 | restoreStackSize(stackSize); | ||
2969 | } | ||
2970 | |||
2971 | rule__Atom__Group__2__Impl | ||
2972 | @init { | ||
2973 | int stackSize = keepStackSize(); | ||
2974 | } | ||
2975 | : | ||
2976 | ( | ||
2977 | { before(grammarAccess.getAtomAccess().getLeftParenthesisKeyword_2()); } | ||
2978 | '(' | ||
2979 | { after(grammarAccess.getAtomAccess().getLeftParenthesisKeyword_2()); } | ||
2980 | ) | ||
2981 | ; | ||
2982 | finally { | ||
2983 | restoreStackSize(stackSize); | ||
2984 | } | ||
2985 | |||
2986 | rule__Atom__Group__3 | ||
2987 | @init { | ||
2988 | int stackSize = keepStackSize(); | ||
2989 | } | ||
2990 | : | ||
2991 | rule__Atom__Group__3__Impl | ||
2992 | rule__Atom__Group__4 | ||
2993 | ; | ||
2994 | finally { | ||
2995 | restoreStackSize(stackSize); | ||
2996 | } | ||
2997 | |||
2998 | rule__Atom__Group__3__Impl | ||
2999 | @init { | ||
3000 | int stackSize = keepStackSize(); | ||
3001 | } | ||
3002 | : | ||
3003 | ( | ||
3004 | { before(grammarAccess.getAtomAccess().getGroup_3()); } | ||
3005 | (rule__Atom__Group_3__0)? | ||
3006 | { after(grammarAccess.getAtomAccess().getGroup_3()); } | ||
3007 | ) | ||
3008 | ; | ||
3009 | finally { | ||
3010 | restoreStackSize(stackSize); | ||
3011 | } | ||
3012 | |||
3013 | rule__Atom__Group__4 | ||
3014 | @init { | ||
3015 | int stackSize = keepStackSize(); | ||
3016 | } | ||
3017 | : | ||
3018 | rule__Atom__Group__4__Impl | ||
3019 | ; | ||
3020 | finally { | ||
3021 | restoreStackSize(stackSize); | ||
3022 | } | ||
3023 | |||
3024 | rule__Atom__Group__4__Impl | ||
3025 | @init { | ||
3026 | int stackSize = keepStackSize(); | ||
3027 | } | ||
3028 | : | ||
3029 | ( | ||
3030 | { before(grammarAccess.getAtomAccess().getRightParenthesisKeyword_4()); } | ||
3031 | ')' | ||
3032 | { after(grammarAccess.getAtomAccess().getRightParenthesisKeyword_4()); } | ||
3033 | ) | ||
3034 | ; | ||
3035 | finally { | ||
3036 | restoreStackSize(stackSize); | ||
3037 | } | ||
3038 | |||
3039 | |||
3040 | rule__Atom__Group_3__0 | ||
3041 | @init { | ||
3042 | int stackSize = keepStackSize(); | ||
3043 | } | ||
3044 | : | ||
3045 | rule__Atom__Group_3__0__Impl | ||
3046 | rule__Atom__Group_3__1 | ||
3047 | ; | ||
3048 | finally { | ||
3049 | restoreStackSize(stackSize); | ||
3050 | } | ||
3051 | |||
3052 | rule__Atom__Group_3__0__Impl | ||
3053 | @init { | ||
3054 | int stackSize = keepStackSize(); | ||
3055 | } | ||
3056 | : | ||
3057 | ( | ||
3058 | { before(grammarAccess.getAtomAccess().getArgumentsAssignment_3_0()); } | ||
3059 | (rule__Atom__ArgumentsAssignment_3_0) | ||
3060 | { after(grammarAccess.getAtomAccess().getArgumentsAssignment_3_0()); } | ||
3061 | ) | ||
3062 | ; | ||
3063 | finally { | ||
3064 | restoreStackSize(stackSize); | ||
3065 | } | ||
3066 | |||
3067 | rule__Atom__Group_3__1 | ||
3068 | @init { | ||
3069 | int stackSize = keepStackSize(); | ||
3070 | } | ||
3071 | : | ||
3072 | rule__Atom__Group_3__1__Impl | ||
3073 | ; | ||
3074 | finally { | ||
3075 | restoreStackSize(stackSize); | ||
3076 | } | ||
3077 | |||
3078 | rule__Atom__Group_3__1__Impl | ||
3079 | @init { | ||
3080 | int stackSize = keepStackSize(); | ||
3081 | } | ||
3082 | : | ||
3083 | ( | ||
3084 | { before(grammarAccess.getAtomAccess().getGroup_3_1()); } | ||
3085 | (rule__Atom__Group_3_1__0)* | ||
3086 | { after(grammarAccess.getAtomAccess().getGroup_3_1()); } | ||
3087 | ) | ||
3088 | ; | ||
3089 | finally { | ||
3090 | restoreStackSize(stackSize); | ||
3091 | } | ||
3092 | |||
3093 | |||
3094 | rule__Atom__Group_3_1__0 | ||
3095 | @init { | ||
3096 | int stackSize = keepStackSize(); | ||
3097 | } | ||
3098 | : | ||
3099 | rule__Atom__Group_3_1__0__Impl | ||
3100 | rule__Atom__Group_3_1__1 | ||
3101 | ; | ||
3102 | finally { | ||
3103 | restoreStackSize(stackSize); | ||
3104 | } | ||
3105 | |||
3106 | rule__Atom__Group_3_1__0__Impl | ||
3107 | @init { | ||
3108 | int stackSize = keepStackSize(); | ||
3109 | } | ||
3110 | : | ||
3111 | ( | ||
3112 | { before(grammarAccess.getAtomAccess().getCommaKeyword_3_1_0()); } | ||
3113 | ',' | ||
3114 | { after(grammarAccess.getAtomAccess().getCommaKeyword_3_1_0()); } | ||
3115 | ) | ||
3116 | ; | ||
3117 | finally { | ||
3118 | restoreStackSize(stackSize); | ||
3119 | } | ||
3120 | |||
3121 | rule__Atom__Group_3_1__1 | ||
3122 | @init { | ||
3123 | int stackSize = keepStackSize(); | ||
3124 | } | ||
3125 | : | ||
3126 | rule__Atom__Group_3_1__1__Impl | ||
3127 | ; | ||
3128 | finally { | ||
3129 | restoreStackSize(stackSize); | ||
3130 | } | ||
3131 | |||
3132 | rule__Atom__Group_3_1__1__Impl | ||
3133 | @init { | ||
3134 | int stackSize = keepStackSize(); | ||
3135 | } | ||
3136 | : | ||
3137 | ( | ||
3138 | { before(grammarAccess.getAtomAccess().getArgumentsAssignment_3_1_1()); } | ||
3139 | (rule__Atom__ArgumentsAssignment_3_1_1) | ||
3140 | { after(grammarAccess.getAtomAccess().getArgumentsAssignment_3_1_1()); } | ||
3141 | ) | ||
3142 | ; | ||
3143 | finally { | ||
3144 | restoreStackSize(stackSize); | ||
3145 | } | ||
3146 | |||
3147 | |||
3148 | rule__Assertion__Group__0 | ||
3149 | @init { | ||
3150 | int stackSize = keepStackSize(); | ||
3151 | } | ||
3152 | : | ||
3153 | rule__Assertion__Group__0__Impl | ||
3154 | rule__Assertion__Group__1 | ||
3155 | ; | ||
3156 | finally { | ||
3157 | restoreStackSize(stackSize); | ||
3158 | } | ||
3159 | |||
3160 | rule__Assertion__Group__0__Impl | ||
3161 | @init { | ||
3162 | int stackSize = keepStackSize(); | ||
3163 | } | ||
3164 | : | ||
3165 | ( | ||
3166 | { before(grammarAccess.getAssertionAccess().getAlternatives_0()); } | ||
3167 | (rule__Assertion__Alternatives_0) | ||
3168 | { after(grammarAccess.getAssertionAccess().getAlternatives_0()); } | ||
3169 | ) | ||
3170 | ; | ||
3171 | finally { | ||
3172 | restoreStackSize(stackSize); | ||
3173 | } | ||
3174 | |||
3175 | rule__Assertion__Group__1 | ||
3176 | @init { | ||
3177 | int stackSize = keepStackSize(); | ||
3178 | } | ||
3179 | : | ||
3180 | rule__Assertion__Group__1__Impl | ||
3181 | ; | ||
3182 | finally { | ||
3183 | restoreStackSize(stackSize); | ||
3184 | } | ||
3185 | |||
3186 | rule__Assertion__Group__1__Impl | ||
3187 | @init { | ||
3188 | int stackSize = keepStackSize(); | ||
3189 | } | ||
3190 | : | ||
3191 | ( | ||
3192 | { before(grammarAccess.getAssertionAccess().getFullStopKeyword_1()); } | ||
3193 | '.' | ||
3194 | { after(grammarAccess.getAssertionAccess().getFullStopKeyword_1()); } | ||
3195 | ) | ||
3196 | ; | ||
3197 | finally { | ||
3198 | restoreStackSize(stackSize); | ||
3199 | } | ||
3200 | |||
3201 | |||
3202 | rule__Assertion__Group_0_0__0 | ||
3203 | @init { | ||
3204 | int stackSize = keepStackSize(); | ||
3205 | } | ||
3206 | : | ||
3207 | rule__Assertion__Group_0_0__0__Impl | ||
3208 | rule__Assertion__Group_0_0__1 | ||
3209 | ; | ||
3210 | finally { | ||
3211 | restoreStackSize(stackSize); | ||
3212 | } | ||
3213 | |||
3214 | rule__Assertion__Group_0_0__0__Impl | ||
3215 | @init { | ||
3216 | int stackSize = keepStackSize(); | ||
3217 | } | ||
3218 | : | ||
3219 | ( | ||
3220 | { before(grammarAccess.getAssertionAccess().getRelationAssignment_0_0_0()); } | ||
3221 | (rule__Assertion__RelationAssignment_0_0_0) | ||
3222 | { after(grammarAccess.getAssertionAccess().getRelationAssignment_0_0_0()); } | ||
3223 | ) | ||
3224 | ; | ||
3225 | finally { | ||
3226 | restoreStackSize(stackSize); | ||
3227 | } | ||
3228 | |||
3229 | rule__Assertion__Group_0_0__1 | ||
3230 | @init { | ||
3231 | int stackSize = keepStackSize(); | ||
3232 | } | ||
3233 | : | ||
3234 | rule__Assertion__Group_0_0__1__Impl | ||
3235 | rule__Assertion__Group_0_0__2 | ||
3236 | ; | ||
3237 | finally { | ||
3238 | restoreStackSize(stackSize); | ||
3239 | } | ||
3240 | |||
3241 | rule__Assertion__Group_0_0__1__Impl | ||
3242 | @init { | ||
3243 | int stackSize = keepStackSize(); | ||
3244 | } | ||
3245 | : | ||
3246 | ( | ||
3247 | { before(grammarAccess.getAssertionAccess().getLeftParenthesisKeyword_0_0_1()); } | ||
3248 | '(' | ||
3249 | { after(grammarAccess.getAssertionAccess().getLeftParenthesisKeyword_0_0_1()); } | ||
3250 | ) | ||
3251 | ; | ||
3252 | finally { | ||
3253 | restoreStackSize(stackSize); | ||
3254 | } | ||
3255 | |||
3256 | rule__Assertion__Group_0_0__2 | ||
3257 | @init { | ||
3258 | int stackSize = keepStackSize(); | ||
3259 | } | ||
3260 | : | ||
3261 | rule__Assertion__Group_0_0__2__Impl | ||
3262 | rule__Assertion__Group_0_0__3 | ||
3263 | ; | ||
3264 | finally { | ||
3265 | restoreStackSize(stackSize); | ||
3266 | } | ||
3267 | |||
3268 | rule__Assertion__Group_0_0__2__Impl | ||
3269 | @init { | ||
3270 | int stackSize = keepStackSize(); | ||
3271 | } | ||
3272 | : | ||
3273 | ( | ||
3274 | { before(grammarAccess.getAssertionAccess().getGroup_0_0_2()); } | ||
3275 | (rule__Assertion__Group_0_0_2__0)? | ||
3276 | { after(grammarAccess.getAssertionAccess().getGroup_0_0_2()); } | ||
3277 | ) | ||
3278 | ; | ||
3279 | finally { | ||
3280 | restoreStackSize(stackSize); | ||
3281 | } | ||
3282 | |||
3283 | rule__Assertion__Group_0_0__3 | ||
3284 | @init { | ||
3285 | int stackSize = keepStackSize(); | ||
3286 | } | ||
3287 | : | ||
3288 | rule__Assertion__Group_0_0__3__Impl | ||
3289 | rule__Assertion__Group_0_0__4 | ||
3290 | ; | ||
3291 | finally { | ||
3292 | restoreStackSize(stackSize); | ||
3293 | } | ||
3294 | |||
3295 | rule__Assertion__Group_0_0__3__Impl | ||
3296 | @init { | ||
3297 | int stackSize = keepStackSize(); | ||
3298 | } | ||
3299 | : | ||
3300 | ( | ||
3301 | { before(grammarAccess.getAssertionAccess().getRightParenthesisKeyword_0_0_3()); } | ||
3302 | ')' | ||
3303 | { after(grammarAccess.getAssertionAccess().getRightParenthesisKeyword_0_0_3()); } | ||
3304 | ) | ||
3305 | ; | ||
3306 | finally { | ||
3307 | restoreStackSize(stackSize); | ||
3308 | } | ||
3309 | |||
3310 | rule__Assertion__Group_0_0__4 | ||
3311 | @init { | ||
3312 | int stackSize = keepStackSize(); | ||
3313 | } | ||
3314 | : | ||
3315 | rule__Assertion__Group_0_0__4__Impl | ||
3316 | rule__Assertion__Group_0_0__5 | ||
3317 | ; | ||
3318 | finally { | ||
3319 | restoreStackSize(stackSize); | ||
3320 | } | ||
3321 | |||
3322 | rule__Assertion__Group_0_0__4__Impl | ||
3323 | @init { | ||
3324 | int stackSize = keepStackSize(); | ||
3325 | } | ||
3326 | : | ||
3327 | ( | ||
3328 | { before(grammarAccess.getAssertionAccess().getColonKeyword_0_0_4()); } | ||
3329 | ':' | ||
3330 | { after(grammarAccess.getAssertionAccess().getColonKeyword_0_0_4()); } | ||
3331 | ) | ||
3332 | ; | ||
3333 | finally { | ||
3334 | restoreStackSize(stackSize); | ||
3335 | } | ||
3336 | |||
3337 | rule__Assertion__Group_0_0__5 | ||
3338 | @init { | ||
3339 | int stackSize = keepStackSize(); | ||
3340 | } | ||
3341 | : | ||
3342 | rule__Assertion__Group_0_0__5__Impl | ||
3343 | ; | ||
3344 | finally { | ||
3345 | restoreStackSize(stackSize); | ||
3346 | } | ||
3347 | |||
3348 | rule__Assertion__Group_0_0__5__Impl | ||
3349 | @init { | ||
3350 | int stackSize = keepStackSize(); | ||
3351 | } | ||
3352 | : | ||
3353 | ( | ||
3354 | { before(grammarAccess.getAssertionAccess().getValueAssignment_0_0_5()); } | ||
3355 | (rule__Assertion__ValueAssignment_0_0_5) | ||
3356 | { after(grammarAccess.getAssertionAccess().getValueAssignment_0_0_5()); } | ||
3357 | ) | ||
3358 | ; | ||
3359 | finally { | ||
3360 | restoreStackSize(stackSize); | ||
3361 | } | ||
3362 | |||
3363 | |||
3364 | rule__Assertion__Group_0_0_2__0 | ||
3365 | @init { | ||
3366 | int stackSize = keepStackSize(); | ||
3367 | } | ||
3368 | : | ||
3369 | rule__Assertion__Group_0_0_2__0__Impl | ||
3370 | rule__Assertion__Group_0_0_2__1 | ||
3371 | ; | ||
3372 | finally { | ||
3373 | restoreStackSize(stackSize); | ||
3374 | } | ||
3375 | |||
3376 | rule__Assertion__Group_0_0_2__0__Impl | ||
3377 | @init { | ||
3378 | int stackSize = keepStackSize(); | ||
3379 | } | ||
3380 | : | ||
3381 | ( | ||
3382 | { before(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_0_2_0()); } | ||
3383 | (rule__Assertion__ArgumentsAssignment_0_0_2_0) | ||
3384 | { after(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_0_2_0()); } | ||
3385 | ) | ||
3386 | ; | ||
3387 | finally { | ||
3388 | restoreStackSize(stackSize); | ||
3389 | } | ||
3390 | |||
3391 | rule__Assertion__Group_0_0_2__1 | ||
3392 | @init { | ||
3393 | int stackSize = keepStackSize(); | ||
3394 | } | ||
3395 | : | ||
3396 | rule__Assertion__Group_0_0_2__1__Impl | ||
3397 | ; | ||
3398 | finally { | ||
3399 | restoreStackSize(stackSize); | ||
3400 | } | ||
3401 | |||
3402 | rule__Assertion__Group_0_0_2__1__Impl | ||
3403 | @init { | ||
3404 | int stackSize = keepStackSize(); | ||
3405 | } | ||
3406 | : | ||
3407 | ( | ||
3408 | { before(grammarAccess.getAssertionAccess().getGroup_0_0_2_1()); } | ||
3409 | (rule__Assertion__Group_0_0_2_1__0)* | ||
3410 | { after(grammarAccess.getAssertionAccess().getGroup_0_0_2_1()); } | ||
3411 | ) | ||
3412 | ; | ||
3413 | finally { | ||
3414 | restoreStackSize(stackSize); | ||
3415 | } | ||
3416 | |||
3417 | |||
3418 | rule__Assertion__Group_0_0_2_1__0 | ||
3419 | @init { | ||
3420 | int stackSize = keepStackSize(); | ||
3421 | } | ||
3422 | : | ||
3423 | rule__Assertion__Group_0_0_2_1__0__Impl | ||
3424 | rule__Assertion__Group_0_0_2_1__1 | ||
3425 | ; | ||
3426 | finally { | ||
3427 | restoreStackSize(stackSize); | ||
3428 | } | ||
3429 | |||
3430 | rule__Assertion__Group_0_0_2_1__0__Impl | ||
3431 | @init { | ||
3432 | int stackSize = keepStackSize(); | ||
3433 | } | ||
3434 | : | ||
3435 | ( | ||
3436 | { before(grammarAccess.getAssertionAccess().getCommaKeyword_0_0_2_1_0()); } | ||
3437 | ',' | ||
3438 | { after(grammarAccess.getAssertionAccess().getCommaKeyword_0_0_2_1_0()); } | ||
3439 | ) | ||
3440 | ; | ||
3441 | finally { | ||
3442 | restoreStackSize(stackSize); | ||
3443 | } | ||
3444 | |||
3445 | rule__Assertion__Group_0_0_2_1__1 | ||
3446 | @init { | ||
3447 | int stackSize = keepStackSize(); | ||
3448 | } | ||
3449 | : | ||
3450 | rule__Assertion__Group_0_0_2_1__1__Impl | ||
3451 | ; | ||
3452 | finally { | ||
3453 | restoreStackSize(stackSize); | ||
3454 | } | ||
3455 | |||
3456 | rule__Assertion__Group_0_0_2_1__1__Impl | ||
3457 | @init { | ||
3458 | int stackSize = keepStackSize(); | ||
3459 | } | ||
3460 | : | ||
3461 | ( | ||
3462 | { before(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_0_2_1_1()); } | ||
3463 | (rule__Assertion__ArgumentsAssignment_0_0_2_1_1) | ||
3464 | { after(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_0_2_1_1()); } | ||
3465 | ) | ||
3466 | ; | ||
3467 | finally { | ||
3468 | restoreStackSize(stackSize); | ||
3469 | } | ||
3470 | |||
3471 | |||
3472 | rule__Assertion__Group_0_1__0 | ||
3473 | @init { | ||
3474 | int stackSize = keepStackSize(); | ||
3475 | } | ||
3476 | : | ||
3477 | rule__Assertion__Group_0_1__0__Impl | ||
3478 | rule__Assertion__Group_0_1__1 | ||
3479 | ; | ||
3480 | finally { | ||
3481 | restoreStackSize(stackSize); | ||
3482 | } | ||
3483 | |||
3484 | rule__Assertion__Group_0_1__0__Impl | ||
3485 | @init { | ||
3486 | int stackSize = keepStackSize(); | ||
3487 | } | ||
3488 | : | ||
3489 | ( | ||
3490 | { before(grammarAccess.getAssertionAccess().getValueAssignment_0_1_0()); } | ||
3491 | (rule__Assertion__ValueAssignment_0_1_0)? | ||
3492 | { after(grammarAccess.getAssertionAccess().getValueAssignment_0_1_0()); } | ||
3493 | ) | ||
3494 | ; | ||
3495 | finally { | ||
3496 | restoreStackSize(stackSize); | ||
3497 | } | ||
3498 | |||
3499 | rule__Assertion__Group_0_1__1 | ||
3500 | @init { | ||
3501 | int stackSize = keepStackSize(); | ||
3502 | } | ||
3503 | : | ||
3504 | rule__Assertion__Group_0_1__1__Impl | ||
3505 | rule__Assertion__Group_0_1__2 | ||
3506 | ; | ||
3507 | finally { | ||
3508 | restoreStackSize(stackSize); | ||
3509 | } | ||
3510 | |||
3511 | rule__Assertion__Group_0_1__1__Impl | ||
3512 | @init { | ||
3513 | int stackSize = keepStackSize(); | ||
3514 | } | ||
3515 | : | ||
3516 | ( | ||
3517 | { before(grammarAccess.getAssertionAccess().getRelationAssignment_0_1_1()); } | ||
3518 | (rule__Assertion__RelationAssignment_0_1_1) | ||
3519 | { after(grammarAccess.getAssertionAccess().getRelationAssignment_0_1_1()); } | ||
3520 | ) | ||
3521 | ; | ||
3522 | finally { | ||
3523 | restoreStackSize(stackSize); | ||
3524 | } | ||
3525 | |||
3526 | rule__Assertion__Group_0_1__2 | ||
3527 | @init { | ||
3528 | int stackSize = keepStackSize(); | ||
3529 | } | ||
3530 | : | ||
3531 | rule__Assertion__Group_0_1__2__Impl | ||
3532 | rule__Assertion__Group_0_1__3 | ||
3533 | ; | ||
3534 | finally { | ||
3535 | restoreStackSize(stackSize); | ||
3536 | } | ||
3537 | |||
3538 | rule__Assertion__Group_0_1__2__Impl | ||
3539 | @init { | ||
3540 | int stackSize = keepStackSize(); | ||
3541 | } | ||
3542 | : | ||
3543 | ( | ||
3544 | { before(grammarAccess.getAssertionAccess().getLeftParenthesisKeyword_0_1_2()); } | ||
3545 | '(' | ||
3546 | { after(grammarAccess.getAssertionAccess().getLeftParenthesisKeyword_0_1_2()); } | ||
3547 | ) | ||
3548 | ; | ||
3549 | finally { | ||
3550 | restoreStackSize(stackSize); | ||
3551 | } | ||
3552 | |||
3553 | rule__Assertion__Group_0_1__3 | ||
3554 | @init { | ||
3555 | int stackSize = keepStackSize(); | ||
3556 | } | ||
3557 | : | ||
3558 | rule__Assertion__Group_0_1__3__Impl | ||
3559 | rule__Assertion__Group_0_1__4 | ||
3560 | ; | ||
3561 | finally { | ||
3562 | restoreStackSize(stackSize); | ||
3563 | } | ||
3564 | |||
3565 | rule__Assertion__Group_0_1__3__Impl | ||
3566 | @init { | ||
3567 | int stackSize = keepStackSize(); | ||
3568 | } | ||
3569 | : | ||
3570 | ( | ||
3571 | { before(grammarAccess.getAssertionAccess().getGroup_0_1_3()); } | ||
3572 | (rule__Assertion__Group_0_1_3__0)? | ||
3573 | { after(grammarAccess.getAssertionAccess().getGroup_0_1_3()); } | ||
3574 | ) | ||
3575 | ; | ||
3576 | finally { | ||
3577 | restoreStackSize(stackSize); | ||
3578 | } | ||
3579 | |||
3580 | rule__Assertion__Group_0_1__4 | ||
3581 | @init { | ||
3582 | int stackSize = keepStackSize(); | ||
3583 | } | ||
3584 | : | ||
3585 | rule__Assertion__Group_0_1__4__Impl | ||
3586 | ; | ||
3587 | finally { | ||
3588 | restoreStackSize(stackSize); | ||
3589 | } | ||
3590 | |||
3591 | rule__Assertion__Group_0_1__4__Impl | ||
3592 | @init { | ||
3593 | int stackSize = keepStackSize(); | ||
3594 | } | ||
3595 | : | ||
3596 | ( | ||
3597 | { before(grammarAccess.getAssertionAccess().getRightParenthesisKeyword_0_1_4()); } | ||
3598 | ')' | ||
3599 | { after(grammarAccess.getAssertionAccess().getRightParenthesisKeyword_0_1_4()); } | ||
3600 | ) | ||
3601 | ; | ||
3602 | finally { | ||
3603 | restoreStackSize(stackSize); | ||
3604 | } | ||
3605 | |||
3606 | |||
3607 | rule__Assertion__Group_0_1_3__0 | ||
3608 | @init { | ||
3609 | int stackSize = keepStackSize(); | ||
3610 | } | ||
3611 | : | ||
3612 | rule__Assertion__Group_0_1_3__0__Impl | ||
3613 | rule__Assertion__Group_0_1_3__1 | ||
3614 | ; | ||
3615 | finally { | ||
3616 | restoreStackSize(stackSize); | ||
3617 | } | ||
3618 | |||
3619 | rule__Assertion__Group_0_1_3__0__Impl | ||
3620 | @init { | ||
3621 | int stackSize = keepStackSize(); | ||
3622 | } | ||
3623 | : | ||
3624 | ( | ||
3625 | { before(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_1_3_0()); } | ||
3626 | (rule__Assertion__ArgumentsAssignment_0_1_3_0) | ||
3627 | { after(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_1_3_0()); } | ||
3628 | ) | ||
3629 | ; | ||
3630 | finally { | ||
3631 | restoreStackSize(stackSize); | ||
3632 | } | ||
3633 | |||
3634 | rule__Assertion__Group_0_1_3__1 | ||
3635 | @init { | ||
3636 | int stackSize = keepStackSize(); | ||
3637 | } | ||
3638 | : | ||
3639 | rule__Assertion__Group_0_1_3__1__Impl | ||
3640 | ; | ||
3641 | finally { | ||
3642 | restoreStackSize(stackSize); | ||
3643 | } | ||
3644 | |||
3645 | rule__Assertion__Group_0_1_3__1__Impl | ||
3646 | @init { | ||
3647 | int stackSize = keepStackSize(); | ||
3648 | } | ||
3649 | : | ||
3650 | ( | ||
3651 | { before(grammarAccess.getAssertionAccess().getGroup_0_1_3_1()); } | ||
3652 | (rule__Assertion__Group_0_1_3_1__0)* | ||
3653 | { after(grammarAccess.getAssertionAccess().getGroup_0_1_3_1()); } | ||
3654 | ) | ||
3655 | ; | ||
3656 | finally { | ||
3657 | restoreStackSize(stackSize); | ||
3658 | } | ||
3659 | |||
3660 | |||
3661 | rule__Assertion__Group_0_1_3_1__0 | ||
3662 | @init { | ||
3663 | int stackSize = keepStackSize(); | ||
3664 | } | ||
3665 | : | ||
3666 | rule__Assertion__Group_0_1_3_1__0__Impl | ||
3667 | rule__Assertion__Group_0_1_3_1__1 | ||
3668 | ; | ||
3669 | finally { | ||
3670 | restoreStackSize(stackSize); | ||
3671 | } | ||
3672 | |||
3673 | rule__Assertion__Group_0_1_3_1__0__Impl | ||
3674 | @init { | ||
3675 | int stackSize = keepStackSize(); | ||
3676 | } | ||
3677 | : | ||
3678 | ( | ||
3679 | { before(grammarAccess.getAssertionAccess().getCommaKeyword_0_1_3_1_0()); } | ||
3680 | ',' | ||
3681 | { after(grammarAccess.getAssertionAccess().getCommaKeyword_0_1_3_1_0()); } | ||
3682 | ) | ||
3683 | ; | ||
3684 | finally { | ||
3685 | restoreStackSize(stackSize); | ||
3686 | } | ||
3687 | |||
3688 | rule__Assertion__Group_0_1_3_1__1 | ||
3689 | @init { | ||
3690 | int stackSize = keepStackSize(); | ||
3691 | } | ||
3692 | : | ||
3693 | rule__Assertion__Group_0_1_3_1__1__Impl | ||
3694 | ; | ||
3695 | finally { | ||
3696 | restoreStackSize(stackSize); | ||
3697 | } | ||
3698 | |||
3699 | rule__Assertion__Group_0_1_3_1__1__Impl | ||
3700 | @init { | ||
3701 | int stackSize = keepStackSize(); | ||
3702 | } | ||
3703 | : | ||
3704 | ( | ||
3705 | { before(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_1_3_1_1()); } | ||
3706 | (rule__Assertion__ArgumentsAssignment_0_1_3_1_1) | ||
3707 | { after(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_1_3_1_1()); } | ||
3708 | ) | ||
3709 | ; | ||
3710 | finally { | ||
3711 | restoreStackSize(stackSize); | ||
3712 | } | ||
3713 | |||
3714 | |||
3715 | rule__ScopeDeclaration__Group__0 | ||
3716 | @init { | ||
3717 | int stackSize = keepStackSize(); | ||
3718 | } | ||
3719 | : | ||
3720 | rule__ScopeDeclaration__Group__0__Impl | ||
3721 | rule__ScopeDeclaration__Group__1 | ||
3722 | ; | ||
3723 | finally { | ||
3724 | restoreStackSize(stackSize); | ||
3725 | } | ||
3726 | |||
3727 | rule__ScopeDeclaration__Group__0__Impl | ||
3728 | @init { | ||
3729 | int stackSize = keepStackSize(); | ||
3730 | } | ||
3731 | : | ||
3732 | ( | ||
3733 | { before(grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); } | ||
3734 | 'scope' | ||
3735 | { after(grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); } | ||
3736 | ) | ||
3737 | ; | ||
3738 | finally { | ||
3739 | restoreStackSize(stackSize); | ||
3740 | } | ||
3741 | |||
3742 | rule__ScopeDeclaration__Group__1 | ||
3743 | @init { | ||
3744 | int stackSize = keepStackSize(); | ||
3745 | } | ||
3746 | : | ||
3747 | rule__ScopeDeclaration__Group__1__Impl | ||
3748 | rule__ScopeDeclaration__Group__2 | ||
3749 | ; | ||
3750 | finally { | ||
3751 | restoreStackSize(stackSize); | ||
3752 | } | ||
3753 | |||
3754 | rule__ScopeDeclaration__Group__1__Impl | ||
3755 | @init { | ||
3756 | int stackSize = keepStackSize(); | ||
3757 | } | ||
3758 | : | ||
3759 | ( | ||
3760 | { before(grammarAccess.getScopeDeclarationAccess().getTypeScopesAssignment_1()); } | ||
3761 | (rule__ScopeDeclaration__TypeScopesAssignment_1) | ||
3762 | { after(grammarAccess.getScopeDeclarationAccess().getTypeScopesAssignment_1()); } | ||
3763 | ) | ||
3764 | ; | ||
3765 | finally { | ||
3766 | restoreStackSize(stackSize); | ||
3767 | } | ||
3768 | |||
3769 | rule__ScopeDeclaration__Group__2 | ||
3770 | @init { | ||
3771 | int stackSize = keepStackSize(); | ||
3772 | } | ||
3773 | : | ||
3774 | rule__ScopeDeclaration__Group__2__Impl | ||
3775 | rule__ScopeDeclaration__Group__3 | ||
3776 | ; | ||
3777 | finally { | ||
3778 | restoreStackSize(stackSize); | ||
3779 | } | ||
3780 | |||
3781 | rule__ScopeDeclaration__Group__2__Impl | ||
3782 | @init { | ||
3783 | int stackSize = keepStackSize(); | ||
3784 | } | ||
3785 | : | ||
3786 | ( | ||
3787 | { before(grammarAccess.getScopeDeclarationAccess().getGroup_2()); } | ||
3788 | (rule__ScopeDeclaration__Group_2__0)* | ||
3789 | { after(grammarAccess.getScopeDeclarationAccess().getGroup_2()); } | ||
3790 | ) | ||
3791 | ; | ||
3792 | finally { | ||
3793 | restoreStackSize(stackSize); | ||
3794 | } | ||
3795 | |||
3796 | rule__ScopeDeclaration__Group__3 | ||
3797 | @init { | ||
3798 | int stackSize = keepStackSize(); | ||
3799 | } | ||
3800 | : | ||
3801 | rule__ScopeDeclaration__Group__3__Impl | ||
3802 | ; | ||
3803 | finally { | ||
3804 | restoreStackSize(stackSize); | ||
3805 | } | ||
3806 | |||
3807 | rule__ScopeDeclaration__Group__3__Impl | ||
3808 | @init { | ||
3809 | int stackSize = keepStackSize(); | ||
3810 | } | ||
3811 | : | ||
3812 | ( | ||
3813 | { before(grammarAccess.getScopeDeclarationAccess().getFullStopKeyword_3()); } | ||
3814 | '.' | ||
3815 | { after(grammarAccess.getScopeDeclarationAccess().getFullStopKeyword_3()); } | ||
3816 | ) | ||
3817 | ; | ||
3818 | finally { | ||
3819 | restoreStackSize(stackSize); | ||
3820 | } | ||
3821 | |||
3822 | |||
3823 | rule__ScopeDeclaration__Group_2__0 | ||
3824 | @init { | ||
3825 | int stackSize = keepStackSize(); | ||
3826 | } | ||
3827 | : | ||
3828 | rule__ScopeDeclaration__Group_2__0__Impl | ||
3829 | rule__ScopeDeclaration__Group_2__1 | ||
3830 | ; | ||
3831 | finally { | ||
3832 | restoreStackSize(stackSize); | ||
3833 | } | ||
3834 | |||
3835 | rule__ScopeDeclaration__Group_2__0__Impl | ||
3836 | @init { | ||
3837 | int stackSize = keepStackSize(); | ||
3838 | } | ||
3839 | : | ||
3840 | ( | ||
3841 | { before(grammarAccess.getScopeDeclarationAccess().getCommaKeyword_2_0()); } | ||
3842 | ',' | ||
3843 | { after(grammarAccess.getScopeDeclarationAccess().getCommaKeyword_2_0()); } | ||
3844 | ) | ||
3845 | ; | ||
3846 | finally { | ||
3847 | restoreStackSize(stackSize); | ||
3848 | } | ||
3849 | |||
3850 | rule__ScopeDeclaration__Group_2__1 | ||
3851 | @init { | ||
3852 | int stackSize = keepStackSize(); | ||
3853 | } | ||
3854 | : | ||
3855 | rule__ScopeDeclaration__Group_2__1__Impl | ||
3856 | ; | ||
3857 | finally { | ||
3858 | restoreStackSize(stackSize); | ||
3859 | } | ||
3860 | |||
3861 | rule__ScopeDeclaration__Group_2__1__Impl | ||
3862 | @init { | ||
3863 | int stackSize = keepStackSize(); | ||
3864 | } | ||
3865 | : | ||
3866 | ( | ||
3867 | { before(grammarAccess.getScopeDeclarationAccess().getTypeScopesAssignment_2_1()); } | ||
3868 | (rule__ScopeDeclaration__TypeScopesAssignment_2_1) | ||
3869 | { after(grammarAccess.getScopeDeclarationAccess().getTypeScopesAssignment_2_1()); } | ||
3870 | ) | ||
3871 | ; | ||
3872 | finally { | ||
3873 | restoreStackSize(stackSize); | ||
3874 | } | ||
3875 | |||
3876 | |||
3877 | rule__TypeScope__Group__0 | ||
3878 | @init { | ||
3879 | int stackSize = keepStackSize(); | ||
3880 | } | ||
3881 | : | ||
3882 | rule__TypeScope__Group__0__Impl | ||
3883 | rule__TypeScope__Group__1 | ||
3884 | ; | ||
3885 | finally { | ||
3886 | restoreStackSize(stackSize); | ||
3887 | } | ||
3888 | |||
3889 | rule__TypeScope__Group__0__Impl | ||
3890 | @init { | ||
3891 | int stackSize = keepStackSize(); | ||
3892 | } | ||
3893 | : | ||
3894 | ( | ||
3895 | { before(grammarAccess.getTypeScopeAccess().getTargetTypeAssignment_0()); } | ||
3896 | (rule__TypeScope__TargetTypeAssignment_0) | ||
3897 | { after(grammarAccess.getTypeScopeAccess().getTargetTypeAssignment_0()); } | ||
3898 | ) | ||
3899 | ; | ||
3900 | finally { | ||
3901 | restoreStackSize(stackSize); | ||
3902 | } | ||
3903 | |||
3904 | rule__TypeScope__Group__1 | ||
3905 | @init { | ||
3906 | int stackSize = keepStackSize(); | ||
3907 | } | ||
3908 | : | ||
3909 | rule__TypeScope__Group__1__Impl | ||
3910 | rule__TypeScope__Group__2 | ||
3911 | ; | ||
3912 | finally { | ||
3913 | restoreStackSize(stackSize); | ||
3914 | } | ||
3915 | |||
3916 | rule__TypeScope__Group__1__Impl | ||
3917 | @init { | ||
3918 | int stackSize = keepStackSize(); | ||
3919 | } | ||
3920 | : | ||
3921 | ( | ||
3922 | { before(grammarAccess.getTypeScopeAccess().getAlternatives_1()); } | ||
3923 | (rule__TypeScope__Alternatives_1) | ||
3924 | { after(grammarAccess.getTypeScopeAccess().getAlternatives_1()); } | ||
3925 | ) | ||
3926 | ; | ||
3927 | finally { | ||
3928 | restoreStackSize(stackSize); | ||
3929 | } | ||
3930 | |||
3931 | rule__TypeScope__Group__2 | ||
3932 | @init { | ||
3933 | int stackSize = keepStackSize(); | ||
3934 | } | ||
3935 | : | ||
3936 | rule__TypeScope__Group__2__Impl | ||
3937 | ; | ||
3938 | finally { | ||
3939 | restoreStackSize(stackSize); | ||
3940 | } | ||
3941 | |||
3942 | rule__TypeScope__Group__2__Impl | ||
3943 | @init { | ||
3944 | int stackSize = keepStackSize(); | ||
3945 | } | ||
3946 | : | ||
3947 | ( | ||
3948 | { before(grammarAccess.getTypeScopeAccess().getMultiplicityAssignment_2()); } | ||
3949 | (rule__TypeScope__MultiplicityAssignment_2) | ||
3950 | { after(grammarAccess.getTypeScopeAccess().getMultiplicityAssignment_2()); } | ||
3951 | ) | ||
3952 | ; | ||
3953 | finally { | ||
3954 | restoreStackSize(stackSize); | ||
3955 | } | ||
3956 | |||
3957 | |||
3958 | rule__RangeMultiplicity__Group__0 | ||
3959 | @init { | ||
3960 | int stackSize = keepStackSize(); | ||
3961 | } | ||
3962 | : | ||
3963 | rule__RangeMultiplicity__Group__0__Impl | ||
3964 | rule__RangeMultiplicity__Group__1 | ||
3965 | ; | ||
3966 | finally { | ||
3967 | restoreStackSize(stackSize); | ||
3968 | } | ||
3969 | |||
3970 | rule__RangeMultiplicity__Group__0__Impl | ||
3971 | @init { | ||
3972 | int stackSize = keepStackSize(); | ||
3973 | } | ||
3974 | : | ||
3975 | ( | ||
3976 | { before(grammarAccess.getRangeMultiplicityAccess().getLowerBoundAssignment_0()); } | ||
3977 | (rule__RangeMultiplicity__LowerBoundAssignment_0) | ||
3978 | { after(grammarAccess.getRangeMultiplicityAccess().getLowerBoundAssignment_0()); } | ||
3979 | ) | ||
3980 | ; | ||
3981 | finally { | ||
3982 | restoreStackSize(stackSize); | ||
3983 | } | ||
3984 | |||
3985 | rule__RangeMultiplicity__Group__1 | ||
3986 | @init { | ||
3987 | int stackSize = keepStackSize(); | ||
3988 | } | ||
3989 | : | ||
3990 | rule__RangeMultiplicity__Group__1__Impl | ||
3991 | rule__RangeMultiplicity__Group__2 | ||
3992 | ; | ||
3993 | finally { | ||
3994 | restoreStackSize(stackSize); | ||
3995 | } | ||
3996 | |||
3997 | rule__RangeMultiplicity__Group__1__Impl | ||
3998 | @init { | ||
3999 | int stackSize = keepStackSize(); | ||
4000 | } | ||
4001 | : | ||
4002 | ( | ||
4003 | { before(grammarAccess.getRangeMultiplicityAccess().getFullStopFullStopKeyword_1()); } | ||
4004 | '..' | ||
4005 | { after(grammarAccess.getRangeMultiplicityAccess().getFullStopFullStopKeyword_1()); } | ||
4006 | ) | ||
4007 | ; | ||
4008 | finally { | ||
4009 | restoreStackSize(stackSize); | ||
4010 | } | ||
4011 | |||
4012 | rule__RangeMultiplicity__Group__2 | ||
4013 | @init { | ||
4014 | int stackSize = keepStackSize(); | ||
4015 | } | ||
4016 | : | ||
4017 | rule__RangeMultiplicity__Group__2__Impl | ||
4018 | ; | ||
4019 | finally { | ||
4020 | restoreStackSize(stackSize); | ||
4021 | } | ||
4022 | |||
4023 | rule__RangeMultiplicity__Group__2__Impl | ||
4024 | @init { | ||
4025 | int stackSize = keepStackSize(); | ||
4026 | } | ||
4027 | : | ||
4028 | ( | ||
4029 | { before(grammarAccess.getRangeMultiplicityAccess().getUpperBoundAssignment_2()); } | ||
4030 | (rule__RangeMultiplicity__UpperBoundAssignment_2) | ||
4031 | { after(grammarAccess.getRangeMultiplicityAccess().getUpperBoundAssignment_2()); } | ||
4032 | ) | ||
4033 | ; | ||
4034 | finally { | ||
4035 | restoreStackSize(stackSize); | ||
4036 | } | ||
4037 | |||
4038 | |||
4039 | rule__QualifiedName__Group_1__0 | ||
4040 | @init { | ||
4041 | int stackSize = keepStackSize(); | ||
4042 | } | ||
4043 | : | ||
4044 | rule__QualifiedName__Group_1__0__Impl | ||
4045 | rule__QualifiedName__Group_1__1 | ||
4046 | ; | ||
4047 | finally { | ||
4048 | restoreStackSize(stackSize); | ||
4049 | } | ||
4050 | |||
4051 | rule__QualifiedName__Group_1__0__Impl | ||
4052 | @init { | ||
4053 | int stackSize = keepStackSize(); | ||
4054 | } | ||
4055 | : | ||
4056 | ( | ||
4057 | { before(grammarAccess.getQualifiedNameAccess().getIdentifierParserRuleCall_1_0()); } | ||
4058 | ruleIdentifier | ||
4059 | { after(grammarAccess.getQualifiedNameAccess().getIdentifierParserRuleCall_1_0()); } | ||
4060 | ) | ||
4061 | ; | ||
4062 | finally { | ||
4063 | restoreStackSize(stackSize); | ||
4064 | } | ||
4065 | |||
4066 | rule__QualifiedName__Group_1__1 | ||
4067 | @init { | ||
4068 | int stackSize = keepStackSize(); | ||
4069 | } | ||
4070 | : | ||
4071 | rule__QualifiedName__Group_1__1__Impl | ||
4072 | rule__QualifiedName__Group_1__2 | ||
4073 | ; | ||
4074 | finally { | ||
4075 | restoreStackSize(stackSize); | ||
4076 | } | ||
4077 | |||
4078 | rule__QualifiedName__Group_1__1__Impl | ||
4079 | @init { | ||
4080 | int stackSize = keepStackSize(); | ||
4081 | } | ||
4082 | : | ||
4083 | ( | ||
4084 | { before(grammarAccess.getQualifiedNameAccess().getGroup_1_1()); } | ||
4085 | (rule__QualifiedName__Group_1_1__0)* | ||
4086 | { after(grammarAccess.getQualifiedNameAccess().getGroup_1_1()); } | ||
4087 | ) | ||
4088 | ; | ||
4089 | finally { | ||
4090 | restoreStackSize(stackSize); | ||
4091 | } | ||
4092 | |||
4093 | rule__QualifiedName__Group_1__2 | ||
4094 | @init { | ||
4095 | int stackSize = keepStackSize(); | ||
4096 | } | ||
4097 | : | ||
4098 | rule__QualifiedName__Group_1__2__Impl | ||
4099 | ; | ||
4100 | finally { | ||
4101 | restoreStackSize(stackSize); | ||
4102 | } | ||
4103 | |||
4104 | rule__QualifiedName__Group_1__2__Impl | ||
4105 | @init { | ||
4106 | int stackSize = keepStackSize(); | ||
4107 | } | ||
4108 | : | ||
4109 | ( | ||
4110 | { before(grammarAccess.getQualifiedNameAccess().getGroup_1_2()); } | ||
4111 | (rule__QualifiedName__Group_1_2__0)? | ||
4112 | { after(grammarAccess.getQualifiedNameAccess().getGroup_1_2()); } | ||
4113 | ) | ||
4114 | ; | ||
4115 | finally { | ||
4116 | restoreStackSize(stackSize); | ||
4117 | } | ||
4118 | |||
4119 | |||
4120 | rule__QualifiedName__Group_1_1__0 | ||
4121 | @init { | ||
4122 | int stackSize = keepStackSize(); | ||
4123 | } | ||
4124 | : | ||
4125 | rule__QualifiedName__Group_1_1__0__Impl | ||
4126 | rule__QualifiedName__Group_1_1__1 | ||
4127 | ; | ||
4128 | finally { | ||
4129 | restoreStackSize(stackSize); | ||
4130 | } | ||
4131 | |||
4132 | rule__QualifiedName__Group_1_1__0__Impl | ||
4133 | @init { | ||
4134 | int stackSize = keepStackSize(); | ||
4135 | } | ||
4136 | : | ||
4137 | ( | ||
4138 | { before(grammarAccess.getQualifiedNameAccess().getColonKeyword_1_1_0()); } | ||
4139 | ':' | ||
4140 | { after(grammarAccess.getQualifiedNameAccess().getColonKeyword_1_1_0()); } | ||
4141 | ) | ||
4142 | ; | ||
4143 | finally { | ||
4144 | restoreStackSize(stackSize); | ||
4145 | } | ||
4146 | |||
4147 | rule__QualifiedName__Group_1_1__1 | ||
4148 | @init { | ||
4149 | int stackSize = keepStackSize(); | ||
4150 | } | ||
4151 | : | ||
4152 | rule__QualifiedName__Group_1_1__1__Impl | ||
4153 | ; | ||
4154 | finally { | ||
4155 | restoreStackSize(stackSize); | ||
4156 | } | ||
4157 | |||
4158 | rule__QualifiedName__Group_1_1__1__Impl | ||
4159 | @init { | ||
4160 | int stackSize = keepStackSize(); | ||
4161 | } | ||
4162 | : | ||
4163 | ( | ||
4164 | { before(grammarAccess.getQualifiedNameAccess().getIdentifierParserRuleCall_1_1_1()); } | ||
4165 | ruleIdentifier | ||
4166 | { after(grammarAccess.getQualifiedNameAccess().getIdentifierParserRuleCall_1_1_1()); } | ||
4167 | ) | ||
4168 | ; | ||
4169 | finally { | ||
4170 | restoreStackSize(stackSize); | ||
4171 | } | ||
4172 | |||
4173 | |||
4174 | rule__QualifiedName__Group_1_2__0 | ||
4175 | @init { | ||
4176 | int stackSize = keepStackSize(); | ||
4177 | } | ||
4178 | : | ||
4179 | rule__QualifiedName__Group_1_2__0__Impl | ||
4180 | rule__QualifiedName__Group_1_2__1 | ||
4181 | ; | ||
4182 | finally { | ||
4183 | restoreStackSize(stackSize); | ||
4184 | } | ||
4185 | |||
4186 | rule__QualifiedName__Group_1_2__0__Impl | ||
4187 | @init { | ||
4188 | int stackSize = keepStackSize(); | ||
4189 | } | ||
4190 | : | ||
4191 | ( | ||
4192 | { before(grammarAccess.getQualifiedNameAccess().getColonKeyword_1_2_0()); } | ||
4193 | ':' | ||
4194 | { after(grammarAccess.getQualifiedNameAccess().getColonKeyword_1_2_0()); } | ||
4195 | ) | ||
4196 | ; | ||
4197 | finally { | ||
4198 | restoreStackSize(stackSize); | ||
4199 | } | ||
4200 | |||
4201 | rule__QualifiedName__Group_1_2__1 | ||
4202 | @init { | ||
4203 | int stackSize = keepStackSize(); | ||
4204 | } | ||
4205 | : | ||
4206 | rule__QualifiedName__Group_1_2__1__Impl | ||
4207 | ; | ||
4208 | finally { | ||
4209 | restoreStackSize(stackSize); | ||
4210 | } | ||
4211 | |||
4212 | rule__QualifiedName__Group_1_2__1__Impl | ||
4213 | @init { | ||
4214 | int stackSize = keepStackSize(); | ||
4215 | } | ||
4216 | : | ||
4217 | ( | ||
4218 | { before(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1_2_1()); } | ||
4219 | RULE_QUOTED_ID | ||
4220 | { after(grammarAccess.getQualifiedNameAccess().getQUOTED_IDTerminalRuleCall_1_2_1()); } | ||
4221 | ) | ||
4222 | ; | ||
4223 | finally { | ||
4224 | restoreStackSize(stackSize); | ||
4225 | } | ||
4226 | |||
4227 | |||
4228 | rule__Problem__NameAssignment_0_1 | ||
4229 | @init { | ||
4230 | int stackSize = keepStackSize(); | ||
4231 | } | ||
4232 | : | ||
4233 | ( | ||
4234 | { before(grammarAccess.getProblemAccess().getNameIdentifierParserRuleCall_0_1_0()); } | ||
4235 | ruleIdentifier | ||
4236 | { after(grammarAccess.getProblemAccess().getNameIdentifierParserRuleCall_0_1_0()); } | ||
4237 | ) | ||
4238 | ; | ||
4239 | finally { | ||
4240 | restoreStackSize(stackSize); | ||
4241 | } | ||
4242 | |||
4243 | rule__Problem__StatementsAssignment_1 | ||
4244 | @init { | ||
4245 | int stackSize = keepStackSize(); | ||
4246 | } | ||
4247 | : | ||
4248 | ( | ||
4249 | { before(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_1_0()); } | ||
4250 | ruleStatement | ||
4251 | { after(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_1_0()); } | ||
4252 | ) | ||
4253 | ; | ||
4254 | finally { | ||
4255 | restoreStackSize(stackSize); | ||
4256 | } | ||
4257 | |||
4258 | rule__ClassDeclaration__AbstractAssignment_0 | ||
4259 | @init { | ||
4260 | int stackSize = keepStackSize(); | ||
4261 | } | ||
4262 | : | ||
4263 | ( | ||
4264 | { before(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); } | ||
4265 | ( | ||
4266 | { before(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); } | ||
4267 | 'abstract' | ||
4268 | { after(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); } | ||
4269 | ) | ||
4270 | { after(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); } | ||
4271 | ) | ||
4272 | ; | ||
4273 | finally { | ||
4274 | restoreStackSize(stackSize); | ||
4275 | } | ||
4276 | |||
4277 | rule__ClassDeclaration__NameAssignment_2 | ||
4278 | @init { | ||
4279 | int stackSize = keepStackSize(); | ||
4280 | } | ||
4281 | : | ||
4282 | ( | ||
4283 | { before(grammarAccess.getClassDeclarationAccess().getNameIdentifierParserRuleCall_2_0()); } | ||
4284 | ruleIdentifier | ||
4285 | { after(grammarAccess.getClassDeclarationAccess().getNameIdentifierParserRuleCall_2_0()); } | ||
4286 | ) | ||
4287 | ; | ||
4288 | finally { | ||
4289 | restoreStackSize(stackSize); | ||
4290 | } | ||
4291 | |||
4292 | rule__ClassDeclaration__SuperTypesAssignment_3_1 | ||
4293 | @init { | ||
4294 | int stackSize = keepStackSize(); | ||
4295 | } | ||
4296 | : | ||
4297 | ( | ||
4298 | { before(grammarAccess.getClassDeclarationAccess().getSuperTypesRelationCrossReference_3_1_0()); } | ||
4299 | ( | ||
4300 | { before(grammarAccess.getClassDeclarationAccess().getSuperTypesRelationQualifiedNameParserRuleCall_3_1_0_1()); } | ||
4301 | ruleQualifiedName | ||
4302 | { after(grammarAccess.getClassDeclarationAccess().getSuperTypesRelationQualifiedNameParserRuleCall_3_1_0_1()); } | ||
4303 | ) | ||
4304 | { after(grammarAccess.getClassDeclarationAccess().getSuperTypesRelationCrossReference_3_1_0()); } | ||
4305 | ) | ||
4306 | ; | ||
4307 | finally { | ||
4308 | restoreStackSize(stackSize); | ||
4309 | } | ||
4310 | |||
4311 | rule__ClassDeclaration__SuperTypesAssignment_3_2_1 | ||
4312 | @init { | ||
4313 | int stackSize = keepStackSize(); | ||
4314 | } | ||
4315 | : | ||
4316 | ( | ||
4317 | { before(grammarAccess.getClassDeclarationAccess().getSuperTypesRelationCrossReference_3_2_1_0()); } | ||
4318 | ( | ||
4319 | { before(grammarAccess.getClassDeclarationAccess().getSuperTypesRelationQualifiedNameParserRuleCall_3_2_1_0_1()); } | ||
4320 | ruleQualifiedName | ||
4321 | { after(grammarAccess.getClassDeclarationAccess().getSuperTypesRelationQualifiedNameParserRuleCall_3_2_1_0_1()); } | ||
4322 | ) | ||
4323 | { after(grammarAccess.getClassDeclarationAccess().getSuperTypesRelationCrossReference_3_2_1_0()); } | ||
4324 | ) | ||
4325 | ; | ||
4326 | finally { | ||
4327 | restoreStackSize(stackSize); | ||
4328 | } | ||
4329 | |||
4330 | rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_0_1_0 | ||
4331 | @init { | ||
4332 | int stackSize = keepStackSize(); | ||
4333 | } | ||
4334 | : | ||
4335 | ( | ||
4336 | { before(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsReferenceDeclarationParserRuleCall_4_0_1_0_0()); } | ||
4337 | ruleReferenceDeclaration | ||
4338 | { after(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsReferenceDeclarationParserRuleCall_4_0_1_0_0()); } | ||
4339 | ) | ||
4340 | ; | ||
4341 | finally { | ||
4342 | restoreStackSize(stackSize); | ||
4343 | } | ||
4344 | |||
4345 | rule__EnumDeclaration__NameAssignment_1 | ||
4346 | @init { | ||
4347 | int stackSize = keepStackSize(); | ||
4348 | } | ||
4349 | : | ||
4350 | ( | ||
4351 | { before(grammarAccess.getEnumDeclarationAccess().getNameIdentifierParserRuleCall_1_0()); } | ||
4352 | ruleIdentifier | ||
4353 | { after(grammarAccess.getEnumDeclarationAccess().getNameIdentifierParserRuleCall_1_0()); } | ||
4354 | ) | ||
4355 | ; | ||
4356 | finally { | ||
4357 | restoreStackSize(stackSize); | ||
4358 | } | ||
4359 | |||
4360 | rule__EnumDeclaration__LiteralsAssignment_2_0_1_0 | ||
4361 | @init { | ||
4362 | int stackSize = keepStackSize(); | ||
4363 | } | ||
4364 | : | ||
4365 | ( | ||
4366 | { before(grammarAccess.getEnumDeclarationAccess().getLiteralsEnumLiteralParserRuleCall_2_0_1_0_0()); } | ||
4367 | ruleEnumLiteral | ||
4368 | { after(grammarAccess.getEnumDeclarationAccess().getLiteralsEnumLiteralParserRuleCall_2_0_1_0_0()); } | ||
4369 | ) | ||
4370 | ; | ||
4371 | finally { | ||
4372 | restoreStackSize(stackSize); | ||
4373 | } | ||
4374 | |||
4375 | rule__EnumDeclaration__LiteralsAssignment_2_0_1_1_1 | ||
4376 | @init { | ||
4377 | int stackSize = keepStackSize(); | ||
4378 | } | ||
4379 | : | ||
4380 | ( | ||
4381 | { before(grammarAccess.getEnumDeclarationAccess().getLiteralsEnumLiteralParserRuleCall_2_0_1_1_1_0()); } | ||
4382 | ruleEnumLiteral | ||
4383 | { after(grammarAccess.getEnumDeclarationAccess().getLiteralsEnumLiteralParserRuleCall_2_0_1_1_1_0()); } | ||
4384 | ) | ||
4385 | ; | ||
4386 | finally { | ||
4387 | restoreStackSize(stackSize); | ||
4388 | } | ||
4389 | |||
4390 | rule__EnumLiteral__NameAssignment | ||
4391 | @init { | ||
4392 | int stackSize = keepStackSize(); | ||
4393 | } | ||
4394 | : | ||
4395 | ( | ||
4396 | { before(grammarAccess.getEnumLiteralAccess().getNameQuotedOrUnquotedIdParserRuleCall_0()); } | ||
4397 | ruleQuotedOrUnquotedId | ||
4398 | { after(grammarAccess.getEnumLiteralAccess().getNameQuotedOrUnquotedIdParserRuleCall_0()); } | ||
4399 | ) | ||
4400 | ; | ||
4401 | finally { | ||
4402 | restoreStackSize(stackSize); | ||
4403 | } | ||
4404 | |||
4405 | rule__ReferenceDeclaration__ContainmentAssignment_0_0 | ||
4406 | @init { | ||
4407 | int stackSize = keepStackSize(); | ||
4408 | } | ||
4409 | : | ||
4410 | ( | ||
4411 | { before(grammarAccess.getReferenceDeclarationAccess().getContainmentContainsKeyword_0_0_0()); } | ||
4412 | ( | ||
4413 | { before(grammarAccess.getReferenceDeclarationAccess().getContainmentContainsKeyword_0_0_0()); } | ||
4414 | 'contains' | ||
4415 | { after(grammarAccess.getReferenceDeclarationAccess().getContainmentContainsKeyword_0_0_0()); } | ||
4416 | ) | ||
4417 | { after(grammarAccess.getReferenceDeclarationAccess().getContainmentContainsKeyword_0_0_0()); } | ||
4418 | ) | ||
4419 | ; | ||
4420 | finally { | ||
4421 | restoreStackSize(stackSize); | ||
4422 | } | ||
4423 | |||
4424 | rule__ReferenceDeclaration__ReferenceTypeAssignment_1 | ||
4425 | @init { | ||
4426 | int stackSize = keepStackSize(); | ||
4427 | } | ||
4428 | : | ||
4429 | ( | ||
4430 | { before(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeRelationCrossReference_1_0()); } | ||
4431 | ( | ||
4432 | { before(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeRelationQualifiedNameParserRuleCall_1_0_1()); } | ||
4433 | ruleQualifiedName | ||
4434 | { after(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeRelationQualifiedNameParserRuleCall_1_0_1()); } | ||
4435 | ) | ||
4436 | { after(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeRelationCrossReference_1_0()); } | ||
4437 | ) | ||
4438 | ; | ||
4439 | finally { | ||
4440 | restoreStackSize(stackSize); | ||
4441 | } | ||
4442 | |||
4443 | rule__ReferenceDeclaration__MultiplicityAssignment_2_1 | ||
4444 | @init { | ||
4445 | int stackSize = keepStackSize(); | ||
4446 | } | ||
4447 | : | ||
4448 | ( | ||
4449 | { before(grammarAccess.getReferenceDeclarationAccess().getMultiplicityMultiplicityParserRuleCall_2_1_0()); } | ||
4450 | ruleMultiplicity | ||
4451 | { after(grammarAccess.getReferenceDeclarationAccess().getMultiplicityMultiplicityParserRuleCall_2_1_0()); } | ||
4452 | ) | ||
4453 | ; | ||
4454 | finally { | ||
4455 | restoreStackSize(stackSize); | ||
4456 | } | ||
4457 | |||
4458 | rule__ReferenceDeclaration__NameAssignment_3 | ||
4459 | @init { | ||
4460 | int stackSize = keepStackSize(); | ||
4461 | } | ||
4462 | : | ||
4463 | ( | ||
4464 | { before(grammarAccess.getReferenceDeclarationAccess().getNameIdentifierParserRuleCall_3_0()); } | ||
4465 | ruleIdentifier | ||
4466 | { after(grammarAccess.getReferenceDeclarationAccess().getNameIdentifierParserRuleCall_3_0()); } | ||
4467 | ) | ||
4468 | ; | ||
4469 | finally { | ||
4470 | restoreStackSize(stackSize); | ||
4471 | } | ||
4472 | |||
4473 | rule__ReferenceDeclaration__OppositeAssignment_4_1 | ||
4474 | @init { | ||
4475 | int stackSize = keepStackSize(); | ||
4476 | } | ||
4477 | : | ||
4478 | ( | ||
4479 | { before(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationCrossReference_4_1_0()); } | ||
4480 | ( | ||
4481 | { before(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationQualifiedNameParserRuleCall_4_1_0_1()); } | ||
4482 | ruleQualifiedName | ||
4483 | { after(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationQualifiedNameParserRuleCall_4_1_0_1()); } | ||
4484 | ) | ||
4485 | { after(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationCrossReference_4_1_0()); } | ||
4486 | ) | ||
4487 | ; | ||
4488 | finally { | ||
4489 | restoreStackSize(stackSize); | ||
4490 | } | ||
4491 | |||
4492 | rule__PredicateDefinition__ErrorAssignment_0_0_0 | ||
4493 | @init { | ||
4494 | int stackSize = keepStackSize(); | ||
4495 | } | ||
4496 | : | ||
4497 | ( | ||
4498 | { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_0_0()); } | ||
4499 | ( | ||
4500 | { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_0_0()); } | ||
4501 | 'error' | ||
4502 | { after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_0_0()); } | ||
4503 | ) | ||
4504 | { after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_0_0()); } | ||
4505 | ) | ||
4506 | ; | ||
4507 | finally { | ||
4508 | restoreStackSize(stackSize); | ||
4509 | } | ||
4510 | |||
4511 | rule__PredicateDefinition__NameAssignment_1 | ||
4512 | @init { | ||
4513 | int stackSize = keepStackSize(); | ||
4514 | } | ||
4515 | : | ||
4516 | ( | ||
4517 | { before(grammarAccess.getPredicateDefinitionAccess().getNameIdentifierParserRuleCall_1_0()); } | ||
4518 | ruleIdentifier | ||
4519 | { after(grammarAccess.getPredicateDefinitionAccess().getNameIdentifierParserRuleCall_1_0()); } | ||
4520 | ) | ||
4521 | ; | ||
4522 | finally { | ||
4523 | restoreStackSize(stackSize); | ||
4524 | } | ||
4525 | |||
4526 | rule__PredicateDefinition__ParametersAssignment_3_0 | ||
4527 | @init { | ||
4528 | int stackSize = keepStackSize(); | ||
4529 | } | ||
4530 | : | ||
4531 | ( | ||
4532 | { before(grammarAccess.getPredicateDefinitionAccess().getParametersParameterParserRuleCall_3_0_0()); } | ||
4533 | ruleParameter | ||
4534 | { after(grammarAccess.getPredicateDefinitionAccess().getParametersParameterParserRuleCall_3_0_0()); } | ||
4535 | ) | ||
4536 | ; | ||
4537 | finally { | ||
4538 | restoreStackSize(stackSize); | ||
4539 | } | ||
4540 | |||
4541 | rule__PredicateDefinition__ParametersAssignment_3_1_1 | ||
4542 | @init { | ||
4543 | int stackSize = keepStackSize(); | ||
4544 | } | ||
4545 | : | ||
4546 | ( | ||
4547 | { before(grammarAccess.getPredicateDefinitionAccess().getParametersParameterParserRuleCall_3_1_1_0()); } | ||
4548 | ruleParameter | ||
4549 | { after(grammarAccess.getPredicateDefinitionAccess().getParametersParameterParserRuleCall_3_1_1_0()); } | ||
4550 | ) | ||
4551 | ; | ||
4552 | finally { | ||
4553 | restoreStackSize(stackSize); | ||
4554 | } | ||
4555 | |||
4556 | rule__PredicateDefinition__BodiesAssignment_5_1 | ||
4557 | @init { | ||
4558 | int stackSize = keepStackSize(); | ||
4559 | } | ||
4560 | : | ||
4561 | ( | ||
4562 | { before(grammarAccess.getPredicateDefinitionAccess().getBodiesConjunctionParserRuleCall_5_1_0()); } | ||
4563 | ruleConjunction | ||
4564 | { after(grammarAccess.getPredicateDefinitionAccess().getBodiesConjunctionParserRuleCall_5_1_0()); } | ||
4565 | ) | ||
4566 | ; | ||
4567 | finally { | ||
4568 | restoreStackSize(stackSize); | ||
4569 | } | ||
4570 | |||
4571 | rule__PredicateDefinition__BodiesAssignment_5_2_1 | ||
4572 | @init { | ||
4573 | int stackSize = keepStackSize(); | ||
4574 | } | ||
4575 | : | ||
4576 | ( | ||
4577 | { before(grammarAccess.getPredicateDefinitionAccess().getBodiesConjunctionParserRuleCall_5_2_1_0()); } | ||
4578 | ruleConjunction | ||
4579 | { after(grammarAccess.getPredicateDefinitionAccess().getBodiesConjunctionParserRuleCall_5_2_1_0()); } | ||
4580 | ) | ||
4581 | ; | ||
4582 | finally { | ||
4583 | restoreStackSize(stackSize); | ||
4584 | } | ||
4585 | |||
4586 | rule__Parameter__ParameterTypeAssignment_0 | ||
4587 | @init { | ||
4588 | int stackSize = keepStackSize(); | ||
4589 | } | ||
4590 | : | ||
4591 | ( | ||
4592 | { before(grammarAccess.getParameterAccess().getParameterTypeRelationCrossReference_0_0()); } | ||
4593 | ( | ||
4594 | { before(grammarAccess.getParameterAccess().getParameterTypeRelationQualifiedNameParserRuleCall_0_0_1()); } | ||
4595 | ruleQualifiedName | ||
4596 | { after(grammarAccess.getParameterAccess().getParameterTypeRelationQualifiedNameParserRuleCall_0_0_1()); } | ||
4597 | ) | ||
4598 | { after(grammarAccess.getParameterAccess().getParameterTypeRelationCrossReference_0_0()); } | ||
4599 | ) | ||
4600 | ; | ||
4601 | finally { | ||
4602 | restoreStackSize(stackSize); | ||
4603 | } | ||
4604 | |||
4605 | rule__Parameter__NameAssignment_1 | ||
4606 | @init { | ||
4607 | int stackSize = keepStackSize(); | ||
4608 | } | ||
4609 | : | ||
4610 | ( | ||
4611 | { before(grammarAccess.getParameterAccess().getNameIdentifierParserRuleCall_1_0()); } | ||
4612 | ruleIdentifier | ||
4613 | { after(grammarAccess.getParameterAccess().getNameIdentifierParserRuleCall_1_0()); } | ||
4614 | ) | ||
4615 | ; | ||
4616 | finally { | ||
4617 | restoreStackSize(stackSize); | ||
4618 | } | ||
4619 | |||
4620 | rule__Conjunction__LiteralsAssignment_0 | ||
4621 | @init { | ||
4622 | int stackSize = keepStackSize(); | ||
4623 | } | ||
4624 | : | ||
4625 | ( | ||
4626 | { before(grammarAccess.getConjunctionAccess().getLiteralsLiteralParserRuleCall_0_0()); } | ||
4627 | ruleLiteral | ||
4628 | { after(grammarAccess.getConjunctionAccess().getLiteralsLiteralParserRuleCall_0_0()); } | ||
4629 | ) | ||
4630 | ; | ||
4631 | finally { | ||
4632 | restoreStackSize(stackSize); | ||
4633 | } | ||
4634 | |||
4635 | rule__Conjunction__LiteralsAssignment_1_1 | ||
4636 | @init { | ||
4637 | int stackSize = keepStackSize(); | ||
4638 | } | ||
4639 | : | ||
4640 | ( | ||
4641 | { before(grammarAccess.getConjunctionAccess().getLiteralsLiteralParserRuleCall_1_1_0()); } | ||
4642 | ruleLiteral | ||
4643 | { after(grammarAccess.getConjunctionAccess().getLiteralsLiteralParserRuleCall_1_1_0()); } | ||
4644 | ) | ||
4645 | ; | ||
4646 | finally { | ||
4647 | restoreStackSize(stackSize); | ||
4648 | } | ||
4649 | |||
4650 | rule__NegativeLiteral__AtomAssignment_1 | ||
4651 | @init { | ||
4652 | int stackSize = keepStackSize(); | ||
4653 | } | ||
4654 | : | ||
4655 | ( | ||
4656 | { before(grammarAccess.getNegativeLiteralAccess().getAtomAtomParserRuleCall_1_0()); } | ||
4657 | ruleAtom | ||
4658 | { after(grammarAccess.getNegativeLiteralAccess().getAtomAtomParserRuleCall_1_0()); } | ||
4659 | ) | ||
4660 | ; | ||
4661 | finally { | ||
4662 | restoreStackSize(stackSize); | ||
4663 | } | ||
4664 | |||
4665 | rule__Atom__RelationAssignment_0 | ||
4666 | @init { | ||
4667 | int stackSize = keepStackSize(); | ||
4668 | } | ||
4669 | : | ||
4670 | ( | ||
4671 | { before(grammarAccess.getAtomAccess().getRelationRelationCrossReference_0_0()); } | ||
4672 | ( | ||
4673 | { before(grammarAccess.getAtomAccess().getRelationRelationQualifiedNameParserRuleCall_0_0_1()); } | ||
4674 | ruleQualifiedName | ||
4675 | { after(grammarAccess.getAtomAccess().getRelationRelationQualifiedNameParserRuleCall_0_0_1()); } | ||
4676 | ) | ||
4677 | { after(grammarAccess.getAtomAccess().getRelationRelationCrossReference_0_0()); } | ||
4678 | ) | ||
4679 | ; | ||
4680 | finally { | ||
4681 | restoreStackSize(stackSize); | ||
4682 | } | ||
4683 | |||
4684 | rule__Atom__TransitiveClosureAssignment_1 | ||
4685 | @init { | ||
4686 | int stackSize = keepStackSize(); | ||
4687 | } | ||
4688 | : | ||
4689 | ( | ||
4690 | { before(grammarAccess.getAtomAccess().getTransitiveClosurePlusSignKeyword_1_0()); } | ||
4691 | ( | ||
4692 | { before(grammarAccess.getAtomAccess().getTransitiveClosurePlusSignKeyword_1_0()); } | ||
4693 | '+' | ||
4694 | { after(grammarAccess.getAtomAccess().getTransitiveClosurePlusSignKeyword_1_0()); } | ||
4695 | ) | ||
4696 | { after(grammarAccess.getAtomAccess().getTransitiveClosurePlusSignKeyword_1_0()); } | ||
4697 | ) | ||
4698 | ; | ||
4699 | finally { | ||
4700 | restoreStackSize(stackSize); | ||
4701 | } | ||
4702 | |||
4703 | rule__Atom__ArgumentsAssignment_3_0 | ||
4704 | @init { | ||
4705 | int stackSize = keepStackSize(); | ||
4706 | } | ||
4707 | : | ||
4708 | ( | ||
4709 | { before(grammarAccess.getAtomAccess().getArgumentsArgumentParserRuleCall_3_0_0()); } | ||
4710 | ruleArgument | ||
4711 | { after(grammarAccess.getAtomAccess().getArgumentsArgumentParserRuleCall_3_0_0()); } | ||
4712 | ) | ||
4713 | ; | ||
4714 | finally { | ||
4715 | restoreStackSize(stackSize); | ||
4716 | } | ||
4717 | |||
4718 | rule__Atom__ArgumentsAssignment_3_1_1 | ||
4719 | @init { | ||
4720 | int stackSize = keepStackSize(); | ||
4721 | } | ||
4722 | : | ||
4723 | ( | ||
4724 | { before(grammarAccess.getAtomAccess().getArgumentsArgumentParserRuleCall_3_1_1_0()); } | ||
4725 | ruleArgument | ||
4726 | { after(grammarAccess.getAtomAccess().getArgumentsArgumentParserRuleCall_3_1_1_0()); } | ||
4727 | ) | ||
4728 | ; | ||
4729 | finally { | ||
4730 | restoreStackSize(stackSize); | ||
4731 | } | ||
4732 | |||
4733 | rule__Argument__VariableOrNodeAssignment | ||
4734 | @init { | ||
4735 | int stackSize = keepStackSize(); | ||
4736 | } | ||
4737 | : | ||
4738 | ( | ||
4739 | { before(grammarAccess.getArgumentAccess().getVariableOrNodeVariableOrNodeCrossReference_0()); } | ||
4740 | ( | ||
4741 | { before(grammarAccess.getArgumentAccess().getVariableOrNodeVariableOrNodeQualifiedNameParserRuleCall_0_1()); } | ||
4742 | ruleQualifiedName | ||
4743 | { after(grammarAccess.getArgumentAccess().getVariableOrNodeVariableOrNodeQualifiedNameParserRuleCall_0_1()); } | ||
4744 | ) | ||
4745 | { after(grammarAccess.getArgumentAccess().getVariableOrNodeVariableOrNodeCrossReference_0()); } | ||
4746 | ) | ||
4747 | ; | ||
4748 | finally { | ||
4749 | restoreStackSize(stackSize); | ||
4750 | } | ||
4751 | |||
4752 | rule__Assertion__RelationAssignment_0_0_0 | ||
4753 | @init { | ||
4754 | int stackSize = keepStackSize(); | ||
4755 | } | ||
4756 | : | ||
4757 | ( | ||
4758 | { before(grammarAccess.getAssertionAccess().getRelationRelationCrossReference_0_0_0_0()); } | ||
4759 | ( | ||
4760 | { before(grammarAccess.getAssertionAccess().getRelationRelationQualifiedNameParserRuleCall_0_0_0_0_1()); } | ||
4761 | ruleQualifiedName | ||
4762 | { after(grammarAccess.getAssertionAccess().getRelationRelationQualifiedNameParserRuleCall_0_0_0_0_1()); } | ||
4763 | ) | ||
4764 | { after(grammarAccess.getAssertionAccess().getRelationRelationCrossReference_0_0_0_0()); } | ||
4765 | ) | ||
4766 | ; | ||
4767 | finally { | ||
4768 | restoreStackSize(stackSize); | ||
4769 | } | ||
4770 | |||
4771 | rule__Assertion__ArgumentsAssignment_0_0_2_0 | ||
4772 | @init { | ||
4773 | int stackSize = keepStackSize(); | ||
4774 | } | ||
4775 | : | ||
4776 | ( | ||
4777 | { before(grammarAccess.getAssertionAccess().getArgumentsNodeCrossReference_0_0_2_0_0()); } | ||
4778 | ( | ||
4779 | { before(grammarAccess.getAssertionAccess().getArgumentsNodeQualifiedNameParserRuleCall_0_0_2_0_0_1()); } | ||
4780 | ruleQualifiedName | ||
4781 | { after(grammarAccess.getAssertionAccess().getArgumentsNodeQualifiedNameParserRuleCall_0_0_2_0_0_1()); } | ||
4782 | ) | ||
4783 | { after(grammarAccess.getAssertionAccess().getArgumentsNodeCrossReference_0_0_2_0_0()); } | ||
4784 | ) | ||
4785 | ; | ||
4786 | finally { | ||
4787 | restoreStackSize(stackSize); | ||
4788 | } | ||
4789 | |||
4790 | rule__Assertion__ArgumentsAssignment_0_0_2_1_1 | ||
4791 | @init { | ||
4792 | int stackSize = keepStackSize(); | ||
4793 | } | ||
4794 | : | ||
4795 | ( | ||
4796 | { before(grammarAccess.getAssertionAccess().getArgumentsNodeCrossReference_0_0_2_1_1_0()); } | ||
4797 | ( | ||
4798 | { before(grammarAccess.getAssertionAccess().getArgumentsNodeQualifiedNameParserRuleCall_0_0_2_1_1_0_1()); } | ||
4799 | ruleQualifiedName | ||
4800 | { after(grammarAccess.getAssertionAccess().getArgumentsNodeQualifiedNameParserRuleCall_0_0_2_1_1_0_1()); } | ||
4801 | ) | ||
4802 | { after(grammarAccess.getAssertionAccess().getArgumentsNodeCrossReference_0_0_2_1_1_0()); } | ||
4803 | ) | ||
4804 | ; | ||
4805 | finally { | ||
4806 | restoreStackSize(stackSize); | ||
4807 | } | ||
4808 | |||
4809 | rule__Assertion__ValueAssignment_0_0_5 | ||
4810 | @init { | ||
4811 | int stackSize = keepStackSize(); | ||
4812 | } | ||
4813 | : | ||
4814 | ( | ||
4815 | { before(grammarAccess.getAssertionAccess().getValueLogicValueEnumRuleCall_0_0_5_0()); } | ||
4816 | ruleLogicValue | ||
4817 | { after(grammarAccess.getAssertionAccess().getValueLogicValueEnumRuleCall_0_0_5_0()); } | ||
4818 | ) | ||
4819 | ; | ||
4820 | finally { | ||
4821 | restoreStackSize(stackSize); | ||
4822 | } | ||
4823 | |||
4824 | rule__Assertion__ValueAssignment_0_1_0 | ||
4825 | @init { | ||
4826 | int stackSize = keepStackSize(); | ||
4827 | } | ||
4828 | : | ||
4829 | ( | ||
4830 | { before(grammarAccess.getAssertionAccess().getValueShortLogicValueEnumRuleCall_0_1_0_0()); } | ||
4831 | ruleShortLogicValue | ||
4832 | { after(grammarAccess.getAssertionAccess().getValueShortLogicValueEnumRuleCall_0_1_0_0()); } | ||
4833 | ) | ||
4834 | ; | ||
4835 | finally { | ||
4836 | restoreStackSize(stackSize); | ||
4837 | } | ||
4838 | |||
4839 | rule__Assertion__RelationAssignment_0_1_1 | ||
4840 | @init { | ||
4841 | int stackSize = keepStackSize(); | ||
4842 | } | ||
4843 | : | ||
4844 | ( | ||
4845 | { before(grammarAccess.getAssertionAccess().getRelationRelationCrossReference_0_1_1_0()); } | ||
4846 | ( | ||
4847 | { before(grammarAccess.getAssertionAccess().getRelationRelationQualifiedNameParserRuleCall_0_1_1_0_1()); } | ||
4848 | ruleQualifiedName | ||
4849 | { after(grammarAccess.getAssertionAccess().getRelationRelationQualifiedNameParserRuleCall_0_1_1_0_1()); } | ||
4850 | ) | ||
4851 | { after(grammarAccess.getAssertionAccess().getRelationRelationCrossReference_0_1_1_0()); } | ||
4852 | ) | ||
4853 | ; | ||
4854 | finally { | ||
4855 | restoreStackSize(stackSize); | ||
4856 | } | ||
4857 | |||
4858 | rule__Assertion__ArgumentsAssignment_0_1_3_0 | ||
4859 | @init { | ||
4860 | int stackSize = keepStackSize(); | ||
4861 | } | ||
4862 | : | ||
4863 | ( | ||
4864 | { before(grammarAccess.getAssertionAccess().getArgumentsNodeCrossReference_0_1_3_0_0()); } | ||
4865 | ( | ||
4866 | { before(grammarAccess.getAssertionAccess().getArgumentsNodeQualifiedNameParserRuleCall_0_1_3_0_0_1()); } | ||
4867 | ruleQualifiedName | ||
4868 | { after(grammarAccess.getAssertionAccess().getArgumentsNodeQualifiedNameParserRuleCall_0_1_3_0_0_1()); } | ||
4869 | ) | ||
4870 | { after(grammarAccess.getAssertionAccess().getArgumentsNodeCrossReference_0_1_3_0_0()); } | ||
4871 | ) | ||
4872 | ; | ||
4873 | finally { | ||
4874 | restoreStackSize(stackSize); | ||
4875 | } | ||
4876 | |||
4877 | rule__Assertion__ArgumentsAssignment_0_1_3_1_1 | ||
4878 | @init { | ||
4879 | int stackSize = keepStackSize(); | ||
4880 | } | ||
4881 | : | ||
4882 | ( | ||
4883 | { before(grammarAccess.getAssertionAccess().getArgumentsNodeCrossReference_0_1_3_1_1_0()); } | ||
4884 | ( | ||
4885 | { before(grammarAccess.getAssertionAccess().getArgumentsNodeQualifiedNameParserRuleCall_0_1_3_1_1_0_1()); } | ||
4886 | ruleQualifiedName | ||
4887 | { after(grammarAccess.getAssertionAccess().getArgumentsNodeQualifiedNameParserRuleCall_0_1_3_1_1_0_1()); } | ||
4888 | ) | ||
4889 | { after(grammarAccess.getAssertionAccess().getArgumentsNodeCrossReference_0_1_3_1_1_0()); } | ||
4890 | ) | ||
4891 | ; | ||
4892 | finally { | ||
4893 | restoreStackSize(stackSize); | ||
4894 | } | ||
4895 | |||
4896 | rule__ScopeDeclaration__TypeScopesAssignment_1 | ||
4897 | @init { | ||
4898 | int stackSize = keepStackSize(); | ||
4899 | } | ||
4900 | : | ||
4901 | ( | ||
4902 | { before(grammarAccess.getScopeDeclarationAccess().getTypeScopesTypeScopeParserRuleCall_1_0()); } | ||
4903 | ruleTypeScope | ||
4904 | { after(grammarAccess.getScopeDeclarationAccess().getTypeScopesTypeScopeParserRuleCall_1_0()); } | ||
4905 | ) | ||
4906 | ; | ||
4907 | finally { | ||
4908 | restoreStackSize(stackSize); | ||
4909 | } | ||
4910 | |||
4911 | rule__ScopeDeclaration__TypeScopesAssignment_2_1 | ||
4912 | @init { | ||
4913 | int stackSize = keepStackSize(); | ||
4914 | } | ||
4915 | : | ||
4916 | ( | ||
4917 | { before(grammarAccess.getScopeDeclarationAccess().getTypeScopesTypeScopeParserRuleCall_2_1_0()); } | ||
4918 | ruleTypeScope | ||
4919 | { after(grammarAccess.getScopeDeclarationAccess().getTypeScopesTypeScopeParserRuleCall_2_1_0()); } | ||
4920 | ) | ||
4921 | ; | ||
4922 | finally { | ||
4923 | restoreStackSize(stackSize); | ||
4924 | } | ||
4925 | |||
4926 | rule__TypeScope__TargetTypeAssignment_0 | ||
4927 | @init { | ||
4928 | int stackSize = keepStackSize(); | ||
4929 | } | ||
4930 | : | ||
4931 | ( | ||
4932 | { before(grammarAccess.getTypeScopeAccess().getTargetTypeClassDeclarationCrossReference_0_0()); } | ||
4933 | ( | ||
4934 | { before(grammarAccess.getTypeScopeAccess().getTargetTypeClassDeclarationIDTerminalRuleCall_0_0_1()); } | ||
4935 | RULE_ID | ||
4936 | { after(grammarAccess.getTypeScopeAccess().getTargetTypeClassDeclarationIDTerminalRuleCall_0_0_1()); } | ||
4937 | ) | ||
4938 | { after(grammarAccess.getTypeScopeAccess().getTargetTypeClassDeclarationCrossReference_0_0()); } | ||
4939 | ) | ||
4940 | ; | ||
4941 | finally { | ||
4942 | restoreStackSize(stackSize); | ||
4943 | } | ||
4944 | |||
4945 | rule__TypeScope__IncrementAssignment_1_0 | ||
4946 | @init { | ||
4947 | int stackSize = keepStackSize(); | ||
4948 | } | ||
4949 | : | ||
4950 | ( | ||
4951 | { before(grammarAccess.getTypeScopeAccess().getIncrementPlusSignEqualsSignKeyword_1_0_0()); } | ||
4952 | ( | ||
4953 | { before(grammarAccess.getTypeScopeAccess().getIncrementPlusSignEqualsSignKeyword_1_0_0()); } | ||
4954 | '+=' | ||
4955 | { after(grammarAccess.getTypeScopeAccess().getIncrementPlusSignEqualsSignKeyword_1_0_0()); } | ||
4956 | ) | ||
4957 | { after(grammarAccess.getTypeScopeAccess().getIncrementPlusSignEqualsSignKeyword_1_0_0()); } | ||
4958 | ) | ||
4959 | ; | ||
4960 | finally { | ||
4961 | restoreStackSize(stackSize); | ||
4962 | } | ||
4963 | |||
4964 | rule__TypeScope__MultiplicityAssignment_2 | ||
4965 | @init { | ||
4966 | int stackSize = keepStackSize(); | ||
4967 | } | ||
4968 | : | ||
4969 | ( | ||
4970 | { before(grammarAccess.getTypeScopeAccess().getMultiplicityDefiniteMultiplicityParserRuleCall_2_0()); } | ||
4971 | ruleDefiniteMultiplicity | ||
4972 | { after(grammarAccess.getTypeScopeAccess().getMultiplicityDefiniteMultiplicityParserRuleCall_2_0()); } | ||
4973 | ) | ||
4974 | ; | ||
4975 | finally { | ||
4976 | restoreStackSize(stackSize); | ||
4977 | } | ||
4978 | |||
4979 | rule__RangeMultiplicity__LowerBoundAssignment_0 | ||
4980 | @init { | ||
4981 | int stackSize = keepStackSize(); | ||
4982 | } | ||
4983 | : | ||
4984 | ( | ||
4985 | { before(grammarAccess.getRangeMultiplicityAccess().getLowerBoundINTTerminalRuleCall_0_0()); } | ||
4986 | RULE_INT | ||
4987 | { after(grammarAccess.getRangeMultiplicityAccess().getLowerBoundINTTerminalRuleCall_0_0()); } | ||
4988 | ) | ||
4989 | ; | ||
4990 | finally { | ||
4991 | restoreStackSize(stackSize); | ||
4992 | } | ||
4993 | |||
4994 | rule__RangeMultiplicity__UpperBoundAssignment_2 | ||
4995 | @init { | ||
4996 | int stackSize = keepStackSize(); | ||
4997 | } | ||
4998 | : | ||
4999 | ( | ||
5000 | { before(grammarAccess.getRangeMultiplicityAccess().getUpperBoundUpperBoundParserRuleCall_2_0()); } | ||
5001 | ruleUpperBound | ||
5002 | { after(grammarAccess.getRangeMultiplicityAccess().getUpperBoundUpperBoundParserRuleCall_2_0()); } | ||
5003 | ) | ||
5004 | ; | ||
5005 | finally { | ||
5006 | restoreStackSize(stackSize); | ||
5007 | } | ||
5008 | |||
5009 | rule__ExactMultiplicity__ExactValueAssignment | ||
5010 | @init { | ||
5011 | int stackSize = keepStackSize(); | ||
5012 | } | ||
5013 | : | ||
5014 | ( | ||
5015 | { before(grammarAccess.getExactMultiplicityAccess().getExactValueINTTerminalRuleCall_0()); } | ||
5016 | RULE_INT | ||
5017 | { after(grammarAccess.getExactMultiplicityAccess().getExactValueINTTerminalRuleCall_0()); } | ||
5018 | ) | ||
5019 | ; | ||
5020 | finally { | ||
5021 | restoreStackSize(stackSize); | ||
5022 | } | ||
5023 | |||
5024 | RULE_STRING : '"' ('\\' .|~(('\\'|'"')))* '"'; | ||
5025 | |||
5026 | RULE_QUOTED_ID : '\'' ('\\' .|~(('\\'|'\'')))* '\''; | ||
5027 | |||
5028 | RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; | ||
5029 | |||
5030 | RULE_INT : ('0'..'9')+; | ||
5031 | |||
5032 | RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; | ||
5033 | |||
5034 | RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; | ||
5035 | |||
5036 | RULE_WS : (' '|'\t'|'\r'|'\n')+; | ||
5037 | |||
5038 | RULE_ANY_OTHER : .; | ||