aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblem.g
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblem.g')
-rw-r--r--org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblem.g4206
1 files changed, 4206 insertions, 0 deletions
diff --git a/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblem.g b/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblem.g
new file mode 100644
index 00000000..7dd99f99
--- /dev/null
+++ b/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language.ide/src/main/xtext-gen/org/eclipse/viatra/solver/language/ide/contentassist/antlr/internal/InternalProblem.g
@@ -0,0 +1,4206 @@
1/*
2 * generated by Xtext 2.26.0.M1
3 */
4grammar InternalProblem;
5
6options {
7 superClass=AbstractInternalContentAssistParser;
8}
9
10@lexer::header {
11package 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.
15import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer;
16}
17
18@parser::header {
19package org.eclipse.viatra.solver.language.ide.contentassist.antlr.internal;
20
21import java.io.InputStream;
22import org.eclipse.xtext.*;
23import org.eclipse.xtext.parser.*;
24import org.eclipse.xtext.parser.impl.*;
25import org.eclipse.emf.ecore.util.EcoreUtil;
26import org.eclipse.emf.ecore.EObject;
27import org.eclipse.xtext.parser.antlr.XtextTokenStream;
28import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
29import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
30import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.DFA;
31import 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
53entryRuleProblem
54:
55{ before(grammarAccess.getProblemRule()); }
56 ruleProblem
57{ after(grammarAccess.getProblemRule()); }
58 EOF
59;
60
61// Rule Problem
62ruleProblem
63 @init {
64 int stackSize = keepStackSize();
65 }
66 :
67 (
68 { before(grammarAccess.getProblemAccess().getStatementsAssignment()); }
69 (rule__Problem__StatementsAssignment)*
70 { after(grammarAccess.getProblemAccess().getStatementsAssignment()); }
71 )
72;
73finally {
74 restoreStackSize(stackSize);
75}
76
77// Entry rule entryRuleStatement
78entryRuleStatement
79:
80{ before(grammarAccess.getStatementRule()); }
81 ruleStatement
82{ after(grammarAccess.getStatementRule()); }
83 EOF
84;
85
86// Rule Statement
87ruleStatement
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;
98finally {
99 restoreStackSize(stackSize);
100}
101
102// Entry rule entryRuleClassDeclaration
103entryRuleClassDeclaration
104:
105{ before(grammarAccess.getClassDeclarationRule()); }
106 ruleClassDeclaration
107{ after(grammarAccess.getClassDeclarationRule()); }
108 EOF
109;
110
111// Rule ClassDeclaration
112ruleClassDeclaration
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;
123finally {
124 restoreStackSize(stackSize);
125}
126
127// Entry rule entryRuleReferenceDeclaration
128entryRuleReferenceDeclaration
129:
130{ before(grammarAccess.getReferenceDeclarationRule()); }
131 ruleReferenceDeclaration
132{ after(grammarAccess.getReferenceDeclarationRule()); }
133 EOF
134;
135
136// Rule ReferenceDeclaration
137ruleReferenceDeclaration
138 @init {
139 int stackSize = keepStackSize();
140 }
141 :
142 (
143 { before(grammarAccess.getReferenceDeclarationAccess().getGroup()); }
144 (rule__ReferenceDeclaration__Group__0)
145 { after(grammarAccess.getReferenceDeclarationAccess().getGroup()); }
146 )
147;
148finally {
149 restoreStackSize(stackSize);
150}
151
152// Entry rule entryRulePredicateDefinition
153entryRulePredicateDefinition
154:
155{ before(grammarAccess.getPredicateDefinitionRule()); }
156 rulePredicateDefinition
157{ after(grammarAccess.getPredicateDefinitionRule()); }
158 EOF
159;
160
161// Rule PredicateDefinition
162rulePredicateDefinition
163 @init {
164 int stackSize = keepStackSize();
165 }
166 :
167 (
168 { before(grammarAccess.getPredicateDefinitionAccess().getGroup()); }
169 (rule__PredicateDefinition__Group__0)
170 { after(grammarAccess.getPredicateDefinitionAccess().getGroup()); }
171 )
172;
173finally {
174 restoreStackSize(stackSize);
175}
176
177// Entry rule entryRuleParameter
178entryRuleParameter
179:
180{ before(grammarAccess.getParameterRule()); }
181 ruleParameter
182{ after(grammarAccess.getParameterRule()); }
183 EOF
184;
185
186// Rule Parameter
187ruleParameter
188 @init {
189 int stackSize = keepStackSize();
190 }
191 :
192 (
193 { before(grammarAccess.getParameterAccess().getGroup()); }
194 (rule__Parameter__Group__0)
195 { after(grammarAccess.getParameterAccess().getGroup()); }
196 )
197;
198finally {
199 restoreStackSize(stackSize);
200}
201
202// Entry rule entryRuleConjunction
203entryRuleConjunction
204:
205{ before(grammarAccess.getConjunctionRule()); }
206 ruleConjunction
207{ after(grammarAccess.getConjunctionRule()); }
208 EOF
209;
210
211// Rule Conjunction
212ruleConjunction
213 @init {
214 int stackSize = keepStackSize();
215 }
216 :
217 (
218 { before(grammarAccess.getConjunctionAccess().getGroup()); }
219 (rule__Conjunction__Group__0)
220 { after(grammarAccess.getConjunctionAccess().getGroup()); }
221 )
222;
223finally {
224 restoreStackSize(stackSize);
225}
226
227// Entry rule entryRuleLiteral
228entryRuleLiteral
229:
230{ before(grammarAccess.getLiteralRule()); }
231 ruleLiteral
232{ after(grammarAccess.getLiteralRule()); }
233 EOF
234;
235
236// Rule Literal
237ruleLiteral
238 @init {
239 int stackSize = keepStackSize();
240 }
241 :
242 (
243 { before(grammarAccess.getLiteralAccess().getAlternatives()); }
244 (rule__Literal__Alternatives)
245 { after(grammarAccess.getLiteralAccess().getAlternatives()); }
246 )
247;
248finally {
249 restoreStackSize(stackSize);
250}
251
252// Entry rule entryRuleNegativeLiteral
253entryRuleNegativeLiteral
254:
255{ before(grammarAccess.getNegativeLiteralRule()); }
256 ruleNegativeLiteral
257{ after(grammarAccess.getNegativeLiteralRule()); }
258 EOF
259;
260
261// Rule NegativeLiteral
262ruleNegativeLiteral
263 @init {
264 int stackSize = keepStackSize();
265 }
266 :
267 (
268 { before(grammarAccess.getNegativeLiteralAccess().getGroup()); }
269 (rule__NegativeLiteral__Group__0)
270 { after(grammarAccess.getNegativeLiteralAccess().getGroup()); }
271 )
272;
273finally {
274 restoreStackSize(stackSize);
275}
276
277// Entry rule entryRuleAtom
278entryRuleAtom
279:
280{ before(grammarAccess.getAtomRule()); }
281 ruleAtom
282{ after(grammarAccess.getAtomRule()); }
283 EOF
284;
285
286// Rule Atom
287ruleAtom
288 @init {
289 int stackSize = keepStackSize();
290 }
291 :
292 (
293 { before(grammarAccess.getAtomAccess().getGroup()); }
294 (rule__Atom__Group__0)
295 { after(grammarAccess.getAtomAccess().getGroup()); }
296 )
297;
298finally {
299 restoreStackSize(stackSize);
300}
301
302// Entry rule entryRuleAssertion
303entryRuleAssertion
304:
305{ before(grammarAccess.getAssertionRule()); }
306 ruleAssertion
307{ after(grammarAccess.getAssertionRule()); }
308 EOF
309;
310
311// Rule Assertion
312ruleAssertion
313 @init {
314 int stackSize = keepStackSize();
315 }
316 :
317 (
318 { before(grammarAccess.getAssertionAccess().getGroup()); }
319 (rule__Assertion__Group__0)
320 { after(grammarAccess.getAssertionAccess().getGroup()); }
321 )
322;
323finally {
324 restoreStackSize(stackSize);
325}
326
327// Entry rule entryRuleScopeDeclaration
328entryRuleScopeDeclaration
329:
330{ before(grammarAccess.getScopeDeclarationRule()); }
331 ruleScopeDeclaration
332{ after(grammarAccess.getScopeDeclarationRule()); }
333 EOF
334;
335
336// Rule ScopeDeclaration
337ruleScopeDeclaration
338 @init {
339 int stackSize = keepStackSize();
340 }
341 :
342 (
343 { before(grammarAccess.getScopeDeclarationAccess().getGroup()); }
344 (rule__ScopeDeclaration__Group__0)
345 { after(grammarAccess.getScopeDeclarationAccess().getGroup()); }
346 )
347;
348finally {
349 restoreStackSize(stackSize);
350}
351
352// Entry rule entryRuleTypeScope
353entryRuleTypeScope
354:
355{ before(grammarAccess.getTypeScopeRule()); }
356 ruleTypeScope
357{ after(grammarAccess.getTypeScopeRule()); }
358 EOF
359;
360
361// Rule TypeScope
362ruleTypeScope
363 @init {
364 int stackSize = keepStackSize();
365 }
366 :
367 (
368 { before(grammarAccess.getTypeScopeAccess().getGroup()); }
369 (rule__TypeScope__Group__0)
370 { after(grammarAccess.getTypeScopeAccess().getGroup()); }
371 )
372;
373finally {
374 restoreStackSize(stackSize);
375}
376
377// Entry rule entryRuleMultiplicity
378entryRuleMultiplicity
379:
380{ before(grammarAccess.getMultiplicityRule()); }
381 ruleMultiplicity
382{ after(grammarAccess.getMultiplicityRule()); }
383 EOF
384;
385
386// Rule Multiplicity
387ruleMultiplicity
388 @init {
389 int stackSize = keepStackSize();
390 }
391 :
392 (
393 { before(grammarAccess.getMultiplicityAccess().getAlternatives()); }
394 (rule__Multiplicity__Alternatives)
395 { after(grammarAccess.getMultiplicityAccess().getAlternatives()); }
396 )
397;
398finally {
399 restoreStackSize(stackSize);
400}
401
402// Entry rule entryRuleRangeMultiplicity
403entryRuleRangeMultiplicity
404:
405{ before(grammarAccess.getRangeMultiplicityRule()); }
406 ruleRangeMultiplicity
407{ after(grammarAccess.getRangeMultiplicityRule()); }
408 EOF
409;
410
411// Rule RangeMultiplicity
412ruleRangeMultiplicity
413 @init {
414 int stackSize = keepStackSize();
415 }
416 :
417 (
418 { before(grammarAccess.getRangeMultiplicityAccess().getGroup()); }
419 (rule__RangeMultiplicity__Group__0)
420 { after(grammarAccess.getRangeMultiplicityAccess().getGroup()); }
421 )
422;
423finally {
424 restoreStackSize(stackSize);
425}
426
427// Entry rule entryRuleExactMultiplicity
428entryRuleExactMultiplicity
429:
430{ before(grammarAccess.getExactMultiplicityRule()); }
431 ruleExactMultiplicity
432{ after(grammarAccess.getExactMultiplicityRule()); }
433 EOF
434;
435
436// Rule ExactMultiplicity
437ruleExactMultiplicity
438 @init {
439 int stackSize = keepStackSize();
440 }
441 :
442 (
443 { before(grammarAccess.getExactMultiplicityAccess().getExactValueAssignment()); }
444 (rule__ExactMultiplicity__ExactValueAssignment)
445 { after(grammarAccess.getExactMultiplicityAccess().getExactValueAssignment()); }
446 )
447;
448finally {
449 restoreStackSize(stackSize);
450}
451
452// Entry rule entryRuleUpperBound
453entryRuleUpperBound
454:
455{ before(grammarAccess.getUpperBoundRule()); }
456 ruleUpperBound
457{ after(grammarAccess.getUpperBoundRule()); }
458 EOF
459;
460
461// Rule UpperBound
462ruleUpperBound
463 @init {
464 int stackSize = keepStackSize();
465 }
466 :
467 (
468 { before(grammarAccess.getUpperBoundAccess().getAlternatives()); }
469 (rule__UpperBound__Alternatives)
470 { after(grammarAccess.getUpperBoundAccess().getAlternatives()); }
471 )
472;
473finally {
474 restoreStackSize(stackSize);
475}
476
477// Entry rule entryRuleQualifiedName
478entryRuleQualifiedName
479:
480{ before(grammarAccess.getQualifiedNameRule()); }
481 ruleQualifiedName
482{ after(grammarAccess.getQualifiedNameRule()); }
483 EOF
484;
485
486// Rule QualifiedName
487ruleQualifiedName
488 @init {
489 int stackSize = keepStackSize();
490 }
491 :
492 (
493 { before(grammarAccess.getQualifiedNameAccess().getGroup()); }
494 (rule__QualifiedName__Group__0)
495 { after(grammarAccess.getQualifiedNameAccess().getGroup()); }
496 )
497;
498finally {
499 restoreStackSize(stackSize);
500}
501
502// Rule LogicValue
503ruleLogicValue
504 @init {
505 int stackSize = keepStackSize();
506 }
507:
508 (
509 { before(grammarAccess.getLogicValueAccess().getAlternatives()); }
510 (rule__LogicValue__Alternatives)
511 { after(grammarAccess.getLogicValueAccess().getAlternatives()); }
512 )
513;
514finally {
515 restoreStackSize(stackSize);
516}
517
518// Rule ShortLogicValue
519ruleShortLogicValue
520 @init {
521 int stackSize = keepStackSize();
522 }
523:
524 (
525 { before(grammarAccess.getShortLogicValueAccess().getAlternatives()); }
526 (rule__ShortLogicValue__Alternatives)
527 { after(grammarAccess.getShortLogicValueAccess().getAlternatives()); }
528 )
529;
530finally {
531 restoreStackSize(stackSize);
532}
533
534rule__Statement__Alternatives
535 @init {
536 int stackSize = keepStackSize();
537 }
538:
539 (
540 { before(grammarAccess.getStatementAccess().getClassDeclarationParserRuleCall_0()); }
541 ruleClassDeclaration
542 { after(grammarAccess.getStatementAccess().getClassDeclarationParserRuleCall_0()); }
543 )
544 |
545 (
546 { before(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_1()); }
547 rulePredicateDefinition
548 { after(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_1()); }
549 )
550 |
551 (
552 { before(grammarAccess.getStatementAccess().getAssertionParserRuleCall_2()); }
553 ruleAssertion
554 { after(grammarAccess.getStatementAccess().getAssertionParserRuleCall_2()); }
555 )
556 |
557 (
558 { before(grammarAccess.getStatementAccess().getScopeDeclarationParserRuleCall_3()); }
559 ruleScopeDeclaration
560 { after(grammarAccess.getStatementAccess().getScopeDeclarationParserRuleCall_3()); }
561 )
562;
563finally {
564 restoreStackSize(stackSize);
565}
566
567rule__ClassDeclaration__Alternatives_3
568 @init {
569 int stackSize = keepStackSize();
570 }
571:
572 (
573 { before(grammarAccess.getClassDeclarationAccess().getGroup_3_0()); }
574 (rule__ClassDeclaration__Group_3_0__0)
575 { after(grammarAccess.getClassDeclarationAccess().getGroup_3_0()); }
576 )
577 |
578 (
579 { before(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsAssignment_3_1()); }
580 (rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1)
581 { after(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsAssignment_3_1()); }
582 )
583;
584finally {
585 restoreStackSize(stackSize);
586}
587
588rule__ClassDeclaration__Alternatives_3_0_1
589 @init {
590 int stackSize = keepStackSize();
591 }
592:
593 (
594 { before(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_0()); }
595 (rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0)
596 { after(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_0()); }
597 )
598 |
599 (
600 { before(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1()); }
601 (rule__ClassDeclaration__Group_3_0_1_1__0)
602 { after(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1()); }
603 )
604;
605finally {
606 restoreStackSize(stackSize);
607}
608
609rule__ReferenceDeclaration__Alternatives_0
610 @init {
611 int stackSize = keepStackSize();
612 }
613:
614 (
615 { before(grammarAccess.getReferenceDeclarationAccess().getContainmentAssignment_0_0()); }
616 (rule__ReferenceDeclaration__ContainmentAssignment_0_0)
617 { after(grammarAccess.getReferenceDeclarationAccess().getContainmentAssignment_0_0()); }
618 )
619 |
620 (
621 { before(grammarAccess.getReferenceDeclarationAccess().getRefersKeyword_0_1()); }
622 'refers'
623 { after(grammarAccess.getReferenceDeclarationAccess().getRefersKeyword_0_1()); }
624 )
625;
626finally {
627 restoreStackSize(stackSize);
628}
629
630rule__PredicateDefinition__Alternatives_0
631 @init {
632 int stackSize = keepStackSize();
633 }
634:
635 (
636 { before(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0()); }
637 (rule__PredicateDefinition__Group_0_0__0)
638 { after(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0()); }
639 )
640 |
641 (
642 { before(grammarAccess.getPredicateDefinitionAccess().getPredKeyword_0_1()); }
643 'pred'
644 { after(grammarAccess.getPredicateDefinitionAccess().getPredKeyword_0_1()); }
645 )
646;
647finally {
648 restoreStackSize(stackSize);
649}
650
651rule__Literal__Alternatives
652 @init {
653 int stackSize = keepStackSize();
654 }
655:
656 (
657 { before(grammarAccess.getLiteralAccess().getAtomParserRuleCall_0()); }
658 ruleAtom
659 { after(grammarAccess.getLiteralAccess().getAtomParserRuleCall_0()); }
660 )
661 |
662 (
663 { before(grammarAccess.getLiteralAccess().getNegativeLiteralParserRuleCall_1()); }
664 ruleNegativeLiteral
665 { after(grammarAccess.getLiteralAccess().getNegativeLiteralParserRuleCall_1()); }
666 )
667;
668finally {
669 restoreStackSize(stackSize);
670}
671
672rule__Assertion__Alternatives_0
673 @init {
674 int stackSize = keepStackSize();
675 }
676:
677 (
678 { before(grammarAccess.getAssertionAccess().getGroup_0_0()); }
679 (rule__Assertion__Group_0_0__0)
680 { after(grammarAccess.getAssertionAccess().getGroup_0_0()); }
681 )
682 |
683 (
684 { before(grammarAccess.getAssertionAccess().getGroup_0_1()); }
685 (rule__Assertion__Group_0_1__0)
686 { after(grammarAccess.getAssertionAccess().getGroup_0_1()); }
687 )
688;
689finally {
690 restoreStackSize(stackSize);
691}
692
693rule__TypeScope__Alternatives_1
694 @init {
695 int stackSize = keepStackSize();
696 }
697:
698 (
699 { before(grammarAccess.getTypeScopeAccess().getIncrementAssignment_1_0()); }
700 (rule__TypeScope__IncrementAssignment_1_0)
701 { after(grammarAccess.getTypeScopeAccess().getIncrementAssignment_1_0()); }
702 )
703 |
704 (
705 { before(grammarAccess.getTypeScopeAccess().getEqualsSignKeyword_1_1()); }
706 '='
707 { after(grammarAccess.getTypeScopeAccess().getEqualsSignKeyword_1_1()); }
708 )
709;
710finally {
711 restoreStackSize(stackSize);
712}
713
714rule__Multiplicity__Alternatives
715 @init {
716 int stackSize = keepStackSize();
717 }
718:
719 (
720 { before(grammarAccess.getMultiplicityAccess().getRangeMultiplicityParserRuleCall_0()); }
721 ruleRangeMultiplicity
722 { after(grammarAccess.getMultiplicityAccess().getRangeMultiplicityParserRuleCall_0()); }
723 )
724 |
725 (
726 { before(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); }
727 ruleExactMultiplicity
728 { after(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1()); }
729 )
730;
731finally {
732 restoreStackSize(stackSize);
733}
734
735rule__UpperBound__Alternatives
736 @init {
737 int stackSize = keepStackSize();
738 }
739:
740 (
741 { before(grammarAccess.getUpperBoundAccess().getINTTerminalRuleCall_0()); }
742 RULE_INT
743 { after(grammarAccess.getUpperBoundAccess().getINTTerminalRuleCall_0()); }
744 )
745 |
746 (
747 { before(grammarAccess.getUpperBoundAccess().getAsteriskKeyword_1()); }
748 '*'
749 { after(grammarAccess.getUpperBoundAccess().getAsteriskKeyword_1()); }
750 )
751;
752finally {
753 restoreStackSize(stackSize);
754}
755
756rule__LogicValue__Alternatives
757 @init {
758 int stackSize = keepStackSize();
759 }
760:
761 (
762 { before(grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0()); }
763 ('true')
764 { after(grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0()); }
765 )
766 |
767 (
768 { before(grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1()); }
769 ('false')
770 { after(grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1()); }
771 )
772 |
773 (
774 { before(grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2()); }
775 ('unknown')
776 { after(grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2()); }
777 )
778;
779finally {
780 restoreStackSize(stackSize);
781}
782
783rule__ShortLogicValue__Alternatives
784 @init {
785 int stackSize = keepStackSize();
786 }
787:
788 (
789 { before(grammarAccess.getShortLogicValueAccess().getFALSEEnumLiteralDeclaration_0()); }
790 ('!')
791 { after(grammarAccess.getShortLogicValueAccess().getFALSEEnumLiteralDeclaration_0()); }
792 )
793 |
794 (
795 { before(grammarAccess.getShortLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_1()); }
796 ('?')
797 { after(grammarAccess.getShortLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_1()); }
798 )
799;
800finally {
801 restoreStackSize(stackSize);
802}
803
804rule__ClassDeclaration__Group__0
805 @init {
806 int stackSize = keepStackSize();
807 }
808:
809 rule__ClassDeclaration__Group__0__Impl
810 rule__ClassDeclaration__Group__1
811;
812finally {
813 restoreStackSize(stackSize);
814}
815
816rule__ClassDeclaration__Group__0__Impl
817 @init {
818 int stackSize = keepStackSize();
819 }
820:
821(
822 { before(grammarAccess.getClassDeclarationAccess().getAbstractAssignment_0()); }
823 (rule__ClassDeclaration__AbstractAssignment_0)?
824 { after(grammarAccess.getClassDeclarationAccess().getAbstractAssignment_0()); }
825)
826;
827finally {
828 restoreStackSize(stackSize);
829}
830
831rule__ClassDeclaration__Group__1
832 @init {
833 int stackSize = keepStackSize();
834 }
835:
836 rule__ClassDeclaration__Group__1__Impl
837 rule__ClassDeclaration__Group__2
838;
839finally {
840 restoreStackSize(stackSize);
841}
842
843rule__ClassDeclaration__Group__1__Impl
844 @init {
845 int stackSize = keepStackSize();
846 }
847:
848(
849 { before(grammarAccess.getClassDeclarationAccess().getClassKeyword_1()); }
850 'class'
851 { after(grammarAccess.getClassDeclarationAccess().getClassKeyword_1()); }
852)
853;
854finally {
855 restoreStackSize(stackSize);
856}
857
858rule__ClassDeclaration__Group__2
859 @init {
860 int stackSize = keepStackSize();
861 }
862:
863 rule__ClassDeclaration__Group__2__Impl
864 rule__ClassDeclaration__Group__3
865;
866finally {
867 restoreStackSize(stackSize);
868}
869
870rule__ClassDeclaration__Group__2__Impl
871 @init {
872 int stackSize = keepStackSize();
873 }
874:
875(
876 { before(grammarAccess.getClassDeclarationAccess().getNameAssignment_2()); }
877 (rule__ClassDeclaration__NameAssignment_2)
878 { after(grammarAccess.getClassDeclarationAccess().getNameAssignment_2()); }
879)
880;
881finally {
882 restoreStackSize(stackSize);
883}
884
885rule__ClassDeclaration__Group__3
886 @init {
887 int stackSize = keepStackSize();
888 }
889:
890 rule__ClassDeclaration__Group__3__Impl
891 rule__ClassDeclaration__Group__4
892;
893finally {
894 restoreStackSize(stackSize);
895}
896
897rule__ClassDeclaration__Group__3__Impl
898 @init {
899 int stackSize = keepStackSize();
900 }
901:
902(
903 { before(grammarAccess.getClassDeclarationAccess().getAlternatives_3()); }
904 (rule__ClassDeclaration__Alternatives_3)?
905 { after(grammarAccess.getClassDeclarationAccess().getAlternatives_3()); }
906)
907;
908finally {
909 restoreStackSize(stackSize);
910}
911
912rule__ClassDeclaration__Group__4
913 @init {
914 int stackSize = keepStackSize();
915 }
916:
917 rule__ClassDeclaration__Group__4__Impl
918 rule__ClassDeclaration__Group__5
919;
920finally {
921 restoreStackSize(stackSize);
922}
923
924rule__ClassDeclaration__Group__4__Impl
925 @init {
926 int stackSize = keepStackSize();
927 }
928:
929(
930 { before(grammarAccess.getClassDeclarationAccess().getGroup_4()); }
931 (rule__ClassDeclaration__Group_4__0)*
932 { after(grammarAccess.getClassDeclarationAccess().getGroup_4()); }
933)
934;
935finally {
936 restoreStackSize(stackSize);
937}
938
939rule__ClassDeclaration__Group__5
940 @init {
941 int stackSize = keepStackSize();
942 }
943:
944 rule__ClassDeclaration__Group__5__Impl
945;
946finally {
947 restoreStackSize(stackSize);
948}
949
950rule__ClassDeclaration__Group__5__Impl
951 @init {
952 int stackSize = keepStackSize();
953 }
954:
955(
956 { before(grammarAccess.getClassDeclarationAccess().getFullStopKeyword_5()); }
957 '.'
958 { after(grammarAccess.getClassDeclarationAccess().getFullStopKeyword_5()); }
959)
960;
961finally {
962 restoreStackSize(stackSize);
963}
964
965
966rule__ClassDeclaration__Group_3_0__0
967 @init {
968 int stackSize = keepStackSize();
969 }
970:
971 rule__ClassDeclaration__Group_3_0__0__Impl
972 rule__ClassDeclaration__Group_3_0__1
973;
974finally {
975 restoreStackSize(stackSize);
976}
977
978rule__ClassDeclaration__Group_3_0__0__Impl
979 @init {
980 int stackSize = keepStackSize();
981 }
982:
983(
984 { before(grammarAccess.getClassDeclarationAccess().getExtendsKeyword_3_0_0()); }
985 'extends'
986 { after(grammarAccess.getClassDeclarationAccess().getExtendsKeyword_3_0_0()); }
987)
988;
989finally {
990 restoreStackSize(stackSize);
991}
992
993rule__ClassDeclaration__Group_3_0__1
994 @init {
995 int stackSize = keepStackSize();
996 }
997:
998 rule__ClassDeclaration__Group_3_0__1__Impl
999;
1000finally {
1001 restoreStackSize(stackSize);
1002}
1003
1004rule__ClassDeclaration__Group_3_0__1__Impl
1005 @init {
1006 int stackSize = keepStackSize();
1007 }
1008:
1009(
1010 { before(grammarAccess.getClassDeclarationAccess().getAlternatives_3_0_1()); }
1011 (rule__ClassDeclaration__Alternatives_3_0_1)
1012 { after(grammarAccess.getClassDeclarationAccess().getAlternatives_3_0_1()); }
1013)
1014;
1015finally {
1016 restoreStackSize(stackSize);
1017}
1018
1019
1020rule__ClassDeclaration__Group_3_0_1_1__0
1021 @init {
1022 int stackSize = keepStackSize();
1023 }
1024:
1025 rule__ClassDeclaration__Group_3_0_1_1__0__Impl
1026 rule__ClassDeclaration__Group_3_0_1_1__1
1027;
1028finally {
1029 restoreStackSize(stackSize);
1030}
1031
1032rule__ClassDeclaration__Group_3_0_1_1__0__Impl
1033 @init {
1034 int stackSize = keepStackSize();
1035 }
1036:
1037(
1038 { before(grammarAccess.getClassDeclarationAccess().getLeftSquareBracketKeyword_3_0_1_1_0()); }
1039 '['
1040 { after(grammarAccess.getClassDeclarationAccess().getLeftSquareBracketKeyword_3_0_1_1_0()); }
1041)
1042;
1043finally {
1044 restoreStackSize(stackSize);
1045}
1046
1047rule__ClassDeclaration__Group_3_0_1_1__1
1048 @init {
1049 int stackSize = keepStackSize();
1050 }
1051:
1052 rule__ClassDeclaration__Group_3_0_1_1__1__Impl
1053 rule__ClassDeclaration__Group_3_0_1_1__2
1054;
1055finally {
1056 restoreStackSize(stackSize);
1057}
1058
1059rule__ClassDeclaration__Group_3_0_1_1__1__Impl
1060 @init {
1061 int stackSize = keepStackSize();
1062 }
1063:
1064(
1065 { before(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1_1()); }
1066 (rule__ClassDeclaration__Group_3_0_1_1_1__0)?
1067 { after(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1_1()); }
1068)
1069;
1070finally {
1071 restoreStackSize(stackSize);
1072}
1073
1074rule__ClassDeclaration__Group_3_0_1_1__2
1075 @init {
1076 int stackSize = keepStackSize();
1077 }
1078:
1079 rule__ClassDeclaration__Group_3_0_1_1__2__Impl
1080;
1081finally {
1082 restoreStackSize(stackSize);
1083}
1084
1085rule__ClassDeclaration__Group_3_0_1_1__2__Impl
1086 @init {
1087 int stackSize = keepStackSize();
1088 }
1089:
1090(
1091 { before(grammarAccess.getClassDeclarationAccess().getRightSquareBracketKeyword_3_0_1_1_2()); }
1092 ']'
1093 { after(grammarAccess.getClassDeclarationAccess().getRightSquareBracketKeyword_3_0_1_1_2()); }
1094)
1095;
1096finally {
1097 restoreStackSize(stackSize);
1098}
1099
1100
1101rule__ClassDeclaration__Group_3_0_1_1_1__0
1102 @init {
1103 int stackSize = keepStackSize();
1104 }
1105:
1106 rule__ClassDeclaration__Group_3_0_1_1_1__0__Impl
1107 rule__ClassDeclaration__Group_3_0_1_1_1__1
1108;
1109finally {
1110 restoreStackSize(stackSize);
1111}
1112
1113rule__ClassDeclaration__Group_3_0_1_1_1__0__Impl
1114 @init {
1115 int stackSize = keepStackSize();
1116 }
1117:
1118(
1119 { before(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_1_1_0()); }
1120 (rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0)
1121 { after(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_1_1_0()); }
1122)
1123;
1124finally {
1125 restoreStackSize(stackSize);
1126}
1127
1128rule__ClassDeclaration__Group_3_0_1_1_1__1
1129 @init {
1130 int stackSize = keepStackSize();
1131 }
1132:
1133 rule__ClassDeclaration__Group_3_0_1_1_1__1__Impl
1134;
1135finally {
1136 restoreStackSize(stackSize);
1137}
1138
1139rule__ClassDeclaration__Group_3_0_1_1_1__1__Impl
1140 @init {
1141 int stackSize = keepStackSize();
1142 }
1143:
1144(
1145 { before(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1_1_1()); }
1146 (rule__ClassDeclaration__Group_3_0_1_1_1_1__0)*
1147 { after(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1_1_1()); }
1148)
1149;
1150finally {
1151 restoreStackSize(stackSize);
1152}
1153
1154
1155rule__ClassDeclaration__Group_3_0_1_1_1_1__0
1156 @init {
1157 int stackSize = keepStackSize();
1158 }
1159:
1160 rule__ClassDeclaration__Group_3_0_1_1_1_1__0__Impl
1161 rule__ClassDeclaration__Group_3_0_1_1_1_1__1
1162;
1163finally {
1164 restoreStackSize(stackSize);
1165}
1166
1167rule__ClassDeclaration__Group_3_0_1_1_1_1__0__Impl
1168 @init {
1169 int stackSize = keepStackSize();
1170 }
1171:
1172(
1173 { before(grammarAccess.getClassDeclarationAccess().getCommaKeyword_3_0_1_1_1_1_0()); }
1174 ','
1175 { after(grammarAccess.getClassDeclarationAccess().getCommaKeyword_3_0_1_1_1_1_0()); }
1176)
1177;
1178finally {
1179 restoreStackSize(stackSize);
1180}
1181
1182rule__ClassDeclaration__Group_3_0_1_1_1_1__1
1183 @init {
1184 int stackSize = keepStackSize();
1185 }
1186:
1187 rule__ClassDeclaration__Group_3_0_1_1_1_1__1__Impl
1188;
1189finally {
1190 restoreStackSize(stackSize);
1191}
1192
1193rule__ClassDeclaration__Group_3_0_1_1_1_1__1__Impl
1194 @init {
1195 int stackSize = keepStackSize();
1196 }
1197:
1198(
1199 { before(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_1_1_1_1()); }
1200 (rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1)
1201 { after(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_1_1_1_1()); }
1202)
1203;
1204finally {
1205 restoreStackSize(stackSize);
1206}
1207
1208
1209rule__ClassDeclaration__Group_4__0
1210 @init {
1211 int stackSize = keepStackSize();
1212 }
1213:
1214 rule__ClassDeclaration__Group_4__0__Impl
1215 rule__ClassDeclaration__Group_4__1
1216;
1217finally {
1218 restoreStackSize(stackSize);
1219}
1220
1221rule__ClassDeclaration__Group_4__0__Impl
1222 @init {
1223 int stackSize = keepStackSize();
1224 }
1225:
1226(
1227 { before(grammarAccess.getClassDeclarationAccess().getCommaKeyword_4_0()); }
1228 ','
1229 { after(grammarAccess.getClassDeclarationAccess().getCommaKeyword_4_0()); }
1230)
1231;
1232finally {
1233 restoreStackSize(stackSize);
1234}
1235
1236rule__ClassDeclaration__Group_4__1
1237 @init {
1238 int stackSize = keepStackSize();
1239 }
1240:
1241 rule__ClassDeclaration__Group_4__1__Impl
1242;
1243finally {
1244 restoreStackSize(stackSize);
1245}
1246
1247rule__ClassDeclaration__Group_4__1__Impl
1248 @init {
1249 int stackSize = keepStackSize();
1250 }
1251:
1252(
1253 { before(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsAssignment_4_1()); }
1254 (rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1)
1255 { after(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsAssignment_4_1()); }
1256)
1257;
1258finally {
1259 restoreStackSize(stackSize);
1260}
1261
1262
1263rule__ReferenceDeclaration__Group__0
1264 @init {
1265 int stackSize = keepStackSize();
1266 }
1267:
1268 rule__ReferenceDeclaration__Group__0__Impl
1269 rule__ReferenceDeclaration__Group__1
1270;
1271finally {
1272 restoreStackSize(stackSize);
1273}
1274
1275rule__ReferenceDeclaration__Group__0__Impl
1276 @init {
1277 int stackSize = keepStackSize();
1278 }
1279:
1280(
1281 { before(grammarAccess.getReferenceDeclarationAccess().getAlternatives_0()); }
1282 (rule__ReferenceDeclaration__Alternatives_0)
1283 { after(grammarAccess.getReferenceDeclarationAccess().getAlternatives_0()); }
1284)
1285;
1286finally {
1287 restoreStackSize(stackSize);
1288}
1289
1290rule__ReferenceDeclaration__Group__1
1291 @init {
1292 int stackSize = keepStackSize();
1293 }
1294:
1295 rule__ReferenceDeclaration__Group__1__Impl
1296 rule__ReferenceDeclaration__Group__2
1297;
1298finally {
1299 restoreStackSize(stackSize);
1300}
1301
1302rule__ReferenceDeclaration__Group__1__Impl
1303 @init {
1304 int stackSize = keepStackSize();
1305 }
1306:
1307(
1308 { before(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeAssignment_1()); }
1309 (rule__ReferenceDeclaration__ReferenceTypeAssignment_1)
1310 { after(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeAssignment_1()); }
1311)
1312;
1313finally {
1314 restoreStackSize(stackSize);
1315}
1316
1317rule__ReferenceDeclaration__Group__2
1318 @init {
1319 int stackSize = keepStackSize();
1320 }
1321:
1322 rule__ReferenceDeclaration__Group__2__Impl
1323 rule__ReferenceDeclaration__Group__3
1324;
1325finally {
1326 restoreStackSize(stackSize);
1327}
1328
1329rule__ReferenceDeclaration__Group__2__Impl
1330 @init {
1331 int stackSize = keepStackSize();
1332 }
1333:
1334(
1335 { before(grammarAccess.getReferenceDeclarationAccess().getLeftSquareBracketKeyword_2()); }
1336 '['
1337 { after(grammarAccess.getReferenceDeclarationAccess().getLeftSquareBracketKeyword_2()); }
1338)
1339;
1340finally {
1341 restoreStackSize(stackSize);
1342}
1343
1344rule__ReferenceDeclaration__Group__3
1345 @init {
1346 int stackSize = keepStackSize();
1347 }
1348:
1349 rule__ReferenceDeclaration__Group__3__Impl
1350 rule__ReferenceDeclaration__Group__4
1351;
1352finally {
1353 restoreStackSize(stackSize);
1354}
1355
1356rule__ReferenceDeclaration__Group__3__Impl
1357 @init {
1358 int stackSize = keepStackSize();
1359 }
1360:
1361(
1362 { before(grammarAccess.getReferenceDeclarationAccess().getMultiplicityAssignment_3()); }
1363 (rule__ReferenceDeclaration__MultiplicityAssignment_3)
1364 { after(grammarAccess.getReferenceDeclarationAccess().getMultiplicityAssignment_3()); }
1365)
1366;
1367finally {
1368 restoreStackSize(stackSize);
1369}
1370
1371rule__ReferenceDeclaration__Group__4
1372 @init {
1373 int stackSize = keepStackSize();
1374 }
1375:
1376 rule__ReferenceDeclaration__Group__4__Impl
1377 rule__ReferenceDeclaration__Group__5
1378;
1379finally {
1380 restoreStackSize(stackSize);
1381}
1382
1383rule__ReferenceDeclaration__Group__4__Impl
1384 @init {
1385 int stackSize = keepStackSize();
1386 }
1387:
1388(
1389 { before(grammarAccess.getReferenceDeclarationAccess().getRightSquareBracketKeyword_4()); }
1390 ']'
1391 { after(grammarAccess.getReferenceDeclarationAccess().getRightSquareBracketKeyword_4()); }
1392)
1393;
1394finally {
1395 restoreStackSize(stackSize);
1396}
1397
1398rule__ReferenceDeclaration__Group__5
1399 @init {
1400 int stackSize = keepStackSize();
1401 }
1402:
1403 rule__ReferenceDeclaration__Group__5__Impl
1404 rule__ReferenceDeclaration__Group__6
1405;
1406finally {
1407 restoreStackSize(stackSize);
1408}
1409
1410rule__ReferenceDeclaration__Group__5__Impl
1411 @init {
1412 int stackSize = keepStackSize();
1413 }
1414:
1415(
1416 { before(grammarAccess.getReferenceDeclarationAccess().getNameAssignment_5()); }
1417 (rule__ReferenceDeclaration__NameAssignment_5)
1418 { after(grammarAccess.getReferenceDeclarationAccess().getNameAssignment_5()); }
1419)
1420;
1421finally {
1422 restoreStackSize(stackSize);
1423}
1424
1425rule__ReferenceDeclaration__Group__6
1426 @init {
1427 int stackSize = keepStackSize();
1428 }
1429:
1430 rule__ReferenceDeclaration__Group__6__Impl
1431;
1432finally {
1433 restoreStackSize(stackSize);
1434}
1435
1436rule__ReferenceDeclaration__Group__6__Impl
1437 @init {
1438 int stackSize = keepStackSize();
1439 }
1440:
1441(
1442 { before(grammarAccess.getReferenceDeclarationAccess().getGroup_6()); }
1443 (rule__ReferenceDeclaration__Group_6__0)?
1444 { after(grammarAccess.getReferenceDeclarationAccess().getGroup_6()); }
1445)
1446;
1447finally {
1448 restoreStackSize(stackSize);
1449}
1450
1451
1452rule__ReferenceDeclaration__Group_6__0
1453 @init {
1454 int stackSize = keepStackSize();
1455 }
1456:
1457 rule__ReferenceDeclaration__Group_6__0__Impl
1458 rule__ReferenceDeclaration__Group_6__1
1459;
1460finally {
1461 restoreStackSize(stackSize);
1462}
1463
1464rule__ReferenceDeclaration__Group_6__0__Impl
1465 @init {
1466 int stackSize = keepStackSize();
1467 }
1468:
1469(
1470 { before(grammarAccess.getReferenceDeclarationAccess().getOppositeKeyword_6_0()); }
1471 'opposite'
1472 { after(grammarAccess.getReferenceDeclarationAccess().getOppositeKeyword_6_0()); }
1473)
1474;
1475finally {
1476 restoreStackSize(stackSize);
1477}
1478
1479rule__ReferenceDeclaration__Group_6__1
1480 @init {
1481 int stackSize = keepStackSize();
1482 }
1483:
1484 rule__ReferenceDeclaration__Group_6__1__Impl
1485;
1486finally {
1487 restoreStackSize(stackSize);
1488}
1489
1490rule__ReferenceDeclaration__Group_6__1__Impl
1491 @init {
1492 int stackSize = keepStackSize();
1493 }
1494:
1495(
1496 { before(grammarAccess.getReferenceDeclarationAccess().getOppositeAssignment_6_1()); }
1497 (rule__ReferenceDeclaration__OppositeAssignment_6_1)
1498 { after(grammarAccess.getReferenceDeclarationAccess().getOppositeAssignment_6_1()); }
1499)
1500;
1501finally {
1502 restoreStackSize(stackSize);
1503}
1504
1505
1506rule__PredicateDefinition__Group__0
1507 @init {
1508 int stackSize = keepStackSize();
1509 }
1510:
1511 rule__PredicateDefinition__Group__0__Impl
1512 rule__PredicateDefinition__Group__1
1513;
1514finally {
1515 restoreStackSize(stackSize);
1516}
1517
1518rule__PredicateDefinition__Group__0__Impl
1519 @init {
1520 int stackSize = keepStackSize();
1521 }
1522:
1523(
1524 { before(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0()); }
1525 (rule__PredicateDefinition__Alternatives_0)
1526 { after(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0()); }
1527)
1528;
1529finally {
1530 restoreStackSize(stackSize);
1531}
1532
1533rule__PredicateDefinition__Group__1
1534 @init {
1535 int stackSize = keepStackSize();
1536 }
1537:
1538 rule__PredicateDefinition__Group__1__Impl
1539 rule__PredicateDefinition__Group__2
1540;
1541finally {
1542 restoreStackSize(stackSize);
1543}
1544
1545rule__PredicateDefinition__Group__1__Impl
1546 @init {
1547 int stackSize = keepStackSize();
1548 }
1549:
1550(
1551 { before(grammarAccess.getPredicateDefinitionAccess().getNameAssignment_1()); }
1552 (rule__PredicateDefinition__NameAssignment_1)
1553 { after(grammarAccess.getPredicateDefinitionAccess().getNameAssignment_1()); }
1554)
1555;
1556finally {
1557 restoreStackSize(stackSize);
1558}
1559
1560rule__PredicateDefinition__Group__2
1561 @init {
1562 int stackSize = keepStackSize();
1563 }
1564:
1565 rule__PredicateDefinition__Group__2__Impl
1566 rule__PredicateDefinition__Group__3
1567;
1568finally {
1569 restoreStackSize(stackSize);
1570}
1571
1572rule__PredicateDefinition__Group__2__Impl
1573 @init {
1574 int stackSize = keepStackSize();
1575 }
1576:
1577(
1578 { before(grammarAccess.getPredicateDefinitionAccess().getLeftParenthesisKeyword_2()); }
1579 '('
1580 { after(grammarAccess.getPredicateDefinitionAccess().getLeftParenthesisKeyword_2()); }
1581)
1582;
1583finally {
1584 restoreStackSize(stackSize);
1585}
1586
1587rule__PredicateDefinition__Group__3
1588 @init {
1589 int stackSize = keepStackSize();
1590 }
1591:
1592 rule__PredicateDefinition__Group__3__Impl
1593 rule__PredicateDefinition__Group__4
1594;
1595finally {
1596 restoreStackSize(stackSize);
1597}
1598
1599rule__PredicateDefinition__Group__3__Impl
1600 @init {
1601 int stackSize = keepStackSize();
1602 }
1603:
1604(
1605 { before(grammarAccess.getPredicateDefinitionAccess().getGroup_3()); }
1606 (rule__PredicateDefinition__Group_3__0)?
1607 { after(grammarAccess.getPredicateDefinitionAccess().getGroup_3()); }
1608)
1609;
1610finally {
1611 restoreStackSize(stackSize);
1612}
1613
1614rule__PredicateDefinition__Group__4
1615 @init {
1616 int stackSize = keepStackSize();
1617 }
1618:
1619 rule__PredicateDefinition__Group__4__Impl
1620 rule__PredicateDefinition__Group__5
1621;
1622finally {
1623 restoreStackSize(stackSize);
1624}
1625
1626rule__PredicateDefinition__Group__4__Impl
1627 @init {
1628 int stackSize = keepStackSize();
1629 }
1630:
1631(
1632 { before(grammarAccess.getPredicateDefinitionAccess().getRightParenthesisKeyword_4()); }
1633 ')'
1634 { after(grammarAccess.getPredicateDefinitionAccess().getRightParenthesisKeyword_4()); }
1635)
1636;
1637finally {
1638 restoreStackSize(stackSize);
1639}
1640
1641rule__PredicateDefinition__Group__5
1642 @init {
1643 int stackSize = keepStackSize();
1644 }
1645:
1646 rule__PredicateDefinition__Group__5__Impl
1647 rule__PredicateDefinition__Group__6
1648;
1649finally {
1650 restoreStackSize(stackSize);
1651}
1652
1653rule__PredicateDefinition__Group__5__Impl
1654 @init {
1655 int stackSize = keepStackSize();
1656 }
1657:
1658(
1659 { before(grammarAccess.getPredicateDefinitionAccess().getGroup_5()); }
1660 (rule__PredicateDefinition__Group_5__0)?
1661 { after(grammarAccess.getPredicateDefinitionAccess().getGroup_5()); }
1662)
1663;
1664finally {
1665 restoreStackSize(stackSize);
1666}
1667
1668rule__PredicateDefinition__Group__6
1669 @init {
1670 int stackSize = keepStackSize();
1671 }
1672:
1673 rule__PredicateDefinition__Group__6__Impl
1674;
1675finally {
1676 restoreStackSize(stackSize);
1677}
1678
1679rule__PredicateDefinition__Group__6__Impl
1680 @init {
1681 int stackSize = keepStackSize();
1682 }
1683:
1684(
1685 { before(grammarAccess.getPredicateDefinitionAccess().getFullStopKeyword_6()); }
1686 '.'
1687 { after(grammarAccess.getPredicateDefinitionAccess().getFullStopKeyword_6()); }
1688)
1689;
1690finally {
1691 restoreStackSize(stackSize);
1692}
1693
1694
1695rule__PredicateDefinition__Group_0_0__0
1696 @init {
1697 int stackSize = keepStackSize();
1698 }
1699:
1700 rule__PredicateDefinition__Group_0_0__0__Impl
1701 rule__PredicateDefinition__Group_0_0__1
1702;
1703finally {
1704 restoreStackSize(stackSize);
1705}
1706
1707rule__PredicateDefinition__Group_0_0__0__Impl
1708 @init {
1709 int stackSize = keepStackSize();
1710 }
1711:
1712(
1713 { before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_0()); }
1714 (rule__PredicateDefinition__ErrorAssignment_0_0_0)
1715 { after(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_0()); }
1716)
1717;
1718finally {
1719 restoreStackSize(stackSize);
1720}
1721
1722rule__PredicateDefinition__Group_0_0__1
1723 @init {
1724 int stackSize = keepStackSize();
1725 }
1726:
1727 rule__PredicateDefinition__Group_0_0__1__Impl
1728;
1729finally {
1730 restoreStackSize(stackSize);
1731}
1732
1733rule__PredicateDefinition__Group_0_0__1__Impl
1734 @init {
1735 int stackSize = keepStackSize();
1736 }
1737:
1738(
1739 { before(grammarAccess.getPredicateDefinitionAccess().getPredKeyword_0_0_1()); }
1740 ('pred')?
1741 { after(grammarAccess.getPredicateDefinitionAccess().getPredKeyword_0_0_1()); }
1742)
1743;
1744finally {
1745 restoreStackSize(stackSize);
1746}
1747
1748
1749rule__PredicateDefinition__Group_3__0
1750 @init {
1751 int stackSize = keepStackSize();
1752 }
1753:
1754 rule__PredicateDefinition__Group_3__0__Impl
1755 rule__PredicateDefinition__Group_3__1
1756;
1757finally {
1758 restoreStackSize(stackSize);
1759}
1760
1761rule__PredicateDefinition__Group_3__0__Impl
1762 @init {
1763 int stackSize = keepStackSize();
1764 }
1765:
1766(
1767 { before(grammarAccess.getPredicateDefinitionAccess().getParametersAssignment_3_0()); }
1768 (rule__PredicateDefinition__ParametersAssignment_3_0)
1769 { after(grammarAccess.getPredicateDefinitionAccess().getParametersAssignment_3_0()); }
1770)
1771;
1772finally {
1773 restoreStackSize(stackSize);
1774}
1775
1776rule__PredicateDefinition__Group_3__1
1777 @init {
1778 int stackSize = keepStackSize();
1779 }
1780:
1781 rule__PredicateDefinition__Group_3__1__Impl
1782;
1783finally {
1784 restoreStackSize(stackSize);
1785}
1786
1787rule__PredicateDefinition__Group_3__1__Impl
1788 @init {
1789 int stackSize = keepStackSize();
1790 }
1791:
1792(
1793 { before(grammarAccess.getPredicateDefinitionAccess().getGroup_3_1()); }
1794 (rule__PredicateDefinition__Group_3_1__0)*
1795 { after(grammarAccess.getPredicateDefinitionAccess().getGroup_3_1()); }
1796)
1797;
1798finally {
1799 restoreStackSize(stackSize);
1800}
1801
1802
1803rule__PredicateDefinition__Group_3_1__0
1804 @init {
1805 int stackSize = keepStackSize();
1806 }
1807:
1808 rule__PredicateDefinition__Group_3_1__0__Impl
1809 rule__PredicateDefinition__Group_3_1__1
1810;
1811finally {
1812 restoreStackSize(stackSize);
1813}
1814
1815rule__PredicateDefinition__Group_3_1__0__Impl
1816 @init {
1817 int stackSize = keepStackSize();
1818 }
1819:
1820(
1821 { before(grammarAccess.getPredicateDefinitionAccess().getCommaKeyword_3_1_0()); }
1822 ','
1823 { after(grammarAccess.getPredicateDefinitionAccess().getCommaKeyword_3_1_0()); }
1824)
1825;
1826finally {
1827 restoreStackSize(stackSize);
1828}
1829
1830rule__PredicateDefinition__Group_3_1__1
1831 @init {
1832 int stackSize = keepStackSize();
1833 }
1834:
1835 rule__PredicateDefinition__Group_3_1__1__Impl
1836;
1837finally {
1838 restoreStackSize(stackSize);
1839}
1840
1841rule__PredicateDefinition__Group_3_1__1__Impl
1842 @init {
1843 int stackSize = keepStackSize();
1844 }
1845:
1846(
1847 { before(grammarAccess.getPredicateDefinitionAccess().getParametersAssignment_3_1_1()); }
1848 (rule__PredicateDefinition__ParametersAssignment_3_1_1)
1849 { after(grammarAccess.getPredicateDefinitionAccess().getParametersAssignment_3_1_1()); }
1850)
1851;
1852finally {
1853 restoreStackSize(stackSize);
1854}
1855
1856
1857rule__PredicateDefinition__Group_5__0
1858 @init {
1859 int stackSize = keepStackSize();
1860 }
1861:
1862 rule__PredicateDefinition__Group_5__0__Impl
1863 rule__PredicateDefinition__Group_5__1
1864;
1865finally {
1866 restoreStackSize(stackSize);
1867}
1868
1869rule__PredicateDefinition__Group_5__0__Impl
1870 @init {
1871 int stackSize = keepStackSize();
1872 }
1873:
1874(
1875 { before(grammarAccess.getPredicateDefinitionAccess().getColonEqualsSignKeyword_5_0()); }
1876 ':='
1877 { after(grammarAccess.getPredicateDefinitionAccess().getColonEqualsSignKeyword_5_0()); }
1878)
1879;
1880finally {
1881 restoreStackSize(stackSize);
1882}
1883
1884rule__PredicateDefinition__Group_5__1
1885 @init {
1886 int stackSize = keepStackSize();
1887 }
1888:
1889 rule__PredicateDefinition__Group_5__1__Impl
1890 rule__PredicateDefinition__Group_5__2
1891;
1892finally {
1893 restoreStackSize(stackSize);
1894}
1895
1896rule__PredicateDefinition__Group_5__1__Impl
1897 @init {
1898 int stackSize = keepStackSize();
1899 }
1900:
1901(
1902 { before(grammarAccess.getPredicateDefinitionAccess().getBodiesAssignment_5_1()); }
1903 (rule__PredicateDefinition__BodiesAssignment_5_1)
1904 { after(grammarAccess.getPredicateDefinitionAccess().getBodiesAssignment_5_1()); }
1905)
1906;
1907finally {
1908 restoreStackSize(stackSize);
1909}
1910
1911rule__PredicateDefinition__Group_5__2
1912 @init {
1913 int stackSize = keepStackSize();
1914 }
1915:
1916 rule__PredicateDefinition__Group_5__2__Impl
1917;
1918finally {
1919 restoreStackSize(stackSize);
1920}
1921
1922rule__PredicateDefinition__Group_5__2__Impl
1923 @init {
1924 int stackSize = keepStackSize();
1925 }
1926:
1927(
1928 { before(grammarAccess.getPredicateDefinitionAccess().getGroup_5_2()); }
1929 (rule__PredicateDefinition__Group_5_2__0)*
1930 { after(grammarAccess.getPredicateDefinitionAccess().getGroup_5_2()); }
1931)
1932;
1933finally {
1934 restoreStackSize(stackSize);
1935}
1936
1937
1938rule__PredicateDefinition__Group_5_2__0
1939 @init {
1940 int stackSize = keepStackSize();
1941 }
1942:
1943 rule__PredicateDefinition__Group_5_2__0__Impl
1944 rule__PredicateDefinition__Group_5_2__1
1945;
1946finally {
1947 restoreStackSize(stackSize);
1948}
1949
1950rule__PredicateDefinition__Group_5_2__0__Impl
1951 @init {
1952 int stackSize = keepStackSize();
1953 }
1954:
1955(
1956 { before(grammarAccess.getPredicateDefinitionAccess().getSemicolonKeyword_5_2_0()); }
1957 ';'
1958 { after(grammarAccess.getPredicateDefinitionAccess().getSemicolonKeyword_5_2_0()); }
1959)
1960;
1961finally {
1962 restoreStackSize(stackSize);
1963}
1964
1965rule__PredicateDefinition__Group_5_2__1
1966 @init {
1967 int stackSize = keepStackSize();
1968 }
1969:
1970 rule__PredicateDefinition__Group_5_2__1__Impl
1971;
1972finally {
1973 restoreStackSize(stackSize);
1974}
1975
1976rule__PredicateDefinition__Group_5_2__1__Impl
1977 @init {
1978 int stackSize = keepStackSize();
1979 }
1980:
1981(
1982 { before(grammarAccess.getPredicateDefinitionAccess().getBodiesAssignment_5_2_1()); }
1983 (rule__PredicateDefinition__BodiesAssignment_5_2_1)
1984 { after(grammarAccess.getPredicateDefinitionAccess().getBodiesAssignment_5_2_1()); }
1985)
1986;
1987finally {
1988 restoreStackSize(stackSize);
1989}
1990
1991
1992rule__Parameter__Group__0
1993 @init {
1994 int stackSize = keepStackSize();
1995 }
1996:
1997 rule__Parameter__Group__0__Impl
1998 rule__Parameter__Group__1
1999;
2000finally {
2001 restoreStackSize(stackSize);
2002}
2003
2004rule__Parameter__Group__0__Impl
2005 @init {
2006 int stackSize = keepStackSize();
2007 }
2008:
2009(
2010 { before(grammarAccess.getParameterAccess().getParameterTypeAssignment_0()); }
2011 (rule__Parameter__ParameterTypeAssignment_0)
2012 { after(grammarAccess.getParameterAccess().getParameterTypeAssignment_0()); }
2013)
2014;
2015finally {
2016 restoreStackSize(stackSize);
2017}
2018
2019rule__Parameter__Group__1
2020 @init {
2021 int stackSize = keepStackSize();
2022 }
2023:
2024 rule__Parameter__Group__1__Impl
2025;
2026finally {
2027 restoreStackSize(stackSize);
2028}
2029
2030rule__Parameter__Group__1__Impl
2031 @init {
2032 int stackSize = keepStackSize();
2033 }
2034:
2035(
2036 { before(grammarAccess.getParameterAccess().getNameAssignment_1()); }
2037 (rule__Parameter__NameAssignment_1)
2038 { after(grammarAccess.getParameterAccess().getNameAssignment_1()); }
2039)
2040;
2041finally {
2042 restoreStackSize(stackSize);
2043}
2044
2045
2046rule__Conjunction__Group__0
2047 @init {
2048 int stackSize = keepStackSize();
2049 }
2050:
2051 rule__Conjunction__Group__0__Impl
2052 rule__Conjunction__Group__1
2053;
2054finally {
2055 restoreStackSize(stackSize);
2056}
2057
2058rule__Conjunction__Group__0__Impl
2059 @init {
2060 int stackSize = keepStackSize();
2061 }
2062:
2063(
2064 { before(grammarAccess.getConjunctionAccess().getLiteralsAssignment_0()); }
2065 (rule__Conjunction__LiteralsAssignment_0)
2066 { after(grammarAccess.getConjunctionAccess().getLiteralsAssignment_0()); }
2067)
2068;
2069finally {
2070 restoreStackSize(stackSize);
2071}
2072
2073rule__Conjunction__Group__1
2074 @init {
2075 int stackSize = keepStackSize();
2076 }
2077:
2078 rule__Conjunction__Group__1__Impl
2079;
2080finally {
2081 restoreStackSize(stackSize);
2082}
2083
2084rule__Conjunction__Group__1__Impl
2085 @init {
2086 int stackSize = keepStackSize();
2087 }
2088:
2089(
2090 { before(grammarAccess.getConjunctionAccess().getGroup_1()); }
2091 (rule__Conjunction__Group_1__0)*
2092 { after(grammarAccess.getConjunctionAccess().getGroup_1()); }
2093)
2094;
2095finally {
2096 restoreStackSize(stackSize);
2097}
2098
2099
2100rule__Conjunction__Group_1__0
2101 @init {
2102 int stackSize = keepStackSize();
2103 }
2104:
2105 rule__Conjunction__Group_1__0__Impl
2106 rule__Conjunction__Group_1__1
2107;
2108finally {
2109 restoreStackSize(stackSize);
2110}
2111
2112rule__Conjunction__Group_1__0__Impl
2113 @init {
2114 int stackSize = keepStackSize();
2115 }
2116:
2117(
2118 { before(grammarAccess.getConjunctionAccess().getCommaKeyword_1_0()); }
2119 ','
2120 { after(grammarAccess.getConjunctionAccess().getCommaKeyword_1_0()); }
2121)
2122;
2123finally {
2124 restoreStackSize(stackSize);
2125}
2126
2127rule__Conjunction__Group_1__1
2128 @init {
2129 int stackSize = keepStackSize();
2130 }
2131:
2132 rule__Conjunction__Group_1__1__Impl
2133;
2134finally {
2135 restoreStackSize(stackSize);
2136}
2137
2138rule__Conjunction__Group_1__1__Impl
2139 @init {
2140 int stackSize = keepStackSize();
2141 }
2142:
2143(
2144 { before(grammarAccess.getConjunctionAccess().getLiteralsAssignment_1_1()); }
2145 (rule__Conjunction__LiteralsAssignment_1_1)
2146 { after(grammarAccess.getConjunctionAccess().getLiteralsAssignment_1_1()); }
2147)
2148;
2149finally {
2150 restoreStackSize(stackSize);
2151}
2152
2153
2154rule__NegativeLiteral__Group__0
2155 @init {
2156 int stackSize = keepStackSize();
2157 }
2158:
2159 rule__NegativeLiteral__Group__0__Impl
2160 rule__NegativeLiteral__Group__1
2161;
2162finally {
2163 restoreStackSize(stackSize);
2164}
2165
2166rule__NegativeLiteral__Group__0__Impl
2167 @init {
2168 int stackSize = keepStackSize();
2169 }
2170:
2171(
2172 { before(grammarAccess.getNegativeLiteralAccess().getExclamationMarkKeyword_0()); }
2173 '!'
2174 { after(grammarAccess.getNegativeLiteralAccess().getExclamationMarkKeyword_0()); }
2175)
2176;
2177finally {
2178 restoreStackSize(stackSize);
2179}
2180
2181rule__NegativeLiteral__Group__1
2182 @init {
2183 int stackSize = keepStackSize();
2184 }
2185:
2186 rule__NegativeLiteral__Group__1__Impl
2187;
2188finally {
2189 restoreStackSize(stackSize);
2190}
2191
2192rule__NegativeLiteral__Group__1__Impl
2193 @init {
2194 int stackSize = keepStackSize();
2195 }
2196:
2197(
2198 { before(grammarAccess.getNegativeLiteralAccess().getAtomAssignment_1()); }
2199 (rule__NegativeLiteral__AtomAssignment_1)
2200 { after(grammarAccess.getNegativeLiteralAccess().getAtomAssignment_1()); }
2201)
2202;
2203finally {
2204 restoreStackSize(stackSize);
2205}
2206
2207
2208rule__Atom__Group__0
2209 @init {
2210 int stackSize = keepStackSize();
2211 }
2212:
2213 rule__Atom__Group__0__Impl
2214 rule__Atom__Group__1
2215;
2216finally {
2217 restoreStackSize(stackSize);
2218}
2219
2220rule__Atom__Group__0__Impl
2221 @init {
2222 int stackSize = keepStackSize();
2223 }
2224:
2225(
2226 { before(grammarAccess.getAtomAccess().getRelationAssignment_0()); }
2227 (rule__Atom__RelationAssignment_0)
2228 { after(grammarAccess.getAtomAccess().getRelationAssignment_0()); }
2229)
2230;
2231finally {
2232 restoreStackSize(stackSize);
2233}
2234
2235rule__Atom__Group__1
2236 @init {
2237 int stackSize = keepStackSize();
2238 }
2239:
2240 rule__Atom__Group__1__Impl
2241 rule__Atom__Group__2
2242;
2243finally {
2244 restoreStackSize(stackSize);
2245}
2246
2247rule__Atom__Group__1__Impl
2248 @init {
2249 int stackSize = keepStackSize();
2250 }
2251:
2252(
2253 { before(grammarAccess.getAtomAccess().getTransitiveClosureAssignment_1()); }
2254 (rule__Atom__TransitiveClosureAssignment_1)?
2255 { after(grammarAccess.getAtomAccess().getTransitiveClosureAssignment_1()); }
2256)
2257;
2258finally {
2259 restoreStackSize(stackSize);
2260}
2261
2262rule__Atom__Group__2
2263 @init {
2264 int stackSize = keepStackSize();
2265 }
2266:
2267 rule__Atom__Group__2__Impl
2268 rule__Atom__Group__3
2269;
2270finally {
2271 restoreStackSize(stackSize);
2272}
2273
2274rule__Atom__Group__2__Impl
2275 @init {
2276 int stackSize = keepStackSize();
2277 }
2278:
2279(
2280 { before(grammarAccess.getAtomAccess().getLeftParenthesisKeyword_2()); }
2281 '('
2282 { after(grammarAccess.getAtomAccess().getLeftParenthesisKeyword_2()); }
2283)
2284;
2285finally {
2286 restoreStackSize(stackSize);
2287}
2288
2289rule__Atom__Group__3
2290 @init {
2291 int stackSize = keepStackSize();
2292 }
2293:
2294 rule__Atom__Group__3__Impl
2295 rule__Atom__Group__4
2296;
2297finally {
2298 restoreStackSize(stackSize);
2299}
2300
2301rule__Atom__Group__3__Impl
2302 @init {
2303 int stackSize = keepStackSize();
2304 }
2305:
2306(
2307 { before(grammarAccess.getAtomAccess().getGroup_3()); }
2308 (rule__Atom__Group_3__0)?
2309 { after(grammarAccess.getAtomAccess().getGroup_3()); }
2310)
2311;
2312finally {
2313 restoreStackSize(stackSize);
2314}
2315
2316rule__Atom__Group__4
2317 @init {
2318 int stackSize = keepStackSize();
2319 }
2320:
2321 rule__Atom__Group__4__Impl
2322;
2323finally {
2324 restoreStackSize(stackSize);
2325}
2326
2327rule__Atom__Group__4__Impl
2328 @init {
2329 int stackSize = keepStackSize();
2330 }
2331:
2332(
2333 { before(grammarAccess.getAtomAccess().getRightParenthesisKeyword_4()); }
2334 ')'
2335 { after(grammarAccess.getAtomAccess().getRightParenthesisKeyword_4()); }
2336)
2337;
2338finally {
2339 restoreStackSize(stackSize);
2340}
2341
2342
2343rule__Atom__Group_3__0
2344 @init {
2345 int stackSize = keepStackSize();
2346 }
2347:
2348 rule__Atom__Group_3__0__Impl
2349 rule__Atom__Group_3__1
2350;
2351finally {
2352 restoreStackSize(stackSize);
2353}
2354
2355rule__Atom__Group_3__0__Impl
2356 @init {
2357 int stackSize = keepStackSize();
2358 }
2359:
2360(
2361 { before(grammarAccess.getAtomAccess().getArgumentsAssignment_3_0()); }
2362 (rule__Atom__ArgumentsAssignment_3_0)
2363 { after(grammarAccess.getAtomAccess().getArgumentsAssignment_3_0()); }
2364)
2365;
2366finally {
2367 restoreStackSize(stackSize);
2368}
2369
2370rule__Atom__Group_3__1
2371 @init {
2372 int stackSize = keepStackSize();
2373 }
2374:
2375 rule__Atom__Group_3__1__Impl
2376;
2377finally {
2378 restoreStackSize(stackSize);
2379}
2380
2381rule__Atom__Group_3__1__Impl
2382 @init {
2383 int stackSize = keepStackSize();
2384 }
2385:
2386(
2387 { before(grammarAccess.getAtomAccess().getGroup_3_1()); }
2388 (rule__Atom__Group_3_1__0)*
2389 { after(grammarAccess.getAtomAccess().getGroup_3_1()); }
2390)
2391;
2392finally {
2393 restoreStackSize(stackSize);
2394}
2395
2396
2397rule__Atom__Group_3_1__0
2398 @init {
2399 int stackSize = keepStackSize();
2400 }
2401:
2402 rule__Atom__Group_3_1__0__Impl
2403 rule__Atom__Group_3_1__1
2404;
2405finally {
2406 restoreStackSize(stackSize);
2407}
2408
2409rule__Atom__Group_3_1__0__Impl
2410 @init {
2411 int stackSize = keepStackSize();
2412 }
2413:
2414(
2415 { before(grammarAccess.getAtomAccess().getCommaKeyword_3_1_0()); }
2416 ','
2417 { after(grammarAccess.getAtomAccess().getCommaKeyword_3_1_0()); }
2418)
2419;
2420finally {
2421 restoreStackSize(stackSize);
2422}
2423
2424rule__Atom__Group_3_1__1
2425 @init {
2426 int stackSize = keepStackSize();
2427 }
2428:
2429 rule__Atom__Group_3_1__1__Impl
2430;
2431finally {
2432 restoreStackSize(stackSize);
2433}
2434
2435rule__Atom__Group_3_1__1__Impl
2436 @init {
2437 int stackSize = keepStackSize();
2438 }
2439:
2440(
2441 { before(grammarAccess.getAtomAccess().getArgumentsAssignment_3_1_1()); }
2442 (rule__Atom__ArgumentsAssignment_3_1_1)
2443 { after(grammarAccess.getAtomAccess().getArgumentsAssignment_3_1_1()); }
2444)
2445;
2446finally {
2447 restoreStackSize(stackSize);
2448}
2449
2450
2451rule__Assertion__Group__0
2452 @init {
2453 int stackSize = keepStackSize();
2454 }
2455:
2456 rule__Assertion__Group__0__Impl
2457 rule__Assertion__Group__1
2458;
2459finally {
2460 restoreStackSize(stackSize);
2461}
2462
2463rule__Assertion__Group__0__Impl
2464 @init {
2465 int stackSize = keepStackSize();
2466 }
2467:
2468(
2469 { before(grammarAccess.getAssertionAccess().getAlternatives_0()); }
2470 (rule__Assertion__Alternatives_0)
2471 { after(grammarAccess.getAssertionAccess().getAlternatives_0()); }
2472)
2473;
2474finally {
2475 restoreStackSize(stackSize);
2476}
2477
2478rule__Assertion__Group__1
2479 @init {
2480 int stackSize = keepStackSize();
2481 }
2482:
2483 rule__Assertion__Group__1__Impl
2484;
2485finally {
2486 restoreStackSize(stackSize);
2487}
2488
2489rule__Assertion__Group__1__Impl
2490 @init {
2491 int stackSize = keepStackSize();
2492 }
2493:
2494(
2495 { before(grammarAccess.getAssertionAccess().getFullStopKeyword_1()); }
2496 '.'
2497 { after(grammarAccess.getAssertionAccess().getFullStopKeyword_1()); }
2498)
2499;
2500finally {
2501 restoreStackSize(stackSize);
2502}
2503
2504
2505rule__Assertion__Group_0_0__0
2506 @init {
2507 int stackSize = keepStackSize();
2508 }
2509:
2510 rule__Assertion__Group_0_0__0__Impl
2511 rule__Assertion__Group_0_0__1
2512;
2513finally {
2514 restoreStackSize(stackSize);
2515}
2516
2517rule__Assertion__Group_0_0__0__Impl
2518 @init {
2519 int stackSize = keepStackSize();
2520 }
2521:
2522(
2523 { before(grammarAccess.getAssertionAccess().getRelationAssignment_0_0_0()); }
2524 (rule__Assertion__RelationAssignment_0_0_0)
2525 { after(grammarAccess.getAssertionAccess().getRelationAssignment_0_0_0()); }
2526)
2527;
2528finally {
2529 restoreStackSize(stackSize);
2530}
2531
2532rule__Assertion__Group_0_0__1
2533 @init {
2534 int stackSize = keepStackSize();
2535 }
2536:
2537 rule__Assertion__Group_0_0__1__Impl
2538 rule__Assertion__Group_0_0__2
2539;
2540finally {
2541 restoreStackSize(stackSize);
2542}
2543
2544rule__Assertion__Group_0_0__1__Impl
2545 @init {
2546 int stackSize = keepStackSize();
2547 }
2548:
2549(
2550 { before(grammarAccess.getAssertionAccess().getLeftParenthesisKeyword_0_0_1()); }
2551 '('
2552 { after(grammarAccess.getAssertionAccess().getLeftParenthesisKeyword_0_0_1()); }
2553)
2554;
2555finally {
2556 restoreStackSize(stackSize);
2557}
2558
2559rule__Assertion__Group_0_0__2
2560 @init {
2561 int stackSize = keepStackSize();
2562 }
2563:
2564 rule__Assertion__Group_0_0__2__Impl
2565 rule__Assertion__Group_0_0__3
2566;
2567finally {
2568 restoreStackSize(stackSize);
2569}
2570
2571rule__Assertion__Group_0_0__2__Impl
2572 @init {
2573 int stackSize = keepStackSize();
2574 }
2575:
2576(
2577 { before(grammarAccess.getAssertionAccess().getGroup_0_0_2()); }
2578 (rule__Assertion__Group_0_0_2__0)?
2579 { after(grammarAccess.getAssertionAccess().getGroup_0_0_2()); }
2580)
2581;
2582finally {
2583 restoreStackSize(stackSize);
2584}
2585
2586rule__Assertion__Group_0_0__3
2587 @init {
2588 int stackSize = keepStackSize();
2589 }
2590:
2591 rule__Assertion__Group_0_0__3__Impl
2592 rule__Assertion__Group_0_0__4
2593;
2594finally {
2595 restoreStackSize(stackSize);
2596}
2597
2598rule__Assertion__Group_0_0__3__Impl
2599 @init {
2600 int stackSize = keepStackSize();
2601 }
2602:
2603(
2604 { before(grammarAccess.getAssertionAccess().getRightParenthesisKeyword_0_0_3()); }
2605 ')'
2606 { after(grammarAccess.getAssertionAccess().getRightParenthesisKeyword_0_0_3()); }
2607)
2608;
2609finally {
2610 restoreStackSize(stackSize);
2611}
2612
2613rule__Assertion__Group_0_0__4
2614 @init {
2615 int stackSize = keepStackSize();
2616 }
2617:
2618 rule__Assertion__Group_0_0__4__Impl
2619 rule__Assertion__Group_0_0__5
2620;
2621finally {
2622 restoreStackSize(stackSize);
2623}
2624
2625rule__Assertion__Group_0_0__4__Impl
2626 @init {
2627 int stackSize = keepStackSize();
2628 }
2629:
2630(
2631 { before(grammarAccess.getAssertionAccess().getColonKeyword_0_0_4()); }
2632 ':'
2633 { after(grammarAccess.getAssertionAccess().getColonKeyword_0_0_4()); }
2634)
2635;
2636finally {
2637 restoreStackSize(stackSize);
2638}
2639
2640rule__Assertion__Group_0_0__5
2641 @init {
2642 int stackSize = keepStackSize();
2643 }
2644:
2645 rule__Assertion__Group_0_0__5__Impl
2646;
2647finally {
2648 restoreStackSize(stackSize);
2649}
2650
2651rule__Assertion__Group_0_0__5__Impl
2652 @init {
2653 int stackSize = keepStackSize();
2654 }
2655:
2656(
2657 { before(grammarAccess.getAssertionAccess().getValueAssignment_0_0_5()); }
2658 (rule__Assertion__ValueAssignment_0_0_5)
2659 { after(grammarAccess.getAssertionAccess().getValueAssignment_0_0_5()); }
2660)
2661;
2662finally {
2663 restoreStackSize(stackSize);
2664}
2665
2666
2667rule__Assertion__Group_0_0_2__0
2668 @init {
2669 int stackSize = keepStackSize();
2670 }
2671:
2672 rule__Assertion__Group_0_0_2__0__Impl
2673 rule__Assertion__Group_0_0_2__1
2674;
2675finally {
2676 restoreStackSize(stackSize);
2677}
2678
2679rule__Assertion__Group_0_0_2__0__Impl
2680 @init {
2681 int stackSize = keepStackSize();
2682 }
2683:
2684(
2685 { before(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_0_2_0()); }
2686 (rule__Assertion__ArgumentsAssignment_0_0_2_0)
2687 { after(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_0_2_0()); }
2688)
2689;
2690finally {
2691 restoreStackSize(stackSize);
2692}
2693
2694rule__Assertion__Group_0_0_2__1
2695 @init {
2696 int stackSize = keepStackSize();
2697 }
2698:
2699 rule__Assertion__Group_0_0_2__1__Impl
2700;
2701finally {
2702 restoreStackSize(stackSize);
2703}
2704
2705rule__Assertion__Group_0_0_2__1__Impl
2706 @init {
2707 int stackSize = keepStackSize();
2708 }
2709:
2710(
2711 { before(grammarAccess.getAssertionAccess().getGroup_0_0_2_1()); }
2712 (rule__Assertion__Group_0_0_2_1__0)*
2713 { after(grammarAccess.getAssertionAccess().getGroup_0_0_2_1()); }
2714)
2715;
2716finally {
2717 restoreStackSize(stackSize);
2718}
2719
2720
2721rule__Assertion__Group_0_0_2_1__0
2722 @init {
2723 int stackSize = keepStackSize();
2724 }
2725:
2726 rule__Assertion__Group_0_0_2_1__0__Impl
2727 rule__Assertion__Group_0_0_2_1__1
2728;
2729finally {
2730 restoreStackSize(stackSize);
2731}
2732
2733rule__Assertion__Group_0_0_2_1__0__Impl
2734 @init {
2735 int stackSize = keepStackSize();
2736 }
2737:
2738(
2739 { before(grammarAccess.getAssertionAccess().getCommaKeyword_0_0_2_1_0()); }
2740 ','
2741 { after(grammarAccess.getAssertionAccess().getCommaKeyword_0_0_2_1_0()); }
2742)
2743;
2744finally {
2745 restoreStackSize(stackSize);
2746}
2747
2748rule__Assertion__Group_0_0_2_1__1
2749 @init {
2750 int stackSize = keepStackSize();
2751 }
2752:
2753 rule__Assertion__Group_0_0_2_1__1__Impl
2754;
2755finally {
2756 restoreStackSize(stackSize);
2757}
2758
2759rule__Assertion__Group_0_0_2_1__1__Impl
2760 @init {
2761 int stackSize = keepStackSize();
2762 }
2763:
2764(
2765 { before(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_0_2_1_1()); }
2766 (rule__Assertion__ArgumentsAssignment_0_0_2_1_1)
2767 { after(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_0_2_1_1()); }
2768)
2769;
2770finally {
2771 restoreStackSize(stackSize);
2772}
2773
2774
2775rule__Assertion__Group_0_1__0
2776 @init {
2777 int stackSize = keepStackSize();
2778 }
2779:
2780 rule__Assertion__Group_0_1__0__Impl
2781 rule__Assertion__Group_0_1__1
2782;
2783finally {
2784 restoreStackSize(stackSize);
2785}
2786
2787rule__Assertion__Group_0_1__0__Impl
2788 @init {
2789 int stackSize = keepStackSize();
2790 }
2791:
2792(
2793 { before(grammarAccess.getAssertionAccess().getValueAssignment_0_1_0()); }
2794 (rule__Assertion__ValueAssignment_0_1_0)?
2795 { after(grammarAccess.getAssertionAccess().getValueAssignment_0_1_0()); }
2796)
2797;
2798finally {
2799 restoreStackSize(stackSize);
2800}
2801
2802rule__Assertion__Group_0_1__1
2803 @init {
2804 int stackSize = keepStackSize();
2805 }
2806:
2807 rule__Assertion__Group_0_1__1__Impl
2808 rule__Assertion__Group_0_1__2
2809;
2810finally {
2811 restoreStackSize(stackSize);
2812}
2813
2814rule__Assertion__Group_0_1__1__Impl
2815 @init {
2816 int stackSize = keepStackSize();
2817 }
2818:
2819(
2820 { before(grammarAccess.getAssertionAccess().getRelationAssignment_0_1_1()); }
2821 (rule__Assertion__RelationAssignment_0_1_1)
2822 { after(grammarAccess.getAssertionAccess().getRelationAssignment_0_1_1()); }
2823)
2824;
2825finally {
2826 restoreStackSize(stackSize);
2827}
2828
2829rule__Assertion__Group_0_1__2
2830 @init {
2831 int stackSize = keepStackSize();
2832 }
2833:
2834 rule__Assertion__Group_0_1__2__Impl
2835 rule__Assertion__Group_0_1__3
2836;
2837finally {
2838 restoreStackSize(stackSize);
2839}
2840
2841rule__Assertion__Group_0_1__2__Impl
2842 @init {
2843 int stackSize = keepStackSize();
2844 }
2845:
2846(
2847 { before(grammarAccess.getAssertionAccess().getLeftParenthesisKeyword_0_1_2()); }
2848 '('
2849 { after(grammarAccess.getAssertionAccess().getLeftParenthesisKeyword_0_1_2()); }
2850)
2851;
2852finally {
2853 restoreStackSize(stackSize);
2854}
2855
2856rule__Assertion__Group_0_1__3
2857 @init {
2858 int stackSize = keepStackSize();
2859 }
2860:
2861 rule__Assertion__Group_0_1__3__Impl
2862 rule__Assertion__Group_0_1__4
2863;
2864finally {
2865 restoreStackSize(stackSize);
2866}
2867
2868rule__Assertion__Group_0_1__3__Impl
2869 @init {
2870 int stackSize = keepStackSize();
2871 }
2872:
2873(
2874 { before(grammarAccess.getAssertionAccess().getGroup_0_1_3()); }
2875 (rule__Assertion__Group_0_1_3__0)?
2876 { after(grammarAccess.getAssertionAccess().getGroup_0_1_3()); }
2877)
2878;
2879finally {
2880 restoreStackSize(stackSize);
2881}
2882
2883rule__Assertion__Group_0_1__4
2884 @init {
2885 int stackSize = keepStackSize();
2886 }
2887:
2888 rule__Assertion__Group_0_1__4__Impl
2889;
2890finally {
2891 restoreStackSize(stackSize);
2892}
2893
2894rule__Assertion__Group_0_1__4__Impl
2895 @init {
2896 int stackSize = keepStackSize();
2897 }
2898:
2899(
2900 { before(grammarAccess.getAssertionAccess().getRightParenthesisKeyword_0_1_4()); }
2901 ')'
2902 { after(grammarAccess.getAssertionAccess().getRightParenthesisKeyword_0_1_4()); }
2903)
2904;
2905finally {
2906 restoreStackSize(stackSize);
2907}
2908
2909
2910rule__Assertion__Group_0_1_3__0
2911 @init {
2912 int stackSize = keepStackSize();
2913 }
2914:
2915 rule__Assertion__Group_0_1_3__0__Impl
2916 rule__Assertion__Group_0_1_3__1
2917;
2918finally {
2919 restoreStackSize(stackSize);
2920}
2921
2922rule__Assertion__Group_0_1_3__0__Impl
2923 @init {
2924 int stackSize = keepStackSize();
2925 }
2926:
2927(
2928 { before(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_1_3_0()); }
2929 (rule__Assertion__ArgumentsAssignment_0_1_3_0)
2930 { after(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_1_3_0()); }
2931)
2932;
2933finally {
2934 restoreStackSize(stackSize);
2935}
2936
2937rule__Assertion__Group_0_1_3__1
2938 @init {
2939 int stackSize = keepStackSize();
2940 }
2941:
2942 rule__Assertion__Group_0_1_3__1__Impl
2943;
2944finally {
2945 restoreStackSize(stackSize);
2946}
2947
2948rule__Assertion__Group_0_1_3__1__Impl
2949 @init {
2950 int stackSize = keepStackSize();
2951 }
2952:
2953(
2954 { before(grammarAccess.getAssertionAccess().getGroup_0_1_3_1()); }
2955 (rule__Assertion__Group_0_1_3_1__0)*
2956 { after(grammarAccess.getAssertionAccess().getGroup_0_1_3_1()); }
2957)
2958;
2959finally {
2960 restoreStackSize(stackSize);
2961}
2962
2963
2964rule__Assertion__Group_0_1_3_1__0
2965 @init {
2966 int stackSize = keepStackSize();
2967 }
2968:
2969 rule__Assertion__Group_0_1_3_1__0__Impl
2970 rule__Assertion__Group_0_1_3_1__1
2971;
2972finally {
2973 restoreStackSize(stackSize);
2974}
2975
2976rule__Assertion__Group_0_1_3_1__0__Impl
2977 @init {
2978 int stackSize = keepStackSize();
2979 }
2980:
2981(
2982 { before(grammarAccess.getAssertionAccess().getCommaKeyword_0_1_3_1_0()); }
2983 ','
2984 { after(grammarAccess.getAssertionAccess().getCommaKeyword_0_1_3_1_0()); }
2985)
2986;
2987finally {
2988 restoreStackSize(stackSize);
2989}
2990
2991rule__Assertion__Group_0_1_3_1__1
2992 @init {
2993 int stackSize = keepStackSize();
2994 }
2995:
2996 rule__Assertion__Group_0_1_3_1__1__Impl
2997;
2998finally {
2999 restoreStackSize(stackSize);
3000}
3001
3002rule__Assertion__Group_0_1_3_1__1__Impl
3003 @init {
3004 int stackSize = keepStackSize();
3005 }
3006:
3007(
3008 { before(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_1_3_1_1()); }
3009 (rule__Assertion__ArgumentsAssignment_0_1_3_1_1)
3010 { after(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_1_3_1_1()); }
3011)
3012;
3013finally {
3014 restoreStackSize(stackSize);
3015}
3016
3017
3018rule__ScopeDeclaration__Group__0
3019 @init {
3020 int stackSize = keepStackSize();
3021 }
3022:
3023 rule__ScopeDeclaration__Group__0__Impl
3024 rule__ScopeDeclaration__Group__1
3025;
3026finally {
3027 restoreStackSize(stackSize);
3028}
3029
3030rule__ScopeDeclaration__Group__0__Impl
3031 @init {
3032 int stackSize = keepStackSize();
3033 }
3034:
3035(
3036 { before(grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); }
3037 'scope'
3038 { after(grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); }
3039)
3040;
3041finally {
3042 restoreStackSize(stackSize);
3043}
3044
3045rule__ScopeDeclaration__Group__1
3046 @init {
3047 int stackSize = keepStackSize();
3048 }
3049:
3050 rule__ScopeDeclaration__Group__1__Impl
3051 rule__ScopeDeclaration__Group__2
3052;
3053finally {
3054 restoreStackSize(stackSize);
3055}
3056
3057rule__ScopeDeclaration__Group__1__Impl
3058 @init {
3059 int stackSize = keepStackSize();
3060 }
3061:
3062(
3063 { before(grammarAccess.getScopeDeclarationAccess().getTypeScopesAssignment_1()); }
3064 (rule__ScopeDeclaration__TypeScopesAssignment_1)
3065 { after(grammarAccess.getScopeDeclarationAccess().getTypeScopesAssignment_1()); }
3066)
3067;
3068finally {
3069 restoreStackSize(stackSize);
3070}
3071
3072rule__ScopeDeclaration__Group__2
3073 @init {
3074 int stackSize = keepStackSize();
3075 }
3076:
3077 rule__ScopeDeclaration__Group__2__Impl
3078 rule__ScopeDeclaration__Group__3
3079;
3080finally {
3081 restoreStackSize(stackSize);
3082}
3083
3084rule__ScopeDeclaration__Group__2__Impl
3085 @init {
3086 int stackSize = keepStackSize();
3087 }
3088:
3089(
3090 { before(grammarAccess.getScopeDeclarationAccess().getGroup_2()); }
3091 (rule__ScopeDeclaration__Group_2__0)*
3092 { after(grammarAccess.getScopeDeclarationAccess().getGroup_2()); }
3093)
3094;
3095finally {
3096 restoreStackSize(stackSize);
3097}
3098
3099rule__ScopeDeclaration__Group__3
3100 @init {
3101 int stackSize = keepStackSize();
3102 }
3103:
3104 rule__ScopeDeclaration__Group__3__Impl
3105;
3106finally {
3107 restoreStackSize(stackSize);
3108}
3109
3110rule__ScopeDeclaration__Group__3__Impl
3111 @init {
3112 int stackSize = keepStackSize();
3113 }
3114:
3115(
3116 { before(grammarAccess.getScopeDeclarationAccess().getFullStopKeyword_3()); }
3117 '.'
3118 { after(grammarAccess.getScopeDeclarationAccess().getFullStopKeyword_3()); }
3119)
3120;
3121finally {
3122 restoreStackSize(stackSize);
3123}
3124
3125
3126rule__ScopeDeclaration__Group_2__0
3127 @init {
3128 int stackSize = keepStackSize();
3129 }
3130:
3131 rule__ScopeDeclaration__Group_2__0__Impl
3132 rule__ScopeDeclaration__Group_2__1
3133;
3134finally {
3135 restoreStackSize(stackSize);
3136}
3137
3138rule__ScopeDeclaration__Group_2__0__Impl
3139 @init {
3140 int stackSize = keepStackSize();
3141 }
3142:
3143(
3144 { before(grammarAccess.getScopeDeclarationAccess().getCommaKeyword_2_0()); }
3145 ','
3146 { after(grammarAccess.getScopeDeclarationAccess().getCommaKeyword_2_0()); }
3147)
3148;
3149finally {
3150 restoreStackSize(stackSize);
3151}
3152
3153rule__ScopeDeclaration__Group_2__1
3154 @init {
3155 int stackSize = keepStackSize();
3156 }
3157:
3158 rule__ScopeDeclaration__Group_2__1__Impl
3159;
3160finally {
3161 restoreStackSize(stackSize);
3162}
3163
3164rule__ScopeDeclaration__Group_2__1__Impl
3165 @init {
3166 int stackSize = keepStackSize();
3167 }
3168:
3169(
3170 { before(grammarAccess.getScopeDeclarationAccess().getTypeScopesAssignment_2_1()); }
3171 (rule__ScopeDeclaration__TypeScopesAssignment_2_1)
3172 { after(grammarAccess.getScopeDeclarationAccess().getTypeScopesAssignment_2_1()); }
3173)
3174;
3175finally {
3176 restoreStackSize(stackSize);
3177}
3178
3179
3180rule__TypeScope__Group__0
3181 @init {
3182 int stackSize = keepStackSize();
3183 }
3184:
3185 rule__TypeScope__Group__0__Impl
3186 rule__TypeScope__Group__1
3187;
3188finally {
3189 restoreStackSize(stackSize);
3190}
3191
3192rule__TypeScope__Group__0__Impl
3193 @init {
3194 int stackSize = keepStackSize();
3195 }
3196:
3197(
3198 { before(grammarAccess.getTypeScopeAccess().getTargetTypeAssignment_0()); }
3199 (rule__TypeScope__TargetTypeAssignment_0)
3200 { after(grammarAccess.getTypeScopeAccess().getTargetTypeAssignment_0()); }
3201)
3202;
3203finally {
3204 restoreStackSize(stackSize);
3205}
3206
3207rule__TypeScope__Group__1
3208 @init {
3209 int stackSize = keepStackSize();
3210 }
3211:
3212 rule__TypeScope__Group__1__Impl
3213 rule__TypeScope__Group__2
3214;
3215finally {
3216 restoreStackSize(stackSize);
3217}
3218
3219rule__TypeScope__Group__1__Impl
3220 @init {
3221 int stackSize = keepStackSize();
3222 }
3223:
3224(
3225 { before(grammarAccess.getTypeScopeAccess().getAlternatives_1()); }
3226 (rule__TypeScope__Alternatives_1)
3227 { after(grammarAccess.getTypeScopeAccess().getAlternatives_1()); }
3228)
3229;
3230finally {
3231 restoreStackSize(stackSize);
3232}
3233
3234rule__TypeScope__Group__2
3235 @init {
3236 int stackSize = keepStackSize();
3237 }
3238:
3239 rule__TypeScope__Group__2__Impl
3240;
3241finally {
3242 restoreStackSize(stackSize);
3243}
3244
3245rule__TypeScope__Group__2__Impl
3246 @init {
3247 int stackSize = keepStackSize();
3248 }
3249:
3250(
3251 { before(grammarAccess.getTypeScopeAccess().getMultiplicityAssignment_2()); }
3252 (rule__TypeScope__MultiplicityAssignment_2)
3253 { after(grammarAccess.getTypeScopeAccess().getMultiplicityAssignment_2()); }
3254)
3255;
3256finally {
3257 restoreStackSize(stackSize);
3258}
3259
3260
3261rule__RangeMultiplicity__Group__0
3262 @init {
3263 int stackSize = keepStackSize();
3264 }
3265:
3266 rule__RangeMultiplicity__Group__0__Impl
3267 rule__RangeMultiplicity__Group__1
3268;
3269finally {
3270 restoreStackSize(stackSize);
3271}
3272
3273rule__RangeMultiplicity__Group__0__Impl
3274 @init {
3275 int stackSize = keepStackSize();
3276 }
3277:
3278(
3279 { before(grammarAccess.getRangeMultiplicityAccess().getLowerBoundAssignment_0()); }
3280 (rule__RangeMultiplicity__LowerBoundAssignment_0)
3281 { after(grammarAccess.getRangeMultiplicityAccess().getLowerBoundAssignment_0()); }
3282)
3283;
3284finally {
3285 restoreStackSize(stackSize);
3286}
3287
3288rule__RangeMultiplicity__Group__1
3289 @init {
3290 int stackSize = keepStackSize();
3291 }
3292:
3293 rule__RangeMultiplicity__Group__1__Impl
3294 rule__RangeMultiplicity__Group__2
3295;
3296finally {
3297 restoreStackSize(stackSize);
3298}
3299
3300rule__RangeMultiplicity__Group__1__Impl
3301 @init {
3302 int stackSize = keepStackSize();
3303 }
3304:
3305(
3306 { before(grammarAccess.getRangeMultiplicityAccess().getFullStopFullStopKeyword_1()); }
3307 '..'
3308 { after(grammarAccess.getRangeMultiplicityAccess().getFullStopFullStopKeyword_1()); }
3309)
3310;
3311finally {
3312 restoreStackSize(stackSize);
3313}
3314
3315rule__RangeMultiplicity__Group__2
3316 @init {
3317 int stackSize = keepStackSize();
3318 }
3319:
3320 rule__RangeMultiplicity__Group__2__Impl
3321;
3322finally {
3323 restoreStackSize(stackSize);
3324}
3325
3326rule__RangeMultiplicity__Group__2__Impl
3327 @init {
3328 int stackSize = keepStackSize();
3329 }
3330:
3331(
3332 { before(grammarAccess.getRangeMultiplicityAccess().getUpperBoundAssignment_2()); }
3333 (rule__RangeMultiplicity__UpperBoundAssignment_2)
3334 { after(grammarAccess.getRangeMultiplicityAccess().getUpperBoundAssignment_2()); }
3335)
3336;
3337finally {
3338 restoreStackSize(stackSize);
3339}
3340
3341
3342rule__QualifiedName__Group__0
3343 @init {
3344 int stackSize = keepStackSize();
3345 }
3346:
3347 rule__QualifiedName__Group__0__Impl
3348 rule__QualifiedName__Group__1
3349;
3350finally {
3351 restoreStackSize(stackSize);
3352}
3353
3354rule__QualifiedName__Group__0__Impl
3355 @init {
3356 int stackSize = keepStackSize();
3357 }
3358:
3359(
3360 { before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); }
3361 RULE_ID
3362 { after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); }
3363)
3364;
3365finally {
3366 restoreStackSize(stackSize);
3367}
3368
3369rule__QualifiedName__Group__1
3370 @init {
3371 int stackSize = keepStackSize();
3372 }
3373:
3374 rule__QualifiedName__Group__1__Impl
3375;
3376finally {
3377 restoreStackSize(stackSize);
3378}
3379
3380rule__QualifiedName__Group__1__Impl
3381 @init {
3382 int stackSize = keepStackSize();
3383 }
3384:
3385(
3386 { before(grammarAccess.getQualifiedNameAccess().getGroup_1()); }
3387 (rule__QualifiedName__Group_1__0)*
3388 { after(grammarAccess.getQualifiedNameAccess().getGroup_1()); }
3389)
3390;
3391finally {
3392 restoreStackSize(stackSize);
3393}
3394
3395
3396rule__QualifiedName__Group_1__0
3397 @init {
3398 int stackSize = keepStackSize();
3399 }
3400:
3401 rule__QualifiedName__Group_1__0__Impl
3402 rule__QualifiedName__Group_1__1
3403;
3404finally {
3405 restoreStackSize(stackSize);
3406}
3407
3408rule__QualifiedName__Group_1__0__Impl
3409 @init {
3410 int stackSize = keepStackSize();
3411 }
3412:
3413(
3414 { before(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1_0()); }
3415 '::'
3416 { after(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1_0()); }
3417)
3418;
3419finally {
3420 restoreStackSize(stackSize);
3421}
3422
3423rule__QualifiedName__Group_1__1
3424 @init {
3425 int stackSize = keepStackSize();
3426 }
3427:
3428 rule__QualifiedName__Group_1__1__Impl
3429;
3430finally {
3431 restoreStackSize(stackSize);
3432}
3433
3434rule__QualifiedName__Group_1__1__Impl
3435 @init {
3436 int stackSize = keepStackSize();
3437 }
3438:
3439(
3440 { before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); }
3441 RULE_ID
3442 { after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); }
3443)
3444;
3445finally {
3446 restoreStackSize(stackSize);
3447}
3448
3449
3450rule__Problem__StatementsAssignment
3451 @init {
3452 int stackSize = keepStackSize();
3453 }
3454:
3455 (
3456 { before(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); }
3457 ruleStatement
3458 { after(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0()); }
3459 )
3460;
3461finally {
3462 restoreStackSize(stackSize);
3463}
3464
3465rule__ClassDeclaration__AbstractAssignment_0
3466 @init {
3467 int stackSize = keepStackSize();
3468 }
3469:
3470 (
3471 { before(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); }
3472 (
3473 { before(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); }
3474 'abstract'
3475 { after(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); }
3476 )
3477 { after(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); }
3478 )
3479;
3480finally {
3481 restoreStackSize(stackSize);
3482}
3483
3484rule__ClassDeclaration__NameAssignment_2
3485 @init {
3486 int stackSize = keepStackSize();
3487 }
3488:
3489 (
3490 { before(grammarAccess.getClassDeclarationAccess().getNameIDTerminalRuleCall_2_0()); }
3491 RULE_ID
3492 { after(grammarAccess.getClassDeclarationAccess().getNameIDTerminalRuleCall_2_0()); }
3493 )
3494;
3495finally {
3496 restoreStackSize(stackSize);
3497}
3498
3499rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0
3500 @init {
3501 int stackSize = keepStackSize();
3502 }
3503:
3504 (
3505 { before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_0_1_0_0()); }
3506 (
3507 { before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationIDTerminalRuleCall_3_0_1_0_0_1()); }
3508 RULE_ID
3509 { after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationIDTerminalRuleCall_3_0_1_0_0_1()); }
3510 )
3511 { after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_0_1_0_0()); }
3512 )
3513;
3514finally {
3515 restoreStackSize(stackSize);
3516}
3517
3518rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0
3519 @init {
3520 int stackSize = keepStackSize();
3521 }
3522:
3523 (
3524 { before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_0_1_1_1_0_0()); }
3525 (
3526 { before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationIDTerminalRuleCall_3_0_1_1_1_0_0_1()); }
3527 RULE_ID
3528 { after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationIDTerminalRuleCall_3_0_1_1_1_0_0_1()); }
3529 )
3530 { after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_0_1_1_1_0_0()); }
3531 )
3532;
3533finally {
3534 restoreStackSize(stackSize);
3535}
3536
3537rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1
3538 @init {
3539 int stackSize = keepStackSize();
3540 }
3541:
3542 (
3543 { before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_0_1_1_1_1_1_0()); }
3544 (
3545 { before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationIDTerminalRuleCall_3_0_1_1_1_1_1_0_1()); }
3546 RULE_ID
3547 { after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationIDTerminalRuleCall_3_0_1_1_1_1_1_0_1()); }
3548 )
3549 { after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_0_1_1_1_1_1_0()); }
3550 )
3551;
3552finally {
3553 restoreStackSize(stackSize);
3554}
3555
3556rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1
3557 @init {
3558 int stackSize = keepStackSize();
3559 }
3560:
3561 (
3562 { before(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsReferenceDeclarationParserRuleCall_3_1_0()); }
3563 ruleReferenceDeclaration
3564 { after(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsReferenceDeclarationParserRuleCall_3_1_0()); }
3565 )
3566;
3567finally {
3568 restoreStackSize(stackSize);
3569}
3570
3571rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1
3572 @init {
3573 int stackSize = keepStackSize();
3574 }
3575:
3576 (
3577 { before(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsReferenceDeclarationParserRuleCall_4_1_0()); }
3578 ruleReferenceDeclaration
3579 { after(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsReferenceDeclarationParserRuleCall_4_1_0()); }
3580 )
3581;
3582finally {
3583 restoreStackSize(stackSize);
3584}
3585
3586rule__ReferenceDeclaration__ContainmentAssignment_0_0
3587 @init {
3588 int stackSize = keepStackSize();
3589 }
3590:
3591 (
3592 { before(grammarAccess.getReferenceDeclarationAccess().getContainmentContainsKeyword_0_0_0()); }
3593 (
3594 { before(grammarAccess.getReferenceDeclarationAccess().getContainmentContainsKeyword_0_0_0()); }
3595 'contains'
3596 { after(grammarAccess.getReferenceDeclarationAccess().getContainmentContainsKeyword_0_0_0()); }
3597 )
3598 { after(grammarAccess.getReferenceDeclarationAccess().getContainmentContainsKeyword_0_0_0()); }
3599 )
3600;
3601finally {
3602 restoreStackSize(stackSize);
3603}
3604
3605rule__ReferenceDeclaration__ReferenceTypeAssignment_1
3606 @init {
3607 int stackSize = keepStackSize();
3608 }
3609:
3610 (
3611 { before(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeClassDeclarationCrossReference_1_0()); }
3612 (
3613 { before(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeClassDeclarationIDTerminalRuleCall_1_0_1()); }
3614 RULE_ID
3615 { after(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeClassDeclarationIDTerminalRuleCall_1_0_1()); }
3616 )
3617 { after(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeClassDeclarationCrossReference_1_0()); }
3618 )
3619;
3620finally {
3621 restoreStackSize(stackSize);
3622}
3623
3624rule__ReferenceDeclaration__MultiplicityAssignment_3
3625 @init {
3626 int stackSize = keepStackSize();
3627 }
3628:
3629 (
3630 { before(grammarAccess.getReferenceDeclarationAccess().getMultiplicityMultiplicityParserRuleCall_3_0()); }
3631 ruleMultiplicity
3632 { after(grammarAccess.getReferenceDeclarationAccess().getMultiplicityMultiplicityParserRuleCall_3_0()); }
3633 )
3634;
3635finally {
3636 restoreStackSize(stackSize);
3637}
3638
3639rule__ReferenceDeclaration__NameAssignment_5
3640 @init {
3641 int stackSize = keepStackSize();
3642 }
3643:
3644 (
3645 { before(grammarAccess.getReferenceDeclarationAccess().getNameIDTerminalRuleCall_5_0()); }
3646 RULE_ID
3647 { after(grammarAccess.getReferenceDeclarationAccess().getNameIDTerminalRuleCall_5_0()); }
3648 )
3649;
3650finally {
3651 restoreStackSize(stackSize);
3652}
3653
3654rule__ReferenceDeclaration__OppositeAssignment_6_1
3655 @init {
3656 int stackSize = keepStackSize();
3657 }
3658:
3659 (
3660 { before(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationCrossReference_6_1_0()); }
3661 (
3662 { before(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationQualifiedNameParserRuleCall_6_1_0_1()); }
3663 ruleQualifiedName
3664 { after(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationQualifiedNameParserRuleCall_6_1_0_1()); }
3665 )
3666 { after(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationCrossReference_6_1_0()); }
3667 )
3668;
3669finally {
3670 restoreStackSize(stackSize);
3671}
3672
3673rule__PredicateDefinition__ErrorAssignment_0_0_0
3674 @init {
3675 int stackSize = keepStackSize();
3676 }
3677:
3678 (
3679 { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_0_0()); }
3680 (
3681 { before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_0_0()); }
3682 'error'
3683 { after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_0_0()); }
3684 )
3685 { after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_0_0()); }
3686 )
3687;
3688finally {
3689 restoreStackSize(stackSize);
3690}
3691
3692rule__PredicateDefinition__NameAssignment_1
3693 @init {
3694 int stackSize = keepStackSize();
3695 }
3696:
3697 (
3698 { before(grammarAccess.getPredicateDefinitionAccess().getNameIDTerminalRuleCall_1_0()); }
3699 RULE_ID
3700 { after(grammarAccess.getPredicateDefinitionAccess().getNameIDTerminalRuleCall_1_0()); }
3701 )
3702;
3703finally {
3704 restoreStackSize(stackSize);
3705}
3706
3707rule__PredicateDefinition__ParametersAssignment_3_0
3708 @init {
3709 int stackSize = keepStackSize();
3710 }
3711:
3712 (
3713 { before(grammarAccess.getPredicateDefinitionAccess().getParametersParameterParserRuleCall_3_0_0()); }
3714 ruleParameter
3715 { after(grammarAccess.getPredicateDefinitionAccess().getParametersParameterParserRuleCall_3_0_0()); }
3716 )
3717;
3718finally {
3719 restoreStackSize(stackSize);
3720}
3721
3722rule__PredicateDefinition__ParametersAssignment_3_1_1
3723 @init {
3724 int stackSize = keepStackSize();
3725 }
3726:
3727 (
3728 { before(grammarAccess.getPredicateDefinitionAccess().getParametersParameterParserRuleCall_3_1_1_0()); }
3729 ruleParameter
3730 { after(grammarAccess.getPredicateDefinitionAccess().getParametersParameterParserRuleCall_3_1_1_0()); }
3731 )
3732;
3733finally {
3734 restoreStackSize(stackSize);
3735}
3736
3737rule__PredicateDefinition__BodiesAssignment_5_1
3738 @init {
3739 int stackSize = keepStackSize();
3740 }
3741:
3742 (
3743 { before(grammarAccess.getPredicateDefinitionAccess().getBodiesConjunctionParserRuleCall_5_1_0()); }
3744 ruleConjunction
3745 { after(grammarAccess.getPredicateDefinitionAccess().getBodiesConjunctionParserRuleCall_5_1_0()); }
3746 )
3747;
3748finally {
3749 restoreStackSize(stackSize);
3750}
3751
3752rule__PredicateDefinition__BodiesAssignment_5_2_1
3753 @init {
3754 int stackSize = keepStackSize();
3755 }
3756:
3757 (
3758 { before(grammarAccess.getPredicateDefinitionAccess().getBodiesConjunctionParserRuleCall_5_2_1_0()); }
3759 ruleConjunction
3760 { after(grammarAccess.getPredicateDefinitionAccess().getBodiesConjunctionParserRuleCall_5_2_1_0()); }
3761 )
3762;
3763finally {
3764 restoreStackSize(stackSize);
3765}
3766
3767rule__Parameter__ParameterTypeAssignment_0
3768 @init {
3769 int stackSize = keepStackSize();
3770 }
3771:
3772 (
3773 { before(grammarAccess.getParameterAccess().getParameterTypeClassDeclarationCrossReference_0_0()); }
3774 (
3775 { before(grammarAccess.getParameterAccess().getParameterTypeClassDeclarationIDTerminalRuleCall_0_0_1()); }
3776 RULE_ID
3777 { after(grammarAccess.getParameterAccess().getParameterTypeClassDeclarationIDTerminalRuleCall_0_0_1()); }
3778 )
3779 { after(grammarAccess.getParameterAccess().getParameterTypeClassDeclarationCrossReference_0_0()); }
3780 )
3781;
3782finally {
3783 restoreStackSize(stackSize);
3784}
3785
3786rule__Parameter__NameAssignment_1
3787 @init {
3788 int stackSize = keepStackSize();
3789 }
3790:
3791 (
3792 { before(grammarAccess.getParameterAccess().getNameIDTerminalRuleCall_1_0()); }
3793 RULE_ID
3794 { after(grammarAccess.getParameterAccess().getNameIDTerminalRuleCall_1_0()); }
3795 )
3796;
3797finally {
3798 restoreStackSize(stackSize);
3799}
3800
3801rule__Conjunction__LiteralsAssignment_0
3802 @init {
3803 int stackSize = keepStackSize();
3804 }
3805:
3806 (
3807 { before(grammarAccess.getConjunctionAccess().getLiteralsLiteralParserRuleCall_0_0()); }
3808 ruleLiteral
3809 { after(grammarAccess.getConjunctionAccess().getLiteralsLiteralParserRuleCall_0_0()); }
3810 )
3811;
3812finally {
3813 restoreStackSize(stackSize);
3814}
3815
3816rule__Conjunction__LiteralsAssignment_1_1
3817 @init {
3818 int stackSize = keepStackSize();
3819 }
3820:
3821 (
3822 { before(grammarAccess.getConjunctionAccess().getLiteralsLiteralParserRuleCall_1_1_0()); }
3823 ruleLiteral
3824 { after(grammarAccess.getConjunctionAccess().getLiteralsLiteralParserRuleCall_1_1_0()); }
3825 )
3826;
3827finally {
3828 restoreStackSize(stackSize);
3829}
3830
3831rule__NegativeLiteral__AtomAssignment_1
3832 @init {
3833 int stackSize = keepStackSize();
3834 }
3835:
3836 (
3837 { before(grammarAccess.getNegativeLiteralAccess().getAtomAtomParserRuleCall_1_0()); }
3838 ruleAtom
3839 { after(grammarAccess.getNegativeLiteralAccess().getAtomAtomParserRuleCall_1_0()); }
3840 )
3841;
3842finally {
3843 restoreStackSize(stackSize);
3844}
3845
3846rule__Atom__RelationAssignment_0
3847 @init {
3848 int stackSize = keepStackSize();
3849 }
3850:
3851 (
3852 { before(grammarAccess.getAtomAccess().getRelationRelationCrossReference_0_0()); }
3853 (
3854 { before(grammarAccess.getAtomAccess().getRelationRelationQualifiedNameParserRuleCall_0_0_1()); }
3855 ruleQualifiedName
3856 { after(grammarAccess.getAtomAccess().getRelationRelationQualifiedNameParserRuleCall_0_0_1()); }
3857 )
3858 { after(grammarAccess.getAtomAccess().getRelationRelationCrossReference_0_0()); }
3859 )
3860;
3861finally {
3862 restoreStackSize(stackSize);
3863}
3864
3865rule__Atom__TransitiveClosureAssignment_1
3866 @init {
3867 int stackSize = keepStackSize();
3868 }
3869:
3870 (
3871 { before(grammarAccess.getAtomAccess().getTransitiveClosurePlusSignKeyword_1_0()); }
3872 (
3873 { before(grammarAccess.getAtomAccess().getTransitiveClosurePlusSignKeyword_1_0()); }
3874 '+'
3875 { after(grammarAccess.getAtomAccess().getTransitiveClosurePlusSignKeyword_1_0()); }
3876 )
3877 { after(grammarAccess.getAtomAccess().getTransitiveClosurePlusSignKeyword_1_0()); }
3878 )
3879;
3880finally {
3881 restoreStackSize(stackSize);
3882}
3883
3884rule__Atom__ArgumentsAssignment_3_0
3885 @init {
3886 int stackSize = keepStackSize();
3887 }
3888:
3889 (
3890 { before(grammarAccess.getAtomAccess().getArgumentsVariableCrossReference_3_0_0()); }
3891 (
3892 { before(grammarAccess.getAtomAccess().getArgumentsVariableIDTerminalRuleCall_3_0_0_1()); }
3893 RULE_ID
3894 { after(grammarAccess.getAtomAccess().getArgumentsVariableIDTerminalRuleCall_3_0_0_1()); }
3895 )
3896 { after(grammarAccess.getAtomAccess().getArgumentsVariableCrossReference_3_0_0()); }
3897 )
3898;
3899finally {
3900 restoreStackSize(stackSize);
3901}
3902
3903rule__Atom__ArgumentsAssignment_3_1_1
3904 @init {
3905 int stackSize = keepStackSize();
3906 }
3907:
3908 (
3909 { before(grammarAccess.getAtomAccess().getArgumentsVariableCrossReference_3_1_1_0()); }
3910 (
3911 { before(grammarAccess.getAtomAccess().getArgumentsVariableIDTerminalRuleCall_3_1_1_0_1()); }
3912 RULE_ID
3913 { after(grammarAccess.getAtomAccess().getArgumentsVariableIDTerminalRuleCall_3_1_1_0_1()); }
3914 )
3915 { after(grammarAccess.getAtomAccess().getArgumentsVariableCrossReference_3_1_1_0()); }
3916 )
3917;
3918finally {
3919 restoreStackSize(stackSize);
3920}
3921
3922rule__Assertion__RelationAssignment_0_0_0
3923 @init {
3924 int stackSize = keepStackSize();
3925 }
3926:
3927 (
3928 { before(grammarAccess.getAssertionAccess().getRelationRelationCrossReference_0_0_0_0()); }
3929 (
3930 { before(grammarAccess.getAssertionAccess().getRelationRelationQualifiedNameParserRuleCall_0_0_0_0_1()); }
3931 ruleQualifiedName
3932 { after(grammarAccess.getAssertionAccess().getRelationRelationQualifiedNameParserRuleCall_0_0_0_0_1()); }
3933 )
3934 { after(grammarAccess.getAssertionAccess().getRelationRelationCrossReference_0_0_0_0()); }
3935 )
3936;
3937finally {
3938 restoreStackSize(stackSize);
3939}
3940
3941rule__Assertion__ArgumentsAssignment_0_0_2_0
3942 @init {
3943 int stackSize = keepStackSize();
3944 }
3945:
3946 (
3947 { before(grammarAccess.getAssertionAccess().getArgumentsNodeCrossReference_0_0_2_0_0()); }
3948 (
3949 { before(grammarAccess.getAssertionAccess().getArgumentsNodeQualifiedNameParserRuleCall_0_0_2_0_0_1()); }
3950 ruleQualifiedName
3951 { after(grammarAccess.getAssertionAccess().getArgumentsNodeQualifiedNameParserRuleCall_0_0_2_0_0_1()); }
3952 )
3953 { after(grammarAccess.getAssertionAccess().getArgumentsNodeCrossReference_0_0_2_0_0()); }
3954 )
3955;
3956finally {
3957 restoreStackSize(stackSize);
3958}
3959
3960rule__Assertion__ArgumentsAssignment_0_0_2_1_1
3961 @init {
3962 int stackSize = keepStackSize();
3963 }
3964:
3965 (
3966 { before(grammarAccess.getAssertionAccess().getArgumentsNodeCrossReference_0_0_2_1_1_0()); }
3967 (
3968 { before(grammarAccess.getAssertionAccess().getArgumentsNodeQualifiedNameParserRuleCall_0_0_2_1_1_0_1()); }
3969 ruleQualifiedName
3970 { after(grammarAccess.getAssertionAccess().getArgumentsNodeQualifiedNameParserRuleCall_0_0_2_1_1_0_1()); }
3971 )
3972 { after(grammarAccess.getAssertionAccess().getArgumentsNodeCrossReference_0_0_2_1_1_0()); }
3973 )
3974;
3975finally {
3976 restoreStackSize(stackSize);
3977}
3978
3979rule__Assertion__ValueAssignment_0_0_5
3980 @init {
3981 int stackSize = keepStackSize();
3982 }
3983:
3984 (
3985 { before(grammarAccess.getAssertionAccess().getValueLogicValueEnumRuleCall_0_0_5_0()); }
3986 ruleLogicValue
3987 { after(grammarAccess.getAssertionAccess().getValueLogicValueEnumRuleCall_0_0_5_0()); }
3988 )
3989;
3990finally {
3991 restoreStackSize(stackSize);
3992}
3993
3994rule__Assertion__ValueAssignment_0_1_0
3995 @init {
3996 int stackSize = keepStackSize();
3997 }
3998:
3999 (
4000 { before(grammarAccess.getAssertionAccess().getValueShortLogicValueEnumRuleCall_0_1_0_0()); }
4001 ruleShortLogicValue
4002 { after(grammarAccess.getAssertionAccess().getValueShortLogicValueEnumRuleCall_0_1_0_0()); }
4003 )
4004;
4005finally {
4006 restoreStackSize(stackSize);
4007}
4008
4009rule__Assertion__RelationAssignment_0_1_1
4010 @init {
4011 int stackSize = keepStackSize();
4012 }
4013:
4014 (
4015 { before(grammarAccess.getAssertionAccess().getRelationRelationCrossReference_0_1_1_0()); }
4016 (
4017 { before(grammarAccess.getAssertionAccess().getRelationRelationQualifiedNameParserRuleCall_0_1_1_0_1()); }
4018 ruleQualifiedName
4019 { after(grammarAccess.getAssertionAccess().getRelationRelationQualifiedNameParserRuleCall_0_1_1_0_1()); }
4020 )
4021 { after(grammarAccess.getAssertionAccess().getRelationRelationCrossReference_0_1_1_0()); }
4022 )
4023;
4024finally {
4025 restoreStackSize(stackSize);
4026}
4027
4028rule__Assertion__ArgumentsAssignment_0_1_3_0
4029 @init {
4030 int stackSize = keepStackSize();
4031 }
4032:
4033 (
4034 { before(grammarAccess.getAssertionAccess().getArgumentsNodeCrossReference_0_1_3_0_0()); }
4035 (
4036 { before(grammarAccess.getAssertionAccess().getArgumentsNodeQualifiedNameParserRuleCall_0_1_3_0_0_1()); }
4037 ruleQualifiedName
4038 { after(grammarAccess.getAssertionAccess().getArgumentsNodeQualifiedNameParserRuleCall_0_1_3_0_0_1()); }
4039 )
4040 { after(grammarAccess.getAssertionAccess().getArgumentsNodeCrossReference_0_1_3_0_0()); }
4041 )
4042;
4043finally {
4044 restoreStackSize(stackSize);
4045}
4046
4047rule__Assertion__ArgumentsAssignment_0_1_3_1_1
4048 @init {
4049 int stackSize = keepStackSize();
4050 }
4051:
4052 (
4053 { before(grammarAccess.getAssertionAccess().getArgumentsNodeCrossReference_0_1_3_1_1_0()); }
4054 (
4055 { before(grammarAccess.getAssertionAccess().getArgumentsNodeQualifiedNameParserRuleCall_0_1_3_1_1_0_1()); }
4056 ruleQualifiedName
4057 { after(grammarAccess.getAssertionAccess().getArgumentsNodeQualifiedNameParserRuleCall_0_1_3_1_1_0_1()); }
4058 )
4059 { after(grammarAccess.getAssertionAccess().getArgumentsNodeCrossReference_0_1_3_1_1_0()); }
4060 )
4061;
4062finally {
4063 restoreStackSize(stackSize);
4064}
4065
4066rule__ScopeDeclaration__TypeScopesAssignment_1
4067 @init {
4068 int stackSize = keepStackSize();
4069 }
4070:
4071 (
4072 { before(grammarAccess.getScopeDeclarationAccess().getTypeScopesTypeScopeParserRuleCall_1_0()); }
4073 ruleTypeScope
4074 { after(grammarAccess.getScopeDeclarationAccess().getTypeScopesTypeScopeParserRuleCall_1_0()); }
4075 )
4076;
4077finally {
4078 restoreStackSize(stackSize);
4079}
4080
4081rule__ScopeDeclaration__TypeScopesAssignment_2_1
4082 @init {
4083 int stackSize = keepStackSize();
4084 }
4085:
4086 (
4087 { before(grammarAccess.getScopeDeclarationAccess().getTypeScopesTypeScopeParserRuleCall_2_1_0()); }
4088 ruleTypeScope
4089 { after(grammarAccess.getScopeDeclarationAccess().getTypeScopesTypeScopeParserRuleCall_2_1_0()); }
4090 )
4091;
4092finally {
4093 restoreStackSize(stackSize);
4094}
4095
4096rule__TypeScope__TargetTypeAssignment_0
4097 @init {
4098 int stackSize = keepStackSize();
4099 }
4100:
4101 (
4102 { before(grammarAccess.getTypeScopeAccess().getTargetTypeClassDeclarationCrossReference_0_0()); }
4103 (
4104 { before(grammarAccess.getTypeScopeAccess().getTargetTypeClassDeclarationIDTerminalRuleCall_0_0_1()); }
4105 RULE_ID
4106 { after(grammarAccess.getTypeScopeAccess().getTargetTypeClassDeclarationIDTerminalRuleCall_0_0_1()); }
4107 )
4108 { after(grammarAccess.getTypeScopeAccess().getTargetTypeClassDeclarationCrossReference_0_0()); }
4109 )
4110;
4111finally {
4112 restoreStackSize(stackSize);
4113}
4114
4115rule__TypeScope__IncrementAssignment_1_0
4116 @init {
4117 int stackSize = keepStackSize();
4118 }
4119:
4120 (
4121 { before(grammarAccess.getTypeScopeAccess().getIncrementPlusSignEqualsSignKeyword_1_0_0()); }
4122 (
4123 { before(grammarAccess.getTypeScopeAccess().getIncrementPlusSignEqualsSignKeyword_1_0_0()); }
4124 '+='
4125 { after(grammarAccess.getTypeScopeAccess().getIncrementPlusSignEqualsSignKeyword_1_0_0()); }
4126 )
4127 { after(grammarAccess.getTypeScopeAccess().getIncrementPlusSignEqualsSignKeyword_1_0_0()); }
4128 )
4129;
4130finally {
4131 restoreStackSize(stackSize);
4132}
4133
4134rule__TypeScope__MultiplicityAssignment_2
4135 @init {
4136 int stackSize = keepStackSize();
4137 }
4138:
4139 (
4140 { before(grammarAccess.getTypeScopeAccess().getMultiplicityMultiplicityParserRuleCall_2_0()); }
4141 ruleMultiplicity
4142 { after(grammarAccess.getTypeScopeAccess().getMultiplicityMultiplicityParserRuleCall_2_0()); }
4143 )
4144;
4145finally {
4146 restoreStackSize(stackSize);
4147}
4148
4149rule__RangeMultiplicity__LowerBoundAssignment_0
4150 @init {
4151 int stackSize = keepStackSize();
4152 }
4153:
4154 (
4155 { before(grammarAccess.getRangeMultiplicityAccess().getLowerBoundINTTerminalRuleCall_0_0()); }
4156 RULE_INT
4157 { after(grammarAccess.getRangeMultiplicityAccess().getLowerBoundINTTerminalRuleCall_0_0()); }
4158 )
4159;
4160finally {
4161 restoreStackSize(stackSize);
4162}
4163
4164rule__RangeMultiplicity__UpperBoundAssignment_2
4165 @init {
4166 int stackSize = keepStackSize();
4167 }
4168:
4169 (
4170 { before(grammarAccess.getRangeMultiplicityAccess().getUpperBoundUpperBoundParserRuleCall_2_0()); }
4171 ruleUpperBound
4172 { after(grammarAccess.getRangeMultiplicityAccess().getUpperBoundUpperBoundParserRuleCall_2_0()); }
4173 )
4174;
4175finally {
4176 restoreStackSize(stackSize);
4177}
4178
4179rule__ExactMultiplicity__ExactValueAssignment
4180 @init {
4181 int stackSize = keepStackSize();
4182 }
4183:
4184 (
4185 { before(grammarAccess.getExactMultiplicityAccess().getExactValueINTTerminalRuleCall_0()); }
4186 RULE_INT
4187 { after(grammarAccess.getExactMultiplicityAccess().getExactValueINTTerminalRuleCall_0()); }
4188 )
4189;
4190finally {
4191 restoreStackSize(stackSize);
4192}
4193
4194RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
4195
4196RULE_INT : ('0'..'9')+;
4197
4198RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'|'\'' ('\\' .|~(('\\'|'\'')))* '\'');
4199
4200RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
4201
4202RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?;
4203
4204RULE_WS : (' '|'\t'|'\r'|'\n')+;
4205
4206RULE_ANY_OTHER : .;