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
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')
-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/PartialProblemContentAssistParser.java33
-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/ProblemParser.java165
-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
-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.tokens65
-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/InternalProblemLexer.java1699
-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/InternalProblemParser.java12761
6 files changed, 18929 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/PartialProblemContentAssistParser.java 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/PartialProblemContentAssistParser.java
new file mode 100644
index 00000000..890ab643
--- /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/PartialProblemContentAssistParser.java
@@ -0,0 +1,33 @@
1/*
2 * generated by Xtext 2.26.0.M1
3 */
4package org.eclipse.viatra.solver.language.ide.contentassist.antlr;
5
6import java.util.Collection;
7import java.util.Collections;
8import org.eclipse.xtext.AbstractRule;
9import org.eclipse.xtext.ide.editor.contentassist.antlr.FollowElement;
10import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
11import org.eclipse.xtext.util.PolymorphicDispatcher;
12
13public class PartialProblemContentAssistParser extends ProblemParser {
14
15 private AbstractRule rule;
16
17 @Override
18 public void initializeFor(AbstractRule rule) {
19 this.rule = rule;
20 }
21
22 @Override
23 protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) {
24 if (rule == null || rule.eIsProxy())
25 return Collections.emptyList();
26 String methodName = "entryRule" + rule.getName();
27 PolymorphicDispatcher<Collection<FollowElement>> dispatcher =
28 new PolymorphicDispatcher<Collection<FollowElement>>(methodName, 0, 0, Collections.singletonList(parser));
29 dispatcher.invoke();
30 return parser.getFollowElements();
31 }
32
33}
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/ProblemParser.java 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/ProblemParser.java
new file mode 100644
index 00000000..78416e64
--- /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/ProblemParser.java
@@ -0,0 +1,165 @@
1/*
2 * generated by Xtext 2.26.0.M1
3 */
4package org.eclipse.viatra.solver.language.ide.contentassist.antlr;
5
6import com.google.common.collect.ImmutableMap;
7import com.google.inject.Inject;
8import com.google.inject.Singleton;
9import java.util.Map;
10import org.eclipse.viatra.solver.language.ide.contentassist.antlr.internal.InternalProblemParser;
11import org.eclipse.viatra.solver.language.services.ProblemGrammarAccess;
12import org.eclipse.xtext.AbstractElement;
13import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser;
14
15public class ProblemParser extends AbstractContentAssistParser {
16
17 @Singleton
18 public static final class NameMappings {
19
20 private final Map<AbstractElement, String> mappings;
21
22 @Inject
23 public NameMappings(ProblemGrammarAccess grammarAccess) {
24 ImmutableMap.Builder<AbstractElement, String> builder = ImmutableMap.builder();
25 init(builder, grammarAccess);
26 this.mappings = builder.build();
27 }
28
29 public String getRuleName(AbstractElement element) {
30 return mappings.get(element);
31 }
32
33 private static void init(ImmutableMap.Builder<AbstractElement, String> builder, ProblemGrammarAccess grammarAccess) {
34 builder.put(grammarAccess.getStatementAccess().getAlternatives(), "rule__Statement__Alternatives");
35 builder.put(grammarAccess.getClassDeclarationAccess().getAlternatives_3(), "rule__ClassDeclaration__Alternatives_3");
36 builder.put(grammarAccess.getClassDeclarationAccess().getAlternatives_3_0_1(), "rule__ClassDeclaration__Alternatives_3_0_1");
37 builder.put(grammarAccess.getReferenceDeclarationAccess().getAlternatives_0(), "rule__ReferenceDeclaration__Alternatives_0");
38 builder.put(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0(), "rule__PredicateDefinition__Alternatives_0");
39 builder.put(grammarAccess.getLiteralAccess().getAlternatives(), "rule__Literal__Alternatives");
40 builder.put(grammarAccess.getAssertionAccess().getAlternatives_0(), "rule__Assertion__Alternatives_0");
41 builder.put(grammarAccess.getTypeScopeAccess().getAlternatives_1(), "rule__TypeScope__Alternatives_1");
42 builder.put(grammarAccess.getMultiplicityAccess().getAlternatives(), "rule__Multiplicity__Alternatives");
43 builder.put(grammarAccess.getUpperBoundAccess().getAlternatives(), "rule__UpperBound__Alternatives");
44 builder.put(grammarAccess.getLogicValueAccess().getAlternatives(), "rule__LogicValue__Alternatives");
45 builder.put(grammarAccess.getShortLogicValueAccess().getAlternatives(), "rule__ShortLogicValue__Alternatives");
46 builder.put(grammarAccess.getClassDeclarationAccess().getGroup(), "rule__ClassDeclaration__Group__0");
47 builder.put(grammarAccess.getClassDeclarationAccess().getGroup_3_0(), "rule__ClassDeclaration__Group_3_0__0");
48 builder.put(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1(), "rule__ClassDeclaration__Group_3_0_1_1__0");
49 builder.put(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1_1(), "rule__ClassDeclaration__Group_3_0_1_1_1__0");
50 builder.put(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1_1_1(), "rule__ClassDeclaration__Group_3_0_1_1_1_1__0");
51 builder.put(grammarAccess.getClassDeclarationAccess().getGroup_4(), "rule__ClassDeclaration__Group_4__0");
52 builder.put(grammarAccess.getReferenceDeclarationAccess().getGroup(), "rule__ReferenceDeclaration__Group__0");
53 builder.put(grammarAccess.getReferenceDeclarationAccess().getGroup_6(), "rule__ReferenceDeclaration__Group_6__0");
54 builder.put(grammarAccess.getPredicateDefinitionAccess().getGroup(), "rule__PredicateDefinition__Group__0");
55 builder.put(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0(), "rule__PredicateDefinition__Group_0_0__0");
56 builder.put(grammarAccess.getPredicateDefinitionAccess().getGroup_3(), "rule__PredicateDefinition__Group_3__0");
57 builder.put(grammarAccess.getPredicateDefinitionAccess().getGroup_3_1(), "rule__PredicateDefinition__Group_3_1__0");
58 builder.put(grammarAccess.getPredicateDefinitionAccess().getGroup_5(), "rule__PredicateDefinition__Group_5__0");
59 builder.put(grammarAccess.getPredicateDefinitionAccess().getGroup_5_2(), "rule__PredicateDefinition__Group_5_2__0");
60 builder.put(grammarAccess.getParameterAccess().getGroup(), "rule__Parameter__Group__0");
61 builder.put(grammarAccess.getConjunctionAccess().getGroup(), "rule__Conjunction__Group__0");
62 builder.put(grammarAccess.getConjunctionAccess().getGroup_1(), "rule__Conjunction__Group_1__0");
63 builder.put(grammarAccess.getNegativeLiteralAccess().getGroup(), "rule__NegativeLiteral__Group__0");
64 builder.put(grammarAccess.getAtomAccess().getGroup(), "rule__Atom__Group__0");
65 builder.put(grammarAccess.getAtomAccess().getGroup_3(), "rule__Atom__Group_3__0");
66 builder.put(grammarAccess.getAtomAccess().getGroup_3_1(), "rule__Atom__Group_3_1__0");
67 builder.put(grammarAccess.getAssertionAccess().getGroup(), "rule__Assertion__Group__0");
68 builder.put(grammarAccess.getAssertionAccess().getGroup_0_0(), "rule__Assertion__Group_0_0__0");
69 builder.put(grammarAccess.getAssertionAccess().getGroup_0_0_2(), "rule__Assertion__Group_0_0_2__0");
70 builder.put(grammarAccess.getAssertionAccess().getGroup_0_0_2_1(), "rule__Assertion__Group_0_0_2_1__0");
71 builder.put(grammarAccess.getAssertionAccess().getGroup_0_1(), "rule__Assertion__Group_0_1__0");
72 builder.put(grammarAccess.getAssertionAccess().getGroup_0_1_3(), "rule__Assertion__Group_0_1_3__0");
73 builder.put(grammarAccess.getAssertionAccess().getGroup_0_1_3_1(), "rule__Assertion__Group_0_1_3_1__0");
74 builder.put(grammarAccess.getScopeDeclarationAccess().getGroup(), "rule__ScopeDeclaration__Group__0");
75 builder.put(grammarAccess.getScopeDeclarationAccess().getGroup_2(), "rule__ScopeDeclaration__Group_2__0");
76 builder.put(grammarAccess.getTypeScopeAccess().getGroup(), "rule__TypeScope__Group__0");
77 builder.put(grammarAccess.getRangeMultiplicityAccess().getGroup(), "rule__RangeMultiplicity__Group__0");
78 builder.put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0");
79 builder.put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0");
80 builder.put(grammarAccess.getProblemAccess().getStatementsAssignment(), "rule__Problem__StatementsAssignment");
81 builder.put(grammarAccess.getClassDeclarationAccess().getAbstractAssignment_0(), "rule__ClassDeclaration__AbstractAssignment_0");
82 builder.put(grammarAccess.getClassDeclarationAccess().getNameAssignment_2(), "rule__ClassDeclaration__NameAssignment_2");
83 builder.put(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_0(), "rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0");
84 builder.put(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_1_1_0(), "rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0");
85 builder.put(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_1_1_1_1(), "rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1");
86 builder.put(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsAssignment_3_1(), "rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1");
87 builder.put(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsAssignment_4_1(), "rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1");
88 builder.put(grammarAccess.getReferenceDeclarationAccess().getContainmentAssignment_0_0(), "rule__ReferenceDeclaration__ContainmentAssignment_0_0");
89 builder.put(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeAssignment_1(), "rule__ReferenceDeclaration__ReferenceTypeAssignment_1");
90 builder.put(grammarAccess.getReferenceDeclarationAccess().getMultiplicityAssignment_3(), "rule__ReferenceDeclaration__MultiplicityAssignment_3");
91 builder.put(grammarAccess.getReferenceDeclarationAccess().getNameAssignment_5(), "rule__ReferenceDeclaration__NameAssignment_5");
92 builder.put(grammarAccess.getReferenceDeclarationAccess().getOppositeAssignment_6_1(), "rule__ReferenceDeclaration__OppositeAssignment_6_1");
93 builder.put(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_0(), "rule__PredicateDefinition__ErrorAssignment_0_0_0");
94 builder.put(grammarAccess.getPredicateDefinitionAccess().getNameAssignment_1(), "rule__PredicateDefinition__NameAssignment_1");
95 builder.put(grammarAccess.getPredicateDefinitionAccess().getParametersAssignment_3_0(), "rule__PredicateDefinition__ParametersAssignment_3_0");
96 builder.put(grammarAccess.getPredicateDefinitionAccess().getParametersAssignment_3_1_1(), "rule__PredicateDefinition__ParametersAssignment_3_1_1");
97 builder.put(grammarAccess.getPredicateDefinitionAccess().getBodiesAssignment_5_1(), "rule__PredicateDefinition__BodiesAssignment_5_1");
98 builder.put(grammarAccess.getPredicateDefinitionAccess().getBodiesAssignment_5_2_1(), "rule__PredicateDefinition__BodiesAssignment_5_2_1");
99 builder.put(grammarAccess.getParameterAccess().getParameterTypeAssignment_0(), "rule__Parameter__ParameterTypeAssignment_0");
100 builder.put(grammarAccess.getParameterAccess().getNameAssignment_1(), "rule__Parameter__NameAssignment_1");
101 builder.put(grammarAccess.getConjunctionAccess().getLiteralsAssignment_0(), "rule__Conjunction__LiteralsAssignment_0");
102 builder.put(grammarAccess.getConjunctionAccess().getLiteralsAssignment_1_1(), "rule__Conjunction__LiteralsAssignment_1_1");
103 builder.put(grammarAccess.getNegativeLiteralAccess().getAtomAssignment_1(), "rule__NegativeLiteral__AtomAssignment_1");
104 builder.put(grammarAccess.getAtomAccess().getRelationAssignment_0(), "rule__Atom__RelationAssignment_0");
105 builder.put(grammarAccess.getAtomAccess().getTransitiveClosureAssignment_1(), "rule__Atom__TransitiveClosureAssignment_1");
106 builder.put(grammarAccess.getAtomAccess().getArgumentsAssignment_3_0(), "rule__Atom__ArgumentsAssignment_3_0");
107 builder.put(grammarAccess.getAtomAccess().getArgumentsAssignment_3_1_1(), "rule__Atom__ArgumentsAssignment_3_1_1");
108 builder.put(grammarAccess.getAssertionAccess().getRelationAssignment_0_0_0(), "rule__Assertion__RelationAssignment_0_0_0");
109 builder.put(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_0_2_0(), "rule__Assertion__ArgumentsAssignment_0_0_2_0");
110 builder.put(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_0_2_1_1(), "rule__Assertion__ArgumentsAssignment_0_0_2_1_1");
111 builder.put(grammarAccess.getAssertionAccess().getValueAssignment_0_0_5(), "rule__Assertion__ValueAssignment_0_0_5");
112 builder.put(grammarAccess.getAssertionAccess().getValueAssignment_0_1_0(), "rule__Assertion__ValueAssignment_0_1_0");
113 builder.put(grammarAccess.getAssertionAccess().getRelationAssignment_0_1_1(), "rule__Assertion__RelationAssignment_0_1_1");
114 builder.put(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_1_3_0(), "rule__Assertion__ArgumentsAssignment_0_1_3_0");
115 builder.put(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_1_3_1_1(), "rule__Assertion__ArgumentsAssignment_0_1_3_1_1");
116 builder.put(grammarAccess.getScopeDeclarationAccess().getTypeScopesAssignment_1(), "rule__ScopeDeclaration__TypeScopesAssignment_1");
117 builder.put(grammarAccess.getScopeDeclarationAccess().getTypeScopesAssignment_2_1(), "rule__ScopeDeclaration__TypeScopesAssignment_2_1");
118 builder.put(grammarAccess.getTypeScopeAccess().getTargetTypeAssignment_0(), "rule__TypeScope__TargetTypeAssignment_0");
119 builder.put(grammarAccess.getTypeScopeAccess().getIncrementAssignment_1_0(), "rule__TypeScope__IncrementAssignment_1_0");
120 builder.put(grammarAccess.getTypeScopeAccess().getMultiplicityAssignment_2(), "rule__TypeScope__MultiplicityAssignment_2");
121 builder.put(grammarAccess.getRangeMultiplicityAccess().getLowerBoundAssignment_0(), "rule__RangeMultiplicity__LowerBoundAssignment_0");
122 builder.put(grammarAccess.getRangeMultiplicityAccess().getUpperBoundAssignment_2(), "rule__RangeMultiplicity__UpperBoundAssignment_2");
123 builder.put(grammarAccess.getExactMultiplicityAccess().getExactValueAssignment(), "rule__ExactMultiplicity__ExactValueAssignment");
124 }
125 }
126
127 @Inject
128 private NameMappings nameMappings;
129
130 @Inject
131 private ProblemGrammarAccess grammarAccess;
132
133 @Override
134 protected InternalProblemParser createParser() {
135 InternalProblemParser result = new InternalProblemParser(null);
136 result.setGrammarAccess(grammarAccess);
137 return result;
138 }
139
140 @Override
141 protected String getRuleName(AbstractElement element) {
142 return nameMappings.getRuleName(element);
143 }
144
145 @Override
146 protected String[] getInitialHiddenTokens() {
147 return new String[] { "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT" };
148 }
149
150 public ProblemGrammarAccess getGrammarAccess() {
151 return this.grammarAccess;
152 }
153
154 public void setGrammarAccess(ProblemGrammarAccess grammarAccess) {
155 this.grammarAccess = grammarAccess;
156 }
157
158 public NameMappings getNameMappings() {
159 return nameMappings;
160 }
161
162 public void setNameMappings(NameMappings nameMappings) {
163 this.nameMappings = nameMappings;
164 }
165}
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 : .;
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.tokens 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.tokens
new file mode 100644
index 00000000..b3c4a1ea
--- /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.tokens
@@ -0,0 +1,65 @@
1'!'=18
2'('=27
3')'=28
4'*'=14
5'+'=38
6'+='=39
7','=25
8'.'=21
9'..'=33
10':'=31
11'::'=34
12':='=29
13';'=30
14'='=13
15'?'=19
16'['=23
17']'=24
18'abstract'=35
19'class'=20
20'contains'=36
21'error'=37
22'extends'=22
23'false'=16
24'opposite'=26
25'pred'=12
26'refers'=11
27'scope'=32
28'true'=15
29'unknown'=17
30RULE_ANY_OTHER=10
31RULE_ID=5
32RULE_INT=4
33RULE_ML_COMMENT=7
34RULE_SL_COMMENT=8
35RULE_STRING=6
36RULE_WS=9
37T__11=11
38T__12=12
39T__13=13
40T__14=14
41T__15=15
42T__16=16
43T__17=17
44T__18=18
45T__19=19
46T__20=20
47T__21=21
48T__22=22
49T__23=23
50T__24=24
51T__25=25
52T__26=26
53T__27=27
54T__28=28
55T__29=29
56T__30=30
57T__31=31
58T__32=32
59T__33=33
60T__34=34
61T__35=35
62T__36=36
63T__37=37
64T__38=38
65T__39=39
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/InternalProblemLexer.java 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/InternalProblemLexer.java
new file mode 100644
index 00000000..0bd65406
--- /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/InternalProblemLexer.java
@@ -0,0 +1,1699 @@
1package org.eclipse.viatra.solver.language.ide.contentassist.antlr.internal;
2
3// Hack: Use our own Lexer superclass by means of import.
4// Currently there is no other way to specify the superclass for the lexer.
5import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer;
6
7
8import org.antlr.runtime.*;
9import java.util.Stack;
10import java.util.List;
11import java.util.ArrayList;
12
13@SuppressWarnings("all")
14public class InternalProblemLexer extends Lexer {
15 public static final int RULE_STRING=6;
16 public static final int RULE_SL_COMMENT=8;
17 public static final int T__19=19;
18 public static final int T__15=15;
19 public static final int T__37=37;
20 public static final int T__16=16;
21 public static final int T__38=38;
22 public static final int T__17=17;
23 public static final int T__39=39;
24 public static final int T__18=18;
25 public static final int T__11=11;
26 public static final int T__33=33;
27 public static final int T__12=12;
28 public static final int T__34=34;
29 public static final int T__13=13;
30 public static final int T__35=35;
31 public static final int T__14=14;
32 public static final int T__36=36;
33 public static final int EOF=-1;
34 public static final int T__30=30;
35 public static final int T__31=31;
36 public static final int T__32=32;
37 public static final int RULE_ID=5;
38 public static final int RULE_WS=9;
39 public static final int RULE_ANY_OTHER=10;
40 public static final int T__26=26;
41 public static final int T__27=27;
42 public static final int T__28=28;
43 public static final int RULE_INT=4;
44 public static final int T__29=29;
45 public static final int T__22=22;
46 public static final int RULE_ML_COMMENT=7;
47 public static final int T__23=23;
48 public static final int T__24=24;
49 public static final int T__25=25;
50 public static final int T__20=20;
51 public static final int T__21=21;
52
53 // delegates
54 // delegators
55
56 public InternalProblemLexer() {;}
57 public InternalProblemLexer(CharStream input) {
58 this(input, new RecognizerSharedState());
59 }
60 public InternalProblemLexer(CharStream input, RecognizerSharedState state) {
61 super(input,state);
62
63 }
64 public String getGrammarFileName() { return "InternalProblem.g"; }
65
66 // $ANTLR start "T__11"
67 public final void mT__11() throws RecognitionException {
68 try {
69 int _type = T__11;
70 int _channel = DEFAULT_TOKEN_CHANNEL;
71 // InternalProblem.g:11:7: ( 'refers' )
72 // InternalProblem.g:11:9: 'refers'
73 {
74 match("refers");
75
76
77 }
78
79 state.type = _type;
80 state.channel = _channel;
81 }
82 finally {
83 }
84 }
85 // $ANTLR end "T__11"
86
87 // $ANTLR start "T__12"
88 public final void mT__12() throws RecognitionException {
89 try {
90 int _type = T__12;
91 int _channel = DEFAULT_TOKEN_CHANNEL;
92 // InternalProblem.g:12:7: ( 'pred' )
93 // InternalProblem.g:12:9: 'pred'
94 {
95 match("pred");
96
97
98 }
99
100 state.type = _type;
101 state.channel = _channel;
102 }
103 finally {
104 }
105 }
106 // $ANTLR end "T__12"
107
108 // $ANTLR start "T__13"
109 public final void mT__13() throws RecognitionException {
110 try {
111 int _type = T__13;
112 int _channel = DEFAULT_TOKEN_CHANNEL;
113 // InternalProblem.g:13:7: ( '=' )
114 // InternalProblem.g:13:9: '='
115 {
116 match('=');
117
118 }
119
120 state.type = _type;
121 state.channel = _channel;
122 }
123 finally {
124 }
125 }
126 // $ANTLR end "T__13"
127
128 // $ANTLR start "T__14"
129 public final void mT__14() throws RecognitionException {
130 try {
131 int _type = T__14;
132 int _channel = DEFAULT_TOKEN_CHANNEL;
133 // InternalProblem.g:14:7: ( '*' )
134 // InternalProblem.g:14:9: '*'
135 {
136 match('*');
137
138 }
139
140 state.type = _type;
141 state.channel = _channel;
142 }
143 finally {
144 }
145 }
146 // $ANTLR end "T__14"
147
148 // $ANTLR start "T__15"
149 public final void mT__15() throws RecognitionException {
150 try {
151 int _type = T__15;
152 int _channel = DEFAULT_TOKEN_CHANNEL;
153 // InternalProblem.g:15:7: ( 'true' )
154 // InternalProblem.g:15:9: 'true'
155 {
156 match("true");
157
158
159 }
160
161 state.type = _type;
162 state.channel = _channel;
163 }
164 finally {
165 }
166 }
167 // $ANTLR end "T__15"
168
169 // $ANTLR start "T__16"
170 public final void mT__16() throws RecognitionException {
171 try {
172 int _type = T__16;
173 int _channel = DEFAULT_TOKEN_CHANNEL;
174 // InternalProblem.g:16:7: ( 'false' )
175 // InternalProblem.g:16:9: 'false'
176 {
177 match("false");
178
179
180 }
181
182 state.type = _type;
183 state.channel = _channel;
184 }
185 finally {
186 }
187 }
188 // $ANTLR end "T__16"
189
190 // $ANTLR start "T__17"
191 public final void mT__17() throws RecognitionException {
192 try {
193 int _type = T__17;
194 int _channel = DEFAULT_TOKEN_CHANNEL;
195 // InternalProblem.g:17:7: ( 'unknown' )
196 // InternalProblem.g:17:9: 'unknown'
197 {
198 match("unknown");
199
200
201 }
202
203 state.type = _type;
204 state.channel = _channel;
205 }
206 finally {
207 }
208 }
209 // $ANTLR end "T__17"
210
211 // $ANTLR start "T__18"
212 public final void mT__18() throws RecognitionException {
213 try {
214 int _type = T__18;
215 int _channel = DEFAULT_TOKEN_CHANNEL;
216 // InternalProblem.g:18:7: ( '!' )
217 // InternalProblem.g:18:9: '!'
218 {
219 match('!');
220
221 }
222
223 state.type = _type;
224 state.channel = _channel;
225 }
226 finally {
227 }
228 }
229 // $ANTLR end "T__18"
230
231 // $ANTLR start "T__19"
232 public final void mT__19() throws RecognitionException {
233 try {
234 int _type = T__19;
235 int _channel = DEFAULT_TOKEN_CHANNEL;
236 // InternalProblem.g:19:7: ( '?' )
237 // InternalProblem.g:19:9: '?'
238 {
239 match('?');
240
241 }
242
243 state.type = _type;
244 state.channel = _channel;
245 }
246 finally {
247 }
248 }
249 // $ANTLR end "T__19"
250
251 // $ANTLR start "T__20"
252 public final void mT__20() throws RecognitionException {
253 try {
254 int _type = T__20;
255 int _channel = DEFAULT_TOKEN_CHANNEL;
256 // InternalProblem.g:20:7: ( 'class' )
257 // InternalProblem.g:20:9: 'class'
258 {
259 match("class");
260
261
262 }
263
264 state.type = _type;
265 state.channel = _channel;
266 }
267 finally {
268 }
269 }
270 // $ANTLR end "T__20"
271
272 // $ANTLR start "T__21"
273 public final void mT__21() throws RecognitionException {
274 try {
275 int _type = T__21;
276 int _channel = DEFAULT_TOKEN_CHANNEL;
277 // InternalProblem.g:21:7: ( '.' )
278 // InternalProblem.g:21:9: '.'
279 {
280 match('.');
281
282 }
283
284 state.type = _type;
285 state.channel = _channel;
286 }
287 finally {
288 }
289 }
290 // $ANTLR end "T__21"
291
292 // $ANTLR start "T__22"
293 public final void mT__22() throws RecognitionException {
294 try {
295 int _type = T__22;
296 int _channel = DEFAULT_TOKEN_CHANNEL;
297 // InternalProblem.g:22:7: ( 'extends' )
298 // InternalProblem.g:22:9: 'extends'
299 {
300 match("extends");
301
302
303 }
304
305 state.type = _type;
306 state.channel = _channel;
307 }
308 finally {
309 }
310 }
311 // $ANTLR end "T__22"
312
313 // $ANTLR start "T__23"
314 public final void mT__23() throws RecognitionException {
315 try {
316 int _type = T__23;
317 int _channel = DEFAULT_TOKEN_CHANNEL;
318 // InternalProblem.g:23:7: ( '[' )
319 // InternalProblem.g:23:9: '['
320 {
321 match('[');
322
323 }
324
325 state.type = _type;
326 state.channel = _channel;
327 }
328 finally {
329 }
330 }
331 // $ANTLR end "T__23"
332
333 // $ANTLR start "T__24"
334 public final void mT__24() throws RecognitionException {
335 try {
336 int _type = T__24;
337 int _channel = DEFAULT_TOKEN_CHANNEL;
338 // InternalProblem.g:24:7: ( ']' )
339 // InternalProblem.g:24:9: ']'
340 {
341 match(']');
342
343 }
344
345 state.type = _type;
346 state.channel = _channel;
347 }
348 finally {
349 }
350 }
351 // $ANTLR end "T__24"
352
353 // $ANTLR start "T__25"
354 public final void mT__25() throws RecognitionException {
355 try {
356 int _type = T__25;
357 int _channel = DEFAULT_TOKEN_CHANNEL;
358 // InternalProblem.g:25:7: ( ',' )
359 // InternalProblem.g:25:9: ','
360 {
361 match(',');
362
363 }
364
365 state.type = _type;
366 state.channel = _channel;
367 }
368 finally {
369 }
370 }
371 // $ANTLR end "T__25"
372
373 // $ANTLR start "T__26"
374 public final void mT__26() throws RecognitionException {
375 try {
376 int _type = T__26;
377 int _channel = DEFAULT_TOKEN_CHANNEL;
378 // InternalProblem.g:26:7: ( 'opposite' )
379 // InternalProblem.g:26:9: 'opposite'
380 {
381 match("opposite");
382
383
384 }
385
386 state.type = _type;
387 state.channel = _channel;
388 }
389 finally {
390 }
391 }
392 // $ANTLR end "T__26"
393
394 // $ANTLR start "T__27"
395 public final void mT__27() throws RecognitionException {
396 try {
397 int _type = T__27;
398 int _channel = DEFAULT_TOKEN_CHANNEL;
399 // InternalProblem.g:27:7: ( '(' )
400 // InternalProblem.g:27:9: '('
401 {
402 match('(');
403
404 }
405
406 state.type = _type;
407 state.channel = _channel;
408 }
409 finally {
410 }
411 }
412 // $ANTLR end "T__27"
413
414 // $ANTLR start "T__28"
415 public final void mT__28() throws RecognitionException {
416 try {
417 int _type = T__28;
418 int _channel = DEFAULT_TOKEN_CHANNEL;
419 // InternalProblem.g:28:7: ( ')' )
420 // InternalProblem.g:28:9: ')'
421 {
422 match(')');
423
424 }
425
426 state.type = _type;
427 state.channel = _channel;
428 }
429 finally {
430 }
431 }
432 // $ANTLR end "T__28"
433
434 // $ANTLR start "T__29"
435 public final void mT__29() throws RecognitionException {
436 try {
437 int _type = T__29;
438 int _channel = DEFAULT_TOKEN_CHANNEL;
439 // InternalProblem.g:29:7: ( ':=' )
440 // InternalProblem.g:29:9: ':='
441 {
442 match(":=");
443
444
445 }
446
447 state.type = _type;
448 state.channel = _channel;
449 }
450 finally {
451 }
452 }
453 // $ANTLR end "T__29"
454
455 // $ANTLR start "T__30"
456 public final void mT__30() throws RecognitionException {
457 try {
458 int _type = T__30;
459 int _channel = DEFAULT_TOKEN_CHANNEL;
460 // InternalProblem.g:30:7: ( ';' )
461 // InternalProblem.g:30:9: ';'
462 {
463 match(';');
464
465 }
466
467 state.type = _type;
468 state.channel = _channel;
469 }
470 finally {
471 }
472 }
473 // $ANTLR end "T__30"
474
475 // $ANTLR start "T__31"
476 public final void mT__31() throws RecognitionException {
477 try {
478 int _type = T__31;
479 int _channel = DEFAULT_TOKEN_CHANNEL;
480 // InternalProblem.g:31:7: ( ':' )
481 // InternalProblem.g:31:9: ':'
482 {
483 match(':');
484
485 }
486
487 state.type = _type;
488 state.channel = _channel;
489 }
490 finally {
491 }
492 }
493 // $ANTLR end "T__31"
494
495 // $ANTLR start "T__32"
496 public final void mT__32() throws RecognitionException {
497 try {
498 int _type = T__32;
499 int _channel = DEFAULT_TOKEN_CHANNEL;
500 // InternalProblem.g:32:7: ( 'scope' )
501 // InternalProblem.g:32:9: 'scope'
502 {
503 match("scope");
504
505
506 }
507
508 state.type = _type;
509 state.channel = _channel;
510 }
511 finally {
512 }
513 }
514 // $ANTLR end "T__32"
515
516 // $ANTLR start "T__33"
517 public final void mT__33() throws RecognitionException {
518 try {
519 int _type = T__33;
520 int _channel = DEFAULT_TOKEN_CHANNEL;
521 // InternalProblem.g:33:7: ( '..' )
522 // InternalProblem.g:33:9: '..'
523 {
524 match("..");
525
526
527 }
528
529 state.type = _type;
530 state.channel = _channel;
531 }
532 finally {
533 }
534 }
535 // $ANTLR end "T__33"
536
537 // $ANTLR start "T__34"
538 public final void mT__34() throws RecognitionException {
539 try {
540 int _type = T__34;
541 int _channel = DEFAULT_TOKEN_CHANNEL;
542 // InternalProblem.g:34:7: ( '::' )
543 // InternalProblem.g:34:9: '::'
544 {
545 match("::");
546
547
548 }
549
550 state.type = _type;
551 state.channel = _channel;
552 }
553 finally {
554 }
555 }
556 // $ANTLR end "T__34"
557
558 // $ANTLR start "T__35"
559 public final void mT__35() throws RecognitionException {
560 try {
561 int _type = T__35;
562 int _channel = DEFAULT_TOKEN_CHANNEL;
563 // InternalProblem.g:35:7: ( 'abstract' )
564 // InternalProblem.g:35:9: 'abstract'
565 {
566 match("abstract");
567
568
569 }
570
571 state.type = _type;
572 state.channel = _channel;
573 }
574 finally {
575 }
576 }
577 // $ANTLR end "T__35"
578
579 // $ANTLR start "T__36"
580 public final void mT__36() throws RecognitionException {
581 try {
582 int _type = T__36;
583 int _channel = DEFAULT_TOKEN_CHANNEL;
584 // InternalProblem.g:36:7: ( 'contains' )
585 // InternalProblem.g:36:9: 'contains'
586 {
587 match("contains");
588
589
590 }
591
592 state.type = _type;
593 state.channel = _channel;
594 }
595 finally {
596 }
597 }
598 // $ANTLR end "T__36"
599
600 // $ANTLR start "T__37"
601 public final void mT__37() throws RecognitionException {
602 try {
603 int _type = T__37;
604 int _channel = DEFAULT_TOKEN_CHANNEL;
605 // InternalProblem.g:37:7: ( 'error' )
606 // InternalProblem.g:37:9: 'error'
607 {
608 match("error");
609
610
611 }
612
613 state.type = _type;
614 state.channel = _channel;
615 }
616 finally {
617 }
618 }
619 // $ANTLR end "T__37"
620
621 // $ANTLR start "T__38"
622 public final void mT__38() throws RecognitionException {
623 try {
624 int _type = T__38;
625 int _channel = DEFAULT_TOKEN_CHANNEL;
626 // InternalProblem.g:38:7: ( '+' )
627 // InternalProblem.g:38:9: '+'
628 {
629 match('+');
630
631 }
632
633 state.type = _type;
634 state.channel = _channel;
635 }
636 finally {
637 }
638 }
639 // $ANTLR end "T__38"
640
641 // $ANTLR start "T__39"
642 public final void mT__39() throws RecognitionException {
643 try {
644 int _type = T__39;
645 int _channel = DEFAULT_TOKEN_CHANNEL;
646 // InternalProblem.g:39:7: ( '+=' )
647 // InternalProblem.g:39:9: '+='
648 {
649 match("+=");
650
651
652 }
653
654 state.type = _type;
655 state.channel = _channel;
656 }
657 finally {
658 }
659 }
660 // $ANTLR end "T__39"
661
662 // $ANTLR start "RULE_ID"
663 public final void mRULE_ID() throws RecognitionException {
664 try {
665 int _type = RULE_ID;
666 int _channel = DEFAULT_TOKEN_CHANNEL;
667 // InternalProblem.g:4194:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
668 // InternalProblem.g:4194:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
669 {
670 // InternalProblem.g:4194:11: ( '^' )?
671 int alt1=2;
672 int LA1_0 = input.LA(1);
673
674 if ( (LA1_0=='^') ) {
675 alt1=1;
676 }
677 switch (alt1) {
678 case 1 :
679 // InternalProblem.g:4194:11: '^'
680 {
681 match('^');
682
683 }
684 break;
685
686 }
687
688 if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
689 input.consume();
690
691 }
692 else {
693 MismatchedSetException mse = new MismatchedSetException(null,input);
694 recover(mse);
695 throw mse;}
696
697 // InternalProblem.g:4194:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
698 loop2:
699 do {
700 int alt2=2;
701 int LA2_0 = input.LA(1);
702
703 if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) {
704 alt2=1;
705 }
706
707
708 switch (alt2) {
709 case 1 :
710 // InternalProblem.g:
711 {
712 if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
713 input.consume();
714
715 }
716 else {
717 MismatchedSetException mse = new MismatchedSetException(null,input);
718 recover(mse);
719 throw mse;}
720
721
722 }
723 break;
724
725 default :
726 break loop2;
727 }
728 } while (true);
729
730
731 }
732
733 state.type = _type;
734 state.channel = _channel;
735 }
736 finally {
737 }
738 }
739 // $ANTLR end "RULE_ID"
740
741 // $ANTLR start "RULE_INT"
742 public final void mRULE_INT() throws RecognitionException {
743 try {
744 int _type = RULE_INT;
745 int _channel = DEFAULT_TOKEN_CHANNEL;
746 // InternalProblem.g:4196:10: ( ( '0' .. '9' )+ )
747 // InternalProblem.g:4196:12: ( '0' .. '9' )+
748 {
749 // InternalProblem.g:4196:12: ( '0' .. '9' )+
750 int cnt3=0;
751 loop3:
752 do {
753 int alt3=2;
754 int LA3_0 = input.LA(1);
755
756 if ( ((LA3_0>='0' && LA3_0<='9')) ) {
757 alt3=1;
758 }
759
760
761 switch (alt3) {
762 case 1 :
763 // InternalProblem.g:4196:13: '0' .. '9'
764 {
765 matchRange('0','9');
766
767 }
768 break;
769
770 default :
771 if ( cnt3 >= 1 ) break loop3;
772 EarlyExitException eee =
773 new EarlyExitException(3, input);
774 throw eee;
775 }
776 cnt3++;
777 } while (true);
778
779
780 }
781
782 state.type = _type;
783 state.channel = _channel;
784 }
785 finally {
786 }
787 }
788 // $ANTLR end "RULE_INT"
789
790 // $ANTLR start "RULE_STRING"
791 public final void mRULE_STRING() throws RecognitionException {
792 try {
793 int _type = RULE_STRING;
794 int _channel = DEFAULT_TOKEN_CHANNEL;
795 // InternalProblem.g:4198:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
796 // InternalProblem.g:4198:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
797 {
798 // InternalProblem.g:4198:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
799 int alt6=2;
800 int LA6_0 = input.LA(1);
801
802 if ( (LA6_0=='\"') ) {
803 alt6=1;
804 }
805 else if ( (LA6_0=='\'') ) {
806 alt6=2;
807 }
808 else {
809 NoViableAltException nvae =
810 new NoViableAltException("", 6, 0, input);
811
812 throw nvae;
813 }
814 switch (alt6) {
815 case 1 :
816 // InternalProblem.g:4198:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
817 {
818 match('\"');
819 // InternalProblem.g:4198:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
820 loop4:
821 do {
822 int alt4=3;
823 int LA4_0 = input.LA(1);
824
825 if ( (LA4_0=='\\') ) {
826 alt4=1;
827 }
828 else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) {
829 alt4=2;
830 }
831
832
833 switch (alt4) {
834 case 1 :
835 // InternalProblem.g:4198:21: '\\\\' .
836 {
837 match('\\');
838 matchAny();
839
840 }
841 break;
842 case 2 :
843 // InternalProblem.g:4198:28: ~ ( ( '\\\\' | '\"' ) )
844 {
845 if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
846 input.consume();
847
848 }
849 else {
850 MismatchedSetException mse = new MismatchedSetException(null,input);
851 recover(mse);
852 throw mse;}
853
854
855 }
856 break;
857
858 default :
859 break loop4;
860 }
861 } while (true);
862
863 match('\"');
864
865 }
866 break;
867 case 2 :
868 // InternalProblem.g:4198:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
869 {
870 match('\'');
871 // InternalProblem.g:4198:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )*
872 loop5:
873 do {
874 int alt5=3;
875 int LA5_0 = input.LA(1);
876
877 if ( (LA5_0=='\\') ) {
878 alt5=1;
879 }
880 else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) {
881 alt5=2;
882 }
883
884
885 switch (alt5) {
886 case 1 :
887 // InternalProblem.g:4198:54: '\\\\' .
888 {
889 match('\\');
890 matchAny();
891
892 }
893 break;
894 case 2 :
895 // InternalProblem.g:4198:61: ~ ( ( '\\\\' | '\\'' ) )
896 {
897 if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
898 input.consume();
899
900 }
901 else {
902 MismatchedSetException mse = new MismatchedSetException(null,input);
903 recover(mse);
904 throw mse;}
905
906
907 }
908 break;
909
910 default :
911 break loop5;
912 }
913 } while (true);
914
915 match('\'');
916
917 }
918 break;
919
920 }
921
922
923 }
924
925 state.type = _type;
926 state.channel = _channel;
927 }
928 finally {
929 }
930 }
931 // $ANTLR end "RULE_STRING"
932
933 // $ANTLR start "RULE_ML_COMMENT"
934 public final void mRULE_ML_COMMENT() throws RecognitionException {
935 try {
936 int _type = RULE_ML_COMMENT;
937 int _channel = DEFAULT_TOKEN_CHANNEL;
938 // InternalProblem.g:4200:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
939 // InternalProblem.g:4200:19: '/*' ( options {greedy=false; } : . )* '*/'
940 {
941 match("/*");
942
943 // InternalProblem.g:4200:24: ( options {greedy=false; } : . )*
944 loop7:
945 do {
946 int alt7=2;
947 int LA7_0 = input.LA(1);
948
949 if ( (LA7_0=='*') ) {
950 int LA7_1 = input.LA(2);
951
952 if ( (LA7_1=='/') ) {
953 alt7=2;
954 }
955 else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFF')) ) {
956 alt7=1;
957 }
958
959
960 }
961 else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFF')) ) {
962 alt7=1;
963 }
964
965
966 switch (alt7) {
967 case 1 :
968 // InternalProblem.g:4200:52: .
969 {
970 matchAny();
971
972 }
973 break;
974
975 default :
976 break loop7;
977 }
978 } while (true);
979
980 match("*/");
981
982
983 }
984
985 state.type = _type;
986 state.channel = _channel;
987 }
988 finally {
989 }
990 }
991 // $ANTLR end "RULE_ML_COMMENT"
992
993 // $ANTLR start "RULE_SL_COMMENT"
994 public final void mRULE_SL_COMMENT() throws RecognitionException {
995 try {
996 int _type = RULE_SL_COMMENT;
997 int _channel = DEFAULT_TOKEN_CHANNEL;
998 // InternalProblem.g:4202:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
999 // InternalProblem.g:4202:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
1000 {
1001 match("//");
1002
1003 // InternalProblem.g:4202:24: (~ ( ( '\\n' | '\\r' ) ) )*
1004 loop8:
1005 do {
1006 int alt8=2;
1007 int LA8_0 = input.LA(1);
1008
1009 if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFF')) ) {
1010 alt8=1;
1011 }
1012
1013
1014 switch (alt8) {
1015 case 1 :
1016 // InternalProblem.g:4202:24: ~ ( ( '\\n' | '\\r' ) )
1017 {
1018 if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
1019 input.consume();
1020
1021 }
1022 else {
1023 MismatchedSetException mse = new MismatchedSetException(null,input);
1024 recover(mse);
1025 throw mse;}
1026
1027
1028 }
1029 break;
1030
1031 default :
1032 break loop8;
1033 }
1034 } while (true);
1035
1036 // InternalProblem.g:4202:40: ( ( '\\r' )? '\\n' )?
1037 int alt10=2;
1038 int LA10_0 = input.LA(1);
1039
1040 if ( (LA10_0=='\n'||LA10_0=='\r') ) {
1041 alt10=1;
1042 }
1043 switch (alt10) {
1044 case 1 :
1045 // InternalProblem.g:4202:41: ( '\\r' )? '\\n'
1046 {
1047 // InternalProblem.g:4202:41: ( '\\r' )?
1048 int alt9=2;
1049 int LA9_0 = input.LA(1);
1050
1051 if ( (LA9_0=='\r') ) {
1052 alt9=1;
1053 }
1054 switch (alt9) {
1055 case 1 :
1056 // InternalProblem.g:4202:41: '\\r'
1057 {
1058 match('\r');
1059
1060 }
1061 break;
1062
1063 }
1064
1065 match('\n');
1066
1067 }
1068 break;
1069
1070 }
1071
1072
1073 }
1074
1075 state.type = _type;
1076 state.channel = _channel;
1077 }
1078 finally {
1079 }
1080 }
1081 // $ANTLR end "RULE_SL_COMMENT"
1082
1083 // $ANTLR start "RULE_WS"
1084 public final void mRULE_WS() throws RecognitionException {
1085 try {
1086 int _type = RULE_WS;
1087 int _channel = DEFAULT_TOKEN_CHANNEL;
1088 // InternalProblem.g:4204:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
1089 // InternalProblem.g:4204:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
1090 {
1091 // InternalProblem.g:4204:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
1092 int cnt11=0;
1093 loop11:
1094 do {
1095 int alt11=2;
1096 int LA11_0 = input.LA(1);
1097
1098 if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) {
1099 alt11=1;
1100 }
1101
1102
1103 switch (alt11) {
1104 case 1 :
1105 // InternalProblem.g:
1106 {
1107 if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
1108 input.consume();
1109
1110 }
1111 else {
1112 MismatchedSetException mse = new MismatchedSetException(null,input);
1113 recover(mse);
1114 throw mse;}
1115
1116
1117 }
1118 break;
1119
1120 default :
1121 if ( cnt11 >= 1 ) break loop11;
1122 EarlyExitException eee =
1123 new EarlyExitException(11, input);
1124 throw eee;
1125 }
1126 cnt11++;
1127 } while (true);
1128
1129
1130 }
1131
1132 state.type = _type;
1133 state.channel = _channel;
1134 }
1135 finally {
1136 }
1137 }
1138 // $ANTLR end "RULE_WS"
1139
1140 // $ANTLR start "RULE_ANY_OTHER"
1141 public final void mRULE_ANY_OTHER() throws RecognitionException {
1142 try {
1143 int _type = RULE_ANY_OTHER;
1144 int _channel = DEFAULT_TOKEN_CHANNEL;
1145 // InternalProblem.g:4206:16: ( . )
1146 // InternalProblem.g:4206:18: .
1147 {
1148 matchAny();
1149
1150 }
1151
1152 state.type = _type;
1153 state.channel = _channel;
1154 }
1155 finally {
1156 }
1157 }
1158 // $ANTLR end "RULE_ANY_OTHER"
1159
1160 public void mTokens() throws RecognitionException {
1161 // InternalProblem.g:1:8: ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
1162 int alt12=36;
1163 alt12 = dfa12.predict(input);
1164 switch (alt12) {
1165 case 1 :
1166 // InternalProblem.g:1:10: T__11
1167 {
1168 mT__11();
1169
1170 }
1171 break;
1172 case 2 :
1173 // InternalProblem.g:1:16: T__12
1174 {
1175 mT__12();
1176
1177 }
1178 break;
1179 case 3 :
1180 // InternalProblem.g:1:22: T__13
1181 {
1182 mT__13();
1183
1184 }
1185 break;
1186 case 4 :
1187 // InternalProblem.g:1:28: T__14
1188 {
1189 mT__14();
1190
1191 }
1192 break;
1193 case 5 :
1194 // InternalProblem.g:1:34: T__15
1195 {
1196 mT__15();
1197
1198 }
1199 break;
1200 case 6 :
1201 // InternalProblem.g:1:40: T__16
1202 {
1203 mT__16();
1204
1205 }
1206 break;
1207 case 7 :
1208 // InternalProblem.g:1:46: T__17
1209 {
1210 mT__17();
1211
1212 }
1213 break;
1214 case 8 :
1215 // InternalProblem.g:1:52: T__18
1216 {
1217 mT__18();
1218
1219 }
1220 break;
1221 case 9 :
1222 // InternalProblem.g:1:58: T__19
1223 {
1224 mT__19();
1225
1226 }
1227 break;
1228 case 10 :
1229 // InternalProblem.g:1:64: T__20
1230 {
1231 mT__20();
1232
1233 }
1234 break;
1235 case 11 :
1236 // InternalProblem.g:1:70: T__21
1237 {
1238 mT__21();
1239
1240 }
1241 break;
1242 case 12 :
1243 // InternalProblem.g:1:76: T__22
1244 {
1245 mT__22();
1246
1247 }
1248 break;
1249 case 13 :
1250 // InternalProblem.g:1:82: T__23
1251 {
1252 mT__23();
1253
1254 }
1255 break;
1256 case 14 :
1257 // InternalProblem.g:1:88: T__24
1258 {
1259 mT__24();
1260
1261 }
1262 break;
1263 case 15 :
1264 // InternalProblem.g:1:94: T__25
1265 {
1266 mT__25();
1267
1268 }
1269 break;
1270 case 16 :
1271 // InternalProblem.g:1:100: T__26
1272 {
1273 mT__26();
1274
1275 }
1276 break;
1277 case 17 :
1278 // InternalProblem.g:1:106: T__27
1279 {
1280 mT__27();
1281
1282 }
1283 break;
1284 case 18 :
1285 // InternalProblem.g:1:112: T__28
1286 {
1287 mT__28();
1288
1289 }
1290 break;
1291 case 19 :
1292 // InternalProblem.g:1:118: T__29
1293 {
1294 mT__29();
1295
1296 }
1297 break;
1298 case 20 :
1299 // InternalProblem.g:1:124: T__30
1300 {
1301 mT__30();
1302
1303 }
1304 break;
1305 case 21 :
1306 // InternalProblem.g:1:130: T__31
1307 {
1308 mT__31();
1309
1310 }
1311 break;
1312 case 22 :
1313 // InternalProblem.g:1:136: T__32
1314 {
1315 mT__32();
1316
1317 }
1318 break;
1319 case 23 :
1320 // InternalProblem.g:1:142: T__33
1321 {
1322 mT__33();
1323
1324 }
1325 break;
1326 case 24 :
1327 // InternalProblem.g:1:148: T__34
1328 {
1329 mT__34();
1330
1331 }
1332 break;
1333 case 25 :
1334 // InternalProblem.g:1:154: T__35
1335 {
1336 mT__35();
1337
1338 }
1339 break;
1340 case 26 :
1341 // InternalProblem.g:1:160: T__36
1342 {
1343 mT__36();
1344
1345 }
1346 break;
1347 case 27 :
1348 // InternalProblem.g:1:166: T__37
1349 {
1350 mT__37();
1351
1352 }
1353 break;
1354 case 28 :
1355 // InternalProblem.g:1:172: T__38
1356 {
1357 mT__38();
1358
1359 }
1360 break;
1361 case 29 :
1362 // InternalProblem.g:1:178: T__39
1363 {
1364 mT__39();
1365
1366 }
1367 break;
1368 case 30 :
1369 // InternalProblem.g:1:184: RULE_ID
1370 {
1371 mRULE_ID();
1372
1373 }
1374 break;
1375 case 31 :
1376 // InternalProblem.g:1:192: RULE_INT
1377 {
1378 mRULE_INT();
1379
1380 }
1381 break;
1382 case 32 :
1383 // InternalProblem.g:1:201: RULE_STRING
1384 {
1385 mRULE_STRING();
1386
1387 }
1388 break;
1389 case 33 :
1390 // InternalProblem.g:1:213: RULE_ML_COMMENT
1391 {
1392 mRULE_ML_COMMENT();
1393
1394 }
1395 break;
1396 case 34 :
1397 // InternalProblem.g:1:229: RULE_SL_COMMENT
1398 {
1399 mRULE_SL_COMMENT();
1400
1401 }
1402 break;
1403 case 35 :
1404 // InternalProblem.g:1:245: RULE_WS
1405 {
1406 mRULE_WS();
1407
1408 }
1409 break;
1410 case 36 :
1411 // InternalProblem.g:1:253: RULE_ANY_OTHER
1412 {
1413 mRULE_ANY_OTHER();
1414
1415 }
1416 break;
1417
1418 }
1419
1420 }
1421
1422
1423 protected DFA12 dfa12 = new DFA12(this);
1424 static final String DFA12_eotS =
1425 "\1\uffff\2\41\2\uffff\3\41\2\uffff\1\41\1\55\1\41\3\uffff\1\41\2\uffff\1\70\1\uffff\2\41\1\75\1\37\2\uffff\3\37\2\uffff\1\41\1\uffff\1\41\2\uffff\3\41\2\uffff\2\41\2\uffff\2\41\3\uffff\1\41\6\uffff\2\41\7\uffff\15\41\1\134\1\135\12\41\2\uffff\1\150\1\41\1\152\2\41\1\155\1\41\1\157\1\41\1\161\1\uffff\1\41\1\uffff\2\41\1\uffff\1\41\1\uffff\1\41\1\uffff\1\167\1\41\1\171\2\41\1\uffff\1\174\1\uffff\1\175\1\176\3\uffff";
1426 static final String DFA12_eofS =
1427 "\177\uffff";
1428 static final String DFA12_minS =
1429 "\1\0\1\145\1\162\2\uffff\1\162\1\141\1\156\2\uffff\1\154\1\56\1\162\3\uffff\1\160\2\uffff\1\72\1\uffff\1\143\1\142\1\75\1\101\2\uffff\2\0\1\52\2\uffff\1\146\1\uffff\1\145\2\uffff\1\165\1\154\1\153\2\uffff\1\141\1\156\2\uffff\1\164\1\162\3\uffff\1\160\6\uffff\1\157\1\163\7\uffff\1\145\1\144\1\145\1\163\1\156\1\163\1\164\1\145\2\157\1\160\1\164\1\162\2\60\1\145\1\157\1\163\1\141\1\156\1\162\1\163\1\145\1\162\1\163\2\uffff\1\60\1\167\1\60\1\151\1\144\1\60\1\151\1\60\1\141\1\60\1\uffff\1\156\1\uffff\1\156\1\163\1\uffff\1\164\1\uffff\1\143\1\uffff\1\60\1\163\1\60\1\145\1\164\1\uffff\1\60\1\uffff\2\60\3\uffff";
1430 static final String DFA12_maxS =
1431 "\1\uffff\1\145\1\162\2\uffff\1\162\1\141\1\156\2\uffff\1\157\1\56\1\170\3\uffff\1\160\2\uffff\1\75\1\uffff\1\143\1\142\1\75\1\172\2\uffff\2\uffff\1\57\2\uffff\1\146\1\uffff\1\145\2\uffff\1\165\1\154\1\153\2\uffff\1\141\1\156\2\uffff\1\164\1\162\3\uffff\1\160\6\uffff\1\157\1\163\7\uffff\1\145\1\144\1\145\1\163\1\156\1\163\1\164\1\145\2\157\1\160\1\164\1\162\2\172\1\145\1\157\1\163\1\141\1\156\1\162\1\163\1\145\1\162\1\163\2\uffff\1\172\1\167\1\172\1\151\1\144\1\172\1\151\1\172\1\141\1\172\1\uffff\1\156\1\uffff\1\156\1\163\1\uffff\1\164\1\uffff\1\143\1\uffff\1\172\1\163\1\172\1\145\1\164\1\uffff\1\172\1\uffff\2\172\3\uffff";
1432 static final String DFA12_acceptS =
1433 "\3\uffff\1\3\1\4\3\uffff\1\10\1\11\3\uffff\1\15\1\16\1\17\1\uffff\1\21\1\22\1\uffff\1\24\4\uffff\1\36\1\37\3\uffff\1\43\1\44\1\uffff\1\36\1\uffff\1\3\1\4\3\uffff\1\10\1\11\2\uffff\1\27\1\13\2\uffff\1\15\1\16\1\17\1\uffff\1\21\1\22\1\23\1\30\1\25\1\24\2\uffff\1\35\1\34\1\37\1\40\1\41\1\42\1\43\31\uffff\1\2\1\5\12\uffff\1\6\1\uffff\1\12\2\uffff\1\33\1\uffff\1\26\1\uffff\1\1\5\uffff\1\7\1\uffff\1\14\2\uffff\1\32\1\20\1\31";
1434 static final String DFA12_specialS =
1435 "\1\1\32\uffff\1\2\1\0\142\uffff}>";
1436 static final String[] DFA12_transitionS = {
1437 "\11\37\2\36\2\37\1\36\22\37\1\36\1\10\1\33\4\37\1\34\1\21\1\22\1\4\1\27\1\17\1\37\1\13\1\35\12\32\1\23\1\24\1\37\1\3\1\37\1\11\1\37\32\31\1\15\1\37\1\16\1\30\1\31\1\37\1\26\1\31\1\12\1\31\1\14\1\6\10\31\1\20\1\2\1\31\1\1\1\25\1\5\1\7\5\31\uff85\37",
1438 "\1\40",
1439 "\1\42",
1440 "",
1441 "",
1442 "\1\45",
1443 "\1\46",
1444 "\1\47",
1445 "",
1446 "",
1447 "\1\52\2\uffff\1\53",
1448 "\1\54",
1449 "\1\57\5\uffff\1\56",
1450 "",
1451 "",
1452 "",
1453 "\1\63",
1454 "",
1455 "",
1456 "\1\67\2\uffff\1\66",
1457 "",
1458 "\1\72",
1459 "\1\73",
1460 "\1\74",
1461 "\32\41\4\uffff\1\41\1\uffff\32\41",
1462 "",
1463 "",
1464 "\0\77",
1465 "\0\77",
1466 "\1\100\4\uffff\1\101",
1467 "",
1468 "",
1469 "\1\103",
1470 "",
1471 "\1\104",
1472 "",
1473 "",
1474 "\1\105",
1475 "\1\106",
1476 "\1\107",
1477 "",
1478 "",
1479 "\1\110",
1480 "\1\111",
1481 "",
1482 "",
1483 "\1\112",
1484 "\1\113",
1485 "",
1486 "",
1487 "",
1488 "\1\114",
1489 "",
1490 "",
1491 "",
1492 "",
1493 "",
1494 "",
1495 "\1\115",
1496 "\1\116",
1497 "",
1498 "",
1499 "",
1500 "",
1501 "",
1502 "",
1503 "",
1504 "\1\117",
1505 "\1\120",
1506 "\1\121",
1507 "\1\122",
1508 "\1\123",
1509 "\1\124",
1510 "\1\125",
1511 "\1\126",
1512 "\1\127",
1513 "\1\130",
1514 "\1\131",
1515 "\1\132",
1516 "\1\133",
1517 "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1518 "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1519 "\1\136",
1520 "\1\137",
1521 "\1\140",
1522 "\1\141",
1523 "\1\142",
1524 "\1\143",
1525 "\1\144",
1526 "\1\145",
1527 "\1\146",
1528 "\1\147",
1529 "",
1530 "",
1531 "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1532 "\1\151",
1533 "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1534 "\1\153",
1535 "\1\154",
1536 "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1537 "\1\156",
1538 "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1539 "\1\160",
1540 "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1541 "",
1542 "\1\162",
1543 "",
1544 "\1\163",
1545 "\1\164",
1546 "",
1547 "\1\165",
1548 "",
1549 "\1\166",
1550 "",
1551 "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1552 "\1\170",
1553 "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1554 "\1\172",
1555 "\1\173",
1556 "",
1557 "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1558 "",
1559 "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1560 "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
1561 "",
1562 "",
1563 ""
1564 };
1565
1566 static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS);
1567 static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS);
1568 static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS);
1569 static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS);
1570 static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS);
1571 static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS);
1572 static final short[][] DFA12_transition;
1573
1574 static {
1575 int numStates = DFA12_transitionS.length;
1576 DFA12_transition = new short[numStates][];
1577 for (int i=0; i<numStates; i++) {
1578 DFA12_transition[i] = DFA.unpackEncodedString(DFA12_transitionS[i]);
1579 }
1580 }
1581
1582 class DFA12 extends DFA {
1583
1584 public DFA12(BaseRecognizer recognizer) {
1585 this.recognizer = recognizer;
1586 this.decisionNumber = 12;
1587 this.eot = DFA12_eot;
1588 this.eof = DFA12_eof;
1589 this.min = DFA12_min;
1590 this.max = DFA12_max;
1591 this.accept = DFA12_accept;
1592 this.special = DFA12_special;
1593 this.transition = DFA12_transition;
1594 }
1595 public String getDescription() {
1596 return "1:1: Tokens : ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
1597 }
1598 public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
1599 IntStream input = _input;
1600 int _s = s;
1601 switch ( s ) {
1602 case 0 :
1603 int LA12_28 = input.LA(1);
1604
1605 s = -1;
1606 if ( ((LA12_28>='\u0000' && LA12_28<='\uFFFF')) ) {s = 63;}
1607
1608 else s = 31;
1609
1610 if ( s>=0 ) return s;
1611 break;
1612 case 1 :
1613 int LA12_0 = input.LA(1);
1614
1615 s = -1;
1616 if ( (LA12_0=='r') ) {s = 1;}
1617
1618 else if ( (LA12_0=='p') ) {s = 2;}
1619
1620 else if ( (LA12_0=='=') ) {s = 3;}
1621
1622 else if ( (LA12_0=='*') ) {s = 4;}
1623
1624 else if ( (LA12_0=='t') ) {s = 5;}
1625
1626 else if ( (LA12_0=='f') ) {s = 6;}
1627
1628 else if ( (LA12_0=='u') ) {s = 7;}
1629
1630 else if ( (LA12_0=='!') ) {s = 8;}
1631
1632 else if ( (LA12_0=='?') ) {s = 9;}
1633
1634 else if ( (LA12_0=='c') ) {s = 10;}
1635
1636 else if ( (LA12_0=='.') ) {s = 11;}
1637
1638 else if ( (LA12_0=='e') ) {s = 12;}
1639
1640 else if ( (LA12_0=='[') ) {s = 13;}
1641
1642 else if ( (LA12_0==']') ) {s = 14;}
1643
1644 else if ( (LA12_0==',') ) {s = 15;}
1645
1646 else if ( (LA12_0=='o') ) {s = 16;}
1647
1648 else if ( (LA12_0=='(') ) {s = 17;}
1649
1650 else if ( (LA12_0==')') ) {s = 18;}
1651
1652 else if ( (LA12_0==':') ) {s = 19;}
1653
1654 else if ( (LA12_0==';') ) {s = 20;}
1655
1656 else if ( (LA12_0=='s') ) {s = 21;}
1657
1658 else if ( (LA12_0=='a') ) {s = 22;}
1659
1660 else if ( (LA12_0=='+') ) {s = 23;}
1661
1662 else if ( (LA12_0=='^') ) {s = 24;}
1663
1664 else if ( ((LA12_0>='A' && LA12_0<='Z')||LA12_0=='_'||LA12_0=='b'||LA12_0=='d'||(LA12_0>='g' && LA12_0<='n')||LA12_0=='q'||(LA12_0>='v' && LA12_0<='z')) ) {s = 25;}
1665
1666 else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 26;}
1667
1668 else if ( (LA12_0=='\"') ) {s = 27;}
1669
1670 else if ( (LA12_0=='\'') ) {s = 28;}
1671
1672 else if ( (LA12_0=='/') ) {s = 29;}
1673
1674 else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 30;}
1675
1676 else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||(LA12_0>='#' && LA12_0<='&')||LA12_0=='-'||LA12_0=='<'||LA12_0=='>'||LA12_0=='@'||LA12_0=='\\'||LA12_0=='`'||(LA12_0>='{' && LA12_0<='\uFFFF')) ) {s = 31;}
1677
1678 if ( s>=0 ) return s;
1679 break;
1680 case 2 :
1681 int LA12_27 = input.LA(1);
1682
1683 s = -1;
1684 if ( ((LA12_27>='\u0000' && LA12_27<='\uFFFF')) ) {s = 63;}
1685
1686 else s = 31;
1687
1688 if ( s>=0 ) return s;
1689 break;
1690 }
1691 NoViableAltException nvae =
1692 new NoViableAltException(getDescription(), 12, _s, input);
1693 error(nvae);
1694 throw nvae;
1695 }
1696 }
1697
1698
1699} \ No newline at end of file
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/InternalProblemParser.java 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/InternalProblemParser.java
new file mode 100644
index 00000000..1169b189
--- /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/InternalProblemParser.java
@@ -0,0 +1,12761 @@
1package org.eclipse.viatra.solver.language.ide.contentassist.antlr.internal;
2
3import java.io.InputStream;
4import org.eclipse.xtext.*;
5import org.eclipse.xtext.parser.*;
6import org.eclipse.xtext.parser.impl.*;
7import org.eclipse.emf.ecore.util.EcoreUtil;
8import org.eclipse.emf.ecore.EObject;
9import org.eclipse.xtext.parser.antlr.XtextTokenStream;
10import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
11import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
12import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.DFA;
13import org.eclipse.viatra.solver.language.services.ProblemGrammarAccess;
14
15
16
17import org.antlr.runtime.*;
18import java.util.Stack;
19import java.util.List;
20import java.util.ArrayList;
21
22@SuppressWarnings("all")
23public class InternalProblemParser extends AbstractInternalContentAssistParser {
24 public static final String[] tokenNames = new String[] {
25 "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_INT", "RULE_ID", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'refers'", "'pred'", "'='", "'*'", "'true'", "'false'", "'unknown'", "'!'", "'?'", "'class'", "'.'", "'extends'", "'['", "']'", "','", "'opposite'", "'('", "')'", "':='", "';'", "':'", "'scope'", "'..'", "'::'", "'abstract'", "'contains'", "'error'", "'+'", "'+='"
26 };
27 public static final int RULE_STRING=6;
28 public static final int RULE_SL_COMMENT=8;
29 public static final int T__19=19;
30 public static final int T__15=15;
31 public static final int T__37=37;
32 public static final int T__16=16;
33 public static final int T__38=38;
34 public static final int T__17=17;
35 public static final int T__39=39;
36 public static final int T__18=18;
37 public static final int T__11=11;
38 public static final int T__33=33;
39 public static final int T__12=12;
40 public static final int T__34=34;
41 public static final int T__13=13;
42 public static final int T__35=35;
43 public static final int T__14=14;
44 public static final int T__36=36;
45 public static final int EOF=-1;
46 public static final int T__30=30;
47 public static final int T__31=31;
48 public static final int T__32=32;
49 public static final int RULE_ID=5;
50 public static final int RULE_WS=9;
51 public static final int RULE_ANY_OTHER=10;
52 public static final int T__26=26;
53 public static final int T__27=27;
54 public static final int T__28=28;
55 public static final int RULE_INT=4;
56 public static final int T__29=29;
57 public static final int T__22=22;
58 public static final int RULE_ML_COMMENT=7;
59 public static final int T__23=23;
60 public static final int T__24=24;
61 public static final int T__25=25;
62 public static final int T__20=20;
63 public static final int T__21=21;
64
65 // delegates
66 // delegators
67
68
69 public InternalProblemParser(TokenStream input) {
70 this(input, new RecognizerSharedState());
71 }
72 public InternalProblemParser(TokenStream input, RecognizerSharedState state) {
73 super(input, state);
74
75 }
76
77
78 public String[] getTokenNames() { return InternalProblemParser.tokenNames; }
79 public String getGrammarFileName() { return "InternalProblem.g"; }
80
81
82 private ProblemGrammarAccess grammarAccess;
83
84 public void setGrammarAccess(ProblemGrammarAccess grammarAccess) {
85 this.grammarAccess = grammarAccess;
86 }
87
88 @Override
89 protected Grammar getGrammar() {
90 return grammarAccess.getGrammar();
91 }
92
93 @Override
94 protected String getValueForTokenName(String tokenName) {
95 return tokenName;
96 }
97
98
99
100 // $ANTLR start "entryRuleProblem"
101 // InternalProblem.g:53:1: entryRuleProblem : ruleProblem EOF ;
102 public final void entryRuleProblem() throws RecognitionException {
103 try {
104 // InternalProblem.g:54:1: ( ruleProblem EOF )
105 // InternalProblem.g:55:1: ruleProblem EOF
106 {
107 before(grammarAccess.getProblemRule());
108 pushFollow(FOLLOW_1);
109 ruleProblem();
110
111 state._fsp--;
112
113 after(grammarAccess.getProblemRule());
114 match(input,EOF,FOLLOW_2);
115
116 }
117
118 }
119 catch (RecognitionException re) {
120 reportError(re);
121 recover(input,re);
122 }
123 finally {
124 }
125 return ;
126 }
127 // $ANTLR end "entryRuleProblem"
128
129
130 // $ANTLR start "ruleProblem"
131 // InternalProblem.g:62:1: ruleProblem : ( ( rule__Problem__StatementsAssignment )* ) ;
132 public final void ruleProblem() throws RecognitionException {
133
134 int stackSize = keepStackSize();
135
136 try {
137 // InternalProblem.g:66:2: ( ( ( rule__Problem__StatementsAssignment )* ) )
138 // InternalProblem.g:67:2: ( ( rule__Problem__StatementsAssignment )* )
139 {
140 // InternalProblem.g:67:2: ( ( rule__Problem__StatementsAssignment )* )
141 // InternalProblem.g:68:3: ( rule__Problem__StatementsAssignment )*
142 {
143 before(grammarAccess.getProblemAccess().getStatementsAssignment());
144 // InternalProblem.g:69:3: ( rule__Problem__StatementsAssignment )*
145 loop1:
146 do {
147 int alt1=2;
148 int LA1_0 = input.LA(1);
149
150 if ( (LA1_0==RULE_ID||LA1_0==12||(LA1_0>=18 && LA1_0<=20)||LA1_0==32||LA1_0==35||LA1_0==37) ) {
151 alt1=1;
152 }
153
154
155 switch (alt1) {
156 case 1 :
157 // InternalProblem.g:69:4: rule__Problem__StatementsAssignment
158 {
159 pushFollow(FOLLOW_3);
160 rule__Problem__StatementsAssignment();
161
162 state._fsp--;
163
164
165 }
166 break;
167
168 default :
169 break loop1;
170 }
171 } while (true);
172
173 after(grammarAccess.getProblemAccess().getStatementsAssignment());
174
175 }
176
177
178 }
179
180 }
181 catch (RecognitionException re) {
182 reportError(re);
183 recover(input,re);
184 }
185 finally {
186
187 restoreStackSize(stackSize);
188
189 }
190 return ;
191 }
192 // $ANTLR end "ruleProblem"
193
194
195 // $ANTLR start "entryRuleStatement"
196 // InternalProblem.g:78:1: entryRuleStatement : ruleStatement EOF ;
197 public final void entryRuleStatement() throws RecognitionException {
198 try {
199 // InternalProblem.g:79:1: ( ruleStatement EOF )
200 // InternalProblem.g:80:1: ruleStatement EOF
201 {
202 before(grammarAccess.getStatementRule());
203 pushFollow(FOLLOW_1);
204 ruleStatement();
205
206 state._fsp--;
207
208 after(grammarAccess.getStatementRule());
209 match(input,EOF,FOLLOW_2);
210
211 }
212
213 }
214 catch (RecognitionException re) {
215 reportError(re);
216 recover(input,re);
217 }
218 finally {
219 }
220 return ;
221 }
222 // $ANTLR end "entryRuleStatement"
223
224
225 // $ANTLR start "ruleStatement"
226 // InternalProblem.g:87:1: ruleStatement : ( ( rule__Statement__Alternatives ) ) ;
227 public final void ruleStatement() throws RecognitionException {
228
229 int stackSize = keepStackSize();
230
231 try {
232 // InternalProblem.g:91:2: ( ( ( rule__Statement__Alternatives ) ) )
233 // InternalProblem.g:92:2: ( ( rule__Statement__Alternatives ) )
234 {
235 // InternalProblem.g:92:2: ( ( rule__Statement__Alternatives ) )
236 // InternalProblem.g:93:3: ( rule__Statement__Alternatives )
237 {
238 before(grammarAccess.getStatementAccess().getAlternatives());
239 // InternalProblem.g:94:3: ( rule__Statement__Alternatives )
240 // InternalProblem.g:94:4: rule__Statement__Alternatives
241 {
242 pushFollow(FOLLOW_2);
243 rule__Statement__Alternatives();
244
245 state._fsp--;
246
247
248 }
249
250 after(grammarAccess.getStatementAccess().getAlternatives());
251
252 }
253
254
255 }
256
257 }
258 catch (RecognitionException re) {
259 reportError(re);
260 recover(input,re);
261 }
262 finally {
263
264 restoreStackSize(stackSize);
265
266 }
267 return ;
268 }
269 // $ANTLR end "ruleStatement"
270
271
272 // $ANTLR start "entryRuleClassDeclaration"
273 // InternalProblem.g:103:1: entryRuleClassDeclaration : ruleClassDeclaration EOF ;
274 public final void entryRuleClassDeclaration() throws RecognitionException {
275 try {
276 // InternalProblem.g:104:1: ( ruleClassDeclaration EOF )
277 // InternalProblem.g:105:1: ruleClassDeclaration EOF
278 {
279 before(grammarAccess.getClassDeclarationRule());
280 pushFollow(FOLLOW_1);
281 ruleClassDeclaration();
282
283 state._fsp--;
284
285 after(grammarAccess.getClassDeclarationRule());
286 match(input,EOF,FOLLOW_2);
287
288 }
289
290 }
291 catch (RecognitionException re) {
292 reportError(re);
293 recover(input,re);
294 }
295 finally {
296 }
297 return ;
298 }
299 // $ANTLR end "entryRuleClassDeclaration"
300
301
302 // $ANTLR start "ruleClassDeclaration"
303 // InternalProblem.g:112:1: ruleClassDeclaration : ( ( rule__ClassDeclaration__Group__0 ) ) ;
304 public final void ruleClassDeclaration() throws RecognitionException {
305
306 int stackSize = keepStackSize();
307
308 try {
309 // InternalProblem.g:116:2: ( ( ( rule__ClassDeclaration__Group__0 ) ) )
310 // InternalProblem.g:117:2: ( ( rule__ClassDeclaration__Group__0 ) )
311 {
312 // InternalProblem.g:117:2: ( ( rule__ClassDeclaration__Group__0 ) )
313 // InternalProblem.g:118:3: ( rule__ClassDeclaration__Group__0 )
314 {
315 before(grammarAccess.getClassDeclarationAccess().getGroup());
316 // InternalProblem.g:119:3: ( rule__ClassDeclaration__Group__0 )
317 // InternalProblem.g:119:4: rule__ClassDeclaration__Group__0
318 {
319 pushFollow(FOLLOW_2);
320 rule__ClassDeclaration__Group__0();
321
322 state._fsp--;
323
324
325 }
326
327 after(grammarAccess.getClassDeclarationAccess().getGroup());
328
329 }
330
331
332 }
333
334 }
335 catch (RecognitionException re) {
336 reportError(re);
337 recover(input,re);
338 }
339 finally {
340
341 restoreStackSize(stackSize);
342
343 }
344 return ;
345 }
346 // $ANTLR end "ruleClassDeclaration"
347
348
349 // $ANTLR start "entryRuleReferenceDeclaration"
350 // InternalProblem.g:128:1: entryRuleReferenceDeclaration : ruleReferenceDeclaration EOF ;
351 public final void entryRuleReferenceDeclaration() throws RecognitionException {
352 try {
353 // InternalProblem.g:129:1: ( ruleReferenceDeclaration EOF )
354 // InternalProblem.g:130:1: ruleReferenceDeclaration EOF
355 {
356 before(grammarAccess.getReferenceDeclarationRule());
357 pushFollow(FOLLOW_1);
358 ruleReferenceDeclaration();
359
360 state._fsp--;
361
362 after(grammarAccess.getReferenceDeclarationRule());
363 match(input,EOF,FOLLOW_2);
364
365 }
366
367 }
368 catch (RecognitionException re) {
369 reportError(re);
370 recover(input,re);
371 }
372 finally {
373 }
374 return ;
375 }
376 // $ANTLR end "entryRuleReferenceDeclaration"
377
378
379 // $ANTLR start "ruleReferenceDeclaration"
380 // InternalProblem.g:137:1: ruleReferenceDeclaration : ( ( rule__ReferenceDeclaration__Group__0 ) ) ;
381 public final void ruleReferenceDeclaration() throws RecognitionException {
382
383 int stackSize = keepStackSize();
384
385 try {
386 // InternalProblem.g:141:2: ( ( ( rule__ReferenceDeclaration__Group__0 ) ) )
387 // InternalProblem.g:142:2: ( ( rule__ReferenceDeclaration__Group__0 ) )
388 {
389 // InternalProblem.g:142:2: ( ( rule__ReferenceDeclaration__Group__0 ) )
390 // InternalProblem.g:143:3: ( rule__ReferenceDeclaration__Group__0 )
391 {
392 before(grammarAccess.getReferenceDeclarationAccess().getGroup());
393 // InternalProblem.g:144:3: ( rule__ReferenceDeclaration__Group__0 )
394 // InternalProblem.g:144:4: rule__ReferenceDeclaration__Group__0
395 {
396 pushFollow(FOLLOW_2);
397 rule__ReferenceDeclaration__Group__0();
398
399 state._fsp--;
400
401
402 }
403
404 after(grammarAccess.getReferenceDeclarationAccess().getGroup());
405
406 }
407
408
409 }
410
411 }
412 catch (RecognitionException re) {
413 reportError(re);
414 recover(input,re);
415 }
416 finally {
417
418 restoreStackSize(stackSize);
419
420 }
421 return ;
422 }
423 // $ANTLR end "ruleReferenceDeclaration"
424
425
426 // $ANTLR start "entryRulePredicateDefinition"
427 // InternalProblem.g:153:1: entryRulePredicateDefinition : rulePredicateDefinition EOF ;
428 public final void entryRulePredicateDefinition() throws RecognitionException {
429 try {
430 // InternalProblem.g:154:1: ( rulePredicateDefinition EOF )
431 // InternalProblem.g:155:1: rulePredicateDefinition EOF
432 {
433 before(grammarAccess.getPredicateDefinitionRule());
434 pushFollow(FOLLOW_1);
435 rulePredicateDefinition();
436
437 state._fsp--;
438
439 after(grammarAccess.getPredicateDefinitionRule());
440 match(input,EOF,FOLLOW_2);
441
442 }
443
444 }
445 catch (RecognitionException re) {
446 reportError(re);
447 recover(input,re);
448 }
449 finally {
450 }
451 return ;
452 }
453 // $ANTLR end "entryRulePredicateDefinition"
454
455
456 // $ANTLR start "rulePredicateDefinition"
457 // InternalProblem.g:162:1: rulePredicateDefinition : ( ( rule__PredicateDefinition__Group__0 ) ) ;
458 public final void rulePredicateDefinition() throws RecognitionException {
459
460 int stackSize = keepStackSize();
461
462 try {
463 // InternalProblem.g:166:2: ( ( ( rule__PredicateDefinition__Group__0 ) ) )
464 // InternalProblem.g:167:2: ( ( rule__PredicateDefinition__Group__0 ) )
465 {
466 // InternalProblem.g:167:2: ( ( rule__PredicateDefinition__Group__0 ) )
467 // InternalProblem.g:168:3: ( rule__PredicateDefinition__Group__0 )
468 {
469 before(grammarAccess.getPredicateDefinitionAccess().getGroup());
470 // InternalProblem.g:169:3: ( rule__PredicateDefinition__Group__0 )
471 // InternalProblem.g:169:4: rule__PredicateDefinition__Group__0
472 {
473 pushFollow(FOLLOW_2);
474 rule__PredicateDefinition__Group__0();
475
476 state._fsp--;
477
478
479 }
480
481 after(grammarAccess.getPredicateDefinitionAccess().getGroup());
482
483 }
484
485
486 }
487
488 }
489 catch (RecognitionException re) {
490 reportError(re);
491 recover(input,re);
492 }
493 finally {
494
495 restoreStackSize(stackSize);
496
497 }
498 return ;
499 }
500 // $ANTLR end "rulePredicateDefinition"
501
502
503 // $ANTLR start "entryRuleParameter"
504 // InternalProblem.g:178:1: entryRuleParameter : ruleParameter EOF ;
505 public final void entryRuleParameter() throws RecognitionException {
506 try {
507 // InternalProblem.g:179:1: ( ruleParameter EOF )
508 // InternalProblem.g:180:1: ruleParameter EOF
509 {
510 before(grammarAccess.getParameterRule());
511 pushFollow(FOLLOW_1);
512 ruleParameter();
513
514 state._fsp--;
515
516 after(grammarAccess.getParameterRule());
517 match(input,EOF,FOLLOW_2);
518
519 }
520
521 }
522 catch (RecognitionException re) {
523 reportError(re);
524 recover(input,re);
525 }
526 finally {
527 }
528 return ;
529 }
530 // $ANTLR end "entryRuleParameter"
531
532
533 // $ANTLR start "ruleParameter"
534 // InternalProblem.g:187:1: ruleParameter : ( ( rule__Parameter__Group__0 ) ) ;
535 public final void ruleParameter() throws RecognitionException {
536
537 int stackSize = keepStackSize();
538
539 try {
540 // InternalProblem.g:191:2: ( ( ( rule__Parameter__Group__0 ) ) )
541 // InternalProblem.g:192:2: ( ( rule__Parameter__Group__0 ) )
542 {
543 // InternalProblem.g:192:2: ( ( rule__Parameter__Group__0 ) )
544 // InternalProblem.g:193:3: ( rule__Parameter__Group__0 )
545 {
546 before(grammarAccess.getParameterAccess().getGroup());
547 // InternalProblem.g:194:3: ( rule__Parameter__Group__0 )
548 // InternalProblem.g:194:4: rule__Parameter__Group__0
549 {
550 pushFollow(FOLLOW_2);
551 rule__Parameter__Group__0();
552
553 state._fsp--;
554
555
556 }
557
558 after(grammarAccess.getParameterAccess().getGroup());
559
560 }
561
562
563 }
564
565 }
566 catch (RecognitionException re) {
567 reportError(re);
568 recover(input,re);
569 }
570 finally {
571
572 restoreStackSize(stackSize);
573
574 }
575 return ;
576 }
577 // $ANTLR end "ruleParameter"
578
579
580 // $ANTLR start "entryRuleConjunction"
581 // InternalProblem.g:203:1: entryRuleConjunction : ruleConjunction EOF ;
582 public final void entryRuleConjunction() throws RecognitionException {
583 try {
584 // InternalProblem.g:204:1: ( ruleConjunction EOF )
585 // InternalProblem.g:205:1: ruleConjunction EOF
586 {
587 before(grammarAccess.getConjunctionRule());
588 pushFollow(FOLLOW_1);
589 ruleConjunction();
590
591 state._fsp--;
592
593 after(grammarAccess.getConjunctionRule());
594 match(input,EOF,FOLLOW_2);
595
596 }
597
598 }
599 catch (RecognitionException re) {
600 reportError(re);
601 recover(input,re);
602 }
603 finally {
604 }
605 return ;
606 }
607 // $ANTLR end "entryRuleConjunction"
608
609
610 // $ANTLR start "ruleConjunction"
611 // InternalProblem.g:212:1: ruleConjunction : ( ( rule__Conjunction__Group__0 ) ) ;
612 public final void ruleConjunction() throws RecognitionException {
613
614 int stackSize = keepStackSize();
615
616 try {
617 // InternalProblem.g:216:2: ( ( ( rule__Conjunction__Group__0 ) ) )
618 // InternalProblem.g:217:2: ( ( rule__Conjunction__Group__0 ) )
619 {
620 // InternalProblem.g:217:2: ( ( rule__Conjunction__Group__0 ) )
621 // InternalProblem.g:218:3: ( rule__Conjunction__Group__0 )
622 {
623 before(grammarAccess.getConjunctionAccess().getGroup());
624 // InternalProblem.g:219:3: ( rule__Conjunction__Group__0 )
625 // InternalProblem.g:219:4: rule__Conjunction__Group__0
626 {
627 pushFollow(FOLLOW_2);
628 rule__Conjunction__Group__0();
629
630 state._fsp--;
631
632
633 }
634
635 after(grammarAccess.getConjunctionAccess().getGroup());
636
637 }
638
639
640 }
641
642 }
643 catch (RecognitionException re) {
644 reportError(re);
645 recover(input,re);
646 }
647 finally {
648
649 restoreStackSize(stackSize);
650
651 }
652 return ;
653 }
654 // $ANTLR end "ruleConjunction"
655
656
657 // $ANTLR start "entryRuleLiteral"
658 // InternalProblem.g:228:1: entryRuleLiteral : ruleLiteral EOF ;
659 public final void entryRuleLiteral() throws RecognitionException {
660 try {
661 // InternalProblem.g:229:1: ( ruleLiteral EOF )
662 // InternalProblem.g:230:1: ruleLiteral EOF
663 {
664 before(grammarAccess.getLiteralRule());
665 pushFollow(FOLLOW_1);
666 ruleLiteral();
667
668 state._fsp--;
669
670 after(grammarAccess.getLiteralRule());
671 match(input,EOF,FOLLOW_2);
672
673 }
674
675 }
676 catch (RecognitionException re) {
677 reportError(re);
678 recover(input,re);
679 }
680 finally {
681 }
682 return ;
683 }
684 // $ANTLR end "entryRuleLiteral"
685
686
687 // $ANTLR start "ruleLiteral"
688 // InternalProblem.g:237:1: ruleLiteral : ( ( rule__Literal__Alternatives ) ) ;
689 public final void ruleLiteral() throws RecognitionException {
690
691 int stackSize = keepStackSize();
692
693 try {
694 // InternalProblem.g:241:2: ( ( ( rule__Literal__Alternatives ) ) )
695 // InternalProblem.g:242:2: ( ( rule__Literal__Alternatives ) )
696 {
697 // InternalProblem.g:242:2: ( ( rule__Literal__Alternatives ) )
698 // InternalProblem.g:243:3: ( rule__Literal__Alternatives )
699 {
700 before(grammarAccess.getLiteralAccess().getAlternatives());
701 // InternalProblem.g:244:3: ( rule__Literal__Alternatives )
702 // InternalProblem.g:244:4: rule__Literal__Alternatives
703 {
704 pushFollow(FOLLOW_2);
705 rule__Literal__Alternatives();
706
707 state._fsp--;
708
709
710 }
711
712 after(grammarAccess.getLiteralAccess().getAlternatives());
713
714 }
715
716
717 }
718
719 }
720 catch (RecognitionException re) {
721 reportError(re);
722 recover(input,re);
723 }
724 finally {
725
726 restoreStackSize(stackSize);
727
728 }
729 return ;
730 }
731 // $ANTLR end "ruleLiteral"
732
733
734 // $ANTLR start "entryRuleNegativeLiteral"
735 // InternalProblem.g:253:1: entryRuleNegativeLiteral : ruleNegativeLiteral EOF ;
736 public final void entryRuleNegativeLiteral() throws RecognitionException {
737 try {
738 // InternalProblem.g:254:1: ( ruleNegativeLiteral EOF )
739 // InternalProblem.g:255:1: ruleNegativeLiteral EOF
740 {
741 before(grammarAccess.getNegativeLiteralRule());
742 pushFollow(FOLLOW_1);
743 ruleNegativeLiteral();
744
745 state._fsp--;
746
747 after(grammarAccess.getNegativeLiteralRule());
748 match(input,EOF,FOLLOW_2);
749
750 }
751
752 }
753 catch (RecognitionException re) {
754 reportError(re);
755 recover(input,re);
756 }
757 finally {
758 }
759 return ;
760 }
761 // $ANTLR end "entryRuleNegativeLiteral"
762
763
764 // $ANTLR start "ruleNegativeLiteral"
765 // InternalProblem.g:262:1: ruleNegativeLiteral : ( ( rule__NegativeLiteral__Group__0 ) ) ;
766 public final void ruleNegativeLiteral() throws RecognitionException {
767
768 int stackSize = keepStackSize();
769
770 try {
771 // InternalProblem.g:266:2: ( ( ( rule__NegativeLiteral__Group__0 ) ) )
772 // InternalProblem.g:267:2: ( ( rule__NegativeLiteral__Group__0 ) )
773 {
774 // InternalProblem.g:267:2: ( ( rule__NegativeLiteral__Group__0 ) )
775 // InternalProblem.g:268:3: ( rule__NegativeLiteral__Group__0 )
776 {
777 before(grammarAccess.getNegativeLiteralAccess().getGroup());
778 // InternalProblem.g:269:3: ( rule__NegativeLiteral__Group__0 )
779 // InternalProblem.g:269:4: rule__NegativeLiteral__Group__0
780 {
781 pushFollow(FOLLOW_2);
782 rule__NegativeLiteral__Group__0();
783
784 state._fsp--;
785
786
787 }
788
789 after(grammarAccess.getNegativeLiteralAccess().getGroup());
790
791 }
792
793
794 }
795
796 }
797 catch (RecognitionException re) {
798 reportError(re);
799 recover(input,re);
800 }
801 finally {
802
803 restoreStackSize(stackSize);
804
805 }
806 return ;
807 }
808 // $ANTLR end "ruleNegativeLiteral"
809
810
811 // $ANTLR start "entryRuleAtom"
812 // InternalProblem.g:278:1: entryRuleAtom : ruleAtom EOF ;
813 public final void entryRuleAtom() throws RecognitionException {
814 try {
815 // InternalProblem.g:279:1: ( ruleAtom EOF )
816 // InternalProblem.g:280:1: ruleAtom EOF
817 {
818 before(grammarAccess.getAtomRule());
819 pushFollow(FOLLOW_1);
820 ruleAtom();
821
822 state._fsp--;
823
824 after(grammarAccess.getAtomRule());
825 match(input,EOF,FOLLOW_2);
826
827 }
828
829 }
830 catch (RecognitionException re) {
831 reportError(re);
832 recover(input,re);
833 }
834 finally {
835 }
836 return ;
837 }
838 // $ANTLR end "entryRuleAtom"
839
840
841 // $ANTLR start "ruleAtom"
842 // InternalProblem.g:287:1: ruleAtom : ( ( rule__Atom__Group__0 ) ) ;
843 public final void ruleAtom() throws RecognitionException {
844
845 int stackSize = keepStackSize();
846
847 try {
848 // InternalProblem.g:291:2: ( ( ( rule__Atom__Group__0 ) ) )
849 // InternalProblem.g:292:2: ( ( rule__Atom__Group__0 ) )
850 {
851 // InternalProblem.g:292:2: ( ( rule__Atom__Group__0 ) )
852 // InternalProblem.g:293:3: ( rule__Atom__Group__0 )
853 {
854 before(grammarAccess.getAtomAccess().getGroup());
855 // InternalProblem.g:294:3: ( rule__Atom__Group__0 )
856 // InternalProblem.g:294:4: rule__Atom__Group__0
857 {
858 pushFollow(FOLLOW_2);
859 rule__Atom__Group__0();
860
861 state._fsp--;
862
863
864 }
865
866 after(grammarAccess.getAtomAccess().getGroup());
867
868 }
869
870
871 }
872
873 }
874 catch (RecognitionException re) {
875 reportError(re);
876 recover(input,re);
877 }
878 finally {
879
880 restoreStackSize(stackSize);
881
882 }
883 return ;
884 }
885 // $ANTLR end "ruleAtom"
886
887
888 // $ANTLR start "entryRuleAssertion"
889 // InternalProblem.g:303:1: entryRuleAssertion : ruleAssertion EOF ;
890 public final void entryRuleAssertion() throws RecognitionException {
891 try {
892 // InternalProblem.g:304:1: ( ruleAssertion EOF )
893 // InternalProblem.g:305:1: ruleAssertion EOF
894 {
895 before(grammarAccess.getAssertionRule());
896 pushFollow(FOLLOW_1);
897 ruleAssertion();
898
899 state._fsp--;
900
901 after(grammarAccess.getAssertionRule());
902 match(input,EOF,FOLLOW_2);
903
904 }
905
906 }
907 catch (RecognitionException re) {
908 reportError(re);
909 recover(input,re);
910 }
911 finally {
912 }
913 return ;
914 }
915 // $ANTLR end "entryRuleAssertion"
916
917
918 // $ANTLR start "ruleAssertion"
919 // InternalProblem.g:312:1: ruleAssertion : ( ( rule__Assertion__Group__0 ) ) ;
920 public final void ruleAssertion() throws RecognitionException {
921
922 int stackSize = keepStackSize();
923
924 try {
925 // InternalProblem.g:316:2: ( ( ( rule__Assertion__Group__0 ) ) )
926 // InternalProblem.g:317:2: ( ( rule__Assertion__Group__0 ) )
927 {
928 // InternalProblem.g:317:2: ( ( rule__Assertion__Group__0 ) )
929 // InternalProblem.g:318:3: ( rule__Assertion__Group__0 )
930 {
931 before(grammarAccess.getAssertionAccess().getGroup());
932 // InternalProblem.g:319:3: ( rule__Assertion__Group__0 )
933 // InternalProblem.g:319:4: rule__Assertion__Group__0
934 {
935 pushFollow(FOLLOW_2);
936 rule__Assertion__Group__0();
937
938 state._fsp--;
939
940
941 }
942
943 after(grammarAccess.getAssertionAccess().getGroup());
944
945 }
946
947
948 }
949
950 }
951 catch (RecognitionException re) {
952 reportError(re);
953 recover(input,re);
954 }
955 finally {
956
957 restoreStackSize(stackSize);
958
959 }
960 return ;
961 }
962 // $ANTLR end "ruleAssertion"
963
964
965 // $ANTLR start "entryRuleScopeDeclaration"
966 // InternalProblem.g:328:1: entryRuleScopeDeclaration : ruleScopeDeclaration EOF ;
967 public final void entryRuleScopeDeclaration() throws RecognitionException {
968 try {
969 // InternalProblem.g:329:1: ( ruleScopeDeclaration EOF )
970 // InternalProblem.g:330:1: ruleScopeDeclaration EOF
971 {
972 before(grammarAccess.getScopeDeclarationRule());
973 pushFollow(FOLLOW_1);
974 ruleScopeDeclaration();
975
976 state._fsp--;
977
978 after(grammarAccess.getScopeDeclarationRule());
979 match(input,EOF,FOLLOW_2);
980
981 }
982
983 }
984 catch (RecognitionException re) {
985 reportError(re);
986 recover(input,re);
987 }
988 finally {
989 }
990 return ;
991 }
992 // $ANTLR end "entryRuleScopeDeclaration"
993
994
995 // $ANTLR start "ruleScopeDeclaration"
996 // InternalProblem.g:337:1: ruleScopeDeclaration : ( ( rule__ScopeDeclaration__Group__0 ) ) ;
997 public final void ruleScopeDeclaration() throws RecognitionException {
998
999 int stackSize = keepStackSize();
1000
1001 try {
1002 // InternalProblem.g:341:2: ( ( ( rule__ScopeDeclaration__Group__0 ) ) )
1003 // InternalProblem.g:342:2: ( ( rule__ScopeDeclaration__Group__0 ) )
1004 {
1005 // InternalProblem.g:342:2: ( ( rule__ScopeDeclaration__Group__0 ) )
1006 // InternalProblem.g:343:3: ( rule__ScopeDeclaration__Group__0 )
1007 {
1008 before(grammarAccess.getScopeDeclarationAccess().getGroup());
1009 // InternalProblem.g:344:3: ( rule__ScopeDeclaration__Group__0 )
1010 // InternalProblem.g:344:4: rule__ScopeDeclaration__Group__0
1011 {
1012 pushFollow(FOLLOW_2);
1013 rule__ScopeDeclaration__Group__0();
1014
1015 state._fsp--;
1016
1017
1018 }
1019
1020 after(grammarAccess.getScopeDeclarationAccess().getGroup());
1021
1022 }
1023
1024
1025 }
1026
1027 }
1028 catch (RecognitionException re) {
1029 reportError(re);
1030 recover(input,re);
1031 }
1032 finally {
1033
1034 restoreStackSize(stackSize);
1035
1036 }
1037 return ;
1038 }
1039 // $ANTLR end "ruleScopeDeclaration"
1040
1041
1042 // $ANTLR start "entryRuleTypeScope"
1043 // InternalProblem.g:353:1: entryRuleTypeScope : ruleTypeScope EOF ;
1044 public final void entryRuleTypeScope() throws RecognitionException {
1045 try {
1046 // InternalProblem.g:354:1: ( ruleTypeScope EOF )
1047 // InternalProblem.g:355:1: ruleTypeScope EOF
1048 {
1049 before(grammarAccess.getTypeScopeRule());
1050 pushFollow(FOLLOW_1);
1051 ruleTypeScope();
1052
1053 state._fsp--;
1054
1055 after(grammarAccess.getTypeScopeRule());
1056 match(input,EOF,FOLLOW_2);
1057
1058 }
1059
1060 }
1061 catch (RecognitionException re) {
1062 reportError(re);
1063 recover(input,re);
1064 }
1065 finally {
1066 }
1067 return ;
1068 }
1069 // $ANTLR end "entryRuleTypeScope"
1070
1071
1072 // $ANTLR start "ruleTypeScope"
1073 // InternalProblem.g:362:1: ruleTypeScope : ( ( rule__TypeScope__Group__0 ) ) ;
1074 public final void ruleTypeScope() throws RecognitionException {
1075
1076 int stackSize = keepStackSize();
1077
1078 try {
1079 // InternalProblem.g:366:2: ( ( ( rule__TypeScope__Group__0 ) ) )
1080 // InternalProblem.g:367:2: ( ( rule__TypeScope__Group__0 ) )
1081 {
1082 // InternalProblem.g:367:2: ( ( rule__TypeScope__Group__0 ) )
1083 // InternalProblem.g:368:3: ( rule__TypeScope__Group__0 )
1084 {
1085 before(grammarAccess.getTypeScopeAccess().getGroup());
1086 // InternalProblem.g:369:3: ( rule__TypeScope__Group__0 )
1087 // InternalProblem.g:369:4: rule__TypeScope__Group__0
1088 {
1089 pushFollow(FOLLOW_2);
1090 rule__TypeScope__Group__0();
1091
1092 state._fsp--;
1093
1094
1095 }
1096
1097 after(grammarAccess.getTypeScopeAccess().getGroup());
1098
1099 }
1100
1101
1102 }
1103
1104 }
1105 catch (RecognitionException re) {
1106 reportError(re);
1107 recover(input,re);
1108 }
1109 finally {
1110
1111 restoreStackSize(stackSize);
1112
1113 }
1114 return ;
1115 }
1116 // $ANTLR end "ruleTypeScope"
1117
1118
1119 // $ANTLR start "entryRuleMultiplicity"
1120 // InternalProblem.g:378:1: entryRuleMultiplicity : ruleMultiplicity EOF ;
1121 public final void entryRuleMultiplicity() throws RecognitionException {
1122 try {
1123 // InternalProblem.g:379:1: ( ruleMultiplicity EOF )
1124 // InternalProblem.g:380:1: ruleMultiplicity EOF
1125 {
1126 before(grammarAccess.getMultiplicityRule());
1127 pushFollow(FOLLOW_1);
1128 ruleMultiplicity();
1129
1130 state._fsp--;
1131
1132 after(grammarAccess.getMultiplicityRule());
1133 match(input,EOF,FOLLOW_2);
1134
1135 }
1136
1137 }
1138 catch (RecognitionException re) {
1139 reportError(re);
1140 recover(input,re);
1141 }
1142 finally {
1143 }
1144 return ;
1145 }
1146 // $ANTLR end "entryRuleMultiplicity"
1147
1148
1149 // $ANTLR start "ruleMultiplicity"
1150 // InternalProblem.g:387:1: ruleMultiplicity : ( ( rule__Multiplicity__Alternatives ) ) ;
1151 public final void ruleMultiplicity() throws RecognitionException {
1152
1153 int stackSize = keepStackSize();
1154
1155 try {
1156 // InternalProblem.g:391:2: ( ( ( rule__Multiplicity__Alternatives ) ) )
1157 // InternalProblem.g:392:2: ( ( rule__Multiplicity__Alternatives ) )
1158 {
1159 // InternalProblem.g:392:2: ( ( rule__Multiplicity__Alternatives ) )
1160 // InternalProblem.g:393:3: ( rule__Multiplicity__Alternatives )
1161 {
1162 before(grammarAccess.getMultiplicityAccess().getAlternatives());
1163 // InternalProblem.g:394:3: ( rule__Multiplicity__Alternatives )
1164 // InternalProblem.g:394:4: rule__Multiplicity__Alternatives
1165 {
1166 pushFollow(FOLLOW_2);
1167 rule__Multiplicity__Alternatives();
1168
1169 state._fsp--;
1170
1171
1172 }
1173
1174 after(grammarAccess.getMultiplicityAccess().getAlternatives());
1175
1176 }
1177
1178
1179 }
1180
1181 }
1182 catch (RecognitionException re) {
1183 reportError(re);
1184 recover(input,re);
1185 }
1186 finally {
1187
1188 restoreStackSize(stackSize);
1189
1190 }
1191 return ;
1192 }
1193 // $ANTLR end "ruleMultiplicity"
1194
1195
1196 // $ANTLR start "entryRuleRangeMultiplicity"
1197 // InternalProblem.g:403:1: entryRuleRangeMultiplicity : ruleRangeMultiplicity EOF ;
1198 public final void entryRuleRangeMultiplicity() throws RecognitionException {
1199 try {
1200 // InternalProblem.g:404:1: ( ruleRangeMultiplicity EOF )
1201 // InternalProblem.g:405:1: ruleRangeMultiplicity EOF
1202 {
1203 before(grammarAccess.getRangeMultiplicityRule());
1204 pushFollow(FOLLOW_1);
1205 ruleRangeMultiplicity();
1206
1207 state._fsp--;
1208
1209 after(grammarAccess.getRangeMultiplicityRule());
1210 match(input,EOF,FOLLOW_2);
1211
1212 }
1213
1214 }
1215 catch (RecognitionException re) {
1216 reportError(re);
1217 recover(input,re);
1218 }
1219 finally {
1220 }
1221 return ;
1222 }
1223 // $ANTLR end "entryRuleRangeMultiplicity"
1224
1225
1226 // $ANTLR start "ruleRangeMultiplicity"
1227 // InternalProblem.g:412:1: ruleRangeMultiplicity : ( ( rule__RangeMultiplicity__Group__0 ) ) ;
1228 public final void ruleRangeMultiplicity() throws RecognitionException {
1229
1230 int stackSize = keepStackSize();
1231
1232 try {
1233 // InternalProblem.g:416:2: ( ( ( rule__RangeMultiplicity__Group__0 ) ) )
1234 // InternalProblem.g:417:2: ( ( rule__RangeMultiplicity__Group__0 ) )
1235 {
1236 // InternalProblem.g:417:2: ( ( rule__RangeMultiplicity__Group__0 ) )
1237 // InternalProblem.g:418:3: ( rule__RangeMultiplicity__Group__0 )
1238 {
1239 before(grammarAccess.getRangeMultiplicityAccess().getGroup());
1240 // InternalProblem.g:419:3: ( rule__RangeMultiplicity__Group__0 )
1241 // InternalProblem.g:419:4: rule__RangeMultiplicity__Group__0
1242 {
1243 pushFollow(FOLLOW_2);
1244 rule__RangeMultiplicity__Group__0();
1245
1246 state._fsp--;
1247
1248
1249 }
1250
1251 after(grammarAccess.getRangeMultiplicityAccess().getGroup());
1252
1253 }
1254
1255
1256 }
1257
1258 }
1259 catch (RecognitionException re) {
1260 reportError(re);
1261 recover(input,re);
1262 }
1263 finally {
1264
1265 restoreStackSize(stackSize);
1266
1267 }
1268 return ;
1269 }
1270 // $ANTLR end "ruleRangeMultiplicity"
1271
1272
1273 // $ANTLR start "entryRuleExactMultiplicity"
1274 // InternalProblem.g:428:1: entryRuleExactMultiplicity : ruleExactMultiplicity EOF ;
1275 public final void entryRuleExactMultiplicity() throws RecognitionException {
1276 try {
1277 // InternalProblem.g:429:1: ( ruleExactMultiplicity EOF )
1278 // InternalProblem.g:430:1: ruleExactMultiplicity EOF
1279 {
1280 before(grammarAccess.getExactMultiplicityRule());
1281 pushFollow(FOLLOW_1);
1282 ruleExactMultiplicity();
1283
1284 state._fsp--;
1285
1286 after(grammarAccess.getExactMultiplicityRule());
1287 match(input,EOF,FOLLOW_2);
1288
1289 }
1290
1291 }
1292 catch (RecognitionException re) {
1293 reportError(re);
1294 recover(input,re);
1295 }
1296 finally {
1297 }
1298 return ;
1299 }
1300 // $ANTLR end "entryRuleExactMultiplicity"
1301
1302
1303 // $ANTLR start "ruleExactMultiplicity"
1304 // InternalProblem.g:437:1: ruleExactMultiplicity : ( ( rule__ExactMultiplicity__ExactValueAssignment ) ) ;
1305 public final void ruleExactMultiplicity() throws RecognitionException {
1306
1307 int stackSize = keepStackSize();
1308
1309 try {
1310 // InternalProblem.g:441:2: ( ( ( rule__ExactMultiplicity__ExactValueAssignment ) ) )
1311 // InternalProblem.g:442:2: ( ( rule__ExactMultiplicity__ExactValueAssignment ) )
1312 {
1313 // InternalProblem.g:442:2: ( ( rule__ExactMultiplicity__ExactValueAssignment ) )
1314 // InternalProblem.g:443:3: ( rule__ExactMultiplicity__ExactValueAssignment )
1315 {
1316 before(grammarAccess.getExactMultiplicityAccess().getExactValueAssignment());
1317 // InternalProblem.g:444:3: ( rule__ExactMultiplicity__ExactValueAssignment )
1318 // InternalProblem.g:444:4: rule__ExactMultiplicity__ExactValueAssignment
1319 {
1320 pushFollow(FOLLOW_2);
1321 rule__ExactMultiplicity__ExactValueAssignment();
1322
1323 state._fsp--;
1324
1325
1326 }
1327
1328 after(grammarAccess.getExactMultiplicityAccess().getExactValueAssignment());
1329
1330 }
1331
1332
1333 }
1334
1335 }
1336 catch (RecognitionException re) {
1337 reportError(re);
1338 recover(input,re);
1339 }
1340 finally {
1341
1342 restoreStackSize(stackSize);
1343
1344 }
1345 return ;
1346 }
1347 // $ANTLR end "ruleExactMultiplicity"
1348
1349
1350 // $ANTLR start "entryRuleUpperBound"
1351 // InternalProblem.g:453:1: entryRuleUpperBound : ruleUpperBound EOF ;
1352 public final void entryRuleUpperBound() throws RecognitionException {
1353 try {
1354 // InternalProblem.g:454:1: ( ruleUpperBound EOF )
1355 // InternalProblem.g:455:1: ruleUpperBound EOF
1356 {
1357 before(grammarAccess.getUpperBoundRule());
1358 pushFollow(FOLLOW_1);
1359 ruleUpperBound();
1360
1361 state._fsp--;
1362
1363 after(grammarAccess.getUpperBoundRule());
1364 match(input,EOF,FOLLOW_2);
1365
1366 }
1367
1368 }
1369 catch (RecognitionException re) {
1370 reportError(re);
1371 recover(input,re);
1372 }
1373 finally {
1374 }
1375 return ;
1376 }
1377 // $ANTLR end "entryRuleUpperBound"
1378
1379
1380 // $ANTLR start "ruleUpperBound"
1381 // InternalProblem.g:462:1: ruleUpperBound : ( ( rule__UpperBound__Alternatives ) ) ;
1382 public final void ruleUpperBound() throws RecognitionException {
1383
1384 int stackSize = keepStackSize();
1385
1386 try {
1387 // InternalProblem.g:466:2: ( ( ( rule__UpperBound__Alternatives ) ) )
1388 // InternalProblem.g:467:2: ( ( rule__UpperBound__Alternatives ) )
1389 {
1390 // InternalProblem.g:467:2: ( ( rule__UpperBound__Alternatives ) )
1391 // InternalProblem.g:468:3: ( rule__UpperBound__Alternatives )
1392 {
1393 before(grammarAccess.getUpperBoundAccess().getAlternatives());
1394 // InternalProblem.g:469:3: ( rule__UpperBound__Alternatives )
1395 // InternalProblem.g:469:4: rule__UpperBound__Alternatives
1396 {
1397 pushFollow(FOLLOW_2);
1398 rule__UpperBound__Alternatives();
1399
1400 state._fsp--;
1401
1402
1403 }
1404
1405 after(grammarAccess.getUpperBoundAccess().getAlternatives());
1406
1407 }
1408
1409
1410 }
1411
1412 }
1413 catch (RecognitionException re) {
1414 reportError(re);
1415 recover(input,re);
1416 }
1417 finally {
1418
1419 restoreStackSize(stackSize);
1420
1421 }
1422 return ;
1423 }
1424 // $ANTLR end "ruleUpperBound"
1425
1426
1427 // $ANTLR start "entryRuleQualifiedName"
1428 // InternalProblem.g:478:1: entryRuleQualifiedName : ruleQualifiedName EOF ;
1429 public final void entryRuleQualifiedName() throws RecognitionException {
1430 try {
1431 // InternalProblem.g:479:1: ( ruleQualifiedName EOF )
1432 // InternalProblem.g:480:1: ruleQualifiedName EOF
1433 {
1434 before(grammarAccess.getQualifiedNameRule());
1435 pushFollow(FOLLOW_1);
1436 ruleQualifiedName();
1437
1438 state._fsp--;
1439
1440 after(grammarAccess.getQualifiedNameRule());
1441 match(input,EOF,FOLLOW_2);
1442
1443 }
1444
1445 }
1446 catch (RecognitionException re) {
1447 reportError(re);
1448 recover(input,re);
1449 }
1450 finally {
1451 }
1452 return ;
1453 }
1454 // $ANTLR end "entryRuleQualifiedName"
1455
1456
1457 // $ANTLR start "ruleQualifiedName"
1458 // InternalProblem.g:487:1: ruleQualifiedName : ( ( rule__QualifiedName__Group__0 ) ) ;
1459 public final void ruleQualifiedName() throws RecognitionException {
1460
1461 int stackSize = keepStackSize();
1462
1463 try {
1464 // InternalProblem.g:491:2: ( ( ( rule__QualifiedName__Group__0 ) ) )
1465 // InternalProblem.g:492:2: ( ( rule__QualifiedName__Group__0 ) )
1466 {
1467 // InternalProblem.g:492:2: ( ( rule__QualifiedName__Group__0 ) )
1468 // InternalProblem.g:493:3: ( rule__QualifiedName__Group__0 )
1469 {
1470 before(grammarAccess.getQualifiedNameAccess().getGroup());
1471 // InternalProblem.g:494:3: ( rule__QualifiedName__Group__0 )
1472 // InternalProblem.g:494:4: rule__QualifiedName__Group__0
1473 {
1474 pushFollow(FOLLOW_2);
1475 rule__QualifiedName__Group__0();
1476
1477 state._fsp--;
1478
1479
1480 }
1481
1482 after(grammarAccess.getQualifiedNameAccess().getGroup());
1483
1484 }
1485
1486
1487 }
1488
1489 }
1490 catch (RecognitionException re) {
1491 reportError(re);
1492 recover(input,re);
1493 }
1494 finally {
1495
1496 restoreStackSize(stackSize);
1497
1498 }
1499 return ;
1500 }
1501 // $ANTLR end "ruleQualifiedName"
1502
1503
1504 // $ANTLR start "ruleLogicValue"
1505 // InternalProblem.g:503:1: ruleLogicValue : ( ( rule__LogicValue__Alternatives ) ) ;
1506 public final void ruleLogicValue() throws RecognitionException {
1507
1508 int stackSize = keepStackSize();
1509
1510 try {
1511 // InternalProblem.g:507:1: ( ( ( rule__LogicValue__Alternatives ) ) )
1512 // InternalProblem.g:508:2: ( ( rule__LogicValue__Alternatives ) )
1513 {
1514 // InternalProblem.g:508:2: ( ( rule__LogicValue__Alternatives ) )
1515 // InternalProblem.g:509:3: ( rule__LogicValue__Alternatives )
1516 {
1517 before(grammarAccess.getLogicValueAccess().getAlternatives());
1518 // InternalProblem.g:510:3: ( rule__LogicValue__Alternatives )
1519 // InternalProblem.g:510:4: rule__LogicValue__Alternatives
1520 {
1521 pushFollow(FOLLOW_2);
1522 rule__LogicValue__Alternatives();
1523
1524 state._fsp--;
1525
1526
1527 }
1528
1529 after(grammarAccess.getLogicValueAccess().getAlternatives());
1530
1531 }
1532
1533
1534 }
1535
1536 }
1537 catch (RecognitionException re) {
1538 reportError(re);
1539 recover(input,re);
1540 }
1541 finally {
1542
1543 restoreStackSize(stackSize);
1544
1545 }
1546 return ;
1547 }
1548 // $ANTLR end "ruleLogicValue"
1549
1550
1551 // $ANTLR start "ruleShortLogicValue"
1552 // InternalProblem.g:519:1: ruleShortLogicValue : ( ( rule__ShortLogicValue__Alternatives ) ) ;
1553 public final void ruleShortLogicValue() throws RecognitionException {
1554
1555 int stackSize = keepStackSize();
1556
1557 try {
1558 // InternalProblem.g:523:1: ( ( ( rule__ShortLogicValue__Alternatives ) ) )
1559 // InternalProblem.g:524:2: ( ( rule__ShortLogicValue__Alternatives ) )
1560 {
1561 // InternalProblem.g:524:2: ( ( rule__ShortLogicValue__Alternatives ) )
1562 // InternalProblem.g:525:3: ( rule__ShortLogicValue__Alternatives )
1563 {
1564 before(grammarAccess.getShortLogicValueAccess().getAlternatives());
1565 // InternalProblem.g:526:3: ( rule__ShortLogicValue__Alternatives )
1566 // InternalProblem.g:526:4: rule__ShortLogicValue__Alternatives
1567 {
1568 pushFollow(FOLLOW_2);
1569 rule__ShortLogicValue__Alternatives();
1570
1571 state._fsp--;
1572
1573
1574 }
1575
1576 after(grammarAccess.getShortLogicValueAccess().getAlternatives());
1577
1578 }
1579
1580
1581 }
1582
1583 }
1584 catch (RecognitionException re) {
1585 reportError(re);
1586 recover(input,re);
1587 }
1588 finally {
1589
1590 restoreStackSize(stackSize);
1591
1592 }
1593 return ;
1594 }
1595 // $ANTLR end "ruleShortLogicValue"
1596
1597
1598 // $ANTLR start "rule__Statement__Alternatives"
1599 // InternalProblem.g:534:1: rule__Statement__Alternatives : ( ( ruleClassDeclaration ) | ( rulePredicateDefinition ) | ( ruleAssertion ) | ( ruleScopeDeclaration ) );
1600 public final void rule__Statement__Alternatives() throws RecognitionException {
1601
1602 int stackSize = keepStackSize();
1603
1604 try {
1605 // InternalProblem.g:538:1: ( ( ruleClassDeclaration ) | ( rulePredicateDefinition ) | ( ruleAssertion ) | ( ruleScopeDeclaration ) )
1606 int alt2=4;
1607 switch ( input.LA(1) ) {
1608 case 20:
1609 case 35:
1610 {
1611 alt2=1;
1612 }
1613 break;
1614 case 12:
1615 case 37:
1616 {
1617 alt2=2;
1618 }
1619 break;
1620 case RULE_ID:
1621 case 18:
1622 case 19:
1623 {
1624 alt2=3;
1625 }
1626 break;
1627 case 32:
1628 {
1629 alt2=4;
1630 }
1631 break;
1632 default:
1633 NoViableAltException nvae =
1634 new NoViableAltException("", 2, 0, input);
1635
1636 throw nvae;
1637 }
1638
1639 switch (alt2) {
1640 case 1 :
1641 // InternalProblem.g:539:2: ( ruleClassDeclaration )
1642 {
1643 // InternalProblem.g:539:2: ( ruleClassDeclaration )
1644 // InternalProblem.g:540:3: ruleClassDeclaration
1645 {
1646 before(grammarAccess.getStatementAccess().getClassDeclarationParserRuleCall_0());
1647 pushFollow(FOLLOW_2);
1648 ruleClassDeclaration();
1649
1650 state._fsp--;
1651
1652 after(grammarAccess.getStatementAccess().getClassDeclarationParserRuleCall_0());
1653
1654 }
1655
1656
1657 }
1658 break;
1659 case 2 :
1660 // InternalProblem.g:545:2: ( rulePredicateDefinition )
1661 {
1662 // InternalProblem.g:545:2: ( rulePredicateDefinition )
1663 // InternalProblem.g:546:3: rulePredicateDefinition
1664 {
1665 before(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_1());
1666 pushFollow(FOLLOW_2);
1667 rulePredicateDefinition();
1668
1669 state._fsp--;
1670
1671 after(grammarAccess.getStatementAccess().getPredicateDefinitionParserRuleCall_1());
1672
1673 }
1674
1675
1676 }
1677 break;
1678 case 3 :
1679 // InternalProblem.g:551:2: ( ruleAssertion )
1680 {
1681 // InternalProblem.g:551:2: ( ruleAssertion )
1682 // InternalProblem.g:552:3: ruleAssertion
1683 {
1684 before(grammarAccess.getStatementAccess().getAssertionParserRuleCall_2());
1685 pushFollow(FOLLOW_2);
1686 ruleAssertion();
1687
1688 state._fsp--;
1689
1690 after(grammarAccess.getStatementAccess().getAssertionParserRuleCall_2());
1691
1692 }
1693
1694
1695 }
1696 break;
1697 case 4 :
1698 // InternalProblem.g:557:2: ( ruleScopeDeclaration )
1699 {
1700 // InternalProblem.g:557:2: ( ruleScopeDeclaration )
1701 // InternalProblem.g:558:3: ruleScopeDeclaration
1702 {
1703 before(grammarAccess.getStatementAccess().getScopeDeclarationParserRuleCall_3());
1704 pushFollow(FOLLOW_2);
1705 ruleScopeDeclaration();
1706
1707 state._fsp--;
1708
1709 after(grammarAccess.getStatementAccess().getScopeDeclarationParserRuleCall_3());
1710
1711 }
1712
1713
1714 }
1715 break;
1716
1717 }
1718 }
1719 catch (RecognitionException re) {
1720 reportError(re);
1721 recover(input,re);
1722 }
1723 finally {
1724
1725 restoreStackSize(stackSize);
1726
1727 }
1728 return ;
1729 }
1730 // $ANTLR end "rule__Statement__Alternatives"
1731
1732
1733 // $ANTLR start "rule__ClassDeclaration__Alternatives_3"
1734 // InternalProblem.g:567:1: rule__ClassDeclaration__Alternatives_3 : ( ( ( rule__ClassDeclaration__Group_3_0__0 ) ) | ( ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1 ) ) );
1735 public final void rule__ClassDeclaration__Alternatives_3() throws RecognitionException {
1736
1737 int stackSize = keepStackSize();
1738
1739 try {
1740 // InternalProblem.g:571:1: ( ( ( rule__ClassDeclaration__Group_3_0__0 ) ) | ( ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1 ) ) )
1741 int alt3=2;
1742 int LA3_0 = input.LA(1);
1743
1744 if ( (LA3_0==22) ) {
1745 alt3=1;
1746 }
1747 else if ( (LA3_0==11||LA3_0==36) ) {
1748 alt3=2;
1749 }
1750 else {
1751 NoViableAltException nvae =
1752 new NoViableAltException("", 3, 0, input);
1753
1754 throw nvae;
1755 }
1756 switch (alt3) {
1757 case 1 :
1758 // InternalProblem.g:572:2: ( ( rule__ClassDeclaration__Group_3_0__0 ) )
1759 {
1760 // InternalProblem.g:572:2: ( ( rule__ClassDeclaration__Group_3_0__0 ) )
1761 // InternalProblem.g:573:3: ( rule__ClassDeclaration__Group_3_0__0 )
1762 {
1763 before(grammarAccess.getClassDeclarationAccess().getGroup_3_0());
1764 // InternalProblem.g:574:3: ( rule__ClassDeclaration__Group_3_0__0 )
1765 // InternalProblem.g:574:4: rule__ClassDeclaration__Group_3_0__0
1766 {
1767 pushFollow(FOLLOW_2);
1768 rule__ClassDeclaration__Group_3_0__0();
1769
1770 state._fsp--;
1771
1772
1773 }
1774
1775 after(grammarAccess.getClassDeclarationAccess().getGroup_3_0());
1776
1777 }
1778
1779
1780 }
1781 break;
1782 case 2 :
1783 // InternalProblem.g:578:2: ( ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1 ) )
1784 {
1785 // InternalProblem.g:578:2: ( ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1 ) )
1786 // InternalProblem.g:579:3: ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1 )
1787 {
1788 before(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsAssignment_3_1());
1789 // InternalProblem.g:580:3: ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1 )
1790 // InternalProblem.g:580:4: rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1
1791 {
1792 pushFollow(FOLLOW_2);
1793 rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1();
1794
1795 state._fsp--;
1796
1797
1798 }
1799
1800 after(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsAssignment_3_1());
1801
1802 }
1803
1804
1805 }
1806 break;
1807
1808 }
1809 }
1810 catch (RecognitionException re) {
1811 reportError(re);
1812 recover(input,re);
1813 }
1814 finally {
1815
1816 restoreStackSize(stackSize);
1817
1818 }
1819 return ;
1820 }
1821 // $ANTLR end "rule__ClassDeclaration__Alternatives_3"
1822
1823
1824 // $ANTLR start "rule__ClassDeclaration__Alternatives_3_0_1"
1825 // InternalProblem.g:588:1: rule__ClassDeclaration__Alternatives_3_0_1 : ( ( ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0 ) ) | ( ( rule__ClassDeclaration__Group_3_0_1_1__0 ) ) );
1826 public final void rule__ClassDeclaration__Alternatives_3_0_1() throws RecognitionException {
1827
1828 int stackSize = keepStackSize();
1829
1830 try {
1831 // InternalProblem.g:592:1: ( ( ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0 ) ) | ( ( rule__ClassDeclaration__Group_3_0_1_1__0 ) ) )
1832 int alt4=2;
1833 int LA4_0 = input.LA(1);
1834
1835 if ( (LA4_0==RULE_ID) ) {
1836 alt4=1;
1837 }
1838 else if ( (LA4_0==23) ) {
1839 alt4=2;
1840 }
1841 else {
1842 NoViableAltException nvae =
1843 new NoViableAltException("", 4, 0, input);
1844
1845 throw nvae;
1846 }
1847 switch (alt4) {
1848 case 1 :
1849 // InternalProblem.g:593:2: ( ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0 ) )
1850 {
1851 // InternalProblem.g:593:2: ( ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0 ) )
1852 // InternalProblem.g:594:3: ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0 )
1853 {
1854 before(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_0());
1855 // InternalProblem.g:595:3: ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0 )
1856 // InternalProblem.g:595:4: rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0
1857 {
1858 pushFollow(FOLLOW_2);
1859 rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0();
1860
1861 state._fsp--;
1862
1863
1864 }
1865
1866 after(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_0());
1867
1868 }
1869
1870
1871 }
1872 break;
1873 case 2 :
1874 // InternalProblem.g:599:2: ( ( rule__ClassDeclaration__Group_3_0_1_1__0 ) )
1875 {
1876 // InternalProblem.g:599:2: ( ( rule__ClassDeclaration__Group_3_0_1_1__0 ) )
1877 // InternalProblem.g:600:3: ( rule__ClassDeclaration__Group_3_0_1_1__0 )
1878 {
1879 before(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1());
1880 // InternalProblem.g:601:3: ( rule__ClassDeclaration__Group_3_0_1_1__0 )
1881 // InternalProblem.g:601:4: rule__ClassDeclaration__Group_3_0_1_1__0
1882 {
1883 pushFollow(FOLLOW_2);
1884 rule__ClassDeclaration__Group_3_0_1_1__0();
1885
1886 state._fsp--;
1887
1888
1889 }
1890
1891 after(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1());
1892
1893 }
1894
1895
1896 }
1897 break;
1898
1899 }
1900 }
1901 catch (RecognitionException re) {
1902 reportError(re);
1903 recover(input,re);
1904 }
1905 finally {
1906
1907 restoreStackSize(stackSize);
1908
1909 }
1910 return ;
1911 }
1912 // $ANTLR end "rule__ClassDeclaration__Alternatives_3_0_1"
1913
1914
1915 // $ANTLR start "rule__ReferenceDeclaration__Alternatives_0"
1916 // InternalProblem.g:609:1: rule__ReferenceDeclaration__Alternatives_0 : ( ( ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 ) ) | ( 'refers' ) );
1917 public final void rule__ReferenceDeclaration__Alternatives_0() throws RecognitionException {
1918
1919 int stackSize = keepStackSize();
1920
1921 try {
1922 // InternalProblem.g:613:1: ( ( ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 ) ) | ( 'refers' ) )
1923 int alt5=2;
1924 int LA5_0 = input.LA(1);
1925
1926 if ( (LA5_0==36) ) {
1927 alt5=1;
1928 }
1929 else if ( (LA5_0==11) ) {
1930 alt5=2;
1931 }
1932 else {
1933 NoViableAltException nvae =
1934 new NoViableAltException("", 5, 0, input);
1935
1936 throw nvae;
1937 }
1938 switch (alt5) {
1939 case 1 :
1940 // InternalProblem.g:614:2: ( ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 ) )
1941 {
1942 // InternalProblem.g:614:2: ( ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 ) )
1943 // InternalProblem.g:615:3: ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 )
1944 {
1945 before(grammarAccess.getReferenceDeclarationAccess().getContainmentAssignment_0_0());
1946 // InternalProblem.g:616:3: ( rule__ReferenceDeclaration__ContainmentAssignment_0_0 )
1947 // InternalProblem.g:616:4: rule__ReferenceDeclaration__ContainmentAssignment_0_0
1948 {
1949 pushFollow(FOLLOW_2);
1950 rule__ReferenceDeclaration__ContainmentAssignment_0_0();
1951
1952 state._fsp--;
1953
1954
1955 }
1956
1957 after(grammarAccess.getReferenceDeclarationAccess().getContainmentAssignment_0_0());
1958
1959 }
1960
1961
1962 }
1963 break;
1964 case 2 :
1965 // InternalProblem.g:620:2: ( 'refers' )
1966 {
1967 // InternalProblem.g:620:2: ( 'refers' )
1968 // InternalProblem.g:621:3: 'refers'
1969 {
1970 before(grammarAccess.getReferenceDeclarationAccess().getRefersKeyword_0_1());
1971 match(input,11,FOLLOW_2);
1972 after(grammarAccess.getReferenceDeclarationAccess().getRefersKeyword_0_1());
1973
1974 }
1975
1976
1977 }
1978 break;
1979
1980 }
1981 }
1982 catch (RecognitionException re) {
1983 reportError(re);
1984 recover(input,re);
1985 }
1986 finally {
1987
1988 restoreStackSize(stackSize);
1989
1990 }
1991 return ;
1992 }
1993 // $ANTLR end "rule__ReferenceDeclaration__Alternatives_0"
1994
1995
1996 // $ANTLR start "rule__PredicateDefinition__Alternatives_0"
1997 // InternalProblem.g:630:1: rule__PredicateDefinition__Alternatives_0 : ( ( ( rule__PredicateDefinition__Group_0_0__0 ) ) | ( 'pred' ) );
1998 public final void rule__PredicateDefinition__Alternatives_0() throws RecognitionException {
1999
2000 int stackSize = keepStackSize();
2001
2002 try {
2003 // InternalProblem.g:634:1: ( ( ( rule__PredicateDefinition__Group_0_0__0 ) ) | ( 'pred' ) )
2004 int alt6=2;
2005 int LA6_0 = input.LA(1);
2006
2007 if ( (LA6_0==37) ) {
2008 alt6=1;
2009 }
2010 else if ( (LA6_0==12) ) {
2011 alt6=2;
2012 }
2013 else {
2014 NoViableAltException nvae =
2015 new NoViableAltException("", 6, 0, input);
2016
2017 throw nvae;
2018 }
2019 switch (alt6) {
2020 case 1 :
2021 // InternalProblem.g:635:2: ( ( rule__PredicateDefinition__Group_0_0__0 ) )
2022 {
2023 // InternalProblem.g:635:2: ( ( rule__PredicateDefinition__Group_0_0__0 ) )
2024 // InternalProblem.g:636:3: ( rule__PredicateDefinition__Group_0_0__0 )
2025 {
2026 before(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0());
2027 // InternalProblem.g:637:3: ( rule__PredicateDefinition__Group_0_0__0 )
2028 // InternalProblem.g:637:4: rule__PredicateDefinition__Group_0_0__0
2029 {
2030 pushFollow(FOLLOW_2);
2031 rule__PredicateDefinition__Group_0_0__0();
2032
2033 state._fsp--;
2034
2035
2036 }
2037
2038 after(grammarAccess.getPredicateDefinitionAccess().getGroup_0_0());
2039
2040 }
2041
2042
2043 }
2044 break;
2045 case 2 :
2046 // InternalProblem.g:641:2: ( 'pred' )
2047 {
2048 // InternalProblem.g:641:2: ( 'pred' )
2049 // InternalProblem.g:642:3: 'pred'
2050 {
2051 before(grammarAccess.getPredicateDefinitionAccess().getPredKeyword_0_1());
2052 match(input,12,FOLLOW_2);
2053 after(grammarAccess.getPredicateDefinitionAccess().getPredKeyword_0_1());
2054
2055 }
2056
2057
2058 }
2059 break;
2060
2061 }
2062 }
2063 catch (RecognitionException re) {
2064 reportError(re);
2065 recover(input,re);
2066 }
2067 finally {
2068
2069 restoreStackSize(stackSize);
2070
2071 }
2072 return ;
2073 }
2074 // $ANTLR end "rule__PredicateDefinition__Alternatives_0"
2075
2076
2077 // $ANTLR start "rule__Literal__Alternatives"
2078 // InternalProblem.g:651:1: rule__Literal__Alternatives : ( ( ruleAtom ) | ( ruleNegativeLiteral ) );
2079 public final void rule__Literal__Alternatives() throws RecognitionException {
2080
2081 int stackSize = keepStackSize();
2082
2083 try {
2084 // InternalProblem.g:655:1: ( ( ruleAtom ) | ( ruleNegativeLiteral ) )
2085 int alt7=2;
2086 int LA7_0 = input.LA(1);
2087
2088 if ( (LA7_0==RULE_ID) ) {
2089 alt7=1;
2090 }
2091 else if ( (LA7_0==18) ) {
2092 alt7=2;
2093 }
2094 else {
2095 NoViableAltException nvae =
2096 new NoViableAltException("", 7, 0, input);
2097
2098 throw nvae;
2099 }
2100 switch (alt7) {
2101 case 1 :
2102 // InternalProblem.g:656:2: ( ruleAtom )
2103 {
2104 // InternalProblem.g:656:2: ( ruleAtom )
2105 // InternalProblem.g:657:3: ruleAtom
2106 {
2107 before(grammarAccess.getLiteralAccess().getAtomParserRuleCall_0());
2108 pushFollow(FOLLOW_2);
2109 ruleAtom();
2110
2111 state._fsp--;
2112
2113 after(grammarAccess.getLiteralAccess().getAtomParserRuleCall_0());
2114
2115 }
2116
2117
2118 }
2119 break;
2120 case 2 :
2121 // InternalProblem.g:662:2: ( ruleNegativeLiteral )
2122 {
2123 // InternalProblem.g:662:2: ( ruleNegativeLiteral )
2124 // InternalProblem.g:663:3: ruleNegativeLiteral
2125 {
2126 before(grammarAccess.getLiteralAccess().getNegativeLiteralParserRuleCall_1());
2127 pushFollow(FOLLOW_2);
2128 ruleNegativeLiteral();
2129
2130 state._fsp--;
2131
2132 after(grammarAccess.getLiteralAccess().getNegativeLiteralParserRuleCall_1());
2133
2134 }
2135
2136
2137 }
2138 break;
2139
2140 }
2141 }
2142 catch (RecognitionException re) {
2143 reportError(re);
2144 recover(input,re);
2145 }
2146 finally {
2147
2148 restoreStackSize(stackSize);
2149
2150 }
2151 return ;
2152 }
2153 // $ANTLR end "rule__Literal__Alternatives"
2154
2155
2156 // $ANTLR start "rule__Assertion__Alternatives_0"
2157 // InternalProblem.g:672:1: rule__Assertion__Alternatives_0 : ( ( ( rule__Assertion__Group_0_0__0 ) ) | ( ( rule__Assertion__Group_0_1__0 ) ) );
2158 public final void rule__Assertion__Alternatives_0() throws RecognitionException {
2159
2160 int stackSize = keepStackSize();
2161
2162 try {
2163 // InternalProblem.g:676:1: ( ( ( rule__Assertion__Group_0_0__0 ) ) | ( ( rule__Assertion__Group_0_1__0 ) ) )
2164 int alt8=2;
2165 alt8 = dfa8.predict(input);
2166 switch (alt8) {
2167 case 1 :
2168 // InternalProblem.g:677:2: ( ( rule__Assertion__Group_0_0__0 ) )
2169 {
2170 // InternalProblem.g:677:2: ( ( rule__Assertion__Group_0_0__0 ) )
2171 // InternalProblem.g:678:3: ( rule__Assertion__Group_0_0__0 )
2172 {
2173 before(grammarAccess.getAssertionAccess().getGroup_0_0());
2174 // InternalProblem.g:679:3: ( rule__Assertion__Group_0_0__0 )
2175 // InternalProblem.g:679:4: rule__Assertion__Group_0_0__0
2176 {
2177 pushFollow(FOLLOW_2);
2178 rule__Assertion__Group_0_0__0();
2179
2180 state._fsp--;
2181
2182
2183 }
2184
2185 after(grammarAccess.getAssertionAccess().getGroup_0_0());
2186
2187 }
2188
2189
2190 }
2191 break;
2192 case 2 :
2193 // InternalProblem.g:683:2: ( ( rule__Assertion__Group_0_1__0 ) )
2194 {
2195 // InternalProblem.g:683:2: ( ( rule__Assertion__Group_0_1__0 ) )
2196 // InternalProblem.g:684:3: ( rule__Assertion__Group_0_1__0 )
2197 {
2198 before(grammarAccess.getAssertionAccess().getGroup_0_1());
2199 // InternalProblem.g:685:3: ( rule__Assertion__Group_0_1__0 )
2200 // InternalProblem.g:685:4: rule__Assertion__Group_0_1__0
2201 {
2202 pushFollow(FOLLOW_2);
2203 rule__Assertion__Group_0_1__0();
2204
2205 state._fsp--;
2206
2207
2208 }
2209
2210 after(grammarAccess.getAssertionAccess().getGroup_0_1());
2211
2212 }
2213
2214
2215 }
2216 break;
2217
2218 }
2219 }
2220 catch (RecognitionException re) {
2221 reportError(re);
2222 recover(input,re);
2223 }
2224 finally {
2225
2226 restoreStackSize(stackSize);
2227
2228 }
2229 return ;
2230 }
2231 // $ANTLR end "rule__Assertion__Alternatives_0"
2232
2233
2234 // $ANTLR start "rule__TypeScope__Alternatives_1"
2235 // InternalProblem.g:693:1: rule__TypeScope__Alternatives_1 : ( ( ( rule__TypeScope__IncrementAssignment_1_0 ) ) | ( '=' ) );
2236 public final void rule__TypeScope__Alternatives_1() throws RecognitionException {
2237
2238 int stackSize = keepStackSize();
2239
2240 try {
2241 // InternalProblem.g:697:1: ( ( ( rule__TypeScope__IncrementAssignment_1_0 ) ) | ( '=' ) )
2242 int alt9=2;
2243 int LA9_0 = input.LA(1);
2244
2245 if ( (LA9_0==39) ) {
2246 alt9=1;
2247 }
2248 else if ( (LA9_0==13) ) {
2249 alt9=2;
2250 }
2251 else {
2252 NoViableAltException nvae =
2253 new NoViableAltException("", 9, 0, input);
2254
2255 throw nvae;
2256 }
2257 switch (alt9) {
2258 case 1 :
2259 // InternalProblem.g:698:2: ( ( rule__TypeScope__IncrementAssignment_1_0 ) )
2260 {
2261 // InternalProblem.g:698:2: ( ( rule__TypeScope__IncrementAssignment_1_0 ) )
2262 // InternalProblem.g:699:3: ( rule__TypeScope__IncrementAssignment_1_0 )
2263 {
2264 before(grammarAccess.getTypeScopeAccess().getIncrementAssignment_1_0());
2265 // InternalProblem.g:700:3: ( rule__TypeScope__IncrementAssignment_1_0 )
2266 // InternalProblem.g:700:4: rule__TypeScope__IncrementAssignment_1_0
2267 {
2268 pushFollow(FOLLOW_2);
2269 rule__TypeScope__IncrementAssignment_1_0();
2270
2271 state._fsp--;
2272
2273
2274 }
2275
2276 after(grammarAccess.getTypeScopeAccess().getIncrementAssignment_1_0());
2277
2278 }
2279
2280
2281 }
2282 break;
2283 case 2 :
2284 // InternalProblem.g:704:2: ( '=' )
2285 {
2286 // InternalProblem.g:704:2: ( '=' )
2287 // InternalProblem.g:705:3: '='
2288 {
2289 before(grammarAccess.getTypeScopeAccess().getEqualsSignKeyword_1_1());
2290 match(input,13,FOLLOW_2);
2291 after(grammarAccess.getTypeScopeAccess().getEqualsSignKeyword_1_1());
2292
2293 }
2294
2295
2296 }
2297 break;
2298
2299 }
2300 }
2301 catch (RecognitionException re) {
2302 reportError(re);
2303 recover(input,re);
2304 }
2305 finally {
2306
2307 restoreStackSize(stackSize);
2308
2309 }
2310 return ;
2311 }
2312 // $ANTLR end "rule__TypeScope__Alternatives_1"
2313
2314
2315 // $ANTLR start "rule__Multiplicity__Alternatives"
2316 // InternalProblem.g:714:1: rule__Multiplicity__Alternatives : ( ( ruleRangeMultiplicity ) | ( ruleExactMultiplicity ) );
2317 public final void rule__Multiplicity__Alternatives() throws RecognitionException {
2318
2319 int stackSize = keepStackSize();
2320
2321 try {
2322 // InternalProblem.g:718:1: ( ( ruleRangeMultiplicity ) | ( ruleExactMultiplicity ) )
2323 int alt10=2;
2324 int LA10_0 = input.LA(1);
2325
2326 if ( (LA10_0==RULE_INT) ) {
2327 int LA10_1 = input.LA(2);
2328
2329 if ( (LA10_1==33) ) {
2330 alt10=1;
2331 }
2332 else if ( (LA10_1==EOF||LA10_1==21||(LA10_1>=24 && LA10_1<=25)) ) {
2333 alt10=2;
2334 }
2335 else {
2336 NoViableAltException nvae =
2337 new NoViableAltException("", 10, 1, input);
2338
2339 throw nvae;
2340 }
2341 }
2342 else {
2343 NoViableAltException nvae =
2344 new NoViableAltException("", 10, 0, input);
2345
2346 throw nvae;
2347 }
2348 switch (alt10) {
2349 case 1 :
2350 // InternalProblem.g:719:2: ( ruleRangeMultiplicity )
2351 {
2352 // InternalProblem.g:719:2: ( ruleRangeMultiplicity )
2353 // InternalProblem.g:720:3: ruleRangeMultiplicity
2354 {
2355 before(grammarAccess.getMultiplicityAccess().getRangeMultiplicityParserRuleCall_0());
2356 pushFollow(FOLLOW_2);
2357 ruleRangeMultiplicity();
2358
2359 state._fsp--;
2360
2361 after(grammarAccess.getMultiplicityAccess().getRangeMultiplicityParserRuleCall_0());
2362
2363 }
2364
2365
2366 }
2367 break;
2368 case 2 :
2369 // InternalProblem.g:725:2: ( ruleExactMultiplicity )
2370 {
2371 // InternalProblem.g:725:2: ( ruleExactMultiplicity )
2372 // InternalProblem.g:726:3: ruleExactMultiplicity
2373 {
2374 before(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1());
2375 pushFollow(FOLLOW_2);
2376 ruleExactMultiplicity();
2377
2378 state._fsp--;
2379
2380 after(grammarAccess.getMultiplicityAccess().getExactMultiplicityParserRuleCall_1());
2381
2382 }
2383
2384
2385 }
2386 break;
2387
2388 }
2389 }
2390 catch (RecognitionException re) {
2391 reportError(re);
2392 recover(input,re);
2393 }
2394 finally {
2395
2396 restoreStackSize(stackSize);
2397
2398 }
2399 return ;
2400 }
2401 // $ANTLR end "rule__Multiplicity__Alternatives"
2402
2403
2404 // $ANTLR start "rule__UpperBound__Alternatives"
2405 // InternalProblem.g:735:1: rule__UpperBound__Alternatives : ( ( RULE_INT ) | ( '*' ) );
2406 public final void rule__UpperBound__Alternatives() throws RecognitionException {
2407
2408 int stackSize = keepStackSize();
2409
2410 try {
2411 // InternalProblem.g:739:1: ( ( RULE_INT ) | ( '*' ) )
2412 int alt11=2;
2413 int LA11_0 = input.LA(1);
2414
2415 if ( (LA11_0==RULE_INT) ) {
2416 alt11=1;
2417 }
2418 else if ( (LA11_0==14) ) {
2419 alt11=2;
2420 }
2421 else {
2422 NoViableAltException nvae =
2423 new NoViableAltException("", 11, 0, input);
2424
2425 throw nvae;
2426 }
2427 switch (alt11) {
2428 case 1 :
2429 // InternalProblem.g:740:2: ( RULE_INT )
2430 {
2431 // InternalProblem.g:740:2: ( RULE_INT )
2432 // InternalProblem.g:741:3: RULE_INT
2433 {
2434 before(grammarAccess.getUpperBoundAccess().getINTTerminalRuleCall_0());
2435 match(input,RULE_INT,FOLLOW_2);
2436 after(grammarAccess.getUpperBoundAccess().getINTTerminalRuleCall_0());
2437
2438 }
2439
2440
2441 }
2442 break;
2443 case 2 :
2444 // InternalProblem.g:746:2: ( '*' )
2445 {
2446 // InternalProblem.g:746:2: ( '*' )
2447 // InternalProblem.g:747:3: '*'
2448 {
2449 before(grammarAccess.getUpperBoundAccess().getAsteriskKeyword_1());
2450 match(input,14,FOLLOW_2);
2451 after(grammarAccess.getUpperBoundAccess().getAsteriskKeyword_1());
2452
2453 }
2454
2455
2456 }
2457 break;
2458
2459 }
2460 }
2461 catch (RecognitionException re) {
2462 reportError(re);
2463 recover(input,re);
2464 }
2465 finally {
2466
2467 restoreStackSize(stackSize);
2468
2469 }
2470 return ;
2471 }
2472 // $ANTLR end "rule__UpperBound__Alternatives"
2473
2474
2475 // $ANTLR start "rule__LogicValue__Alternatives"
2476 // InternalProblem.g:756:1: rule__LogicValue__Alternatives : ( ( ( 'true' ) ) | ( ( 'false' ) ) | ( ( 'unknown' ) ) );
2477 public final void rule__LogicValue__Alternatives() throws RecognitionException {
2478
2479 int stackSize = keepStackSize();
2480
2481 try {
2482 // InternalProblem.g:760:1: ( ( ( 'true' ) ) | ( ( 'false' ) ) | ( ( 'unknown' ) ) )
2483 int alt12=3;
2484 switch ( input.LA(1) ) {
2485 case 15:
2486 {
2487 alt12=1;
2488 }
2489 break;
2490 case 16:
2491 {
2492 alt12=2;
2493 }
2494 break;
2495 case 17:
2496 {
2497 alt12=3;
2498 }
2499 break;
2500 default:
2501 NoViableAltException nvae =
2502 new NoViableAltException("", 12, 0, input);
2503
2504 throw nvae;
2505 }
2506
2507 switch (alt12) {
2508 case 1 :
2509 // InternalProblem.g:761:2: ( ( 'true' ) )
2510 {
2511 // InternalProblem.g:761:2: ( ( 'true' ) )
2512 // InternalProblem.g:762:3: ( 'true' )
2513 {
2514 before(grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0());
2515 // InternalProblem.g:763:3: ( 'true' )
2516 // InternalProblem.g:763:4: 'true'
2517 {
2518 match(input,15,FOLLOW_2);
2519
2520 }
2521
2522 after(grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0());
2523
2524 }
2525
2526
2527 }
2528 break;
2529 case 2 :
2530 // InternalProblem.g:767:2: ( ( 'false' ) )
2531 {
2532 // InternalProblem.g:767:2: ( ( 'false' ) )
2533 // InternalProblem.g:768:3: ( 'false' )
2534 {
2535 before(grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1());
2536 // InternalProblem.g:769:3: ( 'false' )
2537 // InternalProblem.g:769:4: 'false'
2538 {
2539 match(input,16,FOLLOW_2);
2540
2541 }
2542
2543 after(grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1());
2544
2545 }
2546
2547
2548 }
2549 break;
2550 case 3 :
2551 // InternalProblem.g:773:2: ( ( 'unknown' ) )
2552 {
2553 // InternalProblem.g:773:2: ( ( 'unknown' ) )
2554 // InternalProblem.g:774:3: ( 'unknown' )
2555 {
2556 before(grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2());
2557 // InternalProblem.g:775:3: ( 'unknown' )
2558 // InternalProblem.g:775:4: 'unknown'
2559 {
2560 match(input,17,FOLLOW_2);
2561
2562 }
2563
2564 after(grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2());
2565
2566 }
2567
2568
2569 }
2570 break;
2571
2572 }
2573 }
2574 catch (RecognitionException re) {
2575 reportError(re);
2576 recover(input,re);
2577 }
2578 finally {
2579
2580 restoreStackSize(stackSize);
2581
2582 }
2583 return ;
2584 }
2585 // $ANTLR end "rule__LogicValue__Alternatives"
2586
2587
2588 // $ANTLR start "rule__ShortLogicValue__Alternatives"
2589 // InternalProblem.g:783:1: rule__ShortLogicValue__Alternatives : ( ( ( '!' ) ) | ( ( '?' ) ) );
2590 public final void rule__ShortLogicValue__Alternatives() throws RecognitionException {
2591
2592 int stackSize = keepStackSize();
2593
2594 try {
2595 // InternalProblem.g:787:1: ( ( ( '!' ) ) | ( ( '?' ) ) )
2596 int alt13=2;
2597 int LA13_0 = input.LA(1);
2598
2599 if ( (LA13_0==18) ) {
2600 alt13=1;
2601 }
2602 else if ( (LA13_0==19) ) {
2603 alt13=2;
2604 }
2605 else {
2606 NoViableAltException nvae =
2607 new NoViableAltException("", 13, 0, input);
2608
2609 throw nvae;
2610 }
2611 switch (alt13) {
2612 case 1 :
2613 // InternalProblem.g:788:2: ( ( '!' ) )
2614 {
2615 // InternalProblem.g:788:2: ( ( '!' ) )
2616 // InternalProblem.g:789:3: ( '!' )
2617 {
2618 before(grammarAccess.getShortLogicValueAccess().getFALSEEnumLiteralDeclaration_0());
2619 // InternalProblem.g:790:3: ( '!' )
2620 // InternalProblem.g:790:4: '!'
2621 {
2622 match(input,18,FOLLOW_2);
2623
2624 }
2625
2626 after(grammarAccess.getShortLogicValueAccess().getFALSEEnumLiteralDeclaration_0());
2627
2628 }
2629
2630
2631 }
2632 break;
2633 case 2 :
2634 // InternalProblem.g:794:2: ( ( '?' ) )
2635 {
2636 // InternalProblem.g:794:2: ( ( '?' ) )
2637 // InternalProblem.g:795:3: ( '?' )
2638 {
2639 before(grammarAccess.getShortLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_1());
2640 // InternalProblem.g:796:3: ( '?' )
2641 // InternalProblem.g:796:4: '?'
2642 {
2643 match(input,19,FOLLOW_2);
2644
2645 }
2646
2647 after(grammarAccess.getShortLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_1());
2648
2649 }
2650
2651
2652 }
2653 break;
2654
2655 }
2656 }
2657 catch (RecognitionException re) {
2658 reportError(re);
2659 recover(input,re);
2660 }
2661 finally {
2662
2663 restoreStackSize(stackSize);
2664
2665 }
2666 return ;
2667 }
2668 // $ANTLR end "rule__ShortLogicValue__Alternatives"
2669
2670
2671 // $ANTLR start "rule__ClassDeclaration__Group__0"
2672 // InternalProblem.g:804:1: rule__ClassDeclaration__Group__0 : rule__ClassDeclaration__Group__0__Impl rule__ClassDeclaration__Group__1 ;
2673 public final void rule__ClassDeclaration__Group__0() throws RecognitionException {
2674
2675 int stackSize = keepStackSize();
2676
2677 try {
2678 // InternalProblem.g:808:1: ( rule__ClassDeclaration__Group__0__Impl rule__ClassDeclaration__Group__1 )
2679 // InternalProblem.g:809:2: rule__ClassDeclaration__Group__0__Impl rule__ClassDeclaration__Group__1
2680 {
2681 pushFollow(FOLLOW_4);
2682 rule__ClassDeclaration__Group__0__Impl();
2683
2684 state._fsp--;
2685
2686 pushFollow(FOLLOW_2);
2687 rule__ClassDeclaration__Group__1();
2688
2689 state._fsp--;
2690
2691
2692 }
2693
2694 }
2695 catch (RecognitionException re) {
2696 reportError(re);
2697 recover(input,re);
2698 }
2699 finally {
2700
2701 restoreStackSize(stackSize);
2702
2703 }
2704 return ;
2705 }
2706 // $ANTLR end "rule__ClassDeclaration__Group__0"
2707
2708
2709 // $ANTLR start "rule__ClassDeclaration__Group__0__Impl"
2710 // InternalProblem.g:816:1: rule__ClassDeclaration__Group__0__Impl : ( ( rule__ClassDeclaration__AbstractAssignment_0 )? ) ;
2711 public final void rule__ClassDeclaration__Group__0__Impl() throws RecognitionException {
2712
2713 int stackSize = keepStackSize();
2714
2715 try {
2716 // InternalProblem.g:820:1: ( ( ( rule__ClassDeclaration__AbstractAssignment_0 )? ) )
2717 // InternalProblem.g:821:1: ( ( rule__ClassDeclaration__AbstractAssignment_0 )? )
2718 {
2719 // InternalProblem.g:821:1: ( ( rule__ClassDeclaration__AbstractAssignment_0 )? )
2720 // InternalProblem.g:822:2: ( rule__ClassDeclaration__AbstractAssignment_0 )?
2721 {
2722 before(grammarAccess.getClassDeclarationAccess().getAbstractAssignment_0());
2723 // InternalProblem.g:823:2: ( rule__ClassDeclaration__AbstractAssignment_0 )?
2724 int alt14=2;
2725 int LA14_0 = input.LA(1);
2726
2727 if ( (LA14_0==35) ) {
2728 alt14=1;
2729 }
2730 switch (alt14) {
2731 case 1 :
2732 // InternalProblem.g:823:3: rule__ClassDeclaration__AbstractAssignment_0
2733 {
2734 pushFollow(FOLLOW_2);
2735 rule__ClassDeclaration__AbstractAssignment_0();
2736
2737 state._fsp--;
2738
2739
2740 }
2741 break;
2742
2743 }
2744
2745 after(grammarAccess.getClassDeclarationAccess().getAbstractAssignment_0());
2746
2747 }
2748
2749
2750 }
2751
2752 }
2753 catch (RecognitionException re) {
2754 reportError(re);
2755 recover(input,re);
2756 }
2757 finally {
2758
2759 restoreStackSize(stackSize);
2760
2761 }
2762 return ;
2763 }
2764 // $ANTLR end "rule__ClassDeclaration__Group__0__Impl"
2765
2766
2767 // $ANTLR start "rule__ClassDeclaration__Group__1"
2768 // InternalProblem.g:831:1: rule__ClassDeclaration__Group__1 : rule__ClassDeclaration__Group__1__Impl rule__ClassDeclaration__Group__2 ;
2769 public final void rule__ClassDeclaration__Group__1() throws RecognitionException {
2770
2771 int stackSize = keepStackSize();
2772
2773 try {
2774 // InternalProblem.g:835:1: ( rule__ClassDeclaration__Group__1__Impl rule__ClassDeclaration__Group__2 )
2775 // InternalProblem.g:836:2: rule__ClassDeclaration__Group__1__Impl rule__ClassDeclaration__Group__2
2776 {
2777 pushFollow(FOLLOW_5);
2778 rule__ClassDeclaration__Group__1__Impl();
2779
2780 state._fsp--;
2781
2782 pushFollow(FOLLOW_2);
2783 rule__ClassDeclaration__Group__2();
2784
2785 state._fsp--;
2786
2787
2788 }
2789
2790 }
2791 catch (RecognitionException re) {
2792 reportError(re);
2793 recover(input,re);
2794 }
2795 finally {
2796
2797 restoreStackSize(stackSize);
2798
2799 }
2800 return ;
2801 }
2802 // $ANTLR end "rule__ClassDeclaration__Group__1"
2803
2804
2805 // $ANTLR start "rule__ClassDeclaration__Group__1__Impl"
2806 // InternalProblem.g:843:1: rule__ClassDeclaration__Group__1__Impl : ( 'class' ) ;
2807 public final void rule__ClassDeclaration__Group__1__Impl() throws RecognitionException {
2808
2809 int stackSize = keepStackSize();
2810
2811 try {
2812 // InternalProblem.g:847:1: ( ( 'class' ) )
2813 // InternalProblem.g:848:1: ( 'class' )
2814 {
2815 // InternalProblem.g:848:1: ( 'class' )
2816 // InternalProblem.g:849:2: 'class'
2817 {
2818 before(grammarAccess.getClassDeclarationAccess().getClassKeyword_1());
2819 match(input,20,FOLLOW_2);
2820 after(grammarAccess.getClassDeclarationAccess().getClassKeyword_1());
2821
2822 }
2823
2824
2825 }
2826
2827 }
2828 catch (RecognitionException re) {
2829 reportError(re);
2830 recover(input,re);
2831 }
2832 finally {
2833
2834 restoreStackSize(stackSize);
2835
2836 }
2837 return ;
2838 }
2839 // $ANTLR end "rule__ClassDeclaration__Group__1__Impl"
2840
2841
2842 // $ANTLR start "rule__ClassDeclaration__Group__2"
2843 // InternalProblem.g:858:1: rule__ClassDeclaration__Group__2 : rule__ClassDeclaration__Group__2__Impl rule__ClassDeclaration__Group__3 ;
2844 public final void rule__ClassDeclaration__Group__2() throws RecognitionException {
2845
2846 int stackSize = keepStackSize();
2847
2848 try {
2849 // InternalProblem.g:862:1: ( rule__ClassDeclaration__Group__2__Impl rule__ClassDeclaration__Group__3 )
2850 // InternalProblem.g:863:2: rule__ClassDeclaration__Group__2__Impl rule__ClassDeclaration__Group__3
2851 {
2852 pushFollow(FOLLOW_6);
2853 rule__ClassDeclaration__Group__2__Impl();
2854
2855 state._fsp--;
2856
2857 pushFollow(FOLLOW_2);
2858 rule__ClassDeclaration__Group__3();
2859
2860 state._fsp--;
2861
2862
2863 }
2864
2865 }
2866 catch (RecognitionException re) {
2867 reportError(re);
2868 recover(input,re);
2869 }
2870 finally {
2871
2872 restoreStackSize(stackSize);
2873
2874 }
2875 return ;
2876 }
2877 // $ANTLR end "rule__ClassDeclaration__Group__2"
2878
2879
2880 // $ANTLR start "rule__ClassDeclaration__Group__2__Impl"
2881 // InternalProblem.g:870:1: rule__ClassDeclaration__Group__2__Impl : ( ( rule__ClassDeclaration__NameAssignment_2 ) ) ;
2882 public final void rule__ClassDeclaration__Group__2__Impl() throws RecognitionException {
2883
2884 int stackSize = keepStackSize();
2885
2886 try {
2887 // InternalProblem.g:874:1: ( ( ( rule__ClassDeclaration__NameAssignment_2 ) ) )
2888 // InternalProblem.g:875:1: ( ( rule__ClassDeclaration__NameAssignment_2 ) )
2889 {
2890 // InternalProblem.g:875:1: ( ( rule__ClassDeclaration__NameAssignment_2 ) )
2891 // InternalProblem.g:876:2: ( rule__ClassDeclaration__NameAssignment_2 )
2892 {
2893 before(grammarAccess.getClassDeclarationAccess().getNameAssignment_2());
2894 // InternalProblem.g:877:2: ( rule__ClassDeclaration__NameAssignment_2 )
2895 // InternalProblem.g:877:3: rule__ClassDeclaration__NameAssignment_2
2896 {
2897 pushFollow(FOLLOW_2);
2898 rule__ClassDeclaration__NameAssignment_2();
2899
2900 state._fsp--;
2901
2902
2903 }
2904
2905 after(grammarAccess.getClassDeclarationAccess().getNameAssignment_2());
2906
2907 }
2908
2909
2910 }
2911
2912 }
2913 catch (RecognitionException re) {
2914 reportError(re);
2915 recover(input,re);
2916 }
2917 finally {
2918
2919 restoreStackSize(stackSize);
2920
2921 }
2922 return ;
2923 }
2924 // $ANTLR end "rule__ClassDeclaration__Group__2__Impl"
2925
2926
2927 // $ANTLR start "rule__ClassDeclaration__Group__3"
2928 // InternalProblem.g:885:1: rule__ClassDeclaration__Group__3 : rule__ClassDeclaration__Group__3__Impl rule__ClassDeclaration__Group__4 ;
2929 public final void rule__ClassDeclaration__Group__3() throws RecognitionException {
2930
2931 int stackSize = keepStackSize();
2932
2933 try {
2934 // InternalProblem.g:889:1: ( rule__ClassDeclaration__Group__3__Impl rule__ClassDeclaration__Group__4 )
2935 // InternalProblem.g:890:2: rule__ClassDeclaration__Group__3__Impl rule__ClassDeclaration__Group__4
2936 {
2937 pushFollow(FOLLOW_6);
2938 rule__ClassDeclaration__Group__3__Impl();
2939
2940 state._fsp--;
2941
2942 pushFollow(FOLLOW_2);
2943 rule__ClassDeclaration__Group__4();
2944
2945 state._fsp--;
2946
2947
2948 }
2949
2950 }
2951 catch (RecognitionException re) {
2952 reportError(re);
2953 recover(input,re);
2954 }
2955 finally {
2956
2957 restoreStackSize(stackSize);
2958
2959 }
2960 return ;
2961 }
2962 // $ANTLR end "rule__ClassDeclaration__Group__3"
2963
2964
2965 // $ANTLR start "rule__ClassDeclaration__Group__3__Impl"
2966 // InternalProblem.g:897:1: rule__ClassDeclaration__Group__3__Impl : ( ( rule__ClassDeclaration__Alternatives_3 )? ) ;
2967 public final void rule__ClassDeclaration__Group__3__Impl() throws RecognitionException {
2968
2969 int stackSize = keepStackSize();
2970
2971 try {
2972 // InternalProblem.g:901:1: ( ( ( rule__ClassDeclaration__Alternatives_3 )? ) )
2973 // InternalProblem.g:902:1: ( ( rule__ClassDeclaration__Alternatives_3 )? )
2974 {
2975 // InternalProblem.g:902:1: ( ( rule__ClassDeclaration__Alternatives_3 )? )
2976 // InternalProblem.g:903:2: ( rule__ClassDeclaration__Alternatives_3 )?
2977 {
2978 before(grammarAccess.getClassDeclarationAccess().getAlternatives_3());
2979 // InternalProblem.g:904:2: ( rule__ClassDeclaration__Alternatives_3 )?
2980 int alt15=2;
2981 int LA15_0 = input.LA(1);
2982
2983 if ( (LA15_0==11||LA15_0==22||LA15_0==36) ) {
2984 alt15=1;
2985 }
2986 switch (alt15) {
2987 case 1 :
2988 // InternalProblem.g:904:3: rule__ClassDeclaration__Alternatives_3
2989 {
2990 pushFollow(FOLLOW_2);
2991 rule__ClassDeclaration__Alternatives_3();
2992
2993 state._fsp--;
2994
2995
2996 }
2997 break;
2998
2999 }
3000
3001 after(grammarAccess.getClassDeclarationAccess().getAlternatives_3());
3002
3003 }
3004
3005
3006 }
3007
3008 }
3009 catch (RecognitionException re) {
3010 reportError(re);
3011 recover(input,re);
3012 }
3013 finally {
3014
3015 restoreStackSize(stackSize);
3016
3017 }
3018 return ;
3019 }
3020 // $ANTLR end "rule__ClassDeclaration__Group__3__Impl"
3021
3022
3023 // $ANTLR start "rule__ClassDeclaration__Group__4"
3024 // InternalProblem.g:912:1: rule__ClassDeclaration__Group__4 : rule__ClassDeclaration__Group__4__Impl rule__ClassDeclaration__Group__5 ;
3025 public final void rule__ClassDeclaration__Group__4() throws RecognitionException {
3026
3027 int stackSize = keepStackSize();
3028
3029 try {
3030 // InternalProblem.g:916:1: ( rule__ClassDeclaration__Group__4__Impl rule__ClassDeclaration__Group__5 )
3031 // InternalProblem.g:917:2: rule__ClassDeclaration__Group__4__Impl rule__ClassDeclaration__Group__5
3032 {
3033 pushFollow(FOLLOW_6);
3034 rule__ClassDeclaration__Group__4__Impl();
3035
3036 state._fsp--;
3037
3038 pushFollow(FOLLOW_2);
3039 rule__ClassDeclaration__Group__5();
3040
3041 state._fsp--;
3042
3043
3044 }
3045
3046 }
3047 catch (RecognitionException re) {
3048 reportError(re);
3049 recover(input,re);
3050 }
3051 finally {
3052
3053 restoreStackSize(stackSize);
3054
3055 }
3056 return ;
3057 }
3058 // $ANTLR end "rule__ClassDeclaration__Group__4"
3059
3060
3061 // $ANTLR start "rule__ClassDeclaration__Group__4__Impl"
3062 // InternalProblem.g:924:1: rule__ClassDeclaration__Group__4__Impl : ( ( rule__ClassDeclaration__Group_4__0 )* ) ;
3063 public final void rule__ClassDeclaration__Group__4__Impl() throws RecognitionException {
3064
3065 int stackSize = keepStackSize();
3066
3067 try {
3068 // InternalProblem.g:928:1: ( ( ( rule__ClassDeclaration__Group_4__0 )* ) )
3069 // InternalProblem.g:929:1: ( ( rule__ClassDeclaration__Group_4__0 )* )
3070 {
3071 // InternalProblem.g:929:1: ( ( rule__ClassDeclaration__Group_4__0 )* )
3072 // InternalProblem.g:930:2: ( rule__ClassDeclaration__Group_4__0 )*
3073 {
3074 before(grammarAccess.getClassDeclarationAccess().getGroup_4());
3075 // InternalProblem.g:931:2: ( rule__ClassDeclaration__Group_4__0 )*
3076 loop16:
3077 do {
3078 int alt16=2;
3079 int LA16_0 = input.LA(1);
3080
3081 if ( (LA16_0==25) ) {
3082 alt16=1;
3083 }
3084
3085
3086 switch (alt16) {
3087 case 1 :
3088 // InternalProblem.g:931:3: rule__ClassDeclaration__Group_4__0
3089 {
3090 pushFollow(FOLLOW_7);
3091 rule__ClassDeclaration__Group_4__0();
3092
3093 state._fsp--;
3094
3095
3096 }
3097 break;
3098
3099 default :
3100 break loop16;
3101 }
3102 } while (true);
3103
3104 after(grammarAccess.getClassDeclarationAccess().getGroup_4());
3105
3106 }
3107
3108
3109 }
3110
3111 }
3112 catch (RecognitionException re) {
3113 reportError(re);
3114 recover(input,re);
3115 }
3116 finally {
3117
3118 restoreStackSize(stackSize);
3119
3120 }
3121 return ;
3122 }
3123 // $ANTLR end "rule__ClassDeclaration__Group__4__Impl"
3124
3125
3126 // $ANTLR start "rule__ClassDeclaration__Group__5"
3127 // InternalProblem.g:939:1: rule__ClassDeclaration__Group__5 : rule__ClassDeclaration__Group__5__Impl ;
3128 public final void rule__ClassDeclaration__Group__5() throws RecognitionException {
3129
3130 int stackSize = keepStackSize();
3131
3132 try {
3133 // InternalProblem.g:943:1: ( rule__ClassDeclaration__Group__5__Impl )
3134 // InternalProblem.g:944:2: rule__ClassDeclaration__Group__5__Impl
3135 {
3136 pushFollow(FOLLOW_2);
3137 rule__ClassDeclaration__Group__5__Impl();
3138
3139 state._fsp--;
3140
3141
3142 }
3143
3144 }
3145 catch (RecognitionException re) {
3146 reportError(re);
3147 recover(input,re);
3148 }
3149 finally {
3150
3151 restoreStackSize(stackSize);
3152
3153 }
3154 return ;
3155 }
3156 // $ANTLR end "rule__ClassDeclaration__Group__5"
3157
3158
3159 // $ANTLR start "rule__ClassDeclaration__Group__5__Impl"
3160 // InternalProblem.g:950:1: rule__ClassDeclaration__Group__5__Impl : ( '.' ) ;
3161 public final void rule__ClassDeclaration__Group__5__Impl() throws RecognitionException {
3162
3163 int stackSize = keepStackSize();
3164
3165 try {
3166 // InternalProblem.g:954:1: ( ( '.' ) )
3167 // InternalProblem.g:955:1: ( '.' )
3168 {
3169 // InternalProblem.g:955:1: ( '.' )
3170 // InternalProblem.g:956:2: '.'
3171 {
3172 before(grammarAccess.getClassDeclarationAccess().getFullStopKeyword_5());
3173 match(input,21,FOLLOW_2);
3174 after(grammarAccess.getClassDeclarationAccess().getFullStopKeyword_5());
3175
3176 }
3177
3178
3179 }
3180
3181 }
3182 catch (RecognitionException re) {
3183 reportError(re);
3184 recover(input,re);
3185 }
3186 finally {
3187
3188 restoreStackSize(stackSize);
3189
3190 }
3191 return ;
3192 }
3193 // $ANTLR end "rule__ClassDeclaration__Group__5__Impl"
3194
3195
3196 // $ANTLR start "rule__ClassDeclaration__Group_3_0__0"
3197 // InternalProblem.g:966:1: rule__ClassDeclaration__Group_3_0__0 : rule__ClassDeclaration__Group_3_0__0__Impl rule__ClassDeclaration__Group_3_0__1 ;
3198 public final void rule__ClassDeclaration__Group_3_0__0() throws RecognitionException {
3199
3200 int stackSize = keepStackSize();
3201
3202 try {
3203 // InternalProblem.g:970:1: ( rule__ClassDeclaration__Group_3_0__0__Impl rule__ClassDeclaration__Group_3_0__1 )
3204 // InternalProblem.g:971:2: rule__ClassDeclaration__Group_3_0__0__Impl rule__ClassDeclaration__Group_3_0__1
3205 {
3206 pushFollow(FOLLOW_8);
3207 rule__ClassDeclaration__Group_3_0__0__Impl();
3208
3209 state._fsp--;
3210
3211 pushFollow(FOLLOW_2);
3212 rule__ClassDeclaration__Group_3_0__1();
3213
3214 state._fsp--;
3215
3216
3217 }
3218
3219 }
3220 catch (RecognitionException re) {
3221 reportError(re);
3222 recover(input,re);
3223 }
3224 finally {
3225
3226 restoreStackSize(stackSize);
3227
3228 }
3229 return ;
3230 }
3231 // $ANTLR end "rule__ClassDeclaration__Group_3_0__0"
3232
3233
3234 // $ANTLR start "rule__ClassDeclaration__Group_3_0__0__Impl"
3235 // InternalProblem.g:978:1: rule__ClassDeclaration__Group_3_0__0__Impl : ( 'extends' ) ;
3236 public final void rule__ClassDeclaration__Group_3_0__0__Impl() throws RecognitionException {
3237
3238 int stackSize = keepStackSize();
3239
3240 try {
3241 // InternalProblem.g:982:1: ( ( 'extends' ) )
3242 // InternalProblem.g:983:1: ( 'extends' )
3243 {
3244 // InternalProblem.g:983:1: ( 'extends' )
3245 // InternalProblem.g:984:2: 'extends'
3246 {
3247 before(grammarAccess.getClassDeclarationAccess().getExtendsKeyword_3_0_0());
3248 match(input,22,FOLLOW_2);
3249 after(grammarAccess.getClassDeclarationAccess().getExtendsKeyword_3_0_0());
3250
3251 }
3252
3253
3254 }
3255
3256 }
3257 catch (RecognitionException re) {
3258 reportError(re);
3259 recover(input,re);
3260 }
3261 finally {
3262
3263 restoreStackSize(stackSize);
3264
3265 }
3266 return ;
3267 }
3268 // $ANTLR end "rule__ClassDeclaration__Group_3_0__0__Impl"
3269
3270
3271 // $ANTLR start "rule__ClassDeclaration__Group_3_0__1"
3272 // InternalProblem.g:993:1: rule__ClassDeclaration__Group_3_0__1 : rule__ClassDeclaration__Group_3_0__1__Impl ;
3273 public final void rule__ClassDeclaration__Group_3_0__1() throws RecognitionException {
3274
3275 int stackSize = keepStackSize();
3276
3277 try {
3278 // InternalProblem.g:997:1: ( rule__ClassDeclaration__Group_3_0__1__Impl )
3279 // InternalProblem.g:998:2: rule__ClassDeclaration__Group_3_0__1__Impl
3280 {
3281 pushFollow(FOLLOW_2);
3282 rule__ClassDeclaration__Group_3_0__1__Impl();
3283
3284 state._fsp--;
3285
3286
3287 }
3288
3289 }
3290 catch (RecognitionException re) {
3291 reportError(re);
3292 recover(input,re);
3293 }
3294 finally {
3295
3296 restoreStackSize(stackSize);
3297
3298 }
3299 return ;
3300 }
3301 // $ANTLR end "rule__ClassDeclaration__Group_3_0__1"
3302
3303
3304 // $ANTLR start "rule__ClassDeclaration__Group_3_0__1__Impl"
3305 // InternalProblem.g:1004:1: rule__ClassDeclaration__Group_3_0__1__Impl : ( ( rule__ClassDeclaration__Alternatives_3_0_1 ) ) ;
3306 public final void rule__ClassDeclaration__Group_3_0__1__Impl() throws RecognitionException {
3307
3308 int stackSize = keepStackSize();
3309
3310 try {
3311 // InternalProblem.g:1008:1: ( ( ( rule__ClassDeclaration__Alternatives_3_0_1 ) ) )
3312 // InternalProblem.g:1009:1: ( ( rule__ClassDeclaration__Alternatives_3_0_1 ) )
3313 {
3314 // InternalProblem.g:1009:1: ( ( rule__ClassDeclaration__Alternatives_3_0_1 ) )
3315 // InternalProblem.g:1010:2: ( rule__ClassDeclaration__Alternatives_3_0_1 )
3316 {
3317 before(grammarAccess.getClassDeclarationAccess().getAlternatives_3_0_1());
3318 // InternalProblem.g:1011:2: ( rule__ClassDeclaration__Alternatives_3_0_1 )
3319 // InternalProblem.g:1011:3: rule__ClassDeclaration__Alternatives_3_0_1
3320 {
3321 pushFollow(FOLLOW_2);
3322 rule__ClassDeclaration__Alternatives_3_0_1();
3323
3324 state._fsp--;
3325
3326
3327 }
3328
3329 after(grammarAccess.getClassDeclarationAccess().getAlternatives_3_0_1());
3330
3331 }
3332
3333
3334 }
3335
3336 }
3337 catch (RecognitionException re) {
3338 reportError(re);
3339 recover(input,re);
3340 }
3341 finally {
3342
3343 restoreStackSize(stackSize);
3344
3345 }
3346 return ;
3347 }
3348 // $ANTLR end "rule__ClassDeclaration__Group_3_0__1__Impl"
3349
3350
3351 // $ANTLR start "rule__ClassDeclaration__Group_3_0_1_1__0"
3352 // InternalProblem.g:1020:1: rule__ClassDeclaration__Group_3_0_1_1__0 : rule__ClassDeclaration__Group_3_0_1_1__0__Impl rule__ClassDeclaration__Group_3_0_1_1__1 ;
3353 public final void rule__ClassDeclaration__Group_3_0_1_1__0() throws RecognitionException {
3354
3355 int stackSize = keepStackSize();
3356
3357 try {
3358 // InternalProblem.g:1024:1: ( rule__ClassDeclaration__Group_3_0_1_1__0__Impl rule__ClassDeclaration__Group_3_0_1_1__1 )
3359 // InternalProblem.g:1025:2: rule__ClassDeclaration__Group_3_0_1_1__0__Impl rule__ClassDeclaration__Group_3_0_1_1__1
3360 {
3361 pushFollow(FOLLOW_9);
3362 rule__ClassDeclaration__Group_3_0_1_1__0__Impl();
3363
3364 state._fsp--;
3365
3366 pushFollow(FOLLOW_2);
3367 rule__ClassDeclaration__Group_3_0_1_1__1();
3368
3369 state._fsp--;
3370
3371
3372 }
3373
3374 }
3375 catch (RecognitionException re) {
3376 reportError(re);
3377 recover(input,re);
3378 }
3379 finally {
3380
3381 restoreStackSize(stackSize);
3382
3383 }
3384 return ;
3385 }
3386 // $ANTLR end "rule__ClassDeclaration__Group_3_0_1_1__0"
3387
3388
3389 // $ANTLR start "rule__ClassDeclaration__Group_3_0_1_1__0__Impl"
3390 // InternalProblem.g:1032:1: rule__ClassDeclaration__Group_3_0_1_1__0__Impl : ( '[' ) ;
3391 public final void rule__ClassDeclaration__Group_3_0_1_1__0__Impl() throws RecognitionException {
3392
3393 int stackSize = keepStackSize();
3394
3395 try {
3396 // InternalProblem.g:1036:1: ( ( '[' ) )
3397 // InternalProblem.g:1037:1: ( '[' )
3398 {
3399 // InternalProblem.g:1037:1: ( '[' )
3400 // InternalProblem.g:1038:2: '['
3401 {
3402 before(grammarAccess.getClassDeclarationAccess().getLeftSquareBracketKeyword_3_0_1_1_0());
3403 match(input,23,FOLLOW_2);
3404 after(grammarAccess.getClassDeclarationAccess().getLeftSquareBracketKeyword_3_0_1_1_0());
3405
3406 }
3407
3408
3409 }
3410
3411 }
3412 catch (RecognitionException re) {
3413 reportError(re);
3414 recover(input,re);
3415 }
3416 finally {
3417
3418 restoreStackSize(stackSize);
3419
3420 }
3421 return ;
3422 }
3423 // $ANTLR end "rule__ClassDeclaration__Group_3_0_1_1__0__Impl"
3424
3425
3426 // $ANTLR start "rule__ClassDeclaration__Group_3_0_1_1__1"
3427 // InternalProblem.g:1047:1: rule__ClassDeclaration__Group_3_0_1_1__1 : rule__ClassDeclaration__Group_3_0_1_1__1__Impl rule__ClassDeclaration__Group_3_0_1_1__2 ;
3428 public final void rule__ClassDeclaration__Group_3_0_1_1__1() throws RecognitionException {
3429
3430 int stackSize = keepStackSize();
3431
3432 try {
3433 // InternalProblem.g:1051:1: ( rule__ClassDeclaration__Group_3_0_1_1__1__Impl rule__ClassDeclaration__Group_3_0_1_1__2 )
3434 // InternalProblem.g:1052:2: rule__ClassDeclaration__Group_3_0_1_1__1__Impl rule__ClassDeclaration__Group_3_0_1_1__2
3435 {
3436 pushFollow(FOLLOW_9);
3437 rule__ClassDeclaration__Group_3_0_1_1__1__Impl();
3438
3439 state._fsp--;
3440
3441 pushFollow(FOLLOW_2);
3442 rule__ClassDeclaration__Group_3_0_1_1__2();
3443
3444 state._fsp--;
3445
3446
3447 }
3448
3449 }
3450 catch (RecognitionException re) {
3451 reportError(re);
3452 recover(input,re);
3453 }
3454 finally {
3455
3456 restoreStackSize(stackSize);
3457
3458 }
3459 return ;
3460 }
3461 // $ANTLR end "rule__ClassDeclaration__Group_3_0_1_1__1"
3462
3463
3464 // $ANTLR start "rule__ClassDeclaration__Group_3_0_1_1__1__Impl"
3465 // InternalProblem.g:1059:1: rule__ClassDeclaration__Group_3_0_1_1__1__Impl : ( ( rule__ClassDeclaration__Group_3_0_1_1_1__0 )? ) ;
3466 public final void rule__ClassDeclaration__Group_3_0_1_1__1__Impl() throws RecognitionException {
3467
3468 int stackSize = keepStackSize();
3469
3470 try {
3471 // InternalProblem.g:1063:1: ( ( ( rule__ClassDeclaration__Group_3_0_1_1_1__0 )? ) )
3472 // InternalProblem.g:1064:1: ( ( rule__ClassDeclaration__Group_3_0_1_1_1__0 )? )
3473 {
3474 // InternalProblem.g:1064:1: ( ( rule__ClassDeclaration__Group_3_0_1_1_1__0 )? )
3475 // InternalProblem.g:1065:2: ( rule__ClassDeclaration__Group_3_0_1_1_1__0 )?
3476 {
3477 before(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1_1());
3478 // InternalProblem.g:1066:2: ( rule__ClassDeclaration__Group_3_0_1_1_1__0 )?
3479 int alt17=2;
3480 int LA17_0 = input.LA(1);
3481
3482 if ( (LA17_0==RULE_ID) ) {
3483 alt17=1;
3484 }
3485 switch (alt17) {
3486 case 1 :
3487 // InternalProblem.g:1066:3: rule__ClassDeclaration__Group_3_0_1_1_1__0
3488 {
3489 pushFollow(FOLLOW_2);
3490 rule__ClassDeclaration__Group_3_0_1_1_1__0();
3491
3492 state._fsp--;
3493
3494
3495 }
3496 break;
3497
3498 }
3499
3500 after(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1_1());
3501
3502 }
3503
3504
3505 }
3506
3507 }
3508 catch (RecognitionException re) {
3509 reportError(re);
3510 recover(input,re);
3511 }
3512 finally {
3513
3514 restoreStackSize(stackSize);
3515
3516 }
3517 return ;
3518 }
3519 // $ANTLR end "rule__ClassDeclaration__Group_3_0_1_1__1__Impl"
3520
3521
3522 // $ANTLR start "rule__ClassDeclaration__Group_3_0_1_1__2"
3523 // InternalProblem.g:1074:1: rule__ClassDeclaration__Group_3_0_1_1__2 : rule__ClassDeclaration__Group_3_0_1_1__2__Impl ;
3524 public final void rule__ClassDeclaration__Group_3_0_1_1__2() throws RecognitionException {
3525
3526 int stackSize = keepStackSize();
3527
3528 try {
3529 // InternalProblem.g:1078:1: ( rule__ClassDeclaration__Group_3_0_1_1__2__Impl )
3530 // InternalProblem.g:1079:2: rule__ClassDeclaration__Group_3_0_1_1__2__Impl
3531 {
3532 pushFollow(FOLLOW_2);
3533 rule__ClassDeclaration__Group_3_0_1_1__2__Impl();
3534
3535 state._fsp--;
3536
3537
3538 }
3539
3540 }
3541 catch (RecognitionException re) {
3542 reportError(re);
3543 recover(input,re);
3544 }
3545 finally {
3546
3547 restoreStackSize(stackSize);
3548
3549 }
3550 return ;
3551 }
3552 // $ANTLR end "rule__ClassDeclaration__Group_3_0_1_1__2"
3553
3554
3555 // $ANTLR start "rule__ClassDeclaration__Group_3_0_1_1__2__Impl"
3556 // InternalProblem.g:1085:1: rule__ClassDeclaration__Group_3_0_1_1__2__Impl : ( ']' ) ;
3557 public final void rule__ClassDeclaration__Group_3_0_1_1__2__Impl() throws RecognitionException {
3558
3559 int stackSize = keepStackSize();
3560
3561 try {
3562 // InternalProblem.g:1089:1: ( ( ']' ) )
3563 // InternalProblem.g:1090:1: ( ']' )
3564 {
3565 // InternalProblem.g:1090:1: ( ']' )
3566 // InternalProblem.g:1091:2: ']'
3567 {
3568 before(grammarAccess.getClassDeclarationAccess().getRightSquareBracketKeyword_3_0_1_1_2());
3569 match(input,24,FOLLOW_2);
3570 after(grammarAccess.getClassDeclarationAccess().getRightSquareBracketKeyword_3_0_1_1_2());
3571
3572 }
3573
3574
3575 }
3576
3577 }
3578 catch (RecognitionException re) {
3579 reportError(re);
3580 recover(input,re);
3581 }
3582 finally {
3583
3584 restoreStackSize(stackSize);
3585
3586 }
3587 return ;
3588 }
3589 // $ANTLR end "rule__ClassDeclaration__Group_3_0_1_1__2__Impl"
3590
3591
3592 // $ANTLR start "rule__ClassDeclaration__Group_3_0_1_1_1__0"
3593 // InternalProblem.g:1101:1: rule__ClassDeclaration__Group_3_0_1_1_1__0 : rule__ClassDeclaration__Group_3_0_1_1_1__0__Impl rule__ClassDeclaration__Group_3_0_1_1_1__1 ;
3594 public final void rule__ClassDeclaration__Group_3_0_1_1_1__0() throws RecognitionException {
3595
3596 int stackSize = keepStackSize();
3597
3598 try {
3599 // InternalProblem.g:1105:1: ( rule__ClassDeclaration__Group_3_0_1_1_1__0__Impl rule__ClassDeclaration__Group_3_0_1_1_1__1 )
3600 // InternalProblem.g:1106:2: rule__ClassDeclaration__Group_3_0_1_1_1__0__Impl rule__ClassDeclaration__Group_3_0_1_1_1__1
3601 {
3602 pushFollow(FOLLOW_10);
3603 rule__ClassDeclaration__Group_3_0_1_1_1__0__Impl();
3604
3605 state._fsp--;
3606
3607 pushFollow(FOLLOW_2);
3608 rule__ClassDeclaration__Group_3_0_1_1_1__1();
3609
3610 state._fsp--;
3611
3612
3613 }
3614
3615 }
3616 catch (RecognitionException re) {
3617 reportError(re);
3618 recover(input,re);
3619 }
3620 finally {
3621
3622 restoreStackSize(stackSize);
3623
3624 }
3625 return ;
3626 }
3627 // $ANTLR end "rule__ClassDeclaration__Group_3_0_1_1_1__0"
3628
3629
3630 // $ANTLR start "rule__ClassDeclaration__Group_3_0_1_1_1__0__Impl"
3631 // InternalProblem.g:1113:1: rule__ClassDeclaration__Group_3_0_1_1_1__0__Impl : ( ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0 ) ) ;
3632 public final void rule__ClassDeclaration__Group_3_0_1_1_1__0__Impl() throws RecognitionException {
3633
3634 int stackSize = keepStackSize();
3635
3636 try {
3637 // InternalProblem.g:1117:1: ( ( ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0 ) ) )
3638 // InternalProblem.g:1118:1: ( ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0 ) )
3639 {
3640 // InternalProblem.g:1118:1: ( ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0 ) )
3641 // InternalProblem.g:1119:2: ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0 )
3642 {
3643 before(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_1_1_0());
3644 // InternalProblem.g:1120:2: ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0 )
3645 // InternalProblem.g:1120:3: rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0
3646 {
3647 pushFollow(FOLLOW_2);
3648 rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0();
3649
3650 state._fsp--;
3651
3652
3653 }
3654
3655 after(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_1_1_0());
3656
3657 }
3658
3659
3660 }
3661
3662 }
3663 catch (RecognitionException re) {
3664 reportError(re);
3665 recover(input,re);
3666 }
3667 finally {
3668
3669 restoreStackSize(stackSize);
3670
3671 }
3672 return ;
3673 }
3674 // $ANTLR end "rule__ClassDeclaration__Group_3_0_1_1_1__0__Impl"
3675
3676
3677 // $ANTLR start "rule__ClassDeclaration__Group_3_0_1_1_1__1"
3678 // InternalProblem.g:1128:1: rule__ClassDeclaration__Group_3_0_1_1_1__1 : rule__ClassDeclaration__Group_3_0_1_1_1__1__Impl ;
3679 public final void rule__ClassDeclaration__Group_3_0_1_1_1__1() throws RecognitionException {
3680
3681 int stackSize = keepStackSize();
3682
3683 try {
3684 // InternalProblem.g:1132:1: ( rule__ClassDeclaration__Group_3_0_1_1_1__1__Impl )
3685 // InternalProblem.g:1133:2: rule__ClassDeclaration__Group_3_0_1_1_1__1__Impl
3686 {
3687 pushFollow(FOLLOW_2);
3688 rule__ClassDeclaration__Group_3_0_1_1_1__1__Impl();
3689
3690 state._fsp--;
3691
3692
3693 }
3694
3695 }
3696 catch (RecognitionException re) {
3697 reportError(re);
3698 recover(input,re);
3699 }
3700 finally {
3701
3702 restoreStackSize(stackSize);
3703
3704 }
3705 return ;
3706 }
3707 // $ANTLR end "rule__ClassDeclaration__Group_3_0_1_1_1__1"
3708
3709
3710 // $ANTLR start "rule__ClassDeclaration__Group_3_0_1_1_1__1__Impl"
3711 // InternalProblem.g:1139:1: rule__ClassDeclaration__Group_3_0_1_1_1__1__Impl : ( ( rule__ClassDeclaration__Group_3_0_1_1_1_1__0 )* ) ;
3712 public final void rule__ClassDeclaration__Group_3_0_1_1_1__1__Impl() throws RecognitionException {
3713
3714 int stackSize = keepStackSize();
3715
3716 try {
3717 // InternalProblem.g:1143:1: ( ( ( rule__ClassDeclaration__Group_3_0_1_1_1_1__0 )* ) )
3718 // InternalProblem.g:1144:1: ( ( rule__ClassDeclaration__Group_3_0_1_1_1_1__0 )* )
3719 {
3720 // InternalProblem.g:1144:1: ( ( rule__ClassDeclaration__Group_3_0_1_1_1_1__0 )* )
3721 // InternalProblem.g:1145:2: ( rule__ClassDeclaration__Group_3_0_1_1_1_1__0 )*
3722 {
3723 before(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1_1_1());
3724 // InternalProblem.g:1146:2: ( rule__ClassDeclaration__Group_3_0_1_1_1_1__0 )*
3725 loop18:
3726 do {
3727 int alt18=2;
3728 int LA18_0 = input.LA(1);
3729
3730 if ( (LA18_0==25) ) {
3731 alt18=1;
3732 }
3733
3734
3735 switch (alt18) {
3736 case 1 :
3737 // InternalProblem.g:1146:3: rule__ClassDeclaration__Group_3_0_1_1_1_1__0
3738 {
3739 pushFollow(FOLLOW_7);
3740 rule__ClassDeclaration__Group_3_0_1_1_1_1__0();
3741
3742 state._fsp--;
3743
3744
3745 }
3746 break;
3747
3748 default :
3749 break loop18;
3750 }
3751 } while (true);
3752
3753 after(grammarAccess.getClassDeclarationAccess().getGroup_3_0_1_1_1_1());
3754
3755 }
3756
3757
3758 }
3759
3760 }
3761 catch (RecognitionException re) {
3762 reportError(re);
3763 recover(input,re);
3764 }
3765 finally {
3766
3767 restoreStackSize(stackSize);
3768
3769 }
3770 return ;
3771 }
3772 // $ANTLR end "rule__ClassDeclaration__Group_3_0_1_1_1__1__Impl"
3773
3774
3775 // $ANTLR start "rule__ClassDeclaration__Group_3_0_1_1_1_1__0"
3776 // InternalProblem.g:1155:1: rule__ClassDeclaration__Group_3_0_1_1_1_1__0 : rule__ClassDeclaration__Group_3_0_1_1_1_1__0__Impl rule__ClassDeclaration__Group_3_0_1_1_1_1__1 ;
3777 public final void rule__ClassDeclaration__Group_3_0_1_1_1_1__0() throws RecognitionException {
3778
3779 int stackSize = keepStackSize();
3780
3781 try {
3782 // InternalProblem.g:1159:1: ( rule__ClassDeclaration__Group_3_0_1_1_1_1__0__Impl rule__ClassDeclaration__Group_3_0_1_1_1_1__1 )
3783 // InternalProblem.g:1160:2: rule__ClassDeclaration__Group_3_0_1_1_1_1__0__Impl rule__ClassDeclaration__Group_3_0_1_1_1_1__1
3784 {
3785 pushFollow(FOLLOW_5);
3786 rule__ClassDeclaration__Group_3_0_1_1_1_1__0__Impl();
3787
3788 state._fsp--;
3789
3790 pushFollow(FOLLOW_2);
3791 rule__ClassDeclaration__Group_3_0_1_1_1_1__1();
3792
3793 state._fsp--;
3794
3795
3796 }
3797
3798 }
3799 catch (RecognitionException re) {
3800 reportError(re);
3801 recover(input,re);
3802 }
3803 finally {
3804
3805 restoreStackSize(stackSize);
3806
3807 }
3808 return ;
3809 }
3810 // $ANTLR end "rule__ClassDeclaration__Group_3_0_1_1_1_1__0"
3811
3812
3813 // $ANTLR start "rule__ClassDeclaration__Group_3_0_1_1_1_1__0__Impl"
3814 // InternalProblem.g:1167:1: rule__ClassDeclaration__Group_3_0_1_1_1_1__0__Impl : ( ',' ) ;
3815 public final void rule__ClassDeclaration__Group_3_0_1_1_1_1__0__Impl() throws RecognitionException {
3816
3817 int stackSize = keepStackSize();
3818
3819 try {
3820 // InternalProblem.g:1171:1: ( ( ',' ) )
3821 // InternalProblem.g:1172:1: ( ',' )
3822 {
3823 // InternalProblem.g:1172:1: ( ',' )
3824 // InternalProblem.g:1173:2: ','
3825 {
3826 before(grammarAccess.getClassDeclarationAccess().getCommaKeyword_3_0_1_1_1_1_0());
3827 match(input,25,FOLLOW_2);
3828 after(grammarAccess.getClassDeclarationAccess().getCommaKeyword_3_0_1_1_1_1_0());
3829
3830 }
3831
3832
3833 }
3834
3835 }
3836 catch (RecognitionException re) {
3837 reportError(re);
3838 recover(input,re);
3839 }
3840 finally {
3841
3842 restoreStackSize(stackSize);
3843
3844 }
3845 return ;
3846 }
3847 // $ANTLR end "rule__ClassDeclaration__Group_3_0_1_1_1_1__0__Impl"
3848
3849
3850 // $ANTLR start "rule__ClassDeclaration__Group_3_0_1_1_1_1__1"
3851 // InternalProblem.g:1182:1: rule__ClassDeclaration__Group_3_0_1_1_1_1__1 : rule__ClassDeclaration__Group_3_0_1_1_1_1__1__Impl ;
3852 public final void rule__ClassDeclaration__Group_3_0_1_1_1_1__1() throws RecognitionException {
3853
3854 int stackSize = keepStackSize();
3855
3856 try {
3857 // InternalProblem.g:1186:1: ( rule__ClassDeclaration__Group_3_0_1_1_1_1__1__Impl )
3858 // InternalProblem.g:1187:2: rule__ClassDeclaration__Group_3_0_1_1_1_1__1__Impl
3859 {
3860 pushFollow(FOLLOW_2);
3861 rule__ClassDeclaration__Group_3_0_1_1_1_1__1__Impl();
3862
3863 state._fsp--;
3864
3865
3866 }
3867
3868 }
3869 catch (RecognitionException re) {
3870 reportError(re);
3871 recover(input,re);
3872 }
3873 finally {
3874
3875 restoreStackSize(stackSize);
3876
3877 }
3878 return ;
3879 }
3880 // $ANTLR end "rule__ClassDeclaration__Group_3_0_1_1_1_1__1"
3881
3882
3883 // $ANTLR start "rule__ClassDeclaration__Group_3_0_1_1_1_1__1__Impl"
3884 // InternalProblem.g:1193:1: rule__ClassDeclaration__Group_3_0_1_1_1_1__1__Impl : ( ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1 ) ) ;
3885 public final void rule__ClassDeclaration__Group_3_0_1_1_1_1__1__Impl() throws RecognitionException {
3886
3887 int stackSize = keepStackSize();
3888
3889 try {
3890 // InternalProblem.g:1197:1: ( ( ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1 ) ) )
3891 // InternalProblem.g:1198:1: ( ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1 ) )
3892 {
3893 // InternalProblem.g:1198:1: ( ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1 ) )
3894 // InternalProblem.g:1199:2: ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1 )
3895 {
3896 before(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_1_1_1_1());
3897 // InternalProblem.g:1200:2: ( rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1 )
3898 // InternalProblem.g:1200:3: rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1
3899 {
3900 pushFollow(FOLLOW_2);
3901 rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1();
3902
3903 state._fsp--;
3904
3905
3906 }
3907
3908 after(grammarAccess.getClassDeclarationAccess().getSuperTypesAssignment_3_0_1_1_1_1_1());
3909
3910 }
3911
3912
3913 }
3914
3915 }
3916 catch (RecognitionException re) {
3917 reportError(re);
3918 recover(input,re);
3919 }
3920 finally {
3921
3922 restoreStackSize(stackSize);
3923
3924 }
3925 return ;
3926 }
3927 // $ANTLR end "rule__ClassDeclaration__Group_3_0_1_1_1_1__1__Impl"
3928
3929
3930 // $ANTLR start "rule__ClassDeclaration__Group_4__0"
3931 // InternalProblem.g:1209:1: rule__ClassDeclaration__Group_4__0 : rule__ClassDeclaration__Group_4__0__Impl rule__ClassDeclaration__Group_4__1 ;
3932 public final void rule__ClassDeclaration__Group_4__0() throws RecognitionException {
3933
3934 int stackSize = keepStackSize();
3935
3936 try {
3937 // InternalProblem.g:1213:1: ( rule__ClassDeclaration__Group_4__0__Impl rule__ClassDeclaration__Group_4__1 )
3938 // InternalProblem.g:1214:2: rule__ClassDeclaration__Group_4__0__Impl rule__ClassDeclaration__Group_4__1
3939 {
3940 pushFollow(FOLLOW_11);
3941 rule__ClassDeclaration__Group_4__0__Impl();
3942
3943 state._fsp--;
3944
3945 pushFollow(FOLLOW_2);
3946 rule__ClassDeclaration__Group_4__1();
3947
3948 state._fsp--;
3949
3950
3951 }
3952
3953 }
3954 catch (RecognitionException re) {
3955 reportError(re);
3956 recover(input,re);
3957 }
3958 finally {
3959
3960 restoreStackSize(stackSize);
3961
3962 }
3963 return ;
3964 }
3965 // $ANTLR end "rule__ClassDeclaration__Group_4__0"
3966
3967
3968 // $ANTLR start "rule__ClassDeclaration__Group_4__0__Impl"
3969 // InternalProblem.g:1221:1: rule__ClassDeclaration__Group_4__0__Impl : ( ',' ) ;
3970 public final void rule__ClassDeclaration__Group_4__0__Impl() throws RecognitionException {
3971
3972 int stackSize = keepStackSize();
3973
3974 try {
3975 // InternalProblem.g:1225:1: ( ( ',' ) )
3976 // InternalProblem.g:1226:1: ( ',' )
3977 {
3978 // InternalProblem.g:1226:1: ( ',' )
3979 // InternalProblem.g:1227:2: ','
3980 {
3981 before(grammarAccess.getClassDeclarationAccess().getCommaKeyword_4_0());
3982 match(input,25,FOLLOW_2);
3983 after(grammarAccess.getClassDeclarationAccess().getCommaKeyword_4_0());
3984
3985 }
3986
3987
3988 }
3989
3990 }
3991 catch (RecognitionException re) {
3992 reportError(re);
3993 recover(input,re);
3994 }
3995 finally {
3996
3997 restoreStackSize(stackSize);
3998
3999 }
4000 return ;
4001 }
4002 // $ANTLR end "rule__ClassDeclaration__Group_4__0__Impl"
4003
4004
4005 // $ANTLR start "rule__ClassDeclaration__Group_4__1"
4006 // InternalProblem.g:1236:1: rule__ClassDeclaration__Group_4__1 : rule__ClassDeclaration__Group_4__1__Impl ;
4007 public final void rule__ClassDeclaration__Group_4__1() throws RecognitionException {
4008
4009 int stackSize = keepStackSize();
4010
4011 try {
4012 // InternalProblem.g:1240:1: ( rule__ClassDeclaration__Group_4__1__Impl )
4013 // InternalProblem.g:1241:2: rule__ClassDeclaration__Group_4__1__Impl
4014 {
4015 pushFollow(FOLLOW_2);
4016 rule__ClassDeclaration__Group_4__1__Impl();
4017
4018 state._fsp--;
4019
4020
4021 }
4022
4023 }
4024 catch (RecognitionException re) {
4025 reportError(re);
4026 recover(input,re);
4027 }
4028 finally {
4029
4030 restoreStackSize(stackSize);
4031
4032 }
4033 return ;
4034 }
4035 // $ANTLR end "rule__ClassDeclaration__Group_4__1"
4036
4037
4038 // $ANTLR start "rule__ClassDeclaration__Group_4__1__Impl"
4039 // InternalProblem.g:1247:1: rule__ClassDeclaration__Group_4__1__Impl : ( ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1 ) ) ;
4040 public final void rule__ClassDeclaration__Group_4__1__Impl() throws RecognitionException {
4041
4042 int stackSize = keepStackSize();
4043
4044 try {
4045 // InternalProblem.g:1251:1: ( ( ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1 ) ) )
4046 // InternalProblem.g:1252:1: ( ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1 ) )
4047 {
4048 // InternalProblem.g:1252:1: ( ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1 ) )
4049 // InternalProblem.g:1253:2: ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1 )
4050 {
4051 before(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsAssignment_4_1());
4052 // InternalProblem.g:1254:2: ( rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1 )
4053 // InternalProblem.g:1254:3: rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1
4054 {
4055 pushFollow(FOLLOW_2);
4056 rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1();
4057
4058 state._fsp--;
4059
4060
4061 }
4062
4063 after(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsAssignment_4_1());
4064
4065 }
4066
4067
4068 }
4069
4070 }
4071 catch (RecognitionException re) {
4072 reportError(re);
4073 recover(input,re);
4074 }
4075 finally {
4076
4077 restoreStackSize(stackSize);
4078
4079 }
4080 return ;
4081 }
4082 // $ANTLR end "rule__ClassDeclaration__Group_4__1__Impl"
4083
4084
4085 // $ANTLR start "rule__ReferenceDeclaration__Group__0"
4086 // InternalProblem.g:1263:1: rule__ReferenceDeclaration__Group__0 : rule__ReferenceDeclaration__Group__0__Impl rule__ReferenceDeclaration__Group__1 ;
4087 public final void rule__ReferenceDeclaration__Group__0() throws RecognitionException {
4088
4089 int stackSize = keepStackSize();
4090
4091 try {
4092 // InternalProblem.g:1267:1: ( rule__ReferenceDeclaration__Group__0__Impl rule__ReferenceDeclaration__Group__1 )
4093 // InternalProblem.g:1268:2: rule__ReferenceDeclaration__Group__0__Impl rule__ReferenceDeclaration__Group__1
4094 {
4095 pushFollow(FOLLOW_5);
4096 rule__ReferenceDeclaration__Group__0__Impl();
4097
4098 state._fsp--;
4099
4100 pushFollow(FOLLOW_2);
4101 rule__ReferenceDeclaration__Group__1();
4102
4103 state._fsp--;
4104
4105
4106 }
4107
4108 }
4109 catch (RecognitionException re) {
4110 reportError(re);
4111 recover(input,re);
4112 }
4113 finally {
4114
4115 restoreStackSize(stackSize);
4116
4117 }
4118 return ;
4119 }
4120 // $ANTLR end "rule__ReferenceDeclaration__Group__0"
4121
4122
4123 // $ANTLR start "rule__ReferenceDeclaration__Group__0__Impl"
4124 // InternalProblem.g:1275:1: rule__ReferenceDeclaration__Group__0__Impl : ( ( rule__ReferenceDeclaration__Alternatives_0 ) ) ;
4125 public final void rule__ReferenceDeclaration__Group__0__Impl() throws RecognitionException {
4126
4127 int stackSize = keepStackSize();
4128
4129 try {
4130 // InternalProblem.g:1279:1: ( ( ( rule__ReferenceDeclaration__Alternatives_0 ) ) )
4131 // InternalProblem.g:1280:1: ( ( rule__ReferenceDeclaration__Alternatives_0 ) )
4132 {
4133 // InternalProblem.g:1280:1: ( ( rule__ReferenceDeclaration__Alternatives_0 ) )
4134 // InternalProblem.g:1281:2: ( rule__ReferenceDeclaration__Alternatives_0 )
4135 {
4136 before(grammarAccess.getReferenceDeclarationAccess().getAlternatives_0());
4137 // InternalProblem.g:1282:2: ( rule__ReferenceDeclaration__Alternatives_0 )
4138 // InternalProblem.g:1282:3: rule__ReferenceDeclaration__Alternatives_0
4139 {
4140 pushFollow(FOLLOW_2);
4141 rule__ReferenceDeclaration__Alternatives_0();
4142
4143 state._fsp--;
4144
4145
4146 }
4147
4148 after(grammarAccess.getReferenceDeclarationAccess().getAlternatives_0());
4149
4150 }
4151
4152
4153 }
4154
4155 }
4156 catch (RecognitionException re) {
4157 reportError(re);
4158 recover(input,re);
4159 }
4160 finally {
4161
4162 restoreStackSize(stackSize);
4163
4164 }
4165 return ;
4166 }
4167 // $ANTLR end "rule__ReferenceDeclaration__Group__0__Impl"
4168
4169
4170 // $ANTLR start "rule__ReferenceDeclaration__Group__1"
4171 // InternalProblem.g:1290:1: rule__ReferenceDeclaration__Group__1 : rule__ReferenceDeclaration__Group__1__Impl rule__ReferenceDeclaration__Group__2 ;
4172 public final void rule__ReferenceDeclaration__Group__1() throws RecognitionException {
4173
4174 int stackSize = keepStackSize();
4175
4176 try {
4177 // InternalProblem.g:1294:1: ( rule__ReferenceDeclaration__Group__1__Impl rule__ReferenceDeclaration__Group__2 )
4178 // InternalProblem.g:1295:2: rule__ReferenceDeclaration__Group__1__Impl rule__ReferenceDeclaration__Group__2
4179 {
4180 pushFollow(FOLLOW_12);
4181 rule__ReferenceDeclaration__Group__1__Impl();
4182
4183 state._fsp--;
4184
4185 pushFollow(FOLLOW_2);
4186 rule__ReferenceDeclaration__Group__2();
4187
4188 state._fsp--;
4189
4190
4191 }
4192
4193 }
4194 catch (RecognitionException re) {
4195 reportError(re);
4196 recover(input,re);
4197 }
4198 finally {
4199
4200 restoreStackSize(stackSize);
4201
4202 }
4203 return ;
4204 }
4205 // $ANTLR end "rule__ReferenceDeclaration__Group__1"
4206
4207
4208 // $ANTLR start "rule__ReferenceDeclaration__Group__1__Impl"
4209 // InternalProblem.g:1302:1: rule__ReferenceDeclaration__Group__1__Impl : ( ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 ) ) ;
4210 public final void rule__ReferenceDeclaration__Group__1__Impl() throws RecognitionException {
4211
4212 int stackSize = keepStackSize();
4213
4214 try {
4215 // InternalProblem.g:1306:1: ( ( ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 ) ) )
4216 // InternalProblem.g:1307:1: ( ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 ) )
4217 {
4218 // InternalProblem.g:1307:1: ( ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 ) )
4219 // InternalProblem.g:1308:2: ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 )
4220 {
4221 before(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeAssignment_1());
4222 // InternalProblem.g:1309:2: ( rule__ReferenceDeclaration__ReferenceTypeAssignment_1 )
4223 // InternalProblem.g:1309:3: rule__ReferenceDeclaration__ReferenceTypeAssignment_1
4224 {
4225 pushFollow(FOLLOW_2);
4226 rule__ReferenceDeclaration__ReferenceTypeAssignment_1();
4227
4228 state._fsp--;
4229
4230
4231 }
4232
4233 after(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeAssignment_1());
4234
4235 }
4236
4237
4238 }
4239
4240 }
4241 catch (RecognitionException re) {
4242 reportError(re);
4243 recover(input,re);
4244 }
4245 finally {
4246
4247 restoreStackSize(stackSize);
4248
4249 }
4250 return ;
4251 }
4252 // $ANTLR end "rule__ReferenceDeclaration__Group__1__Impl"
4253
4254
4255 // $ANTLR start "rule__ReferenceDeclaration__Group__2"
4256 // InternalProblem.g:1317:1: rule__ReferenceDeclaration__Group__2 : rule__ReferenceDeclaration__Group__2__Impl rule__ReferenceDeclaration__Group__3 ;
4257 public final void rule__ReferenceDeclaration__Group__2() throws RecognitionException {
4258
4259 int stackSize = keepStackSize();
4260
4261 try {
4262 // InternalProblem.g:1321:1: ( rule__ReferenceDeclaration__Group__2__Impl rule__ReferenceDeclaration__Group__3 )
4263 // InternalProblem.g:1322:2: rule__ReferenceDeclaration__Group__2__Impl rule__ReferenceDeclaration__Group__3
4264 {
4265 pushFollow(FOLLOW_13);
4266 rule__ReferenceDeclaration__Group__2__Impl();
4267
4268 state._fsp--;
4269
4270 pushFollow(FOLLOW_2);
4271 rule__ReferenceDeclaration__Group__3();
4272
4273 state._fsp--;
4274
4275
4276 }
4277
4278 }
4279 catch (RecognitionException re) {
4280 reportError(re);
4281 recover(input,re);
4282 }
4283 finally {
4284
4285 restoreStackSize(stackSize);
4286
4287 }
4288 return ;
4289 }
4290 // $ANTLR end "rule__ReferenceDeclaration__Group__2"
4291
4292
4293 // $ANTLR start "rule__ReferenceDeclaration__Group__2__Impl"
4294 // InternalProblem.g:1329:1: rule__ReferenceDeclaration__Group__2__Impl : ( '[' ) ;
4295 public final void rule__ReferenceDeclaration__Group__2__Impl() throws RecognitionException {
4296
4297 int stackSize = keepStackSize();
4298
4299 try {
4300 // InternalProblem.g:1333:1: ( ( '[' ) )
4301 // InternalProblem.g:1334:1: ( '[' )
4302 {
4303 // InternalProblem.g:1334:1: ( '[' )
4304 // InternalProblem.g:1335:2: '['
4305 {
4306 before(grammarAccess.getReferenceDeclarationAccess().getLeftSquareBracketKeyword_2());
4307 match(input,23,FOLLOW_2);
4308 after(grammarAccess.getReferenceDeclarationAccess().getLeftSquareBracketKeyword_2());
4309
4310 }
4311
4312
4313 }
4314
4315 }
4316 catch (RecognitionException re) {
4317 reportError(re);
4318 recover(input,re);
4319 }
4320 finally {
4321
4322 restoreStackSize(stackSize);
4323
4324 }
4325 return ;
4326 }
4327 // $ANTLR end "rule__ReferenceDeclaration__Group__2__Impl"
4328
4329
4330 // $ANTLR start "rule__ReferenceDeclaration__Group__3"
4331 // InternalProblem.g:1344:1: rule__ReferenceDeclaration__Group__3 : rule__ReferenceDeclaration__Group__3__Impl rule__ReferenceDeclaration__Group__4 ;
4332 public final void rule__ReferenceDeclaration__Group__3() throws RecognitionException {
4333
4334 int stackSize = keepStackSize();
4335
4336 try {
4337 // InternalProblem.g:1348:1: ( rule__ReferenceDeclaration__Group__3__Impl rule__ReferenceDeclaration__Group__4 )
4338 // InternalProblem.g:1349:2: rule__ReferenceDeclaration__Group__3__Impl rule__ReferenceDeclaration__Group__4
4339 {
4340 pushFollow(FOLLOW_14);
4341 rule__ReferenceDeclaration__Group__3__Impl();
4342
4343 state._fsp--;
4344
4345 pushFollow(FOLLOW_2);
4346 rule__ReferenceDeclaration__Group__4();
4347
4348 state._fsp--;
4349
4350
4351 }
4352
4353 }
4354 catch (RecognitionException re) {
4355 reportError(re);
4356 recover(input,re);
4357 }
4358 finally {
4359
4360 restoreStackSize(stackSize);
4361
4362 }
4363 return ;
4364 }
4365 // $ANTLR end "rule__ReferenceDeclaration__Group__3"
4366
4367
4368 // $ANTLR start "rule__ReferenceDeclaration__Group__3__Impl"
4369 // InternalProblem.g:1356:1: rule__ReferenceDeclaration__Group__3__Impl : ( ( rule__ReferenceDeclaration__MultiplicityAssignment_3 ) ) ;
4370 public final void rule__ReferenceDeclaration__Group__3__Impl() throws RecognitionException {
4371
4372 int stackSize = keepStackSize();
4373
4374 try {
4375 // InternalProblem.g:1360:1: ( ( ( rule__ReferenceDeclaration__MultiplicityAssignment_3 ) ) )
4376 // InternalProblem.g:1361:1: ( ( rule__ReferenceDeclaration__MultiplicityAssignment_3 ) )
4377 {
4378 // InternalProblem.g:1361:1: ( ( rule__ReferenceDeclaration__MultiplicityAssignment_3 ) )
4379 // InternalProblem.g:1362:2: ( rule__ReferenceDeclaration__MultiplicityAssignment_3 )
4380 {
4381 before(grammarAccess.getReferenceDeclarationAccess().getMultiplicityAssignment_3());
4382 // InternalProblem.g:1363:2: ( rule__ReferenceDeclaration__MultiplicityAssignment_3 )
4383 // InternalProblem.g:1363:3: rule__ReferenceDeclaration__MultiplicityAssignment_3
4384 {
4385 pushFollow(FOLLOW_2);
4386 rule__ReferenceDeclaration__MultiplicityAssignment_3();
4387
4388 state._fsp--;
4389
4390
4391 }
4392
4393 after(grammarAccess.getReferenceDeclarationAccess().getMultiplicityAssignment_3());
4394
4395 }
4396
4397
4398 }
4399
4400 }
4401 catch (RecognitionException re) {
4402 reportError(re);
4403 recover(input,re);
4404 }
4405 finally {
4406
4407 restoreStackSize(stackSize);
4408
4409 }
4410 return ;
4411 }
4412 // $ANTLR end "rule__ReferenceDeclaration__Group__3__Impl"
4413
4414
4415 // $ANTLR start "rule__ReferenceDeclaration__Group__4"
4416 // InternalProblem.g:1371:1: rule__ReferenceDeclaration__Group__4 : rule__ReferenceDeclaration__Group__4__Impl rule__ReferenceDeclaration__Group__5 ;
4417 public final void rule__ReferenceDeclaration__Group__4() throws RecognitionException {
4418
4419 int stackSize = keepStackSize();
4420
4421 try {
4422 // InternalProblem.g:1375:1: ( rule__ReferenceDeclaration__Group__4__Impl rule__ReferenceDeclaration__Group__5 )
4423 // InternalProblem.g:1376:2: rule__ReferenceDeclaration__Group__4__Impl rule__ReferenceDeclaration__Group__5
4424 {
4425 pushFollow(FOLLOW_5);
4426 rule__ReferenceDeclaration__Group__4__Impl();
4427
4428 state._fsp--;
4429
4430 pushFollow(FOLLOW_2);
4431 rule__ReferenceDeclaration__Group__5();
4432
4433 state._fsp--;
4434
4435
4436 }
4437
4438 }
4439 catch (RecognitionException re) {
4440 reportError(re);
4441 recover(input,re);
4442 }
4443 finally {
4444
4445 restoreStackSize(stackSize);
4446
4447 }
4448 return ;
4449 }
4450 // $ANTLR end "rule__ReferenceDeclaration__Group__4"
4451
4452
4453 // $ANTLR start "rule__ReferenceDeclaration__Group__4__Impl"
4454 // InternalProblem.g:1383:1: rule__ReferenceDeclaration__Group__4__Impl : ( ']' ) ;
4455 public final void rule__ReferenceDeclaration__Group__4__Impl() throws RecognitionException {
4456
4457 int stackSize = keepStackSize();
4458
4459 try {
4460 // InternalProblem.g:1387:1: ( ( ']' ) )
4461 // InternalProblem.g:1388:1: ( ']' )
4462 {
4463 // InternalProblem.g:1388:1: ( ']' )
4464 // InternalProblem.g:1389:2: ']'
4465 {
4466 before(grammarAccess.getReferenceDeclarationAccess().getRightSquareBracketKeyword_4());
4467 match(input,24,FOLLOW_2);
4468 after(grammarAccess.getReferenceDeclarationAccess().getRightSquareBracketKeyword_4());
4469
4470 }
4471
4472
4473 }
4474
4475 }
4476 catch (RecognitionException re) {
4477 reportError(re);
4478 recover(input,re);
4479 }
4480 finally {
4481
4482 restoreStackSize(stackSize);
4483
4484 }
4485 return ;
4486 }
4487 // $ANTLR end "rule__ReferenceDeclaration__Group__4__Impl"
4488
4489
4490 // $ANTLR start "rule__ReferenceDeclaration__Group__5"
4491 // InternalProblem.g:1398:1: rule__ReferenceDeclaration__Group__5 : rule__ReferenceDeclaration__Group__5__Impl rule__ReferenceDeclaration__Group__6 ;
4492 public final void rule__ReferenceDeclaration__Group__5() throws RecognitionException {
4493
4494 int stackSize = keepStackSize();
4495
4496 try {
4497 // InternalProblem.g:1402:1: ( rule__ReferenceDeclaration__Group__5__Impl rule__ReferenceDeclaration__Group__6 )
4498 // InternalProblem.g:1403:2: rule__ReferenceDeclaration__Group__5__Impl rule__ReferenceDeclaration__Group__6
4499 {
4500 pushFollow(FOLLOW_15);
4501 rule__ReferenceDeclaration__Group__5__Impl();
4502
4503 state._fsp--;
4504
4505 pushFollow(FOLLOW_2);
4506 rule__ReferenceDeclaration__Group__6();
4507
4508 state._fsp--;
4509
4510
4511 }
4512
4513 }
4514 catch (RecognitionException re) {
4515 reportError(re);
4516 recover(input,re);
4517 }
4518 finally {
4519
4520 restoreStackSize(stackSize);
4521
4522 }
4523 return ;
4524 }
4525 // $ANTLR end "rule__ReferenceDeclaration__Group__5"
4526
4527
4528 // $ANTLR start "rule__ReferenceDeclaration__Group__5__Impl"
4529 // InternalProblem.g:1410:1: rule__ReferenceDeclaration__Group__5__Impl : ( ( rule__ReferenceDeclaration__NameAssignment_5 ) ) ;
4530 public final void rule__ReferenceDeclaration__Group__5__Impl() throws RecognitionException {
4531
4532 int stackSize = keepStackSize();
4533
4534 try {
4535 // InternalProblem.g:1414:1: ( ( ( rule__ReferenceDeclaration__NameAssignment_5 ) ) )
4536 // InternalProblem.g:1415:1: ( ( rule__ReferenceDeclaration__NameAssignment_5 ) )
4537 {
4538 // InternalProblem.g:1415:1: ( ( rule__ReferenceDeclaration__NameAssignment_5 ) )
4539 // InternalProblem.g:1416:2: ( rule__ReferenceDeclaration__NameAssignment_5 )
4540 {
4541 before(grammarAccess.getReferenceDeclarationAccess().getNameAssignment_5());
4542 // InternalProblem.g:1417:2: ( rule__ReferenceDeclaration__NameAssignment_5 )
4543 // InternalProblem.g:1417:3: rule__ReferenceDeclaration__NameAssignment_5
4544 {
4545 pushFollow(FOLLOW_2);
4546 rule__ReferenceDeclaration__NameAssignment_5();
4547
4548 state._fsp--;
4549
4550
4551 }
4552
4553 after(grammarAccess.getReferenceDeclarationAccess().getNameAssignment_5());
4554
4555 }
4556
4557
4558 }
4559
4560 }
4561 catch (RecognitionException re) {
4562 reportError(re);
4563 recover(input,re);
4564 }
4565 finally {
4566
4567 restoreStackSize(stackSize);
4568
4569 }
4570 return ;
4571 }
4572 // $ANTLR end "rule__ReferenceDeclaration__Group__5__Impl"
4573
4574
4575 // $ANTLR start "rule__ReferenceDeclaration__Group__6"
4576 // InternalProblem.g:1425:1: rule__ReferenceDeclaration__Group__6 : rule__ReferenceDeclaration__Group__6__Impl ;
4577 public final void rule__ReferenceDeclaration__Group__6() throws RecognitionException {
4578
4579 int stackSize = keepStackSize();
4580
4581 try {
4582 // InternalProblem.g:1429:1: ( rule__ReferenceDeclaration__Group__6__Impl )
4583 // InternalProblem.g:1430:2: rule__ReferenceDeclaration__Group__6__Impl
4584 {
4585 pushFollow(FOLLOW_2);
4586 rule__ReferenceDeclaration__Group__6__Impl();
4587
4588 state._fsp--;
4589
4590
4591 }
4592
4593 }
4594 catch (RecognitionException re) {
4595 reportError(re);
4596 recover(input,re);
4597 }
4598 finally {
4599
4600 restoreStackSize(stackSize);
4601
4602 }
4603 return ;
4604 }
4605 // $ANTLR end "rule__ReferenceDeclaration__Group__6"
4606
4607
4608 // $ANTLR start "rule__ReferenceDeclaration__Group__6__Impl"
4609 // InternalProblem.g:1436:1: rule__ReferenceDeclaration__Group__6__Impl : ( ( rule__ReferenceDeclaration__Group_6__0 )? ) ;
4610 public final void rule__ReferenceDeclaration__Group__6__Impl() throws RecognitionException {
4611
4612 int stackSize = keepStackSize();
4613
4614 try {
4615 // InternalProblem.g:1440:1: ( ( ( rule__ReferenceDeclaration__Group_6__0 )? ) )
4616 // InternalProblem.g:1441:1: ( ( rule__ReferenceDeclaration__Group_6__0 )? )
4617 {
4618 // InternalProblem.g:1441:1: ( ( rule__ReferenceDeclaration__Group_6__0 )? )
4619 // InternalProblem.g:1442:2: ( rule__ReferenceDeclaration__Group_6__0 )?
4620 {
4621 before(grammarAccess.getReferenceDeclarationAccess().getGroup_6());
4622 // InternalProblem.g:1443:2: ( rule__ReferenceDeclaration__Group_6__0 )?
4623 int alt19=2;
4624 int LA19_0 = input.LA(1);
4625
4626 if ( (LA19_0==26) ) {
4627 alt19=1;
4628 }
4629 switch (alt19) {
4630 case 1 :
4631 // InternalProblem.g:1443:3: rule__ReferenceDeclaration__Group_6__0
4632 {
4633 pushFollow(FOLLOW_2);
4634 rule__ReferenceDeclaration__Group_6__0();
4635
4636 state._fsp--;
4637
4638
4639 }
4640 break;
4641
4642 }
4643
4644 after(grammarAccess.getReferenceDeclarationAccess().getGroup_6());
4645
4646 }
4647
4648
4649 }
4650
4651 }
4652 catch (RecognitionException re) {
4653 reportError(re);
4654 recover(input,re);
4655 }
4656 finally {
4657
4658 restoreStackSize(stackSize);
4659
4660 }
4661 return ;
4662 }
4663 // $ANTLR end "rule__ReferenceDeclaration__Group__6__Impl"
4664
4665
4666 // $ANTLR start "rule__ReferenceDeclaration__Group_6__0"
4667 // InternalProblem.g:1452:1: rule__ReferenceDeclaration__Group_6__0 : rule__ReferenceDeclaration__Group_6__0__Impl rule__ReferenceDeclaration__Group_6__1 ;
4668 public final void rule__ReferenceDeclaration__Group_6__0() throws RecognitionException {
4669
4670 int stackSize = keepStackSize();
4671
4672 try {
4673 // InternalProblem.g:1456:1: ( rule__ReferenceDeclaration__Group_6__0__Impl rule__ReferenceDeclaration__Group_6__1 )
4674 // InternalProblem.g:1457:2: rule__ReferenceDeclaration__Group_6__0__Impl rule__ReferenceDeclaration__Group_6__1
4675 {
4676 pushFollow(FOLLOW_5);
4677 rule__ReferenceDeclaration__Group_6__0__Impl();
4678
4679 state._fsp--;
4680
4681 pushFollow(FOLLOW_2);
4682 rule__ReferenceDeclaration__Group_6__1();
4683
4684 state._fsp--;
4685
4686
4687 }
4688
4689 }
4690 catch (RecognitionException re) {
4691 reportError(re);
4692 recover(input,re);
4693 }
4694 finally {
4695
4696 restoreStackSize(stackSize);
4697
4698 }
4699 return ;
4700 }
4701 // $ANTLR end "rule__ReferenceDeclaration__Group_6__0"
4702
4703
4704 // $ANTLR start "rule__ReferenceDeclaration__Group_6__0__Impl"
4705 // InternalProblem.g:1464:1: rule__ReferenceDeclaration__Group_6__0__Impl : ( 'opposite' ) ;
4706 public final void rule__ReferenceDeclaration__Group_6__0__Impl() throws RecognitionException {
4707
4708 int stackSize = keepStackSize();
4709
4710 try {
4711 // InternalProblem.g:1468:1: ( ( 'opposite' ) )
4712 // InternalProblem.g:1469:1: ( 'opposite' )
4713 {
4714 // InternalProblem.g:1469:1: ( 'opposite' )
4715 // InternalProblem.g:1470:2: 'opposite'
4716 {
4717 before(grammarAccess.getReferenceDeclarationAccess().getOppositeKeyword_6_0());
4718 match(input,26,FOLLOW_2);
4719 after(grammarAccess.getReferenceDeclarationAccess().getOppositeKeyword_6_0());
4720
4721 }
4722
4723
4724 }
4725
4726 }
4727 catch (RecognitionException re) {
4728 reportError(re);
4729 recover(input,re);
4730 }
4731 finally {
4732
4733 restoreStackSize(stackSize);
4734
4735 }
4736 return ;
4737 }
4738 // $ANTLR end "rule__ReferenceDeclaration__Group_6__0__Impl"
4739
4740
4741 // $ANTLR start "rule__ReferenceDeclaration__Group_6__1"
4742 // InternalProblem.g:1479:1: rule__ReferenceDeclaration__Group_6__1 : rule__ReferenceDeclaration__Group_6__1__Impl ;
4743 public final void rule__ReferenceDeclaration__Group_6__1() throws RecognitionException {
4744
4745 int stackSize = keepStackSize();
4746
4747 try {
4748 // InternalProblem.g:1483:1: ( rule__ReferenceDeclaration__Group_6__1__Impl )
4749 // InternalProblem.g:1484:2: rule__ReferenceDeclaration__Group_6__1__Impl
4750 {
4751 pushFollow(FOLLOW_2);
4752 rule__ReferenceDeclaration__Group_6__1__Impl();
4753
4754 state._fsp--;
4755
4756
4757 }
4758
4759 }
4760 catch (RecognitionException re) {
4761 reportError(re);
4762 recover(input,re);
4763 }
4764 finally {
4765
4766 restoreStackSize(stackSize);
4767
4768 }
4769 return ;
4770 }
4771 // $ANTLR end "rule__ReferenceDeclaration__Group_6__1"
4772
4773
4774 // $ANTLR start "rule__ReferenceDeclaration__Group_6__1__Impl"
4775 // InternalProblem.g:1490:1: rule__ReferenceDeclaration__Group_6__1__Impl : ( ( rule__ReferenceDeclaration__OppositeAssignment_6_1 ) ) ;
4776 public final void rule__ReferenceDeclaration__Group_6__1__Impl() throws RecognitionException {
4777
4778 int stackSize = keepStackSize();
4779
4780 try {
4781 // InternalProblem.g:1494:1: ( ( ( rule__ReferenceDeclaration__OppositeAssignment_6_1 ) ) )
4782 // InternalProblem.g:1495:1: ( ( rule__ReferenceDeclaration__OppositeAssignment_6_1 ) )
4783 {
4784 // InternalProblem.g:1495:1: ( ( rule__ReferenceDeclaration__OppositeAssignment_6_1 ) )
4785 // InternalProblem.g:1496:2: ( rule__ReferenceDeclaration__OppositeAssignment_6_1 )
4786 {
4787 before(grammarAccess.getReferenceDeclarationAccess().getOppositeAssignment_6_1());
4788 // InternalProblem.g:1497:2: ( rule__ReferenceDeclaration__OppositeAssignment_6_1 )
4789 // InternalProblem.g:1497:3: rule__ReferenceDeclaration__OppositeAssignment_6_1
4790 {
4791 pushFollow(FOLLOW_2);
4792 rule__ReferenceDeclaration__OppositeAssignment_6_1();
4793
4794 state._fsp--;
4795
4796
4797 }
4798
4799 after(grammarAccess.getReferenceDeclarationAccess().getOppositeAssignment_6_1());
4800
4801 }
4802
4803
4804 }
4805
4806 }
4807 catch (RecognitionException re) {
4808 reportError(re);
4809 recover(input,re);
4810 }
4811 finally {
4812
4813 restoreStackSize(stackSize);
4814
4815 }
4816 return ;
4817 }
4818 // $ANTLR end "rule__ReferenceDeclaration__Group_6__1__Impl"
4819
4820
4821 // $ANTLR start "rule__PredicateDefinition__Group__0"
4822 // InternalProblem.g:1506:1: rule__PredicateDefinition__Group__0 : rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 ;
4823 public final void rule__PredicateDefinition__Group__0() throws RecognitionException {
4824
4825 int stackSize = keepStackSize();
4826
4827 try {
4828 // InternalProblem.g:1510:1: ( rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1 )
4829 // InternalProblem.g:1511:2: rule__PredicateDefinition__Group__0__Impl rule__PredicateDefinition__Group__1
4830 {
4831 pushFollow(FOLLOW_5);
4832 rule__PredicateDefinition__Group__0__Impl();
4833
4834 state._fsp--;
4835
4836 pushFollow(FOLLOW_2);
4837 rule__PredicateDefinition__Group__1();
4838
4839 state._fsp--;
4840
4841
4842 }
4843
4844 }
4845 catch (RecognitionException re) {
4846 reportError(re);
4847 recover(input,re);
4848 }
4849 finally {
4850
4851 restoreStackSize(stackSize);
4852
4853 }
4854 return ;
4855 }
4856 // $ANTLR end "rule__PredicateDefinition__Group__0"
4857
4858
4859 // $ANTLR start "rule__PredicateDefinition__Group__0__Impl"
4860 // InternalProblem.g:1518:1: rule__PredicateDefinition__Group__0__Impl : ( ( rule__PredicateDefinition__Alternatives_0 ) ) ;
4861 public final void rule__PredicateDefinition__Group__0__Impl() throws RecognitionException {
4862
4863 int stackSize = keepStackSize();
4864
4865 try {
4866 // InternalProblem.g:1522:1: ( ( ( rule__PredicateDefinition__Alternatives_0 ) ) )
4867 // InternalProblem.g:1523:1: ( ( rule__PredicateDefinition__Alternatives_0 ) )
4868 {
4869 // InternalProblem.g:1523:1: ( ( rule__PredicateDefinition__Alternatives_0 ) )
4870 // InternalProblem.g:1524:2: ( rule__PredicateDefinition__Alternatives_0 )
4871 {
4872 before(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0());
4873 // InternalProblem.g:1525:2: ( rule__PredicateDefinition__Alternatives_0 )
4874 // InternalProblem.g:1525:3: rule__PredicateDefinition__Alternatives_0
4875 {
4876 pushFollow(FOLLOW_2);
4877 rule__PredicateDefinition__Alternatives_0();
4878
4879 state._fsp--;
4880
4881
4882 }
4883
4884 after(grammarAccess.getPredicateDefinitionAccess().getAlternatives_0());
4885
4886 }
4887
4888
4889 }
4890
4891 }
4892 catch (RecognitionException re) {
4893 reportError(re);
4894 recover(input,re);
4895 }
4896 finally {
4897
4898 restoreStackSize(stackSize);
4899
4900 }
4901 return ;
4902 }
4903 // $ANTLR end "rule__PredicateDefinition__Group__0__Impl"
4904
4905
4906 // $ANTLR start "rule__PredicateDefinition__Group__1"
4907 // InternalProblem.g:1533:1: rule__PredicateDefinition__Group__1 : rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 ;
4908 public final void rule__PredicateDefinition__Group__1() throws RecognitionException {
4909
4910 int stackSize = keepStackSize();
4911
4912 try {
4913 // InternalProblem.g:1537:1: ( rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2 )
4914 // InternalProblem.g:1538:2: rule__PredicateDefinition__Group__1__Impl rule__PredicateDefinition__Group__2
4915 {
4916 pushFollow(FOLLOW_16);
4917 rule__PredicateDefinition__Group__1__Impl();
4918
4919 state._fsp--;
4920
4921 pushFollow(FOLLOW_2);
4922 rule__PredicateDefinition__Group__2();
4923
4924 state._fsp--;
4925
4926
4927 }
4928
4929 }
4930 catch (RecognitionException re) {
4931 reportError(re);
4932 recover(input,re);
4933 }
4934 finally {
4935
4936 restoreStackSize(stackSize);
4937
4938 }
4939 return ;
4940 }
4941 // $ANTLR end "rule__PredicateDefinition__Group__1"
4942
4943
4944 // $ANTLR start "rule__PredicateDefinition__Group__1__Impl"
4945 // InternalProblem.g:1545:1: rule__PredicateDefinition__Group__1__Impl : ( ( rule__PredicateDefinition__NameAssignment_1 ) ) ;
4946 public final void rule__PredicateDefinition__Group__1__Impl() throws RecognitionException {
4947
4948 int stackSize = keepStackSize();
4949
4950 try {
4951 // InternalProblem.g:1549:1: ( ( ( rule__PredicateDefinition__NameAssignment_1 ) ) )
4952 // InternalProblem.g:1550:1: ( ( rule__PredicateDefinition__NameAssignment_1 ) )
4953 {
4954 // InternalProblem.g:1550:1: ( ( rule__PredicateDefinition__NameAssignment_1 ) )
4955 // InternalProblem.g:1551:2: ( rule__PredicateDefinition__NameAssignment_1 )
4956 {
4957 before(grammarAccess.getPredicateDefinitionAccess().getNameAssignment_1());
4958 // InternalProblem.g:1552:2: ( rule__PredicateDefinition__NameAssignment_1 )
4959 // InternalProblem.g:1552:3: rule__PredicateDefinition__NameAssignment_1
4960 {
4961 pushFollow(FOLLOW_2);
4962 rule__PredicateDefinition__NameAssignment_1();
4963
4964 state._fsp--;
4965
4966
4967 }
4968
4969 after(grammarAccess.getPredicateDefinitionAccess().getNameAssignment_1());
4970
4971 }
4972
4973
4974 }
4975
4976 }
4977 catch (RecognitionException re) {
4978 reportError(re);
4979 recover(input,re);
4980 }
4981 finally {
4982
4983 restoreStackSize(stackSize);
4984
4985 }
4986 return ;
4987 }
4988 // $ANTLR end "rule__PredicateDefinition__Group__1__Impl"
4989
4990
4991 // $ANTLR start "rule__PredicateDefinition__Group__2"
4992 // InternalProblem.g:1560:1: rule__PredicateDefinition__Group__2 : rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 ;
4993 public final void rule__PredicateDefinition__Group__2() throws RecognitionException {
4994
4995 int stackSize = keepStackSize();
4996
4997 try {
4998 // InternalProblem.g:1564:1: ( rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3 )
4999 // InternalProblem.g:1565:2: rule__PredicateDefinition__Group__2__Impl rule__PredicateDefinition__Group__3
5000 {
5001 pushFollow(FOLLOW_17);
5002 rule__PredicateDefinition__Group__2__Impl();
5003
5004 state._fsp--;
5005
5006 pushFollow(FOLLOW_2);
5007 rule__PredicateDefinition__Group__3();
5008
5009 state._fsp--;
5010
5011
5012 }
5013
5014 }
5015 catch (RecognitionException re) {
5016 reportError(re);
5017 recover(input,re);
5018 }
5019 finally {
5020
5021 restoreStackSize(stackSize);
5022
5023 }
5024 return ;
5025 }
5026 // $ANTLR end "rule__PredicateDefinition__Group__2"
5027
5028
5029 // $ANTLR start "rule__PredicateDefinition__Group__2__Impl"
5030 // InternalProblem.g:1572:1: rule__PredicateDefinition__Group__2__Impl : ( '(' ) ;
5031 public final void rule__PredicateDefinition__Group__2__Impl() throws RecognitionException {
5032
5033 int stackSize = keepStackSize();
5034
5035 try {
5036 // InternalProblem.g:1576:1: ( ( '(' ) )
5037 // InternalProblem.g:1577:1: ( '(' )
5038 {
5039 // InternalProblem.g:1577:1: ( '(' )
5040 // InternalProblem.g:1578:2: '('
5041 {
5042 before(grammarAccess.getPredicateDefinitionAccess().getLeftParenthesisKeyword_2());
5043 match(input,27,FOLLOW_2);
5044 after(grammarAccess.getPredicateDefinitionAccess().getLeftParenthesisKeyword_2());
5045
5046 }
5047
5048
5049 }
5050
5051 }
5052 catch (RecognitionException re) {
5053 reportError(re);
5054 recover(input,re);
5055 }
5056 finally {
5057
5058 restoreStackSize(stackSize);
5059
5060 }
5061 return ;
5062 }
5063 // $ANTLR end "rule__PredicateDefinition__Group__2__Impl"
5064
5065
5066 // $ANTLR start "rule__PredicateDefinition__Group__3"
5067 // InternalProblem.g:1587:1: rule__PredicateDefinition__Group__3 : rule__PredicateDefinition__Group__3__Impl rule__PredicateDefinition__Group__4 ;
5068 public final void rule__PredicateDefinition__Group__3() throws RecognitionException {
5069
5070 int stackSize = keepStackSize();
5071
5072 try {
5073 // InternalProblem.g:1591:1: ( rule__PredicateDefinition__Group__3__Impl rule__PredicateDefinition__Group__4 )
5074 // InternalProblem.g:1592:2: rule__PredicateDefinition__Group__3__Impl rule__PredicateDefinition__Group__4
5075 {
5076 pushFollow(FOLLOW_17);
5077 rule__PredicateDefinition__Group__3__Impl();
5078
5079 state._fsp--;
5080
5081 pushFollow(FOLLOW_2);
5082 rule__PredicateDefinition__Group__4();
5083
5084 state._fsp--;
5085
5086
5087 }
5088
5089 }
5090 catch (RecognitionException re) {
5091 reportError(re);
5092 recover(input,re);
5093 }
5094 finally {
5095
5096 restoreStackSize(stackSize);
5097
5098 }
5099 return ;
5100 }
5101 // $ANTLR end "rule__PredicateDefinition__Group__3"
5102
5103
5104 // $ANTLR start "rule__PredicateDefinition__Group__3__Impl"
5105 // InternalProblem.g:1599:1: rule__PredicateDefinition__Group__3__Impl : ( ( rule__PredicateDefinition__Group_3__0 )? ) ;
5106 public final void rule__PredicateDefinition__Group__3__Impl() throws RecognitionException {
5107
5108 int stackSize = keepStackSize();
5109
5110 try {
5111 // InternalProblem.g:1603:1: ( ( ( rule__PredicateDefinition__Group_3__0 )? ) )
5112 // InternalProblem.g:1604:1: ( ( rule__PredicateDefinition__Group_3__0 )? )
5113 {
5114 // InternalProblem.g:1604:1: ( ( rule__PredicateDefinition__Group_3__0 )? )
5115 // InternalProblem.g:1605:2: ( rule__PredicateDefinition__Group_3__0 )?
5116 {
5117 before(grammarAccess.getPredicateDefinitionAccess().getGroup_3());
5118 // InternalProblem.g:1606:2: ( rule__PredicateDefinition__Group_3__0 )?
5119 int alt20=2;
5120 int LA20_0 = input.LA(1);
5121
5122 if ( (LA20_0==RULE_ID) ) {
5123 alt20=1;
5124 }
5125 switch (alt20) {
5126 case 1 :
5127 // InternalProblem.g:1606:3: rule__PredicateDefinition__Group_3__0
5128 {
5129 pushFollow(FOLLOW_2);
5130 rule__PredicateDefinition__Group_3__0();
5131
5132 state._fsp--;
5133
5134
5135 }
5136 break;
5137
5138 }
5139
5140 after(grammarAccess.getPredicateDefinitionAccess().getGroup_3());
5141
5142 }
5143
5144
5145 }
5146
5147 }
5148 catch (RecognitionException re) {
5149 reportError(re);
5150 recover(input,re);
5151 }
5152 finally {
5153
5154 restoreStackSize(stackSize);
5155
5156 }
5157 return ;
5158 }
5159 // $ANTLR end "rule__PredicateDefinition__Group__3__Impl"
5160
5161
5162 // $ANTLR start "rule__PredicateDefinition__Group__4"
5163 // InternalProblem.g:1614:1: rule__PredicateDefinition__Group__4 : rule__PredicateDefinition__Group__4__Impl rule__PredicateDefinition__Group__5 ;
5164 public final void rule__PredicateDefinition__Group__4() throws RecognitionException {
5165
5166 int stackSize = keepStackSize();
5167
5168 try {
5169 // InternalProblem.g:1618:1: ( rule__PredicateDefinition__Group__4__Impl rule__PredicateDefinition__Group__5 )
5170 // InternalProblem.g:1619:2: rule__PredicateDefinition__Group__4__Impl rule__PredicateDefinition__Group__5
5171 {
5172 pushFollow(FOLLOW_18);
5173 rule__PredicateDefinition__Group__4__Impl();
5174
5175 state._fsp--;
5176
5177 pushFollow(FOLLOW_2);
5178 rule__PredicateDefinition__Group__5();
5179
5180 state._fsp--;
5181
5182
5183 }
5184
5185 }
5186 catch (RecognitionException re) {
5187 reportError(re);
5188 recover(input,re);
5189 }
5190 finally {
5191
5192 restoreStackSize(stackSize);
5193
5194 }
5195 return ;
5196 }
5197 // $ANTLR end "rule__PredicateDefinition__Group__4"
5198
5199
5200 // $ANTLR start "rule__PredicateDefinition__Group__4__Impl"
5201 // InternalProblem.g:1626:1: rule__PredicateDefinition__Group__4__Impl : ( ')' ) ;
5202 public final void rule__PredicateDefinition__Group__4__Impl() throws RecognitionException {
5203
5204 int stackSize = keepStackSize();
5205
5206 try {
5207 // InternalProblem.g:1630:1: ( ( ')' ) )
5208 // InternalProblem.g:1631:1: ( ')' )
5209 {
5210 // InternalProblem.g:1631:1: ( ')' )
5211 // InternalProblem.g:1632:2: ')'
5212 {
5213 before(grammarAccess.getPredicateDefinitionAccess().getRightParenthesisKeyword_4());
5214 match(input,28,FOLLOW_2);
5215 after(grammarAccess.getPredicateDefinitionAccess().getRightParenthesisKeyword_4());
5216
5217 }
5218
5219
5220 }
5221
5222 }
5223 catch (RecognitionException re) {
5224 reportError(re);
5225 recover(input,re);
5226 }
5227 finally {
5228
5229 restoreStackSize(stackSize);
5230
5231 }
5232 return ;
5233 }
5234 // $ANTLR end "rule__PredicateDefinition__Group__4__Impl"
5235
5236
5237 // $ANTLR start "rule__PredicateDefinition__Group__5"
5238 // InternalProblem.g:1641:1: rule__PredicateDefinition__Group__5 : rule__PredicateDefinition__Group__5__Impl rule__PredicateDefinition__Group__6 ;
5239 public final void rule__PredicateDefinition__Group__5() throws RecognitionException {
5240
5241 int stackSize = keepStackSize();
5242
5243 try {
5244 // InternalProblem.g:1645:1: ( rule__PredicateDefinition__Group__5__Impl rule__PredicateDefinition__Group__6 )
5245 // InternalProblem.g:1646:2: rule__PredicateDefinition__Group__5__Impl rule__PredicateDefinition__Group__6
5246 {
5247 pushFollow(FOLLOW_18);
5248 rule__PredicateDefinition__Group__5__Impl();
5249
5250 state._fsp--;
5251
5252 pushFollow(FOLLOW_2);
5253 rule__PredicateDefinition__Group__6();
5254
5255 state._fsp--;
5256
5257
5258 }
5259
5260 }
5261 catch (RecognitionException re) {
5262 reportError(re);
5263 recover(input,re);
5264 }
5265 finally {
5266
5267 restoreStackSize(stackSize);
5268
5269 }
5270 return ;
5271 }
5272 // $ANTLR end "rule__PredicateDefinition__Group__5"
5273
5274
5275 // $ANTLR start "rule__PredicateDefinition__Group__5__Impl"
5276 // InternalProblem.g:1653:1: rule__PredicateDefinition__Group__5__Impl : ( ( rule__PredicateDefinition__Group_5__0 )? ) ;
5277 public final void rule__PredicateDefinition__Group__5__Impl() throws RecognitionException {
5278
5279 int stackSize = keepStackSize();
5280
5281 try {
5282 // InternalProblem.g:1657:1: ( ( ( rule__PredicateDefinition__Group_5__0 )? ) )
5283 // InternalProblem.g:1658:1: ( ( rule__PredicateDefinition__Group_5__0 )? )
5284 {
5285 // InternalProblem.g:1658:1: ( ( rule__PredicateDefinition__Group_5__0 )? )
5286 // InternalProblem.g:1659:2: ( rule__PredicateDefinition__Group_5__0 )?
5287 {
5288 before(grammarAccess.getPredicateDefinitionAccess().getGroup_5());
5289 // InternalProblem.g:1660:2: ( rule__PredicateDefinition__Group_5__0 )?
5290 int alt21=2;
5291 int LA21_0 = input.LA(1);
5292
5293 if ( (LA21_0==29) ) {
5294 alt21=1;
5295 }
5296 switch (alt21) {
5297 case 1 :
5298 // InternalProblem.g:1660:3: rule__PredicateDefinition__Group_5__0
5299 {
5300 pushFollow(FOLLOW_2);
5301 rule__PredicateDefinition__Group_5__0();
5302
5303 state._fsp--;
5304
5305
5306 }
5307 break;
5308
5309 }
5310
5311 after(grammarAccess.getPredicateDefinitionAccess().getGroup_5());
5312
5313 }
5314
5315
5316 }
5317
5318 }
5319 catch (RecognitionException re) {
5320 reportError(re);
5321 recover(input,re);
5322 }
5323 finally {
5324
5325 restoreStackSize(stackSize);
5326
5327 }
5328 return ;
5329 }
5330 // $ANTLR end "rule__PredicateDefinition__Group__5__Impl"
5331
5332
5333 // $ANTLR start "rule__PredicateDefinition__Group__6"
5334 // InternalProblem.g:1668:1: rule__PredicateDefinition__Group__6 : rule__PredicateDefinition__Group__6__Impl ;
5335 public final void rule__PredicateDefinition__Group__6() throws RecognitionException {
5336
5337 int stackSize = keepStackSize();
5338
5339 try {
5340 // InternalProblem.g:1672:1: ( rule__PredicateDefinition__Group__6__Impl )
5341 // InternalProblem.g:1673:2: rule__PredicateDefinition__Group__6__Impl
5342 {
5343 pushFollow(FOLLOW_2);
5344 rule__PredicateDefinition__Group__6__Impl();
5345
5346 state._fsp--;
5347
5348
5349 }
5350
5351 }
5352 catch (RecognitionException re) {
5353 reportError(re);
5354 recover(input,re);
5355 }
5356 finally {
5357
5358 restoreStackSize(stackSize);
5359
5360 }
5361 return ;
5362 }
5363 // $ANTLR end "rule__PredicateDefinition__Group__6"
5364
5365
5366 // $ANTLR start "rule__PredicateDefinition__Group__6__Impl"
5367 // InternalProblem.g:1679:1: rule__PredicateDefinition__Group__6__Impl : ( '.' ) ;
5368 public final void rule__PredicateDefinition__Group__6__Impl() throws RecognitionException {
5369
5370 int stackSize = keepStackSize();
5371
5372 try {
5373 // InternalProblem.g:1683:1: ( ( '.' ) )
5374 // InternalProblem.g:1684:1: ( '.' )
5375 {
5376 // InternalProblem.g:1684:1: ( '.' )
5377 // InternalProblem.g:1685:2: '.'
5378 {
5379 before(grammarAccess.getPredicateDefinitionAccess().getFullStopKeyword_6());
5380 match(input,21,FOLLOW_2);
5381 after(grammarAccess.getPredicateDefinitionAccess().getFullStopKeyword_6());
5382
5383 }
5384
5385
5386 }
5387
5388 }
5389 catch (RecognitionException re) {
5390 reportError(re);
5391 recover(input,re);
5392 }
5393 finally {
5394
5395 restoreStackSize(stackSize);
5396
5397 }
5398 return ;
5399 }
5400 // $ANTLR end "rule__PredicateDefinition__Group__6__Impl"
5401
5402
5403 // $ANTLR start "rule__PredicateDefinition__Group_0_0__0"
5404 // InternalProblem.g:1695:1: rule__PredicateDefinition__Group_0_0__0 : rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 ;
5405 public final void rule__PredicateDefinition__Group_0_0__0() throws RecognitionException {
5406
5407 int stackSize = keepStackSize();
5408
5409 try {
5410 // InternalProblem.g:1699:1: ( rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1 )
5411 // InternalProblem.g:1700:2: rule__PredicateDefinition__Group_0_0__0__Impl rule__PredicateDefinition__Group_0_0__1
5412 {
5413 pushFollow(FOLLOW_19);
5414 rule__PredicateDefinition__Group_0_0__0__Impl();
5415
5416 state._fsp--;
5417
5418 pushFollow(FOLLOW_2);
5419 rule__PredicateDefinition__Group_0_0__1();
5420
5421 state._fsp--;
5422
5423
5424 }
5425
5426 }
5427 catch (RecognitionException re) {
5428 reportError(re);
5429 recover(input,re);
5430 }
5431 finally {
5432
5433 restoreStackSize(stackSize);
5434
5435 }
5436 return ;
5437 }
5438 // $ANTLR end "rule__PredicateDefinition__Group_0_0__0"
5439
5440
5441 // $ANTLR start "rule__PredicateDefinition__Group_0_0__0__Impl"
5442 // InternalProblem.g:1707:1: rule__PredicateDefinition__Group_0_0__0__Impl : ( ( rule__PredicateDefinition__ErrorAssignment_0_0_0 ) ) ;
5443 public final void rule__PredicateDefinition__Group_0_0__0__Impl() throws RecognitionException {
5444
5445 int stackSize = keepStackSize();
5446
5447 try {
5448 // InternalProblem.g:1711:1: ( ( ( rule__PredicateDefinition__ErrorAssignment_0_0_0 ) ) )
5449 // InternalProblem.g:1712:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_0_0 ) )
5450 {
5451 // InternalProblem.g:1712:1: ( ( rule__PredicateDefinition__ErrorAssignment_0_0_0 ) )
5452 // InternalProblem.g:1713:2: ( rule__PredicateDefinition__ErrorAssignment_0_0_0 )
5453 {
5454 before(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_0());
5455 // InternalProblem.g:1714:2: ( rule__PredicateDefinition__ErrorAssignment_0_0_0 )
5456 // InternalProblem.g:1714:3: rule__PredicateDefinition__ErrorAssignment_0_0_0
5457 {
5458 pushFollow(FOLLOW_2);
5459 rule__PredicateDefinition__ErrorAssignment_0_0_0();
5460
5461 state._fsp--;
5462
5463
5464 }
5465
5466 after(grammarAccess.getPredicateDefinitionAccess().getErrorAssignment_0_0_0());
5467
5468 }
5469
5470
5471 }
5472
5473 }
5474 catch (RecognitionException re) {
5475 reportError(re);
5476 recover(input,re);
5477 }
5478 finally {
5479
5480 restoreStackSize(stackSize);
5481
5482 }
5483 return ;
5484 }
5485 // $ANTLR end "rule__PredicateDefinition__Group_0_0__0__Impl"
5486
5487
5488 // $ANTLR start "rule__PredicateDefinition__Group_0_0__1"
5489 // InternalProblem.g:1722:1: rule__PredicateDefinition__Group_0_0__1 : rule__PredicateDefinition__Group_0_0__1__Impl ;
5490 public final void rule__PredicateDefinition__Group_0_0__1() throws RecognitionException {
5491
5492 int stackSize = keepStackSize();
5493
5494 try {
5495 // InternalProblem.g:1726:1: ( rule__PredicateDefinition__Group_0_0__1__Impl )
5496 // InternalProblem.g:1727:2: rule__PredicateDefinition__Group_0_0__1__Impl
5497 {
5498 pushFollow(FOLLOW_2);
5499 rule__PredicateDefinition__Group_0_0__1__Impl();
5500
5501 state._fsp--;
5502
5503
5504 }
5505
5506 }
5507 catch (RecognitionException re) {
5508 reportError(re);
5509 recover(input,re);
5510 }
5511 finally {
5512
5513 restoreStackSize(stackSize);
5514
5515 }
5516 return ;
5517 }
5518 // $ANTLR end "rule__PredicateDefinition__Group_0_0__1"
5519
5520
5521 // $ANTLR start "rule__PredicateDefinition__Group_0_0__1__Impl"
5522 // InternalProblem.g:1733:1: rule__PredicateDefinition__Group_0_0__1__Impl : ( ( 'pred' )? ) ;
5523 public final void rule__PredicateDefinition__Group_0_0__1__Impl() throws RecognitionException {
5524
5525 int stackSize = keepStackSize();
5526
5527 try {
5528 // InternalProblem.g:1737:1: ( ( ( 'pred' )? ) )
5529 // InternalProblem.g:1738:1: ( ( 'pred' )? )
5530 {
5531 // InternalProblem.g:1738:1: ( ( 'pred' )? )
5532 // InternalProblem.g:1739:2: ( 'pred' )?
5533 {
5534 before(grammarAccess.getPredicateDefinitionAccess().getPredKeyword_0_0_1());
5535 // InternalProblem.g:1740:2: ( 'pred' )?
5536 int alt22=2;
5537 int LA22_0 = input.LA(1);
5538
5539 if ( (LA22_0==12) ) {
5540 alt22=1;
5541 }
5542 switch (alt22) {
5543 case 1 :
5544 // InternalProblem.g:1740:3: 'pred'
5545 {
5546 match(input,12,FOLLOW_2);
5547
5548 }
5549 break;
5550
5551 }
5552
5553 after(grammarAccess.getPredicateDefinitionAccess().getPredKeyword_0_0_1());
5554
5555 }
5556
5557
5558 }
5559
5560 }
5561 catch (RecognitionException re) {
5562 reportError(re);
5563 recover(input,re);
5564 }
5565 finally {
5566
5567 restoreStackSize(stackSize);
5568
5569 }
5570 return ;
5571 }
5572 // $ANTLR end "rule__PredicateDefinition__Group_0_0__1__Impl"
5573
5574
5575 // $ANTLR start "rule__PredicateDefinition__Group_3__0"
5576 // InternalProblem.g:1749:1: rule__PredicateDefinition__Group_3__0 : rule__PredicateDefinition__Group_3__0__Impl rule__PredicateDefinition__Group_3__1 ;
5577 public final void rule__PredicateDefinition__Group_3__0() throws RecognitionException {
5578
5579 int stackSize = keepStackSize();
5580
5581 try {
5582 // InternalProblem.g:1753:1: ( rule__PredicateDefinition__Group_3__0__Impl rule__PredicateDefinition__Group_3__1 )
5583 // InternalProblem.g:1754:2: rule__PredicateDefinition__Group_3__0__Impl rule__PredicateDefinition__Group_3__1
5584 {
5585 pushFollow(FOLLOW_10);
5586 rule__PredicateDefinition__Group_3__0__Impl();
5587
5588 state._fsp--;
5589
5590 pushFollow(FOLLOW_2);
5591 rule__PredicateDefinition__Group_3__1();
5592
5593 state._fsp--;
5594
5595
5596 }
5597
5598 }
5599 catch (RecognitionException re) {
5600 reportError(re);
5601 recover(input,re);
5602 }
5603 finally {
5604
5605 restoreStackSize(stackSize);
5606
5607 }
5608 return ;
5609 }
5610 // $ANTLR end "rule__PredicateDefinition__Group_3__0"
5611
5612
5613 // $ANTLR start "rule__PredicateDefinition__Group_3__0__Impl"
5614 // InternalProblem.g:1761:1: rule__PredicateDefinition__Group_3__0__Impl : ( ( rule__PredicateDefinition__ParametersAssignment_3_0 ) ) ;
5615 public final void rule__PredicateDefinition__Group_3__0__Impl() throws RecognitionException {
5616
5617 int stackSize = keepStackSize();
5618
5619 try {
5620 // InternalProblem.g:1765:1: ( ( ( rule__PredicateDefinition__ParametersAssignment_3_0 ) ) )
5621 // InternalProblem.g:1766:1: ( ( rule__PredicateDefinition__ParametersAssignment_3_0 ) )
5622 {
5623 // InternalProblem.g:1766:1: ( ( rule__PredicateDefinition__ParametersAssignment_3_0 ) )
5624 // InternalProblem.g:1767:2: ( rule__PredicateDefinition__ParametersAssignment_3_0 )
5625 {
5626 before(grammarAccess.getPredicateDefinitionAccess().getParametersAssignment_3_0());
5627 // InternalProblem.g:1768:2: ( rule__PredicateDefinition__ParametersAssignment_3_0 )
5628 // InternalProblem.g:1768:3: rule__PredicateDefinition__ParametersAssignment_3_0
5629 {
5630 pushFollow(FOLLOW_2);
5631 rule__PredicateDefinition__ParametersAssignment_3_0();
5632
5633 state._fsp--;
5634
5635
5636 }
5637
5638 after(grammarAccess.getPredicateDefinitionAccess().getParametersAssignment_3_0());
5639
5640 }
5641
5642
5643 }
5644
5645 }
5646 catch (RecognitionException re) {
5647 reportError(re);
5648 recover(input,re);
5649 }
5650 finally {
5651
5652 restoreStackSize(stackSize);
5653
5654 }
5655 return ;
5656 }
5657 // $ANTLR end "rule__PredicateDefinition__Group_3__0__Impl"
5658
5659
5660 // $ANTLR start "rule__PredicateDefinition__Group_3__1"
5661 // InternalProblem.g:1776:1: rule__PredicateDefinition__Group_3__1 : rule__PredicateDefinition__Group_3__1__Impl ;
5662 public final void rule__PredicateDefinition__Group_3__1() throws RecognitionException {
5663
5664 int stackSize = keepStackSize();
5665
5666 try {
5667 // InternalProblem.g:1780:1: ( rule__PredicateDefinition__Group_3__1__Impl )
5668 // InternalProblem.g:1781:2: rule__PredicateDefinition__Group_3__1__Impl
5669 {
5670 pushFollow(FOLLOW_2);
5671 rule__PredicateDefinition__Group_3__1__Impl();
5672
5673 state._fsp--;
5674
5675
5676 }
5677
5678 }
5679 catch (RecognitionException re) {
5680 reportError(re);
5681 recover(input,re);
5682 }
5683 finally {
5684
5685 restoreStackSize(stackSize);
5686
5687 }
5688 return ;
5689 }
5690 // $ANTLR end "rule__PredicateDefinition__Group_3__1"
5691
5692
5693 // $ANTLR start "rule__PredicateDefinition__Group_3__1__Impl"
5694 // InternalProblem.g:1787:1: rule__PredicateDefinition__Group_3__1__Impl : ( ( rule__PredicateDefinition__Group_3_1__0 )* ) ;
5695 public final void rule__PredicateDefinition__Group_3__1__Impl() throws RecognitionException {
5696
5697 int stackSize = keepStackSize();
5698
5699 try {
5700 // InternalProblem.g:1791:1: ( ( ( rule__PredicateDefinition__Group_3_1__0 )* ) )
5701 // InternalProblem.g:1792:1: ( ( rule__PredicateDefinition__Group_3_1__0 )* )
5702 {
5703 // InternalProblem.g:1792:1: ( ( rule__PredicateDefinition__Group_3_1__0 )* )
5704 // InternalProblem.g:1793:2: ( rule__PredicateDefinition__Group_3_1__0 )*
5705 {
5706 before(grammarAccess.getPredicateDefinitionAccess().getGroup_3_1());
5707 // InternalProblem.g:1794:2: ( rule__PredicateDefinition__Group_3_1__0 )*
5708 loop23:
5709 do {
5710 int alt23=2;
5711 int LA23_0 = input.LA(1);
5712
5713 if ( (LA23_0==25) ) {
5714 alt23=1;
5715 }
5716
5717
5718 switch (alt23) {
5719 case 1 :
5720 // InternalProblem.g:1794:3: rule__PredicateDefinition__Group_3_1__0
5721 {
5722 pushFollow(FOLLOW_7);
5723 rule__PredicateDefinition__Group_3_1__0();
5724
5725 state._fsp--;
5726
5727
5728 }
5729 break;
5730
5731 default :
5732 break loop23;
5733 }
5734 } while (true);
5735
5736 after(grammarAccess.getPredicateDefinitionAccess().getGroup_3_1());
5737
5738 }
5739
5740
5741 }
5742
5743 }
5744 catch (RecognitionException re) {
5745 reportError(re);
5746 recover(input,re);
5747 }
5748 finally {
5749
5750 restoreStackSize(stackSize);
5751
5752 }
5753 return ;
5754 }
5755 // $ANTLR end "rule__PredicateDefinition__Group_3__1__Impl"
5756
5757
5758 // $ANTLR start "rule__PredicateDefinition__Group_3_1__0"
5759 // InternalProblem.g:1803:1: rule__PredicateDefinition__Group_3_1__0 : rule__PredicateDefinition__Group_3_1__0__Impl rule__PredicateDefinition__Group_3_1__1 ;
5760 public final void rule__PredicateDefinition__Group_3_1__0() throws RecognitionException {
5761
5762 int stackSize = keepStackSize();
5763
5764 try {
5765 // InternalProblem.g:1807:1: ( rule__PredicateDefinition__Group_3_1__0__Impl rule__PredicateDefinition__Group_3_1__1 )
5766 // InternalProblem.g:1808:2: rule__PredicateDefinition__Group_3_1__0__Impl rule__PredicateDefinition__Group_3_1__1
5767 {
5768 pushFollow(FOLLOW_5);
5769 rule__PredicateDefinition__Group_3_1__0__Impl();
5770
5771 state._fsp--;
5772
5773 pushFollow(FOLLOW_2);
5774 rule__PredicateDefinition__Group_3_1__1();
5775
5776 state._fsp--;
5777
5778
5779 }
5780
5781 }
5782 catch (RecognitionException re) {
5783 reportError(re);
5784 recover(input,re);
5785 }
5786 finally {
5787
5788 restoreStackSize(stackSize);
5789
5790 }
5791 return ;
5792 }
5793 // $ANTLR end "rule__PredicateDefinition__Group_3_1__0"
5794
5795
5796 // $ANTLR start "rule__PredicateDefinition__Group_3_1__0__Impl"
5797 // InternalProblem.g:1815:1: rule__PredicateDefinition__Group_3_1__0__Impl : ( ',' ) ;
5798 public final void rule__PredicateDefinition__Group_3_1__0__Impl() throws RecognitionException {
5799
5800 int stackSize = keepStackSize();
5801
5802 try {
5803 // InternalProblem.g:1819:1: ( ( ',' ) )
5804 // InternalProblem.g:1820:1: ( ',' )
5805 {
5806 // InternalProblem.g:1820:1: ( ',' )
5807 // InternalProblem.g:1821:2: ','
5808 {
5809 before(grammarAccess.getPredicateDefinitionAccess().getCommaKeyword_3_1_0());
5810 match(input,25,FOLLOW_2);
5811 after(grammarAccess.getPredicateDefinitionAccess().getCommaKeyword_3_1_0());
5812
5813 }
5814
5815
5816 }
5817
5818 }
5819 catch (RecognitionException re) {
5820 reportError(re);
5821 recover(input,re);
5822 }
5823 finally {
5824
5825 restoreStackSize(stackSize);
5826
5827 }
5828 return ;
5829 }
5830 // $ANTLR end "rule__PredicateDefinition__Group_3_1__0__Impl"
5831
5832
5833 // $ANTLR start "rule__PredicateDefinition__Group_3_1__1"
5834 // InternalProblem.g:1830:1: rule__PredicateDefinition__Group_3_1__1 : rule__PredicateDefinition__Group_3_1__1__Impl ;
5835 public final void rule__PredicateDefinition__Group_3_1__1() throws RecognitionException {
5836
5837 int stackSize = keepStackSize();
5838
5839 try {
5840 // InternalProblem.g:1834:1: ( rule__PredicateDefinition__Group_3_1__1__Impl )
5841 // InternalProblem.g:1835:2: rule__PredicateDefinition__Group_3_1__1__Impl
5842 {
5843 pushFollow(FOLLOW_2);
5844 rule__PredicateDefinition__Group_3_1__1__Impl();
5845
5846 state._fsp--;
5847
5848
5849 }
5850
5851 }
5852 catch (RecognitionException re) {
5853 reportError(re);
5854 recover(input,re);
5855 }
5856 finally {
5857
5858 restoreStackSize(stackSize);
5859
5860 }
5861 return ;
5862 }
5863 // $ANTLR end "rule__PredicateDefinition__Group_3_1__1"
5864
5865
5866 // $ANTLR start "rule__PredicateDefinition__Group_3_1__1__Impl"
5867 // InternalProblem.g:1841:1: rule__PredicateDefinition__Group_3_1__1__Impl : ( ( rule__PredicateDefinition__ParametersAssignment_3_1_1 ) ) ;
5868 public final void rule__PredicateDefinition__Group_3_1__1__Impl() throws RecognitionException {
5869
5870 int stackSize = keepStackSize();
5871
5872 try {
5873 // InternalProblem.g:1845:1: ( ( ( rule__PredicateDefinition__ParametersAssignment_3_1_1 ) ) )
5874 // InternalProblem.g:1846:1: ( ( rule__PredicateDefinition__ParametersAssignment_3_1_1 ) )
5875 {
5876 // InternalProblem.g:1846:1: ( ( rule__PredicateDefinition__ParametersAssignment_3_1_1 ) )
5877 // InternalProblem.g:1847:2: ( rule__PredicateDefinition__ParametersAssignment_3_1_1 )
5878 {
5879 before(grammarAccess.getPredicateDefinitionAccess().getParametersAssignment_3_1_1());
5880 // InternalProblem.g:1848:2: ( rule__PredicateDefinition__ParametersAssignment_3_1_1 )
5881 // InternalProblem.g:1848:3: rule__PredicateDefinition__ParametersAssignment_3_1_1
5882 {
5883 pushFollow(FOLLOW_2);
5884 rule__PredicateDefinition__ParametersAssignment_3_1_1();
5885
5886 state._fsp--;
5887
5888
5889 }
5890
5891 after(grammarAccess.getPredicateDefinitionAccess().getParametersAssignment_3_1_1());
5892
5893 }
5894
5895
5896 }
5897
5898 }
5899 catch (RecognitionException re) {
5900 reportError(re);
5901 recover(input,re);
5902 }
5903 finally {
5904
5905 restoreStackSize(stackSize);
5906
5907 }
5908 return ;
5909 }
5910 // $ANTLR end "rule__PredicateDefinition__Group_3_1__1__Impl"
5911
5912
5913 // $ANTLR start "rule__PredicateDefinition__Group_5__0"
5914 // InternalProblem.g:1857:1: rule__PredicateDefinition__Group_5__0 : rule__PredicateDefinition__Group_5__0__Impl rule__PredicateDefinition__Group_5__1 ;
5915 public final void rule__PredicateDefinition__Group_5__0() throws RecognitionException {
5916
5917 int stackSize = keepStackSize();
5918
5919 try {
5920 // InternalProblem.g:1861:1: ( rule__PredicateDefinition__Group_5__0__Impl rule__PredicateDefinition__Group_5__1 )
5921 // InternalProblem.g:1862:2: rule__PredicateDefinition__Group_5__0__Impl rule__PredicateDefinition__Group_5__1
5922 {
5923 pushFollow(FOLLOW_20);
5924 rule__PredicateDefinition__Group_5__0__Impl();
5925
5926 state._fsp--;
5927
5928 pushFollow(FOLLOW_2);
5929 rule__PredicateDefinition__Group_5__1();
5930
5931 state._fsp--;
5932
5933
5934 }
5935
5936 }
5937 catch (RecognitionException re) {
5938 reportError(re);
5939 recover(input,re);
5940 }
5941 finally {
5942
5943 restoreStackSize(stackSize);
5944
5945 }
5946 return ;
5947 }
5948 // $ANTLR end "rule__PredicateDefinition__Group_5__0"
5949
5950
5951 // $ANTLR start "rule__PredicateDefinition__Group_5__0__Impl"
5952 // InternalProblem.g:1869:1: rule__PredicateDefinition__Group_5__0__Impl : ( ':=' ) ;
5953 public final void rule__PredicateDefinition__Group_5__0__Impl() throws RecognitionException {
5954
5955 int stackSize = keepStackSize();
5956
5957 try {
5958 // InternalProblem.g:1873:1: ( ( ':=' ) )
5959 // InternalProblem.g:1874:1: ( ':=' )
5960 {
5961 // InternalProblem.g:1874:1: ( ':=' )
5962 // InternalProblem.g:1875:2: ':='
5963 {
5964 before(grammarAccess.getPredicateDefinitionAccess().getColonEqualsSignKeyword_5_0());
5965 match(input,29,FOLLOW_2);
5966 after(grammarAccess.getPredicateDefinitionAccess().getColonEqualsSignKeyword_5_0());
5967
5968 }
5969
5970
5971 }
5972
5973 }
5974 catch (RecognitionException re) {
5975 reportError(re);
5976 recover(input,re);
5977 }
5978 finally {
5979
5980 restoreStackSize(stackSize);
5981
5982 }
5983 return ;
5984 }
5985 // $ANTLR end "rule__PredicateDefinition__Group_5__0__Impl"
5986
5987
5988 // $ANTLR start "rule__PredicateDefinition__Group_5__1"
5989 // InternalProblem.g:1884:1: rule__PredicateDefinition__Group_5__1 : rule__PredicateDefinition__Group_5__1__Impl rule__PredicateDefinition__Group_5__2 ;
5990 public final void rule__PredicateDefinition__Group_5__1() throws RecognitionException {
5991
5992 int stackSize = keepStackSize();
5993
5994 try {
5995 // InternalProblem.g:1888:1: ( rule__PredicateDefinition__Group_5__1__Impl rule__PredicateDefinition__Group_5__2 )
5996 // InternalProblem.g:1889:2: rule__PredicateDefinition__Group_5__1__Impl rule__PredicateDefinition__Group_5__2
5997 {
5998 pushFollow(FOLLOW_21);
5999 rule__PredicateDefinition__Group_5__1__Impl();
6000
6001 state._fsp--;
6002
6003 pushFollow(FOLLOW_2);
6004 rule__PredicateDefinition__Group_5__2();
6005
6006 state._fsp--;
6007
6008
6009 }
6010
6011 }
6012 catch (RecognitionException re) {
6013 reportError(re);
6014 recover(input,re);
6015 }
6016 finally {
6017
6018 restoreStackSize(stackSize);
6019
6020 }
6021 return ;
6022 }
6023 // $ANTLR end "rule__PredicateDefinition__Group_5__1"
6024
6025
6026 // $ANTLR start "rule__PredicateDefinition__Group_5__1__Impl"
6027 // InternalProblem.g:1896:1: rule__PredicateDefinition__Group_5__1__Impl : ( ( rule__PredicateDefinition__BodiesAssignment_5_1 ) ) ;
6028 public final void rule__PredicateDefinition__Group_5__1__Impl() throws RecognitionException {
6029
6030 int stackSize = keepStackSize();
6031
6032 try {
6033 // InternalProblem.g:1900:1: ( ( ( rule__PredicateDefinition__BodiesAssignment_5_1 ) ) )
6034 // InternalProblem.g:1901:1: ( ( rule__PredicateDefinition__BodiesAssignment_5_1 ) )
6035 {
6036 // InternalProblem.g:1901:1: ( ( rule__PredicateDefinition__BodiesAssignment_5_1 ) )
6037 // InternalProblem.g:1902:2: ( rule__PredicateDefinition__BodiesAssignment_5_1 )
6038 {
6039 before(grammarAccess.getPredicateDefinitionAccess().getBodiesAssignment_5_1());
6040 // InternalProblem.g:1903:2: ( rule__PredicateDefinition__BodiesAssignment_5_1 )
6041 // InternalProblem.g:1903:3: rule__PredicateDefinition__BodiesAssignment_5_1
6042 {
6043 pushFollow(FOLLOW_2);
6044 rule__PredicateDefinition__BodiesAssignment_5_1();
6045
6046 state._fsp--;
6047
6048
6049 }
6050
6051 after(grammarAccess.getPredicateDefinitionAccess().getBodiesAssignment_5_1());
6052
6053 }
6054
6055
6056 }
6057
6058 }
6059 catch (RecognitionException re) {
6060 reportError(re);
6061 recover(input,re);
6062 }
6063 finally {
6064
6065 restoreStackSize(stackSize);
6066
6067 }
6068 return ;
6069 }
6070 // $ANTLR end "rule__PredicateDefinition__Group_5__1__Impl"
6071
6072
6073 // $ANTLR start "rule__PredicateDefinition__Group_5__2"
6074 // InternalProblem.g:1911:1: rule__PredicateDefinition__Group_5__2 : rule__PredicateDefinition__Group_5__2__Impl ;
6075 public final void rule__PredicateDefinition__Group_5__2() throws RecognitionException {
6076
6077 int stackSize = keepStackSize();
6078
6079 try {
6080 // InternalProblem.g:1915:1: ( rule__PredicateDefinition__Group_5__2__Impl )
6081 // InternalProblem.g:1916:2: rule__PredicateDefinition__Group_5__2__Impl
6082 {
6083 pushFollow(FOLLOW_2);
6084 rule__PredicateDefinition__Group_5__2__Impl();
6085
6086 state._fsp--;
6087
6088
6089 }
6090
6091 }
6092 catch (RecognitionException re) {
6093 reportError(re);
6094 recover(input,re);
6095 }
6096 finally {
6097
6098 restoreStackSize(stackSize);
6099
6100 }
6101 return ;
6102 }
6103 // $ANTLR end "rule__PredicateDefinition__Group_5__2"
6104
6105
6106 // $ANTLR start "rule__PredicateDefinition__Group_5__2__Impl"
6107 // InternalProblem.g:1922:1: rule__PredicateDefinition__Group_5__2__Impl : ( ( rule__PredicateDefinition__Group_5_2__0 )* ) ;
6108 public final void rule__PredicateDefinition__Group_5__2__Impl() throws RecognitionException {
6109
6110 int stackSize = keepStackSize();
6111
6112 try {
6113 // InternalProblem.g:1926:1: ( ( ( rule__PredicateDefinition__Group_5_2__0 )* ) )
6114 // InternalProblem.g:1927:1: ( ( rule__PredicateDefinition__Group_5_2__0 )* )
6115 {
6116 // InternalProblem.g:1927:1: ( ( rule__PredicateDefinition__Group_5_2__0 )* )
6117 // InternalProblem.g:1928:2: ( rule__PredicateDefinition__Group_5_2__0 )*
6118 {
6119 before(grammarAccess.getPredicateDefinitionAccess().getGroup_5_2());
6120 // InternalProblem.g:1929:2: ( rule__PredicateDefinition__Group_5_2__0 )*
6121 loop24:
6122 do {
6123 int alt24=2;
6124 int LA24_0 = input.LA(1);
6125
6126 if ( (LA24_0==30) ) {
6127 alt24=1;
6128 }
6129
6130
6131 switch (alt24) {
6132 case 1 :
6133 // InternalProblem.g:1929:3: rule__PredicateDefinition__Group_5_2__0
6134 {
6135 pushFollow(FOLLOW_22);
6136 rule__PredicateDefinition__Group_5_2__0();
6137
6138 state._fsp--;
6139
6140
6141 }
6142 break;
6143
6144 default :
6145 break loop24;
6146 }
6147 } while (true);
6148
6149 after(grammarAccess.getPredicateDefinitionAccess().getGroup_5_2());
6150
6151 }
6152
6153
6154 }
6155
6156 }
6157 catch (RecognitionException re) {
6158 reportError(re);
6159 recover(input,re);
6160 }
6161 finally {
6162
6163 restoreStackSize(stackSize);
6164
6165 }
6166 return ;
6167 }
6168 // $ANTLR end "rule__PredicateDefinition__Group_5__2__Impl"
6169
6170
6171 // $ANTLR start "rule__PredicateDefinition__Group_5_2__0"
6172 // InternalProblem.g:1938:1: rule__PredicateDefinition__Group_5_2__0 : rule__PredicateDefinition__Group_5_2__0__Impl rule__PredicateDefinition__Group_5_2__1 ;
6173 public final void rule__PredicateDefinition__Group_5_2__0() throws RecognitionException {
6174
6175 int stackSize = keepStackSize();
6176
6177 try {
6178 // InternalProblem.g:1942:1: ( rule__PredicateDefinition__Group_5_2__0__Impl rule__PredicateDefinition__Group_5_2__1 )
6179 // InternalProblem.g:1943:2: rule__PredicateDefinition__Group_5_2__0__Impl rule__PredicateDefinition__Group_5_2__1
6180 {
6181 pushFollow(FOLLOW_20);
6182 rule__PredicateDefinition__Group_5_2__0__Impl();
6183
6184 state._fsp--;
6185
6186 pushFollow(FOLLOW_2);
6187 rule__PredicateDefinition__Group_5_2__1();
6188
6189 state._fsp--;
6190
6191
6192 }
6193
6194 }
6195 catch (RecognitionException re) {
6196 reportError(re);
6197 recover(input,re);
6198 }
6199 finally {
6200
6201 restoreStackSize(stackSize);
6202
6203 }
6204 return ;
6205 }
6206 // $ANTLR end "rule__PredicateDefinition__Group_5_2__0"
6207
6208
6209 // $ANTLR start "rule__PredicateDefinition__Group_5_2__0__Impl"
6210 // InternalProblem.g:1950:1: rule__PredicateDefinition__Group_5_2__0__Impl : ( ';' ) ;
6211 public final void rule__PredicateDefinition__Group_5_2__0__Impl() throws RecognitionException {
6212
6213 int stackSize = keepStackSize();
6214
6215 try {
6216 // InternalProblem.g:1954:1: ( ( ';' ) )
6217 // InternalProblem.g:1955:1: ( ';' )
6218 {
6219 // InternalProblem.g:1955:1: ( ';' )
6220 // InternalProblem.g:1956:2: ';'
6221 {
6222 before(grammarAccess.getPredicateDefinitionAccess().getSemicolonKeyword_5_2_0());
6223 match(input,30,FOLLOW_2);
6224 after(grammarAccess.getPredicateDefinitionAccess().getSemicolonKeyword_5_2_0());
6225
6226 }
6227
6228
6229 }
6230
6231 }
6232 catch (RecognitionException re) {
6233 reportError(re);
6234 recover(input,re);
6235 }
6236 finally {
6237
6238 restoreStackSize(stackSize);
6239
6240 }
6241 return ;
6242 }
6243 // $ANTLR end "rule__PredicateDefinition__Group_5_2__0__Impl"
6244
6245
6246 // $ANTLR start "rule__PredicateDefinition__Group_5_2__1"
6247 // InternalProblem.g:1965:1: rule__PredicateDefinition__Group_5_2__1 : rule__PredicateDefinition__Group_5_2__1__Impl ;
6248 public final void rule__PredicateDefinition__Group_5_2__1() throws RecognitionException {
6249
6250 int stackSize = keepStackSize();
6251
6252 try {
6253 // InternalProblem.g:1969:1: ( rule__PredicateDefinition__Group_5_2__1__Impl )
6254 // InternalProblem.g:1970:2: rule__PredicateDefinition__Group_5_2__1__Impl
6255 {
6256 pushFollow(FOLLOW_2);
6257 rule__PredicateDefinition__Group_5_2__1__Impl();
6258
6259 state._fsp--;
6260
6261
6262 }
6263
6264 }
6265 catch (RecognitionException re) {
6266 reportError(re);
6267 recover(input,re);
6268 }
6269 finally {
6270
6271 restoreStackSize(stackSize);
6272
6273 }
6274 return ;
6275 }
6276 // $ANTLR end "rule__PredicateDefinition__Group_5_2__1"
6277
6278
6279 // $ANTLR start "rule__PredicateDefinition__Group_5_2__1__Impl"
6280 // InternalProblem.g:1976:1: rule__PredicateDefinition__Group_5_2__1__Impl : ( ( rule__PredicateDefinition__BodiesAssignment_5_2_1 ) ) ;
6281 public final void rule__PredicateDefinition__Group_5_2__1__Impl() throws RecognitionException {
6282
6283 int stackSize = keepStackSize();
6284
6285 try {
6286 // InternalProblem.g:1980:1: ( ( ( rule__PredicateDefinition__BodiesAssignment_5_2_1 ) ) )
6287 // InternalProblem.g:1981:1: ( ( rule__PredicateDefinition__BodiesAssignment_5_2_1 ) )
6288 {
6289 // InternalProblem.g:1981:1: ( ( rule__PredicateDefinition__BodiesAssignment_5_2_1 ) )
6290 // InternalProblem.g:1982:2: ( rule__PredicateDefinition__BodiesAssignment_5_2_1 )
6291 {
6292 before(grammarAccess.getPredicateDefinitionAccess().getBodiesAssignment_5_2_1());
6293 // InternalProblem.g:1983:2: ( rule__PredicateDefinition__BodiesAssignment_5_2_1 )
6294 // InternalProblem.g:1983:3: rule__PredicateDefinition__BodiesAssignment_5_2_1
6295 {
6296 pushFollow(FOLLOW_2);
6297 rule__PredicateDefinition__BodiesAssignment_5_2_1();
6298
6299 state._fsp--;
6300
6301
6302 }
6303
6304 after(grammarAccess.getPredicateDefinitionAccess().getBodiesAssignment_5_2_1());
6305
6306 }
6307
6308
6309 }
6310
6311 }
6312 catch (RecognitionException re) {
6313 reportError(re);
6314 recover(input,re);
6315 }
6316 finally {
6317
6318 restoreStackSize(stackSize);
6319
6320 }
6321 return ;
6322 }
6323 // $ANTLR end "rule__PredicateDefinition__Group_5_2__1__Impl"
6324
6325
6326 // $ANTLR start "rule__Parameter__Group__0"
6327 // InternalProblem.g:1992:1: rule__Parameter__Group__0 : rule__Parameter__Group__0__Impl rule__Parameter__Group__1 ;
6328 public final void rule__Parameter__Group__0() throws RecognitionException {
6329
6330 int stackSize = keepStackSize();
6331
6332 try {
6333 // InternalProblem.g:1996:1: ( rule__Parameter__Group__0__Impl rule__Parameter__Group__1 )
6334 // InternalProblem.g:1997:2: rule__Parameter__Group__0__Impl rule__Parameter__Group__1
6335 {
6336 pushFollow(FOLLOW_5);
6337 rule__Parameter__Group__0__Impl();
6338
6339 state._fsp--;
6340
6341 pushFollow(FOLLOW_2);
6342 rule__Parameter__Group__1();
6343
6344 state._fsp--;
6345
6346
6347 }
6348
6349 }
6350 catch (RecognitionException re) {
6351 reportError(re);
6352 recover(input,re);
6353 }
6354 finally {
6355
6356 restoreStackSize(stackSize);
6357
6358 }
6359 return ;
6360 }
6361 // $ANTLR end "rule__Parameter__Group__0"
6362
6363
6364 // $ANTLR start "rule__Parameter__Group__0__Impl"
6365 // InternalProblem.g:2004:1: rule__Parameter__Group__0__Impl : ( ( rule__Parameter__ParameterTypeAssignment_0 ) ) ;
6366 public final void rule__Parameter__Group__0__Impl() throws RecognitionException {
6367
6368 int stackSize = keepStackSize();
6369
6370 try {
6371 // InternalProblem.g:2008:1: ( ( ( rule__Parameter__ParameterTypeAssignment_0 ) ) )
6372 // InternalProblem.g:2009:1: ( ( rule__Parameter__ParameterTypeAssignment_0 ) )
6373 {
6374 // InternalProblem.g:2009:1: ( ( rule__Parameter__ParameterTypeAssignment_0 ) )
6375 // InternalProblem.g:2010:2: ( rule__Parameter__ParameterTypeAssignment_0 )
6376 {
6377 before(grammarAccess.getParameterAccess().getParameterTypeAssignment_0());
6378 // InternalProblem.g:2011:2: ( rule__Parameter__ParameterTypeAssignment_0 )
6379 // InternalProblem.g:2011:3: rule__Parameter__ParameterTypeAssignment_0
6380 {
6381 pushFollow(FOLLOW_2);
6382 rule__Parameter__ParameterTypeAssignment_0();
6383
6384 state._fsp--;
6385
6386
6387 }
6388
6389 after(grammarAccess.getParameterAccess().getParameterTypeAssignment_0());
6390
6391 }
6392
6393
6394 }
6395
6396 }
6397 catch (RecognitionException re) {
6398 reportError(re);
6399 recover(input,re);
6400 }
6401 finally {
6402
6403 restoreStackSize(stackSize);
6404
6405 }
6406 return ;
6407 }
6408 // $ANTLR end "rule__Parameter__Group__0__Impl"
6409
6410
6411 // $ANTLR start "rule__Parameter__Group__1"
6412 // InternalProblem.g:2019:1: rule__Parameter__Group__1 : rule__Parameter__Group__1__Impl ;
6413 public final void rule__Parameter__Group__1() throws RecognitionException {
6414
6415 int stackSize = keepStackSize();
6416
6417 try {
6418 // InternalProblem.g:2023:1: ( rule__Parameter__Group__1__Impl )
6419 // InternalProblem.g:2024:2: rule__Parameter__Group__1__Impl
6420 {
6421 pushFollow(FOLLOW_2);
6422 rule__Parameter__Group__1__Impl();
6423
6424 state._fsp--;
6425
6426
6427 }
6428
6429 }
6430 catch (RecognitionException re) {
6431 reportError(re);
6432 recover(input,re);
6433 }
6434 finally {
6435
6436 restoreStackSize(stackSize);
6437
6438 }
6439 return ;
6440 }
6441 // $ANTLR end "rule__Parameter__Group__1"
6442
6443
6444 // $ANTLR start "rule__Parameter__Group__1__Impl"
6445 // InternalProblem.g:2030:1: rule__Parameter__Group__1__Impl : ( ( rule__Parameter__NameAssignment_1 ) ) ;
6446 public final void rule__Parameter__Group__1__Impl() throws RecognitionException {
6447
6448 int stackSize = keepStackSize();
6449
6450 try {
6451 // InternalProblem.g:2034:1: ( ( ( rule__Parameter__NameAssignment_1 ) ) )
6452 // InternalProblem.g:2035:1: ( ( rule__Parameter__NameAssignment_1 ) )
6453 {
6454 // InternalProblem.g:2035:1: ( ( rule__Parameter__NameAssignment_1 ) )
6455 // InternalProblem.g:2036:2: ( rule__Parameter__NameAssignment_1 )
6456 {
6457 before(grammarAccess.getParameterAccess().getNameAssignment_1());
6458 // InternalProblem.g:2037:2: ( rule__Parameter__NameAssignment_1 )
6459 // InternalProblem.g:2037:3: rule__Parameter__NameAssignment_1
6460 {
6461 pushFollow(FOLLOW_2);
6462 rule__Parameter__NameAssignment_1();
6463
6464 state._fsp--;
6465
6466
6467 }
6468
6469 after(grammarAccess.getParameterAccess().getNameAssignment_1());
6470
6471 }
6472
6473
6474 }
6475
6476 }
6477 catch (RecognitionException re) {
6478 reportError(re);
6479 recover(input,re);
6480 }
6481 finally {
6482
6483 restoreStackSize(stackSize);
6484
6485 }
6486 return ;
6487 }
6488 // $ANTLR end "rule__Parameter__Group__1__Impl"
6489
6490
6491 // $ANTLR start "rule__Conjunction__Group__0"
6492 // InternalProblem.g:2046:1: rule__Conjunction__Group__0 : rule__Conjunction__Group__0__Impl rule__Conjunction__Group__1 ;
6493 public final void rule__Conjunction__Group__0() throws RecognitionException {
6494
6495 int stackSize = keepStackSize();
6496
6497 try {
6498 // InternalProblem.g:2050:1: ( rule__Conjunction__Group__0__Impl rule__Conjunction__Group__1 )
6499 // InternalProblem.g:2051:2: rule__Conjunction__Group__0__Impl rule__Conjunction__Group__1
6500 {
6501 pushFollow(FOLLOW_10);
6502 rule__Conjunction__Group__0__Impl();
6503
6504 state._fsp--;
6505
6506 pushFollow(FOLLOW_2);
6507 rule__Conjunction__Group__1();
6508
6509 state._fsp--;
6510
6511
6512 }
6513
6514 }
6515 catch (RecognitionException re) {
6516 reportError(re);
6517 recover(input,re);
6518 }
6519 finally {
6520
6521 restoreStackSize(stackSize);
6522
6523 }
6524 return ;
6525 }
6526 // $ANTLR end "rule__Conjunction__Group__0"
6527
6528
6529 // $ANTLR start "rule__Conjunction__Group__0__Impl"
6530 // InternalProblem.g:2058:1: rule__Conjunction__Group__0__Impl : ( ( rule__Conjunction__LiteralsAssignment_0 ) ) ;
6531 public final void rule__Conjunction__Group__0__Impl() throws RecognitionException {
6532
6533 int stackSize = keepStackSize();
6534
6535 try {
6536 // InternalProblem.g:2062:1: ( ( ( rule__Conjunction__LiteralsAssignment_0 ) ) )
6537 // InternalProblem.g:2063:1: ( ( rule__Conjunction__LiteralsAssignment_0 ) )
6538 {
6539 // InternalProblem.g:2063:1: ( ( rule__Conjunction__LiteralsAssignment_0 ) )
6540 // InternalProblem.g:2064:2: ( rule__Conjunction__LiteralsAssignment_0 )
6541 {
6542 before(grammarAccess.getConjunctionAccess().getLiteralsAssignment_0());
6543 // InternalProblem.g:2065:2: ( rule__Conjunction__LiteralsAssignment_0 )
6544 // InternalProblem.g:2065:3: rule__Conjunction__LiteralsAssignment_0
6545 {
6546 pushFollow(FOLLOW_2);
6547 rule__Conjunction__LiteralsAssignment_0();
6548
6549 state._fsp--;
6550
6551
6552 }
6553
6554 after(grammarAccess.getConjunctionAccess().getLiteralsAssignment_0());
6555
6556 }
6557
6558
6559 }
6560
6561 }
6562 catch (RecognitionException re) {
6563 reportError(re);
6564 recover(input,re);
6565 }
6566 finally {
6567
6568 restoreStackSize(stackSize);
6569
6570 }
6571 return ;
6572 }
6573 // $ANTLR end "rule__Conjunction__Group__0__Impl"
6574
6575
6576 // $ANTLR start "rule__Conjunction__Group__1"
6577 // InternalProblem.g:2073:1: rule__Conjunction__Group__1 : rule__Conjunction__Group__1__Impl ;
6578 public final void rule__Conjunction__Group__1() throws RecognitionException {
6579
6580 int stackSize = keepStackSize();
6581
6582 try {
6583 // InternalProblem.g:2077:1: ( rule__Conjunction__Group__1__Impl )
6584 // InternalProblem.g:2078:2: rule__Conjunction__Group__1__Impl
6585 {
6586 pushFollow(FOLLOW_2);
6587 rule__Conjunction__Group__1__Impl();
6588
6589 state._fsp--;
6590
6591
6592 }
6593
6594 }
6595 catch (RecognitionException re) {
6596 reportError(re);
6597 recover(input,re);
6598 }
6599 finally {
6600
6601 restoreStackSize(stackSize);
6602
6603 }
6604 return ;
6605 }
6606 // $ANTLR end "rule__Conjunction__Group__1"
6607
6608
6609 // $ANTLR start "rule__Conjunction__Group__1__Impl"
6610 // InternalProblem.g:2084:1: rule__Conjunction__Group__1__Impl : ( ( rule__Conjunction__Group_1__0 )* ) ;
6611 public final void rule__Conjunction__Group__1__Impl() throws RecognitionException {
6612
6613 int stackSize = keepStackSize();
6614
6615 try {
6616 // InternalProblem.g:2088:1: ( ( ( rule__Conjunction__Group_1__0 )* ) )
6617 // InternalProblem.g:2089:1: ( ( rule__Conjunction__Group_1__0 )* )
6618 {
6619 // InternalProblem.g:2089:1: ( ( rule__Conjunction__Group_1__0 )* )
6620 // InternalProblem.g:2090:2: ( rule__Conjunction__Group_1__0 )*
6621 {
6622 before(grammarAccess.getConjunctionAccess().getGroup_1());
6623 // InternalProblem.g:2091:2: ( rule__Conjunction__Group_1__0 )*
6624 loop25:
6625 do {
6626 int alt25=2;
6627 int LA25_0 = input.LA(1);
6628
6629 if ( (LA25_0==25) ) {
6630 alt25=1;
6631 }
6632
6633
6634 switch (alt25) {
6635 case 1 :
6636 // InternalProblem.g:2091:3: rule__Conjunction__Group_1__0
6637 {
6638 pushFollow(FOLLOW_7);
6639 rule__Conjunction__Group_1__0();
6640
6641 state._fsp--;
6642
6643
6644 }
6645 break;
6646
6647 default :
6648 break loop25;
6649 }
6650 } while (true);
6651
6652 after(grammarAccess.getConjunctionAccess().getGroup_1());
6653
6654 }
6655
6656
6657 }
6658
6659 }
6660 catch (RecognitionException re) {
6661 reportError(re);
6662 recover(input,re);
6663 }
6664 finally {
6665
6666 restoreStackSize(stackSize);
6667
6668 }
6669 return ;
6670 }
6671 // $ANTLR end "rule__Conjunction__Group__1__Impl"
6672
6673
6674 // $ANTLR start "rule__Conjunction__Group_1__0"
6675 // InternalProblem.g:2100:1: rule__Conjunction__Group_1__0 : rule__Conjunction__Group_1__0__Impl rule__Conjunction__Group_1__1 ;
6676 public final void rule__Conjunction__Group_1__0() throws RecognitionException {
6677
6678 int stackSize = keepStackSize();
6679
6680 try {
6681 // InternalProblem.g:2104:1: ( rule__Conjunction__Group_1__0__Impl rule__Conjunction__Group_1__1 )
6682 // InternalProblem.g:2105:2: rule__Conjunction__Group_1__0__Impl rule__Conjunction__Group_1__1
6683 {
6684 pushFollow(FOLLOW_20);
6685 rule__Conjunction__Group_1__0__Impl();
6686
6687 state._fsp--;
6688
6689 pushFollow(FOLLOW_2);
6690 rule__Conjunction__Group_1__1();
6691
6692 state._fsp--;
6693
6694
6695 }
6696
6697 }
6698 catch (RecognitionException re) {
6699 reportError(re);
6700 recover(input,re);
6701 }
6702 finally {
6703
6704 restoreStackSize(stackSize);
6705
6706 }
6707 return ;
6708 }
6709 // $ANTLR end "rule__Conjunction__Group_1__0"
6710
6711
6712 // $ANTLR start "rule__Conjunction__Group_1__0__Impl"
6713 // InternalProblem.g:2112:1: rule__Conjunction__Group_1__0__Impl : ( ',' ) ;
6714 public final void rule__Conjunction__Group_1__0__Impl() throws RecognitionException {
6715
6716 int stackSize = keepStackSize();
6717
6718 try {
6719 // InternalProblem.g:2116:1: ( ( ',' ) )
6720 // InternalProblem.g:2117:1: ( ',' )
6721 {
6722 // InternalProblem.g:2117:1: ( ',' )
6723 // InternalProblem.g:2118:2: ','
6724 {
6725 before(grammarAccess.getConjunctionAccess().getCommaKeyword_1_0());
6726 match(input,25,FOLLOW_2);
6727 after(grammarAccess.getConjunctionAccess().getCommaKeyword_1_0());
6728
6729 }
6730
6731
6732 }
6733
6734 }
6735 catch (RecognitionException re) {
6736 reportError(re);
6737 recover(input,re);
6738 }
6739 finally {
6740
6741 restoreStackSize(stackSize);
6742
6743 }
6744 return ;
6745 }
6746 // $ANTLR end "rule__Conjunction__Group_1__0__Impl"
6747
6748
6749 // $ANTLR start "rule__Conjunction__Group_1__1"
6750 // InternalProblem.g:2127:1: rule__Conjunction__Group_1__1 : rule__Conjunction__Group_1__1__Impl ;
6751 public final void rule__Conjunction__Group_1__1() throws RecognitionException {
6752
6753 int stackSize = keepStackSize();
6754
6755 try {
6756 // InternalProblem.g:2131:1: ( rule__Conjunction__Group_1__1__Impl )
6757 // InternalProblem.g:2132:2: rule__Conjunction__Group_1__1__Impl
6758 {
6759 pushFollow(FOLLOW_2);
6760 rule__Conjunction__Group_1__1__Impl();
6761
6762 state._fsp--;
6763
6764
6765 }
6766
6767 }
6768 catch (RecognitionException re) {
6769 reportError(re);
6770 recover(input,re);
6771 }
6772 finally {
6773
6774 restoreStackSize(stackSize);
6775
6776 }
6777 return ;
6778 }
6779 // $ANTLR end "rule__Conjunction__Group_1__1"
6780
6781
6782 // $ANTLR start "rule__Conjunction__Group_1__1__Impl"
6783 // InternalProblem.g:2138:1: rule__Conjunction__Group_1__1__Impl : ( ( rule__Conjunction__LiteralsAssignment_1_1 ) ) ;
6784 public final void rule__Conjunction__Group_1__1__Impl() throws RecognitionException {
6785
6786 int stackSize = keepStackSize();
6787
6788 try {
6789 // InternalProblem.g:2142:1: ( ( ( rule__Conjunction__LiteralsAssignment_1_1 ) ) )
6790 // InternalProblem.g:2143:1: ( ( rule__Conjunction__LiteralsAssignment_1_1 ) )
6791 {
6792 // InternalProblem.g:2143:1: ( ( rule__Conjunction__LiteralsAssignment_1_1 ) )
6793 // InternalProblem.g:2144:2: ( rule__Conjunction__LiteralsAssignment_1_1 )
6794 {
6795 before(grammarAccess.getConjunctionAccess().getLiteralsAssignment_1_1());
6796 // InternalProblem.g:2145:2: ( rule__Conjunction__LiteralsAssignment_1_1 )
6797 // InternalProblem.g:2145:3: rule__Conjunction__LiteralsAssignment_1_1
6798 {
6799 pushFollow(FOLLOW_2);
6800 rule__Conjunction__LiteralsAssignment_1_1();
6801
6802 state._fsp--;
6803
6804
6805 }
6806
6807 after(grammarAccess.getConjunctionAccess().getLiteralsAssignment_1_1());
6808
6809 }
6810
6811
6812 }
6813
6814 }
6815 catch (RecognitionException re) {
6816 reportError(re);
6817 recover(input,re);
6818 }
6819 finally {
6820
6821 restoreStackSize(stackSize);
6822
6823 }
6824 return ;
6825 }
6826 // $ANTLR end "rule__Conjunction__Group_1__1__Impl"
6827
6828
6829 // $ANTLR start "rule__NegativeLiteral__Group__0"
6830 // InternalProblem.g:2154:1: rule__NegativeLiteral__Group__0 : rule__NegativeLiteral__Group__0__Impl rule__NegativeLiteral__Group__1 ;
6831 public final void rule__NegativeLiteral__Group__0() throws RecognitionException {
6832
6833 int stackSize = keepStackSize();
6834
6835 try {
6836 // InternalProblem.g:2158:1: ( rule__NegativeLiteral__Group__0__Impl rule__NegativeLiteral__Group__1 )
6837 // InternalProblem.g:2159:2: rule__NegativeLiteral__Group__0__Impl rule__NegativeLiteral__Group__1
6838 {
6839 pushFollow(FOLLOW_5);
6840 rule__NegativeLiteral__Group__0__Impl();
6841
6842 state._fsp--;
6843
6844 pushFollow(FOLLOW_2);
6845 rule__NegativeLiteral__Group__1();
6846
6847 state._fsp--;
6848
6849
6850 }
6851
6852 }
6853 catch (RecognitionException re) {
6854 reportError(re);
6855 recover(input,re);
6856 }
6857 finally {
6858
6859 restoreStackSize(stackSize);
6860
6861 }
6862 return ;
6863 }
6864 // $ANTLR end "rule__NegativeLiteral__Group__0"
6865
6866
6867 // $ANTLR start "rule__NegativeLiteral__Group__0__Impl"
6868 // InternalProblem.g:2166:1: rule__NegativeLiteral__Group__0__Impl : ( '!' ) ;
6869 public final void rule__NegativeLiteral__Group__0__Impl() throws RecognitionException {
6870
6871 int stackSize = keepStackSize();
6872
6873 try {
6874 // InternalProblem.g:2170:1: ( ( '!' ) )
6875 // InternalProblem.g:2171:1: ( '!' )
6876 {
6877 // InternalProblem.g:2171:1: ( '!' )
6878 // InternalProblem.g:2172:2: '!'
6879 {
6880 before(grammarAccess.getNegativeLiteralAccess().getExclamationMarkKeyword_0());
6881 match(input,18,FOLLOW_2);
6882 after(grammarAccess.getNegativeLiteralAccess().getExclamationMarkKeyword_0());
6883
6884 }
6885
6886
6887 }
6888
6889 }
6890 catch (RecognitionException re) {
6891 reportError(re);
6892 recover(input,re);
6893 }
6894 finally {
6895
6896 restoreStackSize(stackSize);
6897
6898 }
6899 return ;
6900 }
6901 // $ANTLR end "rule__NegativeLiteral__Group__0__Impl"
6902
6903
6904 // $ANTLR start "rule__NegativeLiteral__Group__1"
6905 // InternalProblem.g:2181:1: rule__NegativeLiteral__Group__1 : rule__NegativeLiteral__Group__1__Impl ;
6906 public final void rule__NegativeLiteral__Group__1() throws RecognitionException {
6907
6908 int stackSize = keepStackSize();
6909
6910 try {
6911 // InternalProblem.g:2185:1: ( rule__NegativeLiteral__Group__1__Impl )
6912 // InternalProblem.g:2186:2: rule__NegativeLiteral__Group__1__Impl
6913 {
6914 pushFollow(FOLLOW_2);
6915 rule__NegativeLiteral__Group__1__Impl();
6916
6917 state._fsp--;
6918
6919
6920 }
6921
6922 }
6923 catch (RecognitionException re) {
6924 reportError(re);
6925 recover(input,re);
6926 }
6927 finally {
6928
6929 restoreStackSize(stackSize);
6930
6931 }
6932 return ;
6933 }
6934 // $ANTLR end "rule__NegativeLiteral__Group__1"
6935
6936
6937 // $ANTLR start "rule__NegativeLiteral__Group__1__Impl"
6938 // InternalProblem.g:2192:1: rule__NegativeLiteral__Group__1__Impl : ( ( rule__NegativeLiteral__AtomAssignment_1 ) ) ;
6939 public final void rule__NegativeLiteral__Group__1__Impl() throws RecognitionException {
6940
6941 int stackSize = keepStackSize();
6942
6943 try {
6944 // InternalProblem.g:2196:1: ( ( ( rule__NegativeLiteral__AtomAssignment_1 ) ) )
6945 // InternalProblem.g:2197:1: ( ( rule__NegativeLiteral__AtomAssignment_1 ) )
6946 {
6947 // InternalProblem.g:2197:1: ( ( rule__NegativeLiteral__AtomAssignment_1 ) )
6948 // InternalProblem.g:2198:2: ( rule__NegativeLiteral__AtomAssignment_1 )
6949 {
6950 before(grammarAccess.getNegativeLiteralAccess().getAtomAssignment_1());
6951 // InternalProblem.g:2199:2: ( rule__NegativeLiteral__AtomAssignment_1 )
6952 // InternalProblem.g:2199:3: rule__NegativeLiteral__AtomAssignment_1
6953 {
6954 pushFollow(FOLLOW_2);
6955 rule__NegativeLiteral__AtomAssignment_1();
6956
6957 state._fsp--;
6958
6959
6960 }
6961
6962 after(grammarAccess.getNegativeLiteralAccess().getAtomAssignment_1());
6963
6964 }
6965
6966
6967 }
6968
6969 }
6970 catch (RecognitionException re) {
6971 reportError(re);
6972 recover(input,re);
6973 }
6974 finally {
6975
6976 restoreStackSize(stackSize);
6977
6978 }
6979 return ;
6980 }
6981 // $ANTLR end "rule__NegativeLiteral__Group__1__Impl"
6982
6983
6984 // $ANTLR start "rule__Atom__Group__0"
6985 // InternalProblem.g:2208:1: rule__Atom__Group__0 : rule__Atom__Group__0__Impl rule__Atom__Group__1 ;
6986 public final void rule__Atom__Group__0() throws RecognitionException {
6987
6988 int stackSize = keepStackSize();
6989
6990 try {
6991 // InternalProblem.g:2212:1: ( rule__Atom__Group__0__Impl rule__Atom__Group__1 )
6992 // InternalProblem.g:2213:2: rule__Atom__Group__0__Impl rule__Atom__Group__1
6993 {
6994 pushFollow(FOLLOW_23);
6995 rule__Atom__Group__0__Impl();
6996
6997 state._fsp--;
6998
6999 pushFollow(FOLLOW_2);
7000 rule__Atom__Group__1();
7001
7002 state._fsp--;
7003
7004
7005 }
7006
7007 }
7008 catch (RecognitionException re) {
7009 reportError(re);
7010 recover(input,re);
7011 }
7012 finally {
7013
7014 restoreStackSize(stackSize);
7015
7016 }
7017 return ;
7018 }
7019 // $ANTLR end "rule__Atom__Group__0"
7020
7021
7022 // $ANTLR start "rule__Atom__Group__0__Impl"
7023 // InternalProblem.g:2220:1: rule__Atom__Group__0__Impl : ( ( rule__Atom__RelationAssignment_0 ) ) ;
7024 public final void rule__Atom__Group__0__Impl() throws RecognitionException {
7025
7026 int stackSize = keepStackSize();
7027
7028 try {
7029 // InternalProblem.g:2224:1: ( ( ( rule__Atom__RelationAssignment_0 ) ) )
7030 // InternalProblem.g:2225:1: ( ( rule__Atom__RelationAssignment_0 ) )
7031 {
7032 // InternalProblem.g:2225:1: ( ( rule__Atom__RelationAssignment_0 ) )
7033 // InternalProblem.g:2226:2: ( rule__Atom__RelationAssignment_0 )
7034 {
7035 before(grammarAccess.getAtomAccess().getRelationAssignment_0());
7036 // InternalProblem.g:2227:2: ( rule__Atom__RelationAssignment_0 )
7037 // InternalProblem.g:2227:3: rule__Atom__RelationAssignment_0
7038 {
7039 pushFollow(FOLLOW_2);
7040 rule__Atom__RelationAssignment_0();
7041
7042 state._fsp--;
7043
7044
7045 }
7046
7047 after(grammarAccess.getAtomAccess().getRelationAssignment_0());
7048
7049 }
7050
7051
7052 }
7053
7054 }
7055 catch (RecognitionException re) {
7056 reportError(re);
7057 recover(input,re);
7058 }
7059 finally {
7060
7061 restoreStackSize(stackSize);
7062
7063 }
7064 return ;
7065 }
7066 // $ANTLR end "rule__Atom__Group__0__Impl"
7067
7068
7069 // $ANTLR start "rule__Atom__Group__1"
7070 // InternalProblem.g:2235:1: rule__Atom__Group__1 : rule__Atom__Group__1__Impl rule__Atom__Group__2 ;
7071 public final void rule__Atom__Group__1() throws RecognitionException {
7072
7073 int stackSize = keepStackSize();
7074
7075 try {
7076 // InternalProblem.g:2239:1: ( rule__Atom__Group__1__Impl rule__Atom__Group__2 )
7077 // InternalProblem.g:2240:2: rule__Atom__Group__1__Impl rule__Atom__Group__2
7078 {
7079 pushFollow(FOLLOW_23);
7080 rule__Atom__Group__1__Impl();
7081
7082 state._fsp--;
7083
7084 pushFollow(FOLLOW_2);
7085 rule__Atom__Group__2();
7086
7087 state._fsp--;
7088
7089
7090 }
7091
7092 }
7093 catch (RecognitionException re) {
7094 reportError(re);
7095 recover(input,re);
7096 }
7097 finally {
7098
7099 restoreStackSize(stackSize);
7100
7101 }
7102 return ;
7103 }
7104 // $ANTLR end "rule__Atom__Group__1"
7105
7106
7107 // $ANTLR start "rule__Atom__Group__1__Impl"
7108 // InternalProblem.g:2247:1: rule__Atom__Group__1__Impl : ( ( rule__Atom__TransitiveClosureAssignment_1 )? ) ;
7109 public final void rule__Atom__Group__1__Impl() throws RecognitionException {
7110
7111 int stackSize = keepStackSize();
7112
7113 try {
7114 // InternalProblem.g:2251:1: ( ( ( rule__Atom__TransitiveClosureAssignment_1 )? ) )
7115 // InternalProblem.g:2252:1: ( ( rule__Atom__TransitiveClosureAssignment_1 )? )
7116 {
7117 // InternalProblem.g:2252:1: ( ( rule__Atom__TransitiveClosureAssignment_1 )? )
7118 // InternalProblem.g:2253:2: ( rule__Atom__TransitiveClosureAssignment_1 )?
7119 {
7120 before(grammarAccess.getAtomAccess().getTransitiveClosureAssignment_1());
7121 // InternalProblem.g:2254:2: ( rule__Atom__TransitiveClosureAssignment_1 )?
7122 int alt26=2;
7123 int LA26_0 = input.LA(1);
7124
7125 if ( (LA26_0==38) ) {
7126 alt26=1;
7127 }
7128 switch (alt26) {
7129 case 1 :
7130 // InternalProblem.g:2254:3: rule__Atom__TransitiveClosureAssignment_1
7131 {
7132 pushFollow(FOLLOW_2);
7133 rule__Atom__TransitiveClosureAssignment_1();
7134
7135 state._fsp--;
7136
7137
7138 }
7139 break;
7140
7141 }
7142
7143 after(grammarAccess.getAtomAccess().getTransitiveClosureAssignment_1());
7144
7145 }
7146
7147
7148 }
7149
7150 }
7151 catch (RecognitionException re) {
7152 reportError(re);
7153 recover(input,re);
7154 }
7155 finally {
7156
7157 restoreStackSize(stackSize);
7158
7159 }
7160 return ;
7161 }
7162 // $ANTLR end "rule__Atom__Group__1__Impl"
7163
7164
7165 // $ANTLR start "rule__Atom__Group__2"
7166 // InternalProblem.g:2262:1: rule__Atom__Group__2 : rule__Atom__Group__2__Impl rule__Atom__Group__3 ;
7167 public final void rule__Atom__Group__2() throws RecognitionException {
7168
7169 int stackSize = keepStackSize();
7170
7171 try {
7172 // InternalProblem.g:2266:1: ( rule__Atom__Group__2__Impl rule__Atom__Group__3 )
7173 // InternalProblem.g:2267:2: rule__Atom__Group__2__Impl rule__Atom__Group__3
7174 {
7175 pushFollow(FOLLOW_17);
7176 rule__Atom__Group__2__Impl();
7177
7178 state._fsp--;
7179
7180 pushFollow(FOLLOW_2);
7181 rule__Atom__Group__3();
7182
7183 state._fsp--;
7184
7185
7186 }
7187
7188 }
7189 catch (RecognitionException re) {
7190 reportError(re);
7191 recover(input,re);
7192 }
7193 finally {
7194
7195 restoreStackSize(stackSize);
7196
7197 }
7198 return ;
7199 }
7200 // $ANTLR end "rule__Atom__Group__2"
7201
7202
7203 // $ANTLR start "rule__Atom__Group__2__Impl"
7204 // InternalProblem.g:2274:1: rule__Atom__Group__2__Impl : ( '(' ) ;
7205 public final void rule__Atom__Group__2__Impl() throws RecognitionException {
7206
7207 int stackSize = keepStackSize();
7208
7209 try {
7210 // InternalProblem.g:2278:1: ( ( '(' ) )
7211 // InternalProblem.g:2279:1: ( '(' )
7212 {
7213 // InternalProblem.g:2279:1: ( '(' )
7214 // InternalProblem.g:2280:2: '('
7215 {
7216 before(grammarAccess.getAtomAccess().getLeftParenthesisKeyword_2());
7217 match(input,27,FOLLOW_2);
7218 after(grammarAccess.getAtomAccess().getLeftParenthesisKeyword_2());
7219
7220 }
7221
7222
7223 }
7224
7225 }
7226 catch (RecognitionException re) {
7227 reportError(re);
7228 recover(input,re);
7229 }
7230 finally {
7231
7232 restoreStackSize(stackSize);
7233
7234 }
7235 return ;
7236 }
7237 // $ANTLR end "rule__Atom__Group__2__Impl"
7238
7239
7240 // $ANTLR start "rule__Atom__Group__3"
7241 // InternalProblem.g:2289:1: rule__Atom__Group__3 : rule__Atom__Group__3__Impl rule__Atom__Group__4 ;
7242 public final void rule__Atom__Group__3() throws RecognitionException {
7243
7244 int stackSize = keepStackSize();
7245
7246 try {
7247 // InternalProblem.g:2293:1: ( rule__Atom__Group__3__Impl rule__Atom__Group__4 )
7248 // InternalProblem.g:2294:2: rule__Atom__Group__3__Impl rule__Atom__Group__4
7249 {
7250 pushFollow(FOLLOW_17);
7251 rule__Atom__Group__3__Impl();
7252
7253 state._fsp--;
7254
7255 pushFollow(FOLLOW_2);
7256 rule__Atom__Group__4();
7257
7258 state._fsp--;
7259
7260
7261 }
7262
7263 }
7264 catch (RecognitionException re) {
7265 reportError(re);
7266 recover(input,re);
7267 }
7268 finally {
7269
7270 restoreStackSize(stackSize);
7271
7272 }
7273 return ;
7274 }
7275 // $ANTLR end "rule__Atom__Group__3"
7276
7277
7278 // $ANTLR start "rule__Atom__Group__3__Impl"
7279 // InternalProblem.g:2301:1: rule__Atom__Group__3__Impl : ( ( rule__Atom__Group_3__0 )? ) ;
7280 public final void rule__Atom__Group__3__Impl() throws RecognitionException {
7281
7282 int stackSize = keepStackSize();
7283
7284 try {
7285 // InternalProblem.g:2305:1: ( ( ( rule__Atom__Group_3__0 )? ) )
7286 // InternalProblem.g:2306:1: ( ( rule__Atom__Group_3__0 )? )
7287 {
7288 // InternalProblem.g:2306:1: ( ( rule__Atom__Group_3__0 )? )
7289 // InternalProblem.g:2307:2: ( rule__Atom__Group_3__0 )?
7290 {
7291 before(grammarAccess.getAtomAccess().getGroup_3());
7292 // InternalProblem.g:2308:2: ( rule__Atom__Group_3__0 )?
7293 int alt27=2;
7294 int LA27_0 = input.LA(1);
7295
7296 if ( (LA27_0==RULE_ID) ) {
7297 alt27=1;
7298 }
7299 switch (alt27) {
7300 case 1 :
7301 // InternalProblem.g:2308:3: rule__Atom__Group_3__0
7302 {
7303 pushFollow(FOLLOW_2);
7304 rule__Atom__Group_3__0();
7305
7306 state._fsp--;
7307
7308
7309 }
7310 break;
7311
7312 }
7313
7314 after(grammarAccess.getAtomAccess().getGroup_3());
7315
7316 }
7317
7318
7319 }
7320
7321 }
7322 catch (RecognitionException re) {
7323 reportError(re);
7324 recover(input,re);
7325 }
7326 finally {
7327
7328 restoreStackSize(stackSize);
7329
7330 }
7331 return ;
7332 }
7333 // $ANTLR end "rule__Atom__Group__3__Impl"
7334
7335
7336 // $ANTLR start "rule__Atom__Group__4"
7337 // InternalProblem.g:2316:1: rule__Atom__Group__4 : rule__Atom__Group__4__Impl ;
7338 public final void rule__Atom__Group__4() throws RecognitionException {
7339
7340 int stackSize = keepStackSize();
7341
7342 try {
7343 // InternalProblem.g:2320:1: ( rule__Atom__Group__4__Impl )
7344 // InternalProblem.g:2321:2: rule__Atom__Group__4__Impl
7345 {
7346 pushFollow(FOLLOW_2);
7347 rule__Atom__Group__4__Impl();
7348
7349 state._fsp--;
7350
7351
7352 }
7353
7354 }
7355 catch (RecognitionException re) {
7356 reportError(re);
7357 recover(input,re);
7358 }
7359 finally {
7360
7361 restoreStackSize(stackSize);
7362
7363 }
7364 return ;
7365 }
7366 // $ANTLR end "rule__Atom__Group__4"
7367
7368
7369 // $ANTLR start "rule__Atom__Group__4__Impl"
7370 // InternalProblem.g:2327:1: rule__Atom__Group__4__Impl : ( ')' ) ;
7371 public final void rule__Atom__Group__4__Impl() throws RecognitionException {
7372
7373 int stackSize = keepStackSize();
7374
7375 try {
7376 // InternalProblem.g:2331:1: ( ( ')' ) )
7377 // InternalProblem.g:2332:1: ( ')' )
7378 {
7379 // InternalProblem.g:2332:1: ( ')' )
7380 // InternalProblem.g:2333:2: ')'
7381 {
7382 before(grammarAccess.getAtomAccess().getRightParenthesisKeyword_4());
7383 match(input,28,FOLLOW_2);
7384 after(grammarAccess.getAtomAccess().getRightParenthesisKeyword_4());
7385
7386 }
7387
7388
7389 }
7390
7391 }
7392 catch (RecognitionException re) {
7393 reportError(re);
7394 recover(input,re);
7395 }
7396 finally {
7397
7398 restoreStackSize(stackSize);
7399
7400 }
7401 return ;
7402 }
7403 // $ANTLR end "rule__Atom__Group__4__Impl"
7404
7405
7406 // $ANTLR start "rule__Atom__Group_3__0"
7407 // InternalProblem.g:2343:1: rule__Atom__Group_3__0 : rule__Atom__Group_3__0__Impl rule__Atom__Group_3__1 ;
7408 public final void rule__Atom__Group_3__0() throws RecognitionException {
7409
7410 int stackSize = keepStackSize();
7411
7412 try {
7413 // InternalProblem.g:2347:1: ( rule__Atom__Group_3__0__Impl rule__Atom__Group_3__1 )
7414 // InternalProblem.g:2348:2: rule__Atom__Group_3__0__Impl rule__Atom__Group_3__1
7415 {
7416 pushFollow(FOLLOW_10);
7417 rule__Atom__Group_3__0__Impl();
7418
7419 state._fsp--;
7420
7421 pushFollow(FOLLOW_2);
7422 rule__Atom__Group_3__1();
7423
7424 state._fsp--;
7425
7426
7427 }
7428
7429 }
7430 catch (RecognitionException re) {
7431 reportError(re);
7432 recover(input,re);
7433 }
7434 finally {
7435
7436 restoreStackSize(stackSize);
7437
7438 }
7439 return ;
7440 }
7441 // $ANTLR end "rule__Atom__Group_3__0"
7442
7443
7444 // $ANTLR start "rule__Atom__Group_3__0__Impl"
7445 // InternalProblem.g:2355:1: rule__Atom__Group_3__0__Impl : ( ( rule__Atom__ArgumentsAssignment_3_0 ) ) ;
7446 public final void rule__Atom__Group_3__0__Impl() throws RecognitionException {
7447
7448 int stackSize = keepStackSize();
7449
7450 try {
7451 // InternalProblem.g:2359:1: ( ( ( rule__Atom__ArgumentsAssignment_3_0 ) ) )
7452 // InternalProblem.g:2360:1: ( ( rule__Atom__ArgumentsAssignment_3_0 ) )
7453 {
7454 // InternalProblem.g:2360:1: ( ( rule__Atom__ArgumentsAssignment_3_0 ) )
7455 // InternalProblem.g:2361:2: ( rule__Atom__ArgumentsAssignment_3_0 )
7456 {
7457 before(grammarAccess.getAtomAccess().getArgumentsAssignment_3_0());
7458 // InternalProblem.g:2362:2: ( rule__Atom__ArgumentsAssignment_3_0 )
7459 // InternalProblem.g:2362:3: rule__Atom__ArgumentsAssignment_3_0
7460 {
7461 pushFollow(FOLLOW_2);
7462 rule__Atom__ArgumentsAssignment_3_0();
7463
7464 state._fsp--;
7465
7466
7467 }
7468
7469 after(grammarAccess.getAtomAccess().getArgumentsAssignment_3_0());
7470
7471 }
7472
7473
7474 }
7475
7476 }
7477 catch (RecognitionException re) {
7478 reportError(re);
7479 recover(input,re);
7480 }
7481 finally {
7482
7483 restoreStackSize(stackSize);
7484
7485 }
7486 return ;
7487 }
7488 // $ANTLR end "rule__Atom__Group_3__0__Impl"
7489
7490
7491 // $ANTLR start "rule__Atom__Group_3__1"
7492 // InternalProblem.g:2370:1: rule__Atom__Group_3__1 : rule__Atom__Group_3__1__Impl ;
7493 public final void rule__Atom__Group_3__1() throws RecognitionException {
7494
7495 int stackSize = keepStackSize();
7496
7497 try {
7498 // InternalProblem.g:2374:1: ( rule__Atom__Group_3__1__Impl )
7499 // InternalProblem.g:2375:2: rule__Atom__Group_3__1__Impl
7500 {
7501 pushFollow(FOLLOW_2);
7502 rule__Atom__Group_3__1__Impl();
7503
7504 state._fsp--;
7505
7506
7507 }
7508
7509 }
7510 catch (RecognitionException re) {
7511 reportError(re);
7512 recover(input,re);
7513 }
7514 finally {
7515
7516 restoreStackSize(stackSize);
7517
7518 }
7519 return ;
7520 }
7521 // $ANTLR end "rule__Atom__Group_3__1"
7522
7523
7524 // $ANTLR start "rule__Atom__Group_3__1__Impl"
7525 // InternalProblem.g:2381:1: rule__Atom__Group_3__1__Impl : ( ( rule__Atom__Group_3_1__0 )* ) ;
7526 public final void rule__Atom__Group_3__1__Impl() throws RecognitionException {
7527
7528 int stackSize = keepStackSize();
7529
7530 try {
7531 // InternalProblem.g:2385:1: ( ( ( rule__Atom__Group_3_1__0 )* ) )
7532 // InternalProblem.g:2386:1: ( ( rule__Atom__Group_3_1__0 )* )
7533 {
7534 // InternalProblem.g:2386:1: ( ( rule__Atom__Group_3_1__0 )* )
7535 // InternalProblem.g:2387:2: ( rule__Atom__Group_3_1__0 )*
7536 {
7537 before(grammarAccess.getAtomAccess().getGroup_3_1());
7538 // InternalProblem.g:2388:2: ( rule__Atom__Group_3_1__0 )*
7539 loop28:
7540 do {
7541 int alt28=2;
7542 int LA28_0 = input.LA(1);
7543
7544 if ( (LA28_0==25) ) {
7545 alt28=1;
7546 }
7547
7548
7549 switch (alt28) {
7550 case 1 :
7551 // InternalProblem.g:2388:3: rule__Atom__Group_3_1__0
7552 {
7553 pushFollow(FOLLOW_7);
7554 rule__Atom__Group_3_1__0();
7555
7556 state._fsp--;
7557
7558
7559 }
7560 break;
7561
7562 default :
7563 break loop28;
7564 }
7565 } while (true);
7566
7567 after(grammarAccess.getAtomAccess().getGroup_3_1());
7568
7569 }
7570
7571
7572 }
7573
7574 }
7575 catch (RecognitionException re) {
7576 reportError(re);
7577 recover(input,re);
7578 }
7579 finally {
7580
7581 restoreStackSize(stackSize);
7582
7583 }
7584 return ;
7585 }
7586 // $ANTLR end "rule__Atom__Group_3__1__Impl"
7587
7588
7589 // $ANTLR start "rule__Atom__Group_3_1__0"
7590 // InternalProblem.g:2397:1: rule__Atom__Group_3_1__0 : rule__Atom__Group_3_1__0__Impl rule__Atom__Group_3_1__1 ;
7591 public final void rule__Atom__Group_3_1__0() throws RecognitionException {
7592
7593 int stackSize = keepStackSize();
7594
7595 try {
7596 // InternalProblem.g:2401:1: ( rule__Atom__Group_3_1__0__Impl rule__Atom__Group_3_1__1 )
7597 // InternalProblem.g:2402:2: rule__Atom__Group_3_1__0__Impl rule__Atom__Group_3_1__1
7598 {
7599 pushFollow(FOLLOW_5);
7600 rule__Atom__Group_3_1__0__Impl();
7601
7602 state._fsp--;
7603
7604 pushFollow(FOLLOW_2);
7605 rule__Atom__Group_3_1__1();
7606
7607 state._fsp--;
7608
7609
7610 }
7611
7612 }
7613 catch (RecognitionException re) {
7614 reportError(re);
7615 recover(input,re);
7616 }
7617 finally {
7618
7619 restoreStackSize(stackSize);
7620
7621 }
7622 return ;
7623 }
7624 // $ANTLR end "rule__Atom__Group_3_1__0"
7625
7626
7627 // $ANTLR start "rule__Atom__Group_3_1__0__Impl"
7628 // InternalProblem.g:2409:1: rule__Atom__Group_3_1__0__Impl : ( ',' ) ;
7629 public final void rule__Atom__Group_3_1__0__Impl() throws RecognitionException {
7630
7631 int stackSize = keepStackSize();
7632
7633 try {
7634 // InternalProblem.g:2413:1: ( ( ',' ) )
7635 // InternalProblem.g:2414:1: ( ',' )
7636 {
7637 // InternalProblem.g:2414:1: ( ',' )
7638 // InternalProblem.g:2415:2: ','
7639 {
7640 before(grammarAccess.getAtomAccess().getCommaKeyword_3_1_0());
7641 match(input,25,FOLLOW_2);
7642 after(grammarAccess.getAtomAccess().getCommaKeyword_3_1_0());
7643
7644 }
7645
7646
7647 }
7648
7649 }
7650 catch (RecognitionException re) {
7651 reportError(re);
7652 recover(input,re);
7653 }
7654 finally {
7655
7656 restoreStackSize(stackSize);
7657
7658 }
7659 return ;
7660 }
7661 // $ANTLR end "rule__Atom__Group_3_1__0__Impl"
7662
7663
7664 // $ANTLR start "rule__Atom__Group_3_1__1"
7665 // InternalProblem.g:2424:1: rule__Atom__Group_3_1__1 : rule__Atom__Group_3_1__1__Impl ;
7666 public final void rule__Atom__Group_3_1__1() throws RecognitionException {
7667
7668 int stackSize = keepStackSize();
7669
7670 try {
7671 // InternalProblem.g:2428:1: ( rule__Atom__Group_3_1__1__Impl )
7672 // InternalProblem.g:2429:2: rule__Atom__Group_3_1__1__Impl
7673 {
7674 pushFollow(FOLLOW_2);
7675 rule__Atom__Group_3_1__1__Impl();
7676
7677 state._fsp--;
7678
7679
7680 }
7681
7682 }
7683 catch (RecognitionException re) {
7684 reportError(re);
7685 recover(input,re);
7686 }
7687 finally {
7688
7689 restoreStackSize(stackSize);
7690
7691 }
7692 return ;
7693 }
7694 // $ANTLR end "rule__Atom__Group_3_1__1"
7695
7696
7697 // $ANTLR start "rule__Atom__Group_3_1__1__Impl"
7698 // InternalProblem.g:2435:1: rule__Atom__Group_3_1__1__Impl : ( ( rule__Atom__ArgumentsAssignment_3_1_1 ) ) ;
7699 public final void rule__Atom__Group_3_1__1__Impl() throws RecognitionException {
7700
7701 int stackSize = keepStackSize();
7702
7703 try {
7704 // InternalProblem.g:2439:1: ( ( ( rule__Atom__ArgumentsAssignment_3_1_1 ) ) )
7705 // InternalProblem.g:2440:1: ( ( rule__Atom__ArgumentsAssignment_3_1_1 ) )
7706 {
7707 // InternalProblem.g:2440:1: ( ( rule__Atom__ArgumentsAssignment_3_1_1 ) )
7708 // InternalProblem.g:2441:2: ( rule__Atom__ArgumentsAssignment_3_1_1 )
7709 {
7710 before(grammarAccess.getAtomAccess().getArgumentsAssignment_3_1_1());
7711 // InternalProblem.g:2442:2: ( rule__Atom__ArgumentsAssignment_3_1_1 )
7712 // InternalProblem.g:2442:3: rule__Atom__ArgumentsAssignment_3_1_1
7713 {
7714 pushFollow(FOLLOW_2);
7715 rule__Atom__ArgumentsAssignment_3_1_1();
7716
7717 state._fsp--;
7718
7719
7720 }
7721
7722 after(grammarAccess.getAtomAccess().getArgumentsAssignment_3_1_1());
7723
7724 }
7725
7726
7727 }
7728
7729 }
7730 catch (RecognitionException re) {
7731 reportError(re);
7732 recover(input,re);
7733 }
7734 finally {
7735
7736 restoreStackSize(stackSize);
7737
7738 }
7739 return ;
7740 }
7741 // $ANTLR end "rule__Atom__Group_3_1__1__Impl"
7742
7743
7744 // $ANTLR start "rule__Assertion__Group__0"
7745 // InternalProblem.g:2451:1: rule__Assertion__Group__0 : rule__Assertion__Group__0__Impl rule__Assertion__Group__1 ;
7746 public final void rule__Assertion__Group__0() throws RecognitionException {
7747
7748 int stackSize = keepStackSize();
7749
7750 try {
7751 // InternalProblem.g:2455:1: ( rule__Assertion__Group__0__Impl rule__Assertion__Group__1 )
7752 // InternalProblem.g:2456:2: rule__Assertion__Group__0__Impl rule__Assertion__Group__1
7753 {
7754 pushFollow(FOLLOW_24);
7755 rule__Assertion__Group__0__Impl();
7756
7757 state._fsp--;
7758
7759 pushFollow(FOLLOW_2);
7760 rule__Assertion__Group__1();
7761
7762 state._fsp--;
7763
7764
7765 }
7766
7767 }
7768 catch (RecognitionException re) {
7769 reportError(re);
7770 recover(input,re);
7771 }
7772 finally {
7773
7774 restoreStackSize(stackSize);
7775
7776 }
7777 return ;
7778 }
7779 // $ANTLR end "rule__Assertion__Group__0"
7780
7781
7782 // $ANTLR start "rule__Assertion__Group__0__Impl"
7783 // InternalProblem.g:2463:1: rule__Assertion__Group__0__Impl : ( ( rule__Assertion__Alternatives_0 ) ) ;
7784 public final void rule__Assertion__Group__0__Impl() throws RecognitionException {
7785
7786 int stackSize = keepStackSize();
7787
7788 try {
7789 // InternalProblem.g:2467:1: ( ( ( rule__Assertion__Alternatives_0 ) ) )
7790 // InternalProblem.g:2468:1: ( ( rule__Assertion__Alternatives_0 ) )
7791 {
7792 // InternalProblem.g:2468:1: ( ( rule__Assertion__Alternatives_0 ) )
7793 // InternalProblem.g:2469:2: ( rule__Assertion__Alternatives_0 )
7794 {
7795 before(grammarAccess.getAssertionAccess().getAlternatives_0());
7796 // InternalProblem.g:2470:2: ( rule__Assertion__Alternatives_0 )
7797 // InternalProblem.g:2470:3: rule__Assertion__Alternatives_0
7798 {
7799 pushFollow(FOLLOW_2);
7800 rule__Assertion__Alternatives_0();
7801
7802 state._fsp--;
7803
7804
7805 }
7806
7807 after(grammarAccess.getAssertionAccess().getAlternatives_0());
7808
7809 }
7810
7811
7812 }
7813
7814 }
7815 catch (RecognitionException re) {
7816 reportError(re);
7817 recover(input,re);
7818 }
7819 finally {
7820
7821 restoreStackSize(stackSize);
7822
7823 }
7824 return ;
7825 }
7826 // $ANTLR end "rule__Assertion__Group__0__Impl"
7827
7828
7829 // $ANTLR start "rule__Assertion__Group__1"
7830 // InternalProblem.g:2478:1: rule__Assertion__Group__1 : rule__Assertion__Group__1__Impl ;
7831 public final void rule__Assertion__Group__1() throws RecognitionException {
7832
7833 int stackSize = keepStackSize();
7834
7835 try {
7836 // InternalProblem.g:2482:1: ( rule__Assertion__Group__1__Impl )
7837 // InternalProblem.g:2483:2: rule__Assertion__Group__1__Impl
7838 {
7839 pushFollow(FOLLOW_2);
7840 rule__Assertion__Group__1__Impl();
7841
7842 state._fsp--;
7843
7844
7845 }
7846
7847 }
7848 catch (RecognitionException re) {
7849 reportError(re);
7850 recover(input,re);
7851 }
7852 finally {
7853
7854 restoreStackSize(stackSize);
7855
7856 }
7857 return ;
7858 }
7859 // $ANTLR end "rule__Assertion__Group__1"
7860
7861
7862 // $ANTLR start "rule__Assertion__Group__1__Impl"
7863 // InternalProblem.g:2489:1: rule__Assertion__Group__1__Impl : ( '.' ) ;
7864 public final void rule__Assertion__Group__1__Impl() throws RecognitionException {
7865
7866 int stackSize = keepStackSize();
7867
7868 try {
7869 // InternalProblem.g:2493:1: ( ( '.' ) )
7870 // InternalProblem.g:2494:1: ( '.' )
7871 {
7872 // InternalProblem.g:2494:1: ( '.' )
7873 // InternalProblem.g:2495:2: '.'
7874 {
7875 before(grammarAccess.getAssertionAccess().getFullStopKeyword_1());
7876 match(input,21,FOLLOW_2);
7877 after(grammarAccess.getAssertionAccess().getFullStopKeyword_1());
7878
7879 }
7880
7881
7882 }
7883
7884 }
7885 catch (RecognitionException re) {
7886 reportError(re);
7887 recover(input,re);
7888 }
7889 finally {
7890
7891 restoreStackSize(stackSize);
7892
7893 }
7894 return ;
7895 }
7896 // $ANTLR end "rule__Assertion__Group__1__Impl"
7897
7898
7899 // $ANTLR start "rule__Assertion__Group_0_0__0"
7900 // InternalProblem.g:2505:1: rule__Assertion__Group_0_0__0 : rule__Assertion__Group_0_0__0__Impl rule__Assertion__Group_0_0__1 ;
7901 public final void rule__Assertion__Group_0_0__0() throws RecognitionException {
7902
7903 int stackSize = keepStackSize();
7904
7905 try {
7906 // InternalProblem.g:2509:1: ( rule__Assertion__Group_0_0__0__Impl rule__Assertion__Group_0_0__1 )
7907 // InternalProblem.g:2510:2: rule__Assertion__Group_0_0__0__Impl rule__Assertion__Group_0_0__1
7908 {
7909 pushFollow(FOLLOW_16);
7910 rule__Assertion__Group_0_0__0__Impl();
7911
7912 state._fsp--;
7913
7914 pushFollow(FOLLOW_2);
7915 rule__Assertion__Group_0_0__1();
7916
7917 state._fsp--;
7918
7919
7920 }
7921
7922 }
7923 catch (RecognitionException re) {
7924 reportError(re);
7925 recover(input,re);
7926 }
7927 finally {
7928
7929 restoreStackSize(stackSize);
7930
7931 }
7932 return ;
7933 }
7934 // $ANTLR end "rule__Assertion__Group_0_0__0"
7935
7936
7937 // $ANTLR start "rule__Assertion__Group_0_0__0__Impl"
7938 // InternalProblem.g:2517:1: rule__Assertion__Group_0_0__0__Impl : ( ( rule__Assertion__RelationAssignment_0_0_0 ) ) ;
7939 public final void rule__Assertion__Group_0_0__0__Impl() throws RecognitionException {
7940
7941 int stackSize = keepStackSize();
7942
7943 try {
7944 // InternalProblem.g:2521:1: ( ( ( rule__Assertion__RelationAssignment_0_0_0 ) ) )
7945 // InternalProblem.g:2522:1: ( ( rule__Assertion__RelationAssignment_0_0_0 ) )
7946 {
7947 // InternalProblem.g:2522:1: ( ( rule__Assertion__RelationAssignment_0_0_0 ) )
7948 // InternalProblem.g:2523:2: ( rule__Assertion__RelationAssignment_0_0_0 )
7949 {
7950 before(grammarAccess.getAssertionAccess().getRelationAssignment_0_0_0());
7951 // InternalProblem.g:2524:2: ( rule__Assertion__RelationAssignment_0_0_0 )
7952 // InternalProblem.g:2524:3: rule__Assertion__RelationAssignment_0_0_0
7953 {
7954 pushFollow(FOLLOW_2);
7955 rule__Assertion__RelationAssignment_0_0_0();
7956
7957 state._fsp--;
7958
7959
7960 }
7961
7962 after(grammarAccess.getAssertionAccess().getRelationAssignment_0_0_0());
7963
7964 }
7965
7966
7967 }
7968
7969 }
7970 catch (RecognitionException re) {
7971 reportError(re);
7972 recover(input,re);
7973 }
7974 finally {
7975
7976 restoreStackSize(stackSize);
7977
7978 }
7979 return ;
7980 }
7981 // $ANTLR end "rule__Assertion__Group_0_0__0__Impl"
7982
7983
7984 // $ANTLR start "rule__Assertion__Group_0_0__1"
7985 // InternalProblem.g:2532:1: rule__Assertion__Group_0_0__1 : rule__Assertion__Group_0_0__1__Impl rule__Assertion__Group_0_0__2 ;
7986 public final void rule__Assertion__Group_0_0__1() throws RecognitionException {
7987
7988 int stackSize = keepStackSize();
7989
7990 try {
7991 // InternalProblem.g:2536:1: ( rule__Assertion__Group_0_0__1__Impl rule__Assertion__Group_0_0__2 )
7992 // InternalProblem.g:2537:2: rule__Assertion__Group_0_0__1__Impl rule__Assertion__Group_0_0__2
7993 {
7994 pushFollow(FOLLOW_17);
7995 rule__Assertion__Group_0_0__1__Impl();
7996
7997 state._fsp--;
7998
7999 pushFollow(FOLLOW_2);
8000 rule__Assertion__Group_0_0__2();
8001
8002 state._fsp--;
8003
8004
8005 }
8006
8007 }
8008 catch (RecognitionException re) {
8009 reportError(re);
8010 recover(input,re);
8011 }
8012 finally {
8013
8014 restoreStackSize(stackSize);
8015
8016 }
8017 return ;
8018 }
8019 // $ANTLR end "rule__Assertion__Group_0_0__1"
8020
8021
8022 // $ANTLR start "rule__Assertion__Group_0_0__1__Impl"
8023 // InternalProblem.g:2544:1: rule__Assertion__Group_0_0__1__Impl : ( '(' ) ;
8024 public final void rule__Assertion__Group_0_0__1__Impl() throws RecognitionException {
8025
8026 int stackSize = keepStackSize();
8027
8028 try {
8029 // InternalProblem.g:2548:1: ( ( '(' ) )
8030 // InternalProblem.g:2549:1: ( '(' )
8031 {
8032 // InternalProblem.g:2549:1: ( '(' )
8033 // InternalProblem.g:2550:2: '('
8034 {
8035 before(grammarAccess.getAssertionAccess().getLeftParenthesisKeyword_0_0_1());
8036 match(input,27,FOLLOW_2);
8037 after(grammarAccess.getAssertionAccess().getLeftParenthesisKeyword_0_0_1());
8038
8039 }
8040
8041
8042 }
8043
8044 }
8045 catch (RecognitionException re) {
8046 reportError(re);
8047 recover(input,re);
8048 }
8049 finally {
8050
8051 restoreStackSize(stackSize);
8052
8053 }
8054 return ;
8055 }
8056 // $ANTLR end "rule__Assertion__Group_0_0__1__Impl"
8057
8058
8059 // $ANTLR start "rule__Assertion__Group_0_0__2"
8060 // InternalProblem.g:2559:1: rule__Assertion__Group_0_0__2 : rule__Assertion__Group_0_0__2__Impl rule__Assertion__Group_0_0__3 ;
8061 public final void rule__Assertion__Group_0_0__2() throws RecognitionException {
8062
8063 int stackSize = keepStackSize();
8064
8065 try {
8066 // InternalProblem.g:2563:1: ( rule__Assertion__Group_0_0__2__Impl rule__Assertion__Group_0_0__3 )
8067 // InternalProblem.g:2564:2: rule__Assertion__Group_0_0__2__Impl rule__Assertion__Group_0_0__3
8068 {
8069 pushFollow(FOLLOW_17);
8070 rule__Assertion__Group_0_0__2__Impl();
8071
8072 state._fsp--;
8073
8074 pushFollow(FOLLOW_2);
8075 rule__Assertion__Group_0_0__3();
8076
8077 state._fsp--;
8078
8079
8080 }
8081
8082 }
8083 catch (RecognitionException re) {
8084 reportError(re);
8085 recover(input,re);
8086 }
8087 finally {
8088
8089 restoreStackSize(stackSize);
8090
8091 }
8092 return ;
8093 }
8094 // $ANTLR end "rule__Assertion__Group_0_0__2"
8095
8096
8097 // $ANTLR start "rule__Assertion__Group_0_0__2__Impl"
8098 // InternalProblem.g:2571:1: rule__Assertion__Group_0_0__2__Impl : ( ( rule__Assertion__Group_0_0_2__0 )? ) ;
8099 public final void rule__Assertion__Group_0_0__2__Impl() throws RecognitionException {
8100
8101 int stackSize = keepStackSize();
8102
8103 try {
8104 // InternalProblem.g:2575:1: ( ( ( rule__Assertion__Group_0_0_2__0 )? ) )
8105 // InternalProblem.g:2576:1: ( ( rule__Assertion__Group_0_0_2__0 )? )
8106 {
8107 // InternalProblem.g:2576:1: ( ( rule__Assertion__Group_0_0_2__0 )? )
8108 // InternalProblem.g:2577:2: ( rule__Assertion__Group_0_0_2__0 )?
8109 {
8110 before(grammarAccess.getAssertionAccess().getGroup_0_0_2());
8111 // InternalProblem.g:2578:2: ( rule__Assertion__Group_0_0_2__0 )?
8112 int alt29=2;
8113 int LA29_0 = input.LA(1);
8114
8115 if ( (LA29_0==RULE_ID) ) {
8116 alt29=1;
8117 }
8118 switch (alt29) {
8119 case 1 :
8120 // InternalProblem.g:2578:3: rule__Assertion__Group_0_0_2__0
8121 {
8122 pushFollow(FOLLOW_2);
8123 rule__Assertion__Group_0_0_2__0();
8124
8125 state._fsp--;
8126
8127
8128 }
8129 break;
8130
8131 }
8132
8133 after(grammarAccess.getAssertionAccess().getGroup_0_0_2());
8134
8135 }
8136
8137
8138 }
8139
8140 }
8141 catch (RecognitionException re) {
8142 reportError(re);
8143 recover(input,re);
8144 }
8145 finally {
8146
8147 restoreStackSize(stackSize);
8148
8149 }
8150 return ;
8151 }
8152 // $ANTLR end "rule__Assertion__Group_0_0__2__Impl"
8153
8154
8155 // $ANTLR start "rule__Assertion__Group_0_0__3"
8156 // InternalProblem.g:2586:1: rule__Assertion__Group_0_0__3 : rule__Assertion__Group_0_0__3__Impl rule__Assertion__Group_0_0__4 ;
8157 public final void rule__Assertion__Group_0_0__3() throws RecognitionException {
8158
8159 int stackSize = keepStackSize();
8160
8161 try {
8162 // InternalProblem.g:2590:1: ( rule__Assertion__Group_0_0__3__Impl rule__Assertion__Group_0_0__4 )
8163 // InternalProblem.g:2591:2: rule__Assertion__Group_0_0__3__Impl rule__Assertion__Group_0_0__4
8164 {
8165 pushFollow(FOLLOW_25);
8166 rule__Assertion__Group_0_0__3__Impl();
8167
8168 state._fsp--;
8169
8170 pushFollow(FOLLOW_2);
8171 rule__Assertion__Group_0_0__4();
8172
8173 state._fsp--;
8174
8175
8176 }
8177
8178 }
8179 catch (RecognitionException re) {
8180 reportError(re);
8181 recover(input,re);
8182 }
8183 finally {
8184
8185 restoreStackSize(stackSize);
8186
8187 }
8188 return ;
8189 }
8190 // $ANTLR end "rule__Assertion__Group_0_0__3"
8191
8192
8193 // $ANTLR start "rule__Assertion__Group_0_0__3__Impl"
8194 // InternalProblem.g:2598:1: rule__Assertion__Group_0_0__3__Impl : ( ')' ) ;
8195 public final void rule__Assertion__Group_0_0__3__Impl() throws RecognitionException {
8196
8197 int stackSize = keepStackSize();
8198
8199 try {
8200 // InternalProblem.g:2602:1: ( ( ')' ) )
8201 // InternalProblem.g:2603:1: ( ')' )
8202 {
8203 // InternalProblem.g:2603:1: ( ')' )
8204 // InternalProblem.g:2604:2: ')'
8205 {
8206 before(grammarAccess.getAssertionAccess().getRightParenthesisKeyword_0_0_3());
8207 match(input,28,FOLLOW_2);
8208 after(grammarAccess.getAssertionAccess().getRightParenthesisKeyword_0_0_3());
8209
8210 }
8211
8212
8213 }
8214
8215 }
8216 catch (RecognitionException re) {
8217 reportError(re);
8218 recover(input,re);
8219 }
8220 finally {
8221
8222 restoreStackSize(stackSize);
8223
8224 }
8225 return ;
8226 }
8227 // $ANTLR end "rule__Assertion__Group_0_0__3__Impl"
8228
8229
8230 // $ANTLR start "rule__Assertion__Group_0_0__4"
8231 // InternalProblem.g:2613:1: rule__Assertion__Group_0_0__4 : rule__Assertion__Group_0_0__4__Impl rule__Assertion__Group_0_0__5 ;
8232 public final void rule__Assertion__Group_0_0__4() throws RecognitionException {
8233
8234 int stackSize = keepStackSize();
8235
8236 try {
8237 // InternalProblem.g:2617:1: ( rule__Assertion__Group_0_0__4__Impl rule__Assertion__Group_0_0__5 )
8238 // InternalProblem.g:2618:2: rule__Assertion__Group_0_0__4__Impl rule__Assertion__Group_0_0__5
8239 {
8240 pushFollow(FOLLOW_26);
8241 rule__Assertion__Group_0_0__4__Impl();
8242
8243 state._fsp--;
8244
8245 pushFollow(FOLLOW_2);
8246 rule__Assertion__Group_0_0__5();
8247
8248 state._fsp--;
8249
8250
8251 }
8252
8253 }
8254 catch (RecognitionException re) {
8255 reportError(re);
8256 recover(input,re);
8257 }
8258 finally {
8259
8260 restoreStackSize(stackSize);
8261
8262 }
8263 return ;
8264 }
8265 // $ANTLR end "rule__Assertion__Group_0_0__4"
8266
8267
8268 // $ANTLR start "rule__Assertion__Group_0_0__4__Impl"
8269 // InternalProblem.g:2625:1: rule__Assertion__Group_0_0__4__Impl : ( ':' ) ;
8270 public final void rule__Assertion__Group_0_0__4__Impl() throws RecognitionException {
8271
8272 int stackSize = keepStackSize();
8273
8274 try {
8275 // InternalProblem.g:2629:1: ( ( ':' ) )
8276 // InternalProblem.g:2630:1: ( ':' )
8277 {
8278 // InternalProblem.g:2630:1: ( ':' )
8279 // InternalProblem.g:2631:2: ':'
8280 {
8281 before(grammarAccess.getAssertionAccess().getColonKeyword_0_0_4());
8282 match(input,31,FOLLOW_2);
8283 after(grammarAccess.getAssertionAccess().getColonKeyword_0_0_4());
8284
8285 }
8286
8287
8288 }
8289
8290 }
8291 catch (RecognitionException re) {
8292 reportError(re);
8293 recover(input,re);
8294 }
8295 finally {
8296
8297 restoreStackSize(stackSize);
8298
8299 }
8300 return ;
8301 }
8302 // $ANTLR end "rule__Assertion__Group_0_0__4__Impl"
8303
8304
8305 // $ANTLR start "rule__Assertion__Group_0_0__5"
8306 // InternalProblem.g:2640:1: rule__Assertion__Group_0_0__5 : rule__Assertion__Group_0_0__5__Impl ;
8307 public final void rule__Assertion__Group_0_0__5() throws RecognitionException {
8308
8309 int stackSize = keepStackSize();
8310
8311 try {
8312 // InternalProblem.g:2644:1: ( rule__Assertion__Group_0_0__5__Impl )
8313 // InternalProblem.g:2645:2: rule__Assertion__Group_0_0__5__Impl
8314 {
8315 pushFollow(FOLLOW_2);
8316 rule__Assertion__Group_0_0__5__Impl();
8317
8318 state._fsp--;
8319
8320
8321 }
8322
8323 }
8324 catch (RecognitionException re) {
8325 reportError(re);
8326 recover(input,re);
8327 }
8328 finally {
8329
8330 restoreStackSize(stackSize);
8331
8332 }
8333 return ;
8334 }
8335 // $ANTLR end "rule__Assertion__Group_0_0__5"
8336
8337
8338 // $ANTLR start "rule__Assertion__Group_0_0__5__Impl"
8339 // InternalProblem.g:2651:1: rule__Assertion__Group_0_0__5__Impl : ( ( rule__Assertion__ValueAssignment_0_0_5 ) ) ;
8340 public final void rule__Assertion__Group_0_0__5__Impl() throws RecognitionException {
8341
8342 int stackSize = keepStackSize();
8343
8344 try {
8345 // InternalProblem.g:2655:1: ( ( ( rule__Assertion__ValueAssignment_0_0_5 ) ) )
8346 // InternalProblem.g:2656:1: ( ( rule__Assertion__ValueAssignment_0_0_5 ) )
8347 {
8348 // InternalProblem.g:2656:1: ( ( rule__Assertion__ValueAssignment_0_0_5 ) )
8349 // InternalProblem.g:2657:2: ( rule__Assertion__ValueAssignment_0_0_5 )
8350 {
8351 before(grammarAccess.getAssertionAccess().getValueAssignment_0_0_5());
8352 // InternalProblem.g:2658:2: ( rule__Assertion__ValueAssignment_0_0_5 )
8353 // InternalProblem.g:2658:3: rule__Assertion__ValueAssignment_0_0_5
8354 {
8355 pushFollow(FOLLOW_2);
8356 rule__Assertion__ValueAssignment_0_0_5();
8357
8358 state._fsp--;
8359
8360
8361 }
8362
8363 after(grammarAccess.getAssertionAccess().getValueAssignment_0_0_5());
8364
8365 }
8366
8367
8368 }
8369
8370 }
8371 catch (RecognitionException re) {
8372 reportError(re);
8373 recover(input,re);
8374 }
8375 finally {
8376
8377 restoreStackSize(stackSize);
8378
8379 }
8380 return ;
8381 }
8382 // $ANTLR end "rule__Assertion__Group_0_0__5__Impl"
8383
8384
8385 // $ANTLR start "rule__Assertion__Group_0_0_2__0"
8386 // InternalProblem.g:2667:1: rule__Assertion__Group_0_0_2__0 : rule__Assertion__Group_0_0_2__0__Impl rule__Assertion__Group_0_0_2__1 ;
8387 public final void rule__Assertion__Group_0_0_2__0() throws RecognitionException {
8388
8389 int stackSize = keepStackSize();
8390
8391 try {
8392 // InternalProblem.g:2671:1: ( rule__Assertion__Group_0_0_2__0__Impl rule__Assertion__Group_0_0_2__1 )
8393 // InternalProblem.g:2672:2: rule__Assertion__Group_0_0_2__0__Impl rule__Assertion__Group_0_0_2__1
8394 {
8395 pushFollow(FOLLOW_10);
8396 rule__Assertion__Group_0_0_2__0__Impl();
8397
8398 state._fsp--;
8399
8400 pushFollow(FOLLOW_2);
8401 rule__Assertion__Group_0_0_2__1();
8402
8403 state._fsp--;
8404
8405
8406 }
8407
8408 }
8409 catch (RecognitionException re) {
8410 reportError(re);
8411 recover(input,re);
8412 }
8413 finally {
8414
8415 restoreStackSize(stackSize);
8416
8417 }
8418 return ;
8419 }
8420 // $ANTLR end "rule__Assertion__Group_0_0_2__0"
8421
8422
8423 // $ANTLR start "rule__Assertion__Group_0_0_2__0__Impl"
8424 // InternalProblem.g:2679:1: rule__Assertion__Group_0_0_2__0__Impl : ( ( rule__Assertion__ArgumentsAssignment_0_0_2_0 ) ) ;
8425 public final void rule__Assertion__Group_0_0_2__0__Impl() throws RecognitionException {
8426
8427 int stackSize = keepStackSize();
8428
8429 try {
8430 // InternalProblem.g:2683:1: ( ( ( rule__Assertion__ArgumentsAssignment_0_0_2_0 ) ) )
8431 // InternalProblem.g:2684:1: ( ( rule__Assertion__ArgumentsAssignment_0_0_2_0 ) )
8432 {
8433 // InternalProblem.g:2684:1: ( ( rule__Assertion__ArgumentsAssignment_0_0_2_0 ) )
8434 // InternalProblem.g:2685:2: ( rule__Assertion__ArgumentsAssignment_0_0_2_0 )
8435 {
8436 before(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_0_2_0());
8437 // InternalProblem.g:2686:2: ( rule__Assertion__ArgumentsAssignment_0_0_2_0 )
8438 // InternalProblem.g:2686:3: rule__Assertion__ArgumentsAssignment_0_0_2_0
8439 {
8440 pushFollow(FOLLOW_2);
8441 rule__Assertion__ArgumentsAssignment_0_0_2_0();
8442
8443 state._fsp--;
8444
8445
8446 }
8447
8448 after(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_0_2_0());
8449
8450 }
8451
8452
8453 }
8454
8455 }
8456 catch (RecognitionException re) {
8457 reportError(re);
8458 recover(input,re);
8459 }
8460 finally {
8461
8462 restoreStackSize(stackSize);
8463
8464 }
8465 return ;
8466 }
8467 // $ANTLR end "rule__Assertion__Group_0_0_2__0__Impl"
8468
8469
8470 // $ANTLR start "rule__Assertion__Group_0_0_2__1"
8471 // InternalProblem.g:2694:1: rule__Assertion__Group_0_0_2__1 : rule__Assertion__Group_0_0_2__1__Impl ;
8472 public final void rule__Assertion__Group_0_0_2__1() throws RecognitionException {
8473
8474 int stackSize = keepStackSize();
8475
8476 try {
8477 // InternalProblem.g:2698:1: ( rule__Assertion__Group_0_0_2__1__Impl )
8478 // InternalProblem.g:2699:2: rule__Assertion__Group_0_0_2__1__Impl
8479 {
8480 pushFollow(FOLLOW_2);
8481 rule__Assertion__Group_0_0_2__1__Impl();
8482
8483 state._fsp--;
8484
8485
8486 }
8487
8488 }
8489 catch (RecognitionException re) {
8490 reportError(re);
8491 recover(input,re);
8492 }
8493 finally {
8494
8495 restoreStackSize(stackSize);
8496
8497 }
8498 return ;
8499 }
8500 // $ANTLR end "rule__Assertion__Group_0_0_2__1"
8501
8502
8503 // $ANTLR start "rule__Assertion__Group_0_0_2__1__Impl"
8504 // InternalProblem.g:2705:1: rule__Assertion__Group_0_0_2__1__Impl : ( ( rule__Assertion__Group_0_0_2_1__0 )* ) ;
8505 public final void rule__Assertion__Group_0_0_2__1__Impl() throws RecognitionException {
8506
8507 int stackSize = keepStackSize();
8508
8509 try {
8510 // InternalProblem.g:2709:1: ( ( ( rule__Assertion__Group_0_0_2_1__0 )* ) )
8511 // InternalProblem.g:2710:1: ( ( rule__Assertion__Group_0_0_2_1__0 )* )
8512 {
8513 // InternalProblem.g:2710:1: ( ( rule__Assertion__Group_0_0_2_1__0 )* )
8514 // InternalProblem.g:2711:2: ( rule__Assertion__Group_0_0_2_1__0 )*
8515 {
8516 before(grammarAccess.getAssertionAccess().getGroup_0_0_2_1());
8517 // InternalProblem.g:2712:2: ( rule__Assertion__Group_0_0_2_1__0 )*
8518 loop30:
8519 do {
8520 int alt30=2;
8521 int LA30_0 = input.LA(1);
8522
8523 if ( (LA30_0==25) ) {
8524 alt30=1;
8525 }
8526
8527
8528 switch (alt30) {
8529 case 1 :
8530 // InternalProblem.g:2712:3: rule__Assertion__Group_0_0_2_1__0
8531 {
8532 pushFollow(FOLLOW_7);
8533 rule__Assertion__Group_0_0_2_1__0();
8534
8535 state._fsp--;
8536
8537
8538 }
8539 break;
8540
8541 default :
8542 break loop30;
8543 }
8544 } while (true);
8545
8546 after(grammarAccess.getAssertionAccess().getGroup_0_0_2_1());
8547
8548 }
8549
8550
8551 }
8552
8553 }
8554 catch (RecognitionException re) {
8555 reportError(re);
8556 recover(input,re);
8557 }
8558 finally {
8559
8560 restoreStackSize(stackSize);
8561
8562 }
8563 return ;
8564 }
8565 // $ANTLR end "rule__Assertion__Group_0_0_2__1__Impl"
8566
8567
8568 // $ANTLR start "rule__Assertion__Group_0_0_2_1__0"
8569 // InternalProblem.g:2721:1: rule__Assertion__Group_0_0_2_1__0 : rule__Assertion__Group_0_0_2_1__0__Impl rule__Assertion__Group_0_0_2_1__1 ;
8570 public final void rule__Assertion__Group_0_0_2_1__0() throws RecognitionException {
8571
8572 int stackSize = keepStackSize();
8573
8574 try {
8575 // InternalProblem.g:2725:1: ( rule__Assertion__Group_0_0_2_1__0__Impl rule__Assertion__Group_0_0_2_1__1 )
8576 // InternalProblem.g:2726:2: rule__Assertion__Group_0_0_2_1__0__Impl rule__Assertion__Group_0_0_2_1__1
8577 {
8578 pushFollow(FOLLOW_5);
8579 rule__Assertion__Group_0_0_2_1__0__Impl();
8580
8581 state._fsp--;
8582
8583 pushFollow(FOLLOW_2);
8584 rule__Assertion__Group_0_0_2_1__1();
8585
8586 state._fsp--;
8587
8588
8589 }
8590
8591 }
8592 catch (RecognitionException re) {
8593 reportError(re);
8594 recover(input,re);
8595 }
8596 finally {
8597
8598 restoreStackSize(stackSize);
8599
8600 }
8601 return ;
8602 }
8603 // $ANTLR end "rule__Assertion__Group_0_0_2_1__0"
8604
8605
8606 // $ANTLR start "rule__Assertion__Group_0_0_2_1__0__Impl"
8607 // InternalProblem.g:2733:1: rule__Assertion__Group_0_0_2_1__0__Impl : ( ',' ) ;
8608 public final void rule__Assertion__Group_0_0_2_1__0__Impl() throws RecognitionException {
8609
8610 int stackSize = keepStackSize();
8611
8612 try {
8613 // InternalProblem.g:2737:1: ( ( ',' ) )
8614 // InternalProblem.g:2738:1: ( ',' )
8615 {
8616 // InternalProblem.g:2738:1: ( ',' )
8617 // InternalProblem.g:2739:2: ','
8618 {
8619 before(grammarAccess.getAssertionAccess().getCommaKeyword_0_0_2_1_0());
8620 match(input,25,FOLLOW_2);
8621 after(grammarAccess.getAssertionAccess().getCommaKeyword_0_0_2_1_0());
8622
8623 }
8624
8625
8626 }
8627
8628 }
8629 catch (RecognitionException re) {
8630 reportError(re);
8631 recover(input,re);
8632 }
8633 finally {
8634
8635 restoreStackSize(stackSize);
8636
8637 }
8638 return ;
8639 }
8640 // $ANTLR end "rule__Assertion__Group_0_0_2_1__0__Impl"
8641
8642
8643 // $ANTLR start "rule__Assertion__Group_0_0_2_1__1"
8644 // InternalProblem.g:2748:1: rule__Assertion__Group_0_0_2_1__1 : rule__Assertion__Group_0_0_2_1__1__Impl ;
8645 public final void rule__Assertion__Group_0_0_2_1__1() throws RecognitionException {
8646
8647 int stackSize = keepStackSize();
8648
8649 try {
8650 // InternalProblem.g:2752:1: ( rule__Assertion__Group_0_0_2_1__1__Impl )
8651 // InternalProblem.g:2753:2: rule__Assertion__Group_0_0_2_1__1__Impl
8652 {
8653 pushFollow(FOLLOW_2);
8654 rule__Assertion__Group_0_0_2_1__1__Impl();
8655
8656 state._fsp--;
8657
8658
8659 }
8660
8661 }
8662 catch (RecognitionException re) {
8663 reportError(re);
8664 recover(input,re);
8665 }
8666 finally {
8667
8668 restoreStackSize(stackSize);
8669
8670 }
8671 return ;
8672 }
8673 // $ANTLR end "rule__Assertion__Group_0_0_2_1__1"
8674
8675
8676 // $ANTLR start "rule__Assertion__Group_0_0_2_1__1__Impl"
8677 // InternalProblem.g:2759:1: rule__Assertion__Group_0_0_2_1__1__Impl : ( ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 ) ) ;
8678 public final void rule__Assertion__Group_0_0_2_1__1__Impl() throws RecognitionException {
8679
8680 int stackSize = keepStackSize();
8681
8682 try {
8683 // InternalProblem.g:2763:1: ( ( ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 ) ) )
8684 // InternalProblem.g:2764:1: ( ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 ) )
8685 {
8686 // InternalProblem.g:2764:1: ( ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 ) )
8687 // InternalProblem.g:2765:2: ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 )
8688 {
8689 before(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_0_2_1_1());
8690 // InternalProblem.g:2766:2: ( rule__Assertion__ArgumentsAssignment_0_0_2_1_1 )
8691 // InternalProblem.g:2766:3: rule__Assertion__ArgumentsAssignment_0_0_2_1_1
8692 {
8693 pushFollow(FOLLOW_2);
8694 rule__Assertion__ArgumentsAssignment_0_0_2_1_1();
8695
8696 state._fsp--;
8697
8698
8699 }
8700
8701 after(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_0_2_1_1());
8702
8703 }
8704
8705
8706 }
8707
8708 }
8709 catch (RecognitionException re) {
8710 reportError(re);
8711 recover(input,re);
8712 }
8713 finally {
8714
8715 restoreStackSize(stackSize);
8716
8717 }
8718 return ;
8719 }
8720 // $ANTLR end "rule__Assertion__Group_0_0_2_1__1__Impl"
8721
8722
8723 // $ANTLR start "rule__Assertion__Group_0_1__0"
8724 // InternalProblem.g:2775:1: rule__Assertion__Group_0_1__0 : rule__Assertion__Group_0_1__0__Impl rule__Assertion__Group_0_1__1 ;
8725 public final void rule__Assertion__Group_0_1__0() throws RecognitionException {
8726
8727 int stackSize = keepStackSize();
8728
8729 try {
8730 // InternalProblem.g:2779:1: ( rule__Assertion__Group_0_1__0__Impl rule__Assertion__Group_0_1__1 )
8731 // InternalProblem.g:2780:2: rule__Assertion__Group_0_1__0__Impl rule__Assertion__Group_0_1__1
8732 {
8733 pushFollow(FOLLOW_27);
8734 rule__Assertion__Group_0_1__0__Impl();
8735
8736 state._fsp--;
8737
8738 pushFollow(FOLLOW_2);
8739 rule__Assertion__Group_0_1__1();
8740
8741 state._fsp--;
8742
8743
8744 }
8745
8746 }
8747 catch (RecognitionException re) {
8748 reportError(re);
8749 recover(input,re);
8750 }
8751 finally {
8752
8753 restoreStackSize(stackSize);
8754
8755 }
8756 return ;
8757 }
8758 // $ANTLR end "rule__Assertion__Group_0_1__0"
8759
8760
8761 // $ANTLR start "rule__Assertion__Group_0_1__0__Impl"
8762 // InternalProblem.g:2787:1: rule__Assertion__Group_0_1__0__Impl : ( ( rule__Assertion__ValueAssignment_0_1_0 )? ) ;
8763 public final void rule__Assertion__Group_0_1__0__Impl() throws RecognitionException {
8764
8765 int stackSize = keepStackSize();
8766
8767 try {
8768 // InternalProblem.g:2791:1: ( ( ( rule__Assertion__ValueAssignment_0_1_0 )? ) )
8769 // InternalProblem.g:2792:1: ( ( rule__Assertion__ValueAssignment_0_1_0 )? )
8770 {
8771 // InternalProblem.g:2792:1: ( ( rule__Assertion__ValueAssignment_0_1_0 )? )
8772 // InternalProblem.g:2793:2: ( rule__Assertion__ValueAssignment_0_1_0 )?
8773 {
8774 before(grammarAccess.getAssertionAccess().getValueAssignment_0_1_0());
8775 // InternalProblem.g:2794:2: ( rule__Assertion__ValueAssignment_0_1_0 )?
8776 int alt31=2;
8777 int LA31_0 = input.LA(1);
8778
8779 if ( ((LA31_0>=18 && LA31_0<=19)) ) {
8780 alt31=1;
8781 }
8782 switch (alt31) {
8783 case 1 :
8784 // InternalProblem.g:2794:3: rule__Assertion__ValueAssignment_0_1_0
8785 {
8786 pushFollow(FOLLOW_2);
8787 rule__Assertion__ValueAssignment_0_1_0();
8788
8789 state._fsp--;
8790
8791
8792 }
8793 break;
8794
8795 }
8796
8797 after(grammarAccess.getAssertionAccess().getValueAssignment_0_1_0());
8798
8799 }
8800
8801
8802 }
8803
8804 }
8805 catch (RecognitionException re) {
8806 reportError(re);
8807 recover(input,re);
8808 }
8809 finally {
8810
8811 restoreStackSize(stackSize);
8812
8813 }
8814 return ;
8815 }
8816 // $ANTLR end "rule__Assertion__Group_0_1__0__Impl"
8817
8818
8819 // $ANTLR start "rule__Assertion__Group_0_1__1"
8820 // InternalProblem.g:2802:1: rule__Assertion__Group_0_1__1 : rule__Assertion__Group_0_1__1__Impl rule__Assertion__Group_0_1__2 ;
8821 public final void rule__Assertion__Group_0_1__1() throws RecognitionException {
8822
8823 int stackSize = keepStackSize();
8824
8825 try {
8826 // InternalProblem.g:2806:1: ( rule__Assertion__Group_0_1__1__Impl rule__Assertion__Group_0_1__2 )
8827 // InternalProblem.g:2807:2: rule__Assertion__Group_0_1__1__Impl rule__Assertion__Group_0_1__2
8828 {
8829 pushFollow(FOLLOW_16);
8830 rule__Assertion__Group_0_1__1__Impl();
8831
8832 state._fsp--;
8833
8834 pushFollow(FOLLOW_2);
8835 rule__Assertion__Group_0_1__2();
8836
8837 state._fsp--;
8838
8839
8840 }
8841
8842 }
8843 catch (RecognitionException re) {
8844 reportError(re);
8845 recover(input,re);
8846 }
8847 finally {
8848
8849 restoreStackSize(stackSize);
8850
8851 }
8852 return ;
8853 }
8854 // $ANTLR end "rule__Assertion__Group_0_1__1"
8855
8856
8857 // $ANTLR start "rule__Assertion__Group_0_1__1__Impl"
8858 // InternalProblem.g:2814:1: rule__Assertion__Group_0_1__1__Impl : ( ( rule__Assertion__RelationAssignment_0_1_1 ) ) ;
8859 public final void rule__Assertion__Group_0_1__1__Impl() throws RecognitionException {
8860
8861 int stackSize = keepStackSize();
8862
8863 try {
8864 // InternalProblem.g:2818:1: ( ( ( rule__Assertion__RelationAssignment_0_1_1 ) ) )
8865 // InternalProblem.g:2819:1: ( ( rule__Assertion__RelationAssignment_0_1_1 ) )
8866 {
8867 // InternalProblem.g:2819:1: ( ( rule__Assertion__RelationAssignment_0_1_1 ) )
8868 // InternalProblem.g:2820:2: ( rule__Assertion__RelationAssignment_0_1_1 )
8869 {
8870 before(grammarAccess.getAssertionAccess().getRelationAssignment_0_1_1());
8871 // InternalProblem.g:2821:2: ( rule__Assertion__RelationAssignment_0_1_1 )
8872 // InternalProblem.g:2821:3: rule__Assertion__RelationAssignment_0_1_1
8873 {
8874 pushFollow(FOLLOW_2);
8875 rule__Assertion__RelationAssignment_0_1_1();
8876
8877 state._fsp--;
8878
8879
8880 }
8881
8882 after(grammarAccess.getAssertionAccess().getRelationAssignment_0_1_1());
8883
8884 }
8885
8886
8887 }
8888
8889 }
8890 catch (RecognitionException re) {
8891 reportError(re);
8892 recover(input,re);
8893 }
8894 finally {
8895
8896 restoreStackSize(stackSize);
8897
8898 }
8899 return ;
8900 }
8901 // $ANTLR end "rule__Assertion__Group_0_1__1__Impl"
8902
8903
8904 // $ANTLR start "rule__Assertion__Group_0_1__2"
8905 // InternalProblem.g:2829:1: rule__Assertion__Group_0_1__2 : rule__Assertion__Group_0_1__2__Impl rule__Assertion__Group_0_1__3 ;
8906 public final void rule__Assertion__Group_0_1__2() throws RecognitionException {
8907
8908 int stackSize = keepStackSize();
8909
8910 try {
8911 // InternalProblem.g:2833:1: ( rule__Assertion__Group_0_1__2__Impl rule__Assertion__Group_0_1__3 )
8912 // InternalProblem.g:2834:2: rule__Assertion__Group_0_1__2__Impl rule__Assertion__Group_0_1__3
8913 {
8914 pushFollow(FOLLOW_17);
8915 rule__Assertion__Group_0_1__2__Impl();
8916
8917 state._fsp--;
8918
8919 pushFollow(FOLLOW_2);
8920 rule__Assertion__Group_0_1__3();
8921
8922 state._fsp--;
8923
8924
8925 }
8926
8927 }
8928 catch (RecognitionException re) {
8929 reportError(re);
8930 recover(input,re);
8931 }
8932 finally {
8933
8934 restoreStackSize(stackSize);
8935
8936 }
8937 return ;
8938 }
8939 // $ANTLR end "rule__Assertion__Group_0_1__2"
8940
8941
8942 // $ANTLR start "rule__Assertion__Group_0_1__2__Impl"
8943 // InternalProblem.g:2841:1: rule__Assertion__Group_0_1__2__Impl : ( '(' ) ;
8944 public final void rule__Assertion__Group_0_1__2__Impl() throws RecognitionException {
8945
8946 int stackSize = keepStackSize();
8947
8948 try {
8949 // InternalProblem.g:2845:1: ( ( '(' ) )
8950 // InternalProblem.g:2846:1: ( '(' )
8951 {
8952 // InternalProblem.g:2846:1: ( '(' )
8953 // InternalProblem.g:2847:2: '('
8954 {
8955 before(grammarAccess.getAssertionAccess().getLeftParenthesisKeyword_0_1_2());
8956 match(input,27,FOLLOW_2);
8957 after(grammarAccess.getAssertionAccess().getLeftParenthesisKeyword_0_1_2());
8958
8959 }
8960
8961
8962 }
8963
8964 }
8965 catch (RecognitionException re) {
8966 reportError(re);
8967 recover(input,re);
8968 }
8969 finally {
8970
8971 restoreStackSize(stackSize);
8972
8973 }
8974 return ;
8975 }
8976 // $ANTLR end "rule__Assertion__Group_0_1__2__Impl"
8977
8978
8979 // $ANTLR start "rule__Assertion__Group_0_1__3"
8980 // InternalProblem.g:2856:1: rule__Assertion__Group_0_1__3 : rule__Assertion__Group_0_1__3__Impl rule__Assertion__Group_0_1__4 ;
8981 public final void rule__Assertion__Group_0_1__3() throws RecognitionException {
8982
8983 int stackSize = keepStackSize();
8984
8985 try {
8986 // InternalProblem.g:2860:1: ( rule__Assertion__Group_0_1__3__Impl rule__Assertion__Group_0_1__4 )
8987 // InternalProblem.g:2861:2: rule__Assertion__Group_0_1__3__Impl rule__Assertion__Group_0_1__4
8988 {
8989 pushFollow(FOLLOW_17);
8990 rule__Assertion__Group_0_1__3__Impl();
8991
8992 state._fsp--;
8993
8994 pushFollow(FOLLOW_2);
8995 rule__Assertion__Group_0_1__4();
8996
8997 state._fsp--;
8998
8999
9000 }
9001
9002 }
9003 catch (RecognitionException re) {
9004 reportError(re);
9005 recover(input,re);
9006 }
9007 finally {
9008
9009 restoreStackSize(stackSize);
9010
9011 }
9012 return ;
9013 }
9014 // $ANTLR end "rule__Assertion__Group_0_1__3"
9015
9016
9017 // $ANTLR start "rule__Assertion__Group_0_1__3__Impl"
9018 // InternalProblem.g:2868:1: rule__Assertion__Group_0_1__3__Impl : ( ( rule__Assertion__Group_0_1_3__0 )? ) ;
9019 public final void rule__Assertion__Group_0_1__3__Impl() throws RecognitionException {
9020
9021 int stackSize = keepStackSize();
9022
9023 try {
9024 // InternalProblem.g:2872:1: ( ( ( rule__Assertion__Group_0_1_3__0 )? ) )
9025 // InternalProblem.g:2873:1: ( ( rule__Assertion__Group_0_1_3__0 )? )
9026 {
9027 // InternalProblem.g:2873:1: ( ( rule__Assertion__Group_0_1_3__0 )? )
9028 // InternalProblem.g:2874:2: ( rule__Assertion__Group_0_1_3__0 )?
9029 {
9030 before(grammarAccess.getAssertionAccess().getGroup_0_1_3());
9031 // InternalProblem.g:2875:2: ( rule__Assertion__Group_0_1_3__0 )?
9032 int alt32=2;
9033 int LA32_0 = input.LA(1);
9034
9035 if ( (LA32_0==RULE_ID) ) {
9036 alt32=1;
9037 }
9038 switch (alt32) {
9039 case 1 :
9040 // InternalProblem.g:2875:3: rule__Assertion__Group_0_1_3__0
9041 {
9042 pushFollow(FOLLOW_2);
9043 rule__Assertion__Group_0_1_3__0();
9044
9045 state._fsp--;
9046
9047
9048 }
9049 break;
9050
9051 }
9052
9053 after(grammarAccess.getAssertionAccess().getGroup_0_1_3());
9054
9055 }
9056
9057
9058 }
9059
9060 }
9061 catch (RecognitionException re) {
9062 reportError(re);
9063 recover(input,re);
9064 }
9065 finally {
9066
9067 restoreStackSize(stackSize);
9068
9069 }
9070 return ;
9071 }
9072 // $ANTLR end "rule__Assertion__Group_0_1__3__Impl"
9073
9074
9075 // $ANTLR start "rule__Assertion__Group_0_1__4"
9076 // InternalProblem.g:2883:1: rule__Assertion__Group_0_1__4 : rule__Assertion__Group_0_1__4__Impl ;
9077 public final void rule__Assertion__Group_0_1__4() throws RecognitionException {
9078
9079 int stackSize = keepStackSize();
9080
9081 try {
9082 // InternalProblem.g:2887:1: ( rule__Assertion__Group_0_1__4__Impl )
9083 // InternalProblem.g:2888:2: rule__Assertion__Group_0_1__4__Impl
9084 {
9085 pushFollow(FOLLOW_2);
9086 rule__Assertion__Group_0_1__4__Impl();
9087
9088 state._fsp--;
9089
9090
9091 }
9092
9093 }
9094 catch (RecognitionException re) {
9095 reportError(re);
9096 recover(input,re);
9097 }
9098 finally {
9099
9100 restoreStackSize(stackSize);
9101
9102 }
9103 return ;
9104 }
9105 // $ANTLR end "rule__Assertion__Group_0_1__4"
9106
9107
9108 // $ANTLR start "rule__Assertion__Group_0_1__4__Impl"
9109 // InternalProblem.g:2894:1: rule__Assertion__Group_0_1__4__Impl : ( ')' ) ;
9110 public final void rule__Assertion__Group_0_1__4__Impl() throws RecognitionException {
9111
9112 int stackSize = keepStackSize();
9113
9114 try {
9115 // InternalProblem.g:2898:1: ( ( ')' ) )
9116 // InternalProblem.g:2899:1: ( ')' )
9117 {
9118 // InternalProblem.g:2899:1: ( ')' )
9119 // InternalProblem.g:2900:2: ')'
9120 {
9121 before(grammarAccess.getAssertionAccess().getRightParenthesisKeyword_0_1_4());
9122 match(input,28,FOLLOW_2);
9123 after(grammarAccess.getAssertionAccess().getRightParenthesisKeyword_0_1_4());
9124
9125 }
9126
9127
9128 }
9129
9130 }
9131 catch (RecognitionException re) {
9132 reportError(re);
9133 recover(input,re);
9134 }
9135 finally {
9136
9137 restoreStackSize(stackSize);
9138
9139 }
9140 return ;
9141 }
9142 // $ANTLR end "rule__Assertion__Group_0_1__4__Impl"
9143
9144
9145 // $ANTLR start "rule__Assertion__Group_0_1_3__0"
9146 // InternalProblem.g:2910:1: rule__Assertion__Group_0_1_3__0 : rule__Assertion__Group_0_1_3__0__Impl rule__Assertion__Group_0_1_3__1 ;
9147 public final void rule__Assertion__Group_0_1_3__0() throws RecognitionException {
9148
9149 int stackSize = keepStackSize();
9150
9151 try {
9152 // InternalProblem.g:2914:1: ( rule__Assertion__Group_0_1_3__0__Impl rule__Assertion__Group_0_1_3__1 )
9153 // InternalProblem.g:2915:2: rule__Assertion__Group_0_1_3__0__Impl rule__Assertion__Group_0_1_3__1
9154 {
9155 pushFollow(FOLLOW_10);
9156 rule__Assertion__Group_0_1_3__0__Impl();
9157
9158 state._fsp--;
9159
9160 pushFollow(FOLLOW_2);
9161 rule__Assertion__Group_0_1_3__1();
9162
9163 state._fsp--;
9164
9165
9166 }
9167
9168 }
9169 catch (RecognitionException re) {
9170 reportError(re);
9171 recover(input,re);
9172 }
9173 finally {
9174
9175 restoreStackSize(stackSize);
9176
9177 }
9178 return ;
9179 }
9180 // $ANTLR end "rule__Assertion__Group_0_1_3__0"
9181
9182
9183 // $ANTLR start "rule__Assertion__Group_0_1_3__0__Impl"
9184 // InternalProblem.g:2922:1: rule__Assertion__Group_0_1_3__0__Impl : ( ( rule__Assertion__ArgumentsAssignment_0_1_3_0 ) ) ;
9185 public final void rule__Assertion__Group_0_1_3__0__Impl() throws RecognitionException {
9186
9187 int stackSize = keepStackSize();
9188
9189 try {
9190 // InternalProblem.g:2926:1: ( ( ( rule__Assertion__ArgumentsAssignment_0_1_3_0 ) ) )
9191 // InternalProblem.g:2927:1: ( ( rule__Assertion__ArgumentsAssignment_0_1_3_0 ) )
9192 {
9193 // InternalProblem.g:2927:1: ( ( rule__Assertion__ArgumentsAssignment_0_1_3_0 ) )
9194 // InternalProblem.g:2928:2: ( rule__Assertion__ArgumentsAssignment_0_1_3_0 )
9195 {
9196 before(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_1_3_0());
9197 // InternalProblem.g:2929:2: ( rule__Assertion__ArgumentsAssignment_0_1_3_0 )
9198 // InternalProblem.g:2929:3: rule__Assertion__ArgumentsAssignment_0_1_3_0
9199 {
9200 pushFollow(FOLLOW_2);
9201 rule__Assertion__ArgumentsAssignment_0_1_3_0();
9202
9203 state._fsp--;
9204
9205
9206 }
9207
9208 after(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_1_3_0());
9209
9210 }
9211
9212
9213 }
9214
9215 }
9216 catch (RecognitionException re) {
9217 reportError(re);
9218 recover(input,re);
9219 }
9220 finally {
9221
9222 restoreStackSize(stackSize);
9223
9224 }
9225 return ;
9226 }
9227 // $ANTLR end "rule__Assertion__Group_0_1_3__0__Impl"
9228
9229
9230 // $ANTLR start "rule__Assertion__Group_0_1_3__1"
9231 // InternalProblem.g:2937:1: rule__Assertion__Group_0_1_3__1 : rule__Assertion__Group_0_1_3__1__Impl ;
9232 public final void rule__Assertion__Group_0_1_3__1() throws RecognitionException {
9233
9234 int stackSize = keepStackSize();
9235
9236 try {
9237 // InternalProblem.g:2941:1: ( rule__Assertion__Group_0_1_3__1__Impl )
9238 // InternalProblem.g:2942:2: rule__Assertion__Group_0_1_3__1__Impl
9239 {
9240 pushFollow(FOLLOW_2);
9241 rule__Assertion__Group_0_1_3__1__Impl();
9242
9243 state._fsp--;
9244
9245
9246 }
9247
9248 }
9249 catch (RecognitionException re) {
9250 reportError(re);
9251 recover(input,re);
9252 }
9253 finally {
9254
9255 restoreStackSize(stackSize);
9256
9257 }
9258 return ;
9259 }
9260 // $ANTLR end "rule__Assertion__Group_0_1_3__1"
9261
9262
9263 // $ANTLR start "rule__Assertion__Group_0_1_3__1__Impl"
9264 // InternalProblem.g:2948:1: rule__Assertion__Group_0_1_3__1__Impl : ( ( rule__Assertion__Group_0_1_3_1__0 )* ) ;
9265 public final void rule__Assertion__Group_0_1_3__1__Impl() throws RecognitionException {
9266
9267 int stackSize = keepStackSize();
9268
9269 try {
9270 // InternalProblem.g:2952:1: ( ( ( rule__Assertion__Group_0_1_3_1__0 )* ) )
9271 // InternalProblem.g:2953:1: ( ( rule__Assertion__Group_0_1_3_1__0 )* )
9272 {
9273 // InternalProblem.g:2953:1: ( ( rule__Assertion__Group_0_1_3_1__0 )* )
9274 // InternalProblem.g:2954:2: ( rule__Assertion__Group_0_1_3_1__0 )*
9275 {
9276 before(grammarAccess.getAssertionAccess().getGroup_0_1_3_1());
9277 // InternalProblem.g:2955:2: ( rule__Assertion__Group_0_1_3_1__0 )*
9278 loop33:
9279 do {
9280 int alt33=2;
9281 int LA33_0 = input.LA(1);
9282
9283 if ( (LA33_0==25) ) {
9284 alt33=1;
9285 }
9286
9287
9288 switch (alt33) {
9289 case 1 :
9290 // InternalProblem.g:2955:3: rule__Assertion__Group_0_1_3_1__0
9291 {
9292 pushFollow(FOLLOW_7);
9293 rule__Assertion__Group_0_1_3_1__0();
9294
9295 state._fsp--;
9296
9297
9298 }
9299 break;
9300
9301 default :
9302 break loop33;
9303 }
9304 } while (true);
9305
9306 after(grammarAccess.getAssertionAccess().getGroup_0_1_3_1());
9307
9308 }
9309
9310
9311 }
9312
9313 }
9314 catch (RecognitionException re) {
9315 reportError(re);
9316 recover(input,re);
9317 }
9318 finally {
9319
9320 restoreStackSize(stackSize);
9321
9322 }
9323 return ;
9324 }
9325 // $ANTLR end "rule__Assertion__Group_0_1_3__1__Impl"
9326
9327
9328 // $ANTLR start "rule__Assertion__Group_0_1_3_1__0"
9329 // InternalProblem.g:2964:1: rule__Assertion__Group_0_1_3_1__0 : rule__Assertion__Group_0_1_3_1__0__Impl rule__Assertion__Group_0_1_3_1__1 ;
9330 public final void rule__Assertion__Group_0_1_3_1__0() throws RecognitionException {
9331
9332 int stackSize = keepStackSize();
9333
9334 try {
9335 // InternalProblem.g:2968:1: ( rule__Assertion__Group_0_1_3_1__0__Impl rule__Assertion__Group_0_1_3_1__1 )
9336 // InternalProblem.g:2969:2: rule__Assertion__Group_0_1_3_1__0__Impl rule__Assertion__Group_0_1_3_1__1
9337 {
9338 pushFollow(FOLLOW_5);
9339 rule__Assertion__Group_0_1_3_1__0__Impl();
9340
9341 state._fsp--;
9342
9343 pushFollow(FOLLOW_2);
9344 rule__Assertion__Group_0_1_3_1__1();
9345
9346 state._fsp--;
9347
9348
9349 }
9350
9351 }
9352 catch (RecognitionException re) {
9353 reportError(re);
9354 recover(input,re);
9355 }
9356 finally {
9357
9358 restoreStackSize(stackSize);
9359
9360 }
9361 return ;
9362 }
9363 // $ANTLR end "rule__Assertion__Group_0_1_3_1__0"
9364
9365
9366 // $ANTLR start "rule__Assertion__Group_0_1_3_1__0__Impl"
9367 // InternalProblem.g:2976:1: rule__Assertion__Group_0_1_3_1__0__Impl : ( ',' ) ;
9368 public final void rule__Assertion__Group_0_1_3_1__0__Impl() throws RecognitionException {
9369
9370 int stackSize = keepStackSize();
9371
9372 try {
9373 // InternalProblem.g:2980:1: ( ( ',' ) )
9374 // InternalProblem.g:2981:1: ( ',' )
9375 {
9376 // InternalProblem.g:2981:1: ( ',' )
9377 // InternalProblem.g:2982:2: ','
9378 {
9379 before(grammarAccess.getAssertionAccess().getCommaKeyword_0_1_3_1_0());
9380 match(input,25,FOLLOW_2);
9381 after(grammarAccess.getAssertionAccess().getCommaKeyword_0_1_3_1_0());
9382
9383 }
9384
9385
9386 }
9387
9388 }
9389 catch (RecognitionException re) {
9390 reportError(re);
9391 recover(input,re);
9392 }
9393 finally {
9394
9395 restoreStackSize(stackSize);
9396
9397 }
9398 return ;
9399 }
9400 // $ANTLR end "rule__Assertion__Group_0_1_3_1__0__Impl"
9401
9402
9403 // $ANTLR start "rule__Assertion__Group_0_1_3_1__1"
9404 // InternalProblem.g:2991:1: rule__Assertion__Group_0_1_3_1__1 : rule__Assertion__Group_0_1_3_1__1__Impl ;
9405 public final void rule__Assertion__Group_0_1_3_1__1() throws RecognitionException {
9406
9407 int stackSize = keepStackSize();
9408
9409 try {
9410 // InternalProblem.g:2995:1: ( rule__Assertion__Group_0_1_3_1__1__Impl )
9411 // InternalProblem.g:2996:2: rule__Assertion__Group_0_1_3_1__1__Impl
9412 {
9413 pushFollow(FOLLOW_2);
9414 rule__Assertion__Group_0_1_3_1__1__Impl();
9415
9416 state._fsp--;
9417
9418
9419 }
9420
9421 }
9422 catch (RecognitionException re) {
9423 reportError(re);
9424 recover(input,re);
9425 }
9426 finally {
9427
9428 restoreStackSize(stackSize);
9429
9430 }
9431 return ;
9432 }
9433 // $ANTLR end "rule__Assertion__Group_0_1_3_1__1"
9434
9435
9436 // $ANTLR start "rule__Assertion__Group_0_1_3_1__1__Impl"
9437 // InternalProblem.g:3002:1: rule__Assertion__Group_0_1_3_1__1__Impl : ( ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 ) ) ;
9438 public final void rule__Assertion__Group_0_1_3_1__1__Impl() throws RecognitionException {
9439
9440 int stackSize = keepStackSize();
9441
9442 try {
9443 // InternalProblem.g:3006:1: ( ( ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 ) ) )
9444 // InternalProblem.g:3007:1: ( ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 ) )
9445 {
9446 // InternalProblem.g:3007:1: ( ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 ) )
9447 // InternalProblem.g:3008:2: ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 )
9448 {
9449 before(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_1_3_1_1());
9450 // InternalProblem.g:3009:2: ( rule__Assertion__ArgumentsAssignment_0_1_3_1_1 )
9451 // InternalProblem.g:3009:3: rule__Assertion__ArgumentsAssignment_0_1_3_1_1
9452 {
9453 pushFollow(FOLLOW_2);
9454 rule__Assertion__ArgumentsAssignment_0_1_3_1_1();
9455
9456 state._fsp--;
9457
9458
9459 }
9460
9461 after(grammarAccess.getAssertionAccess().getArgumentsAssignment_0_1_3_1_1());
9462
9463 }
9464
9465
9466 }
9467
9468 }
9469 catch (RecognitionException re) {
9470 reportError(re);
9471 recover(input,re);
9472 }
9473 finally {
9474
9475 restoreStackSize(stackSize);
9476
9477 }
9478 return ;
9479 }
9480 // $ANTLR end "rule__Assertion__Group_0_1_3_1__1__Impl"
9481
9482
9483 // $ANTLR start "rule__ScopeDeclaration__Group__0"
9484 // InternalProblem.g:3018:1: rule__ScopeDeclaration__Group__0 : rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 ;
9485 public final void rule__ScopeDeclaration__Group__0() throws RecognitionException {
9486
9487 int stackSize = keepStackSize();
9488
9489 try {
9490 // InternalProblem.g:3022:1: ( rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1 )
9491 // InternalProblem.g:3023:2: rule__ScopeDeclaration__Group__0__Impl rule__ScopeDeclaration__Group__1
9492 {
9493 pushFollow(FOLLOW_5);
9494 rule__ScopeDeclaration__Group__0__Impl();
9495
9496 state._fsp--;
9497
9498 pushFollow(FOLLOW_2);
9499 rule__ScopeDeclaration__Group__1();
9500
9501 state._fsp--;
9502
9503
9504 }
9505
9506 }
9507 catch (RecognitionException re) {
9508 reportError(re);
9509 recover(input,re);
9510 }
9511 finally {
9512
9513 restoreStackSize(stackSize);
9514
9515 }
9516 return ;
9517 }
9518 // $ANTLR end "rule__ScopeDeclaration__Group__0"
9519
9520
9521 // $ANTLR start "rule__ScopeDeclaration__Group__0__Impl"
9522 // InternalProblem.g:3030:1: rule__ScopeDeclaration__Group__0__Impl : ( 'scope' ) ;
9523 public final void rule__ScopeDeclaration__Group__0__Impl() throws RecognitionException {
9524
9525 int stackSize = keepStackSize();
9526
9527 try {
9528 // InternalProblem.g:3034:1: ( ( 'scope' ) )
9529 // InternalProblem.g:3035:1: ( 'scope' )
9530 {
9531 // InternalProblem.g:3035:1: ( 'scope' )
9532 // InternalProblem.g:3036:2: 'scope'
9533 {
9534 before(grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0());
9535 match(input,32,FOLLOW_2);
9536 after(grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0());
9537
9538 }
9539
9540
9541 }
9542
9543 }
9544 catch (RecognitionException re) {
9545 reportError(re);
9546 recover(input,re);
9547 }
9548 finally {
9549
9550 restoreStackSize(stackSize);
9551
9552 }
9553 return ;
9554 }
9555 // $ANTLR end "rule__ScopeDeclaration__Group__0__Impl"
9556
9557
9558 // $ANTLR start "rule__ScopeDeclaration__Group__1"
9559 // InternalProblem.g:3045:1: rule__ScopeDeclaration__Group__1 : rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 ;
9560 public final void rule__ScopeDeclaration__Group__1() throws RecognitionException {
9561
9562 int stackSize = keepStackSize();
9563
9564 try {
9565 // InternalProblem.g:3049:1: ( rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2 )
9566 // InternalProblem.g:3050:2: rule__ScopeDeclaration__Group__1__Impl rule__ScopeDeclaration__Group__2
9567 {
9568 pushFollow(FOLLOW_28);
9569 rule__ScopeDeclaration__Group__1__Impl();
9570
9571 state._fsp--;
9572
9573 pushFollow(FOLLOW_2);
9574 rule__ScopeDeclaration__Group__2();
9575
9576 state._fsp--;
9577
9578
9579 }
9580
9581 }
9582 catch (RecognitionException re) {
9583 reportError(re);
9584 recover(input,re);
9585 }
9586 finally {
9587
9588 restoreStackSize(stackSize);
9589
9590 }
9591 return ;
9592 }
9593 // $ANTLR end "rule__ScopeDeclaration__Group__1"
9594
9595
9596 // $ANTLR start "rule__ScopeDeclaration__Group__1__Impl"
9597 // InternalProblem.g:3057:1: rule__ScopeDeclaration__Group__1__Impl : ( ( rule__ScopeDeclaration__TypeScopesAssignment_1 ) ) ;
9598 public final void rule__ScopeDeclaration__Group__1__Impl() throws RecognitionException {
9599
9600 int stackSize = keepStackSize();
9601
9602 try {
9603 // InternalProblem.g:3061:1: ( ( ( rule__ScopeDeclaration__TypeScopesAssignment_1 ) ) )
9604 // InternalProblem.g:3062:1: ( ( rule__ScopeDeclaration__TypeScopesAssignment_1 ) )
9605 {
9606 // InternalProblem.g:3062:1: ( ( rule__ScopeDeclaration__TypeScopesAssignment_1 ) )
9607 // InternalProblem.g:3063:2: ( rule__ScopeDeclaration__TypeScopesAssignment_1 )
9608 {
9609 before(grammarAccess.getScopeDeclarationAccess().getTypeScopesAssignment_1());
9610 // InternalProblem.g:3064:2: ( rule__ScopeDeclaration__TypeScopesAssignment_1 )
9611 // InternalProblem.g:3064:3: rule__ScopeDeclaration__TypeScopesAssignment_1
9612 {
9613 pushFollow(FOLLOW_2);
9614 rule__ScopeDeclaration__TypeScopesAssignment_1();
9615
9616 state._fsp--;
9617
9618
9619 }
9620
9621 after(grammarAccess.getScopeDeclarationAccess().getTypeScopesAssignment_1());
9622
9623 }
9624
9625
9626 }
9627
9628 }
9629 catch (RecognitionException re) {
9630 reportError(re);
9631 recover(input,re);
9632 }
9633 finally {
9634
9635 restoreStackSize(stackSize);
9636
9637 }
9638 return ;
9639 }
9640 // $ANTLR end "rule__ScopeDeclaration__Group__1__Impl"
9641
9642
9643 // $ANTLR start "rule__ScopeDeclaration__Group__2"
9644 // InternalProblem.g:3072:1: rule__ScopeDeclaration__Group__2 : rule__ScopeDeclaration__Group__2__Impl rule__ScopeDeclaration__Group__3 ;
9645 public final void rule__ScopeDeclaration__Group__2() throws RecognitionException {
9646
9647 int stackSize = keepStackSize();
9648
9649 try {
9650 // InternalProblem.g:3076:1: ( rule__ScopeDeclaration__Group__2__Impl rule__ScopeDeclaration__Group__3 )
9651 // InternalProblem.g:3077:2: rule__ScopeDeclaration__Group__2__Impl rule__ScopeDeclaration__Group__3
9652 {
9653 pushFollow(FOLLOW_28);
9654 rule__ScopeDeclaration__Group__2__Impl();
9655
9656 state._fsp--;
9657
9658 pushFollow(FOLLOW_2);
9659 rule__ScopeDeclaration__Group__3();
9660
9661 state._fsp--;
9662
9663
9664 }
9665
9666 }
9667 catch (RecognitionException re) {
9668 reportError(re);
9669 recover(input,re);
9670 }
9671 finally {
9672
9673 restoreStackSize(stackSize);
9674
9675 }
9676 return ;
9677 }
9678 // $ANTLR end "rule__ScopeDeclaration__Group__2"
9679
9680
9681 // $ANTLR start "rule__ScopeDeclaration__Group__2__Impl"
9682 // InternalProblem.g:3084:1: rule__ScopeDeclaration__Group__2__Impl : ( ( rule__ScopeDeclaration__Group_2__0 )* ) ;
9683 public final void rule__ScopeDeclaration__Group__2__Impl() throws RecognitionException {
9684
9685 int stackSize = keepStackSize();
9686
9687 try {
9688 // InternalProblem.g:3088:1: ( ( ( rule__ScopeDeclaration__Group_2__0 )* ) )
9689 // InternalProblem.g:3089:1: ( ( rule__ScopeDeclaration__Group_2__0 )* )
9690 {
9691 // InternalProblem.g:3089:1: ( ( rule__ScopeDeclaration__Group_2__0 )* )
9692 // InternalProblem.g:3090:2: ( rule__ScopeDeclaration__Group_2__0 )*
9693 {
9694 before(grammarAccess.getScopeDeclarationAccess().getGroup_2());
9695 // InternalProblem.g:3091:2: ( rule__ScopeDeclaration__Group_2__0 )*
9696 loop34:
9697 do {
9698 int alt34=2;
9699 int LA34_0 = input.LA(1);
9700
9701 if ( (LA34_0==25) ) {
9702 alt34=1;
9703 }
9704
9705
9706 switch (alt34) {
9707 case 1 :
9708 // InternalProblem.g:3091:3: rule__ScopeDeclaration__Group_2__0
9709 {
9710 pushFollow(FOLLOW_7);
9711 rule__ScopeDeclaration__Group_2__0();
9712
9713 state._fsp--;
9714
9715
9716 }
9717 break;
9718
9719 default :
9720 break loop34;
9721 }
9722 } while (true);
9723
9724 after(grammarAccess.getScopeDeclarationAccess().getGroup_2());
9725
9726 }
9727
9728
9729 }
9730
9731 }
9732 catch (RecognitionException re) {
9733 reportError(re);
9734 recover(input,re);
9735 }
9736 finally {
9737
9738 restoreStackSize(stackSize);
9739
9740 }
9741 return ;
9742 }
9743 // $ANTLR end "rule__ScopeDeclaration__Group__2__Impl"
9744
9745
9746 // $ANTLR start "rule__ScopeDeclaration__Group__3"
9747 // InternalProblem.g:3099:1: rule__ScopeDeclaration__Group__3 : rule__ScopeDeclaration__Group__3__Impl ;
9748 public final void rule__ScopeDeclaration__Group__3() throws RecognitionException {
9749
9750 int stackSize = keepStackSize();
9751
9752 try {
9753 // InternalProblem.g:3103:1: ( rule__ScopeDeclaration__Group__3__Impl )
9754 // InternalProblem.g:3104:2: rule__ScopeDeclaration__Group__3__Impl
9755 {
9756 pushFollow(FOLLOW_2);
9757 rule__ScopeDeclaration__Group__3__Impl();
9758
9759 state._fsp--;
9760
9761
9762 }
9763
9764 }
9765 catch (RecognitionException re) {
9766 reportError(re);
9767 recover(input,re);
9768 }
9769 finally {
9770
9771 restoreStackSize(stackSize);
9772
9773 }
9774 return ;
9775 }
9776 // $ANTLR end "rule__ScopeDeclaration__Group__3"
9777
9778
9779 // $ANTLR start "rule__ScopeDeclaration__Group__3__Impl"
9780 // InternalProblem.g:3110:1: rule__ScopeDeclaration__Group__3__Impl : ( '.' ) ;
9781 public final void rule__ScopeDeclaration__Group__3__Impl() throws RecognitionException {
9782
9783 int stackSize = keepStackSize();
9784
9785 try {
9786 // InternalProblem.g:3114:1: ( ( '.' ) )
9787 // InternalProblem.g:3115:1: ( '.' )
9788 {
9789 // InternalProblem.g:3115:1: ( '.' )
9790 // InternalProblem.g:3116:2: '.'
9791 {
9792 before(grammarAccess.getScopeDeclarationAccess().getFullStopKeyword_3());
9793 match(input,21,FOLLOW_2);
9794 after(grammarAccess.getScopeDeclarationAccess().getFullStopKeyword_3());
9795
9796 }
9797
9798
9799 }
9800
9801 }
9802 catch (RecognitionException re) {
9803 reportError(re);
9804 recover(input,re);
9805 }
9806 finally {
9807
9808 restoreStackSize(stackSize);
9809
9810 }
9811 return ;
9812 }
9813 // $ANTLR end "rule__ScopeDeclaration__Group__3__Impl"
9814
9815
9816 // $ANTLR start "rule__ScopeDeclaration__Group_2__0"
9817 // InternalProblem.g:3126:1: rule__ScopeDeclaration__Group_2__0 : rule__ScopeDeclaration__Group_2__0__Impl rule__ScopeDeclaration__Group_2__1 ;
9818 public final void rule__ScopeDeclaration__Group_2__0() throws RecognitionException {
9819
9820 int stackSize = keepStackSize();
9821
9822 try {
9823 // InternalProblem.g:3130:1: ( rule__ScopeDeclaration__Group_2__0__Impl rule__ScopeDeclaration__Group_2__1 )
9824 // InternalProblem.g:3131:2: rule__ScopeDeclaration__Group_2__0__Impl rule__ScopeDeclaration__Group_2__1
9825 {
9826 pushFollow(FOLLOW_5);
9827 rule__ScopeDeclaration__Group_2__0__Impl();
9828
9829 state._fsp--;
9830
9831 pushFollow(FOLLOW_2);
9832 rule__ScopeDeclaration__Group_2__1();
9833
9834 state._fsp--;
9835
9836
9837 }
9838
9839 }
9840 catch (RecognitionException re) {
9841 reportError(re);
9842 recover(input,re);
9843 }
9844 finally {
9845
9846 restoreStackSize(stackSize);
9847
9848 }
9849 return ;
9850 }
9851 // $ANTLR end "rule__ScopeDeclaration__Group_2__0"
9852
9853
9854 // $ANTLR start "rule__ScopeDeclaration__Group_2__0__Impl"
9855 // InternalProblem.g:3138:1: rule__ScopeDeclaration__Group_2__0__Impl : ( ',' ) ;
9856 public final void rule__ScopeDeclaration__Group_2__0__Impl() throws RecognitionException {
9857
9858 int stackSize = keepStackSize();
9859
9860 try {
9861 // InternalProblem.g:3142:1: ( ( ',' ) )
9862 // InternalProblem.g:3143:1: ( ',' )
9863 {
9864 // InternalProblem.g:3143:1: ( ',' )
9865 // InternalProblem.g:3144:2: ','
9866 {
9867 before(grammarAccess.getScopeDeclarationAccess().getCommaKeyword_2_0());
9868 match(input,25,FOLLOW_2);
9869 after(grammarAccess.getScopeDeclarationAccess().getCommaKeyword_2_0());
9870
9871 }
9872
9873
9874 }
9875
9876 }
9877 catch (RecognitionException re) {
9878 reportError(re);
9879 recover(input,re);
9880 }
9881 finally {
9882
9883 restoreStackSize(stackSize);
9884
9885 }
9886 return ;
9887 }
9888 // $ANTLR end "rule__ScopeDeclaration__Group_2__0__Impl"
9889
9890
9891 // $ANTLR start "rule__ScopeDeclaration__Group_2__1"
9892 // InternalProblem.g:3153:1: rule__ScopeDeclaration__Group_2__1 : rule__ScopeDeclaration__Group_2__1__Impl ;
9893 public final void rule__ScopeDeclaration__Group_2__1() throws RecognitionException {
9894
9895 int stackSize = keepStackSize();
9896
9897 try {
9898 // InternalProblem.g:3157:1: ( rule__ScopeDeclaration__Group_2__1__Impl )
9899 // InternalProblem.g:3158:2: rule__ScopeDeclaration__Group_2__1__Impl
9900 {
9901 pushFollow(FOLLOW_2);
9902 rule__ScopeDeclaration__Group_2__1__Impl();
9903
9904 state._fsp--;
9905
9906
9907 }
9908
9909 }
9910 catch (RecognitionException re) {
9911 reportError(re);
9912 recover(input,re);
9913 }
9914 finally {
9915
9916 restoreStackSize(stackSize);
9917
9918 }
9919 return ;
9920 }
9921 // $ANTLR end "rule__ScopeDeclaration__Group_2__1"
9922
9923
9924 // $ANTLR start "rule__ScopeDeclaration__Group_2__1__Impl"
9925 // InternalProblem.g:3164:1: rule__ScopeDeclaration__Group_2__1__Impl : ( ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 ) ) ;
9926 public final void rule__ScopeDeclaration__Group_2__1__Impl() throws RecognitionException {
9927
9928 int stackSize = keepStackSize();
9929
9930 try {
9931 // InternalProblem.g:3168:1: ( ( ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 ) ) )
9932 // InternalProblem.g:3169:1: ( ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 ) )
9933 {
9934 // InternalProblem.g:3169:1: ( ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 ) )
9935 // InternalProblem.g:3170:2: ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 )
9936 {
9937 before(grammarAccess.getScopeDeclarationAccess().getTypeScopesAssignment_2_1());
9938 // InternalProblem.g:3171:2: ( rule__ScopeDeclaration__TypeScopesAssignment_2_1 )
9939 // InternalProblem.g:3171:3: rule__ScopeDeclaration__TypeScopesAssignment_2_1
9940 {
9941 pushFollow(FOLLOW_2);
9942 rule__ScopeDeclaration__TypeScopesAssignment_2_1();
9943
9944 state._fsp--;
9945
9946
9947 }
9948
9949 after(grammarAccess.getScopeDeclarationAccess().getTypeScopesAssignment_2_1());
9950
9951 }
9952
9953
9954 }
9955
9956 }
9957 catch (RecognitionException re) {
9958 reportError(re);
9959 recover(input,re);
9960 }
9961 finally {
9962
9963 restoreStackSize(stackSize);
9964
9965 }
9966 return ;
9967 }
9968 // $ANTLR end "rule__ScopeDeclaration__Group_2__1__Impl"
9969
9970
9971 // $ANTLR start "rule__TypeScope__Group__0"
9972 // InternalProblem.g:3180:1: rule__TypeScope__Group__0 : rule__TypeScope__Group__0__Impl rule__TypeScope__Group__1 ;
9973 public final void rule__TypeScope__Group__0() throws RecognitionException {
9974
9975 int stackSize = keepStackSize();
9976
9977 try {
9978 // InternalProblem.g:3184:1: ( rule__TypeScope__Group__0__Impl rule__TypeScope__Group__1 )
9979 // InternalProblem.g:3185:2: rule__TypeScope__Group__0__Impl rule__TypeScope__Group__1
9980 {
9981 pushFollow(FOLLOW_29);
9982 rule__TypeScope__Group__0__Impl();
9983
9984 state._fsp--;
9985
9986 pushFollow(FOLLOW_2);
9987 rule__TypeScope__Group__1();
9988
9989 state._fsp--;
9990
9991
9992 }
9993
9994 }
9995 catch (RecognitionException re) {
9996 reportError(re);
9997 recover(input,re);
9998 }
9999 finally {
10000
10001 restoreStackSize(stackSize);
10002
10003 }
10004 return ;
10005 }
10006 // $ANTLR end "rule__TypeScope__Group__0"
10007
10008
10009 // $ANTLR start "rule__TypeScope__Group__0__Impl"
10010 // InternalProblem.g:3192:1: rule__TypeScope__Group__0__Impl : ( ( rule__TypeScope__TargetTypeAssignment_0 ) ) ;
10011 public final void rule__TypeScope__Group__0__Impl() throws RecognitionException {
10012
10013 int stackSize = keepStackSize();
10014
10015 try {
10016 // InternalProblem.g:3196:1: ( ( ( rule__TypeScope__TargetTypeAssignment_0 ) ) )
10017 // InternalProblem.g:3197:1: ( ( rule__TypeScope__TargetTypeAssignment_0 ) )
10018 {
10019 // InternalProblem.g:3197:1: ( ( rule__TypeScope__TargetTypeAssignment_0 ) )
10020 // InternalProblem.g:3198:2: ( rule__TypeScope__TargetTypeAssignment_0 )
10021 {
10022 before(grammarAccess.getTypeScopeAccess().getTargetTypeAssignment_0());
10023 // InternalProblem.g:3199:2: ( rule__TypeScope__TargetTypeAssignment_0 )
10024 // InternalProblem.g:3199:3: rule__TypeScope__TargetTypeAssignment_0
10025 {
10026 pushFollow(FOLLOW_2);
10027 rule__TypeScope__TargetTypeAssignment_0();
10028
10029 state._fsp--;
10030
10031
10032 }
10033
10034 after(grammarAccess.getTypeScopeAccess().getTargetTypeAssignment_0());
10035
10036 }
10037
10038
10039 }
10040
10041 }
10042 catch (RecognitionException re) {
10043 reportError(re);
10044 recover(input,re);
10045 }
10046 finally {
10047
10048 restoreStackSize(stackSize);
10049
10050 }
10051 return ;
10052 }
10053 // $ANTLR end "rule__TypeScope__Group__0__Impl"
10054
10055
10056 // $ANTLR start "rule__TypeScope__Group__1"
10057 // InternalProblem.g:3207:1: rule__TypeScope__Group__1 : rule__TypeScope__Group__1__Impl rule__TypeScope__Group__2 ;
10058 public final void rule__TypeScope__Group__1() throws RecognitionException {
10059
10060 int stackSize = keepStackSize();
10061
10062 try {
10063 // InternalProblem.g:3211:1: ( rule__TypeScope__Group__1__Impl rule__TypeScope__Group__2 )
10064 // InternalProblem.g:3212:2: rule__TypeScope__Group__1__Impl rule__TypeScope__Group__2
10065 {
10066 pushFollow(FOLLOW_13);
10067 rule__TypeScope__Group__1__Impl();
10068
10069 state._fsp--;
10070
10071 pushFollow(FOLLOW_2);
10072 rule__TypeScope__Group__2();
10073
10074 state._fsp--;
10075
10076
10077 }
10078
10079 }
10080 catch (RecognitionException re) {
10081 reportError(re);
10082 recover(input,re);
10083 }
10084 finally {
10085
10086 restoreStackSize(stackSize);
10087
10088 }
10089 return ;
10090 }
10091 // $ANTLR end "rule__TypeScope__Group__1"
10092
10093
10094 // $ANTLR start "rule__TypeScope__Group__1__Impl"
10095 // InternalProblem.g:3219:1: rule__TypeScope__Group__1__Impl : ( ( rule__TypeScope__Alternatives_1 ) ) ;
10096 public final void rule__TypeScope__Group__1__Impl() throws RecognitionException {
10097
10098 int stackSize = keepStackSize();
10099
10100 try {
10101 // InternalProblem.g:3223:1: ( ( ( rule__TypeScope__Alternatives_1 ) ) )
10102 // InternalProblem.g:3224:1: ( ( rule__TypeScope__Alternatives_1 ) )
10103 {
10104 // InternalProblem.g:3224:1: ( ( rule__TypeScope__Alternatives_1 ) )
10105 // InternalProblem.g:3225:2: ( rule__TypeScope__Alternatives_1 )
10106 {
10107 before(grammarAccess.getTypeScopeAccess().getAlternatives_1());
10108 // InternalProblem.g:3226:2: ( rule__TypeScope__Alternatives_1 )
10109 // InternalProblem.g:3226:3: rule__TypeScope__Alternatives_1
10110 {
10111 pushFollow(FOLLOW_2);
10112 rule__TypeScope__Alternatives_1();
10113
10114 state._fsp--;
10115
10116
10117 }
10118
10119 after(grammarAccess.getTypeScopeAccess().getAlternatives_1());
10120
10121 }
10122
10123
10124 }
10125
10126 }
10127 catch (RecognitionException re) {
10128 reportError(re);
10129 recover(input,re);
10130 }
10131 finally {
10132
10133 restoreStackSize(stackSize);
10134
10135 }
10136 return ;
10137 }
10138 // $ANTLR end "rule__TypeScope__Group__1__Impl"
10139
10140
10141 // $ANTLR start "rule__TypeScope__Group__2"
10142 // InternalProblem.g:3234:1: rule__TypeScope__Group__2 : rule__TypeScope__Group__2__Impl ;
10143 public final void rule__TypeScope__Group__2() throws RecognitionException {
10144
10145 int stackSize = keepStackSize();
10146
10147 try {
10148 // InternalProblem.g:3238:1: ( rule__TypeScope__Group__2__Impl )
10149 // InternalProblem.g:3239:2: rule__TypeScope__Group__2__Impl
10150 {
10151 pushFollow(FOLLOW_2);
10152 rule__TypeScope__Group__2__Impl();
10153
10154 state._fsp--;
10155
10156
10157 }
10158
10159 }
10160 catch (RecognitionException re) {
10161 reportError(re);
10162 recover(input,re);
10163 }
10164 finally {
10165
10166 restoreStackSize(stackSize);
10167
10168 }
10169 return ;
10170 }
10171 // $ANTLR end "rule__TypeScope__Group__2"
10172
10173
10174 // $ANTLR start "rule__TypeScope__Group__2__Impl"
10175 // InternalProblem.g:3245:1: rule__TypeScope__Group__2__Impl : ( ( rule__TypeScope__MultiplicityAssignment_2 ) ) ;
10176 public final void rule__TypeScope__Group__2__Impl() throws RecognitionException {
10177
10178 int stackSize = keepStackSize();
10179
10180 try {
10181 // InternalProblem.g:3249:1: ( ( ( rule__TypeScope__MultiplicityAssignment_2 ) ) )
10182 // InternalProblem.g:3250:1: ( ( rule__TypeScope__MultiplicityAssignment_2 ) )
10183 {
10184 // InternalProblem.g:3250:1: ( ( rule__TypeScope__MultiplicityAssignment_2 ) )
10185 // InternalProblem.g:3251:2: ( rule__TypeScope__MultiplicityAssignment_2 )
10186 {
10187 before(grammarAccess.getTypeScopeAccess().getMultiplicityAssignment_2());
10188 // InternalProblem.g:3252:2: ( rule__TypeScope__MultiplicityAssignment_2 )
10189 // InternalProblem.g:3252:3: rule__TypeScope__MultiplicityAssignment_2
10190 {
10191 pushFollow(FOLLOW_2);
10192 rule__TypeScope__MultiplicityAssignment_2();
10193
10194 state._fsp--;
10195
10196
10197 }
10198
10199 after(grammarAccess.getTypeScopeAccess().getMultiplicityAssignment_2());
10200
10201 }
10202
10203
10204 }
10205
10206 }
10207 catch (RecognitionException re) {
10208 reportError(re);
10209 recover(input,re);
10210 }
10211 finally {
10212
10213 restoreStackSize(stackSize);
10214
10215 }
10216 return ;
10217 }
10218 // $ANTLR end "rule__TypeScope__Group__2__Impl"
10219
10220
10221 // $ANTLR start "rule__RangeMultiplicity__Group__0"
10222 // InternalProblem.g:3261:1: rule__RangeMultiplicity__Group__0 : rule__RangeMultiplicity__Group__0__Impl rule__RangeMultiplicity__Group__1 ;
10223 public final void rule__RangeMultiplicity__Group__0() throws RecognitionException {
10224
10225 int stackSize = keepStackSize();
10226
10227 try {
10228 // InternalProblem.g:3265:1: ( rule__RangeMultiplicity__Group__0__Impl rule__RangeMultiplicity__Group__1 )
10229 // InternalProblem.g:3266:2: rule__RangeMultiplicity__Group__0__Impl rule__RangeMultiplicity__Group__1
10230 {
10231 pushFollow(FOLLOW_30);
10232 rule__RangeMultiplicity__Group__0__Impl();
10233
10234 state._fsp--;
10235
10236 pushFollow(FOLLOW_2);
10237 rule__RangeMultiplicity__Group__1();
10238
10239 state._fsp--;
10240
10241
10242 }
10243
10244 }
10245 catch (RecognitionException re) {
10246 reportError(re);
10247 recover(input,re);
10248 }
10249 finally {
10250
10251 restoreStackSize(stackSize);
10252
10253 }
10254 return ;
10255 }
10256 // $ANTLR end "rule__RangeMultiplicity__Group__0"
10257
10258
10259 // $ANTLR start "rule__RangeMultiplicity__Group__0__Impl"
10260 // InternalProblem.g:3273:1: rule__RangeMultiplicity__Group__0__Impl : ( ( rule__RangeMultiplicity__LowerBoundAssignment_0 ) ) ;
10261 public final void rule__RangeMultiplicity__Group__0__Impl() throws RecognitionException {
10262
10263 int stackSize = keepStackSize();
10264
10265 try {
10266 // InternalProblem.g:3277:1: ( ( ( rule__RangeMultiplicity__LowerBoundAssignment_0 ) ) )
10267 // InternalProblem.g:3278:1: ( ( rule__RangeMultiplicity__LowerBoundAssignment_0 ) )
10268 {
10269 // InternalProblem.g:3278:1: ( ( rule__RangeMultiplicity__LowerBoundAssignment_0 ) )
10270 // InternalProblem.g:3279:2: ( rule__RangeMultiplicity__LowerBoundAssignment_0 )
10271 {
10272 before(grammarAccess.getRangeMultiplicityAccess().getLowerBoundAssignment_0());
10273 // InternalProblem.g:3280:2: ( rule__RangeMultiplicity__LowerBoundAssignment_0 )
10274 // InternalProblem.g:3280:3: rule__RangeMultiplicity__LowerBoundAssignment_0
10275 {
10276 pushFollow(FOLLOW_2);
10277 rule__RangeMultiplicity__LowerBoundAssignment_0();
10278
10279 state._fsp--;
10280
10281
10282 }
10283
10284 after(grammarAccess.getRangeMultiplicityAccess().getLowerBoundAssignment_0());
10285
10286 }
10287
10288
10289 }
10290
10291 }
10292 catch (RecognitionException re) {
10293 reportError(re);
10294 recover(input,re);
10295 }
10296 finally {
10297
10298 restoreStackSize(stackSize);
10299
10300 }
10301 return ;
10302 }
10303 // $ANTLR end "rule__RangeMultiplicity__Group__0__Impl"
10304
10305
10306 // $ANTLR start "rule__RangeMultiplicity__Group__1"
10307 // InternalProblem.g:3288:1: rule__RangeMultiplicity__Group__1 : rule__RangeMultiplicity__Group__1__Impl rule__RangeMultiplicity__Group__2 ;
10308 public final void rule__RangeMultiplicity__Group__1() throws RecognitionException {
10309
10310 int stackSize = keepStackSize();
10311
10312 try {
10313 // InternalProblem.g:3292:1: ( rule__RangeMultiplicity__Group__1__Impl rule__RangeMultiplicity__Group__2 )
10314 // InternalProblem.g:3293:2: rule__RangeMultiplicity__Group__1__Impl rule__RangeMultiplicity__Group__2
10315 {
10316 pushFollow(FOLLOW_31);
10317 rule__RangeMultiplicity__Group__1__Impl();
10318
10319 state._fsp--;
10320
10321 pushFollow(FOLLOW_2);
10322 rule__RangeMultiplicity__Group__2();
10323
10324 state._fsp--;
10325
10326
10327 }
10328
10329 }
10330 catch (RecognitionException re) {
10331 reportError(re);
10332 recover(input,re);
10333 }
10334 finally {
10335
10336 restoreStackSize(stackSize);
10337
10338 }
10339 return ;
10340 }
10341 // $ANTLR end "rule__RangeMultiplicity__Group__1"
10342
10343
10344 // $ANTLR start "rule__RangeMultiplicity__Group__1__Impl"
10345 // InternalProblem.g:3300:1: rule__RangeMultiplicity__Group__1__Impl : ( '..' ) ;
10346 public final void rule__RangeMultiplicity__Group__1__Impl() throws RecognitionException {
10347
10348 int stackSize = keepStackSize();
10349
10350 try {
10351 // InternalProblem.g:3304:1: ( ( '..' ) )
10352 // InternalProblem.g:3305:1: ( '..' )
10353 {
10354 // InternalProblem.g:3305:1: ( '..' )
10355 // InternalProblem.g:3306:2: '..'
10356 {
10357 before(grammarAccess.getRangeMultiplicityAccess().getFullStopFullStopKeyword_1());
10358 match(input,33,FOLLOW_2);
10359 after(grammarAccess.getRangeMultiplicityAccess().getFullStopFullStopKeyword_1());
10360
10361 }
10362
10363
10364 }
10365
10366 }
10367 catch (RecognitionException re) {
10368 reportError(re);
10369 recover(input,re);
10370 }
10371 finally {
10372
10373 restoreStackSize(stackSize);
10374
10375 }
10376 return ;
10377 }
10378 // $ANTLR end "rule__RangeMultiplicity__Group__1__Impl"
10379
10380
10381 // $ANTLR start "rule__RangeMultiplicity__Group__2"
10382 // InternalProblem.g:3315:1: rule__RangeMultiplicity__Group__2 : rule__RangeMultiplicity__Group__2__Impl ;
10383 public final void rule__RangeMultiplicity__Group__2() throws RecognitionException {
10384
10385 int stackSize = keepStackSize();
10386
10387 try {
10388 // InternalProblem.g:3319:1: ( rule__RangeMultiplicity__Group__2__Impl )
10389 // InternalProblem.g:3320:2: rule__RangeMultiplicity__Group__2__Impl
10390 {
10391 pushFollow(FOLLOW_2);
10392 rule__RangeMultiplicity__Group__2__Impl();
10393
10394 state._fsp--;
10395
10396
10397 }
10398
10399 }
10400 catch (RecognitionException re) {
10401 reportError(re);
10402 recover(input,re);
10403 }
10404 finally {
10405
10406 restoreStackSize(stackSize);
10407
10408 }
10409 return ;
10410 }
10411 // $ANTLR end "rule__RangeMultiplicity__Group__2"
10412
10413
10414 // $ANTLR start "rule__RangeMultiplicity__Group__2__Impl"
10415 // InternalProblem.g:3326:1: rule__RangeMultiplicity__Group__2__Impl : ( ( rule__RangeMultiplicity__UpperBoundAssignment_2 ) ) ;
10416 public final void rule__RangeMultiplicity__Group__2__Impl() throws RecognitionException {
10417
10418 int stackSize = keepStackSize();
10419
10420 try {
10421 // InternalProblem.g:3330:1: ( ( ( rule__RangeMultiplicity__UpperBoundAssignment_2 ) ) )
10422 // InternalProblem.g:3331:1: ( ( rule__RangeMultiplicity__UpperBoundAssignment_2 ) )
10423 {
10424 // InternalProblem.g:3331:1: ( ( rule__RangeMultiplicity__UpperBoundAssignment_2 ) )
10425 // InternalProblem.g:3332:2: ( rule__RangeMultiplicity__UpperBoundAssignment_2 )
10426 {
10427 before(grammarAccess.getRangeMultiplicityAccess().getUpperBoundAssignment_2());
10428 // InternalProblem.g:3333:2: ( rule__RangeMultiplicity__UpperBoundAssignment_2 )
10429 // InternalProblem.g:3333:3: rule__RangeMultiplicity__UpperBoundAssignment_2
10430 {
10431 pushFollow(FOLLOW_2);
10432 rule__RangeMultiplicity__UpperBoundAssignment_2();
10433
10434 state._fsp--;
10435
10436
10437 }
10438
10439 after(grammarAccess.getRangeMultiplicityAccess().getUpperBoundAssignment_2());
10440
10441 }
10442
10443
10444 }
10445
10446 }
10447 catch (RecognitionException re) {
10448 reportError(re);
10449 recover(input,re);
10450 }
10451 finally {
10452
10453 restoreStackSize(stackSize);
10454
10455 }
10456 return ;
10457 }
10458 // $ANTLR end "rule__RangeMultiplicity__Group__2__Impl"
10459
10460
10461 // $ANTLR start "rule__QualifiedName__Group__0"
10462 // InternalProblem.g:3342:1: rule__QualifiedName__Group__0 : rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ;
10463 public final void rule__QualifiedName__Group__0() throws RecognitionException {
10464
10465 int stackSize = keepStackSize();
10466
10467 try {
10468 // InternalProblem.g:3346:1: ( rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 )
10469 // InternalProblem.g:3347:2: rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1
10470 {
10471 pushFollow(FOLLOW_32);
10472 rule__QualifiedName__Group__0__Impl();
10473
10474 state._fsp--;
10475
10476 pushFollow(FOLLOW_2);
10477 rule__QualifiedName__Group__1();
10478
10479 state._fsp--;
10480
10481
10482 }
10483
10484 }
10485 catch (RecognitionException re) {
10486 reportError(re);
10487 recover(input,re);
10488 }
10489 finally {
10490
10491 restoreStackSize(stackSize);
10492
10493 }
10494 return ;
10495 }
10496 // $ANTLR end "rule__QualifiedName__Group__0"
10497
10498
10499 // $ANTLR start "rule__QualifiedName__Group__0__Impl"
10500 // InternalProblem.g:3354:1: rule__QualifiedName__Group__0__Impl : ( RULE_ID ) ;
10501 public final void rule__QualifiedName__Group__0__Impl() throws RecognitionException {
10502
10503 int stackSize = keepStackSize();
10504
10505 try {
10506 // InternalProblem.g:3358:1: ( ( RULE_ID ) )
10507 // InternalProblem.g:3359:1: ( RULE_ID )
10508 {
10509 // InternalProblem.g:3359:1: ( RULE_ID )
10510 // InternalProblem.g:3360:2: RULE_ID
10511 {
10512 before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0());
10513 match(input,RULE_ID,FOLLOW_2);
10514 after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0());
10515
10516 }
10517
10518
10519 }
10520
10521 }
10522 catch (RecognitionException re) {
10523 reportError(re);
10524 recover(input,re);
10525 }
10526 finally {
10527
10528 restoreStackSize(stackSize);
10529
10530 }
10531 return ;
10532 }
10533 // $ANTLR end "rule__QualifiedName__Group__0__Impl"
10534
10535
10536 // $ANTLR start "rule__QualifiedName__Group__1"
10537 // InternalProblem.g:3369:1: rule__QualifiedName__Group__1 : rule__QualifiedName__Group__1__Impl ;
10538 public final void rule__QualifiedName__Group__1() throws RecognitionException {
10539
10540 int stackSize = keepStackSize();
10541
10542 try {
10543 // InternalProblem.g:3373:1: ( rule__QualifiedName__Group__1__Impl )
10544 // InternalProblem.g:3374:2: rule__QualifiedName__Group__1__Impl
10545 {
10546 pushFollow(FOLLOW_2);
10547 rule__QualifiedName__Group__1__Impl();
10548
10549 state._fsp--;
10550
10551
10552 }
10553
10554 }
10555 catch (RecognitionException re) {
10556 reportError(re);
10557 recover(input,re);
10558 }
10559 finally {
10560
10561 restoreStackSize(stackSize);
10562
10563 }
10564 return ;
10565 }
10566 // $ANTLR end "rule__QualifiedName__Group__1"
10567
10568
10569 // $ANTLR start "rule__QualifiedName__Group__1__Impl"
10570 // InternalProblem.g:3380:1: rule__QualifiedName__Group__1__Impl : ( ( rule__QualifiedName__Group_1__0 )* ) ;
10571 public final void rule__QualifiedName__Group__1__Impl() throws RecognitionException {
10572
10573 int stackSize = keepStackSize();
10574
10575 try {
10576 // InternalProblem.g:3384:1: ( ( ( rule__QualifiedName__Group_1__0 )* ) )
10577 // InternalProblem.g:3385:1: ( ( rule__QualifiedName__Group_1__0 )* )
10578 {
10579 // InternalProblem.g:3385:1: ( ( rule__QualifiedName__Group_1__0 )* )
10580 // InternalProblem.g:3386:2: ( rule__QualifiedName__Group_1__0 )*
10581 {
10582 before(grammarAccess.getQualifiedNameAccess().getGroup_1());
10583 // InternalProblem.g:3387:2: ( rule__QualifiedName__Group_1__0 )*
10584 loop35:
10585 do {
10586 int alt35=2;
10587 int LA35_0 = input.LA(1);
10588
10589 if ( (LA35_0==34) ) {
10590 alt35=1;
10591 }
10592
10593
10594 switch (alt35) {
10595 case 1 :
10596 // InternalProblem.g:3387:3: rule__QualifiedName__Group_1__0
10597 {
10598 pushFollow(FOLLOW_33);
10599 rule__QualifiedName__Group_1__0();
10600
10601 state._fsp--;
10602
10603
10604 }
10605 break;
10606
10607 default :
10608 break loop35;
10609 }
10610 } while (true);
10611
10612 after(grammarAccess.getQualifiedNameAccess().getGroup_1());
10613
10614 }
10615
10616
10617 }
10618
10619 }
10620 catch (RecognitionException re) {
10621 reportError(re);
10622 recover(input,re);
10623 }
10624 finally {
10625
10626 restoreStackSize(stackSize);
10627
10628 }
10629 return ;
10630 }
10631 // $ANTLR end "rule__QualifiedName__Group__1__Impl"
10632
10633
10634 // $ANTLR start "rule__QualifiedName__Group_1__0"
10635 // InternalProblem.g:3396:1: rule__QualifiedName__Group_1__0 : rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ;
10636 public final void rule__QualifiedName__Group_1__0() throws RecognitionException {
10637
10638 int stackSize = keepStackSize();
10639
10640 try {
10641 // InternalProblem.g:3400:1: ( rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 )
10642 // InternalProblem.g:3401:2: rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1
10643 {
10644 pushFollow(FOLLOW_5);
10645 rule__QualifiedName__Group_1__0__Impl();
10646
10647 state._fsp--;
10648
10649 pushFollow(FOLLOW_2);
10650 rule__QualifiedName__Group_1__1();
10651
10652 state._fsp--;
10653
10654
10655 }
10656
10657 }
10658 catch (RecognitionException re) {
10659 reportError(re);
10660 recover(input,re);
10661 }
10662 finally {
10663
10664 restoreStackSize(stackSize);
10665
10666 }
10667 return ;
10668 }
10669 // $ANTLR end "rule__QualifiedName__Group_1__0"
10670
10671
10672 // $ANTLR start "rule__QualifiedName__Group_1__0__Impl"
10673 // InternalProblem.g:3408:1: rule__QualifiedName__Group_1__0__Impl : ( '::' ) ;
10674 public final void rule__QualifiedName__Group_1__0__Impl() throws RecognitionException {
10675
10676 int stackSize = keepStackSize();
10677
10678 try {
10679 // InternalProblem.g:3412:1: ( ( '::' ) )
10680 // InternalProblem.g:3413:1: ( '::' )
10681 {
10682 // InternalProblem.g:3413:1: ( '::' )
10683 // InternalProblem.g:3414:2: '::'
10684 {
10685 before(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1_0());
10686 match(input,34,FOLLOW_2);
10687 after(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1_0());
10688
10689 }
10690
10691
10692 }
10693
10694 }
10695 catch (RecognitionException re) {
10696 reportError(re);
10697 recover(input,re);
10698 }
10699 finally {
10700
10701 restoreStackSize(stackSize);
10702
10703 }
10704 return ;
10705 }
10706 // $ANTLR end "rule__QualifiedName__Group_1__0__Impl"
10707
10708
10709 // $ANTLR start "rule__QualifiedName__Group_1__1"
10710 // InternalProblem.g:3423:1: rule__QualifiedName__Group_1__1 : rule__QualifiedName__Group_1__1__Impl ;
10711 public final void rule__QualifiedName__Group_1__1() throws RecognitionException {
10712
10713 int stackSize = keepStackSize();
10714
10715 try {
10716 // InternalProblem.g:3427:1: ( rule__QualifiedName__Group_1__1__Impl )
10717 // InternalProblem.g:3428:2: rule__QualifiedName__Group_1__1__Impl
10718 {
10719 pushFollow(FOLLOW_2);
10720 rule__QualifiedName__Group_1__1__Impl();
10721
10722 state._fsp--;
10723
10724
10725 }
10726
10727 }
10728 catch (RecognitionException re) {
10729 reportError(re);
10730 recover(input,re);
10731 }
10732 finally {
10733
10734 restoreStackSize(stackSize);
10735
10736 }
10737 return ;
10738 }
10739 // $ANTLR end "rule__QualifiedName__Group_1__1"
10740
10741
10742 // $ANTLR start "rule__QualifiedName__Group_1__1__Impl"
10743 // InternalProblem.g:3434:1: rule__QualifiedName__Group_1__1__Impl : ( RULE_ID ) ;
10744 public final void rule__QualifiedName__Group_1__1__Impl() throws RecognitionException {
10745
10746 int stackSize = keepStackSize();
10747
10748 try {
10749 // InternalProblem.g:3438:1: ( ( RULE_ID ) )
10750 // InternalProblem.g:3439:1: ( RULE_ID )
10751 {
10752 // InternalProblem.g:3439:1: ( RULE_ID )
10753 // InternalProblem.g:3440:2: RULE_ID
10754 {
10755 before(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1());
10756 match(input,RULE_ID,FOLLOW_2);
10757 after(grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1());
10758
10759 }
10760
10761
10762 }
10763
10764 }
10765 catch (RecognitionException re) {
10766 reportError(re);
10767 recover(input,re);
10768 }
10769 finally {
10770
10771 restoreStackSize(stackSize);
10772
10773 }
10774 return ;
10775 }
10776 // $ANTLR end "rule__QualifiedName__Group_1__1__Impl"
10777
10778
10779 // $ANTLR start "rule__Problem__StatementsAssignment"
10780 // InternalProblem.g:3450:1: rule__Problem__StatementsAssignment : ( ruleStatement ) ;
10781 public final void rule__Problem__StatementsAssignment() throws RecognitionException {
10782
10783 int stackSize = keepStackSize();
10784
10785 try {
10786 // InternalProblem.g:3454:1: ( ( ruleStatement ) )
10787 // InternalProblem.g:3455:2: ( ruleStatement )
10788 {
10789 // InternalProblem.g:3455:2: ( ruleStatement )
10790 // InternalProblem.g:3456:3: ruleStatement
10791 {
10792 before(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0());
10793 pushFollow(FOLLOW_2);
10794 ruleStatement();
10795
10796 state._fsp--;
10797
10798 after(grammarAccess.getProblemAccess().getStatementsStatementParserRuleCall_0());
10799
10800 }
10801
10802
10803 }
10804
10805 }
10806 catch (RecognitionException re) {
10807 reportError(re);
10808 recover(input,re);
10809 }
10810 finally {
10811
10812 restoreStackSize(stackSize);
10813
10814 }
10815 return ;
10816 }
10817 // $ANTLR end "rule__Problem__StatementsAssignment"
10818
10819
10820 // $ANTLR start "rule__ClassDeclaration__AbstractAssignment_0"
10821 // InternalProblem.g:3465:1: rule__ClassDeclaration__AbstractAssignment_0 : ( ( 'abstract' ) ) ;
10822 public final void rule__ClassDeclaration__AbstractAssignment_0() throws RecognitionException {
10823
10824 int stackSize = keepStackSize();
10825
10826 try {
10827 // InternalProblem.g:3469:1: ( ( ( 'abstract' ) ) )
10828 // InternalProblem.g:3470:2: ( ( 'abstract' ) )
10829 {
10830 // InternalProblem.g:3470:2: ( ( 'abstract' ) )
10831 // InternalProblem.g:3471:3: ( 'abstract' )
10832 {
10833 before(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0());
10834 // InternalProblem.g:3472:3: ( 'abstract' )
10835 // InternalProblem.g:3473:4: 'abstract'
10836 {
10837 before(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0());
10838 match(input,35,FOLLOW_2);
10839 after(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0());
10840
10841 }
10842
10843 after(grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0());
10844
10845 }
10846
10847
10848 }
10849
10850 }
10851 catch (RecognitionException re) {
10852 reportError(re);
10853 recover(input,re);
10854 }
10855 finally {
10856
10857 restoreStackSize(stackSize);
10858
10859 }
10860 return ;
10861 }
10862 // $ANTLR end "rule__ClassDeclaration__AbstractAssignment_0"
10863
10864
10865 // $ANTLR start "rule__ClassDeclaration__NameAssignment_2"
10866 // InternalProblem.g:3484:1: rule__ClassDeclaration__NameAssignment_2 : ( RULE_ID ) ;
10867 public final void rule__ClassDeclaration__NameAssignment_2() throws RecognitionException {
10868
10869 int stackSize = keepStackSize();
10870
10871 try {
10872 // InternalProblem.g:3488:1: ( ( RULE_ID ) )
10873 // InternalProblem.g:3489:2: ( RULE_ID )
10874 {
10875 // InternalProblem.g:3489:2: ( RULE_ID )
10876 // InternalProblem.g:3490:3: RULE_ID
10877 {
10878 before(grammarAccess.getClassDeclarationAccess().getNameIDTerminalRuleCall_2_0());
10879 match(input,RULE_ID,FOLLOW_2);
10880 after(grammarAccess.getClassDeclarationAccess().getNameIDTerminalRuleCall_2_0());
10881
10882 }
10883
10884
10885 }
10886
10887 }
10888 catch (RecognitionException re) {
10889 reportError(re);
10890 recover(input,re);
10891 }
10892 finally {
10893
10894 restoreStackSize(stackSize);
10895
10896 }
10897 return ;
10898 }
10899 // $ANTLR end "rule__ClassDeclaration__NameAssignment_2"
10900
10901
10902 // $ANTLR start "rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0"
10903 // InternalProblem.g:3499:1: rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0 : ( ( RULE_ID ) ) ;
10904 public final void rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0() throws RecognitionException {
10905
10906 int stackSize = keepStackSize();
10907
10908 try {
10909 // InternalProblem.g:3503:1: ( ( ( RULE_ID ) ) )
10910 // InternalProblem.g:3504:2: ( ( RULE_ID ) )
10911 {
10912 // InternalProblem.g:3504:2: ( ( RULE_ID ) )
10913 // InternalProblem.g:3505:3: ( RULE_ID )
10914 {
10915 before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_0_1_0_0());
10916 // InternalProblem.g:3506:3: ( RULE_ID )
10917 // InternalProblem.g:3507:4: RULE_ID
10918 {
10919 before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationIDTerminalRuleCall_3_0_1_0_0_1());
10920 match(input,RULE_ID,FOLLOW_2);
10921 after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationIDTerminalRuleCall_3_0_1_0_0_1());
10922
10923 }
10924
10925 after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_0_1_0_0());
10926
10927 }
10928
10929
10930 }
10931
10932 }
10933 catch (RecognitionException re) {
10934 reportError(re);
10935 recover(input,re);
10936 }
10937 finally {
10938
10939 restoreStackSize(stackSize);
10940
10941 }
10942 return ;
10943 }
10944 // $ANTLR end "rule__ClassDeclaration__SuperTypesAssignment_3_0_1_0"
10945
10946
10947 // $ANTLR start "rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0"
10948 // InternalProblem.g:3518:1: rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0 : ( ( RULE_ID ) ) ;
10949 public final void rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0() throws RecognitionException {
10950
10951 int stackSize = keepStackSize();
10952
10953 try {
10954 // InternalProblem.g:3522:1: ( ( ( RULE_ID ) ) )
10955 // InternalProblem.g:3523:2: ( ( RULE_ID ) )
10956 {
10957 // InternalProblem.g:3523:2: ( ( RULE_ID ) )
10958 // InternalProblem.g:3524:3: ( RULE_ID )
10959 {
10960 before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_0_1_1_1_0_0());
10961 // InternalProblem.g:3525:3: ( RULE_ID )
10962 // InternalProblem.g:3526:4: RULE_ID
10963 {
10964 before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationIDTerminalRuleCall_3_0_1_1_1_0_0_1());
10965 match(input,RULE_ID,FOLLOW_2);
10966 after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationIDTerminalRuleCall_3_0_1_1_1_0_0_1());
10967
10968 }
10969
10970 after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_0_1_1_1_0_0());
10971
10972 }
10973
10974
10975 }
10976
10977 }
10978 catch (RecognitionException re) {
10979 reportError(re);
10980 recover(input,re);
10981 }
10982 finally {
10983
10984 restoreStackSize(stackSize);
10985
10986 }
10987 return ;
10988 }
10989 // $ANTLR end "rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_0"
10990
10991
10992 // $ANTLR start "rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1"
10993 // InternalProblem.g:3537:1: rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1 : ( ( RULE_ID ) ) ;
10994 public final void rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1() throws RecognitionException {
10995
10996 int stackSize = keepStackSize();
10997
10998 try {
10999 // InternalProblem.g:3541:1: ( ( ( RULE_ID ) ) )
11000 // InternalProblem.g:3542:2: ( ( RULE_ID ) )
11001 {
11002 // InternalProblem.g:3542:2: ( ( RULE_ID ) )
11003 // InternalProblem.g:3543:3: ( RULE_ID )
11004 {
11005 before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_0_1_1_1_1_1_0());
11006 // InternalProblem.g:3544:3: ( RULE_ID )
11007 // InternalProblem.g:3545:4: RULE_ID
11008 {
11009 before(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationIDTerminalRuleCall_3_0_1_1_1_1_1_0_1());
11010 match(input,RULE_ID,FOLLOW_2);
11011 after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationIDTerminalRuleCall_3_0_1_1_1_1_1_0_1());
11012
11013 }
11014
11015 after(grammarAccess.getClassDeclarationAccess().getSuperTypesClassDeclarationCrossReference_3_0_1_1_1_1_1_0());
11016
11017 }
11018
11019
11020 }
11021
11022 }
11023 catch (RecognitionException re) {
11024 reportError(re);
11025 recover(input,re);
11026 }
11027 finally {
11028
11029 restoreStackSize(stackSize);
11030
11031 }
11032 return ;
11033 }
11034 // $ANTLR end "rule__ClassDeclaration__SuperTypesAssignment_3_0_1_1_1_1_1"
11035
11036
11037 // $ANTLR start "rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1"
11038 // InternalProblem.g:3556:1: rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1 : ( ruleReferenceDeclaration ) ;
11039 public final void rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1() throws RecognitionException {
11040
11041 int stackSize = keepStackSize();
11042
11043 try {
11044 // InternalProblem.g:3560:1: ( ( ruleReferenceDeclaration ) )
11045 // InternalProblem.g:3561:2: ( ruleReferenceDeclaration )
11046 {
11047 // InternalProblem.g:3561:2: ( ruleReferenceDeclaration )
11048 // InternalProblem.g:3562:3: ruleReferenceDeclaration
11049 {
11050 before(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsReferenceDeclarationParserRuleCall_3_1_0());
11051 pushFollow(FOLLOW_2);
11052 ruleReferenceDeclaration();
11053
11054 state._fsp--;
11055
11056 after(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsReferenceDeclarationParserRuleCall_3_1_0());
11057
11058 }
11059
11060
11061 }
11062
11063 }
11064 catch (RecognitionException re) {
11065 reportError(re);
11066 recover(input,re);
11067 }
11068 finally {
11069
11070 restoreStackSize(stackSize);
11071
11072 }
11073 return ;
11074 }
11075 // $ANTLR end "rule__ClassDeclaration__ReferenceDeclarationsAssignment_3_1"
11076
11077
11078 // $ANTLR start "rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1"
11079 // InternalProblem.g:3571:1: rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1 : ( ruleReferenceDeclaration ) ;
11080 public final void rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1() throws RecognitionException {
11081
11082 int stackSize = keepStackSize();
11083
11084 try {
11085 // InternalProblem.g:3575:1: ( ( ruleReferenceDeclaration ) )
11086 // InternalProblem.g:3576:2: ( ruleReferenceDeclaration )
11087 {
11088 // InternalProblem.g:3576:2: ( ruleReferenceDeclaration )
11089 // InternalProblem.g:3577:3: ruleReferenceDeclaration
11090 {
11091 before(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsReferenceDeclarationParserRuleCall_4_1_0());
11092 pushFollow(FOLLOW_2);
11093 ruleReferenceDeclaration();
11094
11095 state._fsp--;
11096
11097 after(grammarAccess.getClassDeclarationAccess().getReferenceDeclarationsReferenceDeclarationParserRuleCall_4_1_0());
11098
11099 }
11100
11101
11102 }
11103
11104 }
11105 catch (RecognitionException re) {
11106 reportError(re);
11107 recover(input,re);
11108 }
11109 finally {
11110
11111 restoreStackSize(stackSize);
11112
11113 }
11114 return ;
11115 }
11116 // $ANTLR end "rule__ClassDeclaration__ReferenceDeclarationsAssignment_4_1"
11117
11118
11119 // $ANTLR start "rule__ReferenceDeclaration__ContainmentAssignment_0_0"
11120 // InternalProblem.g:3586:1: rule__ReferenceDeclaration__ContainmentAssignment_0_0 : ( ( 'contains' ) ) ;
11121 public final void rule__ReferenceDeclaration__ContainmentAssignment_0_0() throws RecognitionException {
11122
11123 int stackSize = keepStackSize();
11124
11125 try {
11126 // InternalProblem.g:3590:1: ( ( ( 'contains' ) ) )
11127 // InternalProblem.g:3591:2: ( ( 'contains' ) )
11128 {
11129 // InternalProblem.g:3591:2: ( ( 'contains' ) )
11130 // InternalProblem.g:3592:3: ( 'contains' )
11131 {
11132 before(grammarAccess.getReferenceDeclarationAccess().getContainmentContainsKeyword_0_0_0());
11133 // InternalProblem.g:3593:3: ( 'contains' )
11134 // InternalProblem.g:3594:4: 'contains'
11135 {
11136 before(grammarAccess.getReferenceDeclarationAccess().getContainmentContainsKeyword_0_0_0());
11137 match(input,36,FOLLOW_2);
11138 after(grammarAccess.getReferenceDeclarationAccess().getContainmentContainsKeyword_0_0_0());
11139
11140 }
11141
11142 after(grammarAccess.getReferenceDeclarationAccess().getContainmentContainsKeyword_0_0_0());
11143
11144 }
11145
11146
11147 }
11148
11149 }
11150 catch (RecognitionException re) {
11151 reportError(re);
11152 recover(input,re);
11153 }
11154 finally {
11155
11156 restoreStackSize(stackSize);
11157
11158 }
11159 return ;
11160 }
11161 // $ANTLR end "rule__ReferenceDeclaration__ContainmentAssignment_0_0"
11162
11163
11164 // $ANTLR start "rule__ReferenceDeclaration__ReferenceTypeAssignment_1"
11165 // InternalProblem.g:3605:1: rule__ReferenceDeclaration__ReferenceTypeAssignment_1 : ( ( RULE_ID ) ) ;
11166 public final void rule__ReferenceDeclaration__ReferenceTypeAssignment_1() throws RecognitionException {
11167
11168 int stackSize = keepStackSize();
11169
11170 try {
11171 // InternalProblem.g:3609:1: ( ( ( RULE_ID ) ) )
11172 // InternalProblem.g:3610:2: ( ( RULE_ID ) )
11173 {
11174 // InternalProblem.g:3610:2: ( ( RULE_ID ) )
11175 // InternalProblem.g:3611:3: ( RULE_ID )
11176 {
11177 before(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeClassDeclarationCrossReference_1_0());
11178 // InternalProblem.g:3612:3: ( RULE_ID )
11179 // InternalProblem.g:3613:4: RULE_ID
11180 {
11181 before(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeClassDeclarationIDTerminalRuleCall_1_0_1());
11182 match(input,RULE_ID,FOLLOW_2);
11183 after(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeClassDeclarationIDTerminalRuleCall_1_0_1());
11184
11185 }
11186
11187 after(grammarAccess.getReferenceDeclarationAccess().getReferenceTypeClassDeclarationCrossReference_1_0());
11188
11189 }
11190
11191
11192 }
11193
11194 }
11195 catch (RecognitionException re) {
11196 reportError(re);
11197 recover(input,re);
11198 }
11199 finally {
11200
11201 restoreStackSize(stackSize);
11202
11203 }
11204 return ;
11205 }
11206 // $ANTLR end "rule__ReferenceDeclaration__ReferenceTypeAssignment_1"
11207
11208
11209 // $ANTLR start "rule__ReferenceDeclaration__MultiplicityAssignment_3"
11210 // InternalProblem.g:3624:1: rule__ReferenceDeclaration__MultiplicityAssignment_3 : ( ruleMultiplicity ) ;
11211 public final void rule__ReferenceDeclaration__MultiplicityAssignment_3() throws RecognitionException {
11212
11213 int stackSize = keepStackSize();
11214
11215 try {
11216 // InternalProblem.g:3628:1: ( ( ruleMultiplicity ) )
11217 // InternalProblem.g:3629:2: ( ruleMultiplicity )
11218 {
11219 // InternalProblem.g:3629:2: ( ruleMultiplicity )
11220 // InternalProblem.g:3630:3: ruleMultiplicity
11221 {
11222 before(grammarAccess.getReferenceDeclarationAccess().getMultiplicityMultiplicityParserRuleCall_3_0());
11223 pushFollow(FOLLOW_2);
11224 ruleMultiplicity();
11225
11226 state._fsp--;
11227
11228 after(grammarAccess.getReferenceDeclarationAccess().getMultiplicityMultiplicityParserRuleCall_3_0());
11229
11230 }
11231
11232
11233 }
11234
11235 }
11236 catch (RecognitionException re) {
11237 reportError(re);
11238 recover(input,re);
11239 }
11240 finally {
11241
11242 restoreStackSize(stackSize);
11243
11244 }
11245 return ;
11246 }
11247 // $ANTLR end "rule__ReferenceDeclaration__MultiplicityAssignment_3"
11248
11249
11250 // $ANTLR start "rule__ReferenceDeclaration__NameAssignment_5"
11251 // InternalProblem.g:3639:1: rule__ReferenceDeclaration__NameAssignment_5 : ( RULE_ID ) ;
11252 public final void rule__ReferenceDeclaration__NameAssignment_5() throws RecognitionException {
11253
11254 int stackSize = keepStackSize();
11255
11256 try {
11257 // InternalProblem.g:3643:1: ( ( RULE_ID ) )
11258 // InternalProblem.g:3644:2: ( RULE_ID )
11259 {
11260 // InternalProblem.g:3644:2: ( RULE_ID )
11261 // InternalProblem.g:3645:3: RULE_ID
11262 {
11263 before(grammarAccess.getReferenceDeclarationAccess().getNameIDTerminalRuleCall_5_0());
11264 match(input,RULE_ID,FOLLOW_2);
11265 after(grammarAccess.getReferenceDeclarationAccess().getNameIDTerminalRuleCall_5_0());
11266
11267 }
11268
11269
11270 }
11271
11272 }
11273 catch (RecognitionException re) {
11274 reportError(re);
11275 recover(input,re);
11276 }
11277 finally {
11278
11279 restoreStackSize(stackSize);
11280
11281 }
11282 return ;
11283 }
11284 // $ANTLR end "rule__ReferenceDeclaration__NameAssignment_5"
11285
11286
11287 // $ANTLR start "rule__ReferenceDeclaration__OppositeAssignment_6_1"
11288 // InternalProblem.g:3654:1: rule__ReferenceDeclaration__OppositeAssignment_6_1 : ( ( ruleQualifiedName ) ) ;
11289 public final void rule__ReferenceDeclaration__OppositeAssignment_6_1() throws RecognitionException {
11290
11291 int stackSize = keepStackSize();
11292
11293 try {
11294 // InternalProblem.g:3658:1: ( ( ( ruleQualifiedName ) ) )
11295 // InternalProblem.g:3659:2: ( ( ruleQualifiedName ) )
11296 {
11297 // InternalProblem.g:3659:2: ( ( ruleQualifiedName ) )
11298 // InternalProblem.g:3660:3: ( ruleQualifiedName )
11299 {
11300 before(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationCrossReference_6_1_0());
11301 // InternalProblem.g:3661:3: ( ruleQualifiedName )
11302 // InternalProblem.g:3662:4: ruleQualifiedName
11303 {
11304 before(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationQualifiedNameParserRuleCall_6_1_0_1());
11305 pushFollow(FOLLOW_2);
11306 ruleQualifiedName();
11307
11308 state._fsp--;
11309
11310 after(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationQualifiedNameParserRuleCall_6_1_0_1());
11311
11312 }
11313
11314 after(grammarAccess.getReferenceDeclarationAccess().getOppositeReferenceDeclarationCrossReference_6_1_0());
11315
11316 }
11317
11318
11319 }
11320
11321 }
11322 catch (RecognitionException re) {
11323 reportError(re);
11324 recover(input,re);
11325 }
11326 finally {
11327
11328 restoreStackSize(stackSize);
11329
11330 }
11331 return ;
11332 }
11333 // $ANTLR end "rule__ReferenceDeclaration__OppositeAssignment_6_1"
11334
11335
11336 // $ANTLR start "rule__PredicateDefinition__ErrorAssignment_0_0_0"
11337 // InternalProblem.g:3673:1: rule__PredicateDefinition__ErrorAssignment_0_0_0 : ( ( 'error' ) ) ;
11338 public final void rule__PredicateDefinition__ErrorAssignment_0_0_0() throws RecognitionException {
11339
11340 int stackSize = keepStackSize();
11341
11342 try {
11343 // InternalProblem.g:3677:1: ( ( ( 'error' ) ) )
11344 // InternalProblem.g:3678:2: ( ( 'error' ) )
11345 {
11346 // InternalProblem.g:3678:2: ( ( 'error' ) )
11347 // InternalProblem.g:3679:3: ( 'error' )
11348 {
11349 before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_0_0());
11350 // InternalProblem.g:3680:3: ( 'error' )
11351 // InternalProblem.g:3681:4: 'error'
11352 {
11353 before(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_0_0());
11354 match(input,37,FOLLOW_2);
11355 after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_0_0());
11356
11357 }
11358
11359 after(grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_0_0());
11360
11361 }
11362
11363
11364 }
11365
11366 }
11367 catch (RecognitionException re) {
11368 reportError(re);
11369 recover(input,re);
11370 }
11371 finally {
11372
11373 restoreStackSize(stackSize);
11374
11375 }
11376 return ;
11377 }
11378 // $ANTLR end "rule__PredicateDefinition__ErrorAssignment_0_0_0"
11379
11380
11381 // $ANTLR start "rule__PredicateDefinition__NameAssignment_1"
11382 // InternalProblem.g:3692:1: rule__PredicateDefinition__NameAssignment_1 : ( RULE_ID ) ;
11383 public final void rule__PredicateDefinition__NameAssignment_1() throws RecognitionException {
11384
11385 int stackSize = keepStackSize();
11386
11387 try {
11388 // InternalProblem.g:3696:1: ( ( RULE_ID ) )
11389 // InternalProblem.g:3697:2: ( RULE_ID )
11390 {
11391 // InternalProblem.g:3697:2: ( RULE_ID )
11392 // InternalProblem.g:3698:3: RULE_ID
11393 {
11394 before(grammarAccess.getPredicateDefinitionAccess().getNameIDTerminalRuleCall_1_0());
11395 match(input,RULE_ID,FOLLOW_2);
11396 after(grammarAccess.getPredicateDefinitionAccess().getNameIDTerminalRuleCall_1_0());
11397
11398 }
11399
11400
11401 }
11402
11403 }
11404 catch (RecognitionException re) {
11405 reportError(re);
11406 recover(input,re);
11407 }
11408 finally {
11409
11410 restoreStackSize(stackSize);
11411
11412 }
11413 return ;
11414 }
11415 // $ANTLR end "rule__PredicateDefinition__NameAssignment_1"
11416
11417
11418 // $ANTLR start "rule__PredicateDefinition__ParametersAssignment_3_0"
11419 // InternalProblem.g:3707:1: rule__PredicateDefinition__ParametersAssignment_3_0 : ( ruleParameter ) ;
11420 public final void rule__PredicateDefinition__ParametersAssignment_3_0() throws RecognitionException {
11421
11422 int stackSize = keepStackSize();
11423
11424 try {
11425 // InternalProblem.g:3711:1: ( ( ruleParameter ) )
11426 // InternalProblem.g:3712:2: ( ruleParameter )
11427 {
11428 // InternalProblem.g:3712:2: ( ruleParameter )
11429 // InternalProblem.g:3713:3: ruleParameter
11430 {
11431 before(grammarAccess.getPredicateDefinitionAccess().getParametersParameterParserRuleCall_3_0_0());
11432 pushFollow(FOLLOW_2);
11433 ruleParameter();
11434
11435 state._fsp--;
11436
11437 after(grammarAccess.getPredicateDefinitionAccess().getParametersParameterParserRuleCall_3_0_0());
11438
11439 }
11440
11441
11442 }
11443
11444 }
11445 catch (RecognitionException re) {
11446 reportError(re);
11447 recover(input,re);
11448 }
11449 finally {
11450
11451 restoreStackSize(stackSize);
11452
11453 }
11454 return ;
11455 }
11456 // $ANTLR end "rule__PredicateDefinition__ParametersAssignment_3_0"
11457
11458
11459 // $ANTLR start "rule__PredicateDefinition__ParametersAssignment_3_1_1"
11460 // InternalProblem.g:3722:1: rule__PredicateDefinition__ParametersAssignment_3_1_1 : ( ruleParameter ) ;
11461 public final void rule__PredicateDefinition__ParametersAssignment_3_1_1() throws RecognitionException {
11462
11463 int stackSize = keepStackSize();
11464
11465 try {
11466 // InternalProblem.g:3726:1: ( ( ruleParameter ) )
11467 // InternalProblem.g:3727:2: ( ruleParameter )
11468 {
11469 // InternalProblem.g:3727:2: ( ruleParameter )
11470 // InternalProblem.g:3728:3: ruleParameter
11471 {
11472 before(grammarAccess.getPredicateDefinitionAccess().getParametersParameterParserRuleCall_3_1_1_0());
11473 pushFollow(FOLLOW_2);
11474 ruleParameter();
11475
11476 state._fsp--;
11477
11478 after(grammarAccess.getPredicateDefinitionAccess().getParametersParameterParserRuleCall_3_1_1_0());
11479
11480 }
11481
11482
11483 }
11484
11485 }
11486 catch (RecognitionException re) {
11487 reportError(re);
11488 recover(input,re);
11489 }
11490 finally {
11491
11492 restoreStackSize(stackSize);
11493
11494 }
11495 return ;
11496 }
11497 // $ANTLR end "rule__PredicateDefinition__ParametersAssignment_3_1_1"
11498
11499
11500 // $ANTLR start "rule__PredicateDefinition__BodiesAssignment_5_1"
11501 // InternalProblem.g:3737:1: rule__PredicateDefinition__BodiesAssignment_5_1 : ( ruleConjunction ) ;
11502 public final void rule__PredicateDefinition__BodiesAssignment_5_1() throws RecognitionException {
11503
11504 int stackSize = keepStackSize();
11505
11506 try {
11507 // InternalProblem.g:3741:1: ( ( ruleConjunction ) )
11508 // InternalProblem.g:3742:2: ( ruleConjunction )
11509 {
11510 // InternalProblem.g:3742:2: ( ruleConjunction )
11511 // InternalProblem.g:3743:3: ruleConjunction
11512 {
11513 before(grammarAccess.getPredicateDefinitionAccess().getBodiesConjunctionParserRuleCall_5_1_0());
11514 pushFollow(FOLLOW_2);
11515 ruleConjunction();
11516
11517 state._fsp--;
11518
11519 after(grammarAccess.getPredicateDefinitionAccess().getBodiesConjunctionParserRuleCall_5_1_0());
11520
11521 }
11522
11523
11524 }
11525
11526 }
11527 catch (RecognitionException re) {
11528 reportError(re);
11529 recover(input,re);
11530 }
11531 finally {
11532
11533 restoreStackSize(stackSize);
11534
11535 }
11536 return ;
11537 }
11538 // $ANTLR end "rule__PredicateDefinition__BodiesAssignment_5_1"
11539
11540
11541 // $ANTLR start "rule__PredicateDefinition__BodiesAssignment_5_2_1"
11542 // InternalProblem.g:3752:1: rule__PredicateDefinition__BodiesAssignment_5_2_1 : ( ruleConjunction ) ;
11543 public final void rule__PredicateDefinition__BodiesAssignment_5_2_1() throws RecognitionException {
11544
11545 int stackSize = keepStackSize();
11546
11547 try {
11548 // InternalProblem.g:3756:1: ( ( ruleConjunction ) )
11549 // InternalProblem.g:3757:2: ( ruleConjunction )
11550 {
11551 // InternalProblem.g:3757:2: ( ruleConjunction )
11552 // InternalProblem.g:3758:3: ruleConjunction
11553 {
11554 before(grammarAccess.getPredicateDefinitionAccess().getBodiesConjunctionParserRuleCall_5_2_1_0());
11555 pushFollow(FOLLOW_2);
11556 ruleConjunction();
11557
11558 state._fsp--;
11559
11560 after(grammarAccess.getPredicateDefinitionAccess().getBodiesConjunctionParserRuleCall_5_2_1_0());
11561
11562 }
11563
11564
11565 }
11566
11567 }
11568 catch (RecognitionException re) {
11569 reportError(re);
11570 recover(input,re);
11571 }
11572 finally {
11573
11574 restoreStackSize(stackSize);
11575
11576 }
11577 return ;
11578 }
11579 // $ANTLR end "rule__PredicateDefinition__BodiesAssignment_5_2_1"
11580
11581
11582 // $ANTLR start "rule__Parameter__ParameterTypeAssignment_0"
11583 // InternalProblem.g:3767:1: rule__Parameter__ParameterTypeAssignment_0 : ( ( RULE_ID ) ) ;
11584 public final void rule__Parameter__ParameterTypeAssignment_0() throws RecognitionException {
11585
11586 int stackSize = keepStackSize();
11587
11588 try {
11589 // InternalProblem.g:3771:1: ( ( ( RULE_ID ) ) )
11590 // InternalProblem.g:3772:2: ( ( RULE_ID ) )
11591 {
11592 // InternalProblem.g:3772:2: ( ( RULE_ID ) )
11593 // InternalProblem.g:3773:3: ( RULE_ID )
11594 {
11595 before(grammarAccess.getParameterAccess().getParameterTypeClassDeclarationCrossReference_0_0());
11596 // InternalProblem.g:3774:3: ( RULE_ID )
11597 // InternalProblem.g:3775:4: RULE_ID
11598 {
11599 before(grammarAccess.getParameterAccess().getParameterTypeClassDeclarationIDTerminalRuleCall_0_0_1());
11600 match(input,RULE_ID,FOLLOW_2);
11601 after(grammarAccess.getParameterAccess().getParameterTypeClassDeclarationIDTerminalRuleCall_0_0_1());
11602
11603 }
11604
11605 after(grammarAccess.getParameterAccess().getParameterTypeClassDeclarationCrossReference_0_0());
11606
11607 }
11608
11609
11610 }
11611
11612 }
11613 catch (RecognitionException re) {
11614 reportError(re);
11615 recover(input,re);
11616 }
11617 finally {
11618
11619 restoreStackSize(stackSize);
11620
11621 }
11622 return ;
11623 }
11624 // $ANTLR end "rule__Parameter__ParameterTypeAssignment_0"
11625
11626
11627 // $ANTLR start "rule__Parameter__NameAssignment_1"
11628 // InternalProblem.g:3786:1: rule__Parameter__NameAssignment_1 : ( RULE_ID ) ;
11629 public final void rule__Parameter__NameAssignment_1() throws RecognitionException {
11630
11631 int stackSize = keepStackSize();
11632
11633 try {
11634 // InternalProblem.g:3790:1: ( ( RULE_ID ) )
11635 // InternalProblem.g:3791:2: ( RULE_ID )
11636 {
11637 // InternalProblem.g:3791:2: ( RULE_ID )
11638 // InternalProblem.g:3792:3: RULE_ID
11639 {
11640 before(grammarAccess.getParameterAccess().getNameIDTerminalRuleCall_1_0());
11641 match(input,RULE_ID,FOLLOW_2);
11642 after(grammarAccess.getParameterAccess().getNameIDTerminalRuleCall_1_0());
11643
11644 }
11645
11646
11647 }
11648
11649 }
11650 catch (RecognitionException re) {
11651 reportError(re);
11652 recover(input,re);
11653 }
11654 finally {
11655
11656 restoreStackSize(stackSize);
11657
11658 }
11659 return ;
11660 }
11661 // $ANTLR end "rule__Parameter__NameAssignment_1"
11662
11663
11664 // $ANTLR start "rule__Conjunction__LiteralsAssignment_0"
11665 // InternalProblem.g:3801:1: rule__Conjunction__LiteralsAssignment_0 : ( ruleLiteral ) ;
11666 public final void rule__Conjunction__LiteralsAssignment_0() throws RecognitionException {
11667
11668 int stackSize = keepStackSize();
11669
11670 try {
11671 // InternalProblem.g:3805:1: ( ( ruleLiteral ) )
11672 // InternalProblem.g:3806:2: ( ruleLiteral )
11673 {
11674 // InternalProblem.g:3806:2: ( ruleLiteral )
11675 // InternalProblem.g:3807:3: ruleLiteral
11676 {
11677 before(grammarAccess.getConjunctionAccess().getLiteralsLiteralParserRuleCall_0_0());
11678 pushFollow(FOLLOW_2);
11679 ruleLiteral();
11680
11681 state._fsp--;
11682
11683 after(grammarAccess.getConjunctionAccess().getLiteralsLiteralParserRuleCall_0_0());
11684
11685 }
11686
11687
11688 }
11689
11690 }
11691 catch (RecognitionException re) {
11692 reportError(re);
11693 recover(input,re);
11694 }
11695 finally {
11696
11697 restoreStackSize(stackSize);
11698
11699 }
11700 return ;
11701 }
11702 // $ANTLR end "rule__Conjunction__LiteralsAssignment_0"
11703
11704
11705 // $ANTLR start "rule__Conjunction__LiteralsAssignment_1_1"
11706 // InternalProblem.g:3816:1: rule__Conjunction__LiteralsAssignment_1_1 : ( ruleLiteral ) ;
11707 public final void rule__Conjunction__LiteralsAssignment_1_1() throws RecognitionException {
11708
11709 int stackSize = keepStackSize();
11710
11711 try {
11712 // InternalProblem.g:3820:1: ( ( ruleLiteral ) )
11713 // InternalProblem.g:3821:2: ( ruleLiteral )
11714 {
11715 // InternalProblem.g:3821:2: ( ruleLiteral )
11716 // InternalProblem.g:3822:3: ruleLiteral
11717 {
11718 before(grammarAccess.getConjunctionAccess().getLiteralsLiteralParserRuleCall_1_1_0());
11719 pushFollow(FOLLOW_2);
11720 ruleLiteral();
11721
11722 state._fsp--;
11723
11724 after(grammarAccess.getConjunctionAccess().getLiteralsLiteralParserRuleCall_1_1_0());
11725
11726 }
11727
11728
11729 }
11730
11731 }
11732 catch (RecognitionException re) {
11733 reportError(re);
11734 recover(input,re);
11735 }
11736 finally {
11737
11738 restoreStackSize(stackSize);
11739
11740 }
11741 return ;
11742 }
11743 // $ANTLR end "rule__Conjunction__LiteralsAssignment_1_1"
11744
11745
11746 // $ANTLR start "rule__NegativeLiteral__AtomAssignment_1"
11747 // InternalProblem.g:3831:1: rule__NegativeLiteral__AtomAssignment_1 : ( ruleAtom ) ;
11748 public final void rule__NegativeLiteral__AtomAssignment_1() throws RecognitionException {
11749
11750 int stackSize = keepStackSize();
11751
11752 try {
11753 // InternalProblem.g:3835:1: ( ( ruleAtom ) )
11754 // InternalProblem.g:3836:2: ( ruleAtom )
11755 {
11756 // InternalProblem.g:3836:2: ( ruleAtom )
11757 // InternalProblem.g:3837:3: ruleAtom
11758 {
11759 before(grammarAccess.getNegativeLiteralAccess().getAtomAtomParserRuleCall_1_0());
11760 pushFollow(FOLLOW_2);
11761 ruleAtom();
11762
11763 state._fsp--;
11764
11765 after(grammarAccess.getNegativeLiteralAccess().getAtomAtomParserRuleCall_1_0());
11766
11767 }
11768
11769
11770 }
11771
11772 }
11773 catch (RecognitionException re) {
11774 reportError(re);
11775 recover(input,re);
11776 }
11777 finally {
11778
11779 restoreStackSize(stackSize);
11780
11781 }
11782 return ;
11783 }
11784 // $ANTLR end "rule__NegativeLiteral__AtomAssignment_1"
11785
11786
11787 // $ANTLR start "rule__Atom__RelationAssignment_0"
11788 // InternalProblem.g:3846:1: rule__Atom__RelationAssignment_0 : ( ( ruleQualifiedName ) ) ;
11789 public final void rule__Atom__RelationAssignment_0() throws RecognitionException {
11790
11791 int stackSize = keepStackSize();
11792
11793 try {
11794 // InternalProblem.g:3850:1: ( ( ( ruleQualifiedName ) ) )
11795 // InternalProblem.g:3851:2: ( ( ruleQualifiedName ) )
11796 {
11797 // InternalProblem.g:3851:2: ( ( ruleQualifiedName ) )
11798 // InternalProblem.g:3852:3: ( ruleQualifiedName )
11799 {
11800 before(grammarAccess.getAtomAccess().getRelationRelationCrossReference_0_0());
11801 // InternalProblem.g:3853:3: ( ruleQualifiedName )
11802 // InternalProblem.g:3854:4: ruleQualifiedName
11803 {
11804 before(grammarAccess.getAtomAccess().getRelationRelationQualifiedNameParserRuleCall_0_0_1());
11805 pushFollow(FOLLOW_2);
11806 ruleQualifiedName();
11807
11808 state._fsp--;
11809
11810 after(grammarAccess.getAtomAccess().getRelationRelationQualifiedNameParserRuleCall_0_0_1());
11811
11812 }
11813
11814 after(grammarAccess.getAtomAccess().getRelationRelationCrossReference_0_0());
11815
11816 }
11817
11818
11819 }
11820
11821 }
11822 catch (RecognitionException re) {
11823 reportError(re);
11824 recover(input,re);
11825 }
11826 finally {
11827
11828 restoreStackSize(stackSize);
11829
11830 }
11831 return ;
11832 }
11833 // $ANTLR end "rule__Atom__RelationAssignment_0"
11834
11835
11836 // $ANTLR start "rule__Atom__TransitiveClosureAssignment_1"
11837 // InternalProblem.g:3865:1: rule__Atom__TransitiveClosureAssignment_1 : ( ( '+' ) ) ;
11838 public final void rule__Atom__TransitiveClosureAssignment_1() throws RecognitionException {
11839
11840 int stackSize = keepStackSize();
11841
11842 try {
11843 // InternalProblem.g:3869:1: ( ( ( '+' ) ) )
11844 // InternalProblem.g:3870:2: ( ( '+' ) )
11845 {
11846 // InternalProblem.g:3870:2: ( ( '+' ) )
11847 // InternalProblem.g:3871:3: ( '+' )
11848 {
11849 before(grammarAccess.getAtomAccess().getTransitiveClosurePlusSignKeyword_1_0());
11850 // InternalProblem.g:3872:3: ( '+' )
11851 // InternalProblem.g:3873:4: '+'
11852 {
11853 before(grammarAccess.getAtomAccess().getTransitiveClosurePlusSignKeyword_1_0());
11854 match(input,38,FOLLOW_2);
11855 after(grammarAccess.getAtomAccess().getTransitiveClosurePlusSignKeyword_1_0());
11856
11857 }
11858
11859 after(grammarAccess.getAtomAccess().getTransitiveClosurePlusSignKeyword_1_0());
11860
11861 }
11862
11863
11864 }
11865
11866 }
11867 catch (RecognitionException re) {
11868 reportError(re);
11869 recover(input,re);
11870 }
11871 finally {
11872
11873 restoreStackSize(stackSize);
11874
11875 }
11876 return ;
11877 }
11878 // $ANTLR end "rule__Atom__TransitiveClosureAssignment_1"
11879
11880
11881 // $ANTLR start "rule__Atom__ArgumentsAssignment_3_0"
11882 // InternalProblem.g:3884:1: rule__Atom__ArgumentsAssignment_3_0 : ( ( RULE_ID ) ) ;
11883 public final void rule__Atom__ArgumentsAssignment_3_0() throws RecognitionException {
11884
11885 int stackSize = keepStackSize();
11886
11887 try {
11888 // InternalProblem.g:3888:1: ( ( ( RULE_ID ) ) )
11889 // InternalProblem.g:3889:2: ( ( RULE_ID ) )
11890 {
11891 // InternalProblem.g:3889:2: ( ( RULE_ID ) )
11892 // InternalProblem.g:3890:3: ( RULE_ID )
11893 {
11894 before(grammarAccess.getAtomAccess().getArgumentsVariableCrossReference_3_0_0());
11895 // InternalProblem.g:3891:3: ( RULE_ID )
11896 // InternalProblem.g:3892:4: RULE_ID
11897 {
11898 before(grammarAccess.getAtomAccess().getArgumentsVariableIDTerminalRuleCall_3_0_0_1());
11899 match(input,RULE_ID,FOLLOW_2);
11900 after(grammarAccess.getAtomAccess().getArgumentsVariableIDTerminalRuleCall_3_0_0_1());
11901
11902 }
11903
11904 after(grammarAccess.getAtomAccess().getArgumentsVariableCrossReference_3_0_0());
11905
11906 }
11907
11908
11909 }
11910
11911 }
11912 catch (RecognitionException re) {
11913 reportError(re);
11914 recover(input,re);
11915 }
11916 finally {
11917
11918 restoreStackSize(stackSize);
11919
11920 }
11921 return ;
11922 }
11923 // $ANTLR end "rule__Atom__ArgumentsAssignment_3_0"
11924
11925
11926 // $ANTLR start "rule__Atom__ArgumentsAssignment_3_1_1"
11927 // InternalProblem.g:3903:1: rule__Atom__ArgumentsAssignment_3_1_1 : ( ( RULE_ID ) ) ;
11928 public final void rule__Atom__ArgumentsAssignment_3_1_1() throws RecognitionException {
11929
11930 int stackSize = keepStackSize();
11931
11932 try {
11933 // InternalProblem.g:3907:1: ( ( ( RULE_ID ) ) )
11934 // InternalProblem.g:3908:2: ( ( RULE_ID ) )
11935 {
11936 // InternalProblem.g:3908:2: ( ( RULE_ID ) )
11937 // InternalProblem.g:3909:3: ( RULE_ID )
11938 {
11939 before(grammarAccess.getAtomAccess().getArgumentsVariableCrossReference_3_1_1_0());
11940 // InternalProblem.g:3910:3: ( RULE_ID )
11941 // InternalProblem.g:3911:4: RULE_ID
11942 {
11943 before(grammarAccess.getAtomAccess().getArgumentsVariableIDTerminalRuleCall_3_1_1_0_1());
11944 match(input,RULE_ID,FOLLOW_2);
11945 after(grammarAccess.getAtomAccess().getArgumentsVariableIDTerminalRuleCall_3_1_1_0_1());
11946
11947 }
11948
11949 after(grammarAccess.getAtomAccess().getArgumentsVariableCrossReference_3_1_1_0());
11950
11951 }
11952
11953
11954 }
11955
11956 }
11957 catch (RecognitionException re) {
11958 reportError(re);
11959 recover(input,re);
11960 }
11961 finally {
11962
11963 restoreStackSize(stackSize);
11964
11965 }
11966 return ;
11967 }
11968 // $ANTLR end "rule__Atom__ArgumentsAssignment_3_1_1"
11969
11970
11971 // $ANTLR start "rule__Assertion__RelationAssignment_0_0_0"
11972 // InternalProblem.g:3922:1: rule__Assertion__RelationAssignment_0_0_0 : ( ( ruleQualifiedName ) ) ;
11973 public final void rule__Assertion__RelationAssignment_0_0_0() throws RecognitionException {
11974
11975 int stackSize = keepStackSize();
11976
11977 try {
11978 // InternalProblem.g:3926:1: ( ( ( ruleQualifiedName ) ) )
11979 // InternalProblem.g:3927:2: ( ( ruleQualifiedName ) )
11980 {
11981 // InternalProblem.g:3927:2: ( ( ruleQualifiedName ) )
11982 // InternalProblem.g:3928:3: ( ruleQualifiedName )
11983 {
11984 before(grammarAccess.getAssertionAccess().getRelationRelationCrossReference_0_0_0_0());
11985 // InternalProblem.g:3929:3: ( ruleQualifiedName )
11986 // InternalProblem.g:3930:4: ruleQualifiedName
11987 {
11988 before(grammarAccess.getAssertionAccess().getRelationRelationQualifiedNameParserRuleCall_0_0_0_0_1());
11989 pushFollow(FOLLOW_2);
11990 ruleQualifiedName();
11991
11992 state._fsp--;
11993
11994 after(grammarAccess.getAssertionAccess().getRelationRelationQualifiedNameParserRuleCall_0_0_0_0_1());
11995
11996 }
11997
11998 after(grammarAccess.getAssertionAccess().getRelationRelationCrossReference_0_0_0_0());
11999
12000 }
12001
12002
12003 }
12004
12005 }
12006 catch (RecognitionException re) {
12007 reportError(re);
12008 recover(input,re);
12009 }
12010 finally {
12011
12012 restoreStackSize(stackSize);
12013
12014 }
12015 return ;
12016 }
12017 // $ANTLR end "rule__Assertion__RelationAssignment_0_0_0"
12018
12019
12020 // $ANTLR start "rule__Assertion__ArgumentsAssignment_0_0_2_0"
12021 // InternalProblem.g:3941:1: rule__Assertion__ArgumentsAssignment_0_0_2_0 : ( ( ruleQualifiedName ) ) ;
12022 public final void rule__Assertion__ArgumentsAssignment_0_0_2_0() throws RecognitionException {
12023
12024 int stackSize = keepStackSize();
12025
12026 try {
12027 // InternalProblem.g:3945:1: ( ( ( ruleQualifiedName ) ) )
12028 // InternalProblem.g:3946:2: ( ( ruleQualifiedName ) )
12029 {
12030 // InternalProblem.g:3946:2: ( ( ruleQualifiedName ) )
12031 // InternalProblem.g:3947:3: ( ruleQualifiedName )
12032 {
12033 before(grammarAccess.getAssertionAccess().getArgumentsNodeCrossReference_0_0_2_0_0());
12034 // InternalProblem.g:3948:3: ( ruleQualifiedName )
12035 // InternalProblem.g:3949:4: ruleQualifiedName
12036 {
12037 before(grammarAccess.getAssertionAccess().getArgumentsNodeQualifiedNameParserRuleCall_0_0_2_0_0_1());
12038 pushFollow(FOLLOW_2);
12039 ruleQualifiedName();
12040
12041 state._fsp--;
12042
12043 after(grammarAccess.getAssertionAccess().getArgumentsNodeQualifiedNameParserRuleCall_0_0_2_0_0_1());
12044
12045 }
12046
12047 after(grammarAccess.getAssertionAccess().getArgumentsNodeCrossReference_0_0_2_0_0());
12048
12049 }
12050
12051
12052 }
12053
12054 }
12055 catch (RecognitionException re) {
12056 reportError(re);
12057 recover(input,re);
12058 }
12059 finally {
12060
12061 restoreStackSize(stackSize);
12062
12063 }
12064 return ;
12065 }
12066 // $ANTLR end "rule__Assertion__ArgumentsAssignment_0_0_2_0"
12067
12068
12069 // $ANTLR start "rule__Assertion__ArgumentsAssignment_0_0_2_1_1"
12070 // InternalProblem.g:3960:1: rule__Assertion__ArgumentsAssignment_0_0_2_1_1 : ( ( ruleQualifiedName ) ) ;
12071 public final void rule__Assertion__ArgumentsAssignment_0_0_2_1_1() throws RecognitionException {
12072
12073 int stackSize = keepStackSize();
12074
12075 try {
12076 // InternalProblem.g:3964:1: ( ( ( ruleQualifiedName ) ) )
12077 // InternalProblem.g:3965:2: ( ( ruleQualifiedName ) )
12078 {
12079 // InternalProblem.g:3965:2: ( ( ruleQualifiedName ) )
12080 // InternalProblem.g:3966:3: ( ruleQualifiedName )
12081 {
12082 before(grammarAccess.getAssertionAccess().getArgumentsNodeCrossReference_0_0_2_1_1_0());
12083 // InternalProblem.g:3967:3: ( ruleQualifiedName )
12084 // InternalProblem.g:3968:4: ruleQualifiedName
12085 {
12086 before(grammarAccess.getAssertionAccess().getArgumentsNodeQualifiedNameParserRuleCall_0_0_2_1_1_0_1());
12087 pushFollow(FOLLOW_2);
12088 ruleQualifiedName();
12089
12090 state._fsp--;
12091
12092 after(grammarAccess.getAssertionAccess().getArgumentsNodeQualifiedNameParserRuleCall_0_0_2_1_1_0_1());
12093
12094 }
12095
12096 after(grammarAccess.getAssertionAccess().getArgumentsNodeCrossReference_0_0_2_1_1_0());
12097
12098 }
12099
12100
12101 }
12102
12103 }
12104 catch (RecognitionException re) {
12105 reportError(re);
12106 recover(input,re);
12107 }
12108 finally {
12109
12110 restoreStackSize(stackSize);
12111
12112 }
12113 return ;
12114 }
12115 // $ANTLR end "rule__Assertion__ArgumentsAssignment_0_0_2_1_1"
12116
12117
12118 // $ANTLR start "rule__Assertion__ValueAssignment_0_0_5"
12119 // InternalProblem.g:3979:1: rule__Assertion__ValueAssignment_0_0_5 : ( ruleLogicValue ) ;
12120 public final void rule__Assertion__ValueAssignment_0_0_5() throws RecognitionException {
12121
12122 int stackSize = keepStackSize();
12123
12124 try {
12125 // InternalProblem.g:3983:1: ( ( ruleLogicValue ) )
12126 // InternalProblem.g:3984:2: ( ruleLogicValue )
12127 {
12128 // InternalProblem.g:3984:2: ( ruleLogicValue )
12129 // InternalProblem.g:3985:3: ruleLogicValue
12130 {
12131 before(grammarAccess.getAssertionAccess().getValueLogicValueEnumRuleCall_0_0_5_0());
12132 pushFollow(FOLLOW_2);
12133 ruleLogicValue();
12134
12135 state._fsp--;
12136
12137 after(grammarAccess.getAssertionAccess().getValueLogicValueEnumRuleCall_0_0_5_0());
12138
12139 }
12140
12141
12142 }
12143
12144 }
12145 catch (RecognitionException re) {
12146 reportError(re);
12147 recover(input,re);
12148 }
12149 finally {
12150
12151 restoreStackSize(stackSize);
12152
12153 }
12154 return ;
12155 }
12156 // $ANTLR end "rule__Assertion__ValueAssignment_0_0_5"
12157
12158
12159 // $ANTLR start "rule__Assertion__ValueAssignment_0_1_0"
12160 // InternalProblem.g:3994:1: rule__Assertion__ValueAssignment_0_1_0 : ( ruleShortLogicValue ) ;
12161 public final void rule__Assertion__ValueAssignment_0_1_0() throws RecognitionException {
12162
12163 int stackSize = keepStackSize();
12164
12165 try {
12166 // InternalProblem.g:3998:1: ( ( ruleShortLogicValue ) )
12167 // InternalProblem.g:3999:2: ( ruleShortLogicValue )
12168 {
12169 // InternalProblem.g:3999:2: ( ruleShortLogicValue )
12170 // InternalProblem.g:4000:3: ruleShortLogicValue
12171 {
12172 before(grammarAccess.getAssertionAccess().getValueShortLogicValueEnumRuleCall_0_1_0_0());
12173 pushFollow(FOLLOW_2);
12174 ruleShortLogicValue();
12175
12176 state._fsp--;
12177
12178 after(grammarAccess.getAssertionAccess().getValueShortLogicValueEnumRuleCall_0_1_0_0());
12179
12180 }
12181
12182
12183 }
12184
12185 }
12186 catch (RecognitionException re) {
12187 reportError(re);
12188 recover(input,re);
12189 }
12190 finally {
12191
12192 restoreStackSize(stackSize);
12193
12194 }
12195 return ;
12196 }
12197 // $ANTLR end "rule__Assertion__ValueAssignment_0_1_0"
12198
12199
12200 // $ANTLR start "rule__Assertion__RelationAssignment_0_1_1"
12201 // InternalProblem.g:4009:1: rule__Assertion__RelationAssignment_0_1_1 : ( ( ruleQualifiedName ) ) ;
12202 public final void rule__Assertion__RelationAssignment_0_1_1() throws RecognitionException {
12203
12204 int stackSize = keepStackSize();
12205
12206 try {
12207 // InternalProblem.g:4013:1: ( ( ( ruleQualifiedName ) ) )
12208 // InternalProblem.g:4014:2: ( ( ruleQualifiedName ) )
12209 {
12210 // InternalProblem.g:4014:2: ( ( ruleQualifiedName ) )
12211 // InternalProblem.g:4015:3: ( ruleQualifiedName )
12212 {
12213 before(grammarAccess.getAssertionAccess().getRelationRelationCrossReference_0_1_1_0());
12214 // InternalProblem.g:4016:3: ( ruleQualifiedName )
12215 // InternalProblem.g:4017:4: ruleQualifiedName
12216 {
12217 before(grammarAccess.getAssertionAccess().getRelationRelationQualifiedNameParserRuleCall_0_1_1_0_1());
12218 pushFollow(FOLLOW_2);
12219 ruleQualifiedName();
12220
12221 state._fsp--;
12222
12223 after(grammarAccess.getAssertionAccess().getRelationRelationQualifiedNameParserRuleCall_0_1_1_0_1());
12224
12225 }
12226
12227 after(grammarAccess.getAssertionAccess().getRelationRelationCrossReference_0_1_1_0());
12228
12229 }
12230
12231
12232 }
12233
12234 }
12235 catch (RecognitionException re) {
12236 reportError(re);
12237 recover(input,re);
12238 }
12239 finally {
12240
12241 restoreStackSize(stackSize);
12242
12243 }
12244 return ;
12245 }
12246 // $ANTLR end "rule__Assertion__RelationAssignment_0_1_1"
12247
12248
12249 // $ANTLR start "rule__Assertion__ArgumentsAssignment_0_1_3_0"
12250 // InternalProblem.g:4028:1: rule__Assertion__ArgumentsAssignment_0_1_3_0 : ( ( ruleQualifiedName ) ) ;
12251 public final void rule__Assertion__ArgumentsAssignment_0_1_3_0() throws RecognitionException {
12252
12253 int stackSize = keepStackSize();
12254
12255 try {
12256 // InternalProblem.g:4032:1: ( ( ( ruleQualifiedName ) ) )
12257 // InternalProblem.g:4033:2: ( ( ruleQualifiedName ) )
12258 {
12259 // InternalProblem.g:4033:2: ( ( ruleQualifiedName ) )
12260 // InternalProblem.g:4034:3: ( ruleQualifiedName )
12261 {
12262 before(grammarAccess.getAssertionAccess().getArgumentsNodeCrossReference_0_1_3_0_0());
12263 // InternalProblem.g:4035:3: ( ruleQualifiedName )
12264 // InternalProblem.g:4036:4: ruleQualifiedName
12265 {
12266 before(grammarAccess.getAssertionAccess().getArgumentsNodeQualifiedNameParserRuleCall_0_1_3_0_0_1());
12267 pushFollow(FOLLOW_2);
12268 ruleQualifiedName();
12269
12270 state._fsp--;
12271
12272 after(grammarAccess.getAssertionAccess().getArgumentsNodeQualifiedNameParserRuleCall_0_1_3_0_0_1());
12273
12274 }
12275
12276 after(grammarAccess.getAssertionAccess().getArgumentsNodeCrossReference_0_1_3_0_0());
12277
12278 }
12279
12280
12281 }
12282
12283 }
12284 catch (RecognitionException re) {
12285 reportError(re);
12286 recover(input,re);
12287 }
12288 finally {
12289
12290 restoreStackSize(stackSize);
12291
12292 }
12293 return ;
12294 }
12295 // $ANTLR end "rule__Assertion__ArgumentsAssignment_0_1_3_0"
12296
12297
12298 // $ANTLR start "rule__Assertion__ArgumentsAssignment_0_1_3_1_1"
12299 // InternalProblem.g:4047:1: rule__Assertion__ArgumentsAssignment_0_1_3_1_1 : ( ( ruleQualifiedName ) ) ;
12300 public final void rule__Assertion__ArgumentsAssignment_0_1_3_1_1() throws RecognitionException {
12301
12302 int stackSize = keepStackSize();
12303
12304 try {
12305 // InternalProblem.g:4051:1: ( ( ( ruleQualifiedName ) ) )
12306 // InternalProblem.g:4052:2: ( ( ruleQualifiedName ) )
12307 {
12308 // InternalProblem.g:4052:2: ( ( ruleQualifiedName ) )
12309 // InternalProblem.g:4053:3: ( ruleQualifiedName )
12310 {
12311 before(grammarAccess.getAssertionAccess().getArgumentsNodeCrossReference_0_1_3_1_1_0());
12312 // InternalProblem.g:4054:3: ( ruleQualifiedName )
12313 // InternalProblem.g:4055:4: ruleQualifiedName
12314 {
12315 before(grammarAccess.getAssertionAccess().getArgumentsNodeQualifiedNameParserRuleCall_0_1_3_1_1_0_1());
12316 pushFollow(FOLLOW_2);
12317 ruleQualifiedName();
12318
12319 state._fsp--;
12320
12321 after(grammarAccess.getAssertionAccess().getArgumentsNodeQualifiedNameParserRuleCall_0_1_3_1_1_0_1());
12322
12323 }
12324
12325 after(grammarAccess.getAssertionAccess().getArgumentsNodeCrossReference_0_1_3_1_1_0());
12326
12327 }
12328
12329
12330 }
12331
12332 }
12333 catch (RecognitionException re) {
12334 reportError(re);
12335 recover(input,re);
12336 }
12337 finally {
12338
12339 restoreStackSize(stackSize);
12340
12341 }
12342 return ;
12343 }
12344 // $ANTLR end "rule__Assertion__ArgumentsAssignment_0_1_3_1_1"
12345
12346
12347 // $ANTLR start "rule__ScopeDeclaration__TypeScopesAssignment_1"
12348 // InternalProblem.g:4066:1: rule__ScopeDeclaration__TypeScopesAssignment_1 : ( ruleTypeScope ) ;
12349 public final void rule__ScopeDeclaration__TypeScopesAssignment_1() throws RecognitionException {
12350
12351 int stackSize = keepStackSize();
12352
12353 try {
12354 // InternalProblem.g:4070:1: ( ( ruleTypeScope ) )
12355 // InternalProblem.g:4071:2: ( ruleTypeScope )
12356 {
12357 // InternalProblem.g:4071:2: ( ruleTypeScope )
12358 // InternalProblem.g:4072:3: ruleTypeScope
12359 {
12360 before(grammarAccess.getScopeDeclarationAccess().getTypeScopesTypeScopeParserRuleCall_1_0());
12361 pushFollow(FOLLOW_2);
12362 ruleTypeScope();
12363
12364 state._fsp--;
12365
12366 after(grammarAccess.getScopeDeclarationAccess().getTypeScopesTypeScopeParserRuleCall_1_0());
12367
12368 }
12369
12370
12371 }
12372
12373 }
12374 catch (RecognitionException re) {
12375 reportError(re);
12376 recover(input,re);
12377 }
12378 finally {
12379
12380 restoreStackSize(stackSize);
12381
12382 }
12383 return ;
12384 }
12385 // $ANTLR end "rule__ScopeDeclaration__TypeScopesAssignment_1"
12386
12387
12388 // $ANTLR start "rule__ScopeDeclaration__TypeScopesAssignment_2_1"
12389 // InternalProblem.g:4081:1: rule__ScopeDeclaration__TypeScopesAssignment_2_1 : ( ruleTypeScope ) ;
12390 public final void rule__ScopeDeclaration__TypeScopesAssignment_2_1() throws RecognitionException {
12391
12392 int stackSize = keepStackSize();
12393
12394 try {
12395 // InternalProblem.g:4085:1: ( ( ruleTypeScope ) )
12396 // InternalProblem.g:4086:2: ( ruleTypeScope )
12397 {
12398 // InternalProblem.g:4086:2: ( ruleTypeScope )
12399 // InternalProblem.g:4087:3: ruleTypeScope
12400 {
12401 before(grammarAccess.getScopeDeclarationAccess().getTypeScopesTypeScopeParserRuleCall_2_1_0());
12402 pushFollow(FOLLOW_2);
12403 ruleTypeScope();
12404
12405 state._fsp--;
12406
12407 after(grammarAccess.getScopeDeclarationAccess().getTypeScopesTypeScopeParserRuleCall_2_1_0());
12408
12409 }
12410
12411
12412 }
12413
12414 }
12415 catch (RecognitionException re) {
12416 reportError(re);
12417 recover(input,re);
12418 }
12419 finally {
12420
12421 restoreStackSize(stackSize);
12422
12423 }
12424 return ;
12425 }
12426 // $ANTLR end "rule__ScopeDeclaration__TypeScopesAssignment_2_1"
12427
12428
12429 // $ANTLR start "rule__TypeScope__TargetTypeAssignment_0"
12430 // InternalProblem.g:4096:1: rule__TypeScope__TargetTypeAssignment_0 : ( ( RULE_ID ) ) ;
12431 public final void rule__TypeScope__TargetTypeAssignment_0() throws RecognitionException {
12432
12433 int stackSize = keepStackSize();
12434
12435 try {
12436 // InternalProblem.g:4100:1: ( ( ( RULE_ID ) ) )
12437 // InternalProblem.g:4101:2: ( ( RULE_ID ) )
12438 {
12439 // InternalProblem.g:4101:2: ( ( RULE_ID ) )
12440 // InternalProblem.g:4102:3: ( RULE_ID )
12441 {
12442 before(grammarAccess.getTypeScopeAccess().getTargetTypeClassDeclarationCrossReference_0_0());
12443 // InternalProblem.g:4103:3: ( RULE_ID )
12444 // InternalProblem.g:4104:4: RULE_ID
12445 {
12446 before(grammarAccess.getTypeScopeAccess().getTargetTypeClassDeclarationIDTerminalRuleCall_0_0_1());
12447 match(input,RULE_ID,FOLLOW_2);
12448 after(grammarAccess.getTypeScopeAccess().getTargetTypeClassDeclarationIDTerminalRuleCall_0_0_1());
12449
12450 }
12451
12452 after(grammarAccess.getTypeScopeAccess().getTargetTypeClassDeclarationCrossReference_0_0());
12453
12454 }
12455
12456
12457 }
12458
12459 }
12460 catch (RecognitionException re) {
12461 reportError(re);
12462 recover(input,re);
12463 }
12464 finally {
12465
12466 restoreStackSize(stackSize);
12467
12468 }
12469 return ;
12470 }
12471 // $ANTLR end "rule__TypeScope__TargetTypeAssignment_0"
12472
12473
12474 // $ANTLR start "rule__TypeScope__IncrementAssignment_1_0"
12475 // InternalProblem.g:4115:1: rule__TypeScope__IncrementAssignment_1_0 : ( ( '+=' ) ) ;
12476 public final void rule__TypeScope__IncrementAssignment_1_0() throws RecognitionException {
12477
12478 int stackSize = keepStackSize();
12479
12480 try {
12481 // InternalProblem.g:4119:1: ( ( ( '+=' ) ) )
12482 // InternalProblem.g:4120:2: ( ( '+=' ) )
12483 {
12484 // InternalProblem.g:4120:2: ( ( '+=' ) )
12485 // InternalProblem.g:4121:3: ( '+=' )
12486 {
12487 before(grammarAccess.getTypeScopeAccess().getIncrementPlusSignEqualsSignKeyword_1_0_0());
12488 // InternalProblem.g:4122:3: ( '+=' )
12489 // InternalProblem.g:4123:4: '+='
12490 {
12491 before(grammarAccess.getTypeScopeAccess().getIncrementPlusSignEqualsSignKeyword_1_0_0());
12492 match(input,39,FOLLOW_2);
12493 after(grammarAccess.getTypeScopeAccess().getIncrementPlusSignEqualsSignKeyword_1_0_0());
12494
12495 }
12496
12497 after(grammarAccess.getTypeScopeAccess().getIncrementPlusSignEqualsSignKeyword_1_0_0());
12498
12499 }
12500
12501
12502 }
12503
12504 }
12505 catch (RecognitionException re) {
12506 reportError(re);
12507 recover(input,re);
12508 }
12509 finally {
12510
12511 restoreStackSize(stackSize);
12512
12513 }
12514 return ;
12515 }
12516 // $ANTLR end "rule__TypeScope__IncrementAssignment_1_0"
12517
12518
12519 // $ANTLR start "rule__TypeScope__MultiplicityAssignment_2"
12520 // InternalProblem.g:4134:1: rule__TypeScope__MultiplicityAssignment_2 : ( ruleMultiplicity ) ;
12521 public final void rule__TypeScope__MultiplicityAssignment_2() throws RecognitionException {
12522
12523 int stackSize = keepStackSize();
12524
12525 try {
12526 // InternalProblem.g:4138:1: ( ( ruleMultiplicity ) )
12527 // InternalProblem.g:4139:2: ( ruleMultiplicity )
12528 {
12529 // InternalProblem.g:4139:2: ( ruleMultiplicity )
12530 // InternalProblem.g:4140:3: ruleMultiplicity
12531 {
12532 before(grammarAccess.getTypeScopeAccess().getMultiplicityMultiplicityParserRuleCall_2_0());
12533 pushFollow(FOLLOW_2);
12534 ruleMultiplicity();
12535
12536 state._fsp--;
12537
12538 after(grammarAccess.getTypeScopeAccess().getMultiplicityMultiplicityParserRuleCall_2_0());
12539
12540 }
12541
12542
12543 }
12544
12545 }
12546 catch (RecognitionException re) {
12547 reportError(re);
12548 recover(input,re);
12549 }
12550 finally {
12551
12552 restoreStackSize(stackSize);
12553
12554 }
12555 return ;
12556 }
12557 // $ANTLR end "rule__TypeScope__MultiplicityAssignment_2"
12558
12559
12560 // $ANTLR start "rule__RangeMultiplicity__LowerBoundAssignment_0"
12561 // InternalProblem.g:4149:1: rule__RangeMultiplicity__LowerBoundAssignment_0 : ( RULE_INT ) ;
12562 public final void rule__RangeMultiplicity__LowerBoundAssignment_0() throws RecognitionException {
12563
12564 int stackSize = keepStackSize();
12565
12566 try {
12567 // InternalProblem.g:4153:1: ( ( RULE_INT ) )
12568 // InternalProblem.g:4154:2: ( RULE_INT )
12569 {
12570 // InternalProblem.g:4154:2: ( RULE_INT )
12571 // InternalProblem.g:4155:3: RULE_INT
12572 {
12573 before(grammarAccess.getRangeMultiplicityAccess().getLowerBoundINTTerminalRuleCall_0_0());
12574 match(input,RULE_INT,FOLLOW_2);
12575 after(grammarAccess.getRangeMultiplicityAccess().getLowerBoundINTTerminalRuleCall_0_0());
12576
12577 }
12578
12579
12580 }
12581
12582 }
12583 catch (RecognitionException re) {
12584 reportError(re);
12585 recover(input,re);
12586 }
12587 finally {
12588
12589 restoreStackSize(stackSize);
12590
12591 }
12592 return ;
12593 }
12594 // $ANTLR end "rule__RangeMultiplicity__LowerBoundAssignment_0"
12595
12596
12597 // $ANTLR start "rule__RangeMultiplicity__UpperBoundAssignment_2"
12598 // InternalProblem.g:4164:1: rule__RangeMultiplicity__UpperBoundAssignment_2 : ( ruleUpperBound ) ;
12599 public final void rule__RangeMultiplicity__UpperBoundAssignment_2() throws RecognitionException {
12600
12601 int stackSize = keepStackSize();
12602
12603 try {
12604 // InternalProblem.g:4168:1: ( ( ruleUpperBound ) )
12605 // InternalProblem.g:4169:2: ( ruleUpperBound )
12606 {
12607 // InternalProblem.g:4169:2: ( ruleUpperBound )
12608 // InternalProblem.g:4170:3: ruleUpperBound
12609 {
12610 before(grammarAccess.getRangeMultiplicityAccess().getUpperBoundUpperBoundParserRuleCall_2_0());
12611 pushFollow(FOLLOW_2);
12612 ruleUpperBound();
12613
12614 state._fsp--;
12615
12616 after(grammarAccess.getRangeMultiplicityAccess().getUpperBoundUpperBoundParserRuleCall_2_0());
12617
12618 }
12619
12620
12621 }
12622
12623 }
12624 catch (RecognitionException re) {
12625 reportError(re);
12626 recover(input,re);
12627 }
12628 finally {
12629
12630 restoreStackSize(stackSize);
12631
12632 }
12633 return ;
12634 }
12635 // $ANTLR end "rule__RangeMultiplicity__UpperBoundAssignment_2"
12636
12637
12638 // $ANTLR start "rule__ExactMultiplicity__ExactValueAssignment"
12639 // InternalProblem.g:4179:1: rule__ExactMultiplicity__ExactValueAssignment : ( RULE_INT ) ;
12640 public final void rule__ExactMultiplicity__ExactValueAssignment() throws RecognitionException {
12641
12642 int stackSize = keepStackSize();
12643
12644 try {
12645 // InternalProblem.g:4183:1: ( ( RULE_INT ) )
12646 // InternalProblem.g:4184:2: ( RULE_INT )
12647 {
12648 // InternalProblem.g:4184:2: ( RULE_INT )
12649 // InternalProblem.g:4185:3: RULE_INT
12650 {
12651 before(grammarAccess.getExactMultiplicityAccess().getExactValueINTTerminalRuleCall_0());
12652 match(input,RULE_INT,FOLLOW_2);
12653 after(grammarAccess.getExactMultiplicityAccess().getExactValueINTTerminalRuleCall_0());
12654
12655 }
12656
12657
12658 }
12659
12660 }
12661 catch (RecognitionException re) {
12662 reportError(re);
12663 recover(input,re);
12664 }
12665 finally {
12666
12667 restoreStackSize(stackSize);
12668
12669 }
12670 return ;
12671 }
12672 // $ANTLR end "rule__ExactMultiplicity__ExactValueAssignment"
12673
12674 // Delegated rules
12675
12676
12677 protected DFA8 dfa8 = new DFA8(this);
12678 static final String dfa_1s = "\17\uffff";
12679 static final String dfa_2s = "\1\5\1\33\1\uffff\2\5\1\33\1\31\1\25\2\5\1\uffff\2\31\1\5\1\31";
12680 static final String dfa_3s = "\1\23\1\42\1\uffff\1\5\1\34\2\42\1\37\2\5\1\uffff\2\42\1\5\1\42";
12681 static final String dfa_4s = "\2\uffff\1\2\7\uffff\1\1\4\uffff";
12682 static final String dfa_5s = "\17\uffff}>";
12683 static final String[] dfa_6s = {
12684 "\1\1\14\uffff\2\2",
12685 "\1\4\6\uffff\1\3",
12686 "",
12687 "\1\5",
12688 "\1\6\26\uffff\1\7",
12689 "\1\4\6\uffff\1\3",
12690 "\1\11\2\uffff\1\7\5\uffff\1\10",
12691 "\1\2\11\uffff\1\12",
12692 "\1\13",
12693 "\1\14",
12694 "",
12695 "\1\11\2\uffff\1\7\5\uffff\1\10",
12696 "\1\11\2\uffff\1\7\5\uffff\1\15",
12697 "\1\16",
12698 "\1\11\2\uffff\1\7\5\uffff\1\15"
12699 };
12700
12701 static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s);
12702 static final char[] dfa_2 = DFA.unpackEncodedStringToUnsignedChars(dfa_2s);
12703 static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s);
12704 static final short[] dfa_4 = DFA.unpackEncodedString(dfa_4s);
12705 static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s);
12706 static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s);
12707
12708 class DFA8 extends DFA {
12709
12710 public DFA8(BaseRecognizer recognizer) {
12711 this.recognizer = recognizer;
12712 this.decisionNumber = 8;
12713 this.eot = dfa_1;
12714 this.eof = dfa_1;
12715 this.min = dfa_2;
12716 this.max = dfa_3;
12717 this.accept = dfa_4;
12718 this.special = dfa_5;
12719 this.transition = dfa_6;
12720 }
12721 public String getDescription() {
12722 return "672:1: rule__Assertion__Alternatives_0 : ( ( ( rule__Assertion__Group_0_0__0 ) ) | ( ( rule__Assertion__Group_0_1__0 ) ) );";
12723 }
12724 }
12725
12726
12727 public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L});
12728 public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L});
12729 public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x00000029001C1022L});
12730 public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000800100000L});
12731 public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000020L});
12732 public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000001002600800L});
12733 public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000002000002L});
12734 public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000800020L});
12735 public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000001000020L});
12736 public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000002000000L});
12737 public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000001000400800L});
12738 public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000800000L});
12739 public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000000010L});
12740 public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000001000000L});
12741 public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000004000000L});
12742 public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000008000000L});
12743 public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000010000020L});
12744 public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000020200000L});
12745 public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000001000L});
12746 public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000040020L});
12747 public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000040000000L});
12748 public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000040000002L});
12749 public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000004008000000L});
12750 public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000200000L});
12751 public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000080000000L});
12752 public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000000038000L});
12753 public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x00000000000C0020L});
12754 public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000002200000L});
12755 public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000008000002000L});
12756 public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000200000000L});
12757 public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000000004010L});
12758 public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000000400000000L});
12759 public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000400000002L});
12760
12761} \ No newline at end of file