aboutsummaryrefslogtreecommitdiffstats
path: root/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kris7topher@gmail.com>2019-03-20 16:09:09 +0100
committerLibravatar Kristóf Marussy <kris7topher@gmail.com>2019-03-20 16:09:09 +0100
commit3f5aaab5025b8eb243f414b1c789085327df04f4 (patch)
tree156d9d95888fce6b003d73f509b9155e6b24555f /Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java
parentFix ParseUtil to avoid breaking the .vql editor in Eclipse (diff)
downloadVIATRA-Generator-3f5aaab5025b8eb243f414b1c789085327df04f4.tar.gz
VIATRA-Generator-3f5aaab5025b8eb243f414b1c789085327df04f4.tar.zst
VIATRA-Generator-3f5aaab5025b8eb243f414b1c789085327df04f4.zip
Fault tree transformation for partial models WIP
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java')
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java24967
1 files changed, 13307 insertions, 11660 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java
index 015e5da9..191f96eb 100644
--- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java
+++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java
@@ -1,11660 +1,13307 @@
1package hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal; 1package hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal;
2 2
3import org.eclipse.xtext.*; 3import org.eclipse.xtext.*;
4import org.eclipse.xtext.parser.*; 4import org.eclipse.xtext.parser.*;
5import org.eclipse.xtext.parser.impl.*; 5import org.eclipse.xtext.parser.impl.*;
6import org.eclipse.emf.ecore.util.EcoreUtil; 6import org.eclipse.emf.ecore.util.EcoreUtil;
7import org.eclipse.emf.ecore.EObject; 7import org.eclipse.emf.ecore.EObject;
8import org.eclipse.emf.common.util.Enumerator; 8import org.eclipse.emf.common.util.Enumerator;
9import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; 9import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
10import org.eclipse.xtext.parser.antlr.XtextTokenStream; 10import org.eclipse.xtext.parser.antlr.XtextTokenStream;
11import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; 11import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
12import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; 12import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
13import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; 13import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess;
14 14
15 15
16 16
17import org.antlr.runtime.*; 17import org.antlr.runtime.*;
18import java.util.Stack; 18import java.util.Stack;
19import java.util.List; 19import java.util.List;
20import java.util.ArrayList; 20import java.util.ArrayList;
21 21
22@SuppressWarnings("all") 22@SuppressWarnings("all")
23public class InternalApplicationConfigurationParser extends AbstractInternalAntlrParser { 23public class InternalApplicationConfigurationParser extends AbstractInternalAntlrParser {
24 public static final String[] tokenNames = new String[] { 24 public static final String[] tokenNames = new String[] {
25 "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'.'", "'-'", "'import'", "'epackage'", "'viatra'", "'file'", "'='", "'{'", "','", "'}'", "'package'", "'excluding'", "'::'", "'metamodel'", "'folder'", "'models'", "'constraints'", "'config'", "'log-level'", "'runtime'", "'memory'", "'#'", "'+='", "'<'", "'>'", "'node'", "'int'", "'real'", "'string'", "'*'", "'..'", "'scope'", "'generate'", "'partial-model'", "'number'", "'runs'", "'solver'", "'debug'", "'log'", "'statistics'", "'output'", "'none'", "'normal'", "'full'", "'SMTSolver'", "'AlloySolver'", "'ViatraSolver'" 25 "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'.'", "'-'", "'import'", "'epackage'", "'viatra'", "'reliability'", "'file'", "'='", "'{'", "','", "'}'", "'package'", "'excluding'", "'::'", "'metamodel'", "'folder'", "'models'", "'constraints'", "'objectives'", "'config'", "'log-level'", "'runtime'", "'memory'", "'#'", "'+='", "'<'", "'>'", "'node'", "'int'", "'real'", "'string'", "'*'", "'..'", "'scope'", "'generate'", "'partial-model'", "'number'", "'runs'", "'solver'", "'debug'", "'log'", "'statistics'", "'output'", "'minimize'", "'maximize'", "'<='", "'>='", "'none'", "'normal'", "'full'", "'SMTSolver'", "'AlloySolver'", "'ViatraSolver'"
26 }; 26 };
27 public static final int T__50=50; 27 public static final int T__50=50;
28 public static final int T__19=19; 28 public static final int T__19=19;
29 public static final int T__15=15; 29 public static final int T__15=15;
30 public static final int T__16=16; 30 public static final int T__59=59;
31 public static final int T__17=17; 31 public static final int T__16=16;
32 public static final int T__18=18; 32 public static final int T__17=17;
33 public static final int T__11=11; 33 public static final int T__18=18;
34 public static final int T__55=55; 34 public static final int T__11=11;
35 public static final int T__12=12; 35 public static final int T__55=55;
36 public static final int T__56=56; 36 public static final int T__12=12;
37 public static final int T__13=13; 37 public static final int T__56=56;
38 public static final int T__57=57; 38 public static final int T__13=13;
39 public static final int T__14=14; 39 public static final int T__57=57;
40 public static final int T__51=51; 40 public static final int T__14=14;
41 public static final int T__52=52; 41 public static final int T__58=58;
42 public static final int T__53=53; 42 public static final int T__51=51;
43 public static final int T__54=54; 43 public static final int T__52=52;
44 public static final int RULE_ID=4; 44 public static final int T__53=53;
45 public static final int T__26=26; 45 public static final int T__54=54;
46 public static final int T__27=27; 46 public static final int T__60=60;
47 public static final int T__28=28; 47 public static final int T__61=61;
48 public static final int RULE_INT=5; 48 public static final int RULE_ID=4;
49 public static final int T__29=29; 49 public static final int T__26=26;
50 public static final int T__22=22; 50 public static final int T__27=27;
51 public static final int RULE_ML_COMMENT=7; 51 public static final int T__28=28;
52 public static final int T__23=23; 52 public static final int RULE_INT=5;
53 public static final int T__24=24; 53 public static final int T__29=29;
54 public static final int T__25=25; 54 public static final int T__22=22;
55 public static final int T__20=20; 55 public static final int RULE_ML_COMMENT=7;
56 public static final int T__21=21; 56 public static final int T__23=23;
57 public static final int RULE_STRING=6; 57 public static final int T__24=24;
58 public static final int RULE_SL_COMMENT=8; 58 public static final int T__25=25;
59 public static final int T__37=37; 59 public static final int T__62=62;
60 public static final int T__38=38; 60 public static final int T__63=63;
61 public static final int T__39=39; 61 public static final int T__20=20;
62 public static final int T__33=33; 62 public static final int T__21=21;
63 public static final int T__34=34; 63 public static final int RULE_STRING=6;
64 public static final int T__35=35; 64 public static final int RULE_SL_COMMENT=8;
65 public static final int T__36=36; 65 public static final int T__37=37;
66 public static final int EOF=-1; 66 public static final int T__38=38;
67 public static final int T__30=30; 67 public static final int T__39=39;
68 public static final int T__31=31; 68 public static final int T__33=33;
69 public static final int T__32=32; 69 public static final int T__34=34;
70 public static final int RULE_WS=9; 70 public static final int T__35=35;
71 public static final int RULE_ANY_OTHER=10; 71 public static final int T__36=36;
72 public static final int T__48=48; 72 public static final int EOF=-1;
73 public static final int T__49=49; 73 public static final int T__30=30;
74 public static final int T__44=44; 74 public static final int T__31=31;
75 public static final int T__45=45; 75 public static final int T__32=32;
76 public static final int T__46=46; 76 public static final int RULE_WS=9;
77 public static final int T__47=47; 77 public static final int RULE_ANY_OTHER=10;
78 public static final int T__40=40; 78 public static final int T__48=48;
79 public static final int T__41=41; 79 public static final int T__49=49;
80 public static final int T__42=42; 80 public static final int T__44=44;
81 public static final int T__43=43; 81 public static final int T__45=45;
82 82 public static final int T__46=46;
83 // delegates 83 public static final int T__47=47;
84 // delegators 84 public static final int T__40=40;
85 85 public static final int T__41=41;
86 86 public static final int T__42=42;
87 public InternalApplicationConfigurationParser(TokenStream input) { 87 public static final int T__43=43;
88 this(input, new RecognizerSharedState()); 88
89 } 89 // delegates
90 public InternalApplicationConfigurationParser(TokenStream input, RecognizerSharedState state) { 90 // delegators
91 super(input, state); 91
92 92
93 } 93 public InternalApplicationConfigurationParser(TokenStream input) {
94 94 this(input, new RecognizerSharedState());
95 95 }
96 public String[] getTokenNames() { return InternalApplicationConfigurationParser.tokenNames; } 96 public InternalApplicationConfigurationParser(TokenStream input, RecognizerSharedState state) {
97 public String getGrammarFileName() { return "InternalApplicationConfiguration.g"; } 97 super(input, state);
98 98
99 99 }
100 100
101 private ApplicationConfigurationGrammarAccess grammarAccess; 101
102 102 public String[] getTokenNames() { return InternalApplicationConfigurationParser.tokenNames; }
103 public InternalApplicationConfigurationParser(TokenStream input, ApplicationConfigurationGrammarAccess grammarAccess) { 103 public String getGrammarFileName() { return "InternalApplicationConfiguration.g"; }
104 this(input); 104
105 this.grammarAccess = grammarAccess; 105
106 registerRules(grammarAccess.getGrammar()); 106
107 } 107 private ApplicationConfigurationGrammarAccess grammarAccess;
108 108
109 @Override 109 public InternalApplicationConfigurationParser(TokenStream input, ApplicationConfigurationGrammarAccess grammarAccess) {
110 protected String getFirstRuleName() { 110 this(input);
111 return "ConfigurationScript"; 111 this.grammarAccess = grammarAccess;
112 } 112 registerRules(grammarAccess.getGrammar());
113 113 }
114 @Override 114
115 protected ApplicationConfigurationGrammarAccess getGrammarAccess() { 115 @Override
116 return grammarAccess; 116 protected String getFirstRuleName() {
117 } 117 return "ConfigurationScript";
118 118 }
119 119
120 120 @Override
121 121 protected ApplicationConfigurationGrammarAccess getGrammarAccess() {
122 // $ANTLR start "entryRuleConfigurationScript" 122 return grammarAccess;
123 // InternalApplicationConfiguration.g:65:1: entryRuleConfigurationScript returns [EObject current=null] : iv_ruleConfigurationScript= ruleConfigurationScript EOF ; 123 }
124 public final EObject entryRuleConfigurationScript() throws RecognitionException { 124
125 EObject current = null; 125
126 126
127 EObject iv_ruleConfigurationScript = null; 127
128 128 // $ANTLR start "entryRuleConfigurationScript"
129 129 // InternalApplicationConfiguration.g:65:1: entryRuleConfigurationScript returns [EObject current=null] : iv_ruleConfigurationScript= ruleConfigurationScript EOF ;
130 try { 130 public final EObject entryRuleConfigurationScript() throws RecognitionException {
131 // InternalApplicationConfiguration.g:65:60: (iv_ruleConfigurationScript= ruleConfigurationScript EOF ) 131 EObject current = null;
132 // InternalApplicationConfiguration.g:66:2: iv_ruleConfigurationScript= ruleConfigurationScript EOF 132
133 { 133 EObject iv_ruleConfigurationScript = null;
134 newCompositeNode(grammarAccess.getConfigurationScriptRule()); 134
135 pushFollow(FOLLOW_1); 135
136 iv_ruleConfigurationScript=ruleConfigurationScript(); 136 try {
137 137 // InternalApplicationConfiguration.g:65:60: (iv_ruleConfigurationScript= ruleConfigurationScript EOF )
138 state._fsp--; 138 // InternalApplicationConfiguration.g:66:2: iv_ruleConfigurationScript= ruleConfigurationScript EOF
139 139 {
140 current =iv_ruleConfigurationScript; 140 newCompositeNode(grammarAccess.getConfigurationScriptRule());
141 match(input,EOF,FOLLOW_2); 141 pushFollow(FOLLOW_1);
142 142 iv_ruleConfigurationScript=ruleConfigurationScript();
143 } 143
144 144 state._fsp--;
145 } 145
146 146 current =iv_ruleConfigurationScript;
147 catch (RecognitionException re) { 147 match(input,EOF,FOLLOW_2);
148 recover(input,re); 148
149 appendSkippedTokens(); 149 }
150 } 150
151 finally { 151 }
152 } 152
153 return current; 153 catch (RecognitionException re) {
154 } 154 recover(input,re);
155 // $ANTLR end "entryRuleConfigurationScript" 155 appendSkippedTokens();
156 156 }
157 157 finally {
158 // $ANTLR start "ruleConfigurationScript" 158 }
159 // InternalApplicationConfiguration.g:72:1: ruleConfigurationScript returns [EObject current=null] : ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) ; 159 return current;
160 public final EObject ruleConfigurationScript() throws RecognitionException { 160 }
161 EObject current = null; 161 // $ANTLR end "entryRuleConfigurationScript"
162 162
163 EObject lv_imports_0_0 = null; 163
164 164 // $ANTLR start "ruleConfigurationScript"
165 EObject lv_commands_1_0 = null; 165 // InternalApplicationConfiguration.g:72:1: ruleConfigurationScript returns [EObject current=null] : ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) ;
166 166 public final EObject ruleConfigurationScript() throws RecognitionException {
167 167 EObject current = null;
168 168
169 enterRule(); 169 EObject lv_imports_0_0 = null;
170 170
171 try { 171 EObject lv_commands_1_0 = null;
172 // InternalApplicationConfiguration.g:78:2: ( ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) ) 172
173 // InternalApplicationConfiguration.g:79:2: ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) 173
174 { 174
175 // InternalApplicationConfiguration.g:79:2: ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) 175 enterRule();
176 // InternalApplicationConfiguration.g:80:3: ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* 176
177 { 177 try {
178 // InternalApplicationConfiguration.g:80:3: ( (lv_imports_0_0= ruleImport ) )* 178 // InternalApplicationConfiguration.g:78:2: ( ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) )
179 loop1: 179 // InternalApplicationConfiguration.g:79:2: ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* )
180 do { 180 {
181 int alt1=2; 181 // InternalApplicationConfiguration.g:79:2: ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* )
182 int LA1_0 = input.LA(1); 182 // InternalApplicationConfiguration.g:80:3: ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )*
183 183 {
184 if ( (LA1_0==13) ) { 184 // InternalApplicationConfiguration.g:80:3: ( (lv_imports_0_0= ruleImport ) )*
185 alt1=1; 185 loop1:
186 } 186 do {
187 187 int alt1=2;
188 188 int LA1_0 = input.LA(1);
189 switch (alt1) { 189
190 case 1 : 190 if ( (LA1_0==13) ) {
191 // InternalApplicationConfiguration.g:81:4: (lv_imports_0_0= ruleImport ) 191 alt1=1;
192 { 192 }
193 // InternalApplicationConfiguration.g:81:4: (lv_imports_0_0= ruleImport ) 193
194 // InternalApplicationConfiguration.g:82:5: lv_imports_0_0= ruleImport 194
195 { 195 switch (alt1) {
196 196 case 1 :
197 newCompositeNode(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); 197 // InternalApplicationConfiguration.g:81:4: (lv_imports_0_0= ruleImport )
198 198 {
199 pushFollow(FOLLOW_3); 199 // InternalApplicationConfiguration.g:81:4: (lv_imports_0_0= ruleImport )
200 lv_imports_0_0=ruleImport(); 200 // InternalApplicationConfiguration.g:82:5: lv_imports_0_0= ruleImport
201 201 {
202 state._fsp--; 202
203 203 newCompositeNode(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0());
204 204
205 if (current==null) { 205 pushFollow(FOLLOW_3);
206 current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); 206 lv_imports_0_0=ruleImport();
207 } 207
208 add( 208 state._fsp--;
209 current, 209
210 "imports", 210
211 lv_imports_0_0, 211 if (current==null) {
212 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import"); 212 current = createModelElementForParent(grammarAccess.getConfigurationScriptRule());
213 afterParserOrEnumRuleCall(); 213 }
214 214 add(
215 215 current,
216 } 216 "imports",
217 217 lv_imports_0_0,
218 218 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import");
219 } 219 afterParserOrEnumRuleCall();
220 break; 220
221 221
222 default : 222 }
223 break loop1; 223
224 } 224
225 } while (true); 225 }
226 226 break;
227 // InternalApplicationConfiguration.g:99:3: ( (lv_commands_1_0= ruleCommand ) )* 227
228 loop2: 228 default :
229 do { 229 break loop1;
230 int alt2=2; 230 }
231 int LA2_0 = input.LA(1); 231 } while (true);
232 232
233 if ( (LA2_0==16||LA2_0==24||(LA2_0>=26 && LA2_0<=28)||(LA2_0>=42 && LA2_0<=43)) ) { 233 // InternalApplicationConfiguration.g:99:3: ( (lv_commands_1_0= ruleCommand ) )*
234 alt2=1; 234 loop2:
235 } 235 do {
236 236 int alt2=2;
237 237 int LA2_0 = input.LA(1);
238 switch (alt2) { 238
239 case 1 : 239 if ( (LA2_0==17||LA2_0==25||(LA2_0>=27 && LA2_0<=30)||(LA2_0>=44 && LA2_0<=45)) ) {
240 // InternalApplicationConfiguration.g:100:4: (lv_commands_1_0= ruleCommand ) 240 alt2=1;
241 { 241 }
242 // InternalApplicationConfiguration.g:100:4: (lv_commands_1_0= ruleCommand ) 242
243 // InternalApplicationConfiguration.g:101:5: lv_commands_1_0= ruleCommand 243
244 { 244 switch (alt2) {
245 245 case 1 :
246 newCompositeNode(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); 246 // InternalApplicationConfiguration.g:100:4: (lv_commands_1_0= ruleCommand )
247 247 {
248 pushFollow(FOLLOW_4); 248 // InternalApplicationConfiguration.g:100:4: (lv_commands_1_0= ruleCommand )
249 lv_commands_1_0=ruleCommand(); 249 // InternalApplicationConfiguration.g:101:5: lv_commands_1_0= ruleCommand
250 250 {
251 state._fsp--; 251
252 252 newCompositeNode(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0());
253 253
254 if (current==null) { 254 pushFollow(FOLLOW_4);
255 current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); 255 lv_commands_1_0=ruleCommand();
256 } 256
257 add( 257 state._fsp--;
258 current, 258
259 "commands", 259
260 lv_commands_1_0, 260 if (current==null) {
261 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Command"); 261 current = createModelElementForParent(grammarAccess.getConfigurationScriptRule());
262 afterParserOrEnumRuleCall(); 262 }
263 263 add(
264 264 current,
265 } 265 "commands",
266 266 lv_commands_1_0,
267 267 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Command");
268 } 268 afterParserOrEnumRuleCall();
269 break; 269
270 270
271 default : 271 }
272 break loop2; 272
273 } 273
274 } while (true); 274 }
275 275 break;
276 276
277 } 277 default :
278 278 break loop2;
279 279 }
280 } 280 } while (true);
281 281
282 282
283 leaveRule(); 283 }
284 284
285 } 285
286 286 }
287 catch (RecognitionException re) { 287
288 recover(input,re); 288
289 appendSkippedTokens(); 289 leaveRule();
290 } 290
291 finally { 291 }
292 } 292
293 return current; 293 catch (RecognitionException re) {
294 } 294 recover(input,re);
295 // $ANTLR end "ruleConfigurationScript" 295 appendSkippedTokens();
296 296 }
297 297 finally {
298 // $ANTLR start "entryRuleCommand" 298 }
299 // InternalApplicationConfiguration.g:122:1: entryRuleCommand returns [EObject current=null] : iv_ruleCommand= ruleCommand EOF ; 299 return current;
300 public final EObject entryRuleCommand() throws RecognitionException { 300 }
301 EObject current = null; 301 // $ANTLR end "ruleConfigurationScript"
302 302
303 EObject iv_ruleCommand = null; 303
304 304 // $ANTLR start "entryRuleCommand"
305 305 // InternalApplicationConfiguration.g:122:1: entryRuleCommand returns [EObject current=null] : iv_ruleCommand= ruleCommand EOF ;
306 try { 306 public final EObject entryRuleCommand() throws RecognitionException {
307 // InternalApplicationConfiguration.g:122:48: (iv_ruleCommand= ruleCommand EOF ) 307 EObject current = null;
308 // InternalApplicationConfiguration.g:123:2: iv_ruleCommand= ruleCommand EOF 308
309 { 309 EObject iv_ruleCommand = null;
310 newCompositeNode(grammarAccess.getCommandRule()); 310
311 pushFollow(FOLLOW_1); 311
312 iv_ruleCommand=ruleCommand(); 312 try {
313 313 // InternalApplicationConfiguration.g:122:48: (iv_ruleCommand= ruleCommand EOF )
314 state._fsp--; 314 // InternalApplicationConfiguration.g:123:2: iv_ruleCommand= ruleCommand EOF
315 315 {
316 current =iv_ruleCommand; 316 newCompositeNode(grammarAccess.getCommandRule());
317 match(input,EOF,FOLLOW_2); 317 pushFollow(FOLLOW_1);
318 318 iv_ruleCommand=ruleCommand();
319 } 319
320 320 state._fsp--;
321 } 321
322 322 current =iv_ruleCommand;
323 catch (RecognitionException re) { 323 match(input,EOF,FOLLOW_2);
324 recover(input,re); 324
325 appendSkippedTokens(); 325 }
326 } 326
327 finally { 327 }
328 } 328
329 return current; 329 catch (RecognitionException re) {
330 } 330 recover(input,re);
331 // $ANTLR end "entryRuleCommand" 331 appendSkippedTokens();
332 332 }
333 333 finally {
334 // $ANTLR start "ruleCommand" 334 }
335 // InternalApplicationConfiguration.g:129:1: ruleCommand returns [EObject current=null] : (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) ; 335 return current;
336 public final EObject ruleCommand() throws RecognitionException { 336 }
337 EObject current = null; 337 // $ANTLR end "entryRuleCommand"
338 338
339 EObject this_Declaration_0 = null; 339
340 340 // $ANTLR start "ruleCommand"
341 EObject this_Task_1 = null; 341 // InternalApplicationConfiguration.g:129:1: ruleCommand returns [EObject current=null] : (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) ;
342 342 public final EObject ruleCommand() throws RecognitionException {
343 343 EObject current = null;
344 344
345 enterRule(); 345 EObject this_Declaration_0 = null;
346 346
347 try { 347 EObject this_Task_1 = null;
348 // InternalApplicationConfiguration.g:135:2: ( (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) ) 348
349 // InternalApplicationConfiguration.g:136:2: (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) 349
350 { 350
351 // InternalApplicationConfiguration.g:136:2: (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) 351 enterRule();
352 int alt3=2; 352
353 int LA3_0 = input.LA(1); 353 try {
354 354 // InternalApplicationConfiguration.g:135:2: ( (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) )
355 if ( (LA3_0==16||LA3_0==24||(LA3_0>=26 && LA3_0<=28)||LA3_0==42) ) { 355 // InternalApplicationConfiguration.g:136:2: (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask )
356 alt3=1; 356 {
357 } 357 // InternalApplicationConfiguration.g:136:2: (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask )
358 else if ( (LA3_0==43) ) { 358 int alt3=2;
359 alt3=2; 359 int LA3_0 = input.LA(1);
360 } 360
361 else { 361 if ( (LA3_0==17||LA3_0==25||(LA3_0>=27 && LA3_0<=30)||LA3_0==44) ) {
362 NoViableAltException nvae = 362 alt3=1;
363 new NoViableAltException("", 3, 0, input); 363 }
364 364 else if ( (LA3_0==45) ) {
365 throw nvae; 365 alt3=2;
366 } 366 }
367 switch (alt3) { 367 else {
368 case 1 : 368 NoViableAltException nvae =
369 // InternalApplicationConfiguration.g:137:3: this_Declaration_0= ruleDeclaration 369 new NoViableAltException("", 3, 0, input);
370 { 370
371 371 throw nvae;
372 newCompositeNode(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0()); 372 }
373 373 switch (alt3) {
374 pushFollow(FOLLOW_2); 374 case 1 :
375 this_Declaration_0=ruleDeclaration(); 375 // InternalApplicationConfiguration.g:137:3: this_Declaration_0= ruleDeclaration
376 376 {
377 state._fsp--; 377
378 378 newCompositeNode(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0());
379 379
380 current = this_Declaration_0; 380 pushFollow(FOLLOW_2);
381 afterParserOrEnumRuleCall(); 381 this_Declaration_0=ruleDeclaration();
382 382
383 383 state._fsp--;
384 } 384
385 break; 385
386 case 2 : 386 current = this_Declaration_0;
387 // InternalApplicationConfiguration.g:146:3: this_Task_1= ruleTask 387 afterParserOrEnumRuleCall();
388 { 388
389 389
390 newCompositeNode(grammarAccess.getCommandAccess().getTaskParserRuleCall_1()); 390 }
391 391 break;
392 pushFollow(FOLLOW_2); 392 case 2 :
393 this_Task_1=ruleTask(); 393 // InternalApplicationConfiguration.g:146:3: this_Task_1= ruleTask
394 394 {
395 state._fsp--; 395
396 396 newCompositeNode(grammarAccess.getCommandAccess().getTaskParserRuleCall_1());
397 397
398 current = this_Task_1; 398 pushFollow(FOLLOW_2);
399 afterParserOrEnumRuleCall(); 399 this_Task_1=ruleTask();
400 400
401 401 state._fsp--;
402 } 402
403 break; 403
404 404 current = this_Task_1;
405 } 405 afterParserOrEnumRuleCall();
406 406
407 407
408 } 408 }
409 409 break;
410 410
411 leaveRule(); 411 }
412 412
413 } 413
414 414 }
415 catch (RecognitionException re) { 415
416 recover(input,re); 416
417 appendSkippedTokens(); 417 leaveRule();
418 } 418
419 finally { 419 }
420 } 420
421 return current; 421 catch (RecognitionException re) {
422 } 422 recover(input,re);
423 // $ANTLR end "ruleCommand" 423 appendSkippedTokens();
424 424 }
425 425 finally {
426 // $ANTLR start "entryRuleQualifiedName" 426 }
427 // InternalApplicationConfiguration.g:158:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ; 427 return current;
428 public final String entryRuleQualifiedName() throws RecognitionException { 428 }
429 String current = null; 429 // $ANTLR end "ruleCommand"
430 430
431 AntlrDatatypeRuleToken iv_ruleQualifiedName = null; 431
432 432 // $ANTLR start "entryRuleQualifiedName"
433 433 // InternalApplicationConfiguration.g:158:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
434 try { 434 public final String entryRuleQualifiedName() throws RecognitionException {
435 // InternalApplicationConfiguration.g:158:53: (iv_ruleQualifiedName= ruleQualifiedName EOF ) 435 String current = null;
436 // InternalApplicationConfiguration.g:159:2: iv_ruleQualifiedName= ruleQualifiedName EOF 436
437 { 437 AntlrDatatypeRuleToken iv_ruleQualifiedName = null;
438 newCompositeNode(grammarAccess.getQualifiedNameRule()); 438
439 pushFollow(FOLLOW_1); 439
440 iv_ruleQualifiedName=ruleQualifiedName(); 440 try {
441 441 // InternalApplicationConfiguration.g:158:53: (iv_ruleQualifiedName= ruleQualifiedName EOF )
442 state._fsp--; 442 // InternalApplicationConfiguration.g:159:2: iv_ruleQualifiedName= ruleQualifiedName EOF
443 443 {
444 current =iv_ruleQualifiedName.getText(); 444 newCompositeNode(grammarAccess.getQualifiedNameRule());
445 match(input,EOF,FOLLOW_2); 445 pushFollow(FOLLOW_1);
446 446 iv_ruleQualifiedName=ruleQualifiedName();
447 } 447
448 448 state._fsp--;
449 } 449
450 450 current =iv_ruleQualifiedName.getText();
451 catch (RecognitionException re) { 451 match(input,EOF,FOLLOW_2);
452 recover(input,re); 452
453 appendSkippedTokens(); 453 }
454 } 454
455 finally { 455 }
456 } 456
457 return current; 457 catch (RecognitionException re) {
458 } 458 recover(input,re);
459 // $ANTLR end "entryRuleQualifiedName" 459 appendSkippedTokens();
460 460 }
461 461 finally {
462 // $ANTLR start "ruleQualifiedName" 462 }
463 // InternalApplicationConfiguration.g:165:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ; 463 return current;
464 public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException { 464 }
465 AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); 465 // $ANTLR end "entryRuleQualifiedName"
466 466
467 Token this_ID_0=null; 467
468 Token kw=null; 468 // $ANTLR start "ruleQualifiedName"
469 Token this_ID_2=null; 469 // InternalApplicationConfiguration.g:165:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ;
470 470 public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException {
471 471 AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
472 enterRule(); 472
473 473 Token this_ID_0=null;
474 try { 474 Token kw=null;
475 // InternalApplicationConfiguration.g:171:2: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ) 475 Token this_ID_2=null;
476 // InternalApplicationConfiguration.g:172:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) 476
477 { 477
478 // InternalApplicationConfiguration.g:172:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) 478 enterRule();
479 // InternalApplicationConfiguration.g:173:3: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* 479
480 { 480 try {
481 this_ID_0=(Token)match(input,RULE_ID,FOLLOW_5); 481 // InternalApplicationConfiguration.g:171:2: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) )
482 482 // InternalApplicationConfiguration.g:172:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
483 current.merge(this_ID_0); 483 {
484 484 // InternalApplicationConfiguration.g:172:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
485 485 // InternalApplicationConfiguration.g:173:3: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )*
486 newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); 486 {
487 487 this_ID_0=(Token)match(input,RULE_ID,FOLLOW_5);
488 // InternalApplicationConfiguration.g:180:3: (kw= '.' this_ID_2= RULE_ID )* 488
489 loop4: 489 current.merge(this_ID_0);
490 do { 490
491 int alt4=2; 491
492 int LA4_0 = input.LA(1); 492 newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0());
493 493
494 if ( (LA4_0==11) ) { 494 // InternalApplicationConfiguration.g:180:3: (kw= '.' this_ID_2= RULE_ID )*
495 alt4=1; 495 loop4:
496 } 496 do {
497 497 int alt4=2;
498 498 int LA4_0 = input.LA(1);
499 switch (alt4) { 499
500 case 1 : 500 if ( (LA4_0==11) ) {
501 // InternalApplicationConfiguration.g:181:4: kw= '.' this_ID_2= RULE_ID 501 alt4=1;
502 { 502 }
503 kw=(Token)match(input,11,FOLLOW_6); 503
504 504
505 current.merge(kw); 505 switch (alt4) {
506 newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); 506 case 1 :
507 507 // InternalApplicationConfiguration.g:181:4: kw= '.' this_ID_2= RULE_ID
508 this_ID_2=(Token)match(input,RULE_ID,FOLLOW_5); 508 {
509 509 kw=(Token)match(input,11,FOLLOW_6);
510 current.merge(this_ID_2); 510
511 511 current.merge(kw);
512 512 newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0());
513 newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); 513
514 514 this_ID_2=(Token)match(input,RULE_ID,FOLLOW_5);
515 515
516 } 516 current.merge(this_ID_2);
517 break; 517
518 518
519 default : 519 newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1());
520 break loop4; 520
521 } 521
522 } while (true); 522 }
523 523 break;
524 524
525 } 525 default :
526 526 break loop4;
527 527 }
528 } 528 } while (true);
529 529
530 530
531 leaveRule(); 531 }
532 532
533 } 533
534 534 }
535 catch (RecognitionException re) { 535
536 recover(input,re); 536
537 appendSkippedTokens(); 537 leaveRule();
538 } 538
539 finally { 539 }
540 } 540
541 return current; 541 catch (RecognitionException re) {
542 } 542 recover(input,re);
543 // $ANTLR end "ruleQualifiedName" 543 appendSkippedTokens();
544 544 }
545 545 finally {
546 // $ANTLR start "entryRuleREALLiteral" 546 }
547 // InternalApplicationConfiguration.g:198:1: entryRuleREALLiteral returns [String current=null] : iv_ruleREALLiteral= ruleREALLiteral EOF ; 547 return current;
548 public final String entryRuleREALLiteral() throws RecognitionException { 548 }
549 String current = null; 549 // $ANTLR end "ruleQualifiedName"
550 550
551 AntlrDatatypeRuleToken iv_ruleREALLiteral = null; 551
552 552 // $ANTLR start "entryRuleREALLiteral"
553 553 // InternalApplicationConfiguration.g:198:1: entryRuleREALLiteral returns [String current=null] : iv_ruleREALLiteral= ruleREALLiteral EOF ;
554 try { 554 public final String entryRuleREALLiteral() throws RecognitionException {
555 // InternalApplicationConfiguration.g:198:51: (iv_ruleREALLiteral= ruleREALLiteral EOF ) 555 String current = null;
556 // InternalApplicationConfiguration.g:199:2: iv_ruleREALLiteral= ruleREALLiteral EOF 556
557 { 557 AntlrDatatypeRuleToken iv_ruleREALLiteral = null;
558 newCompositeNode(grammarAccess.getREALLiteralRule()); 558
559 pushFollow(FOLLOW_1); 559
560 iv_ruleREALLiteral=ruleREALLiteral(); 560 try {
561 561 // InternalApplicationConfiguration.g:198:51: (iv_ruleREALLiteral= ruleREALLiteral EOF )
562 state._fsp--; 562 // InternalApplicationConfiguration.g:199:2: iv_ruleREALLiteral= ruleREALLiteral EOF
563 563 {
564 current =iv_ruleREALLiteral.getText(); 564 newCompositeNode(grammarAccess.getREALLiteralRule());
565 match(input,EOF,FOLLOW_2); 565 pushFollow(FOLLOW_1);
566 566 iv_ruleREALLiteral=ruleREALLiteral();
567 } 567
568 568 state._fsp--;
569 } 569
570 570 current =iv_ruleREALLiteral.getText();
571 catch (RecognitionException re) { 571 match(input,EOF,FOLLOW_2);
572 recover(input,re); 572
573 appendSkippedTokens(); 573 }
574 } 574
575 finally { 575 }
576 } 576
577 return current; 577 catch (RecognitionException re) {
578 } 578 recover(input,re);
579 // $ANTLR end "entryRuleREALLiteral" 579 appendSkippedTokens();
580 580 }
581 581 finally {
582 // $ANTLR start "ruleREALLiteral" 582 }
583 // InternalApplicationConfiguration.g:205:1: ruleREALLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) ; 583 return current;
584 public final AntlrDatatypeRuleToken ruleREALLiteral() throws RecognitionException { 584 }
585 AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); 585 // $ANTLR end "entryRuleREALLiteral"
586 586
587 Token kw=null; 587
588 Token this_INT_1=null; 588 // $ANTLR start "ruleREALLiteral"
589 Token this_INT_3=null; 589 // InternalApplicationConfiguration.g:205:1: ruleREALLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) ;
590 590 public final AntlrDatatypeRuleToken ruleREALLiteral() throws RecognitionException {
591 591 AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
592 enterRule(); 592
593 593 Token kw=null;
594 try { 594 Token this_INT_1=null;
595 // InternalApplicationConfiguration.g:211:2: ( ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) ) 595 Token this_INT_3=null;
596 // InternalApplicationConfiguration.g:212:2: ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) 596
597 { 597
598 // InternalApplicationConfiguration.g:212:2: ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) 598 enterRule();
599 // InternalApplicationConfiguration.g:213:3: (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT 599
600 { 600 try {
601 // InternalApplicationConfiguration.g:213:3: (kw= '-' )? 601 // InternalApplicationConfiguration.g:211:2: ( ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) )
602 int alt5=2; 602 // InternalApplicationConfiguration.g:212:2: ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT )
603 int LA5_0 = input.LA(1); 603 {
604 604 // InternalApplicationConfiguration.g:212:2: ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT )
605 if ( (LA5_0==12) ) { 605 // InternalApplicationConfiguration.g:213:3: (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT
606 alt5=1; 606 {
607 } 607 // InternalApplicationConfiguration.g:213:3: (kw= '-' )?
608 switch (alt5) { 608 int alt5=2;
609 case 1 : 609 int LA5_0 = input.LA(1);
610 // InternalApplicationConfiguration.g:214:4: kw= '-' 610
611 { 611 if ( (LA5_0==12) ) {
612 kw=(Token)match(input,12,FOLLOW_7); 612 alt5=1;
613 613 }
614 current.merge(kw); 614 switch (alt5) {
615 newLeafNode(kw, grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0()); 615 case 1 :
616 616 // InternalApplicationConfiguration.g:214:4: kw= '-'
617 617 {
618 } 618 kw=(Token)match(input,12,FOLLOW_7);
619 break; 619
620 620 current.merge(kw);
621 } 621 newLeafNode(kw, grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0());
622 622
623 this_INT_1=(Token)match(input,RULE_INT,FOLLOW_8); 623
624 624 }
625 current.merge(this_INT_1); 625 break;
626 626
627 627 }
628 newLeafNode(this_INT_1, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1()); 628
629 629 this_INT_1=(Token)match(input,RULE_INT,FOLLOW_8);
630 kw=(Token)match(input,11,FOLLOW_7); 630
631 631 current.merge(this_INT_1);
632 current.merge(kw); 632
633 newLeafNode(kw, grammarAccess.getREALLiteralAccess().getFullStopKeyword_2()); 633
634 634 newLeafNode(this_INT_1, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1());
635 this_INT_3=(Token)match(input,RULE_INT,FOLLOW_2); 635
636 636 kw=(Token)match(input,11,FOLLOW_7);
637 current.merge(this_INT_3); 637
638 638 current.merge(kw);
639 639 newLeafNode(kw, grammarAccess.getREALLiteralAccess().getFullStopKeyword_2());
640 newLeafNode(this_INT_3, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3()); 640
641 641 this_INT_3=(Token)match(input,RULE_INT,FOLLOW_2);
642 642
643 } 643 current.merge(this_INT_3);
644 644
645 645
646 } 646 newLeafNode(this_INT_3, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3());
647 647
648 648
649 leaveRule(); 649 }
650 650
651 } 651
652 652 }
653 catch (RecognitionException re) { 653
654 recover(input,re); 654
655 appendSkippedTokens(); 655 leaveRule();
656 } 656
657 finally { 657 }
658 } 658
659 return current; 659 catch (RecognitionException re) {
660 } 660 recover(input,re);
661 // $ANTLR end "ruleREALLiteral" 661 appendSkippedTokens();
662 662 }
663 663 finally {
664 // $ANTLR start "entryRuleINTLiteral" 664 }
665 // InternalApplicationConfiguration.g:243:1: entryRuleINTLiteral returns [String current=null] : iv_ruleINTLiteral= ruleINTLiteral EOF ; 665 return current;
666 public final String entryRuleINTLiteral() throws RecognitionException { 666 }
667 String current = null; 667 // $ANTLR end "ruleREALLiteral"
668 668
669 AntlrDatatypeRuleToken iv_ruleINTLiteral = null; 669
670 670 // $ANTLR start "entryRuleINTLiteral"
671 671 // InternalApplicationConfiguration.g:243:1: entryRuleINTLiteral returns [String current=null] : iv_ruleINTLiteral= ruleINTLiteral EOF ;
672 try { 672 public final String entryRuleINTLiteral() throws RecognitionException {
673 // InternalApplicationConfiguration.g:243:50: (iv_ruleINTLiteral= ruleINTLiteral EOF ) 673 String current = null;
674 // InternalApplicationConfiguration.g:244:2: iv_ruleINTLiteral= ruleINTLiteral EOF 674
675 { 675 AntlrDatatypeRuleToken iv_ruleINTLiteral = null;
676 newCompositeNode(grammarAccess.getINTLiteralRule()); 676
677 pushFollow(FOLLOW_1); 677
678 iv_ruleINTLiteral=ruleINTLiteral(); 678 try {
679 679 // InternalApplicationConfiguration.g:243:50: (iv_ruleINTLiteral= ruleINTLiteral EOF )
680 state._fsp--; 680 // InternalApplicationConfiguration.g:244:2: iv_ruleINTLiteral= ruleINTLiteral EOF
681 681 {
682 current =iv_ruleINTLiteral.getText(); 682 newCompositeNode(grammarAccess.getINTLiteralRule());
683 match(input,EOF,FOLLOW_2); 683 pushFollow(FOLLOW_1);
684 684 iv_ruleINTLiteral=ruleINTLiteral();
685 } 685
686 686 state._fsp--;
687 } 687
688 688 current =iv_ruleINTLiteral.getText();
689 catch (RecognitionException re) { 689 match(input,EOF,FOLLOW_2);
690 recover(input,re); 690
691 appendSkippedTokens(); 691 }
692 } 692
693 finally { 693 }
694 } 694
695 return current; 695 catch (RecognitionException re) {
696 } 696 recover(input,re);
697 // $ANTLR end "entryRuleINTLiteral" 697 appendSkippedTokens();
698 698 }
699 699 finally {
700 // $ANTLR start "ruleINTLiteral" 700 }
701 // InternalApplicationConfiguration.g:250:1: ruleINTLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT ) ; 701 return current;
702 public final AntlrDatatypeRuleToken ruleINTLiteral() throws RecognitionException { 702 }
703 AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); 703 // $ANTLR end "entryRuleINTLiteral"
704 704
705 Token kw=null; 705
706 Token this_INT_1=null; 706 // $ANTLR start "ruleINTLiteral"
707 707 // InternalApplicationConfiguration.g:250:1: ruleINTLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT ) ;
708 708 public final AntlrDatatypeRuleToken ruleINTLiteral() throws RecognitionException {
709 enterRule(); 709 AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
710 710
711 try { 711 Token kw=null;
712 // InternalApplicationConfiguration.g:256:2: ( ( (kw= '-' )? this_INT_1= RULE_INT ) ) 712 Token this_INT_1=null;
713 // InternalApplicationConfiguration.g:257:2: ( (kw= '-' )? this_INT_1= RULE_INT ) 713
714 { 714
715 // InternalApplicationConfiguration.g:257:2: ( (kw= '-' )? this_INT_1= RULE_INT ) 715 enterRule();
716 // InternalApplicationConfiguration.g:258:3: (kw= '-' )? this_INT_1= RULE_INT 716
717 { 717 try {
718 // InternalApplicationConfiguration.g:258:3: (kw= '-' )? 718 // InternalApplicationConfiguration.g:256:2: ( ( (kw= '-' )? this_INT_1= RULE_INT ) )
719 int alt6=2; 719 // InternalApplicationConfiguration.g:257:2: ( (kw= '-' )? this_INT_1= RULE_INT )
720 int LA6_0 = input.LA(1); 720 {
721 721 // InternalApplicationConfiguration.g:257:2: ( (kw= '-' )? this_INT_1= RULE_INT )
722 if ( (LA6_0==12) ) { 722 // InternalApplicationConfiguration.g:258:3: (kw= '-' )? this_INT_1= RULE_INT
723 alt6=1; 723 {
724 } 724 // InternalApplicationConfiguration.g:258:3: (kw= '-' )?
725 switch (alt6) { 725 int alt6=2;
726 case 1 : 726 int LA6_0 = input.LA(1);
727 // InternalApplicationConfiguration.g:259:4: kw= '-' 727
728 { 728 if ( (LA6_0==12) ) {
729 kw=(Token)match(input,12,FOLLOW_7); 729 alt6=1;
730 730 }
731 current.merge(kw); 731 switch (alt6) {
732 newLeafNode(kw, grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0()); 732 case 1 :
733 733 // InternalApplicationConfiguration.g:259:4: kw= '-'
734 734 {
735 } 735 kw=(Token)match(input,12,FOLLOW_7);
736 break; 736
737 737 current.merge(kw);
738 } 738 newLeafNode(kw, grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0());
739 739
740 this_INT_1=(Token)match(input,RULE_INT,FOLLOW_2); 740
741 741 }
742 current.merge(this_INT_1); 742 break;
743 743
744 744 }
745 newLeafNode(this_INT_1, grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1()); 745
746 746 this_INT_1=(Token)match(input,RULE_INT,FOLLOW_2);
747 747
748 } 748 current.merge(this_INT_1);
749 749
750 750
751 } 751 newLeafNode(this_INT_1, grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1());
752 752
753 753
754 leaveRule(); 754 }
755 755
756 } 756
757 757 }
758 catch (RecognitionException re) { 758
759 recover(input,re); 759
760 appendSkippedTokens(); 760 leaveRule();
761 } 761
762 finally { 762 }
763 } 763
764 return current; 764 catch (RecognitionException re) {
765 } 765 recover(input,re);
766 // $ANTLR end "ruleINTLiteral" 766 appendSkippedTokens();
767 767 }
768 768 finally {
769 // $ANTLR start "entryRuleImport" 769 }
770 // InternalApplicationConfiguration.g:276:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ; 770 return current;
771 public final EObject entryRuleImport() throws RecognitionException { 771 }
772 EObject current = null; 772 // $ANTLR end "ruleINTLiteral"
773 773
774 EObject iv_ruleImport = null; 774
775 775 // $ANTLR start "entryRuleImport"
776 776 // InternalApplicationConfiguration.g:276:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ;
777 try { 777 public final EObject entryRuleImport() throws RecognitionException {
778 // InternalApplicationConfiguration.g:276:47: (iv_ruleImport= ruleImport EOF ) 778 EObject current = null;
779 // InternalApplicationConfiguration.g:277:2: iv_ruleImport= ruleImport EOF 779
780 { 780 EObject iv_ruleImport = null;
781 newCompositeNode(grammarAccess.getImportRule()); 781
782 pushFollow(FOLLOW_1); 782
783 iv_ruleImport=ruleImport(); 783 try {
784 784 // InternalApplicationConfiguration.g:276:47: (iv_ruleImport= ruleImport EOF )
785 state._fsp--; 785 // InternalApplicationConfiguration.g:277:2: iv_ruleImport= ruleImport EOF
786 786 {
787 current =iv_ruleImport; 787 newCompositeNode(grammarAccess.getImportRule());
788 match(input,EOF,FOLLOW_2); 788 pushFollow(FOLLOW_1);
789 789 iv_ruleImport=ruleImport();
790 } 790
791 791 state._fsp--;
792 } 792
793 793 current =iv_ruleImport;
794 catch (RecognitionException re) { 794 match(input,EOF,FOLLOW_2);
795 recover(input,re); 795
796 appendSkippedTokens(); 796 }
797 } 797
798 finally { 798 }
799 } 799
800 return current; 800 catch (RecognitionException re) {
801 } 801 recover(input,re);
802 // $ANTLR end "entryRuleImport" 802 appendSkippedTokens();
803 803 }
804 804 finally {
805 // $ANTLR start "ruleImport" 805 }
806 // InternalApplicationConfiguration.g:283:1: ruleImport returns [EObject current=null] : (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) ; 806 return current;
807 public final EObject ruleImport() throws RecognitionException { 807 }
808 EObject current = null; 808 // $ANTLR end "entryRuleImport"
809 809
810 EObject this_EPackageImport_0 = null; 810
811 811 // $ANTLR start "ruleImport"
812 EObject this_ViatraImport_1 = null; 812 // InternalApplicationConfiguration.g:283:1: ruleImport returns [EObject current=null] : (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport | this_CftImport_2= ruleCftImport ) ;
813 813 public final EObject ruleImport() throws RecognitionException {
814 814 EObject current = null;
815 815
816 enterRule(); 816 EObject this_EPackageImport_0 = null;
817 817
818 try { 818 EObject this_ViatraImport_1 = null;
819 // InternalApplicationConfiguration.g:289:2: ( (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) ) 819
820 // InternalApplicationConfiguration.g:290:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) 820 EObject this_CftImport_2 = null;
821 { 821
822 // InternalApplicationConfiguration.g:290:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) 822
823 int alt7=2; 823
824 int LA7_0 = input.LA(1); 824 enterRule();
825 825
826 if ( (LA7_0==13) ) { 826 try {
827 int LA7_1 = input.LA(2); 827 // InternalApplicationConfiguration.g:289:2: ( (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport | this_CftImport_2= ruleCftImport ) )
828 828 // InternalApplicationConfiguration.g:290:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport | this_CftImport_2= ruleCftImport )
829 if ( (LA7_1==14) ) { 829 {
830 alt7=1; 830 // InternalApplicationConfiguration.g:290:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport | this_CftImport_2= ruleCftImport )
831 } 831 int alt7=3;
832 else if ( (LA7_1==15) ) { 832 int LA7_0 = input.LA(1);
833 alt7=2; 833
834 } 834 if ( (LA7_0==13) ) {
835 else { 835 switch ( input.LA(2) ) {
836 NoViableAltException nvae = 836 case 14:
837 new NoViableAltException("", 7, 1, input); 837 {
838 838 alt7=1;
839 throw nvae; 839 }
840 } 840 break;
841 } 841 case 15:
842 else { 842 {
843 NoViableAltException nvae = 843 alt7=2;
844 new NoViableAltException("", 7, 0, input); 844 }
845 845 break;
846 throw nvae; 846 case 16:
847 } 847 {
848 switch (alt7) { 848 alt7=3;
849 case 1 : 849 }
850 // InternalApplicationConfiguration.g:291:3: this_EPackageImport_0= ruleEPackageImport 850 break;
851 { 851 default:
852 852 NoViableAltException nvae =
853 newCompositeNode(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); 853 new NoViableAltException("", 7, 1, input);
854 854
855 pushFollow(FOLLOW_2); 855 throw nvae;
856 this_EPackageImport_0=ruleEPackageImport(); 856 }
857 857
858 state._fsp--; 858 }
859 859 else {
860 860 NoViableAltException nvae =
861 current = this_EPackageImport_0; 861 new NoViableAltException("", 7, 0, input);
862 afterParserOrEnumRuleCall(); 862
863 863 throw nvae;
864 864 }
865 } 865 switch (alt7) {
866 break; 866 case 1 :
867 case 2 : 867 // InternalApplicationConfiguration.g:291:3: this_EPackageImport_0= ruleEPackageImport
868 // InternalApplicationConfiguration.g:300:3: this_ViatraImport_1= ruleViatraImport 868 {
869 { 869
870 870 newCompositeNode(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0());
871 newCompositeNode(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); 871
872 872 pushFollow(FOLLOW_2);
873 pushFollow(FOLLOW_2); 873 this_EPackageImport_0=ruleEPackageImport();
874 this_ViatraImport_1=ruleViatraImport(); 874
875 875 state._fsp--;
876 state._fsp--; 876
877 877
878 878 current = this_EPackageImport_0;
879 current = this_ViatraImport_1; 879 afterParserOrEnumRuleCall();
880 afterParserOrEnumRuleCall(); 880
881 881
882 882 }
883 } 883 break;
884 break; 884 case 2 :
885 885 // InternalApplicationConfiguration.g:300:3: this_ViatraImport_1= ruleViatraImport
886 } 886 {
887 887
888 888 newCompositeNode(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1());
889 } 889
890 890 pushFollow(FOLLOW_2);
891 891 this_ViatraImport_1=ruleViatraImport();
892 leaveRule(); 892
893 893 state._fsp--;
894 } 894
895 895
896 catch (RecognitionException re) { 896 current = this_ViatraImport_1;
897 recover(input,re); 897 afterParserOrEnumRuleCall();
898 appendSkippedTokens(); 898
899 } 899
900 finally { 900 }
901 } 901 break;
902 return current; 902 case 3 :
903 } 903 // InternalApplicationConfiguration.g:309:3: this_CftImport_2= ruleCftImport
904 // $ANTLR end "ruleImport" 904 {
905 905
906 906 newCompositeNode(grammarAccess.getImportAccess().getCftImportParserRuleCall_2());
907 // $ANTLR start "entryRuleEPackageImport" 907
908 // InternalApplicationConfiguration.g:312:1: entryRuleEPackageImport returns [EObject current=null] : iv_ruleEPackageImport= ruleEPackageImport EOF ; 908 pushFollow(FOLLOW_2);
909 public final EObject entryRuleEPackageImport() throws RecognitionException { 909 this_CftImport_2=ruleCftImport();
910 EObject current = null; 910
911 911 state._fsp--;
912 EObject iv_ruleEPackageImport = null; 912
913 913
914 914 current = this_CftImport_2;
915 try { 915 afterParserOrEnumRuleCall();
916 // InternalApplicationConfiguration.g:312:55: (iv_ruleEPackageImport= ruleEPackageImport EOF ) 916
917 // InternalApplicationConfiguration.g:313:2: iv_ruleEPackageImport= ruleEPackageImport EOF 917
918 { 918 }
919 newCompositeNode(grammarAccess.getEPackageImportRule()); 919 break;
920 pushFollow(FOLLOW_1); 920
921 iv_ruleEPackageImport=ruleEPackageImport(); 921 }
922 922
923 state._fsp--; 923
924 924 }
925 current =iv_ruleEPackageImport; 925
926 match(input,EOF,FOLLOW_2); 926
927 927 leaveRule();
928 } 928
929 929 }
930 } 930
931 931 catch (RecognitionException re) {
932 catch (RecognitionException re) { 932 recover(input,re);
933 recover(input,re); 933 appendSkippedTokens();
934 appendSkippedTokens(); 934 }
935 } 935 finally {
936 finally { 936 }
937 } 937 return current;
938 return current; 938 }
939 } 939 // $ANTLR end "ruleImport"
940 // $ANTLR end "entryRuleEPackageImport" 940
941 941
942 942 // $ANTLR start "entryRuleEPackageImport"
943 // $ANTLR start "ruleEPackageImport" 943 // InternalApplicationConfiguration.g:321:1: entryRuleEPackageImport returns [EObject current=null] : iv_ruleEPackageImport= ruleEPackageImport EOF ;
944 // InternalApplicationConfiguration.g:319:1: ruleEPackageImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ; 944 public final EObject entryRuleEPackageImport() throws RecognitionException {
945 public final EObject ruleEPackageImport() throws RecognitionException { 945 EObject current = null;
946 EObject current = null; 946
947 947 EObject iv_ruleEPackageImport = null;
948 Token otherlv_0=null; 948
949 Token otherlv_1=null; 949
950 Token otherlv_2=null; 950 try {
951 951 // InternalApplicationConfiguration.g:321:55: (iv_ruleEPackageImport= ruleEPackageImport EOF )
952 952 // InternalApplicationConfiguration.g:322:2: iv_ruleEPackageImport= ruleEPackageImport EOF
953 enterRule(); 953 {
954 954 newCompositeNode(grammarAccess.getEPackageImportRule());
955 try { 955 pushFollow(FOLLOW_1);
956 // InternalApplicationConfiguration.g:325:2: ( (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ) 956 iv_ruleEPackageImport=ruleEPackageImport();
957 // InternalApplicationConfiguration.g:326:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) 957
958 { 958 state._fsp--;
959 // InternalApplicationConfiguration.g:326:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) 959
960 // InternalApplicationConfiguration.g:327:3: otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) 960 current =iv_ruleEPackageImport;
961 { 961 match(input,EOF,FOLLOW_2);
962 otherlv_0=(Token)match(input,13,FOLLOW_9); 962
963 963 }
964 newLeafNode(otherlv_0, grammarAccess.getEPackageImportAccess().getImportKeyword_0()); 964
965 965 }
966 otherlv_1=(Token)match(input,14,FOLLOW_10); 966
967 967 catch (RecognitionException re) {
968 newLeafNode(otherlv_1, grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); 968 recover(input,re);
969 969 appendSkippedTokens();
970 // InternalApplicationConfiguration.g:335:3: ( (otherlv_2= RULE_STRING ) ) 970 }
971 // InternalApplicationConfiguration.g:336:4: (otherlv_2= RULE_STRING ) 971 finally {
972 { 972 }
973 // InternalApplicationConfiguration.g:336:4: (otherlv_2= RULE_STRING ) 973 return current;
974 // InternalApplicationConfiguration.g:337:5: otherlv_2= RULE_STRING 974 }
975 { 975 // $ANTLR end "entryRuleEPackageImport"
976 976
977 if (current==null) { 977
978 current = createModelElement(grammarAccess.getEPackageImportRule()); 978 // $ANTLR start "ruleEPackageImport"
979 } 979 // InternalApplicationConfiguration.g:328:1: ruleEPackageImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ;
980 980 public final EObject ruleEPackageImport() throws RecognitionException {
981 otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); 981 EObject current = null;
982 982
983 newLeafNode(otherlv_2, grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); 983 Token otherlv_0=null;
984 984 Token otherlv_1=null;
985 985 Token otherlv_2=null;
986 } 986
987 987
988 988 enterRule();
989 } 989
990 990 try {
991 991 // InternalApplicationConfiguration.g:334:2: ( (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) )
992 } 992 // InternalApplicationConfiguration.g:335:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) )
993 993 {
994 994 // InternalApplicationConfiguration.g:335:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) )
995 } 995 // InternalApplicationConfiguration.g:336:3: otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) )
996 996 {
997 997 otherlv_0=(Token)match(input,13,FOLLOW_9);
998 leaveRule(); 998
999 999 newLeafNode(otherlv_0, grammarAccess.getEPackageImportAccess().getImportKeyword_0());
1000 } 1000
1001 1001 otherlv_1=(Token)match(input,14,FOLLOW_10);
1002 catch (RecognitionException re) { 1002
1003 recover(input,re); 1003 newLeafNode(otherlv_1, grammarAccess.getEPackageImportAccess().getEpackageKeyword_1());
1004 appendSkippedTokens(); 1004
1005 } 1005 // InternalApplicationConfiguration.g:344:3: ( (otherlv_2= RULE_STRING ) )
1006 finally { 1006 // InternalApplicationConfiguration.g:345:4: (otherlv_2= RULE_STRING )
1007 } 1007 {
1008 return current; 1008 // InternalApplicationConfiguration.g:345:4: (otherlv_2= RULE_STRING )
1009 } 1009 // InternalApplicationConfiguration.g:346:5: otherlv_2= RULE_STRING
1010 // $ANTLR end "ruleEPackageImport" 1010 {
1011 1011
1012 1012 if (current==null) {
1013 // $ANTLR start "entryRuleViatraImport" 1013 current = createModelElement(grammarAccess.getEPackageImportRule());
1014 // InternalApplicationConfiguration.g:352:1: entryRuleViatraImport returns [EObject current=null] : iv_ruleViatraImport= ruleViatraImport EOF ; 1014 }
1015 public final EObject entryRuleViatraImport() throws RecognitionException { 1015
1016 EObject current = null; 1016 otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2);
1017 1017
1018 EObject iv_ruleViatraImport = null; 1018 newLeafNode(otherlv_2, grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0());
1019 1019
1020 1020
1021 try { 1021 }
1022 // InternalApplicationConfiguration.g:352:53: (iv_ruleViatraImport= ruleViatraImport EOF ) 1022
1023 // InternalApplicationConfiguration.g:353:2: iv_ruleViatraImport= ruleViatraImport EOF 1023
1024 { 1024 }
1025 newCompositeNode(grammarAccess.getViatraImportRule()); 1025
1026 pushFollow(FOLLOW_1); 1026
1027 iv_ruleViatraImport=ruleViatraImport(); 1027 }
1028 1028
1029 state._fsp--; 1029
1030 1030 }
1031 current =iv_ruleViatraImport; 1031
1032 match(input,EOF,FOLLOW_2); 1032
1033 1033 leaveRule();
1034 } 1034
1035 1035 }
1036 } 1036
1037 1037 catch (RecognitionException re) {
1038 catch (RecognitionException re) { 1038 recover(input,re);
1039 recover(input,re); 1039 appendSkippedTokens();
1040 appendSkippedTokens(); 1040 }
1041 } 1041 finally {
1042 finally { 1042 }
1043 } 1043 return current;
1044 return current; 1044 }
1045 } 1045 // $ANTLR end "ruleEPackageImport"
1046 // $ANTLR end "entryRuleViatraImport" 1046
1047 1047
1048 1048 // $ANTLR start "entryRuleViatraImport"
1049 // $ANTLR start "ruleViatraImport" 1049 // InternalApplicationConfiguration.g:361:1: entryRuleViatraImport returns [EObject current=null] : iv_ruleViatraImport= ruleViatraImport EOF ;
1050 // InternalApplicationConfiguration.g:359:1: ruleViatraImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ; 1050 public final EObject entryRuleViatraImport() throws RecognitionException {
1051 public final EObject ruleViatraImport() throws RecognitionException { 1051 EObject current = null;
1052 EObject current = null; 1052
1053 1053 EObject iv_ruleViatraImport = null;
1054 Token otherlv_0=null; 1054
1055 Token otherlv_1=null; 1055
1056 Token otherlv_2=null; 1056 try {
1057 1057 // InternalApplicationConfiguration.g:361:53: (iv_ruleViatraImport= ruleViatraImport EOF )
1058 1058 // InternalApplicationConfiguration.g:362:2: iv_ruleViatraImport= ruleViatraImport EOF
1059 enterRule(); 1059 {
1060 1060 newCompositeNode(grammarAccess.getViatraImportRule());
1061 try { 1061 pushFollow(FOLLOW_1);
1062 // InternalApplicationConfiguration.g:365:2: ( (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ) 1062 iv_ruleViatraImport=ruleViatraImport();
1063 // InternalApplicationConfiguration.g:366:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) 1063
1064 { 1064 state._fsp--;
1065 // InternalApplicationConfiguration.g:366:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) 1065
1066 // InternalApplicationConfiguration.g:367:3: otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) 1066 current =iv_ruleViatraImport;
1067 { 1067 match(input,EOF,FOLLOW_2);
1068 otherlv_0=(Token)match(input,13,FOLLOW_11); 1068
1069 1069 }
1070 newLeafNode(otherlv_0, grammarAccess.getViatraImportAccess().getImportKeyword_0()); 1070
1071 1071 }
1072 otherlv_1=(Token)match(input,15,FOLLOW_10); 1072
1073 1073 catch (RecognitionException re) {
1074 newLeafNode(otherlv_1, grammarAccess.getViatraImportAccess().getViatraKeyword_1()); 1074 recover(input,re);
1075 1075 appendSkippedTokens();
1076 // InternalApplicationConfiguration.g:375:3: ( (otherlv_2= RULE_STRING ) ) 1076 }
1077 // InternalApplicationConfiguration.g:376:4: (otherlv_2= RULE_STRING ) 1077 finally {
1078 { 1078 }
1079 // InternalApplicationConfiguration.g:376:4: (otherlv_2= RULE_STRING ) 1079 return current;
1080 // InternalApplicationConfiguration.g:377:5: otherlv_2= RULE_STRING 1080 }
1081 { 1081 // $ANTLR end "entryRuleViatraImport"
1082 1082
1083 if (current==null) { 1083
1084 current = createModelElement(grammarAccess.getViatraImportRule()); 1084 // $ANTLR start "ruleViatraImport"
1085 } 1085 // InternalApplicationConfiguration.g:368:1: ruleViatraImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ;
1086 1086 public final EObject ruleViatraImport() throws RecognitionException {
1087 otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); 1087 EObject current = null;
1088 1088
1089 newLeafNode(otherlv_2, grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); 1089 Token otherlv_0=null;
1090 1090 Token otherlv_1=null;
1091 1091 Token otherlv_2=null;
1092 } 1092
1093 1093
1094 1094 enterRule();
1095 } 1095
1096 1096 try {
1097 1097 // InternalApplicationConfiguration.g:374:2: ( (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) )
1098 } 1098 // InternalApplicationConfiguration.g:375:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) )
1099 1099 {
1100 1100 // InternalApplicationConfiguration.g:375:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) )
1101 } 1101 // InternalApplicationConfiguration.g:376:3: otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) )
1102 1102 {
1103 1103 otherlv_0=(Token)match(input,13,FOLLOW_11);
1104 leaveRule(); 1104
1105 1105 newLeafNode(otherlv_0, grammarAccess.getViatraImportAccess().getImportKeyword_0());
1106 } 1106
1107 1107 otherlv_1=(Token)match(input,15,FOLLOW_10);
1108 catch (RecognitionException re) { 1108
1109 recover(input,re); 1109 newLeafNode(otherlv_1, grammarAccess.getViatraImportAccess().getViatraKeyword_1());
1110 appendSkippedTokens(); 1110
1111 } 1111 // InternalApplicationConfiguration.g:384:3: ( (otherlv_2= RULE_STRING ) )
1112 finally { 1112 // InternalApplicationConfiguration.g:385:4: (otherlv_2= RULE_STRING )
1113 } 1113 {
1114 return current; 1114 // InternalApplicationConfiguration.g:385:4: (otherlv_2= RULE_STRING )
1115 } 1115 // InternalApplicationConfiguration.g:386:5: otherlv_2= RULE_STRING
1116 // $ANTLR end "ruleViatraImport" 1116 {
1117 1117
1118 1118 if (current==null) {
1119 // $ANTLR start "entryRuleDeclaration" 1119 current = createModelElement(grammarAccess.getViatraImportRule());
1120 // InternalApplicationConfiguration.g:392:1: entryRuleDeclaration returns [EObject current=null] : iv_ruleDeclaration= ruleDeclaration EOF ; 1120 }
1121 public final EObject entryRuleDeclaration() throws RecognitionException { 1121
1122 EObject current = null; 1122 otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2);
1123 1123
1124 EObject iv_ruleDeclaration = null; 1124 newLeafNode(otherlv_2, grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0());
1125 1125
1126 1126
1127 try { 1127 }
1128 // InternalApplicationConfiguration.g:392:52: (iv_ruleDeclaration= ruleDeclaration EOF ) 1128
1129 // InternalApplicationConfiguration.g:393:2: iv_ruleDeclaration= ruleDeclaration EOF 1129
1130 { 1130 }
1131 newCompositeNode(grammarAccess.getDeclarationRule()); 1131
1132 pushFollow(FOLLOW_1); 1132
1133 iv_ruleDeclaration=ruleDeclaration(); 1133 }
1134 1134
1135 state._fsp--; 1135
1136 1136 }
1137 current =iv_ruleDeclaration; 1137
1138 match(input,EOF,FOLLOW_2); 1138
1139 1139 leaveRule();
1140 } 1140
1141 1141 }
1142 } 1142
1143 1143 catch (RecognitionException re) {
1144 catch (RecognitionException re) { 1144 recover(input,re);
1145 recover(input,re); 1145 appendSkippedTokens();
1146 appendSkippedTokens(); 1146 }
1147 } 1147 finally {
1148 finally { 1148 }
1149 } 1149 return current;
1150 return current; 1150 }
1151 } 1151 // $ANTLR end "ruleViatraImport"
1152 // $ANTLR end "entryRuleDeclaration" 1152
1153 1153
1154 1154 // $ANTLR start "entryRuleCftImport"
1155 // $ANTLR start "ruleDeclaration" 1155 // InternalApplicationConfiguration.g:401:1: entryRuleCftImport returns [EObject current=null] : iv_ruleCftImport= ruleCftImport EOF ;
1156 // InternalApplicationConfiguration.g:399:1: ruleDeclaration returns [EObject current=null] : (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) ; 1156 public final EObject entryRuleCftImport() throws RecognitionException {
1157 public final EObject ruleDeclaration() throws RecognitionException { 1157 EObject current = null;
1158 EObject current = null; 1158
1159 1159 EObject iv_ruleCftImport = null;
1160 EObject this_FileDeclaration_0 = null; 1160
1161 1161
1162 EObject this_MetamodelDeclaration_1 = null; 1162 try {
1163 1163 // InternalApplicationConfiguration.g:401:50: (iv_ruleCftImport= ruleCftImport EOF )
1164 EObject this_PartialModelDeclaration_2 = null; 1164 // InternalApplicationConfiguration.g:402:2: iv_ruleCftImport= ruleCftImport EOF
1165 1165 {
1166 EObject this_GraphPatternDeclaration_3 = null; 1166 newCompositeNode(grammarAccess.getCftImportRule());
1167 1167 pushFollow(FOLLOW_1);
1168 EObject this_ConfigDeclaration_4 = null; 1168 iv_ruleCftImport=ruleCftImport();
1169 1169
1170 EObject this_ScopeDeclaration_5 = null; 1170 state._fsp--;
1171 1171
1172 1172 current =iv_ruleCftImport;
1173 1173 match(input,EOF,FOLLOW_2);
1174 enterRule(); 1174
1175 1175 }
1176 try { 1176
1177 // InternalApplicationConfiguration.g:405:2: ( (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) ) 1177 }
1178 // InternalApplicationConfiguration.g:406:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) 1178
1179 { 1179 catch (RecognitionException re) {
1180 // InternalApplicationConfiguration.g:406:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) 1180 recover(input,re);
1181 int alt8=6; 1181 appendSkippedTokens();
1182 switch ( input.LA(1) ) { 1182 }
1183 case 16: 1183 finally {
1184 { 1184 }
1185 alt8=1; 1185 return current;
1186 } 1186 }
1187 break; 1187 // $ANTLR end "entryRuleCftImport"
1188 case 24: 1188
1189 { 1189
1190 alt8=2; 1190 // $ANTLR start "ruleCftImport"
1191 } 1191 // InternalApplicationConfiguration.g:408:1: ruleCftImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'reliability' ( (otherlv_2= RULE_STRING ) ) ) ;
1192 break; 1192 public final EObject ruleCftImport() throws RecognitionException {
1193 case 26: 1193 EObject current = null;
1194 { 1194
1195 alt8=3; 1195 Token otherlv_0=null;
1196 } 1196 Token otherlv_1=null;
1197 break; 1197 Token otherlv_2=null;
1198 case 27: 1198
1199 { 1199
1200 alt8=4; 1200 enterRule();
1201 } 1201
1202 break; 1202 try {
1203 case 28: 1203 // InternalApplicationConfiguration.g:414:2: ( (otherlv_0= 'import' otherlv_1= 'reliability' ( (otherlv_2= RULE_STRING ) ) ) )
1204 { 1204 // InternalApplicationConfiguration.g:415:2: (otherlv_0= 'import' otherlv_1= 'reliability' ( (otherlv_2= RULE_STRING ) ) )
1205 alt8=5; 1205 {
1206 } 1206 // InternalApplicationConfiguration.g:415:2: (otherlv_0= 'import' otherlv_1= 'reliability' ( (otherlv_2= RULE_STRING ) ) )
1207 break; 1207 // InternalApplicationConfiguration.g:416:3: otherlv_0= 'import' otherlv_1= 'reliability' ( (otherlv_2= RULE_STRING ) )
1208 case 42: 1208 {
1209 { 1209 otherlv_0=(Token)match(input,13,FOLLOW_12);
1210 alt8=6; 1210
1211 } 1211 newLeafNode(otherlv_0, grammarAccess.getCftImportAccess().getImportKeyword_0());
1212 break; 1212
1213 default: 1213 otherlv_1=(Token)match(input,16,FOLLOW_10);
1214 NoViableAltException nvae = 1214
1215 new NoViableAltException("", 8, 0, input); 1215 newLeafNode(otherlv_1, grammarAccess.getCftImportAccess().getReliabilityKeyword_1());
1216 1216
1217 throw nvae; 1217 // InternalApplicationConfiguration.g:424:3: ( (otherlv_2= RULE_STRING ) )
1218 } 1218 // InternalApplicationConfiguration.g:425:4: (otherlv_2= RULE_STRING )
1219 1219 {
1220 switch (alt8) { 1220 // InternalApplicationConfiguration.g:425:4: (otherlv_2= RULE_STRING )
1221 case 1 : 1221 // InternalApplicationConfiguration.g:426:5: otherlv_2= RULE_STRING
1222 // InternalApplicationConfiguration.g:407:3: this_FileDeclaration_0= ruleFileDeclaration 1222 {
1223 { 1223
1224 1224 if (current==null) {
1225 newCompositeNode(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); 1225 current = createModelElement(grammarAccess.getCftImportRule());
1226 1226 }
1227 pushFollow(FOLLOW_2); 1227
1228 this_FileDeclaration_0=ruleFileDeclaration(); 1228 otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2);
1229 1229
1230 state._fsp--; 1230 newLeafNode(otherlv_2, grammarAccess.getCftImportAccess().getImportedCftCftModelCrossReference_2_0());
1231 1231
1232 1232
1233 current = this_FileDeclaration_0; 1233 }
1234 afterParserOrEnumRuleCall(); 1234
1235 1235
1236 1236 }
1237 } 1237
1238 break; 1238
1239 case 2 : 1239 }
1240 // InternalApplicationConfiguration.g:416:3: this_MetamodelDeclaration_1= ruleMetamodelDeclaration 1240
1241 { 1241
1242 1242 }
1243 newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); 1243
1244 1244
1245 pushFollow(FOLLOW_2); 1245 leaveRule();
1246 this_MetamodelDeclaration_1=ruleMetamodelDeclaration(); 1246
1247 1247 }
1248 state._fsp--; 1248
1249 1249 catch (RecognitionException re) {
1250 1250 recover(input,re);
1251 current = this_MetamodelDeclaration_1; 1251 appendSkippedTokens();
1252 afterParserOrEnumRuleCall(); 1252 }
1253 1253 finally {
1254 1254 }
1255 } 1255 return current;
1256 break; 1256 }
1257 case 3 : 1257 // $ANTLR end "ruleCftImport"
1258 // InternalApplicationConfiguration.g:425:3: this_PartialModelDeclaration_2= rulePartialModelDeclaration 1258
1259 { 1259
1260 1260 // $ANTLR start "entryRuleDeclaration"
1261 newCompositeNode(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); 1261 // InternalApplicationConfiguration.g:441:1: entryRuleDeclaration returns [EObject current=null] : iv_ruleDeclaration= ruleDeclaration EOF ;
1262 1262 public final EObject entryRuleDeclaration() throws RecognitionException {
1263 pushFollow(FOLLOW_2); 1263 EObject current = null;
1264 this_PartialModelDeclaration_2=rulePartialModelDeclaration(); 1264
1265 1265 EObject iv_ruleDeclaration = null;
1266 state._fsp--; 1266
1267 1267
1268 1268 try {
1269 current = this_PartialModelDeclaration_2; 1269 // InternalApplicationConfiguration.g:441:52: (iv_ruleDeclaration= ruleDeclaration EOF )
1270 afterParserOrEnumRuleCall(); 1270 // InternalApplicationConfiguration.g:442:2: iv_ruleDeclaration= ruleDeclaration EOF
1271 1271 {
1272 1272 newCompositeNode(grammarAccess.getDeclarationRule());
1273 } 1273 pushFollow(FOLLOW_1);
1274 break; 1274 iv_ruleDeclaration=ruleDeclaration();
1275 case 4 : 1275
1276 // InternalApplicationConfiguration.g:434:3: this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration 1276 state._fsp--;
1277 { 1277
1278 1278 current =iv_ruleDeclaration;
1279 newCompositeNode(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); 1279 match(input,EOF,FOLLOW_2);
1280 1280
1281 pushFollow(FOLLOW_2); 1281 }
1282 this_GraphPatternDeclaration_3=ruleGraphPatternDeclaration(); 1282
1283 1283 }
1284 state._fsp--; 1284
1285 1285 catch (RecognitionException re) {
1286 1286 recover(input,re);
1287 current = this_GraphPatternDeclaration_3; 1287 appendSkippedTokens();
1288 afterParserOrEnumRuleCall(); 1288 }
1289 1289 finally {
1290 1290 }
1291 } 1291 return current;
1292 break; 1292 }
1293 case 5 : 1293 // $ANTLR end "entryRuleDeclaration"
1294 // InternalApplicationConfiguration.g:443:3: this_ConfigDeclaration_4= ruleConfigDeclaration 1294
1295 { 1295
1296 1296 // $ANTLR start "ruleDeclaration"
1297 newCompositeNode(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); 1297 // InternalApplicationConfiguration.g:448:1: ruleDeclaration returns [EObject current=null] : (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration ) ;
1298 1298 public final EObject ruleDeclaration() throws RecognitionException {
1299 pushFollow(FOLLOW_2); 1299 EObject current = null;
1300 this_ConfigDeclaration_4=ruleConfigDeclaration(); 1300
1301 1301 EObject this_FileDeclaration_0 = null;
1302 state._fsp--; 1302
1303 1303 EObject this_MetamodelDeclaration_1 = null;
1304 1304
1305 current = this_ConfigDeclaration_4; 1305 EObject this_PartialModelDeclaration_2 = null;
1306 afterParserOrEnumRuleCall(); 1306
1307 1307 EObject this_GraphPatternDeclaration_3 = null;
1308 1308
1309 } 1309 EObject this_ConfigDeclaration_4 = null;
1310 break; 1310
1311 case 6 : 1311 EObject this_ScopeDeclaration_5 = null;
1312 // InternalApplicationConfiguration.g:452:3: this_ScopeDeclaration_5= ruleScopeDeclaration 1312
1313 { 1313 EObject this_ObjectiveDeclaration_6 = null;
1314 1314
1315 newCompositeNode(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); 1315
1316 1316
1317 pushFollow(FOLLOW_2); 1317 enterRule();
1318 this_ScopeDeclaration_5=ruleScopeDeclaration(); 1318
1319 1319 try {
1320 state._fsp--; 1320 // InternalApplicationConfiguration.g:454:2: ( (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration ) )
1321 1321 // InternalApplicationConfiguration.g:455:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration )
1322 1322 {
1323 current = this_ScopeDeclaration_5; 1323 // InternalApplicationConfiguration.g:455:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration )
1324 afterParserOrEnumRuleCall(); 1324 int alt8=7;
1325 1325 switch ( input.LA(1) ) {
1326 1326 case 17:
1327 } 1327 {
1328 break; 1328 alt8=1;
1329 1329 }
1330 } 1330 break;
1331 1331 case 25:
1332 1332 {
1333 } 1333 alt8=2;
1334 1334 }
1335 1335 break;
1336 leaveRule(); 1336 case 27:
1337 1337 {
1338 } 1338 alt8=3;
1339 1339 }
1340 catch (RecognitionException re) { 1340 break;
1341 recover(input,re); 1341 case 28:
1342 appendSkippedTokens(); 1342 {
1343 } 1343 alt8=4;
1344 finally { 1344 }
1345 } 1345 break;
1346 return current; 1346 case 30:
1347 } 1347 {
1348 // $ANTLR end "ruleDeclaration" 1348 alt8=5;
1349 1349 }
1350 1350 break;
1351 // $ANTLR start "entryRuleFileSpecification" 1351 case 44:
1352 // InternalApplicationConfiguration.g:464:1: entryRuleFileSpecification returns [EObject current=null] : iv_ruleFileSpecification= ruleFileSpecification EOF ; 1352 {
1353 public final EObject entryRuleFileSpecification() throws RecognitionException { 1353 alt8=6;
1354 EObject current = null; 1354 }
1355 1355 break;
1356 EObject iv_ruleFileSpecification = null; 1356 case 29:
1357 1357 {
1358 1358 alt8=7;
1359 try { 1359 }
1360 // InternalApplicationConfiguration.g:464:58: (iv_ruleFileSpecification= ruleFileSpecification EOF ) 1360 break;
1361 // InternalApplicationConfiguration.g:465:2: iv_ruleFileSpecification= ruleFileSpecification EOF 1361 default:
1362 { 1362 NoViableAltException nvae =
1363 newCompositeNode(grammarAccess.getFileSpecificationRule()); 1363 new NoViableAltException("", 8, 0, input);
1364 pushFollow(FOLLOW_1); 1364
1365 iv_ruleFileSpecification=ruleFileSpecification(); 1365 throw nvae;
1366 1366 }
1367 state._fsp--; 1367
1368 1368 switch (alt8) {
1369 current =iv_ruleFileSpecification; 1369 case 1 :
1370 match(input,EOF,FOLLOW_2); 1370 // InternalApplicationConfiguration.g:456:3: this_FileDeclaration_0= ruleFileDeclaration
1371 1371 {
1372 } 1372
1373 1373 newCompositeNode(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0());
1374 } 1374
1375 1375 pushFollow(FOLLOW_2);
1376 catch (RecognitionException re) { 1376 this_FileDeclaration_0=ruleFileDeclaration();
1377 recover(input,re); 1377
1378 appendSkippedTokens(); 1378 state._fsp--;
1379 } 1379
1380 finally { 1380
1381 } 1381 current = this_FileDeclaration_0;
1382 return current; 1382 afterParserOrEnumRuleCall();
1383 } 1383
1384 // $ANTLR end "entryRuleFileSpecification" 1384
1385 1385 }
1386 1386 break;
1387 // $ANTLR start "ruleFileSpecification" 1387 case 2 :
1388 // InternalApplicationConfiguration.g:471:1: ruleFileSpecification returns [EObject current=null] : ( (lv_path_0_0= RULE_STRING ) ) ; 1388 // InternalApplicationConfiguration.g:465:3: this_MetamodelDeclaration_1= ruleMetamodelDeclaration
1389 public final EObject ruleFileSpecification() throws RecognitionException { 1389 {
1390 EObject current = null; 1390
1391 1391 newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1());
1392 Token lv_path_0_0=null; 1392
1393 1393 pushFollow(FOLLOW_2);
1394 1394 this_MetamodelDeclaration_1=ruleMetamodelDeclaration();
1395 enterRule(); 1395
1396 1396 state._fsp--;
1397 try { 1397
1398 // InternalApplicationConfiguration.g:477:2: ( ( (lv_path_0_0= RULE_STRING ) ) ) 1398
1399 // InternalApplicationConfiguration.g:478:2: ( (lv_path_0_0= RULE_STRING ) ) 1399 current = this_MetamodelDeclaration_1;
1400 { 1400 afterParserOrEnumRuleCall();
1401 // InternalApplicationConfiguration.g:478:2: ( (lv_path_0_0= RULE_STRING ) ) 1401
1402 // InternalApplicationConfiguration.g:479:3: (lv_path_0_0= RULE_STRING ) 1402
1403 { 1403 }
1404 // InternalApplicationConfiguration.g:479:3: (lv_path_0_0= RULE_STRING ) 1404 break;
1405 // InternalApplicationConfiguration.g:480:4: lv_path_0_0= RULE_STRING 1405 case 3 :
1406 { 1406 // InternalApplicationConfiguration.g:474:3: this_PartialModelDeclaration_2= rulePartialModelDeclaration
1407 lv_path_0_0=(Token)match(input,RULE_STRING,FOLLOW_2); 1407 {
1408 1408
1409 newLeafNode(lv_path_0_0, grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0()); 1409 newCompositeNode(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2());
1410 1410
1411 1411 pushFollow(FOLLOW_2);
1412 if (current==null) { 1412 this_PartialModelDeclaration_2=rulePartialModelDeclaration();
1413 current = createModelElement(grammarAccess.getFileSpecificationRule()); 1413
1414 } 1414 state._fsp--;
1415 setWithLastConsumed( 1415
1416 current, 1416
1417 "path", 1417 current = this_PartialModelDeclaration_2;
1418 lv_path_0_0, 1418 afterParserOrEnumRuleCall();
1419 "org.eclipse.xtext.common.Terminals.STRING"); 1419
1420 1420
1421 1421 }
1422 } 1422 break;
1423 1423 case 4 :
1424 1424 // InternalApplicationConfiguration.g:483:3: this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration
1425 } 1425 {
1426 1426
1427 1427 newCompositeNode(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3());
1428 } 1428
1429 1429 pushFollow(FOLLOW_2);
1430 1430 this_GraphPatternDeclaration_3=ruleGraphPatternDeclaration();
1431 leaveRule(); 1431
1432 1432 state._fsp--;
1433 } 1433
1434 1434
1435 catch (RecognitionException re) { 1435 current = this_GraphPatternDeclaration_3;
1436 recover(input,re); 1436 afterParserOrEnumRuleCall();
1437 appendSkippedTokens(); 1437
1438 } 1438
1439 finally { 1439 }
1440 } 1440 break;
1441 return current; 1441 case 5 :
1442 } 1442 // InternalApplicationConfiguration.g:492:3: this_ConfigDeclaration_4= ruleConfigDeclaration
1443 // $ANTLR end "ruleFileSpecification" 1443 {
1444 1444
1445 1445 newCompositeNode(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4());
1446 // $ANTLR start "entryRuleFileDeclaration" 1446
1447 // InternalApplicationConfiguration.g:499:1: entryRuleFileDeclaration returns [EObject current=null] : iv_ruleFileDeclaration= ruleFileDeclaration EOF ; 1447 pushFollow(FOLLOW_2);
1448 public final EObject entryRuleFileDeclaration() throws RecognitionException { 1448 this_ConfigDeclaration_4=ruleConfigDeclaration();
1449 EObject current = null; 1449
1450 1450 state._fsp--;
1451 EObject iv_ruleFileDeclaration = null; 1451
1452 1452
1453 1453 current = this_ConfigDeclaration_4;
1454 try { 1454 afterParserOrEnumRuleCall();
1455 // InternalApplicationConfiguration.g:499:56: (iv_ruleFileDeclaration= ruleFileDeclaration EOF ) 1455
1456 // InternalApplicationConfiguration.g:500:2: iv_ruleFileDeclaration= ruleFileDeclaration EOF 1456
1457 { 1457 }
1458 newCompositeNode(grammarAccess.getFileDeclarationRule()); 1458 break;
1459 pushFollow(FOLLOW_1); 1459 case 6 :
1460 iv_ruleFileDeclaration=ruleFileDeclaration(); 1460 // InternalApplicationConfiguration.g:501:3: this_ScopeDeclaration_5= ruleScopeDeclaration
1461 1461 {
1462 state._fsp--; 1462
1463 1463 newCompositeNode(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5());
1464 current =iv_ruleFileDeclaration; 1464
1465 match(input,EOF,FOLLOW_2); 1465 pushFollow(FOLLOW_2);
1466 1466 this_ScopeDeclaration_5=ruleScopeDeclaration();
1467 } 1467
1468 1468 state._fsp--;
1469 } 1469
1470 1470
1471 catch (RecognitionException re) { 1471 current = this_ScopeDeclaration_5;
1472 recover(input,re); 1472 afterParserOrEnumRuleCall();
1473 appendSkippedTokens(); 1473
1474 } 1474
1475 finally { 1475 }
1476 } 1476 break;
1477 return current; 1477 case 7 :
1478 } 1478 // InternalApplicationConfiguration.g:510:3: this_ObjectiveDeclaration_6= ruleObjectiveDeclaration
1479 // $ANTLR end "entryRuleFileDeclaration" 1479 {
1480 1480
1481 1481 newCompositeNode(grammarAccess.getDeclarationAccess().getObjectiveDeclarationParserRuleCall_6());
1482 // $ANTLR start "ruleFileDeclaration" 1482
1483 // InternalApplicationConfiguration.g:506:1: ruleFileDeclaration returns [EObject current=null] : (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ; 1483 pushFollow(FOLLOW_2);
1484 public final EObject ruleFileDeclaration() throws RecognitionException { 1484 this_ObjectiveDeclaration_6=ruleObjectiveDeclaration();
1485 EObject current = null; 1485
1486 1486 state._fsp--;
1487 Token otherlv_0=null; 1487
1488 Token lv_name_1_0=null; 1488
1489 Token otherlv_2=null; 1489 current = this_ObjectiveDeclaration_6;
1490 EObject lv_specification_3_0 = null; 1490 afterParserOrEnumRuleCall();
1491 1491
1492 1492
1493 1493 }
1494 enterRule(); 1494 break;
1495 1495
1496 try { 1496 }
1497 // InternalApplicationConfiguration.g:512:2: ( (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ) 1497
1498 // InternalApplicationConfiguration.g:513:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) 1498
1499 { 1499 }
1500 // InternalApplicationConfiguration.g:513:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) 1500
1501 // InternalApplicationConfiguration.g:514:3: otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) 1501
1502 { 1502 leaveRule();
1503 otherlv_0=(Token)match(input,16,FOLLOW_6); 1503
1504 1504 }
1505 newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); 1505
1506 1506 catch (RecognitionException re) {
1507 // InternalApplicationConfiguration.g:518:3: ( (lv_name_1_0= RULE_ID ) ) 1507 recover(input,re);
1508 // InternalApplicationConfiguration.g:519:4: (lv_name_1_0= RULE_ID ) 1508 appendSkippedTokens();
1509 { 1509 }
1510 // InternalApplicationConfiguration.g:519:4: (lv_name_1_0= RULE_ID ) 1510 finally {
1511 // InternalApplicationConfiguration.g:520:5: lv_name_1_0= RULE_ID 1511 }
1512 { 1512 return current;
1513 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_12); 1513 }
1514 1514 // $ANTLR end "ruleDeclaration"
1515 newLeafNode(lv_name_1_0, grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 1515
1516 1516
1517 1517 // $ANTLR start "entryRuleFileSpecification"
1518 if (current==null) { 1518 // InternalApplicationConfiguration.g:522:1: entryRuleFileSpecification returns [EObject current=null] : iv_ruleFileSpecification= ruleFileSpecification EOF ;
1519 current = createModelElement(grammarAccess.getFileDeclarationRule()); 1519 public final EObject entryRuleFileSpecification() throws RecognitionException {
1520 } 1520 EObject current = null;
1521 setWithLastConsumed( 1521
1522 current, 1522 EObject iv_ruleFileSpecification = null;
1523 "name", 1523
1524 lv_name_1_0, 1524
1525 "org.eclipse.xtext.common.Terminals.ID"); 1525 try {
1526 1526 // InternalApplicationConfiguration.g:522:58: (iv_ruleFileSpecification= ruleFileSpecification EOF )
1527 1527 // InternalApplicationConfiguration.g:523:2: iv_ruleFileSpecification= ruleFileSpecification EOF
1528 } 1528 {
1529 1529 newCompositeNode(grammarAccess.getFileSpecificationRule());
1530 1530 pushFollow(FOLLOW_1);
1531 } 1531 iv_ruleFileSpecification=ruleFileSpecification();
1532 1532
1533 otherlv_2=(Token)match(input,17,FOLLOW_10); 1533 state._fsp--;
1534 1534
1535 newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); 1535 current =iv_ruleFileSpecification;
1536 1536 match(input,EOF,FOLLOW_2);
1537 // InternalApplicationConfiguration.g:540:3: ( (lv_specification_3_0= ruleFileSpecification ) ) 1537
1538 // InternalApplicationConfiguration.g:541:4: (lv_specification_3_0= ruleFileSpecification ) 1538 }
1539 { 1539
1540 // InternalApplicationConfiguration.g:541:4: (lv_specification_3_0= ruleFileSpecification ) 1540 }
1541 // InternalApplicationConfiguration.g:542:5: lv_specification_3_0= ruleFileSpecification 1541
1542 { 1542 catch (RecognitionException re) {
1543 1543 recover(input,re);
1544 newCompositeNode(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); 1544 appendSkippedTokens();
1545 1545 }
1546 pushFollow(FOLLOW_2); 1546 finally {
1547 lv_specification_3_0=ruleFileSpecification(); 1547 }
1548 1548 return current;
1549 state._fsp--; 1549 }
1550 1550 // $ANTLR end "entryRuleFileSpecification"
1551 1551
1552 if (current==null) { 1552
1553 current = createModelElementForParent(grammarAccess.getFileDeclarationRule()); 1553 // $ANTLR start "ruleFileSpecification"
1554 } 1554 // InternalApplicationConfiguration.g:529:1: ruleFileSpecification returns [EObject current=null] : ( (lv_path_0_0= RULE_STRING ) ) ;
1555 set( 1555 public final EObject ruleFileSpecification() throws RecognitionException {
1556 current, 1556 EObject current = null;
1557 "specification", 1557
1558 lv_specification_3_0, 1558 Token lv_path_0_0=null;
1559 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification"); 1559
1560 afterParserOrEnumRuleCall(); 1560
1561 1561 enterRule();
1562 1562
1563 } 1563 try {
1564 1564 // InternalApplicationConfiguration.g:535:2: ( ( (lv_path_0_0= RULE_STRING ) ) )
1565 1565 // InternalApplicationConfiguration.g:536:2: ( (lv_path_0_0= RULE_STRING ) )
1566 } 1566 {
1567 1567 // InternalApplicationConfiguration.g:536:2: ( (lv_path_0_0= RULE_STRING ) )
1568 1568 // InternalApplicationConfiguration.g:537:3: (lv_path_0_0= RULE_STRING )
1569 } 1569 {
1570 1570 // InternalApplicationConfiguration.g:537:3: (lv_path_0_0= RULE_STRING )
1571 1571 // InternalApplicationConfiguration.g:538:4: lv_path_0_0= RULE_STRING
1572 } 1572 {
1573 1573 lv_path_0_0=(Token)match(input,RULE_STRING,FOLLOW_2);
1574 1574
1575 leaveRule(); 1575 newLeafNode(lv_path_0_0, grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0());
1576 1576
1577 } 1577
1578 1578 if (current==null) {
1579 catch (RecognitionException re) { 1579 current = createModelElement(grammarAccess.getFileSpecificationRule());
1580 recover(input,re); 1580 }
1581 appendSkippedTokens(); 1581 setWithLastConsumed(
1582 } 1582 current,
1583 finally { 1583 "path",
1584 } 1584 lv_path_0_0,
1585 return current; 1585 "org.eclipse.xtext.common.Terminals.STRING");
1586 } 1586
1587 // $ANTLR end "ruleFileDeclaration" 1587
1588 1588 }
1589 1589
1590 // $ANTLR start "entryRuleFileReference" 1590
1591 // InternalApplicationConfiguration.g:563:1: entryRuleFileReference returns [EObject current=null] : iv_ruleFileReference= ruleFileReference EOF ; 1591 }
1592 public final EObject entryRuleFileReference() throws RecognitionException { 1592
1593 EObject current = null; 1593
1594 1594 }
1595 EObject iv_ruleFileReference = null; 1595
1596 1596
1597 1597 leaveRule();
1598 try { 1598
1599 // InternalApplicationConfiguration.g:563:54: (iv_ruleFileReference= ruleFileReference EOF ) 1599 }
1600 // InternalApplicationConfiguration.g:564:2: iv_ruleFileReference= ruleFileReference EOF 1600
1601 { 1601 catch (RecognitionException re) {
1602 newCompositeNode(grammarAccess.getFileReferenceRule()); 1602 recover(input,re);
1603 pushFollow(FOLLOW_1); 1603 appendSkippedTokens();
1604 iv_ruleFileReference=ruleFileReference(); 1604 }
1605 1605 finally {
1606 state._fsp--; 1606 }
1607 1607 return current;
1608 current =iv_ruleFileReference; 1608 }
1609 match(input,EOF,FOLLOW_2); 1609 // $ANTLR end "ruleFileSpecification"
1610 1610
1611 } 1611
1612 1612 // $ANTLR start "entryRuleFileDeclaration"
1613 } 1613 // InternalApplicationConfiguration.g:557:1: entryRuleFileDeclaration returns [EObject current=null] : iv_ruleFileDeclaration= ruleFileDeclaration EOF ;
1614 1614 public final EObject entryRuleFileDeclaration() throws RecognitionException {
1615 catch (RecognitionException re) { 1615 EObject current = null;
1616 recover(input,re); 1616
1617 appendSkippedTokens(); 1617 EObject iv_ruleFileDeclaration = null;
1618 } 1618
1619 finally { 1619
1620 } 1620 try {
1621 return current; 1621 // InternalApplicationConfiguration.g:557:56: (iv_ruleFileDeclaration= ruleFileDeclaration EOF )
1622 } 1622 // InternalApplicationConfiguration.g:558:2: iv_ruleFileDeclaration= ruleFileDeclaration EOF
1623 // $ANTLR end "entryRuleFileReference" 1623 {
1624 1624 newCompositeNode(grammarAccess.getFileDeclarationRule());
1625 1625 pushFollow(FOLLOW_1);
1626 // $ANTLR start "ruleFileReference" 1626 iv_ruleFileDeclaration=ruleFileDeclaration();
1627 // InternalApplicationConfiguration.g:570:1: ruleFileReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; 1627
1628 public final EObject ruleFileReference() throws RecognitionException { 1628 state._fsp--;
1629 EObject current = null; 1629
1630 1630 current =iv_ruleFileDeclaration;
1631 Token otherlv_0=null; 1631 match(input,EOF,FOLLOW_2);
1632 1632
1633 1633 }
1634 enterRule(); 1634
1635 1635 }
1636 try { 1636
1637 // InternalApplicationConfiguration.g:576:2: ( ( (otherlv_0= RULE_ID ) ) ) 1637 catch (RecognitionException re) {
1638 // InternalApplicationConfiguration.g:577:2: ( (otherlv_0= RULE_ID ) ) 1638 recover(input,re);
1639 { 1639 appendSkippedTokens();
1640 // InternalApplicationConfiguration.g:577:2: ( (otherlv_0= RULE_ID ) ) 1640 }
1641 // InternalApplicationConfiguration.g:578:3: (otherlv_0= RULE_ID ) 1641 finally {
1642 { 1642 }
1643 // InternalApplicationConfiguration.g:578:3: (otherlv_0= RULE_ID ) 1643 return current;
1644 // InternalApplicationConfiguration.g:579:4: otherlv_0= RULE_ID 1644 }
1645 { 1645 // $ANTLR end "entryRuleFileDeclaration"
1646 1646
1647 if (current==null) { 1647
1648 current = createModelElement(grammarAccess.getFileReferenceRule()); 1648 // $ANTLR start "ruleFileDeclaration"
1649 } 1649 // InternalApplicationConfiguration.g:564:1: ruleFileDeclaration returns [EObject current=null] : (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ;
1650 1650 public final EObject ruleFileDeclaration() throws RecognitionException {
1651 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); 1651 EObject current = null;
1652 1652
1653 newLeafNode(otherlv_0, grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); 1653 Token otherlv_0=null;
1654 1654 Token lv_name_1_0=null;
1655 1655 Token otherlv_2=null;
1656 } 1656 EObject lv_specification_3_0 = null;
1657 1657
1658 1658
1659 } 1659
1660 1660 enterRule();
1661 1661
1662 } 1662 try {
1663 1663 // InternalApplicationConfiguration.g:570:2: ( (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) )
1664 1664 // InternalApplicationConfiguration.g:571:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) )
1665 leaveRule(); 1665 {
1666 1666 // InternalApplicationConfiguration.g:571:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) )
1667 } 1667 // InternalApplicationConfiguration.g:572:3: otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) )
1668 1668 {
1669 catch (RecognitionException re) { 1669 otherlv_0=(Token)match(input,17,FOLLOW_6);
1670 recover(input,re); 1670
1671 appendSkippedTokens(); 1671 newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0());
1672 } 1672
1673 finally { 1673 // InternalApplicationConfiguration.g:576:3: ( (lv_name_1_0= RULE_ID ) )
1674 } 1674 // InternalApplicationConfiguration.g:577:4: (lv_name_1_0= RULE_ID )
1675 return current; 1675 {
1676 } 1676 // InternalApplicationConfiguration.g:577:4: (lv_name_1_0= RULE_ID )
1677 // $ANTLR end "ruleFileReference" 1677 // InternalApplicationConfiguration.g:578:5: lv_name_1_0= RULE_ID
1678 1678 {
1679 1679 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_13);
1680 // $ANTLR start "entryRuleFile" 1680
1681 // InternalApplicationConfiguration.g:593:1: entryRuleFile returns [EObject current=null] : iv_ruleFile= ruleFile EOF ; 1681 newLeafNode(lv_name_1_0, grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0());
1682 public final EObject entryRuleFile() throws RecognitionException { 1682
1683 EObject current = null; 1683
1684 1684 if (current==null) {
1685 EObject iv_ruleFile = null; 1685 current = createModelElement(grammarAccess.getFileDeclarationRule());
1686 1686 }
1687 1687 setWithLastConsumed(
1688 try { 1688 current,
1689 // InternalApplicationConfiguration.g:593:45: (iv_ruleFile= ruleFile EOF ) 1689 "name",
1690 // InternalApplicationConfiguration.g:594:2: iv_ruleFile= ruleFile EOF 1690 lv_name_1_0,
1691 { 1691 "org.eclipse.xtext.common.Terminals.ID");
1692 newCompositeNode(grammarAccess.getFileRule()); 1692
1693 pushFollow(FOLLOW_1); 1693
1694 iv_ruleFile=ruleFile(); 1694 }
1695 1695
1696 state._fsp--; 1696
1697 1697 }
1698 current =iv_ruleFile; 1698
1699 match(input,EOF,FOLLOW_2); 1699 otherlv_2=(Token)match(input,18,FOLLOW_10);
1700 1700
1701 } 1701 newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2());
1702 1702
1703 } 1703 // InternalApplicationConfiguration.g:598:3: ( (lv_specification_3_0= ruleFileSpecification ) )
1704 1704 // InternalApplicationConfiguration.g:599:4: (lv_specification_3_0= ruleFileSpecification )
1705 catch (RecognitionException re) { 1705 {
1706 recover(input,re); 1706 // InternalApplicationConfiguration.g:599:4: (lv_specification_3_0= ruleFileSpecification )
1707 appendSkippedTokens(); 1707 // InternalApplicationConfiguration.g:600:5: lv_specification_3_0= ruleFileSpecification
1708 } 1708 {
1709 finally { 1709
1710 } 1710 newCompositeNode(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0());
1711 return current; 1711
1712 } 1712 pushFollow(FOLLOW_2);
1713 // $ANTLR end "entryRuleFile" 1713 lv_specification_3_0=ruleFileSpecification();
1714 1714
1715 1715 state._fsp--;
1716 // $ANTLR start "ruleFile" 1716
1717 // InternalApplicationConfiguration.g:600:1: ruleFile returns [EObject current=null] : (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ; 1717
1718 public final EObject ruleFile() throws RecognitionException { 1718 if (current==null) {
1719 EObject current = null; 1719 current = createModelElementForParent(grammarAccess.getFileDeclarationRule());
1720 1720 }
1721 EObject this_FileSpecification_0 = null; 1721 set(
1722 1722 current,
1723 EObject this_FileReference_1 = null; 1723 "specification",
1724 1724 lv_specification_3_0,
1725 1725 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification");
1726 1726 afterParserOrEnumRuleCall();
1727 enterRule(); 1727
1728 1728
1729 try { 1729 }
1730 // InternalApplicationConfiguration.g:606:2: ( (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ) 1730
1731 // InternalApplicationConfiguration.g:607:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) 1731
1732 { 1732 }
1733 // InternalApplicationConfiguration.g:607:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) 1733
1734 int alt9=2; 1734
1735 int LA9_0 = input.LA(1); 1735 }
1736 1736
1737 if ( (LA9_0==RULE_STRING) ) { 1737
1738 alt9=1; 1738 }
1739 } 1739
1740 else if ( (LA9_0==RULE_ID) ) { 1740
1741 alt9=2; 1741 leaveRule();
1742 } 1742
1743 else { 1743 }
1744 NoViableAltException nvae = 1744
1745 new NoViableAltException("", 9, 0, input); 1745 catch (RecognitionException re) {
1746 1746 recover(input,re);
1747 throw nvae; 1747 appendSkippedTokens();
1748 } 1748 }
1749 switch (alt9) { 1749 finally {
1750 case 1 : 1750 }
1751 // InternalApplicationConfiguration.g:608:3: this_FileSpecification_0= ruleFileSpecification 1751 return current;
1752 { 1752 }
1753 1753 // $ANTLR end "ruleFileDeclaration"
1754 newCompositeNode(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); 1754
1755 1755
1756 pushFollow(FOLLOW_2); 1756 // $ANTLR start "entryRuleFileReference"
1757 this_FileSpecification_0=ruleFileSpecification(); 1757 // InternalApplicationConfiguration.g:621:1: entryRuleFileReference returns [EObject current=null] : iv_ruleFileReference= ruleFileReference EOF ;
1758 1758 public final EObject entryRuleFileReference() throws RecognitionException {
1759 state._fsp--; 1759 EObject current = null;
1760 1760
1761 1761 EObject iv_ruleFileReference = null;
1762 current = this_FileSpecification_0; 1762
1763 afterParserOrEnumRuleCall(); 1763
1764 1764 try {
1765 1765 // InternalApplicationConfiguration.g:621:54: (iv_ruleFileReference= ruleFileReference EOF )
1766 } 1766 // InternalApplicationConfiguration.g:622:2: iv_ruleFileReference= ruleFileReference EOF
1767 break; 1767 {
1768 case 2 : 1768 newCompositeNode(grammarAccess.getFileReferenceRule());
1769 // InternalApplicationConfiguration.g:617:3: this_FileReference_1= ruleFileReference 1769 pushFollow(FOLLOW_1);
1770 { 1770 iv_ruleFileReference=ruleFileReference();
1771 1771
1772 newCompositeNode(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); 1772 state._fsp--;
1773 1773
1774 pushFollow(FOLLOW_2); 1774 current =iv_ruleFileReference;
1775 this_FileReference_1=ruleFileReference(); 1775 match(input,EOF,FOLLOW_2);
1776 1776
1777 state._fsp--; 1777 }
1778 1778
1779 1779 }
1780 current = this_FileReference_1; 1780
1781 afterParserOrEnumRuleCall(); 1781 catch (RecognitionException re) {
1782 1782 recover(input,re);
1783 1783 appendSkippedTokens();
1784 } 1784 }
1785 break; 1785 finally {
1786 1786 }
1787 } 1787 return current;
1788 1788 }
1789 1789 // $ANTLR end "entryRuleFileReference"
1790 } 1790
1791 1791
1792 1792 // $ANTLR start "ruleFileReference"
1793 leaveRule(); 1793 // InternalApplicationConfiguration.g:628:1: ruleFileReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
1794 1794 public final EObject ruleFileReference() throws RecognitionException {
1795 } 1795 EObject current = null;
1796 1796
1797 catch (RecognitionException re) { 1797 Token otherlv_0=null;
1798 recover(input,re); 1798
1799 appendSkippedTokens(); 1799
1800 } 1800 enterRule();
1801 finally { 1801
1802 } 1802 try {
1803 return current; 1803 // InternalApplicationConfiguration.g:634:2: ( ( (otherlv_0= RULE_ID ) ) )
1804 } 1804 // InternalApplicationConfiguration.g:635:2: ( (otherlv_0= RULE_ID ) )
1805 // $ANTLR end "ruleFile" 1805 {
1806 1806 // InternalApplicationConfiguration.g:635:2: ( (otherlv_0= RULE_ID ) )
1807 1807 // InternalApplicationConfiguration.g:636:3: (otherlv_0= RULE_ID )
1808 // $ANTLR start "entryRuleMetamodelSpecification" 1808 {
1809 // InternalApplicationConfiguration.g:629:1: entryRuleMetamodelSpecification returns [EObject current=null] : iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ; 1809 // InternalApplicationConfiguration.g:636:3: (otherlv_0= RULE_ID )
1810 public final EObject entryRuleMetamodelSpecification() throws RecognitionException { 1810 // InternalApplicationConfiguration.g:637:4: otherlv_0= RULE_ID
1811 EObject current = null; 1811 {
1812 1812
1813 EObject iv_ruleMetamodelSpecification = null; 1813 if (current==null) {
1814 1814 current = createModelElement(grammarAccess.getFileReferenceRule());
1815 1815 }
1816 try { 1816
1817 // InternalApplicationConfiguration.g:629:63: (iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ) 1817 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2);
1818 // InternalApplicationConfiguration.g:630:2: iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF 1818
1819 { 1819 newLeafNode(otherlv_0, grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0());
1820 newCompositeNode(grammarAccess.getMetamodelSpecificationRule()); 1820
1821 pushFollow(FOLLOW_1); 1821
1822 iv_ruleMetamodelSpecification=ruleMetamodelSpecification(); 1822 }
1823 1823
1824 state._fsp--; 1824
1825 1825 }
1826 current =iv_ruleMetamodelSpecification; 1826
1827 match(input,EOF,FOLLOW_2); 1827
1828 1828 }
1829 } 1829
1830 1830
1831 } 1831 leaveRule();
1832 1832
1833 catch (RecognitionException re) { 1833 }
1834 recover(input,re); 1834
1835 appendSkippedTokens(); 1835 catch (RecognitionException re) {
1836 } 1836 recover(input,re);
1837 finally { 1837 appendSkippedTokens();
1838 } 1838 }
1839 return current; 1839 finally {
1840 } 1840 }
1841 // $ANTLR end "entryRuleMetamodelSpecification" 1841 return current;
1842 1842 }
1843 1843 // $ANTLR end "ruleFileReference"
1844 // $ANTLR start "ruleMetamodelSpecification" 1844
1845 // InternalApplicationConfiguration.g:636:1: ruleMetamodelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ; 1845
1846 public final EObject ruleMetamodelSpecification() throws RecognitionException { 1846 // $ANTLR start "entryRuleFile"
1847 EObject current = null; 1847 // InternalApplicationConfiguration.g:651:1: entryRuleFile returns [EObject current=null] : iv_ruleFile= ruleFile EOF ;
1848 1848 public final EObject entryRuleFile() throws RecognitionException {
1849 Token otherlv_0=null; 1849 EObject current = null;
1850 Token otherlv_2=null; 1850
1851 Token otherlv_4=null; 1851 EObject iv_ruleFile = null;
1852 EObject lv_entries_1_0 = null; 1852
1853 1853
1854 EObject lv_entries_3_0 = null; 1854 try {
1855 1855 // InternalApplicationConfiguration.g:651:45: (iv_ruleFile= ruleFile EOF )
1856 1856 // InternalApplicationConfiguration.g:652:2: iv_ruleFile= ruleFile EOF
1857 1857 {
1858 enterRule(); 1858 newCompositeNode(grammarAccess.getFileRule());
1859 1859 pushFollow(FOLLOW_1);
1860 try { 1860 iv_ruleFile=ruleFile();
1861 // InternalApplicationConfiguration.g:642:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ) 1861
1862 // InternalApplicationConfiguration.g:643:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) 1862 state._fsp--;
1863 { 1863
1864 // InternalApplicationConfiguration.g:643:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) 1864 current =iv_ruleFile;
1865 // InternalApplicationConfiguration.g:644:3: otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' 1865 match(input,EOF,FOLLOW_2);
1866 { 1866
1867 otherlv_0=(Token)match(input,18,FOLLOW_13); 1867 }
1868 1868
1869 newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); 1869 }
1870 1870
1871 // InternalApplicationConfiguration.g:648:3: ( (lv_entries_1_0= ruleMetamodelEntry ) ) 1871 catch (RecognitionException re) {
1872 // InternalApplicationConfiguration.g:649:4: (lv_entries_1_0= ruleMetamodelEntry ) 1872 recover(input,re);
1873 { 1873 appendSkippedTokens();
1874 // InternalApplicationConfiguration.g:649:4: (lv_entries_1_0= ruleMetamodelEntry ) 1874 }
1875 // InternalApplicationConfiguration.g:650:5: lv_entries_1_0= ruleMetamodelEntry 1875 finally {
1876 { 1876 }
1877 1877 return current;
1878 newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); 1878 }
1879 1879 // $ANTLR end "entryRuleFile"
1880 pushFollow(FOLLOW_14); 1880
1881 lv_entries_1_0=ruleMetamodelEntry(); 1881
1882 1882 // $ANTLR start "ruleFile"
1883 state._fsp--; 1883 // InternalApplicationConfiguration.g:658:1: ruleFile returns [EObject current=null] : (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ;
1884 1884 public final EObject ruleFile() throws RecognitionException {
1885 1885 EObject current = null;
1886 if (current==null) { 1886
1887 current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); 1887 EObject this_FileSpecification_0 = null;
1888 } 1888
1889 add( 1889 EObject this_FileReference_1 = null;
1890 current, 1890
1891 "entries", 1891
1892 lv_entries_1_0, 1892
1893 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); 1893 enterRule();
1894 afterParserOrEnumRuleCall(); 1894
1895 1895 try {
1896 1896 // InternalApplicationConfiguration.g:664:2: ( (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) )
1897 } 1897 // InternalApplicationConfiguration.g:665:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference )
1898 1898 {
1899 1899 // InternalApplicationConfiguration.g:665:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference )
1900 } 1900 int alt9=2;
1901 1901 int LA9_0 = input.LA(1);
1902 // InternalApplicationConfiguration.g:667:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* 1902
1903 loop10: 1903 if ( (LA9_0==RULE_STRING) ) {
1904 do { 1904 alt9=1;
1905 int alt10=2; 1905 }
1906 int LA10_0 = input.LA(1); 1906 else if ( (LA9_0==RULE_ID) ) {
1907 1907 alt9=2;
1908 if ( (LA10_0==19) ) { 1908 }
1909 alt10=1; 1909 else {
1910 } 1910 NoViableAltException nvae =
1911 1911 new NoViableAltException("", 9, 0, input);
1912 1912
1913 switch (alt10) { 1913 throw nvae;
1914 case 1 : 1914 }
1915 // InternalApplicationConfiguration.g:668:4: otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) 1915 switch (alt9) {
1916 { 1916 case 1 :
1917 otherlv_2=(Token)match(input,19,FOLLOW_13); 1917 // InternalApplicationConfiguration.g:666:3: this_FileSpecification_0= ruleFileSpecification
1918 1918 {
1919 newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); 1919
1920 1920 newCompositeNode(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0());
1921 // InternalApplicationConfiguration.g:672:4: ( (lv_entries_3_0= ruleMetamodelEntry ) ) 1921
1922 // InternalApplicationConfiguration.g:673:5: (lv_entries_3_0= ruleMetamodelEntry ) 1922 pushFollow(FOLLOW_2);
1923 { 1923 this_FileSpecification_0=ruleFileSpecification();
1924 // InternalApplicationConfiguration.g:673:5: (lv_entries_3_0= ruleMetamodelEntry ) 1924
1925 // InternalApplicationConfiguration.g:674:6: lv_entries_3_0= ruleMetamodelEntry 1925 state._fsp--;
1926 { 1926
1927 1927
1928 newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); 1928 current = this_FileSpecification_0;
1929 1929 afterParserOrEnumRuleCall();
1930 pushFollow(FOLLOW_14); 1930
1931 lv_entries_3_0=ruleMetamodelEntry(); 1931
1932 1932 }
1933 state._fsp--; 1933 break;
1934 1934 case 2 :
1935 1935 // InternalApplicationConfiguration.g:675:3: this_FileReference_1= ruleFileReference
1936 if (current==null) { 1936 {
1937 current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); 1937
1938 } 1938 newCompositeNode(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1());
1939 add( 1939
1940 current, 1940 pushFollow(FOLLOW_2);
1941 "entries", 1941 this_FileReference_1=ruleFileReference();
1942 lv_entries_3_0, 1942
1943 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); 1943 state._fsp--;
1944 afterParserOrEnumRuleCall(); 1944
1945 1945
1946 1946 current = this_FileReference_1;
1947 } 1947 afterParserOrEnumRuleCall();
1948 1948
1949 1949
1950 } 1950 }
1951 1951 break;
1952 1952
1953 } 1953 }
1954 break; 1954
1955 1955
1956 default : 1956 }
1957 break loop10; 1957
1958 } 1958
1959 } while (true); 1959 leaveRule();
1960 1960
1961 otherlv_4=(Token)match(input,20,FOLLOW_2); 1961 }
1962 1962
1963 newLeafNode(otherlv_4, grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); 1963 catch (RecognitionException re) {
1964 1964 recover(input,re);
1965 1965 appendSkippedTokens();
1966 } 1966 }
1967 1967 finally {
1968 1968 }
1969 } 1969 return current;
1970 1970 }
1971 1971 // $ANTLR end "ruleFile"
1972 leaveRule(); 1972
1973 1973
1974 } 1974 // $ANTLR start "entryRuleMetamodelSpecification"
1975 1975 // InternalApplicationConfiguration.g:687:1: entryRuleMetamodelSpecification returns [EObject current=null] : iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ;
1976 catch (RecognitionException re) { 1976 public final EObject entryRuleMetamodelSpecification() throws RecognitionException {
1977 recover(input,re); 1977 EObject current = null;
1978 appendSkippedTokens(); 1978
1979 } 1979 EObject iv_ruleMetamodelSpecification = null;
1980 finally { 1980
1981 } 1981
1982 return current; 1982 try {
1983 } 1983 // InternalApplicationConfiguration.g:687:63: (iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF )
1984 // $ANTLR end "ruleMetamodelSpecification" 1984 // InternalApplicationConfiguration.g:688:2: iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF
1985 1985 {
1986 1986 newCompositeNode(grammarAccess.getMetamodelSpecificationRule());
1987 // $ANTLR start "entryRuleMetamodelEntry" 1987 pushFollow(FOLLOW_1);
1988 // InternalApplicationConfiguration.g:700:1: entryRuleMetamodelEntry returns [EObject current=null] : iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ; 1988 iv_ruleMetamodelSpecification=ruleMetamodelSpecification();
1989 public final EObject entryRuleMetamodelEntry() throws RecognitionException { 1989
1990 EObject current = null; 1990 state._fsp--;
1991 1991
1992 EObject iv_ruleMetamodelEntry = null; 1992 current =iv_ruleMetamodelSpecification;
1993 1993 match(input,EOF,FOLLOW_2);
1994 1994
1995 try { 1995 }
1996 // InternalApplicationConfiguration.g:700:55: (iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ) 1996
1997 // InternalApplicationConfiguration.g:701:2: iv_ruleMetamodelEntry= ruleMetamodelEntry EOF 1997 }
1998 { 1998
1999 newCompositeNode(grammarAccess.getMetamodelEntryRule()); 1999 catch (RecognitionException re) {
2000 pushFollow(FOLLOW_1); 2000 recover(input,re);
2001 iv_ruleMetamodelEntry=ruleMetamodelEntry(); 2001 appendSkippedTokens();
2002 2002 }
2003 state._fsp--; 2003 finally {
2004 2004 }
2005 current =iv_ruleMetamodelEntry; 2005 return current;
2006 match(input,EOF,FOLLOW_2); 2006 }
2007 2007 // $ANTLR end "entryRuleMetamodelSpecification"
2008 } 2008
2009 2009
2010 } 2010 // $ANTLR start "ruleMetamodelSpecification"
2011 2011 // InternalApplicationConfiguration.g:694:1: ruleMetamodelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ;
2012 catch (RecognitionException re) { 2012 public final EObject ruleMetamodelSpecification() throws RecognitionException {
2013 recover(input,re); 2013 EObject current = null;
2014 appendSkippedTokens(); 2014
2015 } 2015 Token otherlv_0=null;
2016 finally { 2016 Token otherlv_2=null;
2017 } 2017 Token otherlv_4=null;
2018 return current; 2018 EObject lv_entries_1_0 = null;
2019 } 2019
2020 // $ANTLR end "entryRuleMetamodelEntry" 2020 EObject lv_entries_3_0 = null;
2021 2021
2022 2022
2023 // $ANTLR start "ruleMetamodelEntry" 2023
2024 // InternalApplicationConfiguration.g:707:1: ruleMetamodelEntry returns [EObject current=null] : (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ; 2024 enterRule();
2025 public final EObject ruleMetamodelEntry() throws RecognitionException { 2025
2026 EObject current = null; 2026 try {
2027 2027 // InternalApplicationConfiguration.g:700:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) )
2028 EObject this_MetamodelElement_0 = null; 2028 // InternalApplicationConfiguration.g:701:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' )
2029 2029 {
2030 EObject this_AllPackageEntry_1 = null; 2030 // InternalApplicationConfiguration.g:701:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' )
2031 2031 // InternalApplicationConfiguration.g:702:3: otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}'
2032 2032 {
2033 2033 otherlv_0=(Token)match(input,19,FOLLOW_14);
2034 enterRule(); 2034
2035 2035 newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0());
2036 try { 2036
2037 // InternalApplicationConfiguration.g:713:2: ( (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ) 2037 // InternalApplicationConfiguration.g:706:3: ( (lv_entries_1_0= ruleMetamodelEntry ) )
2038 // InternalApplicationConfiguration.g:714:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) 2038 // InternalApplicationConfiguration.g:707:4: (lv_entries_1_0= ruleMetamodelEntry )
2039 { 2039 {
2040 // InternalApplicationConfiguration.g:714:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) 2040 // InternalApplicationConfiguration.g:707:4: (lv_entries_1_0= ruleMetamodelEntry )
2041 int alt11=2; 2041 // InternalApplicationConfiguration.g:708:5: lv_entries_1_0= ruleMetamodelEntry
2042 int LA11_0 = input.LA(1); 2042 {
2043 2043
2044 if ( (LA11_0==RULE_ID) ) { 2044 newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0());
2045 alt11=1; 2045
2046 } 2046 pushFollow(FOLLOW_15);
2047 else if ( (LA11_0==21) ) { 2047 lv_entries_1_0=ruleMetamodelEntry();
2048 alt11=2; 2048
2049 } 2049 state._fsp--;
2050 else { 2050
2051 NoViableAltException nvae = 2051
2052 new NoViableAltException("", 11, 0, input); 2052 if (current==null) {
2053 2053 current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule());
2054 throw nvae; 2054 }
2055 } 2055 add(
2056 switch (alt11) { 2056 current,
2057 case 1 : 2057 "entries",
2058 // InternalApplicationConfiguration.g:715:3: this_MetamodelElement_0= ruleMetamodelElement 2058 lv_entries_1_0,
2059 { 2059 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry");
2060 2060 afterParserOrEnumRuleCall();
2061 newCompositeNode(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); 2061
2062 2062
2063 pushFollow(FOLLOW_2); 2063 }
2064 this_MetamodelElement_0=ruleMetamodelElement(); 2064
2065 2065
2066 state._fsp--; 2066 }
2067 2067
2068 2068 // InternalApplicationConfiguration.g:725:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )*
2069 current = this_MetamodelElement_0; 2069 loop10:
2070 afterParserOrEnumRuleCall(); 2070 do {
2071 2071 int alt10=2;
2072 2072 int LA10_0 = input.LA(1);
2073 } 2073
2074 break; 2074 if ( (LA10_0==20) ) {
2075 case 2 : 2075 alt10=1;
2076 // InternalApplicationConfiguration.g:724:3: this_AllPackageEntry_1= ruleAllPackageEntry 2076 }
2077 { 2077
2078 2078
2079 newCompositeNode(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); 2079 switch (alt10) {
2080 2080 case 1 :
2081 pushFollow(FOLLOW_2); 2081 // InternalApplicationConfiguration.g:726:4: otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) )
2082 this_AllPackageEntry_1=ruleAllPackageEntry(); 2082 {
2083 2083 otherlv_2=(Token)match(input,20,FOLLOW_14);
2084 state._fsp--; 2084
2085 2085 newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0());
2086 2086
2087 current = this_AllPackageEntry_1; 2087 // InternalApplicationConfiguration.g:730:4: ( (lv_entries_3_0= ruleMetamodelEntry ) )
2088 afterParserOrEnumRuleCall(); 2088 // InternalApplicationConfiguration.g:731:5: (lv_entries_3_0= ruleMetamodelEntry )
2089 2089 {
2090 2090 // InternalApplicationConfiguration.g:731:5: (lv_entries_3_0= ruleMetamodelEntry )
2091 } 2091 // InternalApplicationConfiguration.g:732:6: lv_entries_3_0= ruleMetamodelEntry
2092 break; 2092 {
2093 2093
2094 } 2094 newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0());
2095 2095
2096 2096 pushFollow(FOLLOW_15);
2097 } 2097 lv_entries_3_0=ruleMetamodelEntry();
2098 2098
2099 2099 state._fsp--;
2100 leaveRule(); 2100
2101 2101
2102 } 2102 if (current==null) {
2103 2103 current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule());
2104 catch (RecognitionException re) { 2104 }
2105 recover(input,re); 2105 add(
2106 appendSkippedTokens(); 2106 current,
2107 } 2107 "entries",
2108 finally { 2108 lv_entries_3_0,
2109 } 2109 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry");
2110 return current; 2110 afterParserOrEnumRuleCall();
2111 } 2111
2112 // $ANTLR end "ruleMetamodelEntry" 2112
2113 2113 }
2114 2114
2115 // $ANTLR start "entryRuleAllPackageEntry" 2115
2116 // InternalApplicationConfiguration.g:736:1: entryRuleAllPackageEntry returns [EObject current=null] : iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ; 2116 }
2117 public final EObject entryRuleAllPackageEntry() throws RecognitionException { 2117
2118 EObject current = null; 2118
2119 2119 }
2120 EObject iv_ruleAllPackageEntry = null; 2120 break;
2121 2121
2122 2122 default :
2123 try { 2123 break loop10;
2124 // InternalApplicationConfiguration.g:736:56: (iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ) 2124 }
2125 // InternalApplicationConfiguration.g:737:2: iv_ruleAllPackageEntry= ruleAllPackageEntry EOF 2125 } while (true);
2126 { 2126
2127 newCompositeNode(grammarAccess.getAllPackageEntryRule()); 2127 otherlv_4=(Token)match(input,21,FOLLOW_2);
2128 pushFollow(FOLLOW_1); 2128
2129 iv_ruleAllPackageEntry=ruleAllPackageEntry(); 2129 newLeafNode(otherlv_4, grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3());
2130 2130
2131 state._fsp--; 2131
2132 2132 }
2133 current =iv_ruleAllPackageEntry; 2133
2134 match(input,EOF,FOLLOW_2); 2134
2135 2135 }
2136 } 2136
2137 2137
2138 } 2138 leaveRule();
2139 2139
2140 catch (RecognitionException re) { 2140 }
2141 recover(input,re); 2141
2142 appendSkippedTokens(); 2142 catch (RecognitionException re) {
2143 } 2143 recover(input,re);
2144 finally { 2144 appendSkippedTokens();
2145 } 2145 }
2146 return current; 2146 finally {
2147 } 2147 }
2148 // $ANTLR end "entryRuleAllPackageEntry" 2148 return current;
2149 2149 }
2150 2150 // $ANTLR end "ruleMetamodelSpecification"
2151 // $ANTLR start "ruleAllPackageEntry" 2151
2152 // InternalApplicationConfiguration.g:743:1: ruleAllPackageEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ; 2152
2153 public final EObject ruleAllPackageEntry() throws RecognitionException { 2153 // $ANTLR start "entryRuleMetamodelEntry"
2154 EObject current = null; 2154 // InternalApplicationConfiguration.g:758:1: entryRuleMetamodelEntry returns [EObject current=null] : iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ;
2155 2155 public final EObject entryRuleMetamodelEntry() throws RecognitionException {
2156 Token otherlv_0=null; 2156 EObject current = null;
2157 Token otherlv_2=null; 2157
2158 Token otherlv_3=null; 2158 EObject iv_ruleMetamodelEntry = null;
2159 Token otherlv_5=null; 2159
2160 Token otherlv_7=null; 2160
2161 EObject lv_exclusion_4_0 = null; 2161 try {
2162 2162 // InternalApplicationConfiguration.g:758:55: (iv_ruleMetamodelEntry= ruleMetamodelEntry EOF )
2163 EObject lv_exclusion_6_0 = null; 2163 // InternalApplicationConfiguration.g:759:2: iv_ruleMetamodelEntry= ruleMetamodelEntry EOF
2164 2164 {
2165 2165 newCompositeNode(grammarAccess.getMetamodelEntryRule());
2166 2166 pushFollow(FOLLOW_1);
2167 enterRule(); 2167 iv_ruleMetamodelEntry=ruleMetamodelEntry();
2168 2168
2169 try { 2169 state._fsp--;
2170 // InternalApplicationConfiguration.g:749:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ) 2170
2171 // InternalApplicationConfiguration.g:750:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) 2171 current =iv_ruleMetamodelEntry;
2172 { 2172 match(input,EOF,FOLLOW_2);
2173 // InternalApplicationConfiguration.g:750:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) 2173
2174 // InternalApplicationConfiguration.g:751:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? 2174 }
2175 { 2175
2176 otherlv_0=(Token)match(input,21,FOLLOW_6); 2176 }
2177 2177
2178 newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); 2178 catch (RecognitionException re) {
2179 2179 recover(input,re);
2180 // InternalApplicationConfiguration.g:755:3: ( ( ruleQualifiedName ) ) 2180 appendSkippedTokens();
2181 // InternalApplicationConfiguration.g:756:4: ( ruleQualifiedName ) 2181 }
2182 { 2182 finally {
2183 // InternalApplicationConfiguration.g:756:4: ( ruleQualifiedName ) 2183 }
2184 // InternalApplicationConfiguration.g:757:5: ruleQualifiedName 2184 return current;
2185 { 2185 }
2186 2186 // $ANTLR end "entryRuleMetamodelEntry"
2187 if (current==null) { 2187
2188 current = createModelElement(grammarAccess.getAllPackageEntryRule()); 2188
2189 } 2189 // $ANTLR start "ruleMetamodelEntry"
2190 2190 // InternalApplicationConfiguration.g:765:1: ruleMetamodelEntry returns [EObject current=null] : (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ;
2191 2191 public final EObject ruleMetamodelEntry() throws RecognitionException {
2192 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); 2192 EObject current = null;
2193 2193
2194 pushFollow(FOLLOW_15); 2194 EObject this_MetamodelElement_0 = null;
2195 ruleQualifiedName(); 2195
2196 2196 EObject this_AllPackageEntry_1 = null;
2197 state._fsp--; 2197
2198 2198
2199 2199
2200 afterParserOrEnumRuleCall(); 2200 enterRule();
2201 2201
2202 2202 try {
2203 } 2203 // InternalApplicationConfiguration.g:771:2: ( (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) )
2204 2204 // InternalApplicationConfiguration.g:772:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry )
2205 2205 {
2206 } 2206 // InternalApplicationConfiguration.g:772:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry )
2207 2207 int alt11=2;
2208 // InternalApplicationConfiguration.g:771:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? 2208 int LA11_0 = input.LA(1);
2209 int alt13=2; 2209
2210 int LA13_0 = input.LA(1); 2210 if ( (LA11_0==RULE_ID) ) {
2211 2211 alt11=1;
2212 if ( (LA13_0==22) ) { 2212 }
2213 alt13=1; 2213 else if ( (LA11_0==22) ) {
2214 } 2214 alt11=2;
2215 switch (alt13) { 2215 }
2216 case 1 : 2216 else {
2217 // InternalApplicationConfiguration.g:772:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' 2217 NoViableAltException nvae =
2218 { 2218 new NoViableAltException("", 11, 0, input);
2219 otherlv_2=(Token)match(input,22,FOLLOW_16); 2219
2220 2220 throw nvae;
2221 newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); 2221 }
2222 2222 switch (alt11) {
2223 otherlv_3=(Token)match(input,18,FOLLOW_6); 2223 case 1 :
2224 2224 // InternalApplicationConfiguration.g:773:3: this_MetamodelElement_0= ruleMetamodelElement
2225 newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); 2225 {
2226 2226
2227 // InternalApplicationConfiguration.g:780:4: ( (lv_exclusion_4_0= ruleMetamodelElement ) ) 2227 newCompositeNode(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0());
2228 // InternalApplicationConfiguration.g:781:5: (lv_exclusion_4_0= ruleMetamodelElement ) 2228
2229 { 2229 pushFollow(FOLLOW_2);
2230 // InternalApplicationConfiguration.g:781:5: (lv_exclusion_4_0= ruleMetamodelElement ) 2230 this_MetamodelElement_0=ruleMetamodelElement();
2231 // InternalApplicationConfiguration.g:782:6: lv_exclusion_4_0= ruleMetamodelElement 2231
2232 { 2232 state._fsp--;
2233 2233
2234 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); 2234
2235 2235 current = this_MetamodelElement_0;
2236 pushFollow(FOLLOW_14); 2236 afterParserOrEnumRuleCall();
2237 lv_exclusion_4_0=ruleMetamodelElement(); 2237
2238 2238
2239 state._fsp--; 2239 }
2240 2240 break;
2241 2241 case 2 :
2242 if (current==null) { 2242 // InternalApplicationConfiguration.g:782:3: this_AllPackageEntry_1= ruleAllPackageEntry
2243 current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); 2243 {
2244 } 2244
2245 add( 2245 newCompositeNode(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1());
2246 current, 2246
2247 "exclusion", 2247 pushFollow(FOLLOW_2);
2248 lv_exclusion_4_0, 2248 this_AllPackageEntry_1=ruleAllPackageEntry();
2249 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); 2249
2250 afterParserOrEnumRuleCall(); 2250 state._fsp--;
2251 2251
2252 2252
2253 } 2253 current = this_AllPackageEntry_1;
2254 2254 afterParserOrEnumRuleCall();
2255 2255
2256 } 2256
2257 2257 }
2258 // InternalApplicationConfiguration.g:799:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* 2258 break;
2259 loop12: 2259
2260 do { 2260 }
2261 int alt12=2; 2261
2262 int LA12_0 = input.LA(1); 2262
2263 2263 }
2264 if ( (LA12_0==19) ) { 2264
2265 alt12=1; 2265
2266 } 2266 leaveRule();
2267 2267
2268 2268 }
2269 switch (alt12) { 2269
2270 case 1 : 2270 catch (RecognitionException re) {
2271 // InternalApplicationConfiguration.g:800:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) 2271 recover(input,re);
2272 { 2272 appendSkippedTokens();
2273 otherlv_5=(Token)match(input,19,FOLLOW_6); 2273 }
2274 2274 finally {
2275 newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); 2275 }
2276 2276 return current;
2277 // InternalApplicationConfiguration.g:804:5: ( (lv_exclusion_6_0= ruleMetamodelElement ) ) 2277 }
2278 // InternalApplicationConfiguration.g:805:6: (lv_exclusion_6_0= ruleMetamodelElement ) 2278 // $ANTLR end "ruleMetamodelEntry"
2279 { 2279
2280 // InternalApplicationConfiguration.g:805:6: (lv_exclusion_6_0= ruleMetamodelElement ) 2280
2281 // InternalApplicationConfiguration.g:806:7: lv_exclusion_6_0= ruleMetamodelElement 2281 // $ANTLR start "entryRuleAllPackageEntry"
2282 { 2282 // InternalApplicationConfiguration.g:794:1: entryRuleAllPackageEntry returns [EObject current=null] : iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ;
2283 2283 public final EObject entryRuleAllPackageEntry() throws RecognitionException {
2284 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); 2284 EObject current = null;
2285 2285
2286 pushFollow(FOLLOW_14); 2286 EObject iv_ruleAllPackageEntry = null;
2287 lv_exclusion_6_0=ruleMetamodelElement(); 2287
2288 2288
2289 state._fsp--; 2289 try {
2290 2290 // InternalApplicationConfiguration.g:794:56: (iv_ruleAllPackageEntry= ruleAllPackageEntry EOF )
2291 2291 // InternalApplicationConfiguration.g:795:2: iv_ruleAllPackageEntry= ruleAllPackageEntry EOF
2292 if (current==null) { 2292 {
2293 current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); 2293 newCompositeNode(grammarAccess.getAllPackageEntryRule());
2294 } 2294 pushFollow(FOLLOW_1);
2295 add( 2295 iv_ruleAllPackageEntry=ruleAllPackageEntry();
2296 current, 2296
2297 "exclusion", 2297 state._fsp--;
2298 lv_exclusion_6_0, 2298
2299 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); 2299 current =iv_ruleAllPackageEntry;
2300 afterParserOrEnumRuleCall(); 2300 match(input,EOF,FOLLOW_2);
2301 2301
2302 2302 }
2303 } 2303
2304 2304 }
2305 2305
2306 } 2306 catch (RecognitionException re) {
2307 2307 recover(input,re);
2308 2308 appendSkippedTokens();
2309 } 2309 }
2310 break; 2310 finally {
2311 2311 }
2312 default : 2312 return current;
2313 break loop12; 2313 }
2314 } 2314 // $ANTLR end "entryRuleAllPackageEntry"
2315 } while (true); 2315
2316 2316
2317 otherlv_7=(Token)match(input,20,FOLLOW_2); 2317 // $ANTLR start "ruleAllPackageEntry"
2318 2318 // InternalApplicationConfiguration.g:801:1: ruleAllPackageEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ;
2319 newLeafNode(otherlv_7, grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); 2319 public final EObject ruleAllPackageEntry() throws RecognitionException {
2320 2320 EObject current = null;
2321 2321
2322 } 2322 Token otherlv_0=null;
2323 break; 2323 Token otherlv_2=null;
2324 2324 Token otherlv_3=null;
2325 } 2325 Token otherlv_5=null;
2326 2326 Token otherlv_7=null;
2327 2327 EObject lv_exclusion_4_0 = null;
2328 } 2328
2329 2329 EObject lv_exclusion_6_0 = null;
2330 2330
2331 } 2331
2332 2332
2333 2333 enterRule();
2334 leaveRule(); 2334
2335 2335 try {
2336 } 2336 // InternalApplicationConfiguration.g:807:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) )
2337 2337 // InternalApplicationConfiguration.g:808:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? )
2338 catch (RecognitionException re) { 2338 {
2339 recover(input,re); 2339 // InternalApplicationConfiguration.g:808:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? )
2340 appendSkippedTokens(); 2340 // InternalApplicationConfiguration.g:809:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )?
2341 } 2341 {
2342 finally { 2342 otherlv_0=(Token)match(input,22,FOLLOW_6);
2343 } 2343
2344 return current; 2344 newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0());
2345 } 2345
2346 // $ANTLR end "ruleAllPackageEntry" 2346 // InternalApplicationConfiguration.g:813:3: ( ( ruleQualifiedName ) )
2347 2347 // InternalApplicationConfiguration.g:814:4: ( ruleQualifiedName )
2348 2348 {
2349 // $ANTLR start "entryRuleMetamodelElement" 2349 // InternalApplicationConfiguration.g:814:4: ( ruleQualifiedName )
2350 // InternalApplicationConfiguration.g:833:1: entryRuleMetamodelElement returns [EObject current=null] : iv_ruleMetamodelElement= ruleMetamodelElement EOF ; 2350 // InternalApplicationConfiguration.g:815:5: ruleQualifiedName
2351 public final EObject entryRuleMetamodelElement() throws RecognitionException { 2351 {
2352 EObject current = null; 2352
2353 2353 if (current==null) {
2354 EObject iv_ruleMetamodelElement = null; 2354 current = createModelElement(grammarAccess.getAllPackageEntryRule());
2355 2355 }
2356 2356
2357 try { 2357
2358 // InternalApplicationConfiguration.g:833:57: (iv_ruleMetamodelElement= ruleMetamodelElement EOF ) 2358 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0());
2359 // InternalApplicationConfiguration.g:834:2: iv_ruleMetamodelElement= ruleMetamodelElement EOF 2359
2360 { 2360 pushFollow(FOLLOW_16);
2361 newCompositeNode(grammarAccess.getMetamodelElementRule()); 2361 ruleQualifiedName();
2362 pushFollow(FOLLOW_1); 2362
2363 iv_ruleMetamodelElement=ruleMetamodelElement(); 2363 state._fsp--;
2364 2364
2365 state._fsp--; 2365
2366 2366 afterParserOrEnumRuleCall();
2367 current =iv_ruleMetamodelElement; 2367
2368 match(input,EOF,FOLLOW_2); 2368
2369 2369 }
2370 } 2370
2371 2371
2372 } 2372 }
2373 2373
2374 catch (RecognitionException re) { 2374 // InternalApplicationConfiguration.g:829:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )?
2375 recover(input,re); 2375 int alt13=2;
2376 appendSkippedTokens(); 2376 int LA13_0 = input.LA(1);
2377 } 2377
2378 finally { 2378 if ( (LA13_0==23) ) {
2379 } 2379 alt13=1;
2380 return current; 2380 }
2381 } 2381 switch (alt13) {
2382 // $ANTLR end "entryRuleMetamodelElement" 2382 case 1 :
2383 2383 // InternalApplicationConfiguration.g:830:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}'
2384 2384 {
2385 // $ANTLR start "ruleMetamodelElement" 2385 otherlv_2=(Token)match(input,23,FOLLOW_17);
2386 // InternalApplicationConfiguration.g:840:1: ruleMetamodelElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ; 2386
2387 public final EObject ruleMetamodelElement() throws RecognitionException { 2387 newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0());
2388 EObject current = null; 2388
2389 2389 otherlv_3=(Token)match(input,19,FOLLOW_6);
2390 Token otherlv_1=null; 2390
2391 Token otherlv_2=null; 2391 newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1());
2392 Token otherlv_3=null; 2392
2393 Token otherlv_4=null; 2393 // InternalApplicationConfiguration.g:838:4: ( (lv_exclusion_4_0= ruleMetamodelElement ) )
2394 2394 // InternalApplicationConfiguration.g:839:5: (lv_exclusion_4_0= ruleMetamodelElement )
2395 2395 {
2396 enterRule(); 2396 // InternalApplicationConfiguration.g:839:5: (lv_exclusion_4_0= ruleMetamodelElement )
2397 2397 // InternalApplicationConfiguration.g:840:6: lv_exclusion_4_0= ruleMetamodelElement
2398 try { 2398 {
2399 // InternalApplicationConfiguration.g:846:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ) 2399
2400 // InternalApplicationConfiguration.g:847:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) 2400 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0());
2401 { 2401
2402 // InternalApplicationConfiguration.g:847:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) 2402 pushFollow(FOLLOW_15);
2403 // InternalApplicationConfiguration.g:848:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? 2403 lv_exclusion_4_0=ruleMetamodelElement();
2404 { 2404
2405 // InternalApplicationConfiguration.g:848:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? 2405 state._fsp--;
2406 int alt14=2; 2406
2407 int LA14_0 = input.LA(1); 2407
2408 2408 if (current==null) {
2409 if ( (LA14_0==RULE_ID) ) { 2409 current = createModelElementForParent(grammarAccess.getAllPackageEntryRule());
2410 int LA14_1 = input.LA(2); 2410 }
2411 2411 add(
2412 if ( (LA14_1==11) ) { 2412 current,
2413 int LA14_2 = input.LA(3); 2413 "exclusion",
2414 2414 lv_exclusion_4_0,
2415 if ( (LA14_2==RULE_ID) ) { 2415 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement");
2416 int LA14_5 = input.LA(4); 2416 afterParserOrEnumRuleCall();
2417 2417
2418 if ( (LA14_5==11||LA14_5==23) ) { 2418
2419 alt14=1; 2419 }
2420 } 2420
2421 } 2421
2422 } 2422 }
2423 else if ( (LA14_1==23) ) { 2423
2424 alt14=1; 2424 // InternalApplicationConfiguration.g:857:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )*
2425 } 2425 loop12:
2426 } 2426 do {
2427 switch (alt14) { 2427 int alt12=2;
2428 case 1 : 2428 int LA12_0 = input.LA(1);
2429 // InternalApplicationConfiguration.g:849:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' 2429
2430 { 2430 if ( (LA12_0==20) ) {
2431 // InternalApplicationConfiguration.g:849:4: ( ( ruleQualifiedName ) ) 2431 alt12=1;
2432 // InternalApplicationConfiguration.g:850:5: ( ruleQualifiedName ) 2432 }
2433 { 2433
2434 // InternalApplicationConfiguration.g:850:5: ( ruleQualifiedName ) 2434
2435 // InternalApplicationConfiguration.g:851:6: ruleQualifiedName 2435 switch (alt12) {
2436 { 2436 case 1 :
2437 2437 // InternalApplicationConfiguration.g:858:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) )
2438 if (current==null) { 2438 {
2439 current = createModelElement(grammarAccess.getMetamodelElementRule()); 2439 otherlv_5=(Token)match(input,20,FOLLOW_6);
2440 } 2440
2441 2441 newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0());
2442 2442
2443 newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); 2443 // InternalApplicationConfiguration.g:862:5: ( (lv_exclusion_6_0= ruleMetamodelElement ) )
2444 2444 // InternalApplicationConfiguration.g:863:6: (lv_exclusion_6_0= ruleMetamodelElement )
2445 pushFollow(FOLLOW_17); 2445 {
2446 ruleQualifiedName(); 2446 // InternalApplicationConfiguration.g:863:6: (lv_exclusion_6_0= ruleMetamodelElement )
2447 2447 // InternalApplicationConfiguration.g:864:7: lv_exclusion_6_0= ruleMetamodelElement
2448 state._fsp--; 2448 {
2449 2449
2450 2450 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0());
2451 afterParserOrEnumRuleCall(); 2451
2452 2452 pushFollow(FOLLOW_15);
2453 2453 lv_exclusion_6_0=ruleMetamodelElement();
2454 } 2454
2455 2455 state._fsp--;
2456 2456
2457 } 2457
2458 2458 if (current==null) {
2459 otherlv_1=(Token)match(input,23,FOLLOW_6); 2459 current = createModelElementForParent(grammarAccess.getAllPackageEntryRule());
2460 2460 }
2461 newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); 2461 add(
2462 2462 current,
2463 2463 "exclusion",
2464 } 2464 lv_exclusion_6_0,
2465 break; 2465 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement");
2466 2466 afterParserOrEnumRuleCall();
2467 } 2467
2468 2468
2469 // InternalApplicationConfiguration.g:870:3: ( (otherlv_2= RULE_ID ) ) 2469 }
2470 // InternalApplicationConfiguration.g:871:4: (otherlv_2= RULE_ID ) 2470
2471 { 2471
2472 // InternalApplicationConfiguration.g:871:4: (otherlv_2= RULE_ID ) 2472 }
2473 // InternalApplicationConfiguration.g:872:5: otherlv_2= RULE_ID 2473
2474 { 2474
2475 2475 }
2476 if (current==null) { 2476 break;
2477 current = createModelElement(grammarAccess.getMetamodelElementRule()); 2477
2478 } 2478 default :
2479 2479 break loop12;
2480 otherlv_2=(Token)match(input,RULE_ID,FOLLOW_5); 2480 }
2481 2481 } while (true);
2482 newLeafNode(otherlv_2, grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); 2482
2483 2483 otherlv_7=(Token)match(input,21,FOLLOW_2);
2484 2484
2485 } 2485 newLeafNode(otherlv_7, grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4());
2486 2486
2487 2487
2488 } 2488 }
2489 2489 break;
2490 // InternalApplicationConfiguration.g:883:3: (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? 2490
2491 int alt15=2; 2491 }
2492 int LA15_0 = input.LA(1); 2492
2493 2493
2494 if ( (LA15_0==11) ) { 2494 }
2495 alt15=1; 2495
2496 } 2496
2497 switch (alt15) { 2497 }
2498 case 1 : 2498
2499 // InternalApplicationConfiguration.g:884:4: otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) 2499
2500 { 2500 leaveRule();
2501 otherlv_3=(Token)match(input,11,FOLLOW_6); 2501
2502 2502 }
2503 newLeafNode(otherlv_3, grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); 2503
2504 2504 catch (RecognitionException re) {
2505 // InternalApplicationConfiguration.g:888:4: ( (otherlv_4= RULE_ID ) ) 2505 recover(input,re);
2506 // InternalApplicationConfiguration.g:889:5: (otherlv_4= RULE_ID ) 2506 appendSkippedTokens();
2507 { 2507 }
2508 // InternalApplicationConfiguration.g:889:5: (otherlv_4= RULE_ID ) 2508 finally {
2509 // InternalApplicationConfiguration.g:890:6: otherlv_4= RULE_ID 2509 }
2510 { 2510 return current;
2511 2511 }
2512 if (current==null) { 2512 // $ANTLR end "ruleAllPackageEntry"
2513 current = createModelElement(grammarAccess.getMetamodelElementRule()); 2513
2514 } 2514
2515 2515 // $ANTLR start "entryRuleMetamodelElement"
2516 otherlv_4=(Token)match(input,RULE_ID,FOLLOW_2); 2516 // InternalApplicationConfiguration.g:891:1: entryRuleMetamodelElement returns [EObject current=null] : iv_ruleMetamodelElement= ruleMetamodelElement EOF ;
2517 2517 public final EObject entryRuleMetamodelElement() throws RecognitionException {
2518 newLeafNode(otherlv_4, grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); 2518 EObject current = null;
2519 2519
2520 2520 EObject iv_ruleMetamodelElement = null;
2521 } 2521
2522 2522
2523 2523 try {
2524 } 2524 // InternalApplicationConfiguration.g:891:57: (iv_ruleMetamodelElement= ruleMetamodelElement EOF )
2525 2525 // InternalApplicationConfiguration.g:892:2: iv_ruleMetamodelElement= ruleMetamodelElement EOF
2526 2526 {
2527 } 2527 newCompositeNode(grammarAccess.getMetamodelElementRule());
2528 break; 2528 pushFollow(FOLLOW_1);
2529 2529 iv_ruleMetamodelElement=ruleMetamodelElement();
2530 } 2530
2531 2531 state._fsp--;
2532 2532
2533 } 2533 current =iv_ruleMetamodelElement;
2534 2534 match(input,EOF,FOLLOW_2);
2535 2535
2536 } 2536 }
2537 2537
2538 2538 }
2539 leaveRule(); 2539
2540 2540 catch (RecognitionException re) {
2541 } 2541 recover(input,re);
2542 2542 appendSkippedTokens();
2543 catch (RecognitionException re) { 2543 }
2544 recover(input,re); 2544 finally {
2545 appendSkippedTokens(); 2545 }
2546 } 2546 return current;
2547 finally { 2547 }
2548 } 2548 // $ANTLR end "entryRuleMetamodelElement"
2549 return current; 2549
2550 } 2550
2551 // $ANTLR end "ruleMetamodelElement" 2551 // $ANTLR start "ruleMetamodelElement"
2552 2552 // InternalApplicationConfiguration.g:898:1: ruleMetamodelElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ;
2553 2553 public final EObject ruleMetamodelElement() throws RecognitionException {
2554 // $ANTLR start "entryRuleMetamodelDeclaration" 2554 EObject current = null;
2555 // InternalApplicationConfiguration.g:906:1: entryRuleMetamodelDeclaration returns [EObject current=null] : iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ; 2555
2556 public final EObject entryRuleMetamodelDeclaration() throws RecognitionException { 2556 Token otherlv_1=null;
2557 EObject current = null; 2557 Token otherlv_2=null;
2558 2558 Token otherlv_3=null;
2559 EObject iv_ruleMetamodelDeclaration = null; 2559 Token otherlv_4=null;
2560 2560
2561 2561
2562 try { 2562 enterRule();
2563 // InternalApplicationConfiguration.g:906:61: (iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ) 2563
2564 // InternalApplicationConfiguration.g:907:2: iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF 2564 try {
2565 { 2565 // InternalApplicationConfiguration.g:904:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) )
2566 newCompositeNode(grammarAccess.getMetamodelDeclarationRule()); 2566 // InternalApplicationConfiguration.g:905:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? )
2567 pushFollow(FOLLOW_1); 2567 {
2568 iv_ruleMetamodelDeclaration=ruleMetamodelDeclaration(); 2568 // InternalApplicationConfiguration.g:905:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? )
2569 2569 // InternalApplicationConfiguration.g:906:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )?
2570 state._fsp--; 2570 {
2571 2571 // InternalApplicationConfiguration.g:906:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )?
2572 current =iv_ruleMetamodelDeclaration; 2572 int alt14=2;
2573 match(input,EOF,FOLLOW_2); 2573 int LA14_0 = input.LA(1);
2574 2574
2575 } 2575 if ( (LA14_0==RULE_ID) ) {
2576 2576 int LA14_1 = input.LA(2);
2577 } 2577
2578 2578 if ( (LA14_1==11) ) {
2579 catch (RecognitionException re) { 2579 int LA14_2 = input.LA(3);
2580 recover(input,re); 2580
2581 appendSkippedTokens(); 2581 if ( (LA14_2==RULE_ID) ) {
2582 } 2582 int LA14_5 = input.LA(4);
2583 finally { 2583
2584 } 2584 if ( (LA14_5==11||LA14_5==24) ) {
2585 return current; 2585 alt14=1;
2586 } 2586 }
2587 // $ANTLR end "entryRuleMetamodelDeclaration" 2587 }
2588 2588 }
2589 2589 else if ( (LA14_1==24) ) {
2590 // $ANTLR start "ruleMetamodelDeclaration" 2590 alt14=1;
2591 // InternalApplicationConfiguration.g:913:1: ruleMetamodelDeclaration returns [EObject current=null] : (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ; 2591 }
2592 public final EObject ruleMetamodelDeclaration() throws RecognitionException { 2592 }
2593 EObject current = null; 2593 switch (alt14) {
2594 2594 case 1 :
2595 Token otherlv_0=null; 2595 // InternalApplicationConfiguration.g:907:4: ( ( ruleQualifiedName ) ) otherlv_1= '::'
2596 Token lv_name_1_0=null; 2596 {
2597 EObject lv_specification_2_0 = null; 2597 // InternalApplicationConfiguration.g:907:4: ( ( ruleQualifiedName ) )
2598 2598 // InternalApplicationConfiguration.g:908:5: ( ruleQualifiedName )
2599 2599 {
2600 2600 // InternalApplicationConfiguration.g:908:5: ( ruleQualifiedName )
2601 enterRule(); 2601 // InternalApplicationConfiguration.g:909:6: ruleQualifiedName
2602 2602 {
2603 try { 2603
2604 // InternalApplicationConfiguration.g:919:2: ( (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ) 2604 if (current==null) {
2605 // InternalApplicationConfiguration.g:920:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) 2605 current = createModelElement(grammarAccess.getMetamodelElementRule());
2606 { 2606 }
2607 // InternalApplicationConfiguration.g:920:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) 2607
2608 // InternalApplicationConfiguration.g:921:3: otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) 2608
2609 { 2609 newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0());
2610 otherlv_0=(Token)match(input,24,FOLLOW_6); 2610
2611 2611 pushFollow(FOLLOW_18);
2612 newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); 2612 ruleQualifiedName();
2613 2613
2614 // InternalApplicationConfiguration.g:925:3: ( (lv_name_1_0= RULE_ID ) ) 2614 state._fsp--;
2615 // InternalApplicationConfiguration.g:926:4: (lv_name_1_0= RULE_ID ) 2615
2616 { 2616
2617 // InternalApplicationConfiguration.g:926:4: (lv_name_1_0= RULE_ID ) 2617 afterParserOrEnumRuleCall();
2618 // InternalApplicationConfiguration.g:927:5: lv_name_1_0= RULE_ID 2618
2619 { 2619
2620 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); 2620 }
2621 2621
2622 newLeafNode(lv_name_1_0, grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 2622
2623 2623 }
2624 2624
2625 if (current==null) { 2625 otherlv_1=(Token)match(input,24,FOLLOW_6);
2626 current = createModelElement(grammarAccess.getMetamodelDeclarationRule()); 2626
2627 } 2627 newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1());
2628 setWithLastConsumed( 2628
2629 current, 2629
2630 "name", 2630 }
2631 lv_name_1_0, 2631 break;
2632 "org.eclipse.xtext.common.Terminals.ID"); 2632
2633 2633 }
2634 2634
2635 } 2635 // InternalApplicationConfiguration.g:928:3: ( (otherlv_2= RULE_ID ) )
2636 2636 // InternalApplicationConfiguration.g:929:4: (otherlv_2= RULE_ID )
2637 2637 {
2638 } 2638 // InternalApplicationConfiguration.g:929:4: (otherlv_2= RULE_ID )
2639 2639 // InternalApplicationConfiguration.g:930:5: otherlv_2= RULE_ID
2640 // InternalApplicationConfiguration.g:943:3: ( (lv_specification_2_0= ruleMetamodelSpecification ) ) 2640 {
2641 // InternalApplicationConfiguration.g:944:4: (lv_specification_2_0= ruleMetamodelSpecification ) 2641
2642 { 2642 if (current==null) {
2643 // InternalApplicationConfiguration.g:944:4: (lv_specification_2_0= ruleMetamodelSpecification ) 2643 current = createModelElement(grammarAccess.getMetamodelElementRule());
2644 // InternalApplicationConfiguration.g:945:5: lv_specification_2_0= ruleMetamodelSpecification 2644 }
2645 { 2645
2646 2646 otherlv_2=(Token)match(input,RULE_ID,FOLLOW_5);
2647 newCompositeNode(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); 2647
2648 2648 newLeafNode(otherlv_2, grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0());
2649 pushFollow(FOLLOW_2); 2649
2650 lv_specification_2_0=ruleMetamodelSpecification(); 2650
2651 2651 }
2652 state._fsp--; 2652
2653 2653
2654 2654 }
2655 if (current==null) { 2655
2656 current = createModelElementForParent(grammarAccess.getMetamodelDeclarationRule()); 2656 // InternalApplicationConfiguration.g:941:3: (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )?
2657 } 2657 int alt15=2;
2658 set( 2658 int LA15_0 = input.LA(1);
2659 current, 2659
2660 "specification", 2660 if ( (LA15_0==11) ) {
2661 lv_specification_2_0, 2661 alt15=1;
2662 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification"); 2662 }
2663 afterParserOrEnumRuleCall(); 2663 switch (alt15) {
2664 2664 case 1 :
2665 2665 // InternalApplicationConfiguration.g:942:4: otherlv_3= '.' ( (otherlv_4= RULE_ID ) )
2666 } 2666 {
2667 2667 otherlv_3=(Token)match(input,11,FOLLOW_6);
2668 2668
2669 } 2669 newLeafNode(otherlv_3, grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0());
2670 2670
2671 2671 // InternalApplicationConfiguration.g:946:4: ( (otherlv_4= RULE_ID ) )
2672 } 2672 // InternalApplicationConfiguration.g:947:5: (otherlv_4= RULE_ID )
2673 2673 {
2674 2674 // InternalApplicationConfiguration.g:947:5: (otherlv_4= RULE_ID )
2675 } 2675 // InternalApplicationConfiguration.g:948:6: otherlv_4= RULE_ID
2676 2676 {
2677 2677
2678 leaveRule(); 2678 if (current==null) {
2679 2679 current = createModelElement(grammarAccess.getMetamodelElementRule());
2680 } 2680 }
2681 2681
2682 catch (RecognitionException re) { 2682 otherlv_4=(Token)match(input,RULE_ID,FOLLOW_2);
2683 recover(input,re); 2683
2684 appendSkippedTokens(); 2684 newLeafNode(otherlv_4, grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0());
2685 } 2685
2686 finally { 2686
2687 } 2687 }
2688 return current; 2688
2689 } 2689
2690 // $ANTLR end "ruleMetamodelDeclaration" 2690 }
2691 2691
2692 2692
2693 // $ANTLR start "entryRuleMetamodelReference" 2693 }
2694 // InternalApplicationConfiguration.g:966:1: entryRuleMetamodelReference returns [EObject current=null] : iv_ruleMetamodelReference= ruleMetamodelReference EOF ; 2694 break;
2695 public final EObject entryRuleMetamodelReference() throws RecognitionException { 2695
2696 EObject current = null; 2696 }
2697 2697
2698 EObject iv_ruleMetamodelReference = null; 2698
2699 2699 }
2700 2700
2701 try { 2701
2702 // InternalApplicationConfiguration.g:966:59: (iv_ruleMetamodelReference= ruleMetamodelReference EOF ) 2702 }
2703 // InternalApplicationConfiguration.g:967:2: iv_ruleMetamodelReference= ruleMetamodelReference EOF 2703
2704 { 2704
2705 newCompositeNode(grammarAccess.getMetamodelReferenceRule()); 2705 leaveRule();
2706 pushFollow(FOLLOW_1); 2706
2707 iv_ruleMetamodelReference=ruleMetamodelReference(); 2707 }
2708 2708
2709 state._fsp--; 2709 catch (RecognitionException re) {
2710 2710 recover(input,re);
2711 current =iv_ruleMetamodelReference; 2711 appendSkippedTokens();
2712 match(input,EOF,FOLLOW_2); 2712 }
2713 2713 finally {
2714 } 2714 }
2715 2715 return current;
2716 } 2716 }
2717 2717 // $ANTLR end "ruleMetamodelElement"
2718 catch (RecognitionException re) { 2718
2719 recover(input,re); 2719
2720 appendSkippedTokens(); 2720 // $ANTLR start "entryRuleMetamodelDeclaration"
2721 } 2721 // InternalApplicationConfiguration.g:964:1: entryRuleMetamodelDeclaration returns [EObject current=null] : iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ;
2722 finally { 2722 public final EObject entryRuleMetamodelDeclaration() throws RecognitionException {
2723 } 2723 EObject current = null;
2724 return current; 2724
2725 } 2725 EObject iv_ruleMetamodelDeclaration = null;
2726 // $ANTLR end "entryRuleMetamodelReference" 2726
2727 2727
2728 2728 try {
2729 // $ANTLR start "ruleMetamodelReference" 2729 // InternalApplicationConfiguration.g:964:61: (iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF )
2730 // InternalApplicationConfiguration.g:973:1: ruleMetamodelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; 2730 // InternalApplicationConfiguration.g:965:2: iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF
2731 public final EObject ruleMetamodelReference() throws RecognitionException { 2731 {
2732 EObject current = null; 2732 newCompositeNode(grammarAccess.getMetamodelDeclarationRule());
2733 2733 pushFollow(FOLLOW_1);
2734 Token otherlv_0=null; 2734 iv_ruleMetamodelDeclaration=ruleMetamodelDeclaration();
2735 2735
2736 2736 state._fsp--;
2737 enterRule(); 2737
2738 2738 current =iv_ruleMetamodelDeclaration;
2739 try { 2739 match(input,EOF,FOLLOW_2);
2740 // InternalApplicationConfiguration.g:979:2: ( ( (otherlv_0= RULE_ID ) ) ) 2740
2741 // InternalApplicationConfiguration.g:980:2: ( (otherlv_0= RULE_ID ) ) 2741 }
2742 { 2742
2743 // InternalApplicationConfiguration.g:980:2: ( (otherlv_0= RULE_ID ) ) 2743 }
2744 // InternalApplicationConfiguration.g:981:3: (otherlv_0= RULE_ID ) 2744
2745 { 2745 catch (RecognitionException re) {
2746 // InternalApplicationConfiguration.g:981:3: (otherlv_0= RULE_ID ) 2746 recover(input,re);
2747 // InternalApplicationConfiguration.g:982:4: otherlv_0= RULE_ID 2747 appendSkippedTokens();
2748 { 2748 }
2749 2749 finally {
2750 if (current==null) { 2750 }
2751 current = createModelElement(grammarAccess.getMetamodelReferenceRule()); 2751 return current;
2752 } 2752 }
2753 2753 // $ANTLR end "entryRuleMetamodelDeclaration"
2754 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); 2754
2755 2755
2756 newLeafNode(otherlv_0, grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); 2756 // $ANTLR start "ruleMetamodelDeclaration"
2757 2757 // InternalApplicationConfiguration.g:971:1: ruleMetamodelDeclaration returns [EObject current=null] : (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ;
2758 2758 public final EObject ruleMetamodelDeclaration() throws RecognitionException {
2759 } 2759 EObject current = null;
2760 2760
2761 2761 Token otherlv_0=null;
2762 } 2762 Token lv_name_1_0=null;
2763 2763 EObject lv_specification_2_0 = null;
2764 2764
2765 } 2765
2766 2766
2767 2767 enterRule();
2768 leaveRule(); 2768
2769 2769 try {
2770 } 2770 // InternalApplicationConfiguration.g:977:2: ( (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) )
2771 2771 // InternalApplicationConfiguration.g:978:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) )
2772 catch (RecognitionException re) { 2772 {
2773 recover(input,re); 2773 // InternalApplicationConfiguration.g:978:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) )
2774 appendSkippedTokens(); 2774 // InternalApplicationConfiguration.g:979:3: otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) )
2775 } 2775 {
2776 finally { 2776 otherlv_0=(Token)match(input,25,FOLLOW_6);
2777 } 2777
2778 return current; 2778 newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0());
2779 } 2779
2780 // $ANTLR end "ruleMetamodelReference" 2780 // InternalApplicationConfiguration.g:983:3: ( (lv_name_1_0= RULE_ID ) )
2781 2781 // InternalApplicationConfiguration.g:984:4: (lv_name_1_0= RULE_ID )
2782 2782 {
2783 // $ANTLR start "entryRuleMetamodel" 2783 // InternalApplicationConfiguration.g:984:4: (lv_name_1_0= RULE_ID )
2784 // InternalApplicationConfiguration.g:996:1: entryRuleMetamodel returns [EObject current=null] : iv_ruleMetamodel= ruleMetamodel EOF ; 2784 // InternalApplicationConfiguration.g:985:5: lv_name_1_0= RULE_ID
2785 public final EObject entryRuleMetamodel() throws RecognitionException { 2785 {
2786 EObject current = null; 2786 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17);
2787 2787
2788 EObject iv_ruleMetamodel = null; 2788 newLeafNode(lv_name_1_0, grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0());
2789 2789
2790 2790
2791 try { 2791 if (current==null) {
2792 // InternalApplicationConfiguration.g:996:50: (iv_ruleMetamodel= ruleMetamodel EOF ) 2792 current = createModelElement(grammarAccess.getMetamodelDeclarationRule());
2793 // InternalApplicationConfiguration.g:997:2: iv_ruleMetamodel= ruleMetamodel EOF 2793 }
2794 { 2794 setWithLastConsumed(
2795 newCompositeNode(grammarAccess.getMetamodelRule()); 2795 current,
2796 pushFollow(FOLLOW_1); 2796 "name",
2797 iv_ruleMetamodel=ruleMetamodel(); 2797 lv_name_1_0,
2798 2798 "org.eclipse.xtext.common.Terminals.ID");
2799 state._fsp--; 2799
2800 2800
2801 current =iv_ruleMetamodel; 2801 }
2802 match(input,EOF,FOLLOW_2); 2802
2803 2803
2804 } 2804 }
2805 2805
2806 } 2806 // InternalApplicationConfiguration.g:1001:3: ( (lv_specification_2_0= ruleMetamodelSpecification ) )
2807 2807 // InternalApplicationConfiguration.g:1002:4: (lv_specification_2_0= ruleMetamodelSpecification )
2808 catch (RecognitionException re) { 2808 {
2809 recover(input,re); 2809 // InternalApplicationConfiguration.g:1002:4: (lv_specification_2_0= ruleMetamodelSpecification )
2810 appendSkippedTokens(); 2810 // InternalApplicationConfiguration.g:1003:5: lv_specification_2_0= ruleMetamodelSpecification
2811 } 2811 {
2812 finally { 2812
2813 } 2813 newCompositeNode(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0());
2814 return current; 2814
2815 } 2815 pushFollow(FOLLOW_2);
2816 // $ANTLR end "entryRuleMetamodel" 2816 lv_specification_2_0=ruleMetamodelSpecification();
2817 2817
2818 2818 state._fsp--;
2819 // $ANTLR start "ruleMetamodel" 2819
2820 // InternalApplicationConfiguration.g:1003:1: ruleMetamodel returns [EObject current=null] : (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ; 2820
2821 public final EObject ruleMetamodel() throws RecognitionException { 2821 if (current==null) {
2822 EObject current = null; 2822 current = createModelElementForParent(grammarAccess.getMetamodelDeclarationRule());
2823 2823 }
2824 EObject this_MetamodelReference_0 = null; 2824 set(
2825 2825 current,
2826 EObject this_MetamodelSpecification_1 = null; 2826 "specification",
2827 2827 lv_specification_2_0,
2828 2828 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification");
2829 2829 afterParserOrEnumRuleCall();
2830 enterRule(); 2830
2831 2831
2832 try { 2832 }
2833 // InternalApplicationConfiguration.g:1009:2: ( (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ) 2833
2834 // InternalApplicationConfiguration.g:1010:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) 2834
2835 { 2835 }
2836 // InternalApplicationConfiguration.g:1010:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) 2836
2837 int alt16=2; 2837
2838 int LA16_0 = input.LA(1); 2838 }
2839 2839
2840 if ( (LA16_0==RULE_ID) ) { 2840
2841 alt16=1; 2841 }
2842 } 2842
2843 else if ( (LA16_0==18) ) { 2843
2844 alt16=2; 2844 leaveRule();
2845 } 2845
2846 else { 2846 }
2847 NoViableAltException nvae = 2847
2848 new NoViableAltException("", 16, 0, input); 2848 catch (RecognitionException re) {
2849 2849 recover(input,re);
2850 throw nvae; 2850 appendSkippedTokens();
2851 } 2851 }
2852 switch (alt16) { 2852 finally {
2853 case 1 : 2853 }
2854 // InternalApplicationConfiguration.g:1011:3: this_MetamodelReference_0= ruleMetamodelReference 2854 return current;
2855 { 2855 }
2856 2856 // $ANTLR end "ruleMetamodelDeclaration"
2857 newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); 2857
2858 2858
2859 pushFollow(FOLLOW_2); 2859 // $ANTLR start "entryRuleMetamodelReference"
2860 this_MetamodelReference_0=ruleMetamodelReference(); 2860 // InternalApplicationConfiguration.g:1024:1: entryRuleMetamodelReference returns [EObject current=null] : iv_ruleMetamodelReference= ruleMetamodelReference EOF ;
2861 2861 public final EObject entryRuleMetamodelReference() throws RecognitionException {
2862 state._fsp--; 2862 EObject current = null;
2863 2863
2864 2864 EObject iv_ruleMetamodelReference = null;
2865 current = this_MetamodelReference_0; 2865
2866 afterParserOrEnumRuleCall(); 2866
2867 2867 try {
2868 2868 // InternalApplicationConfiguration.g:1024:59: (iv_ruleMetamodelReference= ruleMetamodelReference EOF )
2869 } 2869 // InternalApplicationConfiguration.g:1025:2: iv_ruleMetamodelReference= ruleMetamodelReference EOF
2870 break; 2870 {
2871 case 2 : 2871 newCompositeNode(grammarAccess.getMetamodelReferenceRule());
2872 // InternalApplicationConfiguration.g:1020:3: this_MetamodelSpecification_1= ruleMetamodelSpecification 2872 pushFollow(FOLLOW_1);
2873 { 2873 iv_ruleMetamodelReference=ruleMetamodelReference();
2874 2874
2875 newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); 2875 state._fsp--;
2876 2876
2877 pushFollow(FOLLOW_2); 2877 current =iv_ruleMetamodelReference;
2878 this_MetamodelSpecification_1=ruleMetamodelSpecification(); 2878 match(input,EOF,FOLLOW_2);
2879 2879
2880 state._fsp--; 2880 }
2881 2881
2882 2882 }
2883 current = this_MetamodelSpecification_1; 2883
2884 afterParserOrEnumRuleCall(); 2884 catch (RecognitionException re) {
2885 2885 recover(input,re);
2886 2886 appendSkippedTokens();
2887 } 2887 }
2888 break; 2888 finally {
2889 2889 }
2890 } 2890 return current;
2891 2891 }
2892 2892 // $ANTLR end "entryRuleMetamodelReference"
2893 } 2893
2894 2894
2895 2895 // $ANTLR start "ruleMetamodelReference"
2896 leaveRule(); 2896 // InternalApplicationConfiguration.g:1031:1: ruleMetamodelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
2897 2897 public final EObject ruleMetamodelReference() throws RecognitionException {
2898 } 2898 EObject current = null;
2899 2899
2900 catch (RecognitionException re) { 2900 Token otherlv_0=null;
2901 recover(input,re); 2901
2902 appendSkippedTokens(); 2902
2903 } 2903 enterRule();
2904 finally { 2904
2905 } 2905 try {
2906 return current; 2906 // InternalApplicationConfiguration.g:1037:2: ( ( (otherlv_0= RULE_ID ) ) )
2907 } 2907 // InternalApplicationConfiguration.g:1038:2: ( (otherlv_0= RULE_ID ) )
2908 // $ANTLR end "ruleMetamodel" 2908 {
2909 2909 // InternalApplicationConfiguration.g:1038:2: ( (otherlv_0= RULE_ID ) )
2910 2910 // InternalApplicationConfiguration.g:1039:3: (otherlv_0= RULE_ID )
2911 // $ANTLR start "entryRulePartialModelSpecification" 2911 {
2912 // InternalApplicationConfiguration.g:1032:1: entryRulePartialModelSpecification returns [EObject current=null] : iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ; 2912 // InternalApplicationConfiguration.g:1039:3: (otherlv_0= RULE_ID )
2913 public final EObject entryRulePartialModelSpecification() throws RecognitionException { 2913 // InternalApplicationConfiguration.g:1040:4: otherlv_0= RULE_ID
2914 EObject current = null; 2914 {
2915 2915
2916 EObject iv_rulePartialModelSpecification = null; 2916 if (current==null) {
2917 2917 current = createModelElement(grammarAccess.getMetamodelReferenceRule());
2918 2918 }
2919 try { 2919
2920 // InternalApplicationConfiguration.g:1032:66: (iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ) 2920 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2);
2921 // InternalApplicationConfiguration.g:1033:2: iv_rulePartialModelSpecification= rulePartialModelSpecification EOF 2921
2922 { 2922 newLeafNode(otherlv_0, grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0());
2923 newCompositeNode(grammarAccess.getPartialModelSpecificationRule()); 2923
2924 pushFollow(FOLLOW_1); 2924
2925 iv_rulePartialModelSpecification=rulePartialModelSpecification(); 2925 }
2926 2926
2927 state._fsp--; 2927
2928 2928 }
2929 current =iv_rulePartialModelSpecification; 2929
2930 match(input,EOF,FOLLOW_2); 2930
2931 2931 }
2932 } 2932
2933 2933
2934 } 2934 leaveRule();
2935 2935
2936 catch (RecognitionException re) { 2936 }
2937 recover(input,re); 2937
2938 appendSkippedTokens(); 2938 catch (RecognitionException re) {
2939 } 2939 recover(input,re);
2940 finally { 2940 appendSkippedTokens();
2941 } 2941 }
2942 return current; 2942 finally {
2943 } 2943 }
2944 // $ANTLR end "entryRulePartialModelSpecification" 2944 return current;
2945 2945 }
2946 2946 // $ANTLR end "ruleMetamodelReference"
2947 // $ANTLR start "rulePartialModelSpecification" 2947
2948 // InternalApplicationConfiguration.g:1039:1: rulePartialModelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ; 2948
2949 public final EObject rulePartialModelSpecification() throws RecognitionException { 2949 // $ANTLR start "entryRuleMetamodel"
2950 EObject current = null; 2950 // InternalApplicationConfiguration.g:1054:1: entryRuleMetamodel returns [EObject current=null] : iv_ruleMetamodel= ruleMetamodel EOF ;
2951 2951 public final EObject entryRuleMetamodel() throws RecognitionException {
2952 Token otherlv_0=null; 2952 EObject current = null;
2953 Token otherlv_2=null; 2953
2954 Token otherlv_4=null; 2954 EObject iv_ruleMetamodel = null;
2955 EObject lv_entry_1_0 = null; 2955
2956 2956
2957 EObject lv_entry_3_0 = null; 2957 try {
2958 2958 // InternalApplicationConfiguration.g:1054:50: (iv_ruleMetamodel= ruleMetamodel EOF )
2959 2959 // InternalApplicationConfiguration.g:1055:2: iv_ruleMetamodel= ruleMetamodel EOF
2960 2960 {
2961 enterRule(); 2961 newCompositeNode(grammarAccess.getMetamodelRule());
2962 2962 pushFollow(FOLLOW_1);
2963 try { 2963 iv_ruleMetamodel=ruleMetamodel();
2964 // InternalApplicationConfiguration.g:1045:2: ( (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ) 2964
2965 // InternalApplicationConfiguration.g:1046:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) 2965 state._fsp--;
2966 { 2966
2967 // InternalApplicationConfiguration.g:1046:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) 2967 current =iv_ruleMetamodel;
2968 // InternalApplicationConfiguration.g:1047:3: otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' 2968 match(input,EOF,FOLLOW_2);
2969 { 2969
2970 otherlv_0=(Token)match(input,18,FOLLOW_18); 2970 }
2971 2971
2972 newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); 2972 }
2973 2973
2974 // InternalApplicationConfiguration.g:1051:3: ( (lv_entry_1_0= rulePartialModelEntry ) ) 2974 catch (RecognitionException re) {
2975 // InternalApplicationConfiguration.g:1052:4: (lv_entry_1_0= rulePartialModelEntry ) 2975 recover(input,re);
2976 { 2976 appendSkippedTokens();
2977 // InternalApplicationConfiguration.g:1052:4: (lv_entry_1_0= rulePartialModelEntry ) 2977 }
2978 // InternalApplicationConfiguration.g:1053:5: lv_entry_1_0= rulePartialModelEntry 2978 finally {
2979 { 2979 }
2980 2980 return current;
2981 newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); 2981 }
2982 2982 // $ANTLR end "entryRuleMetamodel"
2983 pushFollow(FOLLOW_14); 2983
2984 lv_entry_1_0=rulePartialModelEntry(); 2984
2985 2985 // $ANTLR start "ruleMetamodel"
2986 state._fsp--; 2986 // InternalApplicationConfiguration.g:1061:1: ruleMetamodel returns [EObject current=null] : (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ;
2987 2987 public final EObject ruleMetamodel() throws RecognitionException {
2988 2988 EObject current = null;
2989 if (current==null) { 2989
2990 current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); 2990 EObject this_MetamodelReference_0 = null;
2991 } 2991
2992 add( 2992 EObject this_MetamodelSpecification_1 = null;
2993 current, 2993
2994 "entry", 2994
2995 lv_entry_1_0, 2995
2996 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); 2996 enterRule();
2997 afterParserOrEnumRuleCall(); 2997
2998 2998 try {
2999 2999 // InternalApplicationConfiguration.g:1067:2: ( (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) )
3000 } 3000 // InternalApplicationConfiguration.g:1068:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification )
3001 3001 {
3002 3002 // InternalApplicationConfiguration.g:1068:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification )
3003 } 3003 int alt16=2;
3004 3004 int LA16_0 = input.LA(1);
3005 // InternalApplicationConfiguration.g:1070:3: (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? 3005
3006 int alt17=2; 3006 if ( (LA16_0==RULE_ID) ) {
3007 int LA17_0 = input.LA(1); 3007 alt16=1;
3008 3008 }
3009 if ( (LA17_0==19) ) { 3009 else if ( (LA16_0==19) ) {
3010 alt17=1; 3010 alt16=2;
3011 } 3011 }
3012 switch (alt17) { 3012 else {
3013 case 1 : 3013 NoViableAltException nvae =
3014 // InternalApplicationConfiguration.g:1071:4: otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) 3014 new NoViableAltException("", 16, 0, input);
3015 { 3015
3016 otherlv_2=(Token)match(input,19,FOLLOW_18); 3016 throw nvae;
3017 3017 }
3018 newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); 3018 switch (alt16) {
3019 3019 case 1 :
3020 // InternalApplicationConfiguration.g:1075:4: ( (lv_entry_3_0= rulePartialModelEntry ) ) 3020 // InternalApplicationConfiguration.g:1069:3: this_MetamodelReference_0= ruleMetamodelReference
3021 // InternalApplicationConfiguration.g:1076:5: (lv_entry_3_0= rulePartialModelEntry ) 3021 {
3022 { 3022
3023 // InternalApplicationConfiguration.g:1076:5: (lv_entry_3_0= rulePartialModelEntry ) 3023 newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0());
3024 // InternalApplicationConfiguration.g:1077:6: lv_entry_3_0= rulePartialModelEntry 3024
3025 { 3025 pushFollow(FOLLOW_2);
3026 3026 this_MetamodelReference_0=ruleMetamodelReference();
3027 newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); 3027
3028 3028 state._fsp--;
3029 pushFollow(FOLLOW_19); 3029
3030 lv_entry_3_0=rulePartialModelEntry(); 3030
3031 3031 current = this_MetamodelReference_0;
3032 state._fsp--; 3032 afterParserOrEnumRuleCall();
3033 3033
3034 3034
3035 if (current==null) { 3035 }
3036 current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); 3036 break;
3037 } 3037 case 2 :
3038 add( 3038 // InternalApplicationConfiguration.g:1078:3: this_MetamodelSpecification_1= ruleMetamodelSpecification
3039 current, 3039 {
3040 "entry", 3040
3041 lv_entry_3_0, 3041 newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1());
3042 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); 3042
3043 afterParserOrEnumRuleCall(); 3043 pushFollow(FOLLOW_2);
3044 3044 this_MetamodelSpecification_1=ruleMetamodelSpecification();
3045 3045
3046 } 3046 state._fsp--;
3047 3047
3048 3048
3049 } 3049 current = this_MetamodelSpecification_1;
3050 3050 afterParserOrEnumRuleCall();
3051 3051
3052 } 3052
3053 break; 3053 }
3054 3054 break;
3055 } 3055
3056 3056 }
3057 otherlv_4=(Token)match(input,20,FOLLOW_2); 3057
3058 3058
3059 newLeafNode(otherlv_4, grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); 3059 }
3060 3060
3061 3061
3062 } 3062 leaveRule();
3063 3063
3064 3064 }
3065 } 3065
3066 3066 catch (RecognitionException re) {
3067 3067 recover(input,re);
3068 leaveRule(); 3068 appendSkippedTokens();
3069 3069 }
3070 } 3070 finally {
3071 3071 }
3072 catch (RecognitionException re) { 3072 return current;
3073 recover(input,re); 3073 }
3074 appendSkippedTokens(); 3074 // $ANTLR end "ruleMetamodel"
3075 } 3075
3076 finally { 3076
3077 } 3077 // $ANTLR start "entryRulePartialModelSpecification"
3078 return current; 3078 // InternalApplicationConfiguration.g:1090:1: entryRulePartialModelSpecification returns [EObject current=null] : iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ;
3079 } 3079 public final EObject entryRulePartialModelSpecification() throws RecognitionException {
3080 // $ANTLR end "rulePartialModelSpecification" 3080 EObject current = null;
3081 3081
3082 3082 EObject iv_rulePartialModelSpecification = null;
3083 // $ANTLR start "entryRulePartialModelEntry" 3083
3084 // InternalApplicationConfiguration.g:1103:1: entryRulePartialModelEntry returns [EObject current=null] : iv_rulePartialModelEntry= rulePartialModelEntry EOF ; 3084
3085 public final EObject entryRulePartialModelEntry() throws RecognitionException { 3085 try {
3086 EObject current = null; 3086 // InternalApplicationConfiguration.g:1090:66: (iv_rulePartialModelSpecification= rulePartialModelSpecification EOF )
3087 3087 // InternalApplicationConfiguration.g:1091:2: iv_rulePartialModelSpecification= rulePartialModelSpecification EOF
3088 EObject iv_rulePartialModelEntry = null; 3088 {
3089 3089 newCompositeNode(grammarAccess.getPartialModelSpecificationRule());
3090 3090 pushFollow(FOLLOW_1);
3091 try { 3091 iv_rulePartialModelSpecification=rulePartialModelSpecification();
3092 // InternalApplicationConfiguration.g:1103:58: (iv_rulePartialModelEntry= rulePartialModelEntry EOF ) 3092
3093 // InternalApplicationConfiguration.g:1104:2: iv_rulePartialModelEntry= rulePartialModelEntry EOF 3093 state._fsp--;
3094 { 3094
3095 newCompositeNode(grammarAccess.getPartialModelEntryRule()); 3095 current =iv_rulePartialModelSpecification;
3096 pushFollow(FOLLOW_1); 3096 match(input,EOF,FOLLOW_2);
3097 iv_rulePartialModelEntry=rulePartialModelEntry(); 3097
3098 3098 }
3099 state._fsp--; 3099
3100 3100 }
3101 current =iv_rulePartialModelEntry; 3101
3102 match(input,EOF,FOLLOW_2); 3102 catch (RecognitionException re) {
3103 3103 recover(input,re);
3104 } 3104 appendSkippedTokens();
3105 3105 }
3106 } 3106 finally {
3107 3107 }
3108 catch (RecognitionException re) { 3108 return current;
3109 recover(input,re); 3109 }
3110 appendSkippedTokens(); 3110 // $ANTLR end "entryRulePartialModelSpecification"
3111 } 3111
3112 finally { 3112
3113 } 3113 // $ANTLR start "rulePartialModelSpecification"
3114 return current; 3114 // InternalApplicationConfiguration.g:1097:1: rulePartialModelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ;
3115 } 3115 public final EObject rulePartialModelSpecification() throws RecognitionException {
3116 // $ANTLR end "entryRulePartialModelEntry" 3116 EObject current = null;
3117 3117
3118 3118 Token otherlv_0=null;
3119 // $ANTLR start "rulePartialModelEntry" 3119 Token otherlv_2=null;
3120 // InternalApplicationConfiguration.g:1110:1: rulePartialModelEntry returns [EObject current=null] : (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ; 3120 Token otherlv_4=null;
3121 public final EObject rulePartialModelEntry() throws RecognitionException { 3121 EObject lv_entry_1_0 = null;
3122 EObject current = null; 3122
3123 3123 EObject lv_entry_3_0 = null;
3124 EObject this_ModelEntry_0 = null; 3124
3125 3125
3126 EObject this_FolderEntry_1 = null; 3126
3127 3127 enterRule();
3128 3128
3129 3129 try {
3130 enterRule(); 3130 // InternalApplicationConfiguration.g:1103:2: ( (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) )
3131 3131 // InternalApplicationConfiguration.g:1104:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' )
3132 try { 3132 {
3133 // InternalApplicationConfiguration.g:1116:2: ( (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ) 3133 // InternalApplicationConfiguration.g:1104:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' )
3134 // InternalApplicationConfiguration.g:1117:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) 3134 // InternalApplicationConfiguration.g:1105:3: otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}'
3135 { 3135 {
3136 // InternalApplicationConfiguration.g:1117:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) 3136 otherlv_0=(Token)match(input,19,FOLLOW_19);
3137 int alt18=2; 3137
3138 int LA18_0 = input.LA(1); 3138 newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0());
3139 3139
3140 if ( (LA18_0==RULE_ID||LA18_0==RULE_STRING) ) { 3140 // InternalApplicationConfiguration.g:1109:3: ( (lv_entry_1_0= rulePartialModelEntry ) )
3141 alt18=1; 3141 // InternalApplicationConfiguration.g:1110:4: (lv_entry_1_0= rulePartialModelEntry )
3142 } 3142 {
3143 else if ( (LA18_0==25) ) { 3143 // InternalApplicationConfiguration.g:1110:4: (lv_entry_1_0= rulePartialModelEntry )
3144 alt18=2; 3144 // InternalApplicationConfiguration.g:1111:5: lv_entry_1_0= rulePartialModelEntry
3145 } 3145 {
3146 else { 3146
3147 NoViableAltException nvae = 3147 newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0());
3148 new NoViableAltException("", 18, 0, input); 3148
3149 3149 pushFollow(FOLLOW_15);
3150 throw nvae; 3150 lv_entry_1_0=rulePartialModelEntry();
3151 } 3151
3152 switch (alt18) { 3152 state._fsp--;
3153 case 1 : 3153
3154 // InternalApplicationConfiguration.g:1118:3: this_ModelEntry_0= ruleModelEntry 3154
3155 { 3155 if (current==null) {
3156 3156 current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule());
3157 newCompositeNode(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); 3157 }
3158 3158 add(
3159 pushFollow(FOLLOW_2); 3159 current,
3160 this_ModelEntry_0=ruleModelEntry(); 3160 "entry",
3161 3161 lv_entry_1_0,
3162 state._fsp--; 3162 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry");
3163 3163 afterParserOrEnumRuleCall();
3164 3164
3165 current = this_ModelEntry_0; 3165
3166 afterParserOrEnumRuleCall(); 3166 }
3167 3167
3168 3168
3169 } 3169 }
3170 break; 3170
3171 case 2 : 3171 // InternalApplicationConfiguration.g:1128:3: (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )?
3172 // InternalApplicationConfiguration.g:1127:3: this_FolderEntry_1= ruleFolderEntry 3172 int alt17=2;
3173 { 3173 int LA17_0 = input.LA(1);
3174 3174
3175 newCompositeNode(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); 3175 if ( (LA17_0==20) ) {
3176 3176 alt17=1;
3177 pushFollow(FOLLOW_2); 3177 }
3178 this_FolderEntry_1=ruleFolderEntry(); 3178 switch (alt17) {
3179 3179 case 1 :
3180 state._fsp--; 3180 // InternalApplicationConfiguration.g:1129:4: otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) )
3181 3181 {
3182 3182 otherlv_2=(Token)match(input,20,FOLLOW_19);
3183 current = this_FolderEntry_1; 3183
3184 afterParserOrEnumRuleCall(); 3184 newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0());
3185 3185
3186 3186 // InternalApplicationConfiguration.g:1133:4: ( (lv_entry_3_0= rulePartialModelEntry ) )
3187 } 3187 // InternalApplicationConfiguration.g:1134:5: (lv_entry_3_0= rulePartialModelEntry )
3188 break; 3188 {
3189 3189 // InternalApplicationConfiguration.g:1134:5: (lv_entry_3_0= rulePartialModelEntry )
3190 } 3190 // InternalApplicationConfiguration.g:1135:6: lv_entry_3_0= rulePartialModelEntry
3191 3191 {
3192 3192
3193 } 3193 newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0());
3194 3194
3195 3195 pushFollow(FOLLOW_20);
3196 leaveRule(); 3196 lv_entry_3_0=rulePartialModelEntry();
3197 3197
3198 } 3198 state._fsp--;
3199 3199
3200 catch (RecognitionException re) { 3200
3201 recover(input,re); 3201 if (current==null) {
3202 appendSkippedTokens(); 3202 current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule());
3203 } 3203 }
3204 finally { 3204 add(
3205 } 3205 current,
3206 return current; 3206 "entry",
3207 } 3207 lv_entry_3_0,
3208 // $ANTLR end "rulePartialModelEntry" 3208 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry");
3209 3209 afterParserOrEnumRuleCall();
3210 3210
3211 // $ANTLR start "entryRuleModelEntry" 3211
3212 // InternalApplicationConfiguration.g:1139:1: entryRuleModelEntry returns [EObject current=null] : iv_ruleModelEntry= ruleModelEntry EOF ; 3212 }
3213 public final EObject entryRuleModelEntry() throws RecognitionException { 3213
3214 EObject current = null; 3214
3215 3215 }
3216 EObject iv_ruleModelEntry = null; 3216
3217 3217
3218 3218 }
3219 try { 3219 break;
3220 // InternalApplicationConfiguration.g:1139:51: (iv_ruleModelEntry= ruleModelEntry EOF ) 3220
3221 // InternalApplicationConfiguration.g:1140:2: iv_ruleModelEntry= ruleModelEntry EOF 3221 }
3222 { 3222
3223 newCompositeNode(grammarAccess.getModelEntryRule()); 3223 otherlv_4=(Token)match(input,21,FOLLOW_2);
3224 pushFollow(FOLLOW_1); 3224
3225 iv_ruleModelEntry=ruleModelEntry(); 3225 newLeafNode(otherlv_4, grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3());
3226 3226
3227 state._fsp--; 3227
3228 3228 }
3229 current =iv_ruleModelEntry; 3229
3230 match(input,EOF,FOLLOW_2); 3230
3231 3231 }
3232 } 3232
3233 3233
3234 } 3234 leaveRule();
3235 3235
3236 catch (RecognitionException re) { 3236 }
3237 recover(input,re); 3237
3238 appendSkippedTokens(); 3238 catch (RecognitionException re) {
3239 } 3239 recover(input,re);
3240 finally { 3240 appendSkippedTokens();
3241 } 3241 }
3242 return current; 3242 finally {
3243 } 3243 }
3244 // $ANTLR end "entryRuleModelEntry" 3244 return current;
3245 3245 }
3246 3246 // $ANTLR end "rulePartialModelSpecification"
3247 // $ANTLR start "ruleModelEntry" 3247
3248 // InternalApplicationConfiguration.g:1146:1: ruleModelEntry returns [EObject current=null] : ( (lv_path_0_0= ruleFile ) ) ; 3248
3249 public final EObject ruleModelEntry() throws RecognitionException { 3249 // $ANTLR start "entryRulePartialModelEntry"
3250 EObject current = null; 3250 // InternalApplicationConfiguration.g:1161:1: entryRulePartialModelEntry returns [EObject current=null] : iv_rulePartialModelEntry= rulePartialModelEntry EOF ;
3251 3251 public final EObject entryRulePartialModelEntry() throws RecognitionException {
3252 EObject lv_path_0_0 = null; 3252 EObject current = null;
3253 3253
3254 3254 EObject iv_rulePartialModelEntry = null;
3255 3255
3256 enterRule(); 3256
3257 3257 try {
3258 try { 3258 // InternalApplicationConfiguration.g:1161:58: (iv_rulePartialModelEntry= rulePartialModelEntry EOF )
3259 // InternalApplicationConfiguration.g:1152:2: ( ( (lv_path_0_0= ruleFile ) ) ) 3259 // InternalApplicationConfiguration.g:1162:2: iv_rulePartialModelEntry= rulePartialModelEntry EOF
3260 // InternalApplicationConfiguration.g:1153:2: ( (lv_path_0_0= ruleFile ) ) 3260 {
3261 { 3261 newCompositeNode(grammarAccess.getPartialModelEntryRule());
3262 // InternalApplicationConfiguration.g:1153:2: ( (lv_path_0_0= ruleFile ) ) 3262 pushFollow(FOLLOW_1);
3263 // InternalApplicationConfiguration.g:1154:3: (lv_path_0_0= ruleFile ) 3263 iv_rulePartialModelEntry=rulePartialModelEntry();
3264 { 3264
3265 // InternalApplicationConfiguration.g:1154:3: (lv_path_0_0= ruleFile ) 3265 state._fsp--;
3266 // InternalApplicationConfiguration.g:1155:4: lv_path_0_0= ruleFile 3266
3267 { 3267 current =iv_rulePartialModelEntry;
3268 3268 match(input,EOF,FOLLOW_2);
3269 newCompositeNode(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); 3269
3270 3270 }
3271 pushFollow(FOLLOW_2); 3271
3272 lv_path_0_0=ruleFile(); 3272 }
3273 3273
3274 state._fsp--; 3274 catch (RecognitionException re) {
3275 3275 recover(input,re);
3276 3276 appendSkippedTokens();
3277 if (current==null) { 3277 }
3278 current = createModelElementForParent(grammarAccess.getModelEntryRule()); 3278 finally {
3279 } 3279 }
3280 set( 3280 return current;
3281 current, 3281 }
3282 "path", 3282 // $ANTLR end "entryRulePartialModelEntry"
3283 lv_path_0_0, 3283
3284 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 3284
3285 afterParserOrEnumRuleCall(); 3285 // $ANTLR start "rulePartialModelEntry"
3286 3286 // InternalApplicationConfiguration.g:1168:1: rulePartialModelEntry returns [EObject current=null] : (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ;
3287 3287 public final EObject rulePartialModelEntry() throws RecognitionException {
3288 } 3288 EObject current = null;
3289 3289
3290 3290 EObject this_ModelEntry_0 = null;
3291 } 3291
3292 3292 EObject this_FolderEntry_1 = null;
3293 3293
3294 } 3294
3295 3295
3296 3296 enterRule();
3297 leaveRule(); 3297
3298 3298 try {
3299 } 3299 // InternalApplicationConfiguration.g:1174:2: ( (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) )
3300 3300 // InternalApplicationConfiguration.g:1175:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry )
3301 catch (RecognitionException re) { 3301 {
3302 recover(input,re); 3302 // InternalApplicationConfiguration.g:1175:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry )
3303 appendSkippedTokens(); 3303 int alt18=2;
3304 } 3304 int LA18_0 = input.LA(1);
3305 finally { 3305
3306 } 3306 if ( (LA18_0==RULE_ID||LA18_0==RULE_STRING) ) {
3307 return current; 3307 alt18=1;
3308 } 3308 }
3309 // $ANTLR end "ruleModelEntry" 3309 else if ( (LA18_0==26) ) {
3310 3310 alt18=2;
3311 3311 }
3312 // $ANTLR start "entryRuleFolderEntry" 3312 else {
3313 // InternalApplicationConfiguration.g:1175:1: entryRuleFolderEntry returns [EObject current=null] : iv_ruleFolderEntry= ruleFolderEntry EOF ; 3313 NoViableAltException nvae =
3314 public final EObject entryRuleFolderEntry() throws RecognitionException { 3314 new NoViableAltException("", 18, 0, input);
3315 EObject current = null; 3315
3316 3316 throw nvae;
3317 EObject iv_ruleFolderEntry = null; 3317 }
3318 3318 switch (alt18) {
3319 3319 case 1 :
3320 try { 3320 // InternalApplicationConfiguration.g:1176:3: this_ModelEntry_0= ruleModelEntry
3321 // InternalApplicationConfiguration.g:1175:52: (iv_ruleFolderEntry= ruleFolderEntry EOF ) 3321 {
3322 // InternalApplicationConfiguration.g:1176:2: iv_ruleFolderEntry= ruleFolderEntry EOF 3322
3323 { 3323 newCompositeNode(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0());
3324 newCompositeNode(grammarAccess.getFolderEntryRule()); 3324
3325 pushFollow(FOLLOW_1); 3325 pushFollow(FOLLOW_2);
3326 iv_ruleFolderEntry=ruleFolderEntry(); 3326 this_ModelEntry_0=ruleModelEntry();
3327 3327
3328 state._fsp--; 3328 state._fsp--;
3329 3329
3330 current =iv_ruleFolderEntry; 3330
3331 match(input,EOF,FOLLOW_2); 3331 current = this_ModelEntry_0;
3332 3332 afterParserOrEnumRuleCall();
3333 } 3333
3334 3334
3335 } 3335 }
3336 3336 break;
3337 catch (RecognitionException re) { 3337 case 2 :
3338 recover(input,re); 3338 // InternalApplicationConfiguration.g:1185:3: this_FolderEntry_1= ruleFolderEntry
3339 appendSkippedTokens(); 3339 {
3340 } 3340
3341 finally { 3341 newCompositeNode(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1());
3342 } 3342
3343 return current; 3343 pushFollow(FOLLOW_2);
3344 } 3344 this_FolderEntry_1=ruleFolderEntry();
3345 // $ANTLR end "entryRuleFolderEntry" 3345
3346 3346 state._fsp--;
3347 3347
3348 // $ANTLR start "ruleFolderEntry" 3348
3349 // InternalApplicationConfiguration.g:1182:1: ruleFolderEntry returns [EObject current=null] : (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) ; 3349 current = this_FolderEntry_1;
3350 public final EObject ruleFolderEntry() throws RecognitionException { 3350 afterParserOrEnumRuleCall();
3351 EObject current = null; 3351
3352 3352
3353 Token otherlv_0=null; 3353 }
3354 Token otherlv_2=null; 3354 break;
3355 Token otherlv_3=null; 3355
3356 Token otherlv_5=null; 3356 }
3357 Token otherlv_7=null; 3357
3358 EObject lv_path_1_0 = null; 3358
3359 3359 }
3360 EObject lv_exclusion_4_0 = null; 3360
3361 3361
3362 EObject lv_exclusion_6_0 = null; 3362 leaveRule();
3363 3363
3364 3364 }
3365 3365
3366 enterRule(); 3366 catch (RecognitionException re) {
3367 3367 recover(input,re);
3368 try { 3368 appendSkippedTokens();
3369 // InternalApplicationConfiguration.g:1188:2: ( (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) ) 3369 }
3370 // InternalApplicationConfiguration.g:1189:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) 3370 finally {
3371 { 3371 }
3372 // InternalApplicationConfiguration.g:1189:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) 3372 return current;
3373 // InternalApplicationConfiguration.g:1190:3: otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? 3373 }
3374 { 3374 // $ANTLR end "rulePartialModelEntry"
3375 otherlv_0=(Token)match(input,25,FOLLOW_20); 3375
3376 3376
3377 newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); 3377 // $ANTLR start "entryRuleModelEntry"
3378 3378 // InternalApplicationConfiguration.g:1197:1: entryRuleModelEntry returns [EObject current=null] : iv_ruleModelEntry= ruleModelEntry EOF ;
3379 // InternalApplicationConfiguration.g:1194:3: ( (lv_path_1_0= ruleFile ) ) 3379 public final EObject entryRuleModelEntry() throws RecognitionException {
3380 // InternalApplicationConfiguration.g:1195:4: (lv_path_1_0= ruleFile ) 3380 EObject current = null;
3381 { 3381
3382 // InternalApplicationConfiguration.g:1195:4: (lv_path_1_0= ruleFile ) 3382 EObject iv_ruleModelEntry = null;
3383 // InternalApplicationConfiguration.g:1196:5: lv_path_1_0= ruleFile 3383
3384 { 3384
3385 3385 try {
3386 newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); 3386 // InternalApplicationConfiguration.g:1197:51: (iv_ruleModelEntry= ruleModelEntry EOF )
3387 3387 // InternalApplicationConfiguration.g:1198:2: iv_ruleModelEntry= ruleModelEntry EOF
3388 pushFollow(FOLLOW_15); 3388 {
3389 lv_path_1_0=ruleFile(); 3389 newCompositeNode(grammarAccess.getModelEntryRule());
3390 3390 pushFollow(FOLLOW_1);
3391 state._fsp--; 3391 iv_ruleModelEntry=ruleModelEntry();
3392 3392
3393 3393 state._fsp--;
3394 if (current==null) { 3394
3395 current = createModelElementForParent(grammarAccess.getFolderEntryRule()); 3395 current =iv_ruleModelEntry;
3396 } 3396 match(input,EOF,FOLLOW_2);
3397 set( 3397
3398 current, 3398 }
3399 "path", 3399
3400 lv_path_1_0, 3400 }
3401 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 3401
3402 afterParserOrEnumRuleCall(); 3402 catch (RecognitionException re) {
3403 3403 recover(input,re);
3404 3404 appendSkippedTokens();
3405 } 3405 }
3406 3406 finally {
3407 3407 }
3408 } 3408 return current;
3409 3409 }
3410 // InternalApplicationConfiguration.g:1213:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? 3410 // $ANTLR end "entryRuleModelEntry"
3411 int alt20=2; 3411
3412 int LA20_0 = input.LA(1); 3412
3413 3413 // $ANTLR start "ruleModelEntry"
3414 if ( (LA20_0==22) ) { 3414 // InternalApplicationConfiguration.g:1204:1: ruleModelEntry returns [EObject current=null] : ( (lv_path_0_0= ruleFile ) ) ;
3415 alt20=1; 3415 public final EObject ruleModelEntry() throws RecognitionException {
3416 } 3416 EObject current = null;
3417 switch (alt20) { 3417
3418 case 1 : 3418 EObject lv_path_0_0 = null;
3419 // InternalApplicationConfiguration.g:1214:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' 3419
3420 { 3420
3421 otherlv_2=(Token)match(input,22,FOLLOW_16); 3421
3422 3422 enterRule();
3423 newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); 3423
3424 3424 try {
3425 otherlv_3=(Token)match(input,18,FOLLOW_20); 3425 // InternalApplicationConfiguration.g:1210:2: ( ( (lv_path_0_0= ruleFile ) ) )
3426 3426 // InternalApplicationConfiguration.g:1211:2: ( (lv_path_0_0= ruleFile ) )
3427 newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); 3427 {
3428 3428 // InternalApplicationConfiguration.g:1211:2: ( (lv_path_0_0= ruleFile ) )
3429 // InternalApplicationConfiguration.g:1222:4: ( (lv_exclusion_4_0= ruleModelEntry ) ) 3429 // InternalApplicationConfiguration.g:1212:3: (lv_path_0_0= ruleFile )
3430 // InternalApplicationConfiguration.g:1223:5: (lv_exclusion_4_0= ruleModelEntry ) 3430 {
3431 { 3431 // InternalApplicationConfiguration.g:1212:3: (lv_path_0_0= ruleFile )
3432 // InternalApplicationConfiguration.g:1223:5: (lv_exclusion_4_0= ruleModelEntry ) 3432 // InternalApplicationConfiguration.g:1213:4: lv_path_0_0= ruleFile
3433 // InternalApplicationConfiguration.g:1224:6: lv_exclusion_4_0= ruleModelEntry 3433 {
3434 { 3434
3435 3435 newCompositeNode(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0());
3436 newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); 3436
3437 3437 pushFollow(FOLLOW_2);
3438 pushFollow(FOLLOW_14); 3438 lv_path_0_0=ruleFile();
3439 lv_exclusion_4_0=ruleModelEntry(); 3439
3440 3440 state._fsp--;
3441 state._fsp--; 3441
3442 3442
3443 3443 if (current==null) {
3444 if (current==null) { 3444 current = createModelElementForParent(grammarAccess.getModelEntryRule());
3445 current = createModelElementForParent(grammarAccess.getFolderEntryRule()); 3445 }
3446 } 3446 set(
3447 add( 3447 current,
3448 current, 3448 "path",
3449 "exclusion", 3449 lv_path_0_0,
3450 lv_exclusion_4_0, 3450 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
3451 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); 3451 afterParserOrEnumRuleCall();
3452 afterParserOrEnumRuleCall(); 3452
3453 3453
3454 3454 }
3455 } 3455
3456 3456
3457 3457 }
3458 } 3458
3459 3459
3460 // InternalApplicationConfiguration.g:1241:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* 3460 }
3461 loop19: 3461
3462 do { 3462
3463 int alt19=2; 3463 leaveRule();
3464 int LA19_0 = input.LA(1); 3464
3465 3465 }
3466 if ( (LA19_0==19) ) { 3466
3467 alt19=1; 3467 catch (RecognitionException re) {
3468 } 3468 recover(input,re);
3469 3469 appendSkippedTokens();
3470 3470 }
3471 switch (alt19) { 3471 finally {
3472 case 1 : 3472 }
3473 // InternalApplicationConfiguration.g:1242:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) 3473 return current;
3474 { 3474 }
3475 otherlv_5=(Token)match(input,19,FOLLOW_20); 3475 // $ANTLR end "ruleModelEntry"
3476 3476
3477 newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); 3477
3478 3478 // $ANTLR start "entryRuleFolderEntry"
3479 // InternalApplicationConfiguration.g:1246:5: ( (lv_exclusion_6_0= ruleModelEntry ) ) 3479 // InternalApplicationConfiguration.g:1233:1: entryRuleFolderEntry returns [EObject current=null] : iv_ruleFolderEntry= ruleFolderEntry EOF ;
3480 // InternalApplicationConfiguration.g:1247:6: (lv_exclusion_6_0= ruleModelEntry ) 3480 public final EObject entryRuleFolderEntry() throws RecognitionException {
3481 { 3481 EObject current = null;
3482 // InternalApplicationConfiguration.g:1247:6: (lv_exclusion_6_0= ruleModelEntry ) 3482
3483 // InternalApplicationConfiguration.g:1248:7: lv_exclusion_6_0= ruleModelEntry 3483 EObject iv_ruleFolderEntry = null;
3484 { 3484
3485 3485
3486 newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); 3486 try {
3487 3487 // InternalApplicationConfiguration.g:1233:52: (iv_ruleFolderEntry= ruleFolderEntry EOF )
3488 pushFollow(FOLLOW_14); 3488 // InternalApplicationConfiguration.g:1234:2: iv_ruleFolderEntry= ruleFolderEntry EOF
3489 lv_exclusion_6_0=ruleModelEntry(); 3489 {
3490 3490 newCompositeNode(grammarAccess.getFolderEntryRule());
3491 state._fsp--; 3491 pushFollow(FOLLOW_1);
3492 3492 iv_ruleFolderEntry=ruleFolderEntry();
3493 3493
3494 if (current==null) { 3494 state._fsp--;
3495 current = createModelElementForParent(grammarAccess.getFolderEntryRule()); 3495
3496 } 3496 current =iv_ruleFolderEntry;
3497 add( 3497 match(input,EOF,FOLLOW_2);
3498 current, 3498
3499 "exclusion", 3499 }
3500 lv_exclusion_6_0, 3500
3501 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); 3501 }
3502 afterParserOrEnumRuleCall(); 3502
3503 3503 catch (RecognitionException re) {
3504 3504 recover(input,re);
3505 } 3505 appendSkippedTokens();
3506 3506 }
3507 3507 finally {
3508 } 3508 }
3509 3509 return current;
3510 3510 }
3511 } 3511 // $ANTLR end "entryRuleFolderEntry"
3512 break; 3512
3513 3513
3514 default : 3514 // $ANTLR start "ruleFolderEntry"
3515 break loop19; 3515 // InternalApplicationConfiguration.g:1240:1: ruleFolderEntry returns [EObject current=null] : (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) ;
3516 } 3516 public final EObject ruleFolderEntry() throws RecognitionException {
3517 } while (true); 3517 EObject current = null;
3518 3518
3519 otherlv_7=(Token)match(input,20,FOLLOW_2); 3519 Token otherlv_0=null;
3520 3520 Token otherlv_2=null;
3521 newLeafNode(otherlv_7, grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); 3521 Token otherlv_3=null;
3522 3522 Token otherlv_5=null;
3523 3523 Token otherlv_7=null;
3524 } 3524 EObject lv_path_1_0 = null;
3525 break; 3525
3526 3526 EObject lv_exclusion_4_0 = null;
3527 } 3527
3528 3528 EObject lv_exclusion_6_0 = null;
3529 3529
3530 } 3530
3531 3531
3532 3532 enterRule();
3533 } 3533
3534 3534 try {
3535 3535 // InternalApplicationConfiguration.g:1246:2: ( (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) )
3536 leaveRule(); 3536 // InternalApplicationConfiguration.g:1247:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? )
3537 3537 {
3538 } 3538 // InternalApplicationConfiguration.g:1247:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? )
3539 3539 // InternalApplicationConfiguration.g:1248:3: otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )?
3540 catch (RecognitionException re) { 3540 {
3541 recover(input,re); 3541 otherlv_0=(Token)match(input,26,FOLLOW_21);
3542 appendSkippedTokens(); 3542
3543 } 3543 newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0());
3544 finally { 3544
3545 } 3545 // InternalApplicationConfiguration.g:1252:3: ( (lv_path_1_0= ruleFile ) )
3546 return current; 3546 // InternalApplicationConfiguration.g:1253:4: (lv_path_1_0= ruleFile )
3547 } 3547 {
3548 // $ANTLR end "ruleFolderEntry" 3548 // InternalApplicationConfiguration.g:1253:4: (lv_path_1_0= ruleFile )
3549 3549 // InternalApplicationConfiguration.g:1254:5: lv_path_1_0= ruleFile
3550 3550 {
3551 // $ANTLR start "entryRulePartialModelDeclaration" 3551
3552 // InternalApplicationConfiguration.g:1275:1: entryRulePartialModelDeclaration returns [EObject current=null] : iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ; 3552 newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0());
3553 public final EObject entryRulePartialModelDeclaration() throws RecognitionException { 3553
3554 EObject current = null; 3554 pushFollow(FOLLOW_16);
3555 3555 lv_path_1_0=ruleFile();
3556 EObject iv_rulePartialModelDeclaration = null; 3556
3557 3557 state._fsp--;
3558 3558
3559 try { 3559
3560 // InternalApplicationConfiguration.g:1275:64: (iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ) 3560 if (current==null) {
3561 // InternalApplicationConfiguration.g:1276:2: iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF 3561 current = createModelElementForParent(grammarAccess.getFolderEntryRule());
3562 { 3562 }
3563 newCompositeNode(grammarAccess.getPartialModelDeclarationRule()); 3563 set(
3564 pushFollow(FOLLOW_1); 3564 current,
3565 iv_rulePartialModelDeclaration=rulePartialModelDeclaration(); 3565 "path",
3566 3566 lv_path_1_0,
3567 state._fsp--; 3567 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
3568 3568 afterParserOrEnumRuleCall();
3569 current =iv_rulePartialModelDeclaration; 3569
3570 match(input,EOF,FOLLOW_2); 3570
3571 3571 }
3572 } 3572
3573 3573
3574 } 3574 }
3575 3575
3576 catch (RecognitionException re) { 3576 // InternalApplicationConfiguration.g:1271:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )?
3577 recover(input,re); 3577 int alt20=2;
3578 appendSkippedTokens(); 3578 int LA20_0 = input.LA(1);
3579 } 3579
3580 finally { 3580 if ( (LA20_0==23) ) {
3581 } 3581 alt20=1;
3582 return current; 3582 }
3583 } 3583 switch (alt20) {
3584 // $ANTLR end "entryRulePartialModelDeclaration" 3584 case 1 :
3585 3585 // InternalApplicationConfiguration.g:1272:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}'
3586 3586 {
3587 // $ANTLR start "rulePartialModelDeclaration" 3587 otherlv_2=(Token)match(input,23,FOLLOW_17);
3588 // InternalApplicationConfiguration.g:1282:1: rulePartialModelDeclaration returns [EObject current=null] : (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ; 3588
3589 public final EObject rulePartialModelDeclaration() throws RecognitionException { 3589 newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0());
3590 EObject current = null; 3590
3591 3591 otherlv_3=(Token)match(input,19,FOLLOW_21);
3592 Token otherlv_0=null; 3592
3593 Token lv_name_1_0=null; 3593 newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1());
3594 EObject lv_specification_2_0 = null; 3594
3595 3595 // InternalApplicationConfiguration.g:1280:4: ( (lv_exclusion_4_0= ruleModelEntry ) )
3596 3596 // InternalApplicationConfiguration.g:1281:5: (lv_exclusion_4_0= ruleModelEntry )
3597 3597 {
3598 enterRule(); 3598 // InternalApplicationConfiguration.g:1281:5: (lv_exclusion_4_0= ruleModelEntry )
3599 3599 // InternalApplicationConfiguration.g:1282:6: lv_exclusion_4_0= ruleModelEntry
3600 try { 3600 {
3601 // InternalApplicationConfiguration.g:1288:2: ( (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ) 3601
3602 // InternalApplicationConfiguration.g:1289:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) 3602 newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0());
3603 { 3603
3604 // InternalApplicationConfiguration.g:1289:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) 3604 pushFollow(FOLLOW_15);
3605 // InternalApplicationConfiguration.g:1290:3: otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) 3605 lv_exclusion_4_0=ruleModelEntry();
3606 { 3606
3607 otherlv_0=(Token)match(input,26,FOLLOW_6); 3607 state._fsp--;
3608 3608
3609 newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); 3609
3610 3610 if (current==null) {
3611 // InternalApplicationConfiguration.g:1294:3: ( (lv_name_1_0= RULE_ID ) ) 3611 current = createModelElementForParent(grammarAccess.getFolderEntryRule());
3612 // InternalApplicationConfiguration.g:1295:4: (lv_name_1_0= RULE_ID ) 3612 }
3613 { 3613 add(
3614 // InternalApplicationConfiguration.g:1295:4: (lv_name_1_0= RULE_ID ) 3614 current,
3615 // InternalApplicationConfiguration.g:1296:5: lv_name_1_0= RULE_ID 3615 "exclusion",
3616 { 3616 lv_exclusion_4_0,
3617 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); 3617 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry");
3618 3618 afterParserOrEnumRuleCall();
3619 newLeafNode(lv_name_1_0, grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 3619
3620 3620
3621 3621 }
3622 if (current==null) { 3622
3623 current = createModelElement(grammarAccess.getPartialModelDeclarationRule()); 3623
3624 } 3624 }
3625 setWithLastConsumed( 3625
3626 current, 3626 // InternalApplicationConfiguration.g:1299:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )*
3627 "name", 3627 loop19:
3628 lv_name_1_0, 3628 do {
3629 "org.eclipse.xtext.common.Terminals.ID"); 3629 int alt19=2;
3630 3630 int LA19_0 = input.LA(1);
3631 3631
3632 } 3632 if ( (LA19_0==20) ) {
3633 3633 alt19=1;
3634 3634 }
3635 } 3635
3636 3636
3637 // InternalApplicationConfiguration.g:1312:3: ( (lv_specification_2_0= rulePartialModelSpecification ) ) 3637 switch (alt19) {
3638 // InternalApplicationConfiguration.g:1313:4: (lv_specification_2_0= rulePartialModelSpecification ) 3638 case 1 :
3639 { 3639 // InternalApplicationConfiguration.g:1300:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) )
3640 // InternalApplicationConfiguration.g:1313:4: (lv_specification_2_0= rulePartialModelSpecification ) 3640 {
3641 // InternalApplicationConfiguration.g:1314:5: lv_specification_2_0= rulePartialModelSpecification 3641 otherlv_5=(Token)match(input,20,FOLLOW_21);
3642 { 3642
3643 3643 newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0());
3644 newCompositeNode(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); 3644
3645 3645 // InternalApplicationConfiguration.g:1304:5: ( (lv_exclusion_6_0= ruleModelEntry ) )
3646 pushFollow(FOLLOW_2); 3646 // InternalApplicationConfiguration.g:1305:6: (lv_exclusion_6_0= ruleModelEntry )
3647 lv_specification_2_0=rulePartialModelSpecification(); 3647 {
3648 3648 // InternalApplicationConfiguration.g:1305:6: (lv_exclusion_6_0= ruleModelEntry )
3649 state._fsp--; 3649 // InternalApplicationConfiguration.g:1306:7: lv_exclusion_6_0= ruleModelEntry
3650 3650 {
3651 3651
3652 if (current==null) { 3652 newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0());
3653 current = createModelElementForParent(grammarAccess.getPartialModelDeclarationRule()); 3653
3654 } 3654 pushFollow(FOLLOW_15);
3655 set( 3655 lv_exclusion_6_0=ruleModelEntry();
3656 current, 3656
3657 "specification", 3657 state._fsp--;
3658 lv_specification_2_0, 3658
3659 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification"); 3659
3660 afterParserOrEnumRuleCall(); 3660 if (current==null) {
3661 3661 current = createModelElementForParent(grammarAccess.getFolderEntryRule());
3662 3662 }
3663 } 3663 add(
3664 3664 current,
3665 3665 "exclusion",
3666 } 3666 lv_exclusion_6_0,
3667 3667 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry");
3668 3668 afterParserOrEnumRuleCall();
3669 } 3669
3670 3670
3671 3671 }
3672 } 3672
3673 3673
3674 3674 }
3675 leaveRule(); 3675
3676 3676
3677 } 3677 }
3678 3678 break;
3679 catch (RecognitionException re) { 3679
3680 recover(input,re); 3680 default :
3681 appendSkippedTokens(); 3681 break loop19;
3682 } 3682 }
3683 finally { 3683 } while (true);
3684 } 3684
3685 return current; 3685 otherlv_7=(Token)match(input,21,FOLLOW_2);
3686 } 3686
3687 // $ANTLR end "rulePartialModelDeclaration" 3687 newLeafNode(otherlv_7, grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4());
3688 3688
3689 3689
3690 // $ANTLR start "entryRulePartialModelReference" 3690 }
3691 // InternalApplicationConfiguration.g:1335:1: entryRulePartialModelReference returns [EObject current=null] : iv_rulePartialModelReference= rulePartialModelReference EOF ; 3691 break;
3692 public final EObject entryRulePartialModelReference() throws RecognitionException { 3692
3693 EObject current = null; 3693 }
3694 3694
3695 EObject iv_rulePartialModelReference = null; 3695
3696 3696 }
3697 3697
3698 try { 3698
3699 // InternalApplicationConfiguration.g:1335:62: (iv_rulePartialModelReference= rulePartialModelReference EOF ) 3699 }
3700 // InternalApplicationConfiguration.g:1336:2: iv_rulePartialModelReference= rulePartialModelReference EOF 3700
3701 { 3701
3702 newCompositeNode(grammarAccess.getPartialModelReferenceRule()); 3702 leaveRule();
3703 pushFollow(FOLLOW_1); 3703
3704 iv_rulePartialModelReference=rulePartialModelReference(); 3704 }
3705 3705
3706 state._fsp--; 3706 catch (RecognitionException re) {
3707 3707 recover(input,re);
3708 current =iv_rulePartialModelReference; 3708 appendSkippedTokens();
3709 match(input,EOF,FOLLOW_2); 3709 }
3710 3710 finally {
3711 } 3711 }
3712 3712 return current;
3713 } 3713 }
3714 3714 // $ANTLR end "ruleFolderEntry"
3715 catch (RecognitionException re) { 3715
3716 recover(input,re); 3716
3717 appendSkippedTokens(); 3717 // $ANTLR start "entryRulePartialModelDeclaration"
3718 } 3718 // InternalApplicationConfiguration.g:1333:1: entryRulePartialModelDeclaration returns [EObject current=null] : iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ;
3719 finally { 3719 public final EObject entryRulePartialModelDeclaration() throws RecognitionException {
3720 } 3720 EObject current = null;
3721 return current; 3721
3722 } 3722 EObject iv_rulePartialModelDeclaration = null;
3723 // $ANTLR end "entryRulePartialModelReference" 3723
3724 3724
3725 3725 try {
3726 // $ANTLR start "rulePartialModelReference" 3726 // InternalApplicationConfiguration.g:1333:64: (iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF )
3727 // InternalApplicationConfiguration.g:1342:1: rulePartialModelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; 3727 // InternalApplicationConfiguration.g:1334:2: iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF
3728 public final EObject rulePartialModelReference() throws RecognitionException { 3728 {
3729 EObject current = null; 3729 newCompositeNode(grammarAccess.getPartialModelDeclarationRule());
3730 3730 pushFollow(FOLLOW_1);
3731 Token otherlv_0=null; 3731 iv_rulePartialModelDeclaration=rulePartialModelDeclaration();
3732 3732
3733 3733 state._fsp--;
3734 enterRule(); 3734
3735 3735 current =iv_rulePartialModelDeclaration;
3736 try { 3736 match(input,EOF,FOLLOW_2);
3737 // InternalApplicationConfiguration.g:1348:2: ( ( (otherlv_0= RULE_ID ) ) ) 3737
3738 // InternalApplicationConfiguration.g:1349:2: ( (otherlv_0= RULE_ID ) ) 3738 }
3739 { 3739
3740 // InternalApplicationConfiguration.g:1349:2: ( (otherlv_0= RULE_ID ) ) 3740 }
3741 // InternalApplicationConfiguration.g:1350:3: (otherlv_0= RULE_ID ) 3741
3742 { 3742 catch (RecognitionException re) {
3743 // InternalApplicationConfiguration.g:1350:3: (otherlv_0= RULE_ID ) 3743 recover(input,re);
3744 // InternalApplicationConfiguration.g:1351:4: otherlv_0= RULE_ID 3744 appendSkippedTokens();
3745 { 3745 }
3746 3746 finally {
3747 if (current==null) { 3747 }
3748 current = createModelElement(grammarAccess.getPartialModelReferenceRule()); 3748 return current;
3749 } 3749 }
3750 3750 // $ANTLR end "entryRulePartialModelDeclaration"
3751 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); 3751
3752 3752
3753 newLeafNode(otherlv_0, grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); 3753 // $ANTLR start "rulePartialModelDeclaration"
3754 3754 // InternalApplicationConfiguration.g:1340:1: rulePartialModelDeclaration returns [EObject current=null] : (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ;
3755 3755 public final EObject rulePartialModelDeclaration() throws RecognitionException {
3756 } 3756 EObject current = null;
3757 3757
3758 3758 Token otherlv_0=null;
3759 } 3759 Token lv_name_1_0=null;
3760 3760 EObject lv_specification_2_0 = null;
3761 3761
3762 } 3762
3763 3763
3764 3764 enterRule();
3765 leaveRule(); 3765
3766 3766 try {
3767 } 3767 // InternalApplicationConfiguration.g:1346:2: ( (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) )
3768 3768 // InternalApplicationConfiguration.g:1347:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) )
3769 catch (RecognitionException re) { 3769 {
3770 recover(input,re); 3770 // InternalApplicationConfiguration.g:1347:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) )
3771 appendSkippedTokens(); 3771 // InternalApplicationConfiguration.g:1348:3: otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) )
3772 } 3772 {
3773 finally { 3773 otherlv_0=(Token)match(input,27,FOLLOW_6);
3774 } 3774
3775 return current; 3775 newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0());
3776 } 3776
3777 // $ANTLR end "rulePartialModelReference" 3777 // InternalApplicationConfiguration.g:1352:3: ( (lv_name_1_0= RULE_ID ) )
3778 3778 // InternalApplicationConfiguration.g:1353:4: (lv_name_1_0= RULE_ID )
3779 3779 {
3780 // $ANTLR start "entryRulePartialModel" 3780 // InternalApplicationConfiguration.g:1353:4: (lv_name_1_0= RULE_ID )
3781 // InternalApplicationConfiguration.g:1365:1: entryRulePartialModel returns [EObject current=null] : iv_rulePartialModel= rulePartialModel EOF ; 3781 // InternalApplicationConfiguration.g:1354:5: lv_name_1_0= RULE_ID
3782 public final EObject entryRulePartialModel() throws RecognitionException { 3782 {
3783 EObject current = null; 3783 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17);
3784 3784
3785 EObject iv_rulePartialModel = null; 3785 newLeafNode(lv_name_1_0, grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0());
3786 3786
3787 3787
3788 try { 3788 if (current==null) {
3789 // InternalApplicationConfiguration.g:1365:53: (iv_rulePartialModel= rulePartialModel EOF ) 3789 current = createModelElement(grammarAccess.getPartialModelDeclarationRule());
3790 // InternalApplicationConfiguration.g:1366:2: iv_rulePartialModel= rulePartialModel EOF 3790 }
3791 { 3791 setWithLastConsumed(
3792 newCompositeNode(grammarAccess.getPartialModelRule()); 3792 current,
3793 pushFollow(FOLLOW_1); 3793 "name",
3794 iv_rulePartialModel=rulePartialModel(); 3794 lv_name_1_0,
3795 3795 "org.eclipse.xtext.common.Terminals.ID");
3796 state._fsp--; 3796
3797 3797
3798 current =iv_rulePartialModel; 3798 }
3799 match(input,EOF,FOLLOW_2); 3799
3800 3800
3801 } 3801 }
3802 3802
3803 } 3803 // InternalApplicationConfiguration.g:1370:3: ( (lv_specification_2_0= rulePartialModelSpecification ) )
3804 3804 // InternalApplicationConfiguration.g:1371:4: (lv_specification_2_0= rulePartialModelSpecification )
3805 catch (RecognitionException re) { 3805 {
3806 recover(input,re); 3806 // InternalApplicationConfiguration.g:1371:4: (lv_specification_2_0= rulePartialModelSpecification )
3807 appendSkippedTokens(); 3807 // InternalApplicationConfiguration.g:1372:5: lv_specification_2_0= rulePartialModelSpecification
3808 } 3808 {
3809 finally { 3809
3810 } 3810 newCompositeNode(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0());
3811 return current; 3811
3812 } 3812 pushFollow(FOLLOW_2);
3813 // $ANTLR end "entryRulePartialModel" 3813 lv_specification_2_0=rulePartialModelSpecification();
3814 3814
3815 3815 state._fsp--;
3816 // $ANTLR start "rulePartialModel" 3816
3817 // InternalApplicationConfiguration.g:1372:1: rulePartialModel returns [EObject current=null] : (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ; 3817
3818 public final EObject rulePartialModel() throws RecognitionException { 3818 if (current==null) {
3819 EObject current = null; 3819 current = createModelElementForParent(grammarAccess.getPartialModelDeclarationRule());
3820 3820 }
3821 EObject this_PartialModelSpecification_0 = null; 3821 set(
3822 3822 current,
3823 EObject this_PartialModelReference_1 = null; 3823 "specification",
3824 3824 lv_specification_2_0,
3825 3825 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification");
3826 3826 afterParserOrEnumRuleCall();
3827 enterRule(); 3827
3828 3828
3829 try { 3829 }
3830 // InternalApplicationConfiguration.g:1378:2: ( (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ) 3830
3831 // InternalApplicationConfiguration.g:1379:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) 3831
3832 { 3832 }
3833 // InternalApplicationConfiguration.g:1379:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) 3833
3834 int alt21=2; 3834
3835 int LA21_0 = input.LA(1); 3835 }
3836 3836
3837 if ( (LA21_0==18) ) { 3837
3838 alt21=1; 3838 }
3839 } 3839
3840 else if ( (LA21_0==RULE_ID) ) { 3840
3841 alt21=2; 3841 leaveRule();
3842 } 3842
3843 else { 3843 }
3844 NoViableAltException nvae = 3844
3845 new NoViableAltException("", 21, 0, input); 3845 catch (RecognitionException re) {
3846 3846 recover(input,re);
3847 throw nvae; 3847 appendSkippedTokens();
3848 } 3848 }
3849 switch (alt21) { 3849 finally {
3850 case 1 : 3850 }
3851 // InternalApplicationConfiguration.g:1380:3: this_PartialModelSpecification_0= rulePartialModelSpecification 3851 return current;
3852 { 3852 }
3853 3853 // $ANTLR end "rulePartialModelDeclaration"
3854 newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); 3854
3855 3855
3856 pushFollow(FOLLOW_2); 3856 // $ANTLR start "entryRulePartialModelReference"
3857 this_PartialModelSpecification_0=rulePartialModelSpecification(); 3857 // InternalApplicationConfiguration.g:1393:1: entryRulePartialModelReference returns [EObject current=null] : iv_rulePartialModelReference= rulePartialModelReference EOF ;
3858 3858 public final EObject entryRulePartialModelReference() throws RecognitionException {
3859 state._fsp--; 3859 EObject current = null;
3860 3860
3861 3861 EObject iv_rulePartialModelReference = null;
3862 current = this_PartialModelSpecification_0; 3862
3863 afterParserOrEnumRuleCall(); 3863
3864 3864 try {
3865 3865 // InternalApplicationConfiguration.g:1393:62: (iv_rulePartialModelReference= rulePartialModelReference EOF )
3866 } 3866 // InternalApplicationConfiguration.g:1394:2: iv_rulePartialModelReference= rulePartialModelReference EOF
3867 break; 3867 {
3868 case 2 : 3868 newCompositeNode(grammarAccess.getPartialModelReferenceRule());
3869 // InternalApplicationConfiguration.g:1389:3: this_PartialModelReference_1= rulePartialModelReference 3869 pushFollow(FOLLOW_1);
3870 { 3870 iv_rulePartialModelReference=rulePartialModelReference();
3871 3871
3872 newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); 3872 state._fsp--;
3873 3873
3874 pushFollow(FOLLOW_2); 3874 current =iv_rulePartialModelReference;
3875 this_PartialModelReference_1=rulePartialModelReference(); 3875 match(input,EOF,FOLLOW_2);
3876 3876
3877 state._fsp--; 3877 }
3878 3878
3879 3879 }
3880 current = this_PartialModelReference_1; 3880
3881 afterParserOrEnumRuleCall(); 3881 catch (RecognitionException re) {
3882 3882 recover(input,re);
3883 3883 appendSkippedTokens();
3884 } 3884 }
3885 break; 3885 finally {
3886 3886 }
3887 } 3887 return current;
3888 3888 }
3889 3889 // $ANTLR end "entryRulePartialModelReference"
3890 } 3890
3891 3891
3892 3892 // $ANTLR start "rulePartialModelReference"
3893 leaveRule(); 3893 // InternalApplicationConfiguration.g:1400:1: rulePartialModelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
3894 3894 public final EObject rulePartialModelReference() throws RecognitionException {
3895 } 3895 EObject current = null;
3896 3896
3897 catch (RecognitionException re) { 3897 Token otherlv_0=null;
3898 recover(input,re); 3898
3899 appendSkippedTokens(); 3899
3900 } 3900 enterRule();
3901 finally { 3901
3902 } 3902 try {
3903 return current; 3903 // InternalApplicationConfiguration.g:1406:2: ( ( (otherlv_0= RULE_ID ) ) )
3904 } 3904 // InternalApplicationConfiguration.g:1407:2: ( (otherlv_0= RULE_ID ) )
3905 // $ANTLR end "rulePartialModel" 3905 {
3906 3906 // InternalApplicationConfiguration.g:1407:2: ( (otherlv_0= RULE_ID ) )
3907 3907 // InternalApplicationConfiguration.g:1408:3: (otherlv_0= RULE_ID )
3908 // $ANTLR start "entryRulePatternSpecification" 3908 {
3909 // InternalApplicationConfiguration.g:1401:1: entryRulePatternSpecification returns [EObject current=null] : iv_rulePatternSpecification= rulePatternSpecification EOF ; 3909 // InternalApplicationConfiguration.g:1408:3: (otherlv_0= RULE_ID )
3910 public final EObject entryRulePatternSpecification() throws RecognitionException { 3910 // InternalApplicationConfiguration.g:1409:4: otherlv_0= RULE_ID
3911 EObject current = null; 3911 {
3912 3912
3913 EObject iv_rulePatternSpecification = null; 3913 if (current==null) {
3914 3914 current = createModelElement(grammarAccess.getPartialModelReferenceRule());
3915 3915 }
3916 try { 3916
3917 // InternalApplicationConfiguration.g:1401:61: (iv_rulePatternSpecification= rulePatternSpecification EOF ) 3917 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2);
3918 // InternalApplicationConfiguration.g:1402:2: iv_rulePatternSpecification= rulePatternSpecification EOF 3918
3919 { 3919 newLeafNode(otherlv_0, grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0());
3920 newCompositeNode(grammarAccess.getPatternSpecificationRule()); 3920
3921 pushFollow(FOLLOW_1); 3921
3922 iv_rulePatternSpecification=rulePatternSpecification(); 3922 }
3923 3923
3924 state._fsp--; 3924
3925 3925 }
3926 current =iv_rulePatternSpecification; 3926
3927 match(input,EOF,FOLLOW_2); 3927
3928 3928 }
3929 } 3929
3930 3930
3931 } 3931 leaveRule();
3932 3932
3933 catch (RecognitionException re) { 3933 }
3934 recover(input,re); 3934
3935 appendSkippedTokens(); 3935 catch (RecognitionException re) {
3936 } 3936 recover(input,re);
3937 finally { 3937 appendSkippedTokens();
3938 } 3938 }
3939 return current; 3939 finally {
3940 } 3940 }
3941 // $ANTLR end "entryRulePatternSpecification" 3941 return current;
3942 3942 }
3943 3943 // $ANTLR end "rulePartialModelReference"
3944 // $ANTLR start "rulePatternSpecification" 3944
3945 // InternalApplicationConfiguration.g:1408:1: rulePatternSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ; 3945
3946 public final EObject rulePatternSpecification() throws RecognitionException { 3946 // $ANTLR start "entryRulePartialModel"
3947 EObject current = null; 3947 // InternalApplicationConfiguration.g:1423:1: entryRulePartialModel returns [EObject current=null] : iv_rulePartialModel= rulePartialModel EOF ;
3948 3948 public final EObject entryRulePartialModel() throws RecognitionException {
3949 Token otherlv_0=null; 3949 EObject current = null;
3950 Token otherlv_2=null; 3950
3951 Token otherlv_4=null; 3951 EObject iv_rulePartialModel = null;
3952 EObject lv_entries_1_0 = null; 3952
3953 3953
3954 EObject lv_entries_3_0 = null; 3954 try {
3955 3955 // InternalApplicationConfiguration.g:1423:53: (iv_rulePartialModel= rulePartialModel EOF )
3956 3956 // InternalApplicationConfiguration.g:1424:2: iv_rulePartialModel= rulePartialModel EOF
3957 3957 {
3958 enterRule(); 3958 newCompositeNode(grammarAccess.getPartialModelRule());
3959 3959 pushFollow(FOLLOW_1);
3960 try { 3960 iv_rulePartialModel=rulePartialModel();
3961 // InternalApplicationConfiguration.g:1414:2: ( (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ) 3961
3962 // InternalApplicationConfiguration.g:1415:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) 3962 state._fsp--;
3963 { 3963
3964 // InternalApplicationConfiguration.g:1415:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) 3964 current =iv_rulePartialModel;
3965 // InternalApplicationConfiguration.g:1416:3: otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' 3965 match(input,EOF,FOLLOW_2);
3966 { 3966
3967 otherlv_0=(Token)match(input,18,FOLLOW_13); 3967 }
3968 3968
3969 newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); 3969 }
3970 3970
3971 // InternalApplicationConfiguration.g:1420:3: ( (lv_entries_1_0= rulePatternEntry ) ) 3971 catch (RecognitionException re) {
3972 // InternalApplicationConfiguration.g:1421:4: (lv_entries_1_0= rulePatternEntry ) 3972 recover(input,re);
3973 { 3973 appendSkippedTokens();
3974 // InternalApplicationConfiguration.g:1421:4: (lv_entries_1_0= rulePatternEntry ) 3974 }
3975 // InternalApplicationConfiguration.g:1422:5: lv_entries_1_0= rulePatternEntry 3975 finally {
3976 { 3976 }
3977 3977 return current;
3978 newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); 3978 }
3979 3979 // $ANTLR end "entryRulePartialModel"
3980 pushFollow(FOLLOW_14); 3980
3981 lv_entries_1_0=rulePatternEntry(); 3981
3982 3982 // $ANTLR start "rulePartialModel"
3983 state._fsp--; 3983 // InternalApplicationConfiguration.g:1430:1: rulePartialModel returns [EObject current=null] : (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ;
3984 3984 public final EObject rulePartialModel() throws RecognitionException {
3985 3985 EObject current = null;
3986 if (current==null) { 3986
3987 current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); 3987 EObject this_PartialModelSpecification_0 = null;
3988 } 3988
3989 add( 3989 EObject this_PartialModelReference_1 = null;
3990 current, 3990
3991 "entries", 3991
3992 lv_entries_1_0, 3992
3993 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); 3993 enterRule();
3994 afterParserOrEnumRuleCall(); 3994
3995 3995 try {
3996 3996 // InternalApplicationConfiguration.g:1436:2: ( (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) )
3997 } 3997 // InternalApplicationConfiguration.g:1437:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference )
3998 3998 {
3999 3999 // InternalApplicationConfiguration.g:1437:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference )
4000 } 4000 int alt21=2;
4001 4001 int LA21_0 = input.LA(1);
4002 // InternalApplicationConfiguration.g:1439:3: (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* 4002
4003 loop22: 4003 if ( (LA21_0==19) ) {
4004 do { 4004 alt21=1;
4005 int alt22=2; 4005 }
4006 int LA22_0 = input.LA(1); 4006 else if ( (LA21_0==RULE_ID) ) {
4007 4007 alt21=2;
4008 if ( (LA22_0==19) ) { 4008 }
4009 alt22=1; 4009 else {
4010 } 4010 NoViableAltException nvae =
4011 4011 new NoViableAltException("", 21, 0, input);
4012 4012
4013 switch (alt22) { 4013 throw nvae;
4014 case 1 : 4014 }
4015 // InternalApplicationConfiguration.g:1440:4: otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) 4015 switch (alt21) {
4016 { 4016 case 1 :
4017 otherlv_2=(Token)match(input,19,FOLLOW_13); 4017 // InternalApplicationConfiguration.g:1438:3: this_PartialModelSpecification_0= rulePartialModelSpecification
4018 4018 {
4019 newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); 4019
4020 4020 newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0());
4021 // InternalApplicationConfiguration.g:1444:4: ( (lv_entries_3_0= rulePatternEntry ) ) 4021
4022 // InternalApplicationConfiguration.g:1445:5: (lv_entries_3_0= rulePatternEntry ) 4022 pushFollow(FOLLOW_2);
4023 { 4023 this_PartialModelSpecification_0=rulePartialModelSpecification();
4024 // InternalApplicationConfiguration.g:1445:5: (lv_entries_3_0= rulePatternEntry ) 4024
4025 // InternalApplicationConfiguration.g:1446:6: lv_entries_3_0= rulePatternEntry 4025 state._fsp--;
4026 { 4026
4027 4027
4028 newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); 4028 current = this_PartialModelSpecification_0;
4029 4029 afterParserOrEnumRuleCall();
4030 pushFollow(FOLLOW_14); 4030
4031 lv_entries_3_0=rulePatternEntry(); 4031
4032 4032 }
4033 state._fsp--; 4033 break;
4034 4034 case 2 :
4035 4035 // InternalApplicationConfiguration.g:1447:3: this_PartialModelReference_1= rulePartialModelReference
4036 if (current==null) { 4036 {
4037 current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); 4037
4038 } 4038 newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1());
4039 add( 4039
4040 current, 4040 pushFollow(FOLLOW_2);
4041 "entries", 4041 this_PartialModelReference_1=rulePartialModelReference();
4042 lv_entries_3_0, 4042
4043 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); 4043 state._fsp--;
4044 afterParserOrEnumRuleCall(); 4044
4045 4045
4046 4046 current = this_PartialModelReference_1;
4047 } 4047 afterParserOrEnumRuleCall();
4048 4048
4049 4049
4050 } 4050 }
4051 4051 break;
4052 4052
4053 } 4053 }
4054 break; 4054
4055 4055
4056 default : 4056 }
4057 break loop22; 4057
4058 } 4058
4059 } while (true); 4059 leaveRule();
4060 4060
4061 otherlv_4=(Token)match(input,20,FOLLOW_2); 4061 }
4062 4062
4063 newLeafNode(otherlv_4, grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); 4063 catch (RecognitionException re) {
4064 4064 recover(input,re);
4065 4065 appendSkippedTokens();
4066 } 4066 }
4067 4067 finally {
4068 4068 }
4069 } 4069 return current;
4070 4070 }
4071 4071 // $ANTLR end "rulePartialModel"
4072 leaveRule(); 4072
4073 4073
4074 } 4074 // $ANTLR start "entryRulePatternSpecification"
4075 4075 // InternalApplicationConfiguration.g:1459:1: entryRulePatternSpecification returns [EObject current=null] : iv_rulePatternSpecification= rulePatternSpecification EOF ;
4076 catch (RecognitionException re) { 4076 public final EObject entryRulePatternSpecification() throws RecognitionException {
4077 recover(input,re); 4077 EObject current = null;
4078 appendSkippedTokens(); 4078
4079 } 4079 EObject iv_rulePatternSpecification = null;
4080 finally { 4080
4081 } 4081
4082 return current; 4082 try {
4083 } 4083 // InternalApplicationConfiguration.g:1459:61: (iv_rulePatternSpecification= rulePatternSpecification EOF )
4084 // $ANTLR end "rulePatternSpecification" 4084 // InternalApplicationConfiguration.g:1460:2: iv_rulePatternSpecification= rulePatternSpecification EOF
4085 4085 {
4086 4086 newCompositeNode(grammarAccess.getPatternSpecificationRule());
4087 // $ANTLR start "entryRulePatternEntry" 4087 pushFollow(FOLLOW_1);
4088 // InternalApplicationConfiguration.g:1472:1: entryRulePatternEntry returns [EObject current=null] : iv_rulePatternEntry= rulePatternEntry EOF ; 4088 iv_rulePatternSpecification=rulePatternSpecification();
4089 public final EObject entryRulePatternEntry() throws RecognitionException { 4089
4090 EObject current = null; 4090 state._fsp--;
4091 4091
4092 EObject iv_rulePatternEntry = null; 4092 current =iv_rulePatternSpecification;
4093 4093 match(input,EOF,FOLLOW_2);
4094 4094
4095 try { 4095 }
4096 // InternalApplicationConfiguration.g:1472:53: (iv_rulePatternEntry= rulePatternEntry EOF ) 4096
4097 // InternalApplicationConfiguration.g:1473:2: iv_rulePatternEntry= rulePatternEntry EOF 4097 }
4098 { 4098
4099 newCompositeNode(grammarAccess.getPatternEntryRule()); 4099 catch (RecognitionException re) {
4100 pushFollow(FOLLOW_1); 4100 recover(input,re);
4101 iv_rulePatternEntry=rulePatternEntry(); 4101 appendSkippedTokens();
4102 4102 }
4103 state._fsp--; 4103 finally {
4104 4104 }
4105 current =iv_rulePatternEntry; 4105 return current;
4106 match(input,EOF,FOLLOW_2); 4106 }
4107 4107 // $ANTLR end "entryRulePatternSpecification"
4108 } 4108
4109 4109
4110 } 4110 // $ANTLR start "rulePatternSpecification"
4111 4111 // InternalApplicationConfiguration.g:1466:1: rulePatternSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ;
4112 catch (RecognitionException re) { 4112 public final EObject rulePatternSpecification() throws RecognitionException {
4113 recover(input,re); 4113 EObject current = null;
4114 appendSkippedTokens(); 4114
4115 } 4115 Token otherlv_0=null;
4116 finally { 4116 Token otherlv_2=null;
4117 } 4117 Token otherlv_4=null;
4118 return current; 4118 EObject lv_entries_1_0 = null;
4119 } 4119
4120 // $ANTLR end "entryRulePatternEntry" 4120 EObject lv_entries_3_0 = null;
4121 4121
4122 4122
4123 // $ANTLR start "rulePatternEntry" 4123
4124 // InternalApplicationConfiguration.g:1479:1: rulePatternEntry returns [EObject current=null] : (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ; 4124 enterRule();
4125 public final EObject rulePatternEntry() throws RecognitionException { 4125
4126 EObject current = null; 4126 try {
4127 4127 // InternalApplicationConfiguration.g:1472:2: ( (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) )
4128 EObject this_PatternElement_0 = null; 4128 // InternalApplicationConfiguration.g:1473:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' )
4129 4129 {
4130 EObject this_AllPatternEntry_1 = null; 4130 // InternalApplicationConfiguration.g:1473:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' )
4131 4131 // InternalApplicationConfiguration.g:1474:3: otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}'
4132 4132 {
4133 4133 otherlv_0=(Token)match(input,19,FOLLOW_14);
4134 enterRule(); 4134
4135 4135 newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0());
4136 try { 4136
4137 // InternalApplicationConfiguration.g:1485:2: ( (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ) 4137 // InternalApplicationConfiguration.g:1478:3: ( (lv_entries_1_0= rulePatternEntry ) )
4138 // InternalApplicationConfiguration.g:1486:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) 4138 // InternalApplicationConfiguration.g:1479:4: (lv_entries_1_0= rulePatternEntry )
4139 { 4139 {
4140 // InternalApplicationConfiguration.g:1486:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) 4140 // InternalApplicationConfiguration.g:1479:4: (lv_entries_1_0= rulePatternEntry )
4141 int alt23=2; 4141 // InternalApplicationConfiguration.g:1480:5: lv_entries_1_0= rulePatternEntry
4142 int LA23_0 = input.LA(1); 4142 {
4143 4143
4144 if ( (LA23_0==RULE_ID) ) { 4144 newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0());
4145 alt23=1; 4145
4146 } 4146 pushFollow(FOLLOW_15);
4147 else if ( (LA23_0==21) ) { 4147 lv_entries_1_0=rulePatternEntry();
4148 alt23=2; 4148
4149 } 4149 state._fsp--;
4150 else { 4150
4151 NoViableAltException nvae = 4151
4152 new NoViableAltException("", 23, 0, input); 4152 if (current==null) {
4153 4153 current = createModelElementForParent(grammarAccess.getPatternSpecificationRule());
4154 throw nvae; 4154 }
4155 } 4155 add(
4156 switch (alt23) { 4156 current,
4157 case 1 : 4157 "entries",
4158 // InternalApplicationConfiguration.g:1487:3: this_PatternElement_0= rulePatternElement 4158 lv_entries_1_0,
4159 { 4159 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry");
4160 4160 afterParserOrEnumRuleCall();
4161 newCompositeNode(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); 4161
4162 4162
4163 pushFollow(FOLLOW_2); 4163 }
4164 this_PatternElement_0=rulePatternElement(); 4164
4165 4165
4166 state._fsp--; 4166 }
4167 4167
4168 4168 // InternalApplicationConfiguration.g:1497:3: (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )*
4169 current = this_PatternElement_0; 4169 loop22:
4170 afterParserOrEnumRuleCall(); 4170 do {
4171 4171 int alt22=2;
4172 4172 int LA22_0 = input.LA(1);
4173 } 4173
4174 break; 4174 if ( (LA22_0==20) ) {
4175 case 2 : 4175 alt22=1;
4176 // InternalApplicationConfiguration.g:1496:3: this_AllPatternEntry_1= ruleAllPatternEntry 4176 }
4177 { 4177
4178 4178
4179 newCompositeNode(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); 4179 switch (alt22) {
4180 4180 case 1 :
4181 pushFollow(FOLLOW_2); 4181 // InternalApplicationConfiguration.g:1498:4: otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) )
4182 this_AllPatternEntry_1=ruleAllPatternEntry(); 4182 {
4183 4183 otherlv_2=(Token)match(input,20,FOLLOW_14);
4184 state._fsp--; 4184
4185 4185 newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0());
4186 4186
4187 current = this_AllPatternEntry_1; 4187 // InternalApplicationConfiguration.g:1502:4: ( (lv_entries_3_0= rulePatternEntry ) )
4188 afterParserOrEnumRuleCall(); 4188 // InternalApplicationConfiguration.g:1503:5: (lv_entries_3_0= rulePatternEntry )
4189 4189 {
4190 4190 // InternalApplicationConfiguration.g:1503:5: (lv_entries_3_0= rulePatternEntry )
4191 } 4191 // InternalApplicationConfiguration.g:1504:6: lv_entries_3_0= rulePatternEntry
4192 break; 4192 {
4193 4193
4194 } 4194 newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0());
4195 4195
4196 4196 pushFollow(FOLLOW_15);
4197 } 4197 lv_entries_3_0=rulePatternEntry();
4198 4198
4199 4199 state._fsp--;
4200 leaveRule(); 4200
4201 4201
4202 } 4202 if (current==null) {
4203 4203 current = createModelElementForParent(grammarAccess.getPatternSpecificationRule());
4204 catch (RecognitionException re) { 4204 }
4205 recover(input,re); 4205 add(
4206 appendSkippedTokens(); 4206 current,
4207 } 4207 "entries",
4208 finally { 4208 lv_entries_3_0,
4209 } 4209 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry");
4210 return current; 4210 afterParserOrEnumRuleCall();
4211 } 4211
4212 // $ANTLR end "rulePatternEntry" 4212
4213 4213 }
4214 4214
4215 // $ANTLR start "entryRuleAllPatternEntry" 4215
4216 // InternalApplicationConfiguration.g:1508:1: entryRuleAllPatternEntry returns [EObject current=null] : iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ; 4216 }
4217 public final EObject entryRuleAllPatternEntry() throws RecognitionException { 4217
4218 EObject current = null; 4218
4219 4219 }
4220 EObject iv_ruleAllPatternEntry = null; 4220 break;
4221 4221
4222 4222 default :
4223 try { 4223 break loop22;
4224 // InternalApplicationConfiguration.g:1508:56: (iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ) 4224 }
4225 // InternalApplicationConfiguration.g:1509:2: iv_ruleAllPatternEntry= ruleAllPatternEntry EOF 4225 } while (true);
4226 { 4226
4227 newCompositeNode(grammarAccess.getAllPatternEntryRule()); 4227 otherlv_4=(Token)match(input,21,FOLLOW_2);
4228 pushFollow(FOLLOW_1); 4228
4229 iv_ruleAllPatternEntry=ruleAllPatternEntry(); 4229 newLeafNode(otherlv_4, grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3());
4230 4230
4231 state._fsp--; 4231
4232 4232 }
4233 current =iv_ruleAllPatternEntry; 4233
4234 match(input,EOF,FOLLOW_2); 4234
4235 4235 }
4236 } 4236
4237 4237
4238 } 4238 leaveRule();
4239 4239
4240 catch (RecognitionException re) { 4240 }
4241 recover(input,re); 4241
4242 appendSkippedTokens(); 4242 catch (RecognitionException re) {
4243 } 4243 recover(input,re);
4244 finally { 4244 appendSkippedTokens();
4245 } 4245 }
4246 return current; 4246 finally {
4247 } 4247 }
4248 // $ANTLR end "entryRuleAllPatternEntry" 4248 return current;
4249 4249 }
4250 4250 // $ANTLR end "rulePatternSpecification"
4251 // $ANTLR start "ruleAllPatternEntry" 4251
4252 // InternalApplicationConfiguration.g:1515:1: ruleAllPatternEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) ; 4252
4253 public final EObject ruleAllPatternEntry() throws RecognitionException { 4253 // $ANTLR start "entryRulePatternEntry"
4254 EObject current = null; 4254 // InternalApplicationConfiguration.g:1530:1: entryRulePatternEntry returns [EObject current=null] : iv_rulePatternEntry= rulePatternEntry EOF ;
4255 4255 public final EObject entryRulePatternEntry() throws RecognitionException {
4256 Token otherlv_0=null; 4256 EObject current = null;
4257 Token otherlv_2=null; 4257
4258 Token otherlv_3=null; 4258 EObject iv_rulePatternEntry = null;
4259 Token otherlv_5=null; 4259
4260 Token otherlv_7=null; 4260
4261 EObject lv_exclusuion_4_0 = null; 4261 try {
4262 4262 // InternalApplicationConfiguration.g:1530:53: (iv_rulePatternEntry= rulePatternEntry EOF )
4263 EObject lv_exclusuion_6_0 = null; 4263 // InternalApplicationConfiguration.g:1531:2: iv_rulePatternEntry= rulePatternEntry EOF
4264 4264 {
4265 4265 newCompositeNode(grammarAccess.getPatternEntryRule());
4266 4266 pushFollow(FOLLOW_1);
4267 enterRule(); 4267 iv_rulePatternEntry=rulePatternEntry();
4268 4268
4269 try { 4269 state._fsp--;
4270 // InternalApplicationConfiguration.g:1521:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) ) 4270
4271 // InternalApplicationConfiguration.g:1522:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) 4271 current =iv_rulePatternEntry;
4272 { 4272 match(input,EOF,FOLLOW_2);
4273 // InternalApplicationConfiguration.g:1522:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) 4273
4274 // InternalApplicationConfiguration.g:1523:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? 4274 }
4275 { 4275
4276 otherlv_0=(Token)match(input,21,FOLLOW_6); 4276 }
4277 4277
4278 newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); 4278 catch (RecognitionException re) {
4279 4279 recover(input,re);
4280 // InternalApplicationConfiguration.g:1527:3: ( ( ruleQualifiedName ) ) 4280 appendSkippedTokens();
4281 // InternalApplicationConfiguration.g:1528:4: ( ruleQualifiedName ) 4281 }
4282 { 4282 finally {
4283 // InternalApplicationConfiguration.g:1528:4: ( ruleQualifiedName ) 4283 }
4284 // InternalApplicationConfiguration.g:1529:5: ruleQualifiedName 4284 return current;
4285 { 4285 }
4286 4286 // $ANTLR end "entryRulePatternEntry"
4287 if (current==null) { 4287
4288 current = createModelElement(grammarAccess.getAllPatternEntryRule()); 4288
4289 } 4289 // $ANTLR start "rulePatternEntry"
4290 4290 // InternalApplicationConfiguration.g:1537:1: rulePatternEntry returns [EObject current=null] : (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ;
4291 4291 public final EObject rulePatternEntry() throws RecognitionException {
4292 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); 4292 EObject current = null;
4293 4293
4294 pushFollow(FOLLOW_15); 4294 EObject this_PatternElement_0 = null;
4295 ruleQualifiedName(); 4295
4296 4296 EObject this_AllPatternEntry_1 = null;
4297 state._fsp--; 4297
4298 4298
4299 4299
4300 afterParserOrEnumRuleCall(); 4300 enterRule();
4301 4301
4302 4302 try {
4303 } 4303 // InternalApplicationConfiguration.g:1543:2: ( (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) )
4304 4304 // InternalApplicationConfiguration.g:1544:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry )
4305 4305 {
4306 } 4306 // InternalApplicationConfiguration.g:1544:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry )
4307 4307 int alt23=2;
4308 // InternalApplicationConfiguration.g:1543:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? 4308 int LA23_0 = input.LA(1);
4309 int alt25=2; 4309
4310 int LA25_0 = input.LA(1); 4310 if ( (LA23_0==RULE_ID) ) {
4311 4311 alt23=1;
4312 if ( (LA25_0==22) ) { 4312 }
4313 alt25=1; 4313 else if ( (LA23_0==22) ) {
4314 } 4314 alt23=2;
4315 switch (alt25) { 4315 }
4316 case 1 : 4316 else {
4317 // InternalApplicationConfiguration.g:1544:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' 4317 NoViableAltException nvae =
4318 { 4318 new NoViableAltException("", 23, 0, input);
4319 otherlv_2=(Token)match(input,22,FOLLOW_16); 4319
4320 4320 throw nvae;
4321 newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); 4321 }
4322 4322 switch (alt23) {
4323 otherlv_3=(Token)match(input,18,FOLLOW_6); 4323 case 1 :
4324 4324 // InternalApplicationConfiguration.g:1545:3: this_PatternElement_0= rulePatternElement
4325 newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); 4325 {
4326 4326
4327 // InternalApplicationConfiguration.g:1552:4: ( (lv_exclusuion_4_0= rulePatternElement ) ) 4327 newCompositeNode(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0());
4328 // InternalApplicationConfiguration.g:1553:5: (lv_exclusuion_4_0= rulePatternElement ) 4328
4329 { 4329 pushFollow(FOLLOW_2);
4330 // InternalApplicationConfiguration.g:1553:5: (lv_exclusuion_4_0= rulePatternElement ) 4330 this_PatternElement_0=rulePatternElement();
4331 // InternalApplicationConfiguration.g:1554:6: lv_exclusuion_4_0= rulePatternElement 4331
4332 { 4332 state._fsp--;
4333 4333
4334 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); 4334
4335 4335 current = this_PatternElement_0;
4336 pushFollow(FOLLOW_14); 4336 afterParserOrEnumRuleCall();
4337 lv_exclusuion_4_0=rulePatternElement(); 4337
4338 4338
4339 state._fsp--; 4339 }
4340 4340 break;
4341 4341 case 2 :
4342 if (current==null) { 4342 // InternalApplicationConfiguration.g:1554:3: this_AllPatternEntry_1= ruleAllPatternEntry
4343 current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); 4343 {
4344 } 4344
4345 add( 4345 newCompositeNode(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1());
4346 current, 4346
4347 "exclusuion", 4347 pushFollow(FOLLOW_2);
4348 lv_exclusuion_4_0, 4348 this_AllPatternEntry_1=ruleAllPatternEntry();
4349 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); 4349
4350 afterParserOrEnumRuleCall(); 4350 state._fsp--;
4351 4351
4352 4352
4353 } 4353 current = this_AllPatternEntry_1;
4354 4354 afterParserOrEnumRuleCall();
4355 4355
4356 } 4356
4357 4357 }
4358 // InternalApplicationConfiguration.g:1571:4: (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* 4358 break;
4359 loop24: 4359
4360 do { 4360 }
4361 int alt24=2; 4361
4362 int LA24_0 = input.LA(1); 4362
4363 4363 }
4364 if ( (LA24_0==19) ) { 4364
4365 alt24=1; 4365
4366 } 4366 leaveRule();
4367 4367
4368 4368 }
4369 switch (alt24) { 4369
4370 case 1 : 4370 catch (RecognitionException re) {
4371 // InternalApplicationConfiguration.g:1572:5: otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) 4371 recover(input,re);
4372 { 4372 appendSkippedTokens();
4373 otherlv_5=(Token)match(input,19,FOLLOW_6); 4373 }
4374 4374 finally {
4375 newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); 4375 }
4376 4376 return current;
4377 // InternalApplicationConfiguration.g:1576:5: ( (lv_exclusuion_6_0= rulePatternElement ) ) 4377 }
4378 // InternalApplicationConfiguration.g:1577:6: (lv_exclusuion_6_0= rulePatternElement ) 4378 // $ANTLR end "rulePatternEntry"
4379 { 4379
4380 // InternalApplicationConfiguration.g:1577:6: (lv_exclusuion_6_0= rulePatternElement ) 4380
4381 // InternalApplicationConfiguration.g:1578:7: lv_exclusuion_6_0= rulePatternElement 4381 // $ANTLR start "entryRuleAllPatternEntry"
4382 { 4382 // InternalApplicationConfiguration.g:1566:1: entryRuleAllPatternEntry returns [EObject current=null] : iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ;
4383 4383 public final EObject entryRuleAllPatternEntry() throws RecognitionException {
4384 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); 4384 EObject current = null;
4385 4385
4386 pushFollow(FOLLOW_14); 4386 EObject iv_ruleAllPatternEntry = null;
4387 lv_exclusuion_6_0=rulePatternElement(); 4387
4388 4388
4389 state._fsp--; 4389 try {
4390 4390 // InternalApplicationConfiguration.g:1566:56: (iv_ruleAllPatternEntry= ruleAllPatternEntry EOF )
4391 4391 // InternalApplicationConfiguration.g:1567:2: iv_ruleAllPatternEntry= ruleAllPatternEntry EOF
4392 if (current==null) { 4392 {
4393 current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); 4393 newCompositeNode(grammarAccess.getAllPatternEntryRule());
4394 } 4394 pushFollow(FOLLOW_1);
4395 add( 4395 iv_ruleAllPatternEntry=ruleAllPatternEntry();
4396 current, 4396
4397 "exclusuion", 4397 state._fsp--;
4398 lv_exclusuion_6_0, 4398
4399 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); 4399 current =iv_ruleAllPatternEntry;
4400 afterParserOrEnumRuleCall(); 4400 match(input,EOF,FOLLOW_2);
4401 4401
4402 4402 }
4403 } 4403
4404 4404 }
4405 4405
4406 } 4406 catch (RecognitionException re) {
4407 4407 recover(input,re);
4408 4408 appendSkippedTokens();
4409 } 4409 }
4410 break; 4410 finally {
4411 4411 }
4412 default : 4412 return current;
4413 break loop24; 4413 }
4414 } 4414 // $ANTLR end "entryRuleAllPatternEntry"
4415 } while (true); 4415
4416 4416
4417 otherlv_7=(Token)match(input,20,FOLLOW_2); 4417 // $ANTLR start "ruleAllPatternEntry"
4418 4418 // InternalApplicationConfiguration.g:1573:1: ruleAllPatternEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) ;
4419 newLeafNode(otherlv_7, grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); 4419 public final EObject ruleAllPatternEntry() throws RecognitionException {
4420 4420 EObject current = null;
4421 4421
4422 } 4422 Token otherlv_0=null;
4423 break; 4423 Token otherlv_2=null;
4424 4424 Token otherlv_3=null;
4425 } 4425 Token otherlv_5=null;
4426 4426 Token otherlv_7=null;
4427 4427 EObject lv_exclusuion_4_0 = null;
4428 } 4428
4429 4429 EObject lv_exclusuion_6_0 = null;
4430 4430
4431 } 4431
4432 4432
4433 4433 enterRule();
4434 leaveRule(); 4434
4435 4435 try {
4436 } 4436 // InternalApplicationConfiguration.g:1579:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) )
4437 4437 // InternalApplicationConfiguration.g:1580:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? )
4438 catch (RecognitionException re) { 4438 {
4439 recover(input,re); 4439 // InternalApplicationConfiguration.g:1580:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? )
4440 appendSkippedTokens(); 4440 // InternalApplicationConfiguration.g:1581:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )?
4441 } 4441 {
4442 finally { 4442 otherlv_0=(Token)match(input,22,FOLLOW_6);
4443 } 4443
4444 return current; 4444 newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0());
4445 } 4445
4446 // $ANTLR end "ruleAllPatternEntry" 4446 // InternalApplicationConfiguration.g:1585:3: ( ( ruleQualifiedName ) )
4447 4447 // InternalApplicationConfiguration.g:1586:4: ( ruleQualifiedName )
4448 4448 {
4449 // $ANTLR start "entryRulePatternElement" 4449 // InternalApplicationConfiguration.g:1586:4: ( ruleQualifiedName )
4450 // InternalApplicationConfiguration.g:1605:1: entryRulePatternElement returns [EObject current=null] : iv_rulePatternElement= rulePatternElement EOF ; 4450 // InternalApplicationConfiguration.g:1587:5: ruleQualifiedName
4451 public final EObject entryRulePatternElement() throws RecognitionException { 4451 {
4452 EObject current = null; 4452
4453 4453 if (current==null) {
4454 EObject iv_rulePatternElement = null; 4454 current = createModelElement(grammarAccess.getAllPatternEntryRule());
4455 4455 }
4456 4456
4457 try { 4457
4458 // InternalApplicationConfiguration.g:1605:55: (iv_rulePatternElement= rulePatternElement EOF ) 4458 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0());
4459 // InternalApplicationConfiguration.g:1606:2: iv_rulePatternElement= rulePatternElement EOF 4459
4460 { 4460 pushFollow(FOLLOW_16);
4461 newCompositeNode(grammarAccess.getPatternElementRule()); 4461 ruleQualifiedName();
4462 pushFollow(FOLLOW_1); 4462
4463 iv_rulePatternElement=rulePatternElement(); 4463 state._fsp--;
4464 4464
4465 state._fsp--; 4465
4466 4466 afterParserOrEnumRuleCall();
4467 current =iv_rulePatternElement; 4467
4468 match(input,EOF,FOLLOW_2); 4468
4469 4469 }
4470 } 4470
4471 4471
4472 } 4472 }
4473 4473
4474 catch (RecognitionException re) { 4474 // InternalApplicationConfiguration.g:1601:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )?
4475 recover(input,re); 4475 int alt25=2;
4476 appendSkippedTokens(); 4476 int LA25_0 = input.LA(1);
4477 } 4477
4478 finally { 4478 if ( (LA25_0==23) ) {
4479 } 4479 alt25=1;
4480 return current; 4480 }
4481 } 4481 switch (alt25) {
4482 // $ANTLR end "entryRulePatternElement" 4482 case 1 :
4483 4483 // InternalApplicationConfiguration.g:1602:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}'
4484 4484 {
4485 // $ANTLR start "rulePatternElement" 4485 otherlv_2=(Token)match(input,23,FOLLOW_17);
4486 // InternalApplicationConfiguration.g:1612:1: rulePatternElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ; 4486
4487 public final EObject rulePatternElement() throws RecognitionException { 4487 newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0());
4488 EObject current = null; 4488
4489 4489 otherlv_3=(Token)match(input,19,FOLLOW_6);
4490 Token otherlv_1=null; 4490
4491 Token otherlv_2=null; 4491 newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1());
4492 4492
4493 4493 // InternalApplicationConfiguration.g:1610:4: ( (lv_exclusuion_4_0= rulePatternElement ) )
4494 enterRule(); 4494 // InternalApplicationConfiguration.g:1611:5: (lv_exclusuion_4_0= rulePatternElement )
4495 4495 {
4496 try { 4496 // InternalApplicationConfiguration.g:1611:5: (lv_exclusuion_4_0= rulePatternElement )
4497 // InternalApplicationConfiguration.g:1618:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ) 4497 // InternalApplicationConfiguration.g:1612:6: lv_exclusuion_4_0= rulePatternElement
4498 // InternalApplicationConfiguration.g:1619:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) 4498 {
4499 { 4499
4500 // InternalApplicationConfiguration.g:1619:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) 4500 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0());
4501 // InternalApplicationConfiguration.g:1620:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) 4501
4502 { 4502 pushFollow(FOLLOW_15);
4503 // InternalApplicationConfiguration.g:1620:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? 4503 lv_exclusuion_4_0=rulePatternElement();
4504 int alt26=2; 4504
4505 int LA26_0 = input.LA(1); 4505 state._fsp--;
4506 4506
4507 if ( (LA26_0==RULE_ID) ) { 4507
4508 int LA26_1 = input.LA(2); 4508 if (current==null) {
4509 4509 current = createModelElementForParent(grammarAccess.getAllPatternEntryRule());
4510 if ( (LA26_1==11||LA26_1==23) ) { 4510 }
4511 alt26=1; 4511 add(
4512 } 4512 current,
4513 } 4513 "exclusuion",
4514 switch (alt26) { 4514 lv_exclusuion_4_0,
4515 case 1 : 4515 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement");
4516 // InternalApplicationConfiguration.g:1621:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' 4516 afterParserOrEnumRuleCall();
4517 { 4517
4518 // InternalApplicationConfiguration.g:1621:4: ( ( ruleQualifiedName ) ) 4518
4519 // InternalApplicationConfiguration.g:1622:5: ( ruleQualifiedName ) 4519 }
4520 { 4520
4521 // InternalApplicationConfiguration.g:1622:5: ( ruleQualifiedName ) 4521
4522 // InternalApplicationConfiguration.g:1623:6: ruleQualifiedName 4522 }
4523 { 4523
4524 4524 // InternalApplicationConfiguration.g:1629:4: (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )*
4525 if (current==null) { 4525 loop24:
4526 current = createModelElement(grammarAccess.getPatternElementRule()); 4526 do {
4527 } 4527 int alt24=2;
4528 4528 int LA24_0 = input.LA(1);
4529 4529
4530 newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); 4530 if ( (LA24_0==20) ) {
4531 4531 alt24=1;
4532 pushFollow(FOLLOW_17); 4532 }
4533 ruleQualifiedName(); 4533
4534 4534
4535 state._fsp--; 4535 switch (alt24) {
4536 4536 case 1 :
4537 4537 // InternalApplicationConfiguration.g:1630:5: otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) )
4538 afterParserOrEnumRuleCall(); 4538 {
4539 4539 otherlv_5=(Token)match(input,20,FOLLOW_6);
4540 4540
4541 } 4541 newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0());
4542 4542
4543 4543 // InternalApplicationConfiguration.g:1634:5: ( (lv_exclusuion_6_0= rulePatternElement ) )
4544 } 4544 // InternalApplicationConfiguration.g:1635:6: (lv_exclusuion_6_0= rulePatternElement )
4545 4545 {
4546 otherlv_1=(Token)match(input,23,FOLLOW_6); 4546 // InternalApplicationConfiguration.g:1635:6: (lv_exclusuion_6_0= rulePatternElement )
4547 4547 // InternalApplicationConfiguration.g:1636:7: lv_exclusuion_6_0= rulePatternElement
4548 newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); 4548 {
4549 4549
4550 4550 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0());
4551 } 4551
4552 break; 4552 pushFollow(FOLLOW_15);
4553 4553 lv_exclusuion_6_0=rulePatternElement();
4554 } 4554
4555 4555 state._fsp--;
4556 // InternalApplicationConfiguration.g:1642:3: ( (otherlv_2= RULE_ID ) ) 4556
4557 // InternalApplicationConfiguration.g:1643:4: (otherlv_2= RULE_ID ) 4557
4558 { 4558 if (current==null) {
4559 // InternalApplicationConfiguration.g:1643:4: (otherlv_2= RULE_ID ) 4559 current = createModelElementForParent(grammarAccess.getAllPatternEntryRule());
4560 // InternalApplicationConfiguration.g:1644:5: otherlv_2= RULE_ID 4560 }
4561 { 4561 add(
4562 4562 current,
4563 if (current==null) { 4563 "exclusuion",
4564 current = createModelElement(grammarAccess.getPatternElementRule()); 4564 lv_exclusuion_6_0,
4565 } 4565 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement");
4566 4566 afterParserOrEnumRuleCall();
4567 otherlv_2=(Token)match(input,RULE_ID,FOLLOW_2); 4567
4568 4568
4569 newLeafNode(otherlv_2, grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); 4569 }
4570 4570
4571 4571
4572 } 4572 }
4573 4573
4574 4574
4575 } 4575 }
4576 4576 break;
4577 4577
4578 } 4578 default :
4579 4579 break loop24;
4580 4580 }
4581 } 4581 } while (true);
4582 4582
4583 4583 otherlv_7=(Token)match(input,21,FOLLOW_2);
4584 leaveRule(); 4584
4585 4585 newLeafNode(otherlv_7, grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4());
4586 } 4586
4587 4587
4588 catch (RecognitionException re) { 4588 }
4589 recover(input,re); 4589 break;
4590 appendSkippedTokens(); 4590
4591 } 4591 }
4592 finally { 4592
4593 } 4593
4594 return current; 4594 }
4595 } 4595
4596 // $ANTLR end "rulePatternElement" 4596
4597 4597 }
4598 4598
4599 // $ANTLR start "entryRuleGraphPatternDeclaration" 4599
4600 // InternalApplicationConfiguration.g:1659:1: entryRuleGraphPatternDeclaration returns [EObject current=null] : iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ; 4600 leaveRule();
4601 public final EObject entryRuleGraphPatternDeclaration() throws RecognitionException { 4601
4602 EObject current = null; 4602 }
4603 4603
4604 EObject iv_ruleGraphPatternDeclaration = null; 4604 catch (RecognitionException re) {
4605 4605 recover(input,re);
4606 4606 appendSkippedTokens();
4607 try { 4607 }
4608 // InternalApplicationConfiguration.g:1659:64: (iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ) 4608 finally {
4609 // InternalApplicationConfiguration.g:1660:2: iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF 4609 }
4610 { 4610 return current;
4611 newCompositeNode(grammarAccess.getGraphPatternDeclarationRule()); 4611 }
4612 pushFollow(FOLLOW_1); 4612 // $ANTLR end "ruleAllPatternEntry"
4613 iv_ruleGraphPatternDeclaration=ruleGraphPatternDeclaration(); 4613
4614 4614
4615 state._fsp--; 4615 // $ANTLR start "entryRulePatternElement"
4616 4616 // InternalApplicationConfiguration.g:1663:1: entryRulePatternElement returns [EObject current=null] : iv_rulePatternElement= rulePatternElement EOF ;
4617 current =iv_ruleGraphPatternDeclaration; 4617 public final EObject entryRulePatternElement() throws RecognitionException {
4618 match(input,EOF,FOLLOW_2); 4618 EObject current = null;
4619 4619
4620 } 4620 EObject iv_rulePatternElement = null;
4621 4621
4622 } 4622
4623 4623 try {
4624 catch (RecognitionException re) { 4624 // InternalApplicationConfiguration.g:1663:55: (iv_rulePatternElement= rulePatternElement EOF )
4625 recover(input,re); 4625 // InternalApplicationConfiguration.g:1664:2: iv_rulePatternElement= rulePatternElement EOF
4626 appendSkippedTokens(); 4626 {
4627 } 4627 newCompositeNode(grammarAccess.getPatternElementRule());
4628 finally { 4628 pushFollow(FOLLOW_1);
4629 } 4629 iv_rulePatternElement=rulePatternElement();
4630 return current; 4630
4631 } 4631 state._fsp--;
4632 // $ANTLR end "entryRuleGraphPatternDeclaration" 4632
4633 4633 current =iv_rulePatternElement;
4634 4634 match(input,EOF,FOLLOW_2);
4635 // $ANTLR start "ruleGraphPatternDeclaration" 4635
4636 // InternalApplicationConfiguration.g:1666:1: ruleGraphPatternDeclaration returns [EObject current=null] : (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ; 4636 }
4637 public final EObject ruleGraphPatternDeclaration() throws RecognitionException { 4637
4638 EObject current = null; 4638 }
4639 4639
4640 Token otherlv_0=null; 4640 catch (RecognitionException re) {
4641 Token lv_name_1_0=null; 4641 recover(input,re);
4642 EObject lv_specification_2_0 = null; 4642 appendSkippedTokens();
4643 4643 }
4644 4644 finally {
4645 4645 }
4646 enterRule(); 4646 return current;
4647 4647 }
4648 try { 4648 // $ANTLR end "entryRulePatternElement"
4649 // InternalApplicationConfiguration.g:1672:2: ( (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ) 4649
4650 // InternalApplicationConfiguration.g:1673:2: (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) 4650
4651 { 4651 // $ANTLR start "rulePatternElement"
4652 // InternalApplicationConfiguration.g:1673:2: (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) 4652 // InternalApplicationConfiguration.g:1670:1: rulePatternElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ;
4653 // InternalApplicationConfiguration.g:1674:3: otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) 4653 public final EObject rulePatternElement() throws RecognitionException {
4654 { 4654 EObject current = null;
4655 otherlv_0=(Token)match(input,27,FOLLOW_6); 4655
4656 4656 Token otherlv_1=null;
4657 newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0()); 4657 Token otherlv_2=null;
4658 4658
4659 // InternalApplicationConfiguration.g:1678:3: ( (lv_name_1_0= RULE_ID ) ) 4659
4660 // InternalApplicationConfiguration.g:1679:4: (lv_name_1_0= RULE_ID ) 4660 enterRule();
4661 { 4661
4662 // InternalApplicationConfiguration.g:1679:4: (lv_name_1_0= RULE_ID ) 4662 try {
4663 // InternalApplicationConfiguration.g:1680:5: lv_name_1_0= RULE_ID 4663 // InternalApplicationConfiguration.g:1676:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) )
4664 { 4664 // InternalApplicationConfiguration.g:1677:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) )
4665 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); 4665 {
4666 4666 // InternalApplicationConfiguration.g:1677:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) )
4667 newLeafNode(lv_name_1_0, grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 4667 // InternalApplicationConfiguration.g:1678:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) )
4668 4668 {
4669 4669 // InternalApplicationConfiguration.g:1678:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )?
4670 if (current==null) { 4670 int alt26=2;
4671 current = createModelElement(grammarAccess.getGraphPatternDeclarationRule()); 4671 int LA26_0 = input.LA(1);
4672 } 4672
4673 setWithLastConsumed( 4673 if ( (LA26_0==RULE_ID) ) {
4674 current, 4674 int LA26_1 = input.LA(2);
4675 "name", 4675
4676 lv_name_1_0, 4676 if ( (LA26_1==11||LA26_1==24) ) {
4677 "org.eclipse.xtext.common.Terminals.ID"); 4677 alt26=1;
4678 4678 }
4679 4679 }
4680 } 4680 switch (alt26) {
4681 4681 case 1 :
4682 4682 // InternalApplicationConfiguration.g:1679:4: ( ( ruleQualifiedName ) ) otherlv_1= '::'
4683 } 4683 {
4684 4684 // InternalApplicationConfiguration.g:1679:4: ( ( ruleQualifiedName ) )
4685 // InternalApplicationConfiguration.g:1696:3: ( (lv_specification_2_0= rulePatternSpecification ) ) 4685 // InternalApplicationConfiguration.g:1680:5: ( ruleQualifiedName )
4686 // InternalApplicationConfiguration.g:1697:4: (lv_specification_2_0= rulePatternSpecification ) 4686 {
4687 { 4687 // InternalApplicationConfiguration.g:1680:5: ( ruleQualifiedName )
4688 // InternalApplicationConfiguration.g:1697:4: (lv_specification_2_0= rulePatternSpecification ) 4688 // InternalApplicationConfiguration.g:1681:6: ruleQualifiedName
4689 // InternalApplicationConfiguration.g:1698:5: lv_specification_2_0= rulePatternSpecification 4689 {
4690 { 4690
4691 4691 if (current==null) {
4692 newCompositeNode(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); 4692 current = createModelElement(grammarAccess.getPatternElementRule());
4693 4693 }
4694 pushFollow(FOLLOW_2); 4694
4695 lv_specification_2_0=rulePatternSpecification(); 4695
4696 4696 newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0());
4697 state._fsp--; 4697
4698 4698 pushFollow(FOLLOW_18);
4699 4699 ruleQualifiedName();
4700 if (current==null) { 4700
4701 current = createModelElementForParent(grammarAccess.getGraphPatternDeclarationRule()); 4701 state._fsp--;
4702 } 4702
4703 set( 4703
4704 current, 4704 afterParserOrEnumRuleCall();
4705 "specification", 4705
4706 lv_specification_2_0, 4706
4707 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification"); 4707 }
4708 afterParserOrEnumRuleCall(); 4708
4709 4709
4710 4710 }
4711 } 4711
4712 4712 otherlv_1=(Token)match(input,24,FOLLOW_6);
4713 4713
4714 } 4714 newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1());
4715 4715
4716 4716
4717 } 4717 }
4718 4718 break;
4719 4719
4720 } 4720 }
4721 4721
4722 4722 // InternalApplicationConfiguration.g:1700:3: ( (otherlv_2= RULE_ID ) )
4723 leaveRule(); 4723 // InternalApplicationConfiguration.g:1701:4: (otherlv_2= RULE_ID )
4724 4724 {
4725 } 4725 // InternalApplicationConfiguration.g:1701:4: (otherlv_2= RULE_ID )
4726 4726 // InternalApplicationConfiguration.g:1702:5: otherlv_2= RULE_ID
4727 catch (RecognitionException re) { 4727 {
4728 recover(input,re); 4728
4729 appendSkippedTokens(); 4729 if (current==null) {
4730 } 4730 current = createModelElement(grammarAccess.getPatternElementRule());
4731 finally { 4731 }
4732 } 4732
4733 return current; 4733 otherlv_2=(Token)match(input,RULE_ID,FOLLOW_2);
4734 } 4734
4735 // $ANTLR end "ruleGraphPatternDeclaration" 4735 newLeafNode(otherlv_2, grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0());
4736 4736
4737 4737
4738 // $ANTLR start "entryRuleGraphPatternReference" 4738 }
4739 // InternalApplicationConfiguration.g:1719:1: entryRuleGraphPatternReference returns [EObject current=null] : iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ; 4739
4740 public final EObject entryRuleGraphPatternReference() throws RecognitionException { 4740
4741 EObject current = null; 4741 }
4742 4742
4743 EObject iv_ruleGraphPatternReference = null; 4743
4744 4744 }
4745 4745
4746 try { 4746
4747 // InternalApplicationConfiguration.g:1719:62: (iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ) 4747 }
4748 // InternalApplicationConfiguration.g:1720:2: iv_ruleGraphPatternReference= ruleGraphPatternReference EOF 4748
4749 { 4749
4750 newCompositeNode(grammarAccess.getGraphPatternReferenceRule()); 4750 leaveRule();
4751 pushFollow(FOLLOW_1); 4751
4752 iv_ruleGraphPatternReference=ruleGraphPatternReference(); 4752 }
4753 4753
4754 state._fsp--; 4754 catch (RecognitionException re) {
4755 4755 recover(input,re);
4756 current =iv_ruleGraphPatternReference; 4756 appendSkippedTokens();
4757 match(input,EOF,FOLLOW_2); 4757 }
4758 4758 finally {
4759 } 4759 }
4760 4760 return current;
4761 } 4761 }
4762 4762 // $ANTLR end "rulePatternElement"
4763 catch (RecognitionException re) { 4763
4764 recover(input,re); 4764
4765 appendSkippedTokens(); 4765 // $ANTLR start "entryRuleGraphPatternDeclaration"
4766 } 4766 // InternalApplicationConfiguration.g:1717:1: entryRuleGraphPatternDeclaration returns [EObject current=null] : iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ;
4767 finally { 4767 public final EObject entryRuleGraphPatternDeclaration() throws RecognitionException {
4768 } 4768 EObject current = null;
4769 return current; 4769
4770 } 4770 EObject iv_ruleGraphPatternDeclaration = null;
4771 // $ANTLR end "entryRuleGraphPatternReference" 4771
4772 4772
4773 4773 try {
4774 // $ANTLR start "ruleGraphPatternReference" 4774 // InternalApplicationConfiguration.g:1717:64: (iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF )
4775 // InternalApplicationConfiguration.g:1726:1: ruleGraphPatternReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; 4775 // InternalApplicationConfiguration.g:1718:2: iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF
4776 public final EObject ruleGraphPatternReference() throws RecognitionException { 4776 {
4777 EObject current = null; 4777 newCompositeNode(grammarAccess.getGraphPatternDeclarationRule());
4778 4778 pushFollow(FOLLOW_1);
4779 Token otherlv_0=null; 4779 iv_ruleGraphPatternDeclaration=ruleGraphPatternDeclaration();
4780 4780
4781 4781 state._fsp--;
4782 enterRule(); 4782
4783 4783 current =iv_ruleGraphPatternDeclaration;
4784 try { 4784 match(input,EOF,FOLLOW_2);
4785 // InternalApplicationConfiguration.g:1732:2: ( ( (otherlv_0= RULE_ID ) ) ) 4785
4786 // InternalApplicationConfiguration.g:1733:2: ( (otherlv_0= RULE_ID ) ) 4786 }
4787 { 4787
4788 // InternalApplicationConfiguration.g:1733:2: ( (otherlv_0= RULE_ID ) ) 4788 }
4789 // InternalApplicationConfiguration.g:1734:3: (otherlv_0= RULE_ID ) 4789
4790 { 4790 catch (RecognitionException re) {
4791 // InternalApplicationConfiguration.g:1734:3: (otherlv_0= RULE_ID ) 4791 recover(input,re);
4792 // InternalApplicationConfiguration.g:1735:4: otherlv_0= RULE_ID 4792 appendSkippedTokens();
4793 { 4793 }
4794 4794 finally {
4795 if (current==null) { 4795 }
4796 current = createModelElement(grammarAccess.getGraphPatternReferenceRule()); 4796 return current;
4797 } 4797 }
4798 4798 // $ANTLR end "entryRuleGraphPatternDeclaration"
4799 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); 4799
4800 4800
4801 newLeafNode(otherlv_0, grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); 4801 // $ANTLR start "ruleGraphPatternDeclaration"
4802 4802 // InternalApplicationConfiguration.g:1724:1: ruleGraphPatternDeclaration returns [EObject current=null] : (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ;
4803 4803 public final EObject ruleGraphPatternDeclaration() throws RecognitionException {
4804 } 4804 EObject current = null;
4805 4805
4806 4806 Token otherlv_0=null;
4807 } 4807 Token lv_name_1_0=null;
4808 4808 EObject lv_specification_2_0 = null;
4809 4809
4810 } 4810
4811 4811
4812 4812 enterRule();
4813 leaveRule(); 4813
4814 4814 try {
4815 } 4815 // InternalApplicationConfiguration.g:1730:2: ( (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) )
4816 4816 // InternalApplicationConfiguration.g:1731:2: (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) )
4817 catch (RecognitionException re) { 4817 {
4818 recover(input,re); 4818 // InternalApplicationConfiguration.g:1731:2: (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) )
4819 appendSkippedTokens(); 4819 // InternalApplicationConfiguration.g:1732:3: otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) )
4820 } 4820 {
4821 finally { 4821 otherlv_0=(Token)match(input,28,FOLLOW_6);
4822 } 4822
4823 return current; 4823 newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0());
4824 } 4824
4825 // $ANTLR end "ruleGraphPatternReference" 4825 // InternalApplicationConfiguration.g:1736:3: ( (lv_name_1_0= RULE_ID ) )
4826 4826 // InternalApplicationConfiguration.g:1737:4: (lv_name_1_0= RULE_ID )
4827 4827 {
4828 // $ANTLR start "entryRuleGraphPattern" 4828 // InternalApplicationConfiguration.g:1737:4: (lv_name_1_0= RULE_ID )
4829 // InternalApplicationConfiguration.g:1749:1: entryRuleGraphPattern returns [EObject current=null] : iv_ruleGraphPattern= ruleGraphPattern EOF ; 4829 // InternalApplicationConfiguration.g:1738:5: lv_name_1_0= RULE_ID
4830 public final EObject entryRuleGraphPattern() throws RecognitionException { 4830 {
4831 EObject current = null; 4831 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17);
4832 4832
4833 EObject iv_ruleGraphPattern = null; 4833 newLeafNode(lv_name_1_0, grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0());
4834 4834
4835 4835
4836 try { 4836 if (current==null) {
4837 // InternalApplicationConfiguration.g:1749:53: (iv_ruleGraphPattern= ruleGraphPattern EOF ) 4837 current = createModelElement(grammarAccess.getGraphPatternDeclarationRule());
4838 // InternalApplicationConfiguration.g:1750:2: iv_ruleGraphPattern= ruleGraphPattern EOF 4838 }
4839 { 4839 setWithLastConsumed(
4840 newCompositeNode(grammarAccess.getGraphPatternRule()); 4840 current,
4841 pushFollow(FOLLOW_1); 4841 "name",
4842 iv_ruleGraphPattern=ruleGraphPattern(); 4842 lv_name_1_0,
4843 4843 "org.eclipse.xtext.common.Terminals.ID");
4844 state._fsp--; 4844
4845 4845
4846 current =iv_ruleGraphPattern; 4846 }
4847 match(input,EOF,FOLLOW_2); 4847
4848 4848
4849 } 4849 }
4850 4850
4851 } 4851 // InternalApplicationConfiguration.g:1754:3: ( (lv_specification_2_0= rulePatternSpecification ) )
4852 4852 // InternalApplicationConfiguration.g:1755:4: (lv_specification_2_0= rulePatternSpecification )
4853 catch (RecognitionException re) { 4853 {
4854 recover(input,re); 4854 // InternalApplicationConfiguration.g:1755:4: (lv_specification_2_0= rulePatternSpecification )
4855 appendSkippedTokens(); 4855 // InternalApplicationConfiguration.g:1756:5: lv_specification_2_0= rulePatternSpecification
4856 } 4856 {
4857 finally { 4857
4858 } 4858 newCompositeNode(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0());
4859 return current; 4859
4860 } 4860 pushFollow(FOLLOW_2);
4861 // $ANTLR end "entryRuleGraphPattern" 4861 lv_specification_2_0=rulePatternSpecification();
4862 4862
4863 4863 state._fsp--;
4864 // $ANTLR start "ruleGraphPattern" 4864
4865 // InternalApplicationConfiguration.g:1756:1: ruleGraphPattern returns [EObject current=null] : (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ; 4865
4866 public final EObject ruleGraphPattern() throws RecognitionException { 4866 if (current==null) {
4867 EObject current = null; 4867 current = createModelElementForParent(grammarAccess.getGraphPatternDeclarationRule());
4868 4868 }
4869 EObject this_GraphPatternReference_0 = null; 4869 set(
4870 4870 current,
4871 EObject this_PatternSpecification_1 = null; 4871 "specification",
4872 4872 lv_specification_2_0,
4873 4873 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification");
4874 4874 afterParserOrEnumRuleCall();
4875 enterRule(); 4875
4876 4876
4877 try { 4877 }
4878 // InternalApplicationConfiguration.g:1762:2: ( (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ) 4878
4879 // InternalApplicationConfiguration.g:1763:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) 4879
4880 { 4880 }
4881 // InternalApplicationConfiguration.g:1763:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) 4881
4882 int alt27=2; 4882
4883 int LA27_0 = input.LA(1); 4883 }
4884 4884
4885 if ( (LA27_0==RULE_ID) ) { 4885
4886 alt27=1; 4886 }
4887 } 4887
4888 else if ( (LA27_0==18) ) { 4888
4889 alt27=2; 4889 leaveRule();
4890 } 4890
4891 else { 4891 }
4892 NoViableAltException nvae = 4892
4893 new NoViableAltException("", 27, 0, input); 4893 catch (RecognitionException re) {
4894 4894 recover(input,re);
4895 throw nvae; 4895 appendSkippedTokens();
4896 } 4896 }
4897 switch (alt27) { 4897 finally {
4898 case 1 : 4898 }
4899 // InternalApplicationConfiguration.g:1764:3: this_GraphPatternReference_0= ruleGraphPatternReference 4899 return current;
4900 { 4900 }
4901 4901 // $ANTLR end "ruleGraphPatternDeclaration"
4902 newCompositeNode(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); 4902
4903 4903
4904 pushFollow(FOLLOW_2); 4904 // $ANTLR start "entryRuleGraphPatternReference"
4905 this_GraphPatternReference_0=ruleGraphPatternReference(); 4905 // InternalApplicationConfiguration.g:1777:1: entryRuleGraphPatternReference returns [EObject current=null] : iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ;
4906 4906 public final EObject entryRuleGraphPatternReference() throws RecognitionException {
4907 state._fsp--; 4907 EObject current = null;
4908 4908
4909 4909 EObject iv_ruleGraphPatternReference = null;
4910 current = this_GraphPatternReference_0; 4910
4911 afterParserOrEnumRuleCall(); 4911
4912 4912 try {
4913 4913 // InternalApplicationConfiguration.g:1777:62: (iv_ruleGraphPatternReference= ruleGraphPatternReference EOF )
4914 } 4914 // InternalApplicationConfiguration.g:1778:2: iv_ruleGraphPatternReference= ruleGraphPatternReference EOF
4915 break; 4915 {
4916 case 2 : 4916 newCompositeNode(grammarAccess.getGraphPatternReferenceRule());
4917 // InternalApplicationConfiguration.g:1773:3: this_PatternSpecification_1= rulePatternSpecification 4917 pushFollow(FOLLOW_1);
4918 { 4918 iv_ruleGraphPatternReference=ruleGraphPatternReference();
4919 4919
4920 newCompositeNode(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); 4920 state._fsp--;
4921 4921
4922 pushFollow(FOLLOW_2); 4922 current =iv_ruleGraphPatternReference;
4923 this_PatternSpecification_1=rulePatternSpecification(); 4923 match(input,EOF,FOLLOW_2);
4924 4924
4925 state._fsp--; 4925 }
4926 4926
4927 4927 }
4928 current = this_PatternSpecification_1; 4928
4929 afterParserOrEnumRuleCall(); 4929 catch (RecognitionException re) {
4930 4930 recover(input,re);
4931 4931 appendSkippedTokens();
4932 } 4932 }
4933 break; 4933 finally {
4934 4934 }
4935 } 4935 return current;
4936 4936 }
4937 4937 // $ANTLR end "entryRuleGraphPatternReference"
4938 } 4938
4939 4939
4940 4940 // $ANTLR start "ruleGraphPatternReference"
4941 leaveRule(); 4941 // InternalApplicationConfiguration.g:1784:1: ruleGraphPatternReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
4942 4942 public final EObject ruleGraphPatternReference() throws RecognitionException {
4943 } 4943 EObject current = null;
4944 4944
4945 catch (RecognitionException re) { 4945 Token otherlv_0=null;
4946 recover(input,re); 4946
4947 appendSkippedTokens(); 4947
4948 } 4948 enterRule();
4949 finally { 4949
4950 } 4950 try {
4951 return current; 4951 // InternalApplicationConfiguration.g:1790:2: ( ( (otherlv_0= RULE_ID ) ) )
4952 } 4952 // InternalApplicationConfiguration.g:1791:2: ( (otherlv_0= RULE_ID ) )
4953 // $ANTLR end "ruleGraphPattern" 4953 {
4954 4954 // InternalApplicationConfiguration.g:1791:2: ( (otherlv_0= RULE_ID ) )
4955 4955 // InternalApplicationConfiguration.g:1792:3: (otherlv_0= RULE_ID )
4956 // $ANTLR start "entryRuleConfigSpecification" 4956 {
4957 // InternalApplicationConfiguration.g:1785:1: entryRuleConfigSpecification returns [EObject current=null] : iv_ruleConfigSpecification= ruleConfigSpecification EOF ; 4957 // InternalApplicationConfiguration.g:1792:3: (otherlv_0= RULE_ID )
4958 public final EObject entryRuleConfigSpecification() throws RecognitionException { 4958 // InternalApplicationConfiguration.g:1793:4: otherlv_0= RULE_ID
4959 EObject current = null; 4959 {
4960 4960
4961 EObject iv_ruleConfigSpecification = null; 4961 if (current==null) {
4962 4962 current = createModelElement(grammarAccess.getGraphPatternReferenceRule());
4963 4963 }
4964 try { 4964
4965 // InternalApplicationConfiguration.g:1785:60: (iv_ruleConfigSpecification= ruleConfigSpecification EOF ) 4965 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2);
4966 // InternalApplicationConfiguration.g:1786:2: iv_ruleConfigSpecification= ruleConfigSpecification EOF 4966
4967 { 4967 newLeafNode(otherlv_0, grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0());
4968 newCompositeNode(grammarAccess.getConfigSpecificationRule()); 4968
4969 pushFollow(FOLLOW_1); 4969
4970 iv_ruleConfigSpecification=ruleConfigSpecification(); 4970 }
4971 4971
4972 state._fsp--; 4972
4973 4973 }
4974 current =iv_ruleConfigSpecification; 4974
4975 match(input,EOF,FOLLOW_2); 4975
4976 4976 }
4977 } 4977
4978 4978
4979 } 4979 leaveRule();
4980 4980
4981 catch (RecognitionException re) { 4981 }
4982 recover(input,re); 4982
4983 appendSkippedTokens(); 4983 catch (RecognitionException re) {
4984 } 4984 recover(input,re);
4985 finally { 4985 appendSkippedTokens();
4986 } 4986 }
4987 return current; 4987 finally {
4988 } 4988 }
4989 // $ANTLR end "entryRuleConfigSpecification" 4989 return current;
4990 4990 }
4991 4991 // $ANTLR end "ruleGraphPatternReference"
4992 // $ANTLR start "ruleConfigSpecification" 4992
4993 // InternalApplicationConfiguration.g:1792:1: ruleConfigSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ; 4993
4994 public final EObject ruleConfigSpecification() throws RecognitionException { 4994 // $ANTLR start "entryRuleGraphPattern"
4995 EObject current = null; 4995 // InternalApplicationConfiguration.g:1807:1: entryRuleGraphPattern returns [EObject current=null] : iv_ruleGraphPattern= ruleGraphPattern EOF ;
4996 4996 public final EObject entryRuleGraphPattern() throws RecognitionException {
4997 Token otherlv_1=null; 4997 EObject current = null;
4998 Token otherlv_3=null; 4998
4999 Token otherlv_5=null; 4999 EObject iv_ruleGraphPattern = null;
5000 EObject lv_entries_2_0 = null; 5000
5001 5001
5002 EObject lv_entries_4_0 = null; 5002 try {
5003 5003 // InternalApplicationConfiguration.g:1807:53: (iv_ruleGraphPattern= ruleGraphPattern EOF )
5004 5004 // InternalApplicationConfiguration.g:1808:2: iv_ruleGraphPattern= ruleGraphPattern EOF
5005 5005 {
5006 enterRule(); 5006 newCompositeNode(grammarAccess.getGraphPatternRule());
5007 5007 pushFollow(FOLLOW_1);
5008 try { 5008 iv_ruleGraphPattern=ruleGraphPattern();
5009 // InternalApplicationConfiguration.g:1798:2: ( ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ) 5009
5010 // InternalApplicationConfiguration.g:1799:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) 5010 state._fsp--;
5011 { 5011
5012 // InternalApplicationConfiguration.g:1799:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) 5012 current =iv_ruleGraphPattern;
5013 // InternalApplicationConfiguration.g:1800:3: () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' 5013 match(input,EOF,FOLLOW_2);
5014 { 5014
5015 // InternalApplicationConfiguration.g:1800:3: () 5015 }
5016 // InternalApplicationConfiguration.g:1801:4: 5016
5017 { 5017 }
5018 5018
5019 current = forceCreateModelElement( 5019 catch (RecognitionException re) {
5020 grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(), 5020 recover(input,re);
5021 current); 5021 appendSkippedTokens();
5022 5022 }
5023 5023 finally {
5024 } 5024 }
5025 5025 return current;
5026 otherlv_1=(Token)match(input,18,FOLLOW_21); 5026 }
5027 5027 // $ANTLR end "entryRuleGraphPattern"
5028 newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); 5028
5029 5029
5030 // InternalApplicationConfiguration.g:1811:3: ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? 5030 // $ANTLR start "ruleGraphPattern"
5031 int alt29=2; 5031 // InternalApplicationConfiguration.g:1814:1: ruleGraphPattern returns [EObject current=null] : (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ;
5032 int LA29_0 = input.LA(1); 5032 public final EObject ruleGraphPattern() throws RecognitionException {
5033 5033 EObject current = null;
5034 if ( (LA29_0==RULE_STRING||(LA29_0>=29 && LA29_0<=31)) ) { 5034
5035 alt29=1; 5035 EObject this_GraphPatternReference_0 = null;
5036 } 5036
5037 switch (alt29) { 5037 EObject this_PatternSpecification_1 = null;
5038 case 1 : 5038
5039 // InternalApplicationConfiguration.g:1812:4: ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* 5039
5040 { 5040
5041 // InternalApplicationConfiguration.g:1812:4: ( (lv_entries_2_0= ruleConfigEntry ) ) 5041 enterRule();
5042 // InternalApplicationConfiguration.g:1813:5: (lv_entries_2_0= ruleConfigEntry ) 5042
5043 { 5043 try {
5044 // InternalApplicationConfiguration.g:1813:5: (lv_entries_2_0= ruleConfigEntry ) 5044 // InternalApplicationConfiguration.g:1820:2: ( (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) )
5045 // InternalApplicationConfiguration.g:1814:6: lv_entries_2_0= ruleConfigEntry 5045 // InternalApplicationConfiguration.g:1821:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification )
5046 { 5046 {
5047 5047 // InternalApplicationConfiguration.g:1821:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification )
5048 newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); 5048 int alt27=2;
5049 5049 int LA27_0 = input.LA(1);
5050 pushFollow(FOLLOW_14); 5050
5051 lv_entries_2_0=ruleConfigEntry(); 5051 if ( (LA27_0==RULE_ID) ) {
5052 5052 alt27=1;
5053 state._fsp--; 5053 }
5054 5054 else if ( (LA27_0==19) ) {
5055 5055 alt27=2;
5056 if (current==null) { 5056 }
5057 current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); 5057 else {
5058 } 5058 NoViableAltException nvae =
5059 add( 5059 new NoViableAltException("", 27, 0, input);
5060 current, 5060
5061 "entries", 5061 throw nvae;
5062 lv_entries_2_0, 5062 }
5063 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); 5063 switch (alt27) {
5064 afterParserOrEnumRuleCall(); 5064 case 1 :
5065 5065 // InternalApplicationConfiguration.g:1822:3: this_GraphPatternReference_0= ruleGraphPatternReference
5066 5066 {
5067 } 5067
5068 5068 newCompositeNode(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0());
5069 5069
5070 } 5070 pushFollow(FOLLOW_2);
5071 5071 this_GraphPatternReference_0=ruleGraphPatternReference();
5072 // InternalApplicationConfiguration.g:1831:4: (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* 5072
5073 loop28: 5073 state._fsp--;
5074 do { 5074
5075 int alt28=2; 5075
5076 int LA28_0 = input.LA(1); 5076 current = this_GraphPatternReference_0;
5077 5077 afterParserOrEnumRuleCall();
5078 if ( (LA28_0==19) ) { 5078
5079 alt28=1; 5079
5080 } 5080 }
5081 5081 break;
5082 5082 case 2 :
5083 switch (alt28) { 5083 // InternalApplicationConfiguration.g:1831:3: this_PatternSpecification_1= rulePatternSpecification
5084 case 1 : 5084 {
5085 // InternalApplicationConfiguration.g:1832:5: otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) 5085
5086 { 5086 newCompositeNode(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1());
5087 otherlv_3=(Token)match(input,19,FOLLOW_22); 5087
5088 5088 pushFollow(FOLLOW_2);
5089 newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); 5089 this_PatternSpecification_1=rulePatternSpecification();
5090 5090
5091 // InternalApplicationConfiguration.g:1836:5: ( (lv_entries_4_0= ruleConfigEntry ) ) 5091 state._fsp--;
5092 // InternalApplicationConfiguration.g:1837:6: (lv_entries_4_0= ruleConfigEntry ) 5092
5093 { 5093
5094 // InternalApplicationConfiguration.g:1837:6: (lv_entries_4_0= ruleConfigEntry ) 5094 current = this_PatternSpecification_1;
5095 // InternalApplicationConfiguration.g:1838:7: lv_entries_4_0= ruleConfigEntry 5095 afterParserOrEnumRuleCall();
5096 { 5096
5097 5097
5098 newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); 5098 }
5099 5099 break;
5100 pushFollow(FOLLOW_14); 5100
5101 lv_entries_4_0=ruleConfigEntry(); 5101 }
5102 5102
5103 state._fsp--; 5103
5104 5104 }
5105 5105
5106 if (current==null) { 5106
5107 current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); 5107 leaveRule();
5108 } 5108
5109 add( 5109 }
5110 current, 5110
5111 "entries", 5111 catch (RecognitionException re) {
5112 lv_entries_4_0, 5112 recover(input,re);
5113 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); 5113 appendSkippedTokens();
5114 afterParserOrEnumRuleCall(); 5114 }
5115 5115 finally {
5116 5116 }
5117 } 5117 return current;
5118 5118 }
5119 5119 // $ANTLR end "ruleGraphPattern"
5120 } 5120
5121 5121
5122 5122 // $ANTLR start "entryRuleObjectiveSpecification"
5123 } 5123 // InternalApplicationConfiguration.g:1843:1: entryRuleObjectiveSpecification returns [EObject current=null] : iv_ruleObjectiveSpecification= ruleObjectiveSpecification EOF ;
5124 break; 5124 public final EObject entryRuleObjectiveSpecification() throws RecognitionException {
5125 5125 EObject current = null;
5126 default : 5126
5127 break loop28; 5127 EObject iv_ruleObjectiveSpecification = null;
5128 } 5128
5129 } while (true); 5129
5130 5130 try {
5131 5131 // InternalApplicationConfiguration.g:1843:63: (iv_ruleObjectiveSpecification= ruleObjectiveSpecification EOF )
5132 } 5132 // InternalApplicationConfiguration.g:1844:2: iv_ruleObjectiveSpecification= ruleObjectiveSpecification EOF
5133 break; 5133 {
5134 5134 newCompositeNode(grammarAccess.getObjectiveSpecificationRule());
5135 } 5135 pushFollow(FOLLOW_1);
5136 5136 iv_ruleObjectiveSpecification=ruleObjectiveSpecification();
5137 otherlv_5=(Token)match(input,20,FOLLOW_2); 5137
5138 5138 state._fsp--;
5139 newLeafNode(otherlv_5, grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); 5139
5140 5140 current =iv_ruleObjectiveSpecification;
5141 5141 match(input,EOF,FOLLOW_2);
5142 } 5142
5143 5143 }
5144 5144
5145 } 5145 }
5146 5146
5147 5147 catch (RecognitionException re) {
5148 leaveRule(); 5148 recover(input,re);
5149 5149 appendSkippedTokens();
5150 } 5150 }
5151 5151 finally {
5152 catch (RecognitionException re) { 5152 }
5153 recover(input,re); 5153 return current;
5154 appendSkippedTokens(); 5154 }
5155 } 5155 // $ANTLR end "entryRuleObjectiveSpecification"
5156 finally { 5156
5157 } 5157
5158 return current; 5158 // $ANTLR start "ruleObjectiveSpecification"
5159 } 5159 // InternalApplicationConfiguration.g:1850:1: ruleObjectiveSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' ) ;
5160 // $ANTLR end "ruleConfigSpecification" 5160 public final EObject ruleObjectiveSpecification() throws RecognitionException {
5161 5161 EObject current = null;
5162 5162
5163 // $ANTLR start "entryRuleConfigDeclaration" 5163 Token otherlv_0=null;
5164 // InternalApplicationConfiguration.g:1865:1: entryRuleConfigDeclaration returns [EObject current=null] : iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ; 5164 Token otherlv_2=null;
5165 public final EObject entryRuleConfigDeclaration() throws RecognitionException { 5165 Token otherlv_4=null;
5166 EObject current = null; 5166 EObject lv_entries_1_0 = null;
5167 5167
5168 EObject iv_ruleConfigDeclaration = null; 5168 EObject lv_entries_3_0 = null;
5169 5169
5170 5170
5171 try { 5171
5172 // InternalApplicationConfiguration.g:1865:58: (iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ) 5172 enterRule();
5173 // InternalApplicationConfiguration.g:1866:2: iv_ruleConfigDeclaration= ruleConfigDeclaration EOF 5173
5174 { 5174 try {
5175 newCompositeNode(grammarAccess.getConfigDeclarationRule()); 5175 // InternalApplicationConfiguration.g:1856:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' ) )
5176 pushFollow(FOLLOW_1); 5176 // InternalApplicationConfiguration.g:1857:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' )
5177 iv_ruleConfigDeclaration=ruleConfigDeclaration(); 5177 {
5178 5178 // InternalApplicationConfiguration.g:1857:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' )
5179 state._fsp--; 5179 // InternalApplicationConfiguration.g:1858:3: otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}'
5180 5180 {
5181 current =iv_ruleConfigDeclaration; 5181 otherlv_0=(Token)match(input,19,FOLLOW_22);
5182 match(input,EOF,FOLLOW_2); 5182
5183 5183 newLeafNode(otherlv_0, grammarAccess.getObjectiveSpecificationAccess().getLeftCurlyBracketKeyword_0());
5184 } 5184
5185 5185 // InternalApplicationConfiguration.g:1862:3: ( (lv_entries_1_0= ruleObjectiveEntry ) )
5186 } 5186 // InternalApplicationConfiguration.g:1863:4: (lv_entries_1_0= ruleObjectiveEntry )
5187 5187 {
5188 catch (RecognitionException re) { 5188 // InternalApplicationConfiguration.g:1863:4: (lv_entries_1_0= ruleObjectiveEntry )
5189 recover(input,re); 5189 // InternalApplicationConfiguration.g:1864:5: lv_entries_1_0= ruleObjectiveEntry
5190 appendSkippedTokens(); 5190 {
5191 } 5191
5192 finally { 5192 newCompositeNode(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_1_0());
5193 } 5193
5194 return current; 5194 pushFollow(FOLLOW_15);
5195 } 5195 lv_entries_1_0=ruleObjectiveEntry();
5196 // $ANTLR end "entryRuleConfigDeclaration" 5196
5197 5197 state._fsp--;
5198 5198
5199 // $ANTLR start "ruleConfigDeclaration" 5199
5200 // InternalApplicationConfiguration.g:1872:1: ruleConfigDeclaration returns [EObject current=null] : (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ; 5200 if (current==null) {
5201 public final EObject ruleConfigDeclaration() throws RecognitionException { 5201 current = createModelElementForParent(grammarAccess.getObjectiveSpecificationRule());
5202 EObject current = null; 5202 }
5203 5203 add(
5204 Token otherlv_0=null; 5204 current,
5205 Token lv_name_1_0=null; 5205 "entries",
5206 EObject lv_specification_2_0 = null; 5206 lv_entries_1_0,
5207 5207 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveEntry");
5208 5208 afterParserOrEnumRuleCall();
5209 5209
5210 enterRule(); 5210
5211 5211 }
5212 try { 5212
5213 // InternalApplicationConfiguration.g:1878:2: ( (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ) 5213
5214 // InternalApplicationConfiguration.g:1879:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) 5214 }
5215 { 5215
5216 // InternalApplicationConfiguration.g:1879:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) 5216 // InternalApplicationConfiguration.g:1881:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )*
5217 // InternalApplicationConfiguration.g:1880:3: otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) 5217 loop28:
5218 { 5218 do {
5219 otherlv_0=(Token)match(input,28,FOLLOW_6); 5219 int alt28=2;
5220 5220 int LA28_0 = input.LA(1);
5221 newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); 5221
5222 5222 if ( (LA28_0==20) ) {
5223 // InternalApplicationConfiguration.g:1884:3: ( (lv_name_1_0= RULE_ID ) ) 5223 alt28=1;
5224 // InternalApplicationConfiguration.g:1885:4: (lv_name_1_0= RULE_ID ) 5224 }
5225 { 5225
5226 // InternalApplicationConfiguration.g:1885:4: (lv_name_1_0= RULE_ID ) 5226
5227 // InternalApplicationConfiguration.g:1886:5: lv_name_1_0= RULE_ID 5227 switch (alt28) {
5228 { 5228 case 1 :
5229 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); 5229 // InternalApplicationConfiguration.g:1882:4: otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) )
5230 5230 {
5231 newLeafNode(lv_name_1_0, grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 5231 otherlv_2=(Token)match(input,20,FOLLOW_22);
5232 5232
5233 5233 newLeafNode(otherlv_2, grammarAccess.getObjectiveSpecificationAccess().getCommaKeyword_2_0());
5234 if (current==null) { 5234
5235 current = createModelElement(grammarAccess.getConfigDeclarationRule()); 5235 // InternalApplicationConfiguration.g:1886:4: ( (lv_entries_3_0= ruleObjectiveEntry ) )
5236 } 5236 // InternalApplicationConfiguration.g:1887:5: (lv_entries_3_0= ruleObjectiveEntry )
5237 setWithLastConsumed( 5237 {
5238 current, 5238 // InternalApplicationConfiguration.g:1887:5: (lv_entries_3_0= ruleObjectiveEntry )
5239 "name", 5239 // InternalApplicationConfiguration.g:1888:6: lv_entries_3_0= ruleObjectiveEntry
5240 lv_name_1_0, 5240 {
5241 "org.eclipse.xtext.common.Terminals.ID"); 5241
5242 5242 newCompositeNode(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_2_1_0());
5243 5243
5244 } 5244 pushFollow(FOLLOW_15);
5245 5245 lv_entries_3_0=ruleObjectiveEntry();
5246 5246
5247 } 5247 state._fsp--;
5248 5248
5249 // InternalApplicationConfiguration.g:1902:3: ( (lv_specification_2_0= ruleConfigSpecification ) ) 5249
5250 // InternalApplicationConfiguration.g:1903:4: (lv_specification_2_0= ruleConfigSpecification ) 5250 if (current==null) {
5251 { 5251 current = createModelElementForParent(grammarAccess.getObjectiveSpecificationRule());
5252 // InternalApplicationConfiguration.g:1903:4: (lv_specification_2_0= ruleConfigSpecification ) 5252 }
5253 // InternalApplicationConfiguration.g:1904:5: lv_specification_2_0= ruleConfigSpecification 5253 add(
5254 { 5254 current,
5255 5255 "entries",
5256 newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); 5256 lv_entries_3_0,
5257 5257 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveEntry");
5258 pushFollow(FOLLOW_2); 5258 afterParserOrEnumRuleCall();
5259 lv_specification_2_0=ruleConfigSpecification(); 5259
5260 5260
5261 state._fsp--; 5261 }
5262 5262
5263 5263
5264 if (current==null) { 5264 }
5265 current = createModelElementForParent(grammarAccess.getConfigDeclarationRule()); 5265
5266 } 5266
5267 set( 5267 }
5268 current, 5268 break;
5269 "specification", 5269
5270 lv_specification_2_0, 5270 default :
5271 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification"); 5271 break loop28;
5272 afterParserOrEnumRuleCall(); 5272 }
5273 5273 } while (true);
5274 5274
5275 } 5275 otherlv_4=(Token)match(input,21,FOLLOW_2);
5276 5276
5277 5277 newLeafNode(otherlv_4, grammarAccess.getObjectiveSpecificationAccess().getRightCurlyBracketKeyword_3());
5278 } 5278
5279 5279
5280 5280 }
5281 } 5281
5282 5282
5283 5283 }
5284 } 5284
5285 5285
5286 5286 leaveRule();
5287 leaveRule(); 5287
5288 5288 }
5289 } 5289
5290 5290 catch (RecognitionException re) {
5291 catch (RecognitionException re) { 5291 recover(input,re);
5292 recover(input,re); 5292 appendSkippedTokens();
5293 appendSkippedTokens(); 5293 }
5294 } 5294 finally {
5295 finally { 5295 }
5296 } 5296 return current;
5297 return current; 5297 }
5298 } 5298 // $ANTLR end "ruleObjectiveSpecification"
5299 // $ANTLR end "ruleConfigDeclaration" 5299
5300 5300
5301 5301 // $ANTLR start "entryRuleObjectiveEntry"
5302 // $ANTLR start "entryRuleConfigEntry" 5302 // InternalApplicationConfiguration.g:1914:1: entryRuleObjectiveEntry returns [EObject current=null] : iv_ruleObjectiveEntry= ruleObjectiveEntry EOF ;
5303 // InternalApplicationConfiguration.g:1925:1: entryRuleConfigEntry returns [EObject current=null] : iv_ruleConfigEntry= ruleConfigEntry EOF ; 5303 public final EObject entryRuleObjectiveEntry() throws RecognitionException {
5304 public final EObject entryRuleConfigEntry() throws RecognitionException { 5304 EObject current = null;
5305 EObject current = null; 5305
5306 5306 EObject iv_ruleObjectiveEntry = null;
5307 EObject iv_ruleConfigEntry = null; 5307
5308 5308
5309 5309 try {
5310 try { 5310 // InternalApplicationConfiguration.g:1914:55: (iv_ruleObjectiveEntry= ruleObjectiveEntry EOF )
5311 // InternalApplicationConfiguration.g:1925:52: (iv_ruleConfigEntry= ruleConfigEntry EOF ) 5311 // InternalApplicationConfiguration.g:1915:2: iv_ruleObjectiveEntry= ruleObjectiveEntry EOF
5312 // InternalApplicationConfiguration.g:1926:2: iv_ruleConfigEntry= ruleConfigEntry EOF 5312 {
5313 { 5313 newCompositeNode(grammarAccess.getObjectiveEntryRule());
5314 newCompositeNode(grammarAccess.getConfigEntryRule()); 5314 pushFollow(FOLLOW_1);
5315 pushFollow(FOLLOW_1); 5315 iv_ruleObjectiveEntry=ruleObjectiveEntry();
5316 iv_ruleConfigEntry=ruleConfigEntry(); 5316
5317 5317 state._fsp--;
5318 state._fsp--; 5318
5319 5319 current =iv_ruleObjectiveEntry;
5320 current =iv_ruleConfigEntry; 5320 match(input,EOF,FOLLOW_2);
5321 match(input,EOF,FOLLOW_2); 5321
5322 5322 }
5323 } 5323
5324 5324 }
5325 } 5325
5326 5326 catch (RecognitionException re) {
5327 catch (RecognitionException re) { 5327 recover(input,re);
5328 recover(input,re); 5328 appendSkippedTokens();
5329 appendSkippedTokens(); 5329 }
5330 } 5330 finally {
5331 finally { 5331 }
5332 } 5332 return current;
5333 return current; 5333 }
5334 } 5334 // $ANTLR end "entryRuleObjectiveEntry"
5335 // $ANTLR end "entryRuleConfigEntry" 5335
5336 5336
5337 5337 // $ANTLR start "ruleObjectiveEntry"
5338 // $ANTLR start "ruleConfigEntry" 5338 // InternalApplicationConfiguration.g:1921:1: ruleObjectiveEntry returns [EObject current=null] : (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry ) ;
5339 // InternalApplicationConfiguration.g:1932:1: ruleConfigEntry returns [EObject current=null] : (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) ; 5339 public final EObject ruleObjectiveEntry() throws RecognitionException {
5340 public final EObject ruleConfigEntry() throws RecognitionException { 5340 EObject current = null;
5341 EObject current = null; 5341
5342 5342 EObject this_OptimizationEntry_0 = null;
5343 EObject this_DocumentationEntry_0 = null; 5343
5344 5344 EObject this_ThresholdEntry_1 = null;
5345 EObject this_RuntimeEntry_1 = null; 5345
5346 5346
5347 EObject this_MemoryEntry_2 = null; 5347
5348 5348 enterRule();
5349 EObject this_CustomEntry_3 = null; 5349
5350 5350 try {
5351 5351 // InternalApplicationConfiguration.g:1927:2: ( (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry ) )
5352 5352 // InternalApplicationConfiguration.g:1928:2: (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry )
5353 enterRule(); 5353 {
5354 5354 // InternalApplicationConfiguration.g:1928:2: (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry )
5355 try { 5355 int alt29=2;
5356 // InternalApplicationConfiguration.g:1938:2: ( (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) ) 5356 int LA29_0 = input.LA(1);
5357 // InternalApplicationConfiguration.g:1939:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) 5357
5358 { 5358 if ( ((LA29_0>=54 && LA29_0<=55)) ) {
5359 // InternalApplicationConfiguration.g:1939:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) 5359 alt29=1;
5360 int alt30=4; 5360 }
5361 switch ( input.LA(1) ) { 5361 else if ( (LA29_0==16) ) {
5362 case 29: 5362 alt29=2;
5363 { 5363 }
5364 alt30=1; 5364 else {
5365 } 5365 NoViableAltException nvae =
5366 break; 5366 new NoViableAltException("", 29, 0, input);
5367 case 30: 5367
5368 { 5368 throw nvae;
5369 alt30=2; 5369 }
5370 } 5370 switch (alt29) {
5371 break; 5371 case 1 :
5372 case 31: 5372 // InternalApplicationConfiguration.g:1929:3: this_OptimizationEntry_0= ruleOptimizationEntry
5373 { 5373 {
5374 alt30=3; 5374
5375 } 5375 newCompositeNode(grammarAccess.getObjectiveEntryAccess().getOptimizationEntryParserRuleCall_0());
5376 break; 5376
5377 case RULE_STRING: 5377 pushFollow(FOLLOW_2);
5378 { 5378 this_OptimizationEntry_0=ruleOptimizationEntry();
5379 alt30=4; 5379
5380 } 5380 state._fsp--;
5381 break; 5381
5382 default: 5382
5383 NoViableAltException nvae = 5383 current = this_OptimizationEntry_0;
5384 new NoViableAltException("", 30, 0, input); 5384 afterParserOrEnumRuleCall();
5385 5385
5386 throw nvae; 5386
5387 } 5387 }
5388 5388 break;
5389 switch (alt30) { 5389 case 2 :
5390 case 1 : 5390 // InternalApplicationConfiguration.g:1938:3: this_ThresholdEntry_1= ruleThresholdEntry
5391 // InternalApplicationConfiguration.g:1940:3: this_DocumentationEntry_0= ruleDocumentationEntry 5391 {
5392 { 5392
5393 5393 newCompositeNode(grammarAccess.getObjectiveEntryAccess().getThresholdEntryParserRuleCall_1());
5394 newCompositeNode(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0()); 5394
5395 5395 pushFollow(FOLLOW_2);
5396 pushFollow(FOLLOW_2); 5396 this_ThresholdEntry_1=ruleThresholdEntry();
5397 this_DocumentationEntry_0=ruleDocumentationEntry(); 5397
5398 5398 state._fsp--;
5399 state._fsp--; 5399
5400 5400
5401 5401 current = this_ThresholdEntry_1;
5402 current = this_DocumentationEntry_0; 5402 afterParserOrEnumRuleCall();
5403 afterParserOrEnumRuleCall(); 5403
5404 5404
5405 5405 }
5406 } 5406 break;
5407 break; 5407
5408 case 2 : 5408 }
5409 // InternalApplicationConfiguration.g:1949:3: this_RuntimeEntry_1= ruleRuntimeEntry 5409
5410 { 5410
5411 5411 }
5412 newCompositeNode(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1()); 5412
5413 5413
5414 pushFollow(FOLLOW_2); 5414 leaveRule();
5415 this_RuntimeEntry_1=ruleRuntimeEntry(); 5415
5416 5416 }
5417 state._fsp--; 5417
5418 5418 catch (RecognitionException re) {
5419 5419 recover(input,re);
5420 current = this_RuntimeEntry_1; 5420 appendSkippedTokens();
5421 afterParserOrEnumRuleCall(); 5421 }
5422 5422 finally {
5423 5423 }
5424 } 5424 return current;
5425 break; 5425 }
5426 case 3 : 5426 // $ANTLR end "ruleObjectiveEntry"
5427 // InternalApplicationConfiguration.g:1958:3: this_MemoryEntry_2= ruleMemoryEntry 5427
5428 { 5428
5429 5429 // $ANTLR start "entryRuleOptimizationEntry"
5430 newCompositeNode(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2()); 5430 // InternalApplicationConfiguration.g:1950:1: entryRuleOptimizationEntry returns [EObject current=null] : iv_ruleOptimizationEntry= ruleOptimizationEntry EOF ;
5431 5431 public final EObject entryRuleOptimizationEntry() throws RecognitionException {
5432 pushFollow(FOLLOW_2); 5432 EObject current = null;
5433 this_MemoryEntry_2=ruleMemoryEntry(); 5433
5434 5434 EObject iv_ruleOptimizationEntry = null;
5435 state._fsp--; 5435
5436 5436
5437 5437 try {
5438 current = this_MemoryEntry_2; 5438 // InternalApplicationConfiguration.g:1950:58: (iv_ruleOptimizationEntry= ruleOptimizationEntry EOF )
5439 afterParserOrEnumRuleCall(); 5439 // InternalApplicationConfiguration.g:1951:2: iv_ruleOptimizationEntry= ruleOptimizationEntry EOF
5440 5440 {
5441 5441 newCompositeNode(grammarAccess.getOptimizationEntryRule());
5442 } 5442 pushFollow(FOLLOW_1);
5443 break; 5443 iv_ruleOptimizationEntry=ruleOptimizationEntry();
5444 case 4 : 5444
5445 // InternalApplicationConfiguration.g:1967:3: this_CustomEntry_3= ruleCustomEntry 5445 state._fsp--;
5446 { 5446
5447 5447 current =iv_ruleOptimizationEntry;
5448 newCompositeNode(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3()); 5448 match(input,EOF,FOLLOW_2);
5449 5449
5450 pushFollow(FOLLOW_2); 5450 }
5451 this_CustomEntry_3=ruleCustomEntry(); 5451
5452 5452 }
5453 state._fsp--; 5453
5454 5454 catch (RecognitionException re) {
5455 5455 recover(input,re);
5456 current = this_CustomEntry_3; 5456 appendSkippedTokens();
5457 afterParserOrEnumRuleCall(); 5457 }
5458 5458 finally {
5459 5459 }
5460 } 5460 return current;
5461 break; 5461 }
5462 5462 // $ANTLR end "entryRuleOptimizationEntry"
5463 } 5463
5464 5464
5465 5465 // $ANTLR start "ruleOptimizationEntry"
5466 } 5466 // InternalApplicationConfiguration.g:1957:1: ruleOptimizationEntry returns [EObject current=null] : ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) ) ;
5467 5467 public final EObject ruleOptimizationEntry() throws RecognitionException {
5468 5468 EObject current = null;
5469 leaveRule(); 5469
5470 5470 Enumerator lv_direction_0_0 = null;
5471 } 5471
5472 5472 EObject lv_function_1_0 = null;
5473 catch (RecognitionException re) { 5473
5474 recover(input,re); 5474
5475 appendSkippedTokens(); 5475
5476 } 5476 enterRule();
5477 finally { 5477
5478 } 5478 try {
5479 return current; 5479 // InternalApplicationConfiguration.g:1963:2: ( ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) ) )
5480 } 5480 // InternalApplicationConfiguration.g:1964:2: ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) )
5481 // $ANTLR end "ruleConfigEntry" 5481 {
5482 5482 // InternalApplicationConfiguration.g:1964:2: ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) )
5483 5483 // InternalApplicationConfiguration.g:1965:3: ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) )
5484 // $ANTLR start "entryRuleDocumentationEntry" 5484 {
5485 // InternalApplicationConfiguration.g:1979:1: entryRuleDocumentationEntry returns [EObject current=null] : iv_ruleDocumentationEntry= ruleDocumentationEntry EOF ; 5485 // InternalApplicationConfiguration.g:1965:3: ( (lv_direction_0_0= ruleOptimizationDirection ) )
5486 public final EObject entryRuleDocumentationEntry() throws RecognitionException { 5486 // InternalApplicationConfiguration.g:1966:4: (lv_direction_0_0= ruleOptimizationDirection )
5487 EObject current = null; 5487 {
5488 5488 // InternalApplicationConfiguration.g:1966:4: (lv_direction_0_0= ruleOptimizationDirection )
5489 EObject iv_ruleDocumentationEntry = null; 5489 // InternalApplicationConfiguration.g:1967:5: lv_direction_0_0= ruleOptimizationDirection
5490 5490 {
5491 5491
5492 try { 5492 newCompositeNode(grammarAccess.getOptimizationEntryAccess().getDirectionOptimizationDirectionEnumRuleCall_0_0());
5493 // InternalApplicationConfiguration.g:1979:59: (iv_ruleDocumentationEntry= ruleDocumentationEntry EOF ) 5493
5494 // InternalApplicationConfiguration.g:1980:2: iv_ruleDocumentationEntry= ruleDocumentationEntry EOF 5494 pushFollow(FOLLOW_22);
5495 { 5495 lv_direction_0_0=ruleOptimizationDirection();
5496 newCompositeNode(grammarAccess.getDocumentationEntryRule()); 5496
5497 pushFollow(FOLLOW_1); 5497 state._fsp--;
5498 iv_ruleDocumentationEntry=ruleDocumentationEntry(); 5498
5499 5499
5500 state._fsp--; 5500 if (current==null) {
5501 5501 current = createModelElementForParent(grammarAccess.getOptimizationEntryRule());
5502 current =iv_ruleDocumentationEntry; 5502 }
5503 match(input,EOF,FOLLOW_2); 5503 set(
5504 5504 current,
5505 } 5505 "direction",
5506 5506 lv_direction_0_0,
5507 } 5507 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.OptimizationDirection");
5508 5508 afterParserOrEnumRuleCall();
5509 catch (RecognitionException re) { 5509
5510 recover(input,re); 5510
5511 appendSkippedTokens(); 5511 }
5512 } 5512
5513 finally { 5513
5514 } 5514 }
5515 return current; 5515
5516 } 5516 // InternalApplicationConfiguration.g:1984:3: ( (lv_function_1_0= ruleObjectiveFunction ) )
5517 // $ANTLR end "entryRuleDocumentationEntry" 5517 // InternalApplicationConfiguration.g:1985:4: (lv_function_1_0= ruleObjectiveFunction )
5518 5518 {
5519 5519 // InternalApplicationConfiguration.g:1985:4: (lv_function_1_0= ruleObjectiveFunction )
5520 // $ANTLR start "ruleDocumentationEntry" 5520 // InternalApplicationConfiguration.g:1986:5: lv_function_1_0= ruleObjectiveFunction
5521 // InternalApplicationConfiguration.g:1986:1: ruleDocumentationEntry returns [EObject current=null] : (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) ; 5521 {
5522 public final EObject ruleDocumentationEntry() throws RecognitionException { 5522
5523 EObject current = null; 5523 newCompositeNode(grammarAccess.getOptimizationEntryAccess().getFunctionObjectiveFunctionParserRuleCall_1_0());
5524 5524
5525 Token otherlv_0=null; 5525 pushFollow(FOLLOW_2);
5526 Token otherlv_1=null; 5526 lv_function_1_0=ruleObjectiveFunction();
5527 Enumerator lv_level_2_0 = null; 5527
5528 5528 state._fsp--;
5529 5529
5530 5530
5531 enterRule(); 5531 if (current==null) {
5532 5532 current = createModelElementForParent(grammarAccess.getOptimizationEntryRule());
5533 try { 5533 }
5534 // InternalApplicationConfiguration.g:1992:2: ( (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) ) 5534 set(
5535 // InternalApplicationConfiguration.g:1993:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) 5535 current,
5536 { 5536 "function",
5537 // InternalApplicationConfiguration.g:1993:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) 5537 lv_function_1_0,
5538 // InternalApplicationConfiguration.g:1994:3: otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) 5538 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveFunction");
5539 { 5539 afterParserOrEnumRuleCall();
5540 otherlv_0=(Token)match(input,29,FOLLOW_12); 5540
5541 5541
5542 newLeafNode(otherlv_0, grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); 5542 }
5543 5543
5544 otherlv_1=(Token)match(input,17,FOLLOW_23); 5544
5545 5545 }
5546 newLeafNode(otherlv_1, grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1()); 5546
5547 5547
5548 // InternalApplicationConfiguration.g:2002:3: ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) 5548 }
5549 // InternalApplicationConfiguration.g:2003:4: (lv_level_2_0= ruleDocumentLevelSpecification ) 5549
5550 { 5550
5551 // InternalApplicationConfiguration.g:2003:4: (lv_level_2_0= ruleDocumentLevelSpecification ) 5551 }
5552 // InternalApplicationConfiguration.g:2004:5: lv_level_2_0= ruleDocumentLevelSpecification 5552
5553 { 5553
5554 5554 leaveRule();
5555 newCompositeNode(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0()); 5555
5556 5556 }
5557 pushFollow(FOLLOW_2); 5557
5558 lv_level_2_0=ruleDocumentLevelSpecification(); 5558 catch (RecognitionException re) {
5559 5559 recover(input,re);
5560 state._fsp--; 5560 appendSkippedTokens();
5561 5561 }
5562 5562 finally {
5563 if (current==null) { 5563 }
5564 current = createModelElementForParent(grammarAccess.getDocumentationEntryRule()); 5564 return current;
5565 } 5565 }
5566 set( 5566 // $ANTLR end "ruleOptimizationEntry"
5567 current, 5567
5568 "level", 5568
5569 lv_level_2_0, 5569 // $ANTLR start "entryRuleThresholdEntry"
5570 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentLevelSpecification"); 5570 // InternalApplicationConfiguration.g:2007:1: entryRuleThresholdEntry returns [EObject current=null] : iv_ruleThresholdEntry= ruleThresholdEntry EOF ;
5571 afterParserOrEnumRuleCall(); 5571 public final EObject entryRuleThresholdEntry() throws RecognitionException {
5572 5572 EObject current = null;
5573 5573
5574 } 5574 EObject iv_ruleThresholdEntry = null;
5575 5575
5576 5576
5577 } 5577 try {
5578 5578 // InternalApplicationConfiguration.g:2007:55: (iv_ruleThresholdEntry= ruleThresholdEntry EOF )
5579 5579 // InternalApplicationConfiguration.g:2008:2: iv_ruleThresholdEntry= ruleThresholdEntry EOF
5580 } 5580 {
5581 5581 newCompositeNode(grammarAccess.getThresholdEntryRule());
5582 5582 pushFollow(FOLLOW_1);
5583 } 5583 iv_ruleThresholdEntry=ruleThresholdEntry();
5584 5584
5585 5585 state._fsp--;
5586 leaveRule(); 5586
5587 5587 current =iv_ruleThresholdEntry;
5588 } 5588 match(input,EOF,FOLLOW_2);
5589 5589
5590 catch (RecognitionException re) { 5590 }
5591 recover(input,re); 5591
5592 appendSkippedTokens(); 5592 }
5593 } 5593
5594 finally { 5594 catch (RecognitionException re) {
5595 } 5595 recover(input,re);
5596 return current; 5596 appendSkippedTokens();
5597 } 5597 }
5598 // $ANTLR end "ruleDocumentationEntry" 5598 finally {
5599 5599 }
5600 5600 return current;
5601 // $ANTLR start "entryRuleRuntimeEntry" 5601 }
5602 // InternalApplicationConfiguration.g:2025:1: entryRuleRuntimeEntry returns [EObject current=null] : iv_ruleRuntimeEntry= ruleRuntimeEntry EOF ; 5602 // $ANTLR end "entryRuleThresholdEntry"
5603 public final EObject entryRuleRuntimeEntry() throws RecognitionException { 5603
5604 EObject current = null; 5604
5605 5605 // $ANTLR start "ruleThresholdEntry"
5606 EObject iv_ruleRuntimeEntry = null; 5606 // InternalApplicationConfiguration.g:2014:1: ruleThresholdEntry returns [EObject current=null] : ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) ) ;
5607 5607 public final EObject ruleThresholdEntry() throws RecognitionException {
5608 5608 EObject current = null;
5609 try { 5609
5610 // InternalApplicationConfiguration.g:2025:53: (iv_ruleRuntimeEntry= ruleRuntimeEntry EOF ) 5610 EObject lv_function_0_0 = null;
5611 // InternalApplicationConfiguration.g:2026:2: iv_ruleRuntimeEntry= ruleRuntimeEntry EOF 5611
5612 { 5612 Enumerator lv_operator_1_0 = null;
5613 newCompositeNode(grammarAccess.getRuntimeEntryRule()); 5613
5614 pushFollow(FOLLOW_1); 5614 AntlrDatatypeRuleToken lv_threshold_2_0 = null;
5615 iv_ruleRuntimeEntry=ruleRuntimeEntry(); 5615
5616 5616
5617 state._fsp--; 5617
5618 5618 enterRule();
5619 current =iv_ruleRuntimeEntry; 5619
5620 match(input,EOF,FOLLOW_2); 5620 try {
5621 5621 // InternalApplicationConfiguration.g:2020:2: ( ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) ) )
5622 } 5622 // InternalApplicationConfiguration.g:2021:2: ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) )
5623 5623 {
5624 } 5624 // InternalApplicationConfiguration.g:2021:2: ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) )
5625 5625 // InternalApplicationConfiguration.g:2022:3: ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) )
5626 catch (RecognitionException re) { 5626 {
5627 recover(input,re); 5627 // InternalApplicationConfiguration.g:2022:3: ( (lv_function_0_0= ruleObjectiveFunction ) )
5628 appendSkippedTokens(); 5628 // InternalApplicationConfiguration.g:2023:4: (lv_function_0_0= ruleObjectiveFunction )
5629 } 5629 {
5630 finally { 5630 // InternalApplicationConfiguration.g:2023:4: (lv_function_0_0= ruleObjectiveFunction )
5631 } 5631 // InternalApplicationConfiguration.g:2024:5: lv_function_0_0= ruleObjectiveFunction
5632 return current; 5632 {
5633 } 5633
5634 // $ANTLR end "entryRuleRuntimeEntry" 5634 newCompositeNode(grammarAccess.getThresholdEntryAccess().getFunctionObjectiveFunctionParserRuleCall_0_0());
5635 5635
5636 5636 pushFollow(FOLLOW_23);
5637 // $ANTLR start "ruleRuntimeEntry" 5637 lv_function_0_0=ruleObjectiveFunction();
5638 // InternalApplicationConfiguration.g:2032:1: ruleRuntimeEntry returns [EObject current=null] : (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) ; 5638
5639 public final EObject ruleRuntimeEntry() throws RecognitionException { 5639 state._fsp--;
5640 EObject current = null; 5640
5641 5641
5642 Token otherlv_0=null; 5642 if (current==null) {
5643 Token otherlv_1=null; 5643 current = createModelElementForParent(grammarAccess.getThresholdEntryRule());
5644 Token lv_millisecLimit_2_0=null; 5644 }
5645 5645 set(
5646 5646 current,
5647 enterRule(); 5647 "function",
5648 5648 lv_function_0_0,
5649 try { 5649 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveFunction");
5650 // InternalApplicationConfiguration.g:2038:2: ( (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) ) 5650 afterParserOrEnumRuleCall();
5651 // InternalApplicationConfiguration.g:2039:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) 5651
5652 { 5652
5653 // InternalApplicationConfiguration.g:2039:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) 5653 }
5654 // InternalApplicationConfiguration.g:2040:3: otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) 5654
5655 { 5655
5656 otherlv_0=(Token)match(input,30,FOLLOW_12); 5656 }
5657 5657
5658 newLeafNode(otherlv_0, grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0()); 5658 // InternalApplicationConfiguration.g:2041:3: ( (lv_operator_1_0= ruleComparisonOperator ) )
5659 5659 // InternalApplicationConfiguration.g:2042:4: (lv_operator_1_0= ruleComparisonOperator )
5660 otherlv_1=(Token)match(input,17,FOLLOW_7); 5660 {
5661 5661 // InternalApplicationConfiguration.g:2042:4: (lv_operator_1_0= ruleComparisonOperator )
5662 newLeafNode(otherlv_1, grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1()); 5662 // InternalApplicationConfiguration.g:2043:5: lv_operator_1_0= ruleComparisonOperator
5663 5663 {
5664 // InternalApplicationConfiguration.g:2048:3: ( (lv_millisecLimit_2_0= RULE_INT ) ) 5664
5665 // InternalApplicationConfiguration.g:2049:4: (lv_millisecLimit_2_0= RULE_INT ) 5665 newCompositeNode(grammarAccess.getThresholdEntryAccess().getOperatorComparisonOperatorEnumRuleCall_1_0());
5666 { 5666
5667 // InternalApplicationConfiguration.g:2049:4: (lv_millisecLimit_2_0= RULE_INT ) 5667 pushFollow(FOLLOW_24);
5668 // InternalApplicationConfiguration.g:2050:5: lv_millisecLimit_2_0= RULE_INT 5668 lv_operator_1_0=ruleComparisonOperator();
5669 { 5669
5670 lv_millisecLimit_2_0=(Token)match(input,RULE_INT,FOLLOW_2); 5670 state._fsp--;
5671 5671
5672 newLeafNode(lv_millisecLimit_2_0, grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0()); 5672
5673 5673 if (current==null) {
5674 5674 current = createModelElementForParent(grammarAccess.getThresholdEntryRule());
5675 if (current==null) { 5675 }
5676 current = createModelElement(grammarAccess.getRuntimeEntryRule()); 5676 set(
5677 } 5677 current,
5678 setWithLastConsumed( 5678 "operator",
5679 current, 5679 lv_operator_1_0,
5680 "millisecLimit", 5680 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ComparisonOperator");
5681 lv_millisecLimit_2_0, 5681 afterParserOrEnumRuleCall();
5682 "org.eclipse.xtext.common.Terminals.INT"); 5682
5683 5683
5684 5684 }
5685 } 5685
5686 5686
5687 5687 }
5688 } 5688
5689 5689 // InternalApplicationConfiguration.g:2060:3: ( (lv_threshold_2_0= ruleREALLiteral ) )
5690 5690 // InternalApplicationConfiguration.g:2061:4: (lv_threshold_2_0= ruleREALLiteral )
5691 } 5691 {
5692 5692 // InternalApplicationConfiguration.g:2061:4: (lv_threshold_2_0= ruleREALLiteral )
5693 5693 // InternalApplicationConfiguration.g:2062:5: lv_threshold_2_0= ruleREALLiteral
5694 } 5694 {
5695 5695
5696 5696 newCompositeNode(grammarAccess.getThresholdEntryAccess().getThresholdREALLiteralParserRuleCall_2_0());
5697 leaveRule(); 5697
5698 5698 pushFollow(FOLLOW_2);
5699 } 5699 lv_threshold_2_0=ruleREALLiteral();
5700 5700
5701 catch (RecognitionException re) { 5701 state._fsp--;
5702 recover(input,re); 5702
5703 appendSkippedTokens(); 5703
5704 } 5704 if (current==null) {
5705 finally { 5705 current = createModelElementForParent(grammarAccess.getThresholdEntryRule());
5706 } 5706 }
5707 return current; 5707 set(
5708 } 5708 current,
5709 // $ANTLR end "ruleRuntimeEntry" 5709 "threshold",
5710 5710 lv_threshold_2_0,
5711 5711 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral");
5712 // $ANTLR start "entryRuleMemoryEntry" 5712 afterParserOrEnumRuleCall();
5713 // InternalApplicationConfiguration.g:2070:1: entryRuleMemoryEntry returns [EObject current=null] : iv_ruleMemoryEntry= ruleMemoryEntry EOF ; 5713
5714 public final EObject entryRuleMemoryEntry() throws RecognitionException { 5714
5715 EObject current = null; 5715 }
5716 5716
5717 EObject iv_ruleMemoryEntry = null; 5717
5718 5718 }
5719 5719
5720 try { 5720
5721 // InternalApplicationConfiguration.g:2070:52: (iv_ruleMemoryEntry= ruleMemoryEntry EOF ) 5721 }
5722 // InternalApplicationConfiguration.g:2071:2: iv_ruleMemoryEntry= ruleMemoryEntry EOF 5722
5723 { 5723
5724 newCompositeNode(grammarAccess.getMemoryEntryRule()); 5724 }
5725 pushFollow(FOLLOW_1); 5725
5726 iv_ruleMemoryEntry=ruleMemoryEntry(); 5726
5727 5727 leaveRule();
5728 state._fsp--; 5728
5729 5729 }
5730 current =iv_ruleMemoryEntry; 5730
5731 match(input,EOF,FOLLOW_2); 5731 catch (RecognitionException re) {
5732 5732 recover(input,re);
5733 } 5733 appendSkippedTokens();
5734 5734 }
5735 } 5735 finally {
5736 5736 }
5737 catch (RecognitionException re) { 5737 return current;
5738 recover(input,re); 5738 }
5739 appendSkippedTokens(); 5739 // $ANTLR end "ruleThresholdEntry"
5740 } 5740
5741 finally { 5741
5742 } 5742 // $ANTLR start "entryRuleObjectiveFunction"
5743 return current; 5743 // InternalApplicationConfiguration.g:2083:1: entryRuleObjectiveFunction returns [EObject current=null] : iv_ruleObjectiveFunction= ruleObjectiveFunction EOF ;
5744 } 5744 public final EObject entryRuleObjectiveFunction() throws RecognitionException {
5745 // $ANTLR end "entryRuleMemoryEntry" 5745 EObject current = null;
5746 5746
5747 5747 EObject iv_ruleObjectiveFunction = null;
5748 // $ANTLR start "ruleMemoryEntry" 5748
5749 // InternalApplicationConfiguration.g:2077:1: ruleMemoryEntry returns [EObject current=null] : (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) ; 5749
5750 public final EObject ruleMemoryEntry() throws RecognitionException { 5750 try {
5751 EObject current = null; 5751 // InternalApplicationConfiguration.g:2083:58: (iv_ruleObjectiveFunction= ruleObjectiveFunction EOF )
5752 5752 // InternalApplicationConfiguration.g:2084:2: iv_ruleObjectiveFunction= ruleObjectiveFunction EOF
5753 Token otherlv_0=null; 5753 {
5754 Token otherlv_1=null; 5754 newCompositeNode(grammarAccess.getObjectiveFunctionRule());
5755 Token lv_megabyteLimit_2_0=null; 5755 pushFollow(FOLLOW_1);
5756 5756 iv_ruleObjectiveFunction=ruleObjectiveFunction();
5757 5757
5758 enterRule(); 5758 state._fsp--;
5759 5759
5760 try { 5760 current =iv_ruleObjectiveFunction;
5761 // InternalApplicationConfiguration.g:2083:2: ( (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) ) 5761 match(input,EOF,FOLLOW_2);
5762 // InternalApplicationConfiguration.g:2084:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) 5762
5763 { 5763 }
5764 // InternalApplicationConfiguration.g:2084:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) 5764
5765 // InternalApplicationConfiguration.g:2085:3: otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) 5765 }
5766 { 5766
5767 otherlv_0=(Token)match(input,31,FOLLOW_12); 5767 catch (RecognitionException re) {
5768 5768 recover(input,re);
5769 newLeafNode(otherlv_0, grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0()); 5769 appendSkippedTokens();
5770 5770 }
5771 otherlv_1=(Token)match(input,17,FOLLOW_7); 5771 finally {
5772 5772 }
5773 newLeafNode(otherlv_1, grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1()); 5773 return current;
5774 5774 }
5775 // InternalApplicationConfiguration.g:2093:3: ( (lv_megabyteLimit_2_0= RULE_INT ) ) 5775 // $ANTLR end "entryRuleObjectiveFunction"
5776 // InternalApplicationConfiguration.g:2094:4: (lv_megabyteLimit_2_0= RULE_INT ) 5776
5777 { 5777
5778 // InternalApplicationConfiguration.g:2094:4: (lv_megabyteLimit_2_0= RULE_INT ) 5778 // $ANTLR start "ruleObjectiveFunction"
5779 // InternalApplicationConfiguration.g:2095:5: lv_megabyteLimit_2_0= RULE_INT 5779 // InternalApplicationConfiguration.g:2090:1: ruleObjectiveFunction returns [EObject current=null] : this_ReliabiltiyFunction_0= ruleReliabiltiyFunction ;
5780 { 5780 public final EObject ruleObjectiveFunction() throws RecognitionException {
5781 lv_megabyteLimit_2_0=(Token)match(input,RULE_INT,FOLLOW_2); 5781 EObject current = null;
5782 5782
5783 newLeafNode(lv_megabyteLimit_2_0, grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0()); 5783 EObject this_ReliabiltiyFunction_0 = null;
5784 5784
5785 5785
5786 if (current==null) { 5786
5787 current = createModelElement(grammarAccess.getMemoryEntryRule()); 5787 enterRule();
5788 } 5788
5789 setWithLastConsumed( 5789 try {
5790 current, 5790 // InternalApplicationConfiguration.g:2096:2: (this_ReliabiltiyFunction_0= ruleReliabiltiyFunction )
5791 "megabyteLimit", 5791 // InternalApplicationConfiguration.g:2097:2: this_ReliabiltiyFunction_0= ruleReliabiltiyFunction
5792 lv_megabyteLimit_2_0, 5792 {
5793 "org.eclipse.xtext.common.Terminals.INT"); 5793
5794 5794 newCompositeNode(grammarAccess.getObjectiveFunctionAccess().getReliabiltiyFunctionParserRuleCall());
5795 5795
5796 } 5796 pushFollow(FOLLOW_2);
5797 5797 this_ReliabiltiyFunction_0=ruleReliabiltiyFunction();
5798 5798
5799 } 5799 state._fsp--;
5800 5800
5801 5801
5802 } 5802 current = this_ReliabiltiyFunction_0;
5803 5803 afterParserOrEnumRuleCall();
5804 5804
5805 } 5805
5806 5806 }
5807 5807
5808 leaveRule(); 5808
5809 5809 leaveRule();
5810 } 5810
5811 5811 }
5812 catch (RecognitionException re) { 5812
5813 recover(input,re); 5813 catch (RecognitionException re) {
5814 appendSkippedTokens(); 5814 recover(input,re);
5815 } 5815 appendSkippedTokens();
5816 finally { 5816 }
5817 } 5817 finally {
5818 return current; 5818 }
5819 } 5819 return current;
5820 // $ANTLR end "ruleMemoryEntry" 5820 }
5821 5821 // $ANTLR end "ruleObjectiveFunction"
5822 5822
5823 // $ANTLR start "entryRuleCustomEntry" 5823
5824 // InternalApplicationConfiguration.g:2115:1: entryRuleCustomEntry returns [EObject current=null] : iv_ruleCustomEntry= ruleCustomEntry EOF ; 5824 // $ANTLR start "entryRuleReliabiltiyFunction"
5825 public final EObject entryRuleCustomEntry() throws RecognitionException { 5825 // InternalApplicationConfiguration.g:2108:1: entryRuleReliabiltiyFunction returns [EObject current=null] : iv_ruleReliabiltiyFunction= ruleReliabiltiyFunction EOF ;
5826 EObject current = null; 5826 public final EObject entryRuleReliabiltiyFunction() throws RecognitionException {
5827 5827 EObject current = null;
5828 EObject iv_ruleCustomEntry = null; 5828
5829 5829 EObject iv_ruleReliabiltiyFunction = null;
5830 5830
5831 try { 5831
5832 // InternalApplicationConfiguration.g:2115:52: (iv_ruleCustomEntry= ruleCustomEntry EOF ) 5832 try {
5833 // InternalApplicationConfiguration.g:2116:2: iv_ruleCustomEntry= ruleCustomEntry EOF 5833 // InternalApplicationConfiguration.g:2108:60: (iv_ruleReliabiltiyFunction= ruleReliabiltiyFunction EOF )
5834 { 5834 // InternalApplicationConfiguration.g:2109:2: iv_ruleReliabiltiyFunction= ruleReliabiltiyFunction EOF
5835 newCompositeNode(grammarAccess.getCustomEntryRule()); 5835 {
5836 pushFollow(FOLLOW_1); 5836 newCompositeNode(grammarAccess.getReliabiltiyFunctionRule());
5837 iv_ruleCustomEntry=ruleCustomEntry(); 5837 pushFollow(FOLLOW_1);
5838 5838 iv_ruleReliabiltiyFunction=ruleReliabiltiyFunction();
5839 state._fsp--; 5839
5840 5840 state._fsp--;
5841 current =iv_ruleCustomEntry; 5841
5842 match(input,EOF,FOLLOW_2); 5842 current =iv_ruleReliabiltiyFunction;
5843 5843 match(input,EOF,FOLLOW_2);
5844 } 5844
5845 5845 }
5846 } 5846
5847 5847 }
5848 catch (RecognitionException re) { 5848
5849 recover(input,re); 5849 catch (RecognitionException re) {
5850 appendSkippedTokens(); 5850 recover(input,re);
5851 } 5851 appendSkippedTokens();
5852 finally { 5852 }
5853 } 5853 finally {
5854 return current; 5854 }
5855 } 5855 return current;
5856 // $ANTLR end "entryRuleCustomEntry" 5856 }
5857 5857 // $ANTLR end "entryRuleReliabiltiyFunction"
5858 5858
5859 // $ANTLR start "ruleCustomEntry" 5859
5860 // InternalApplicationConfiguration.g:2122:1: ruleCustomEntry returns [EObject current=null] : ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ; 5860 // $ANTLR start "ruleReliabiltiyFunction"
5861 public final EObject ruleCustomEntry() throws RecognitionException { 5861 // InternalApplicationConfiguration.g:2115:1: ruleReliabiltiyFunction returns [EObject current=null] : (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) ) ;
5862 EObject current = null; 5862 public final EObject ruleReliabiltiyFunction() throws RecognitionException {
5863 5863 EObject current = null;
5864 Token lv_key_0_0=null; 5864
5865 Token otherlv_1=null; 5865 Token otherlv_0=null;
5866 Token lv_value_2_0=null; 5866 Token otherlv_2=null;
5867 5867 Token otherlv_3=null;
5868 5868
5869 enterRule(); 5869
5870 5870 enterRule();
5871 try { 5871
5872 // InternalApplicationConfiguration.g:2128:2: ( ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ) 5872 try {
5873 // InternalApplicationConfiguration.g:2129:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) 5873 // InternalApplicationConfiguration.g:2121:2: ( (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) ) )
5874 { 5874 // InternalApplicationConfiguration.g:2122:2: (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) )
5875 // InternalApplicationConfiguration.g:2129:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) 5875 {
5876 // InternalApplicationConfiguration.g:2130:3: ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) 5876 // InternalApplicationConfiguration.g:2122:2: (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) )
5877 { 5877 // InternalApplicationConfiguration.g:2123:3: otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) )
5878 // InternalApplicationConfiguration.g:2130:3: ( (lv_key_0_0= RULE_STRING ) ) 5878 {
5879 // InternalApplicationConfiguration.g:2131:4: (lv_key_0_0= RULE_STRING ) 5879 otherlv_0=(Token)match(input,16,FOLLOW_6);
5880 { 5880
5881 // InternalApplicationConfiguration.g:2131:4: (lv_key_0_0= RULE_STRING ) 5881 newLeafNode(otherlv_0, grammarAccess.getReliabiltiyFunctionAccess().getReliabilityKeyword_0());
5882 // InternalApplicationConfiguration.g:2132:5: lv_key_0_0= RULE_STRING 5882
5883 { 5883 // InternalApplicationConfiguration.g:2127:3: ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )?
5884 lv_key_0_0=(Token)match(input,RULE_STRING,FOLLOW_12); 5884 int alt30=2;
5885 5885 int LA30_0 = input.LA(1);
5886 newLeafNode(lv_key_0_0, grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); 5886
5887 5887 if ( (LA30_0==RULE_ID) ) {
5888 5888 int LA30_1 = input.LA(2);
5889 if (current==null) { 5889
5890 current = createModelElement(grammarAccess.getCustomEntryRule()); 5890 if ( (LA30_1==11||LA30_1==24) ) {
5891 } 5891 alt30=1;
5892 setWithLastConsumed( 5892 }
5893 current, 5893 }
5894 "key", 5894 switch (alt30) {
5895 lv_key_0_0, 5895 case 1 :
5896 "org.eclipse.xtext.common.Terminals.STRING"); 5896 // InternalApplicationConfiguration.g:2128:4: ( ( ruleQualifiedName ) ) otherlv_2= '::'
5897 5897 {
5898 5898 // InternalApplicationConfiguration.g:2128:4: ( ( ruleQualifiedName ) )
5899 } 5899 // InternalApplicationConfiguration.g:2129:5: ( ruleQualifiedName )
5900 5900 {
5901 5901 // InternalApplicationConfiguration.g:2129:5: ( ruleQualifiedName )
5902 } 5902 // InternalApplicationConfiguration.g:2130:6: ruleQualifiedName
5903 5903 {
5904 otherlv_1=(Token)match(input,17,FOLLOW_10); 5904
5905 5905 if (current==null) {
5906 newLeafNode(otherlv_1, grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1()); 5906 current = createModelElement(grammarAccess.getReliabiltiyFunctionRule());
5907 5907 }
5908 // InternalApplicationConfiguration.g:2152:3: ( (lv_value_2_0= RULE_STRING ) ) 5908
5909 // InternalApplicationConfiguration.g:2153:4: (lv_value_2_0= RULE_STRING ) 5909
5910 { 5910 newCompositeNode(grammarAccess.getReliabiltiyFunctionAccess().getPackageCftModelCrossReference_1_0_0());
5911 // InternalApplicationConfiguration.g:2153:4: (lv_value_2_0= RULE_STRING ) 5911
5912 // InternalApplicationConfiguration.g:2154:5: lv_value_2_0= RULE_STRING 5912 pushFollow(FOLLOW_18);
5913 { 5913 ruleQualifiedName();
5914 lv_value_2_0=(Token)match(input,RULE_STRING,FOLLOW_2); 5914
5915 5915 state._fsp--;
5916 newLeafNode(lv_value_2_0, grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); 5916
5917 5917
5918 5918 afterParserOrEnumRuleCall();
5919 if (current==null) { 5919
5920 current = createModelElement(grammarAccess.getCustomEntryRule()); 5920
5921 } 5921 }
5922 setWithLastConsumed( 5922
5923 current, 5923
5924 "value", 5924 }
5925 lv_value_2_0, 5925
5926 "org.eclipse.xtext.common.Terminals.STRING"); 5926 otherlv_2=(Token)match(input,24,FOLLOW_6);
5927 5927
5928 5928 newLeafNode(otherlv_2, grammarAccess.getReliabiltiyFunctionAccess().getColonColonKeyword_1_1());
5929 } 5929
5930 5930
5931 5931 }
5932 } 5932 break;
5933 5933
5934 5934 }
5935 } 5935
5936 5936 // InternalApplicationConfiguration.g:2149:3: ( (otherlv_3= RULE_ID ) )
5937 5937 // InternalApplicationConfiguration.g:2150:4: (otherlv_3= RULE_ID )
5938 } 5938 {
5939 5939 // InternalApplicationConfiguration.g:2150:4: (otherlv_3= RULE_ID )
5940 5940 // InternalApplicationConfiguration.g:2151:5: otherlv_3= RULE_ID
5941 leaveRule(); 5941 {
5942 5942
5943 } 5943 if (current==null) {
5944 5944 current = createModelElement(grammarAccess.getReliabiltiyFunctionRule());
5945 catch (RecognitionException re) { 5945 }
5946 recover(input,re); 5946
5947 appendSkippedTokens(); 5947 otherlv_3=(Token)match(input,RULE_ID,FOLLOW_2);
5948 } 5948
5949 finally { 5949 newLeafNode(otherlv_3, grammarAccess.getReliabiltiyFunctionAccess().getTransformationTransformationDefinitionCrossReference_2_0());
5950 } 5950
5951 return current; 5951
5952 } 5952 }
5953 // $ANTLR end "ruleCustomEntry" 5953
5954 5954
5955 5955 }
5956 // $ANTLR start "entryRuleConfigReference" 5956
5957 // InternalApplicationConfiguration.g:2174:1: entryRuleConfigReference returns [EObject current=null] : iv_ruleConfigReference= ruleConfigReference EOF ; 5957
5958 public final EObject entryRuleConfigReference() throws RecognitionException { 5958 }
5959 EObject current = null; 5959
5960 5960
5961 EObject iv_ruleConfigReference = null; 5961 }
5962 5962
5963 5963
5964 try { 5964 leaveRule();
5965 // InternalApplicationConfiguration.g:2174:56: (iv_ruleConfigReference= ruleConfigReference EOF ) 5965
5966 // InternalApplicationConfiguration.g:2175:2: iv_ruleConfigReference= ruleConfigReference EOF 5966 }
5967 { 5967
5968 newCompositeNode(grammarAccess.getConfigReferenceRule()); 5968 catch (RecognitionException re) {
5969 pushFollow(FOLLOW_1); 5969 recover(input,re);
5970 iv_ruleConfigReference=ruleConfigReference(); 5970 appendSkippedTokens();
5971 5971 }
5972 state._fsp--; 5972 finally {
5973 5973 }
5974 current =iv_ruleConfigReference; 5974 return current;
5975 match(input,EOF,FOLLOW_2); 5975 }
5976 5976 // $ANTLR end "ruleReliabiltiyFunction"
5977 } 5977
5978 5978
5979 } 5979 // $ANTLR start "entryRuleObjectiveDeclaration"
5980 5980 // InternalApplicationConfiguration.g:2166:1: entryRuleObjectiveDeclaration returns [EObject current=null] : iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF ;
5981 catch (RecognitionException re) { 5981 public final EObject entryRuleObjectiveDeclaration() throws RecognitionException {
5982 recover(input,re); 5982 EObject current = null;
5983 appendSkippedTokens(); 5983
5984 } 5984 EObject iv_ruleObjectiveDeclaration = null;
5985 finally { 5985
5986 } 5986
5987 return current; 5987 try {
5988 } 5988 // InternalApplicationConfiguration.g:2166:61: (iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF )
5989 // $ANTLR end "entryRuleConfigReference" 5989 // InternalApplicationConfiguration.g:2167:2: iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF
5990 5990 {
5991 5991 newCompositeNode(grammarAccess.getObjectiveDeclarationRule());
5992 // $ANTLR start "ruleConfigReference" 5992 pushFollow(FOLLOW_1);
5993 // InternalApplicationConfiguration.g:2181:1: ruleConfigReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; 5993 iv_ruleObjectiveDeclaration=ruleObjectiveDeclaration();
5994 public final EObject ruleConfigReference() throws RecognitionException { 5994
5995 EObject current = null; 5995 state._fsp--;
5996 5996
5997 Token otherlv_0=null; 5997 current =iv_ruleObjectiveDeclaration;
5998 5998 match(input,EOF,FOLLOW_2);
5999 5999
6000 enterRule(); 6000 }
6001 6001
6002 try { 6002 }
6003 // InternalApplicationConfiguration.g:2187:2: ( ( (otherlv_0= RULE_ID ) ) ) 6003
6004 // InternalApplicationConfiguration.g:2188:2: ( (otherlv_0= RULE_ID ) ) 6004 catch (RecognitionException re) {
6005 { 6005 recover(input,re);
6006 // InternalApplicationConfiguration.g:2188:2: ( (otherlv_0= RULE_ID ) ) 6006 appendSkippedTokens();
6007 // InternalApplicationConfiguration.g:2189:3: (otherlv_0= RULE_ID ) 6007 }
6008 { 6008 finally {
6009 // InternalApplicationConfiguration.g:2189:3: (otherlv_0= RULE_ID ) 6009 }
6010 // InternalApplicationConfiguration.g:2190:4: otherlv_0= RULE_ID 6010 return current;
6011 { 6011 }
6012 6012 // $ANTLR end "entryRuleObjectiveDeclaration"
6013 if (current==null) { 6013
6014 current = createModelElement(grammarAccess.getConfigReferenceRule()); 6014
6015 } 6015 // $ANTLR start "ruleObjectiveDeclaration"
6016 6016 // InternalApplicationConfiguration.g:2173:1: ruleObjectiveDeclaration returns [EObject current=null] : (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) ;
6017 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); 6017 public final EObject ruleObjectiveDeclaration() throws RecognitionException {
6018 6018 EObject current = null;
6019 newLeafNode(otherlv_0, grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); 6019
6020 6020 Token otherlv_0=null;
6021 6021 Token lv_name_1_0=null;
6022 } 6022 EObject lv_specification_2_0 = null;
6023 6023
6024 6024
6025 } 6025
6026 6026 enterRule();
6027 6027
6028 } 6028 try {
6029 6029 // InternalApplicationConfiguration.g:2179:2: ( (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) )
6030 6030 // InternalApplicationConfiguration.g:2180:2: (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) )
6031 leaveRule(); 6031 {
6032 6032 // InternalApplicationConfiguration.g:2180:2: (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) )
6033 } 6033 // InternalApplicationConfiguration.g:2181:3: otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) )
6034 6034 {
6035 catch (RecognitionException re) { 6035 otherlv_0=(Token)match(input,29,FOLLOW_6);
6036 recover(input,re); 6036
6037 appendSkippedTokens(); 6037 newLeafNode(otherlv_0, grammarAccess.getObjectiveDeclarationAccess().getObjectivesKeyword_0());
6038 } 6038
6039 finally { 6039 // InternalApplicationConfiguration.g:2185:3: ( (lv_name_1_0= RULE_ID ) )
6040 } 6040 // InternalApplicationConfiguration.g:2186:4: (lv_name_1_0= RULE_ID )
6041 return current; 6041 {
6042 } 6042 // InternalApplicationConfiguration.g:2186:4: (lv_name_1_0= RULE_ID )
6043 // $ANTLR end "ruleConfigReference" 6043 // InternalApplicationConfiguration.g:2187:5: lv_name_1_0= RULE_ID
6044 6044 {
6045 6045 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17);
6046 // $ANTLR start "entryRuleConfig" 6046
6047 // InternalApplicationConfiguration.g:2204:1: entryRuleConfig returns [EObject current=null] : iv_ruleConfig= ruleConfig EOF ; 6047 newLeafNode(lv_name_1_0, grammarAccess.getObjectiveDeclarationAccess().getNameIDTerminalRuleCall_1_0());
6048 public final EObject entryRuleConfig() throws RecognitionException { 6048
6049 EObject current = null; 6049
6050 6050 if (current==null) {
6051 EObject iv_ruleConfig = null; 6051 current = createModelElement(grammarAccess.getObjectiveDeclarationRule());
6052 6052 }
6053 6053 setWithLastConsumed(
6054 try { 6054 current,
6055 // InternalApplicationConfiguration.g:2204:47: (iv_ruleConfig= ruleConfig EOF ) 6055 "name",
6056 // InternalApplicationConfiguration.g:2205:2: iv_ruleConfig= ruleConfig EOF 6056 lv_name_1_0,
6057 { 6057 "org.eclipse.xtext.common.Terminals.ID");
6058 newCompositeNode(grammarAccess.getConfigRule()); 6058
6059 pushFollow(FOLLOW_1); 6059
6060 iv_ruleConfig=ruleConfig(); 6060 }
6061 6061
6062 state._fsp--; 6062
6063 6063 }
6064 current =iv_ruleConfig; 6064
6065 match(input,EOF,FOLLOW_2); 6065 // InternalApplicationConfiguration.g:2203:3: ( (lv_specification_2_0= ruleObjectiveSpecification ) )
6066 6066 // InternalApplicationConfiguration.g:2204:4: (lv_specification_2_0= ruleObjectiveSpecification )
6067 } 6067 {
6068 6068 // InternalApplicationConfiguration.g:2204:4: (lv_specification_2_0= ruleObjectiveSpecification )
6069 } 6069 // InternalApplicationConfiguration.g:2205:5: lv_specification_2_0= ruleObjectiveSpecification
6070 6070 {
6071 catch (RecognitionException re) { 6071
6072 recover(input,re); 6072 newCompositeNode(grammarAccess.getObjectiveDeclarationAccess().getSpecificationObjectiveSpecificationParserRuleCall_2_0());
6073 appendSkippedTokens(); 6073
6074 } 6074 pushFollow(FOLLOW_2);
6075 finally { 6075 lv_specification_2_0=ruleObjectiveSpecification();
6076 } 6076
6077 return current; 6077 state._fsp--;
6078 } 6078
6079 // $ANTLR end "entryRuleConfig" 6079
6080 6080 if (current==null) {
6081 6081 current = createModelElementForParent(grammarAccess.getObjectiveDeclarationRule());
6082 // $ANTLR start "ruleConfig" 6082 }
6083 // InternalApplicationConfiguration.g:2211:1: ruleConfig returns [EObject current=null] : (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ; 6083 set(
6084 public final EObject ruleConfig() throws RecognitionException { 6084 current,
6085 EObject current = null; 6085 "specification",
6086 6086 lv_specification_2_0,
6087 EObject this_ConfigSpecification_0 = null; 6087 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveSpecification");
6088 6088 afterParserOrEnumRuleCall();
6089 EObject this_ConfigReference_1 = null; 6089
6090 6090
6091 6091 }
6092 6092
6093 enterRule(); 6093
6094 6094 }
6095 try { 6095
6096 // InternalApplicationConfiguration.g:2217:2: ( (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ) 6096
6097 // InternalApplicationConfiguration.g:2218:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) 6097 }
6098 { 6098
6099 // InternalApplicationConfiguration.g:2218:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) 6099
6100 int alt31=2; 6100 }
6101 int LA31_0 = input.LA(1); 6101
6102 6102
6103 if ( (LA31_0==18) ) { 6103 leaveRule();
6104 alt31=1; 6104
6105 } 6105 }
6106 else if ( (LA31_0==RULE_ID) ) { 6106
6107 alt31=2; 6107 catch (RecognitionException re) {
6108 } 6108 recover(input,re);
6109 else { 6109 appendSkippedTokens();
6110 NoViableAltException nvae = 6110 }
6111 new NoViableAltException("", 31, 0, input); 6111 finally {
6112 6112 }
6113 throw nvae; 6113 return current;
6114 } 6114 }
6115 switch (alt31) { 6115 // $ANTLR end "ruleObjectiveDeclaration"
6116 case 1 : 6116
6117 // InternalApplicationConfiguration.g:2219:3: this_ConfigSpecification_0= ruleConfigSpecification 6117
6118 { 6118 // $ANTLR start "entryRuleObjectiveReference"
6119 6119 // InternalApplicationConfiguration.g:2226:1: entryRuleObjectiveReference returns [EObject current=null] : iv_ruleObjectiveReference= ruleObjectiveReference EOF ;
6120 newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); 6120 public final EObject entryRuleObjectiveReference() throws RecognitionException {
6121 6121 EObject current = null;
6122 pushFollow(FOLLOW_2); 6122
6123 this_ConfigSpecification_0=ruleConfigSpecification(); 6123 EObject iv_ruleObjectiveReference = null;
6124 6124
6125 state._fsp--; 6125
6126 6126 try {
6127 6127 // InternalApplicationConfiguration.g:2226:59: (iv_ruleObjectiveReference= ruleObjectiveReference EOF )
6128 current = this_ConfigSpecification_0; 6128 // InternalApplicationConfiguration.g:2227:2: iv_ruleObjectiveReference= ruleObjectiveReference EOF
6129 afterParserOrEnumRuleCall(); 6129 {
6130 6130 newCompositeNode(grammarAccess.getObjectiveReferenceRule());
6131 6131 pushFollow(FOLLOW_1);
6132 } 6132 iv_ruleObjectiveReference=ruleObjectiveReference();
6133 break; 6133
6134 case 2 : 6134 state._fsp--;
6135 // InternalApplicationConfiguration.g:2228:3: this_ConfigReference_1= ruleConfigReference 6135
6136 { 6136 current =iv_ruleObjectiveReference;
6137 6137 match(input,EOF,FOLLOW_2);
6138 newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); 6138
6139 6139 }
6140 pushFollow(FOLLOW_2); 6140
6141 this_ConfigReference_1=ruleConfigReference(); 6141 }
6142 6142
6143 state._fsp--; 6143 catch (RecognitionException re) {
6144 6144 recover(input,re);
6145 6145 appendSkippedTokens();
6146 current = this_ConfigReference_1; 6146 }
6147 afterParserOrEnumRuleCall(); 6147 finally {
6148 6148 }
6149 6149 return current;
6150 } 6150 }
6151 break; 6151 // $ANTLR end "entryRuleObjectiveReference"
6152 6152
6153 } 6153
6154 6154 // $ANTLR start "ruleObjectiveReference"
6155 6155 // InternalApplicationConfiguration.g:2233:1: ruleObjectiveReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
6156 } 6156 public final EObject ruleObjectiveReference() throws RecognitionException {
6157 6157 EObject current = null;
6158 6158
6159 leaveRule(); 6159 Token otherlv_0=null;
6160 6160
6161 } 6161
6162 6162 enterRule();
6163 catch (RecognitionException re) { 6163
6164 recover(input,re); 6164 try {
6165 appendSkippedTokens(); 6165 // InternalApplicationConfiguration.g:2239:2: ( ( (otherlv_0= RULE_ID ) ) )
6166 } 6166 // InternalApplicationConfiguration.g:2240:2: ( (otherlv_0= RULE_ID ) )
6167 finally { 6167 {
6168 } 6168 // InternalApplicationConfiguration.g:2240:2: ( (otherlv_0= RULE_ID ) )
6169 return current; 6169 // InternalApplicationConfiguration.g:2241:3: (otherlv_0= RULE_ID )
6170 } 6170 {
6171 // $ANTLR end "ruleConfig" 6171 // InternalApplicationConfiguration.g:2241:3: (otherlv_0= RULE_ID )
6172 6172 // InternalApplicationConfiguration.g:2242:4: otherlv_0= RULE_ID
6173 6173 {
6174 // $ANTLR start "entryRuleScopeSpecification" 6174
6175 // InternalApplicationConfiguration.g:2240:1: entryRuleScopeSpecification returns [EObject current=null] : iv_ruleScopeSpecification= ruleScopeSpecification EOF ; 6175 if (current==null) {
6176 public final EObject entryRuleScopeSpecification() throws RecognitionException { 6176 current = createModelElement(grammarAccess.getObjectiveReferenceRule());
6177 EObject current = null; 6177 }
6178 6178
6179 EObject iv_ruleScopeSpecification = null; 6179 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2);
6180 6180
6181 6181 newLeafNode(otherlv_0, grammarAccess.getObjectiveReferenceAccess().getReferredObjectiveDeclarationCrossReference_0());
6182 try { 6182
6183 // InternalApplicationConfiguration.g:2240:59: (iv_ruleScopeSpecification= ruleScopeSpecification EOF ) 6183
6184 // InternalApplicationConfiguration.g:2241:2: iv_ruleScopeSpecification= ruleScopeSpecification EOF 6184 }
6185 { 6185
6186 newCompositeNode(grammarAccess.getScopeSpecificationRule()); 6186
6187 pushFollow(FOLLOW_1); 6187 }
6188 iv_ruleScopeSpecification=ruleScopeSpecification(); 6188
6189 6189
6190 state._fsp--; 6190 }
6191 6191
6192 current =iv_ruleScopeSpecification; 6192
6193 match(input,EOF,FOLLOW_2); 6193 leaveRule();
6194 6194
6195 } 6195 }
6196 6196
6197 } 6197 catch (RecognitionException re) {
6198 6198 recover(input,re);
6199 catch (RecognitionException re) { 6199 appendSkippedTokens();
6200 recover(input,re); 6200 }
6201 appendSkippedTokens(); 6201 finally {
6202 } 6202 }
6203 finally { 6203 return current;
6204 } 6204 }
6205 return current; 6205 // $ANTLR end "ruleObjectiveReference"
6206 } 6206
6207 // $ANTLR end "entryRuleScopeSpecification" 6207
6208 6208 // $ANTLR start "entryRuleObjective"
6209 6209 // InternalApplicationConfiguration.g:2256:1: entryRuleObjective returns [EObject current=null] : iv_ruleObjective= ruleObjective EOF ;
6210 // $ANTLR start "ruleScopeSpecification" 6210 public final EObject entryRuleObjective() throws RecognitionException {
6211 // InternalApplicationConfiguration.g:2247:1: ruleScopeSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ; 6211 EObject current = null;
6212 public final EObject ruleScopeSpecification() throws RecognitionException { 6212
6213 EObject current = null; 6213 EObject iv_ruleObjective = null;
6214 6214
6215 Token otherlv_1=null; 6215
6216 Token otherlv_3=null; 6216 try {
6217 Token otherlv_5=null; 6217 // InternalApplicationConfiguration.g:2256:50: (iv_ruleObjective= ruleObjective EOF )
6218 EObject lv_scopes_2_0 = null; 6218 // InternalApplicationConfiguration.g:2257:2: iv_ruleObjective= ruleObjective EOF
6219 6219 {
6220 EObject lv_scopes_4_0 = null; 6220 newCompositeNode(grammarAccess.getObjectiveRule());
6221 6221 pushFollow(FOLLOW_1);
6222 6222 iv_ruleObjective=ruleObjective();
6223 6223
6224 enterRule(); 6224 state._fsp--;
6225 6225
6226 try { 6226 current =iv_ruleObjective;
6227 // InternalApplicationConfiguration.g:2253:2: ( ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ) 6227 match(input,EOF,FOLLOW_2);
6228 // InternalApplicationConfiguration.g:2254:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) 6228
6229 { 6229 }
6230 // InternalApplicationConfiguration.g:2254:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) 6230
6231 // InternalApplicationConfiguration.g:2255:3: () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' 6231 }
6232 { 6232
6233 // InternalApplicationConfiguration.g:2255:3: () 6233 catch (RecognitionException re) {
6234 // InternalApplicationConfiguration.g:2256:4: 6234 recover(input,re);
6235 { 6235 appendSkippedTokens();
6236 6236 }
6237 current = forceCreateModelElement( 6237 finally {
6238 grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(), 6238 }
6239 current); 6239 return current;
6240 6240 }
6241 6241 // $ANTLR end "entryRuleObjective"
6242 } 6242
6243 6243
6244 otherlv_1=(Token)match(input,18,FOLLOW_24); 6244 // $ANTLR start "ruleObjective"
6245 6245 // InternalApplicationConfiguration.g:2263:1: ruleObjective returns [EObject current=null] : (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) ;
6246 newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); 6246 public final EObject ruleObjective() throws RecognitionException {
6247 6247 EObject current = null;
6248 // InternalApplicationConfiguration.g:2266:3: ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? 6248
6249 int alt33=2; 6249 EObject this_ObjectiveReference_0 = null;
6250 int LA33_0 = input.LA(1); 6250
6251 6251 EObject this_ObjectiveSpecification_1 = null;
6252 if ( (LA33_0==32) ) { 6252
6253 alt33=1; 6253
6254 } 6254
6255 switch (alt33) { 6255 enterRule();
6256 case 1 : 6256
6257 // InternalApplicationConfiguration.g:2267:4: ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* 6257 try {
6258 { 6258 // InternalApplicationConfiguration.g:2269:2: ( (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) )
6259 // InternalApplicationConfiguration.g:2267:4: ( (lv_scopes_2_0= ruleTypeScope ) ) 6259 // InternalApplicationConfiguration.g:2270:2: (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification )
6260 // InternalApplicationConfiguration.g:2268:5: (lv_scopes_2_0= ruleTypeScope ) 6260 {
6261 { 6261 // InternalApplicationConfiguration.g:2270:2: (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification )
6262 // InternalApplicationConfiguration.g:2268:5: (lv_scopes_2_0= ruleTypeScope ) 6262 int alt31=2;
6263 // InternalApplicationConfiguration.g:2269:6: lv_scopes_2_0= ruleTypeScope 6263 int LA31_0 = input.LA(1);
6264 { 6264
6265 6265 if ( (LA31_0==RULE_ID) ) {
6266 newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); 6266 alt31=1;
6267 6267 }
6268 pushFollow(FOLLOW_14); 6268 else if ( (LA31_0==19) ) {
6269 lv_scopes_2_0=ruleTypeScope(); 6269 alt31=2;
6270 6270 }
6271 state._fsp--; 6271 else {
6272 6272 NoViableAltException nvae =
6273 6273 new NoViableAltException("", 31, 0, input);
6274 if (current==null) { 6274
6275 current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); 6275 throw nvae;
6276 } 6276 }
6277 add( 6277 switch (alt31) {
6278 current, 6278 case 1 :
6279 "scopes", 6279 // InternalApplicationConfiguration.g:2271:3: this_ObjectiveReference_0= ruleObjectiveReference
6280 lv_scopes_2_0, 6280 {
6281 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); 6281
6282 afterParserOrEnumRuleCall(); 6282 newCompositeNode(grammarAccess.getObjectiveAccess().getObjectiveReferenceParserRuleCall_0());
6283 6283
6284 6284 pushFollow(FOLLOW_2);
6285 } 6285 this_ObjectiveReference_0=ruleObjectiveReference();
6286 6286
6287 6287 state._fsp--;
6288 } 6288
6289 6289
6290 // InternalApplicationConfiguration.g:2286:4: (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* 6290 current = this_ObjectiveReference_0;
6291 loop32: 6291 afterParserOrEnumRuleCall();
6292 do { 6292
6293 int alt32=2; 6293
6294 int LA32_0 = input.LA(1); 6294 }
6295 6295 break;
6296 if ( (LA32_0==19) ) { 6296 case 2 :
6297 alt32=1; 6297 // InternalApplicationConfiguration.g:2280:3: this_ObjectiveSpecification_1= ruleObjectiveSpecification
6298 } 6298 {
6299 6299
6300 6300 newCompositeNode(grammarAccess.getObjectiveAccess().getObjectiveSpecificationParserRuleCall_1());
6301 switch (alt32) { 6301
6302 case 1 : 6302 pushFollow(FOLLOW_2);
6303 // InternalApplicationConfiguration.g:2287:5: otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) 6303 this_ObjectiveSpecification_1=ruleObjectiveSpecification();
6304 { 6304
6305 otherlv_3=(Token)match(input,19,FOLLOW_25); 6305 state._fsp--;
6306 6306
6307 newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); 6307
6308 6308 current = this_ObjectiveSpecification_1;
6309 // InternalApplicationConfiguration.g:2291:5: ( (lv_scopes_4_0= ruleTypeScope ) ) 6309 afterParserOrEnumRuleCall();
6310 // InternalApplicationConfiguration.g:2292:6: (lv_scopes_4_0= ruleTypeScope ) 6310
6311 { 6311
6312 // InternalApplicationConfiguration.g:2292:6: (lv_scopes_4_0= ruleTypeScope ) 6312 }
6313 // InternalApplicationConfiguration.g:2293:7: lv_scopes_4_0= ruleTypeScope 6313 break;
6314 { 6314
6315 6315 }
6316 newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); 6316
6317 6317
6318 pushFollow(FOLLOW_14); 6318 }
6319 lv_scopes_4_0=ruleTypeScope(); 6319
6320 6320
6321 state._fsp--; 6321 leaveRule();
6322 6322
6323 6323 }
6324 if (current==null) { 6324
6325 current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); 6325 catch (RecognitionException re) {
6326 } 6326 recover(input,re);
6327 add( 6327 appendSkippedTokens();
6328 current, 6328 }
6329 "scopes", 6329 finally {
6330 lv_scopes_4_0, 6330 }
6331 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); 6331 return current;
6332 afterParserOrEnumRuleCall(); 6332 }
6333 6333 // $ANTLR end "ruleObjective"
6334 6334
6335 } 6335
6336 6336 // $ANTLR start "entryRuleConfigSpecification"
6337 6337 // InternalApplicationConfiguration.g:2292:1: entryRuleConfigSpecification returns [EObject current=null] : iv_ruleConfigSpecification= ruleConfigSpecification EOF ;
6338 } 6338 public final EObject entryRuleConfigSpecification() throws RecognitionException {
6339 6339 EObject current = null;
6340 6340
6341 } 6341 EObject iv_ruleConfigSpecification = null;
6342 break; 6342
6343 6343
6344 default : 6344 try {
6345 break loop32; 6345 // InternalApplicationConfiguration.g:2292:60: (iv_ruleConfigSpecification= ruleConfigSpecification EOF )
6346 } 6346 // InternalApplicationConfiguration.g:2293:2: iv_ruleConfigSpecification= ruleConfigSpecification EOF
6347 } while (true); 6347 {
6348 6348 newCompositeNode(grammarAccess.getConfigSpecificationRule());
6349 6349 pushFollow(FOLLOW_1);
6350 } 6350 iv_ruleConfigSpecification=ruleConfigSpecification();
6351 break; 6351
6352 6352 state._fsp--;
6353 } 6353
6354 6354 current =iv_ruleConfigSpecification;
6355 otherlv_5=(Token)match(input,20,FOLLOW_2); 6355 match(input,EOF,FOLLOW_2);
6356 6356
6357 newLeafNode(otherlv_5, grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); 6357 }
6358 6358
6359 6359 }
6360 } 6360
6361 6361 catch (RecognitionException re) {
6362 6362 recover(input,re);
6363 } 6363 appendSkippedTokens();
6364 6364 }
6365 6365 finally {
6366 leaveRule(); 6366 }
6367 6367 return current;
6368 } 6368 }
6369 6369 // $ANTLR end "entryRuleConfigSpecification"
6370 catch (RecognitionException re) { 6370
6371 recover(input,re); 6371
6372 appendSkippedTokens(); 6372 // $ANTLR start "ruleConfigSpecification"
6373 } 6373 // InternalApplicationConfiguration.g:2299:1: ruleConfigSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ;
6374 finally { 6374 public final EObject ruleConfigSpecification() throws RecognitionException {
6375 } 6375 EObject current = null;
6376 return current; 6376
6377 } 6377 Token otherlv_1=null;
6378 // $ANTLR end "ruleScopeSpecification" 6378 Token otherlv_3=null;
6379 6379 Token otherlv_5=null;
6380 6380 EObject lv_entries_2_0 = null;
6381 // $ANTLR start "entryRuleTypeScope" 6381
6382 // InternalApplicationConfiguration.g:2320:1: entryRuleTypeScope returns [EObject current=null] : iv_ruleTypeScope= ruleTypeScope EOF ; 6382 EObject lv_entries_4_0 = null;
6383 public final EObject entryRuleTypeScope() throws RecognitionException { 6383
6384 EObject current = null; 6384
6385 6385
6386 EObject iv_ruleTypeScope = null; 6386 enterRule();
6387 6387
6388 6388 try {
6389 try { 6389 // InternalApplicationConfiguration.g:2305:2: ( ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) )
6390 // InternalApplicationConfiguration.g:2320:50: (iv_ruleTypeScope= ruleTypeScope EOF ) 6390 // InternalApplicationConfiguration.g:2306:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' )
6391 // InternalApplicationConfiguration.g:2321:2: iv_ruleTypeScope= ruleTypeScope EOF 6391 {
6392 { 6392 // InternalApplicationConfiguration.g:2306:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' )
6393 newCompositeNode(grammarAccess.getTypeScopeRule()); 6393 // InternalApplicationConfiguration.g:2307:3: () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}'
6394 pushFollow(FOLLOW_1); 6394 {
6395 iv_ruleTypeScope=ruleTypeScope(); 6395 // InternalApplicationConfiguration.g:2307:3: ()
6396 6396 // InternalApplicationConfiguration.g:2308:4:
6397 state._fsp--; 6397 {
6398 6398
6399 current =iv_ruleTypeScope; 6399 current = forceCreateModelElement(
6400 match(input,EOF,FOLLOW_2); 6400 grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(),
6401 6401 current);
6402 } 6402
6403 6403
6404 } 6404 }
6405 6405
6406 catch (RecognitionException re) { 6406 otherlv_1=(Token)match(input,19,FOLLOW_25);
6407 recover(input,re); 6407
6408 appendSkippedTokens(); 6408 newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1());
6409 } 6409
6410 finally { 6410 // InternalApplicationConfiguration.g:2318:3: ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )?
6411 } 6411 int alt33=2;
6412 return current; 6412 int LA33_0 = input.LA(1);
6413 } 6413
6414 // $ANTLR end "entryRuleTypeScope" 6414 if ( (LA33_0==RULE_STRING||(LA33_0>=31 && LA33_0<=33)) ) {
6415 6415 alt33=1;
6416 6416 }
6417 // $ANTLR start "ruleTypeScope" 6417 switch (alt33) {
6418 // InternalApplicationConfiguration.g:2327:1: ruleTypeScope returns [EObject current=null] : (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) ; 6418 case 1 :
6419 public final EObject ruleTypeScope() throws RecognitionException { 6419 // InternalApplicationConfiguration.g:2319:4: ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )*
6420 EObject current = null; 6420 {
6421 6421 // InternalApplicationConfiguration.g:2319:4: ( (lv_entries_2_0= ruleConfigEntry ) )
6422 EObject this_ClassTypeScope_0 = null; 6422 // InternalApplicationConfiguration.g:2320:5: (lv_entries_2_0= ruleConfigEntry )
6423 6423 {
6424 EObject this_ObjectTypeScope_1 = null; 6424 // InternalApplicationConfiguration.g:2320:5: (lv_entries_2_0= ruleConfigEntry )
6425 6425 // InternalApplicationConfiguration.g:2321:6: lv_entries_2_0= ruleConfigEntry
6426 EObject this_IntegerTypeScope_2 = null; 6426 {
6427 6427
6428 EObject this_RealTypeScope_3 = null; 6428 newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0());
6429 6429
6430 EObject this_StringTypeScope_4 = null; 6430 pushFollow(FOLLOW_15);
6431 6431 lv_entries_2_0=ruleConfigEntry();
6432 6432
6433 6433 state._fsp--;
6434 enterRule(); 6434
6435 6435
6436 try { 6436 if (current==null) {
6437 // InternalApplicationConfiguration.g:2333:2: ( (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) ) 6437 current = createModelElementForParent(grammarAccess.getConfigSpecificationRule());
6438 // InternalApplicationConfiguration.g:2334:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) 6438 }
6439 { 6439 add(
6440 // InternalApplicationConfiguration.g:2334:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) 6440 current,
6441 int alt34=5; 6441 "entries",
6442 int LA34_0 = input.LA(1); 6442 lv_entries_2_0,
6443 6443 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry");
6444 if ( (LA34_0==32) ) { 6444 afterParserOrEnumRuleCall();
6445 switch ( input.LA(2) ) { 6445
6446 case 37: 6446
6447 { 6447 }
6448 alt34=3; 6448
6449 } 6449
6450 break; 6450 }
6451 case 38: 6451
6452 { 6452 // InternalApplicationConfiguration.g:2338:4: (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )*
6453 alt34=4; 6453 loop32:
6454 } 6454 do {
6455 break; 6455 int alt32=2;
6456 case 39: 6456 int LA32_0 = input.LA(1);
6457 { 6457
6458 alt34=5; 6458 if ( (LA32_0==20) ) {
6459 } 6459 alt32=1;
6460 break; 6460 }
6461 case 34: 6461
6462 { 6462
6463 alt34=1; 6463 switch (alt32) {
6464 } 6464 case 1 :
6465 break; 6465 // InternalApplicationConfiguration.g:2339:5: otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) )
6466 case 36: 6466 {
6467 { 6467 otherlv_3=(Token)match(input,20,FOLLOW_26);
6468 alt34=2; 6468
6469 } 6469 newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0());
6470 break; 6470
6471 default: 6471 // InternalApplicationConfiguration.g:2343:5: ( (lv_entries_4_0= ruleConfigEntry ) )
6472 NoViableAltException nvae = 6472 // InternalApplicationConfiguration.g:2344:6: (lv_entries_4_0= ruleConfigEntry )
6473 new NoViableAltException("", 34, 1, input); 6473 {
6474 6474 // InternalApplicationConfiguration.g:2344:6: (lv_entries_4_0= ruleConfigEntry )
6475 throw nvae; 6475 // InternalApplicationConfiguration.g:2345:7: lv_entries_4_0= ruleConfigEntry
6476 } 6476 {
6477 6477
6478 } 6478 newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0());
6479 else { 6479
6480 NoViableAltException nvae = 6480 pushFollow(FOLLOW_15);
6481 new NoViableAltException("", 34, 0, input); 6481 lv_entries_4_0=ruleConfigEntry();
6482 6482
6483 throw nvae; 6483 state._fsp--;
6484 } 6484
6485 switch (alt34) { 6485
6486 case 1 : 6486 if (current==null) {
6487 // InternalApplicationConfiguration.g:2335:3: this_ClassTypeScope_0= ruleClassTypeScope 6487 current = createModelElementForParent(grammarAccess.getConfigSpecificationRule());
6488 { 6488 }
6489 6489 add(
6490 newCompositeNode(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0()); 6490 current,
6491 6491 "entries",
6492 pushFollow(FOLLOW_2); 6492 lv_entries_4_0,
6493 this_ClassTypeScope_0=ruleClassTypeScope(); 6493 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry");
6494 6494 afterParserOrEnumRuleCall();
6495 state._fsp--; 6495
6496 6496
6497 6497 }
6498 current = this_ClassTypeScope_0; 6498
6499 afterParserOrEnumRuleCall(); 6499
6500 6500 }
6501 6501
6502 } 6502
6503 break; 6503 }
6504 case 2 : 6504 break;
6505 // InternalApplicationConfiguration.g:2344:3: this_ObjectTypeScope_1= ruleObjectTypeScope 6505
6506 { 6506 default :
6507 6507 break loop32;
6508 newCompositeNode(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1()); 6508 }
6509 6509 } while (true);
6510 pushFollow(FOLLOW_2); 6510
6511 this_ObjectTypeScope_1=ruleObjectTypeScope(); 6511
6512 6512 }
6513 state._fsp--; 6513 break;
6514 6514
6515 6515 }
6516 current = this_ObjectTypeScope_1; 6516
6517 afterParserOrEnumRuleCall(); 6517 otherlv_5=(Token)match(input,21,FOLLOW_2);
6518 6518
6519 6519 newLeafNode(otherlv_5, grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3());
6520 } 6520
6521 break; 6521
6522 case 3 : 6522 }
6523 // InternalApplicationConfiguration.g:2353:3: this_IntegerTypeScope_2= ruleIntegerTypeScope 6523
6524 { 6524
6525 6525 }
6526 newCompositeNode(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2()); 6526
6527 6527
6528 pushFollow(FOLLOW_2); 6528 leaveRule();
6529 this_IntegerTypeScope_2=ruleIntegerTypeScope(); 6529
6530 6530 }
6531 state._fsp--; 6531
6532 6532 catch (RecognitionException re) {
6533 6533 recover(input,re);
6534 current = this_IntegerTypeScope_2; 6534 appendSkippedTokens();
6535 afterParserOrEnumRuleCall(); 6535 }
6536 6536 finally {
6537 6537 }
6538 } 6538 return current;
6539 break; 6539 }
6540 case 4 : 6540 // $ANTLR end "ruleConfigSpecification"
6541 // InternalApplicationConfiguration.g:2362:3: this_RealTypeScope_3= ruleRealTypeScope 6541
6542 { 6542
6543 6543 // $ANTLR start "entryRuleConfigDeclaration"
6544 newCompositeNode(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3()); 6544 // InternalApplicationConfiguration.g:2372:1: entryRuleConfigDeclaration returns [EObject current=null] : iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ;
6545 6545 public final EObject entryRuleConfigDeclaration() throws RecognitionException {
6546 pushFollow(FOLLOW_2); 6546 EObject current = null;
6547 this_RealTypeScope_3=ruleRealTypeScope(); 6547
6548 6548 EObject iv_ruleConfigDeclaration = null;
6549 state._fsp--; 6549
6550 6550
6551 6551 try {
6552 current = this_RealTypeScope_3; 6552 // InternalApplicationConfiguration.g:2372:58: (iv_ruleConfigDeclaration= ruleConfigDeclaration EOF )
6553 afterParserOrEnumRuleCall(); 6553 // InternalApplicationConfiguration.g:2373:2: iv_ruleConfigDeclaration= ruleConfigDeclaration EOF
6554 6554 {
6555 6555 newCompositeNode(grammarAccess.getConfigDeclarationRule());
6556 } 6556 pushFollow(FOLLOW_1);
6557 break; 6557 iv_ruleConfigDeclaration=ruleConfigDeclaration();
6558 case 5 : 6558
6559 // InternalApplicationConfiguration.g:2371:3: this_StringTypeScope_4= ruleStringTypeScope 6559 state._fsp--;
6560 { 6560
6561 6561 current =iv_ruleConfigDeclaration;
6562 newCompositeNode(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4()); 6562 match(input,EOF,FOLLOW_2);
6563 6563
6564 pushFollow(FOLLOW_2); 6564 }
6565 this_StringTypeScope_4=ruleStringTypeScope(); 6565
6566 6566 }
6567 state._fsp--; 6567
6568 6568 catch (RecognitionException re) {
6569 6569 recover(input,re);
6570 current = this_StringTypeScope_4; 6570 appendSkippedTokens();
6571 afterParserOrEnumRuleCall(); 6571 }
6572 6572 finally {
6573 6573 }
6574 } 6574 return current;
6575 break; 6575 }
6576 6576 // $ANTLR end "entryRuleConfigDeclaration"
6577 } 6577
6578 6578
6579 6579 // $ANTLR start "ruleConfigDeclaration"
6580 } 6580 // InternalApplicationConfiguration.g:2379:1: ruleConfigDeclaration returns [EObject current=null] : (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ;
6581 6581 public final EObject ruleConfigDeclaration() throws RecognitionException {
6582 6582 EObject current = null;
6583 leaveRule(); 6583
6584 6584 Token otherlv_0=null;
6585 } 6585 Token lv_name_1_0=null;
6586 6586 EObject lv_specification_2_0 = null;
6587 catch (RecognitionException re) { 6587
6588 recover(input,re); 6588
6589 appendSkippedTokens(); 6589
6590 } 6590 enterRule();
6591 finally { 6591
6592 } 6592 try {
6593 return current; 6593 // InternalApplicationConfiguration.g:2385:2: ( (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) )
6594 } 6594 // InternalApplicationConfiguration.g:2386:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) )
6595 // $ANTLR end "ruleTypeScope" 6595 {
6596 6596 // InternalApplicationConfiguration.g:2386:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) )
6597 6597 // InternalApplicationConfiguration.g:2387:3: otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) )
6598 // $ANTLR start "entryRuleClassTypeScope" 6598 {
6599 // InternalApplicationConfiguration.g:2383:1: entryRuleClassTypeScope returns [EObject current=null] : iv_ruleClassTypeScope= ruleClassTypeScope EOF ; 6599 otherlv_0=(Token)match(input,30,FOLLOW_6);
6600 public final EObject entryRuleClassTypeScope() throws RecognitionException { 6600
6601 EObject current = null; 6601 newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0());
6602 6602
6603 EObject iv_ruleClassTypeScope = null; 6603 // InternalApplicationConfiguration.g:2391:3: ( (lv_name_1_0= RULE_ID ) )
6604 6604 // InternalApplicationConfiguration.g:2392:4: (lv_name_1_0= RULE_ID )
6605 6605 {
6606 try { 6606 // InternalApplicationConfiguration.g:2392:4: (lv_name_1_0= RULE_ID )
6607 // InternalApplicationConfiguration.g:2383:55: (iv_ruleClassTypeScope= ruleClassTypeScope EOF ) 6607 // InternalApplicationConfiguration.g:2393:5: lv_name_1_0= RULE_ID
6608 // InternalApplicationConfiguration.g:2384:2: iv_ruleClassTypeScope= ruleClassTypeScope EOF 6608 {
6609 { 6609 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17);
6610 newCompositeNode(grammarAccess.getClassTypeScopeRule()); 6610
6611 pushFollow(FOLLOW_1); 6611 newLeafNode(lv_name_1_0, grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0());
6612 iv_ruleClassTypeScope=ruleClassTypeScope(); 6612
6613 6613
6614 state._fsp--; 6614 if (current==null) {
6615 6615 current = createModelElement(grammarAccess.getConfigDeclarationRule());
6616 current =iv_ruleClassTypeScope; 6616 }
6617 match(input,EOF,FOLLOW_2); 6617 setWithLastConsumed(
6618 6618 current,
6619 } 6619 "name",
6620 6620 lv_name_1_0,
6621 } 6621 "org.eclipse.xtext.common.Terminals.ID");
6622 6622
6623 catch (RecognitionException re) { 6623
6624 recover(input,re); 6624 }
6625 appendSkippedTokens(); 6625
6626 } 6626
6627 finally { 6627 }
6628 } 6628
6629 return current; 6629 // InternalApplicationConfiguration.g:2409:3: ( (lv_specification_2_0= ruleConfigSpecification ) )
6630 } 6630 // InternalApplicationConfiguration.g:2410:4: (lv_specification_2_0= ruleConfigSpecification )
6631 // $ANTLR end "entryRuleClassTypeScope" 6631 {
6632 6632 // InternalApplicationConfiguration.g:2410:4: (lv_specification_2_0= ruleConfigSpecification )
6633 6633 // InternalApplicationConfiguration.g:2411:5: lv_specification_2_0= ruleConfigSpecification
6634 // $ANTLR start "ruleClassTypeScope" 6634 {
6635 // InternalApplicationConfiguration.g:2390:1: ruleClassTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ; 6635
6636 public final EObject ruleClassTypeScope() throws RecognitionException { 6636 newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0());
6637 EObject current = null; 6637
6638 6638 pushFollow(FOLLOW_2);
6639 Token otherlv_0=null; 6639 lv_specification_2_0=ruleConfigSpecification();
6640 Token lv_setsNew_2_0=null; 6640
6641 Token lv_setsSum_3_0=null; 6641 state._fsp--;
6642 EObject lv_type_1_0 = null; 6642
6643 6643
6644 EObject lv_number_4_0 = null; 6644 if (current==null) {
6645 6645 current = createModelElementForParent(grammarAccess.getConfigDeclarationRule());
6646 EObject lv_number_5_0 = null; 6646 }
6647 6647 set(
6648 6648 current,
6649 6649 "specification",
6650 enterRule(); 6650 lv_specification_2_0,
6651 6651 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification");
6652 try { 6652 afterParserOrEnumRuleCall();
6653 // InternalApplicationConfiguration.g:2396:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ) 6653
6654 // InternalApplicationConfiguration.g:2397:2: (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) 6654
6655 { 6655 }
6656 // InternalApplicationConfiguration.g:2397:2: (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) 6656
6657 // InternalApplicationConfiguration.g:2398:3: otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) 6657
6658 { 6658 }
6659 otherlv_0=(Token)match(input,32,FOLLOW_26); 6659
6660 6660
6661 newLeafNode(otherlv_0, grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0()); 6661 }
6662 6662
6663 // InternalApplicationConfiguration.g:2402:3: ( (lv_type_1_0= ruleClassReference ) ) 6663
6664 // InternalApplicationConfiguration.g:2403:4: (lv_type_1_0= ruleClassReference ) 6664 }
6665 { 6665
6666 // InternalApplicationConfiguration.g:2403:4: (lv_type_1_0= ruleClassReference ) 6666
6667 // InternalApplicationConfiguration.g:2404:5: lv_type_1_0= ruleClassReference 6667 leaveRule();
6668 { 6668
6669 6669 }
6670 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0()); 6670
6671 6671 catch (RecognitionException re) {
6672 pushFollow(FOLLOW_27); 6672 recover(input,re);
6673 lv_type_1_0=ruleClassReference(); 6673 appendSkippedTokens();
6674 6674 }
6675 state._fsp--; 6675 finally {
6676 6676 }
6677 6677 return current;
6678 if (current==null) { 6678 }
6679 current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); 6679 // $ANTLR end "ruleConfigDeclaration"
6680 } 6680
6681 set( 6681
6682 current, 6682 // $ANTLR start "entryRuleConfigEntry"
6683 "type", 6683 // InternalApplicationConfiguration.g:2432:1: entryRuleConfigEntry returns [EObject current=null] : iv_ruleConfigEntry= ruleConfigEntry EOF ;
6684 lv_type_1_0, 6684 public final EObject entryRuleConfigEntry() throws RecognitionException {
6685 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassReference"); 6685 EObject current = null;
6686 afterParserOrEnumRuleCall(); 6686
6687 6687 EObject iv_ruleConfigEntry = null;
6688 6688
6689 } 6689
6690 6690 try {
6691 6691 // InternalApplicationConfiguration.g:2432:52: (iv_ruleConfigEntry= ruleConfigEntry EOF )
6692 } 6692 // InternalApplicationConfiguration.g:2433:2: iv_ruleConfigEntry= ruleConfigEntry EOF
6693 6693 {
6694 // InternalApplicationConfiguration.g:2421:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) 6694 newCompositeNode(grammarAccess.getConfigEntryRule());
6695 int alt35=2; 6695 pushFollow(FOLLOW_1);
6696 int LA35_0 = input.LA(1); 6696 iv_ruleConfigEntry=ruleConfigEntry();
6697 6697
6698 if ( (LA35_0==33) ) { 6698 state._fsp--;
6699 alt35=1; 6699
6700 } 6700 current =iv_ruleConfigEntry;
6701 else if ( (LA35_0==17) ) { 6701 match(input,EOF,FOLLOW_2);
6702 alt35=2; 6702
6703 } 6703 }
6704 else { 6704
6705 NoViableAltException nvae = 6705 }
6706 new NoViableAltException("", 35, 0, input); 6706
6707 6707 catch (RecognitionException re) {
6708 throw nvae; 6708 recover(input,re);
6709 } 6709 appendSkippedTokens();
6710 switch (alt35) { 6710 }
6711 case 1 : 6711 finally {
6712 // InternalApplicationConfiguration.g:2422:4: ( (lv_setsNew_2_0= '+=' ) ) 6712 }
6713 { 6713 return current;
6714 // InternalApplicationConfiguration.g:2422:4: ( (lv_setsNew_2_0= '+=' ) ) 6714 }
6715 // InternalApplicationConfiguration.g:2423:5: (lv_setsNew_2_0= '+=' ) 6715 // $ANTLR end "entryRuleConfigEntry"
6716 { 6716
6717 // InternalApplicationConfiguration.g:2423:5: (lv_setsNew_2_0= '+=' ) 6717
6718 // InternalApplicationConfiguration.g:2424:6: lv_setsNew_2_0= '+=' 6718 // $ANTLR start "ruleConfigEntry"
6719 { 6719 // InternalApplicationConfiguration.g:2439:1: ruleConfigEntry returns [EObject current=null] : (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) ;
6720 lv_setsNew_2_0=(Token)match(input,33,FOLLOW_28); 6720 public final EObject ruleConfigEntry() throws RecognitionException {
6721 6721 EObject current = null;
6722 newLeafNode(lv_setsNew_2_0, grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 6722
6723 6723 EObject this_DocumentationEntry_0 = null;
6724 6724
6725 if (current==null) { 6725 EObject this_RuntimeEntry_1 = null;
6726 current = createModelElement(grammarAccess.getClassTypeScopeRule()); 6726
6727 } 6727 EObject this_MemoryEntry_2 = null;
6728 setWithLastConsumed(current, "setsNew", true, "+="); 6728
6729 6729 EObject this_CustomEntry_3 = null;
6730 6730
6731 } 6731
6732 6732
6733 6733 enterRule();
6734 } 6734
6735 6735 try {
6736 6736 // InternalApplicationConfiguration.g:2445:2: ( (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) )
6737 } 6737 // InternalApplicationConfiguration.g:2446:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry )
6738 break; 6738 {
6739 case 2 : 6739 // InternalApplicationConfiguration.g:2446:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry )
6740 // InternalApplicationConfiguration.g:2437:4: ( (lv_setsSum_3_0= '=' ) ) 6740 int alt34=4;
6741 { 6741 switch ( input.LA(1) ) {
6742 // InternalApplicationConfiguration.g:2437:4: ( (lv_setsSum_3_0= '=' ) ) 6742 case 31:
6743 // InternalApplicationConfiguration.g:2438:5: (lv_setsSum_3_0= '=' ) 6743 {
6744 { 6744 alt34=1;
6745 // InternalApplicationConfiguration.g:2438:5: (lv_setsSum_3_0= '=' ) 6745 }
6746 // InternalApplicationConfiguration.g:2439:6: lv_setsSum_3_0= '=' 6746 break;
6747 { 6747 case 32:
6748 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_28); 6748 {
6749 6749 alt34=2;
6750 newLeafNode(lv_setsSum_3_0, grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 6750 }
6751 6751 break;
6752 6752 case 33:
6753 if (current==null) { 6753 {
6754 current = createModelElement(grammarAccess.getClassTypeScopeRule()); 6754 alt34=3;
6755 } 6755 }
6756 setWithLastConsumed(current, "setsSum", true, "="); 6756 break;
6757 6757 case RULE_STRING:
6758 6758 {
6759 } 6759 alt34=4;
6760 6760 }
6761 6761 break;
6762 } 6762 default:
6763 6763 NoViableAltException nvae =
6764 6764 new NoViableAltException("", 34, 0, input);
6765 } 6765
6766 break; 6766 throw nvae;
6767 6767 }
6768 } 6768
6769 6769 switch (alt34) {
6770 // InternalApplicationConfiguration.g:2452:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) 6770 case 1 :
6771 int alt36=2; 6771 // InternalApplicationConfiguration.g:2447:3: this_DocumentationEntry_0= ruleDocumentationEntry
6772 int LA36_0 = input.LA(1); 6772 {
6773 6773
6774 if ( (LA36_0==RULE_INT) ) { 6774 newCompositeNode(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0());
6775 int LA36_1 = input.LA(2); 6775
6776 6776 pushFollow(FOLLOW_2);
6777 if ( (LA36_1==41) ) { 6777 this_DocumentationEntry_0=ruleDocumentationEntry();
6778 alt36=2; 6778
6779 } 6779 state._fsp--;
6780 else if ( (LA36_1==EOF||(LA36_1>=19 && LA36_1<=20)) ) { 6780
6781 alt36=1; 6781
6782 } 6782 current = this_DocumentationEntry_0;
6783 else { 6783 afterParserOrEnumRuleCall();
6784 NoViableAltException nvae = 6784
6785 new NoViableAltException("", 36, 1, input); 6785
6786 6786 }
6787 throw nvae; 6787 break;
6788 } 6788 case 2 :
6789 } 6789 // InternalApplicationConfiguration.g:2456:3: this_RuntimeEntry_1= ruleRuntimeEntry
6790 else if ( (LA36_0==40) ) { 6790 {
6791 alt36=1; 6791
6792 } 6792 newCompositeNode(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1());
6793 else { 6793
6794 NoViableAltException nvae = 6794 pushFollow(FOLLOW_2);
6795 new NoViableAltException("", 36, 0, input); 6795 this_RuntimeEntry_1=ruleRuntimeEntry();
6796 6796
6797 throw nvae; 6797 state._fsp--;
6798 } 6798
6799 switch (alt36) { 6799
6800 case 1 : 6800 current = this_RuntimeEntry_1;
6801 // InternalApplicationConfiguration.g:2453:4: ( (lv_number_4_0= ruleExactNumber ) ) 6801 afterParserOrEnumRuleCall();
6802 { 6802
6803 // InternalApplicationConfiguration.g:2453:4: ( (lv_number_4_0= ruleExactNumber ) ) 6803
6804 // InternalApplicationConfiguration.g:2454:5: (lv_number_4_0= ruleExactNumber ) 6804 }
6805 { 6805 break;
6806 // InternalApplicationConfiguration.g:2454:5: (lv_number_4_0= ruleExactNumber ) 6806 case 3 :
6807 // InternalApplicationConfiguration.g:2455:6: lv_number_4_0= ruleExactNumber 6807 // InternalApplicationConfiguration.g:2465:3: this_MemoryEntry_2= ruleMemoryEntry
6808 { 6808 {
6809 6809
6810 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 6810 newCompositeNode(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2());
6811 6811
6812 pushFollow(FOLLOW_2); 6812 pushFollow(FOLLOW_2);
6813 lv_number_4_0=ruleExactNumber(); 6813 this_MemoryEntry_2=ruleMemoryEntry();
6814 6814
6815 state._fsp--; 6815 state._fsp--;
6816 6816
6817 6817
6818 if (current==null) { 6818 current = this_MemoryEntry_2;
6819 current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); 6819 afterParserOrEnumRuleCall();
6820 } 6820
6821 set( 6821
6822 current, 6822 }
6823 "number", 6823 break;
6824 lv_number_4_0, 6824 case 4 :
6825 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 6825 // InternalApplicationConfiguration.g:2474:3: this_CustomEntry_3= ruleCustomEntry
6826 afterParserOrEnumRuleCall(); 6826 {
6827 6827
6828 6828 newCompositeNode(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3());
6829 } 6829
6830 6830 pushFollow(FOLLOW_2);
6831 6831 this_CustomEntry_3=ruleCustomEntry();
6832 } 6832
6833 6833 state._fsp--;
6834 6834
6835 } 6835
6836 break; 6836 current = this_CustomEntry_3;
6837 case 2 : 6837 afterParserOrEnumRuleCall();
6838 // InternalApplicationConfiguration.g:2473:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 6838
6839 { 6839
6840 // InternalApplicationConfiguration.g:2473:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 6840 }
6841 // InternalApplicationConfiguration.g:2474:5: (lv_number_5_0= ruleIntervallNumber ) 6841 break;
6842 { 6842
6843 // InternalApplicationConfiguration.g:2474:5: (lv_number_5_0= ruleIntervallNumber ) 6843 }
6844 // InternalApplicationConfiguration.g:2475:6: lv_number_5_0= ruleIntervallNumber 6844
6845 { 6845
6846 6846 }
6847 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 6847
6848 6848
6849 pushFollow(FOLLOW_2); 6849 leaveRule();
6850 lv_number_5_0=ruleIntervallNumber(); 6850
6851 6851 }
6852 state._fsp--; 6852
6853 6853 catch (RecognitionException re) {
6854 6854 recover(input,re);
6855 if (current==null) { 6855 appendSkippedTokens();
6856 current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); 6856 }
6857 } 6857 finally {
6858 set( 6858 }
6859 current, 6859 return current;
6860 "number", 6860 }
6861 lv_number_5_0, 6861 // $ANTLR end "ruleConfigEntry"
6862 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 6862
6863 afterParserOrEnumRuleCall(); 6863
6864 6864 // $ANTLR start "entryRuleDocumentationEntry"
6865 6865 // InternalApplicationConfiguration.g:2486:1: entryRuleDocumentationEntry returns [EObject current=null] : iv_ruleDocumentationEntry= ruleDocumentationEntry EOF ;
6866 } 6866 public final EObject entryRuleDocumentationEntry() throws RecognitionException {
6867 6867 EObject current = null;
6868 6868
6869 } 6869 EObject iv_ruleDocumentationEntry = null;
6870 6870
6871 6871
6872 } 6872 try {
6873 break; 6873 // InternalApplicationConfiguration.g:2486:59: (iv_ruleDocumentationEntry= ruleDocumentationEntry EOF )
6874 6874 // InternalApplicationConfiguration.g:2487:2: iv_ruleDocumentationEntry= ruleDocumentationEntry EOF
6875 } 6875 {
6876 6876 newCompositeNode(grammarAccess.getDocumentationEntryRule());
6877 6877 pushFollow(FOLLOW_1);
6878 } 6878 iv_ruleDocumentationEntry=ruleDocumentationEntry();
6879 6879
6880 6880 state._fsp--;
6881 } 6881
6882 6882 current =iv_ruleDocumentationEntry;
6883 6883 match(input,EOF,FOLLOW_2);
6884 leaveRule(); 6884
6885 6885 }
6886 } 6886
6887 6887 }
6888 catch (RecognitionException re) { 6888
6889 recover(input,re); 6889 catch (RecognitionException re) {
6890 appendSkippedTokens(); 6890 recover(input,re);
6891 } 6891 appendSkippedTokens();
6892 finally { 6892 }
6893 } 6893 finally {
6894 return current; 6894 }
6895 } 6895 return current;
6896 // $ANTLR end "ruleClassTypeScope" 6896 }
6897 6897 // $ANTLR end "entryRuleDocumentationEntry"
6898 6898
6899 // $ANTLR start "entryRuleObjectTypeScope" 6899
6900 // InternalApplicationConfiguration.g:2497:1: entryRuleObjectTypeScope returns [EObject current=null] : iv_ruleObjectTypeScope= ruleObjectTypeScope EOF ; 6900 // $ANTLR start "ruleDocumentationEntry"
6901 public final EObject entryRuleObjectTypeScope() throws RecognitionException { 6901 // InternalApplicationConfiguration.g:2493:1: ruleDocumentationEntry returns [EObject current=null] : (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) ;
6902 EObject current = null; 6902 public final EObject ruleDocumentationEntry() throws RecognitionException {
6903 6903 EObject current = null;
6904 EObject iv_ruleObjectTypeScope = null; 6904
6905 6905 Token otherlv_0=null;
6906 6906 Token otherlv_1=null;
6907 try { 6907 Enumerator lv_level_2_0 = null;
6908 // InternalApplicationConfiguration.g:2497:56: (iv_ruleObjectTypeScope= ruleObjectTypeScope EOF ) 6908
6909 // InternalApplicationConfiguration.g:2498:2: iv_ruleObjectTypeScope= ruleObjectTypeScope EOF 6909
6910 { 6910
6911 newCompositeNode(grammarAccess.getObjectTypeScopeRule()); 6911 enterRule();
6912 pushFollow(FOLLOW_1); 6912
6913 iv_ruleObjectTypeScope=ruleObjectTypeScope(); 6913 try {
6914 6914 // InternalApplicationConfiguration.g:2499:2: ( (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) )
6915 state._fsp--; 6915 // InternalApplicationConfiguration.g:2500:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) )
6916 6916 {
6917 current =iv_ruleObjectTypeScope; 6917 // InternalApplicationConfiguration.g:2500:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) )
6918 match(input,EOF,FOLLOW_2); 6918 // InternalApplicationConfiguration.g:2501:3: otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) )
6919 6919 {
6920 } 6920 otherlv_0=(Token)match(input,31,FOLLOW_13);
6921 6921
6922 } 6922 newLeafNode(otherlv_0, grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0());
6923 6923
6924 catch (RecognitionException re) { 6924 otherlv_1=(Token)match(input,18,FOLLOW_27);
6925 recover(input,re); 6925
6926 appendSkippedTokens(); 6926 newLeafNode(otherlv_1, grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1());
6927 } 6927
6928 finally { 6928 // InternalApplicationConfiguration.g:2509:3: ( (lv_level_2_0= ruleDocumentLevelSpecification ) )
6929 } 6929 // InternalApplicationConfiguration.g:2510:4: (lv_level_2_0= ruleDocumentLevelSpecification )
6930 return current; 6930 {
6931 } 6931 // InternalApplicationConfiguration.g:2510:4: (lv_level_2_0= ruleDocumentLevelSpecification )
6932 // $ANTLR end "entryRuleObjectTypeScope" 6932 // InternalApplicationConfiguration.g:2511:5: lv_level_2_0= ruleDocumentLevelSpecification
6933 6933 {
6934 6934
6935 // $ANTLR start "ruleObjectTypeScope" 6935 newCompositeNode(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0());
6936 // InternalApplicationConfiguration.g:2504:1: ruleObjectTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ; 6936
6937 public final EObject ruleObjectTypeScope() throws RecognitionException { 6937 pushFollow(FOLLOW_2);
6938 EObject current = null; 6938 lv_level_2_0=ruleDocumentLevelSpecification();
6939 6939
6940 Token otherlv_0=null; 6940 state._fsp--;
6941 Token lv_setsNew_2_0=null; 6941
6942 Token lv_setsSum_3_0=null; 6942
6943 EObject lv_type_1_0 = null; 6943 if (current==null) {
6944 6944 current = createModelElementForParent(grammarAccess.getDocumentationEntryRule());
6945 EObject lv_number_4_0 = null; 6945 }
6946 6946 set(
6947 EObject lv_number_5_0 = null; 6947 current,
6948 6948 "level",
6949 6949 lv_level_2_0,
6950 6950 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentLevelSpecification");
6951 enterRule(); 6951 afterParserOrEnumRuleCall();
6952 6952
6953 try { 6953
6954 // InternalApplicationConfiguration.g:2510:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ) 6954 }
6955 // InternalApplicationConfiguration.g:2511:2: (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) 6955
6956 { 6956
6957 // InternalApplicationConfiguration.g:2511:2: (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) 6957 }
6958 // InternalApplicationConfiguration.g:2512:3: otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) 6958
6959 { 6959
6960 otherlv_0=(Token)match(input,32,FOLLOW_29); 6960 }
6961 6961
6962 newLeafNode(otherlv_0, grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); 6962
6963 6963 }
6964 // InternalApplicationConfiguration.g:2516:3: ( (lv_type_1_0= ruleObjectReference ) ) 6964
6965 // InternalApplicationConfiguration.g:2517:4: (lv_type_1_0= ruleObjectReference ) 6965
6966 { 6966 leaveRule();
6967 // InternalApplicationConfiguration.g:2517:4: (lv_type_1_0= ruleObjectReference ) 6967
6968 // InternalApplicationConfiguration.g:2518:5: lv_type_1_0= ruleObjectReference 6968 }
6969 { 6969
6970 6970 catch (RecognitionException re) {
6971 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0()); 6971 recover(input,re);
6972 6972 appendSkippedTokens();
6973 pushFollow(FOLLOW_27); 6973 }
6974 lv_type_1_0=ruleObjectReference(); 6974 finally {
6975 6975 }
6976 state._fsp--; 6976 return current;
6977 6977 }
6978 6978 // $ANTLR end "ruleDocumentationEntry"
6979 if (current==null) { 6979
6980 current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); 6980
6981 } 6981 // $ANTLR start "entryRuleRuntimeEntry"
6982 set( 6982 // InternalApplicationConfiguration.g:2532:1: entryRuleRuntimeEntry returns [EObject current=null] : iv_ruleRuntimeEntry= ruleRuntimeEntry EOF ;
6983 current, 6983 public final EObject entryRuleRuntimeEntry() throws RecognitionException {
6984 "type", 6984 EObject current = null;
6985 lv_type_1_0, 6985
6986 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectReference"); 6986 EObject iv_ruleRuntimeEntry = null;
6987 afterParserOrEnumRuleCall(); 6987
6988 6988
6989 6989 try {
6990 } 6990 // InternalApplicationConfiguration.g:2532:53: (iv_ruleRuntimeEntry= ruleRuntimeEntry EOF )
6991 6991 // InternalApplicationConfiguration.g:2533:2: iv_ruleRuntimeEntry= ruleRuntimeEntry EOF
6992 6992 {
6993 } 6993 newCompositeNode(grammarAccess.getRuntimeEntryRule());
6994 6994 pushFollow(FOLLOW_1);
6995 // InternalApplicationConfiguration.g:2535:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) 6995 iv_ruleRuntimeEntry=ruleRuntimeEntry();
6996 int alt37=2; 6996
6997 int LA37_0 = input.LA(1); 6997 state._fsp--;
6998 6998
6999 if ( (LA37_0==33) ) { 6999 current =iv_ruleRuntimeEntry;
7000 alt37=1; 7000 match(input,EOF,FOLLOW_2);
7001 } 7001
7002 else if ( (LA37_0==17) ) { 7002 }
7003 alt37=2; 7003
7004 } 7004 }
7005 else { 7005
7006 NoViableAltException nvae = 7006 catch (RecognitionException re) {
7007 new NoViableAltException("", 37, 0, input); 7007 recover(input,re);
7008 7008 appendSkippedTokens();
7009 throw nvae; 7009 }
7010 } 7010 finally {
7011 switch (alt37) { 7011 }
7012 case 1 : 7012 return current;
7013 // InternalApplicationConfiguration.g:2536:4: ( (lv_setsNew_2_0= '+=' ) ) 7013 }
7014 { 7014 // $ANTLR end "entryRuleRuntimeEntry"
7015 // InternalApplicationConfiguration.g:2536:4: ( (lv_setsNew_2_0= '+=' ) ) 7015
7016 // InternalApplicationConfiguration.g:2537:5: (lv_setsNew_2_0= '+=' ) 7016
7017 { 7017 // $ANTLR start "ruleRuntimeEntry"
7018 // InternalApplicationConfiguration.g:2537:5: (lv_setsNew_2_0= '+=' ) 7018 // InternalApplicationConfiguration.g:2539:1: ruleRuntimeEntry returns [EObject current=null] : (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) ;
7019 // InternalApplicationConfiguration.g:2538:6: lv_setsNew_2_0= '+=' 7019 public final EObject ruleRuntimeEntry() throws RecognitionException {
7020 { 7020 EObject current = null;
7021 lv_setsNew_2_0=(Token)match(input,33,FOLLOW_28); 7021
7022 7022 Token otherlv_0=null;
7023 newLeafNode(lv_setsNew_2_0, grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 7023 Token otherlv_1=null;
7024 7024 Token lv_millisecLimit_2_0=null;
7025 7025
7026 if (current==null) { 7026
7027 current = createModelElement(grammarAccess.getObjectTypeScopeRule()); 7027 enterRule();
7028 } 7028
7029 setWithLastConsumed(current, "setsNew", true, "+="); 7029 try {
7030 7030 // InternalApplicationConfiguration.g:2545:2: ( (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) )
7031 7031 // InternalApplicationConfiguration.g:2546:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) )
7032 } 7032 {
7033 7033 // InternalApplicationConfiguration.g:2546:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) )
7034 7034 // InternalApplicationConfiguration.g:2547:3: otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) )
7035 } 7035 {
7036 7036 otherlv_0=(Token)match(input,32,FOLLOW_13);
7037 7037
7038 } 7038 newLeafNode(otherlv_0, grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0());
7039 break; 7039
7040 case 2 : 7040 otherlv_1=(Token)match(input,18,FOLLOW_7);
7041 // InternalApplicationConfiguration.g:2551:4: ( (lv_setsSum_3_0= '=' ) ) 7041
7042 { 7042 newLeafNode(otherlv_1, grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1());
7043 // InternalApplicationConfiguration.g:2551:4: ( (lv_setsSum_3_0= '=' ) ) 7043
7044 // InternalApplicationConfiguration.g:2552:5: (lv_setsSum_3_0= '=' ) 7044 // InternalApplicationConfiguration.g:2555:3: ( (lv_millisecLimit_2_0= RULE_INT ) )
7045 { 7045 // InternalApplicationConfiguration.g:2556:4: (lv_millisecLimit_2_0= RULE_INT )
7046 // InternalApplicationConfiguration.g:2552:5: (lv_setsSum_3_0= '=' ) 7046 {
7047 // InternalApplicationConfiguration.g:2553:6: lv_setsSum_3_0= '=' 7047 // InternalApplicationConfiguration.g:2556:4: (lv_millisecLimit_2_0= RULE_INT )
7048 { 7048 // InternalApplicationConfiguration.g:2557:5: lv_millisecLimit_2_0= RULE_INT
7049 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_28); 7049 {
7050 7050 lv_millisecLimit_2_0=(Token)match(input,RULE_INT,FOLLOW_2);
7051 newLeafNode(lv_setsSum_3_0, grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 7051
7052 7052 newLeafNode(lv_millisecLimit_2_0, grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0());
7053 7053
7054 if (current==null) { 7054
7055 current = createModelElement(grammarAccess.getObjectTypeScopeRule()); 7055 if (current==null) {
7056 } 7056 current = createModelElement(grammarAccess.getRuntimeEntryRule());
7057 setWithLastConsumed(current, "setsSum", true, "="); 7057 }
7058 7058 setWithLastConsumed(
7059 7059 current,
7060 } 7060 "millisecLimit",
7061 7061 lv_millisecLimit_2_0,
7062 7062 "org.eclipse.xtext.common.Terminals.INT");
7063 } 7063
7064 7064
7065 7065 }
7066 } 7066
7067 break; 7067
7068 7068 }
7069 } 7069
7070 7070
7071 // InternalApplicationConfiguration.g:2566:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) 7071 }
7072 int alt38=2; 7072
7073 int LA38_0 = input.LA(1); 7073
7074 7074 }
7075 if ( (LA38_0==RULE_INT) ) { 7075
7076 int LA38_1 = input.LA(2); 7076
7077 7077 leaveRule();
7078 if ( (LA38_1==41) ) { 7078
7079 alt38=2; 7079 }
7080 } 7080
7081 else if ( (LA38_1==EOF||(LA38_1>=19 && LA38_1<=20)) ) { 7081 catch (RecognitionException re) {
7082 alt38=1; 7082 recover(input,re);
7083 } 7083 appendSkippedTokens();
7084 else { 7084 }
7085 NoViableAltException nvae = 7085 finally {
7086 new NoViableAltException("", 38, 1, input); 7086 }
7087 7087 return current;
7088 throw nvae; 7088 }
7089 } 7089 // $ANTLR end "ruleRuntimeEntry"
7090 } 7090
7091 else if ( (LA38_0==40) ) { 7091
7092 alt38=1; 7092 // $ANTLR start "entryRuleMemoryEntry"
7093 } 7093 // InternalApplicationConfiguration.g:2577:1: entryRuleMemoryEntry returns [EObject current=null] : iv_ruleMemoryEntry= ruleMemoryEntry EOF ;
7094 else { 7094 public final EObject entryRuleMemoryEntry() throws RecognitionException {
7095 NoViableAltException nvae = 7095 EObject current = null;
7096 new NoViableAltException("", 38, 0, input); 7096
7097 7097 EObject iv_ruleMemoryEntry = null;
7098 throw nvae; 7098
7099 } 7099
7100 switch (alt38) { 7100 try {
7101 case 1 : 7101 // InternalApplicationConfiguration.g:2577:52: (iv_ruleMemoryEntry= ruleMemoryEntry EOF )
7102 // InternalApplicationConfiguration.g:2567:4: ( (lv_number_4_0= ruleExactNumber ) ) 7102 // InternalApplicationConfiguration.g:2578:2: iv_ruleMemoryEntry= ruleMemoryEntry EOF
7103 { 7103 {
7104 // InternalApplicationConfiguration.g:2567:4: ( (lv_number_4_0= ruleExactNumber ) ) 7104 newCompositeNode(grammarAccess.getMemoryEntryRule());
7105 // InternalApplicationConfiguration.g:2568:5: (lv_number_4_0= ruleExactNumber ) 7105 pushFollow(FOLLOW_1);
7106 { 7106 iv_ruleMemoryEntry=ruleMemoryEntry();
7107 // InternalApplicationConfiguration.g:2568:5: (lv_number_4_0= ruleExactNumber ) 7107
7108 // InternalApplicationConfiguration.g:2569:6: lv_number_4_0= ruleExactNumber 7108 state._fsp--;
7109 { 7109
7110 7110 current =iv_ruleMemoryEntry;
7111 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 7111 match(input,EOF,FOLLOW_2);
7112 7112
7113 pushFollow(FOLLOW_2); 7113 }
7114 lv_number_4_0=ruleExactNumber(); 7114
7115 7115 }
7116 state._fsp--; 7116
7117 7117 catch (RecognitionException re) {
7118 7118 recover(input,re);
7119 if (current==null) { 7119 appendSkippedTokens();
7120 current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); 7120 }
7121 } 7121 finally {
7122 set( 7122 }
7123 current, 7123 return current;
7124 "number", 7124 }
7125 lv_number_4_0, 7125 // $ANTLR end "entryRuleMemoryEntry"
7126 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 7126
7127 afterParserOrEnumRuleCall(); 7127
7128 7128 // $ANTLR start "ruleMemoryEntry"
7129 7129 // InternalApplicationConfiguration.g:2584:1: ruleMemoryEntry returns [EObject current=null] : (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) ;
7130 } 7130 public final EObject ruleMemoryEntry() throws RecognitionException {
7131 7131 EObject current = null;
7132 7132
7133 } 7133 Token otherlv_0=null;
7134 7134 Token otherlv_1=null;
7135 7135 Token lv_megabyteLimit_2_0=null;
7136 } 7136
7137 break; 7137
7138 case 2 : 7138 enterRule();
7139 // InternalApplicationConfiguration.g:2587:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 7139
7140 { 7140 try {
7141 // InternalApplicationConfiguration.g:2587:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 7141 // InternalApplicationConfiguration.g:2590:2: ( (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) )
7142 // InternalApplicationConfiguration.g:2588:5: (lv_number_5_0= ruleIntervallNumber ) 7142 // InternalApplicationConfiguration.g:2591:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) )
7143 { 7143 {
7144 // InternalApplicationConfiguration.g:2588:5: (lv_number_5_0= ruleIntervallNumber ) 7144 // InternalApplicationConfiguration.g:2591:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) )
7145 // InternalApplicationConfiguration.g:2589:6: lv_number_5_0= ruleIntervallNumber 7145 // InternalApplicationConfiguration.g:2592:3: otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) )
7146 { 7146 {
7147 7147 otherlv_0=(Token)match(input,33,FOLLOW_13);
7148 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 7148
7149 7149 newLeafNode(otherlv_0, grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0());
7150 pushFollow(FOLLOW_2); 7150
7151 lv_number_5_0=ruleIntervallNumber(); 7151 otherlv_1=(Token)match(input,18,FOLLOW_7);
7152 7152
7153 state._fsp--; 7153 newLeafNode(otherlv_1, grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1());
7154 7154
7155 7155 // InternalApplicationConfiguration.g:2600:3: ( (lv_megabyteLimit_2_0= RULE_INT ) )
7156 if (current==null) { 7156 // InternalApplicationConfiguration.g:2601:4: (lv_megabyteLimit_2_0= RULE_INT )
7157 current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); 7157 {
7158 } 7158 // InternalApplicationConfiguration.g:2601:4: (lv_megabyteLimit_2_0= RULE_INT )
7159 set( 7159 // InternalApplicationConfiguration.g:2602:5: lv_megabyteLimit_2_0= RULE_INT
7160 current, 7160 {
7161 "number", 7161 lv_megabyteLimit_2_0=(Token)match(input,RULE_INT,FOLLOW_2);
7162 lv_number_5_0, 7162
7163 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 7163 newLeafNode(lv_megabyteLimit_2_0, grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0());
7164 afterParserOrEnumRuleCall(); 7164
7165 7165
7166 7166 if (current==null) {
7167 } 7167 current = createModelElement(grammarAccess.getMemoryEntryRule());
7168 7168 }
7169 7169 setWithLastConsumed(
7170 } 7170 current,
7171 7171 "megabyteLimit",
7172 7172 lv_megabyteLimit_2_0,
7173 } 7173 "org.eclipse.xtext.common.Terminals.INT");
7174 break; 7174
7175 7175
7176 } 7176 }
7177 7177
7178 7178
7179 } 7179 }
7180 7180
7181 7181
7182 } 7182 }
7183 7183
7184 7184
7185 leaveRule(); 7185 }
7186 7186
7187 } 7187
7188 7188 leaveRule();
7189 catch (RecognitionException re) { 7189
7190 recover(input,re); 7190 }
7191 appendSkippedTokens(); 7191
7192 } 7192 catch (RecognitionException re) {
7193 finally { 7193 recover(input,re);
7194 } 7194 appendSkippedTokens();
7195 return current; 7195 }
7196 } 7196 finally {
7197 // $ANTLR end "ruleObjectTypeScope" 7197 }
7198 7198 return current;
7199 7199 }
7200 // $ANTLR start "entryRuleIntegerTypeScope" 7200 // $ANTLR end "ruleMemoryEntry"
7201 // InternalApplicationConfiguration.g:2611:1: entryRuleIntegerTypeScope returns [EObject current=null] : iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF ; 7201
7202 public final EObject entryRuleIntegerTypeScope() throws RecognitionException { 7202
7203 EObject current = null; 7203 // $ANTLR start "entryRuleCustomEntry"
7204 7204 // InternalApplicationConfiguration.g:2622:1: entryRuleCustomEntry returns [EObject current=null] : iv_ruleCustomEntry= ruleCustomEntry EOF ;
7205 EObject iv_ruleIntegerTypeScope = null; 7205 public final EObject entryRuleCustomEntry() throws RecognitionException {
7206 7206 EObject current = null;
7207 7207
7208 try { 7208 EObject iv_ruleCustomEntry = null;
7209 // InternalApplicationConfiguration.g:2611:57: (iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF ) 7209
7210 // InternalApplicationConfiguration.g:2612:2: iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF 7210
7211 { 7211 try {
7212 newCompositeNode(grammarAccess.getIntegerTypeScopeRule()); 7212 // InternalApplicationConfiguration.g:2622:52: (iv_ruleCustomEntry= ruleCustomEntry EOF )
7213 pushFollow(FOLLOW_1); 7213 // InternalApplicationConfiguration.g:2623:2: iv_ruleCustomEntry= ruleCustomEntry EOF
7214 iv_ruleIntegerTypeScope=ruleIntegerTypeScope(); 7214 {
7215 7215 newCompositeNode(grammarAccess.getCustomEntryRule());
7216 state._fsp--; 7216 pushFollow(FOLLOW_1);
7217 7217 iv_ruleCustomEntry=ruleCustomEntry();
7218 current =iv_ruleIntegerTypeScope; 7218
7219 match(input,EOF,FOLLOW_2); 7219 state._fsp--;
7220 7220
7221 } 7221 current =iv_ruleCustomEntry;
7222 7222 match(input,EOF,FOLLOW_2);
7223 } 7223
7224 7224 }
7225 catch (RecognitionException re) { 7225
7226 recover(input,re); 7226 }
7227 appendSkippedTokens(); 7227
7228 } 7228 catch (RecognitionException re) {
7229 finally { 7229 recover(input,re);
7230 } 7230 appendSkippedTokens();
7231 return current; 7231 }
7232 } 7232 finally {
7233 // $ANTLR end "entryRuleIntegerTypeScope" 7233 }
7234 7234 return current;
7235 7235 }
7236 // $ANTLR start "ruleIntegerTypeScope" 7236 // $ANTLR end "entryRuleCustomEntry"
7237 // InternalApplicationConfiguration.g:2618:1: ruleIntegerTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) ; 7237
7238 public final EObject ruleIntegerTypeScope() throws RecognitionException { 7238
7239 EObject current = null; 7239 // $ANTLR start "ruleCustomEntry"
7240 7240 // InternalApplicationConfiguration.g:2629:1: ruleCustomEntry returns [EObject current=null] : ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ;
7241 Token otherlv_0=null; 7241 public final EObject ruleCustomEntry() throws RecognitionException {
7242 Token lv_setsNew_2_0=null; 7242 EObject current = null;
7243 Token lv_setsSum_3_0=null; 7243
7244 EObject lv_type_1_0 = null; 7244 Token lv_key_0_0=null;
7245 7245 Token otherlv_1=null;
7246 EObject lv_number_4_0 = null; 7246 Token lv_value_2_0=null;
7247 7247
7248 EObject lv_number_5_0 = null; 7248
7249 7249 enterRule();
7250 EObject lv_number_6_0 = null; 7250
7251 7251 try {
7252 7252 // InternalApplicationConfiguration.g:2635:2: ( ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) )
7253 7253 // InternalApplicationConfiguration.g:2636:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) )
7254 enterRule(); 7254 {
7255 7255 // InternalApplicationConfiguration.g:2636:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) )
7256 try { 7256 // InternalApplicationConfiguration.g:2637:3: ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) )
7257 // InternalApplicationConfiguration.g:2624:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) ) 7257 {
7258 // InternalApplicationConfiguration.g:2625:2: (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) 7258 // InternalApplicationConfiguration.g:2637:3: ( (lv_key_0_0= RULE_STRING ) )
7259 { 7259 // InternalApplicationConfiguration.g:2638:4: (lv_key_0_0= RULE_STRING )
7260 // InternalApplicationConfiguration.g:2625:2: (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) 7260 {
7261 // InternalApplicationConfiguration.g:2626:3: otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) 7261 // InternalApplicationConfiguration.g:2638:4: (lv_key_0_0= RULE_STRING )
7262 { 7262 // InternalApplicationConfiguration.g:2639:5: lv_key_0_0= RULE_STRING
7263 otherlv_0=(Token)match(input,32,FOLLOW_30); 7263 {
7264 7264 lv_key_0_0=(Token)match(input,RULE_STRING,FOLLOW_13);
7265 newLeafNode(otherlv_0, grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); 7265
7266 7266 newLeafNode(lv_key_0_0, grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0());
7267 // InternalApplicationConfiguration.g:2630:3: ( (lv_type_1_0= ruleIntegerReference ) ) 7267
7268 // InternalApplicationConfiguration.g:2631:4: (lv_type_1_0= ruleIntegerReference ) 7268
7269 { 7269 if (current==null) {
7270 // InternalApplicationConfiguration.g:2631:4: (lv_type_1_0= ruleIntegerReference ) 7270 current = createModelElement(grammarAccess.getCustomEntryRule());
7271 // InternalApplicationConfiguration.g:2632:5: lv_type_1_0= ruleIntegerReference 7271 }
7272 { 7272 setWithLastConsumed(
7273 7273 current,
7274 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0()); 7274 "key",
7275 7275 lv_key_0_0,
7276 pushFollow(FOLLOW_27); 7276 "org.eclipse.xtext.common.Terminals.STRING");
7277 lv_type_1_0=ruleIntegerReference(); 7277
7278 7278
7279 state._fsp--; 7279 }
7280 7280
7281 7281
7282 if (current==null) { 7282 }
7283 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); 7283
7284 } 7284 otherlv_1=(Token)match(input,18,FOLLOW_10);
7285 set( 7285
7286 current, 7286 newLeafNode(otherlv_1, grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1());
7287 "type", 7287
7288 lv_type_1_0, 7288 // InternalApplicationConfiguration.g:2659:3: ( (lv_value_2_0= RULE_STRING ) )
7289 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerReference"); 7289 // InternalApplicationConfiguration.g:2660:4: (lv_value_2_0= RULE_STRING )
7290 afterParserOrEnumRuleCall(); 7290 {
7291 7291 // InternalApplicationConfiguration.g:2660:4: (lv_value_2_0= RULE_STRING )
7292 7292 // InternalApplicationConfiguration.g:2661:5: lv_value_2_0= RULE_STRING
7293 } 7293 {
7294 7294 lv_value_2_0=(Token)match(input,RULE_STRING,FOLLOW_2);
7295 7295
7296 } 7296 newLeafNode(lv_value_2_0, grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0());
7297 7297
7298 // InternalApplicationConfiguration.g:2649:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) 7298
7299 int alt39=2; 7299 if (current==null) {
7300 int LA39_0 = input.LA(1); 7300 current = createModelElement(grammarAccess.getCustomEntryRule());
7301 7301 }
7302 if ( (LA39_0==33) ) { 7302 setWithLastConsumed(
7303 alt39=1; 7303 current,
7304 } 7304 "value",
7305 else if ( (LA39_0==17) ) { 7305 lv_value_2_0,
7306 alt39=2; 7306 "org.eclipse.xtext.common.Terminals.STRING");
7307 } 7307
7308 else { 7308
7309 NoViableAltException nvae = 7309 }
7310 new NoViableAltException("", 39, 0, input); 7310
7311 7311
7312 throw nvae; 7312 }
7313 } 7313
7314 switch (alt39) { 7314
7315 case 1 : 7315 }
7316 // InternalApplicationConfiguration.g:2650:4: ( (lv_setsNew_2_0= '+=' ) ) 7316
7317 { 7317
7318 // InternalApplicationConfiguration.g:2650:4: ( (lv_setsNew_2_0= '+=' ) ) 7318 }
7319 // InternalApplicationConfiguration.g:2651:5: (lv_setsNew_2_0= '+=' ) 7319
7320 { 7320
7321 // InternalApplicationConfiguration.g:2651:5: (lv_setsNew_2_0= '+=' ) 7321 leaveRule();
7322 // InternalApplicationConfiguration.g:2652:6: lv_setsNew_2_0= '+=' 7322
7323 { 7323 }
7324 lv_setsNew_2_0=(Token)match(input,33,FOLLOW_31); 7324
7325 7325 catch (RecognitionException re) {
7326 newLeafNode(lv_setsNew_2_0, grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 7326 recover(input,re);
7327 7327 appendSkippedTokens();
7328 7328 }
7329 if (current==null) { 7329 finally {
7330 current = createModelElement(grammarAccess.getIntegerTypeScopeRule()); 7330 }
7331 } 7331 return current;
7332 setWithLastConsumed(current, "setsNew", true, "+="); 7332 }
7333 7333 // $ANTLR end "ruleCustomEntry"
7334 7334
7335 } 7335
7336 7336 // $ANTLR start "entryRuleConfigReference"
7337 7337 // InternalApplicationConfiguration.g:2681:1: entryRuleConfigReference returns [EObject current=null] : iv_ruleConfigReference= ruleConfigReference EOF ;
7338 } 7338 public final EObject entryRuleConfigReference() throws RecognitionException {
7339 7339 EObject current = null;
7340 7340
7341 } 7341 EObject iv_ruleConfigReference = null;
7342 break; 7342
7343 case 2 : 7343
7344 // InternalApplicationConfiguration.g:2665:4: ( (lv_setsSum_3_0= '=' ) ) 7344 try {
7345 { 7345 // InternalApplicationConfiguration.g:2681:56: (iv_ruleConfigReference= ruleConfigReference EOF )
7346 // InternalApplicationConfiguration.g:2665:4: ( (lv_setsSum_3_0= '=' ) ) 7346 // InternalApplicationConfiguration.g:2682:2: iv_ruleConfigReference= ruleConfigReference EOF
7347 // InternalApplicationConfiguration.g:2666:5: (lv_setsSum_3_0= '=' ) 7347 {
7348 { 7348 newCompositeNode(grammarAccess.getConfigReferenceRule());
7349 // InternalApplicationConfiguration.g:2666:5: (lv_setsSum_3_0= '=' ) 7349 pushFollow(FOLLOW_1);
7350 // InternalApplicationConfiguration.g:2667:6: lv_setsSum_3_0= '=' 7350 iv_ruleConfigReference=ruleConfigReference();
7351 { 7351
7352 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_31); 7352 state._fsp--;
7353 7353
7354 newLeafNode(lv_setsSum_3_0, grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 7354 current =iv_ruleConfigReference;
7355 7355 match(input,EOF,FOLLOW_2);
7356 7356
7357 if (current==null) { 7357 }
7358 current = createModelElement(grammarAccess.getIntegerTypeScopeRule()); 7358
7359 } 7359 }
7360 setWithLastConsumed(current, "setsSum", true, "="); 7360
7361 7361 catch (RecognitionException re) {
7362 7362 recover(input,re);
7363 } 7363 appendSkippedTokens();
7364 7364 }
7365 7365 finally {
7366 } 7366 }
7367 7367 return current;
7368 7368 }
7369 } 7369 // $ANTLR end "entryRuleConfigReference"
7370 break; 7370
7371 7371
7372 } 7372 // $ANTLR start "ruleConfigReference"
7373 7373 // InternalApplicationConfiguration.g:2688:1: ruleConfigReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
7374 // InternalApplicationConfiguration.g:2680:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) 7374 public final EObject ruleConfigReference() throws RecognitionException {
7375 int alt40=3; 7375 EObject current = null;
7376 switch ( input.LA(1) ) { 7376
7377 case RULE_INT: 7377 Token otherlv_0=null;
7378 { 7378
7379 int LA40_1 = input.LA(2); 7379
7380 7380 enterRule();
7381 if ( (LA40_1==41) ) { 7381
7382 alt40=2; 7382 try {
7383 } 7383 // InternalApplicationConfiguration.g:2694:2: ( ( (otherlv_0= RULE_ID ) ) )
7384 else if ( (LA40_1==EOF||(LA40_1>=19 && LA40_1<=20)) ) { 7384 // InternalApplicationConfiguration.g:2695:2: ( (otherlv_0= RULE_ID ) )
7385 alt40=1; 7385 {
7386 } 7386 // InternalApplicationConfiguration.g:2695:2: ( (otherlv_0= RULE_ID ) )
7387 else { 7387 // InternalApplicationConfiguration.g:2696:3: (otherlv_0= RULE_ID )
7388 NoViableAltException nvae = 7388 {
7389 new NoViableAltException("", 40, 1, input); 7389 // InternalApplicationConfiguration.g:2696:3: (otherlv_0= RULE_ID )
7390 7390 // InternalApplicationConfiguration.g:2697:4: otherlv_0= RULE_ID
7391 throw nvae; 7391 {
7392 } 7392
7393 } 7393 if (current==null) {
7394 break; 7394 current = createModelElement(grammarAccess.getConfigReferenceRule());
7395 case 40: 7395 }
7396 { 7396
7397 alt40=1; 7397 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2);
7398 } 7398
7399 break; 7399 newLeafNode(otherlv_0, grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0());
7400 case 18: 7400
7401 { 7401
7402 alt40=3; 7402 }
7403 } 7403
7404 break; 7404
7405 default: 7405 }
7406 NoViableAltException nvae = 7406
7407 new NoViableAltException("", 40, 0, input); 7407
7408 7408 }
7409 throw nvae; 7409
7410 } 7410
7411 7411 leaveRule();
7412 switch (alt40) { 7412
7413 case 1 : 7413 }
7414 // InternalApplicationConfiguration.g:2681:4: ( (lv_number_4_0= ruleExactNumber ) ) 7414
7415 { 7415 catch (RecognitionException re) {
7416 // InternalApplicationConfiguration.g:2681:4: ( (lv_number_4_0= ruleExactNumber ) ) 7416 recover(input,re);
7417 // InternalApplicationConfiguration.g:2682:5: (lv_number_4_0= ruleExactNumber ) 7417 appendSkippedTokens();
7418 { 7418 }
7419 // InternalApplicationConfiguration.g:2682:5: (lv_number_4_0= ruleExactNumber ) 7419 finally {
7420 // InternalApplicationConfiguration.g:2683:6: lv_number_4_0= ruleExactNumber 7420 }
7421 { 7421 return current;
7422 7422 }
7423 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 7423 // $ANTLR end "ruleConfigReference"
7424 7424
7425 pushFollow(FOLLOW_2); 7425
7426 lv_number_4_0=ruleExactNumber(); 7426 // $ANTLR start "entryRuleConfig"
7427 7427 // InternalApplicationConfiguration.g:2711:1: entryRuleConfig returns [EObject current=null] : iv_ruleConfig= ruleConfig EOF ;
7428 state._fsp--; 7428 public final EObject entryRuleConfig() throws RecognitionException {
7429 7429 EObject current = null;
7430 7430
7431 if (current==null) { 7431 EObject iv_ruleConfig = null;
7432 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); 7432
7433 } 7433
7434 set( 7434 try {
7435 current, 7435 // InternalApplicationConfiguration.g:2711:47: (iv_ruleConfig= ruleConfig EOF )
7436 "number", 7436 // InternalApplicationConfiguration.g:2712:2: iv_ruleConfig= ruleConfig EOF
7437 lv_number_4_0, 7437 {
7438 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 7438 newCompositeNode(grammarAccess.getConfigRule());
7439 afterParserOrEnumRuleCall(); 7439 pushFollow(FOLLOW_1);
7440 7440 iv_ruleConfig=ruleConfig();
7441 7441
7442 } 7442 state._fsp--;
7443 7443
7444 7444 current =iv_ruleConfig;
7445 } 7445 match(input,EOF,FOLLOW_2);
7446 7446
7447 7447 }
7448 } 7448
7449 break; 7449 }
7450 case 2 : 7450
7451 // InternalApplicationConfiguration.g:2701:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 7451 catch (RecognitionException re) {
7452 { 7452 recover(input,re);
7453 // InternalApplicationConfiguration.g:2701:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 7453 appendSkippedTokens();
7454 // InternalApplicationConfiguration.g:2702:5: (lv_number_5_0= ruleIntervallNumber ) 7454 }
7455 { 7455 finally {
7456 // InternalApplicationConfiguration.g:2702:5: (lv_number_5_0= ruleIntervallNumber ) 7456 }
7457 // InternalApplicationConfiguration.g:2703:6: lv_number_5_0= ruleIntervallNumber 7457 return current;
7458 { 7458 }
7459 7459 // $ANTLR end "entryRuleConfig"
7460 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 7460
7461 7461
7462 pushFollow(FOLLOW_2); 7462 // $ANTLR start "ruleConfig"
7463 lv_number_5_0=ruleIntervallNumber(); 7463 // InternalApplicationConfiguration.g:2718:1: ruleConfig returns [EObject current=null] : (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ;
7464 7464 public final EObject ruleConfig() throws RecognitionException {
7465 state._fsp--; 7465 EObject current = null;
7466 7466
7467 7467 EObject this_ConfigSpecification_0 = null;
7468 if (current==null) { 7468
7469 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); 7469 EObject this_ConfigReference_1 = null;
7470 } 7470
7471 set( 7471
7472 current, 7472
7473 "number", 7473 enterRule();
7474 lv_number_5_0, 7474
7475 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 7475 try {
7476 afterParserOrEnumRuleCall(); 7476 // InternalApplicationConfiguration.g:2724:2: ( (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) )
7477 7477 // InternalApplicationConfiguration.g:2725:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference )
7478 7478 {
7479 } 7479 // InternalApplicationConfiguration.g:2725:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference )
7480 7480 int alt35=2;
7481 7481 int LA35_0 = input.LA(1);
7482 } 7482
7483 7483 if ( (LA35_0==19) ) {
7484 7484 alt35=1;
7485 } 7485 }
7486 break; 7486 else if ( (LA35_0==RULE_ID) ) {
7487 case 3 : 7487 alt35=2;
7488 // InternalApplicationConfiguration.g:2721:4: ( (lv_number_6_0= ruleIntEnumberation ) ) 7488 }
7489 { 7489 else {
7490 // InternalApplicationConfiguration.g:2721:4: ( (lv_number_6_0= ruleIntEnumberation ) ) 7490 NoViableAltException nvae =
7491 // InternalApplicationConfiguration.g:2722:5: (lv_number_6_0= ruleIntEnumberation ) 7491 new NoViableAltException("", 35, 0, input);
7492 { 7492
7493 // InternalApplicationConfiguration.g:2722:5: (lv_number_6_0= ruleIntEnumberation ) 7493 throw nvae;
7494 // InternalApplicationConfiguration.g:2723:6: lv_number_6_0= ruleIntEnumberation 7494 }
7495 { 7495 switch (alt35) {
7496 7496 case 1 :
7497 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0()); 7497 // InternalApplicationConfiguration.g:2726:3: this_ConfigSpecification_0= ruleConfigSpecification
7498 7498 {
7499 pushFollow(FOLLOW_2); 7499
7500 lv_number_6_0=ruleIntEnumberation(); 7500 newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0());
7501 7501
7502 state._fsp--; 7502 pushFollow(FOLLOW_2);
7503 7503 this_ConfigSpecification_0=ruleConfigSpecification();
7504 7504
7505 if (current==null) { 7505 state._fsp--;
7506 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); 7506
7507 } 7507
7508 set( 7508 current = this_ConfigSpecification_0;
7509 current, 7509 afterParserOrEnumRuleCall();
7510 "number", 7510
7511 lv_number_6_0, 7511
7512 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntEnumberation"); 7512 }
7513 afterParserOrEnumRuleCall(); 7513 break;
7514 7514 case 2 :
7515 7515 // InternalApplicationConfiguration.g:2735:3: this_ConfigReference_1= ruleConfigReference
7516 } 7516 {
7517 7517
7518 7518 newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1());
7519 } 7519
7520 7520 pushFollow(FOLLOW_2);
7521 7521 this_ConfigReference_1=ruleConfigReference();
7522 } 7522
7523 break; 7523 state._fsp--;
7524 7524
7525 } 7525
7526 7526 current = this_ConfigReference_1;
7527 7527 afterParserOrEnumRuleCall();
7528 } 7528
7529 7529
7530 7530 }
7531 } 7531 break;
7532 7532
7533 7533 }
7534 leaveRule(); 7534
7535 7535
7536 } 7536 }
7537 7537
7538 catch (RecognitionException re) { 7538
7539 recover(input,re); 7539 leaveRule();
7540 appendSkippedTokens(); 7540
7541 } 7541 }
7542 finally { 7542
7543 } 7543 catch (RecognitionException re) {
7544 return current; 7544 recover(input,re);
7545 } 7545 appendSkippedTokens();
7546 // $ANTLR end "ruleIntegerTypeScope" 7546 }
7547 7547 finally {
7548 7548 }
7549 // $ANTLR start "entryRuleRealTypeScope" 7549 return current;
7550 // InternalApplicationConfiguration.g:2745:1: entryRuleRealTypeScope returns [EObject current=null] : iv_ruleRealTypeScope= ruleRealTypeScope EOF ; 7550 }
7551 public final EObject entryRuleRealTypeScope() throws RecognitionException { 7551 // $ANTLR end "ruleConfig"
7552 EObject current = null; 7552
7553 7553
7554 EObject iv_ruleRealTypeScope = null; 7554 // $ANTLR start "entryRuleScopeSpecification"
7555 7555 // InternalApplicationConfiguration.g:2747:1: entryRuleScopeSpecification returns [EObject current=null] : iv_ruleScopeSpecification= ruleScopeSpecification EOF ;
7556 7556 public final EObject entryRuleScopeSpecification() throws RecognitionException {
7557 try { 7557 EObject current = null;
7558 // InternalApplicationConfiguration.g:2745:54: (iv_ruleRealTypeScope= ruleRealTypeScope EOF ) 7558
7559 // InternalApplicationConfiguration.g:2746:2: iv_ruleRealTypeScope= ruleRealTypeScope EOF 7559 EObject iv_ruleScopeSpecification = null;
7560 { 7560
7561 newCompositeNode(grammarAccess.getRealTypeScopeRule()); 7561
7562 pushFollow(FOLLOW_1); 7562 try {
7563 iv_ruleRealTypeScope=ruleRealTypeScope(); 7563 // InternalApplicationConfiguration.g:2747:59: (iv_ruleScopeSpecification= ruleScopeSpecification EOF )
7564 7564 // InternalApplicationConfiguration.g:2748:2: iv_ruleScopeSpecification= ruleScopeSpecification EOF
7565 state._fsp--; 7565 {
7566 7566 newCompositeNode(grammarAccess.getScopeSpecificationRule());
7567 current =iv_ruleRealTypeScope; 7567 pushFollow(FOLLOW_1);
7568 match(input,EOF,FOLLOW_2); 7568 iv_ruleScopeSpecification=ruleScopeSpecification();
7569 7569
7570 } 7570 state._fsp--;
7571 7571
7572 } 7572 current =iv_ruleScopeSpecification;
7573 7573 match(input,EOF,FOLLOW_2);
7574 catch (RecognitionException re) { 7574
7575 recover(input,re); 7575 }
7576 appendSkippedTokens(); 7576
7577 } 7577 }
7578 finally { 7578
7579 } 7579 catch (RecognitionException re) {
7580 return current; 7580 recover(input,re);
7581 } 7581 appendSkippedTokens();
7582 // $ANTLR end "entryRuleRealTypeScope" 7582 }
7583 7583 finally {
7584 7584 }
7585 // $ANTLR start "ruleRealTypeScope" 7585 return current;
7586 // InternalApplicationConfiguration.g:2752:1: ruleRealTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) ; 7586 }
7587 public final EObject ruleRealTypeScope() throws RecognitionException { 7587 // $ANTLR end "entryRuleScopeSpecification"
7588 EObject current = null; 7588
7589 7589
7590 Token otherlv_0=null; 7590 // $ANTLR start "ruleScopeSpecification"
7591 Token lv_setsNew_2_0=null; 7591 // InternalApplicationConfiguration.g:2754:1: ruleScopeSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ;
7592 Token lv_setsSum_3_0=null; 7592 public final EObject ruleScopeSpecification() throws RecognitionException {
7593 EObject lv_type_1_0 = null; 7593 EObject current = null;
7594 7594
7595 EObject lv_number_4_0 = null; 7595 Token otherlv_1=null;
7596 7596 Token otherlv_3=null;
7597 EObject lv_number_5_0 = null; 7597 Token otherlv_5=null;
7598 7598 EObject lv_scopes_2_0 = null;
7599 EObject lv_number_6_0 = null; 7599
7600 7600 EObject lv_scopes_4_0 = null;
7601 7601
7602 7602
7603 enterRule(); 7603
7604 7604 enterRule();
7605 try { 7605
7606 // InternalApplicationConfiguration.g:2758:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) ) 7606 try {
7607 // InternalApplicationConfiguration.g:2759:2: (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) 7607 // InternalApplicationConfiguration.g:2760:2: ( ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) )
7608 { 7608 // InternalApplicationConfiguration.g:2761:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' )
7609 // InternalApplicationConfiguration.g:2759:2: (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) 7609 {
7610 // InternalApplicationConfiguration.g:2760:3: otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) 7610 // InternalApplicationConfiguration.g:2761:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' )
7611 { 7611 // InternalApplicationConfiguration.g:2762:3: () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}'
7612 otherlv_0=(Token)match(input,32,FOLLOW_32); 7612 {
7613 7613 // InternalApplicationConfiguration.g:2762:3: ()
7614 newLeafNode(otherlv_0, grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); 7614 // InternalApplicationConfiguration.g:2763:4:
7615 7615 {
7616 // InternalApplicationConfiguration.g:2764:3: ( (lv_type_1_0= ruleRealReference ) ) 7616
7617 // InternalApplicationConfiguration.g:2765:4: (lv_type_1_0= ruleRealReference ) 7617 current = forceCreateModelElement(
7618 { 7618 grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(),
7619 // InternalApplicationConfiguration.g:2765:4: (lv_type_1_0= ruleRealReference ) 7619 current);
7620 // InternalApplicationConfiguration.g:2766:5: lv_type_1_0= ruleRealReference 7620
7621 { 7621
7622 7622 }
7623 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0()); 7623
7624 7624 otherlv_1=(Token)match(input,19,FOLLOW_28);
7625 pushFollow(FOLLOW_27); 7625
7626 lv_type_1_0=ruleRealReference(); 7626 newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1());
7627 7627
7628 state._fsp--; 7628 // InternalApplicationConfiguration.g:2773:3: ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )?
7629 7629 int alt37=2;
7630 7630 int LA37_0 = input.LA(1);
7631 if (current==null) { 7631
7632 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); 7632 if ( (LA37_0==34) ) {
7633 } 7633 alt37=1;
7634 set( 7634 }
7635 current, 7635 switch (alt37) {
7636 "type", 7636 case 1 :
7637 lv_type_1_0, 7637 // InternalApplicationConfiguration.g:2774:4: ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )*
7638 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealReference"); 7638 {
7639 afterParserOrEnumRuleCall(); 7639 // InternalApplicationConfiguration.g:2774:4: ( (lv_scopes_2_0= ruleTypeScope ) )
7640 7640 // InternalApplicationConfiguration.g:2775:5: (lv_scopes_2_0= ruleTypeScope )
7641 7641 {
7642 } 7642 // InternalApplicationConfiguration.g:2775:5: (lv_scopes_2_0= ruleTypeScope )
7643 7643 // InternalApplicationConfiguration.g:2776:6: lv_scopes_2_0= ruleTypeScope
7644 7644 {
7645 } 7645
7646 7646 newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0());
7647 // InternalApplicationConfiguration.g:2783:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) 7647
7648 int alt41=2; 7648 pushFollow(FOLLOW_15);
7649 int LA41_0 = input.LA(1); 7649 lv_scopes_2_0=ruleTypeScope();
7650 7650
7651 if ( (LA41_0==33) ) { 7651 state._fsp--;
7652 alt41=1; 7652
7653 } 7653
7654 else if ( (LA41_0==17) ) { 7654 if (current==null) {
7655 alt41=2; 7655 current = createModelElementForParent(grammarAccess.getScopeSpecificationRule());
7656 } 7656 }
7657 else { 7657 add(
7658 NoViableAltException nvae = 7658 current,
7659 new NoViableAltException("", 41, 0, input); 7659 "scopes",
7660 7660 lv_scopes_2_0,
7661 throw nvae; 7661 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope");
7662 } 7662 afterParserOrEnumRuleCall();
7663 switch (alt41) { 7663
7664 case 1 : 7664
7665 // InternalApplicationConfiguration.g:2784:4: ( (lv_setsNew_2_0= '+=' ) ) 7665 }
7666 { 7666
7667 // InternalApplicationConfiguration.g:2784:4: ( (lv_setsNew_2_0= '+=' ) ) 7667
7668 // InternalApplicationConfiguration.g:2785:5: (lv_setsNew_2_0= '+=' ) 7668 }
7669 { 7669
7670 // InternalApplicationConfiguration.g:2785:5: (lv_setsNew_2_0= '+=' ) 7670 // InternalApplicationConfiguration.g:2793:4: (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )*
7671 // InternalApplicationConfiguration.g:2786:6: lv_setsNew_2_0= '+=' 7671 loop36:
7672 { 7672 do {
7673 lv_setsNew_2_0=(Token)match(input,33,FOLLOW_31); 7673 int alt36=2;
7674 7674 int LA36_0 = input.LA(1);
7675 newLeafNode(lv_setsNew_2_0, grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 7675
7676 7676 if ( (LA36_0==20) ) {
7677 7677 alt36=1;
7678 if (current==null) { 7678 }
7679 current = createModelElement(grammarAccess.getRealTypeScopeRule()); 7679
7680 } 7680
7681 setWithLastConsumed(current, "setsNew", true, "+="); 7681 switch (alt36) {
7682 7682 case 1 :
7683 7683 // InternalApplicationConfiguration.g:2794:5: otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) )
7684 } 7684 {
7685 7685 otherlv_3=(Token)match(input,20,FOLLOW_29);
7686 7686
7687 } 7687 newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0());
7688 7688
7689 7689 // InternalApplicationConfiguration.g:2798:5: ( (lv_scopes_4_0= ruleTypeScope ) )
7690 } 7690 // InternalApplicationConfiguration.g:2799:6: (lv_scopes_4_0= ruleTypeScope )
7691 break; 7691 {
7692 case 2 : 7692 // InternalApplicationConfiguration.g:2799:6: (lv_scopes_4_0= ruleTypeScope )
7693 // InternalApplicationConfiguration.g:2799:4: ( (lv_setsSum_3_0= '=' ) ) 7693 // InternalApplicationConfiguration.g:2800:7: lv_scopes_4_0= ruleTypeScope
7694 { 7694 {
7695 // InternalApplicationConfiguration.g:2799:4: ( (lv_setsSum_3_0= '=' ) ) 7695
7696 // InternalApplicationConfiguration.g:2800:5: (lv_setsSum_3_0= '=' ) 7696 newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0());
7697 { 7697
7698 // InternalApplicationConfiguration.g:2800:5: (lv_setsSum_3_0= '=' ) 7698 pushFollow(FOLLOW_15);
7699 // InternalApplicationConfiguration.g:2801:6: lv_setsSum_3_0= '=' 7699 lv_scopes_4_0=ruleTypeScope();
7700 { 7700
7701 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_31); 7701 state._fsp--;
7702 7702
7703 newLeafNode(lv_setsSum_3_0, grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 7703
7704 7704 if (current==null) {
7705 7705 current = createModelElementForParent(grammarAccess.getScopeSpecificationRule());
7706 if (current==null) { 7706 }
7707 current = createModelElement(grammarAccess.getRealTypeScopeRule()); 7707 add(
7708 } 7708 current,
7709 setWithLastConsumed(current, "setsSum", true, "="); 7709 "scopes",
7710 7710 lv_scopes_4_0,
7711 7711 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope");
7712 } 7712 afterParserOrEnumRuleCall();
7713 7713
7714 7714
7715 } 7715 }
7716 7716
7717 7717
7718 } 7718 }
7719 break; 7719
7720 7720
7721 } 7721 }
7722 7722 break;
7723 // InternalApplicationConfiguration.g:2814:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) 7723
7724 int alt42=3; 7724 default :
7725 switch ( input.LA(1) ) { 7725 break loop36;
7726 case RULE_INT: 7726 }
7727 { 7727 } while (true);
7728 int LA42_1 = input.LA(2); 7728
7729 7729
7730 if ( (LA42_1==EOF||(LA42_1>=19 && LA42_1<=20)) ) { 7730 }
7731 alt42=1; 7731 break;
7732 } 7732
7733 else if ( (LA42_1==41) ) { 7733 }
7734 alt42=2; 7734
7735 } 7735 otherlv_5=(Token)match(input,21,FOLLOW_2);
7736 else { 7736
7737 NoViableAltException nvae = 7737 newLeafNode(otherlv_5, grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3());
7738 new NoViableAltException("", 42, 1, input); 7738
7739 7739
7740 throw nvae; 7740 }
7741 } 7741
7742 } 7742
7743 break; 7743 }
7744 case 40: 7744
7745 { 7745
7746 alt42=1; 7746 leaveRule();
7747 } 7747
7748 break; 7748 }
7749 case 18: 7749
7750 { 7750 catch (RecognitionException re) {
7751 alt42=3; 7751 recover(input,re);
7752 } 7752 appendSkippedTokens();
7753 break; 7753 }
7754 default: 7754 finally {
7755 NoViableAltException nvae = 7755 }
7756 new NoViableAltException("", 42, 0, input); 7756 return current;
7757 7757 }
7758 throw nvae; 7758 // $ANTLR end "ruleScopeSpecification"
7759 } 7759
7760 7760
7761 switch (alt42) { 7761 // $ANTLR start "entryRuleTypeScope"
7762 case 1 : 7762 // InternalApplicationConfiguration.g:2827:1: entryRuleTypeScope returns [EObject current=null] : iv_ruleTypeScope= ruleTypeScope EOF ;
7763 // InternalApplicationConfiguration.g:2815:4: ( (lv_number_4_0= ruleExactNumber ) ) 7763 public final EObject entryRuleTypeScope() throws RecognitionException {
7764 { 7764 EObject current = null;
7765 // InternalApplicationConfiguration.g:2815:4: ( (lv_number_4_0= ruleExactNumber ) ) 7765
7766 // InternalApplicationConfiguration.g:2816:5: (lv_number_4_0= ruleExactNumber ) 7766 EObject iv_ruleTypeScope = null;
7767 { 7767
7768 // InternalApplicationConfiguration.g:2816:5: (lv_number_4_0= ruleExactNumber ) 7768
7769 // InternalApplicationConfiguration.g:2817:6: lv_number_4_0= ruleExactNumber 7769 try {
7770 { 7770 // InternalApplicationConfiguration.g:2827:50: (iv_ruleTypeScope= ruleTypeScope EOF )
7771 7771 // InternalApplicationConfiguration.g:2828:2: iv_ruleTypeScope= ruleTypeScope EOF
7772 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 7772 {
7773 7773 newCompositeNode(grammarAccess.getTypeScopeRule());
7774 pushFollow(FOLLOW_2); 7774 pushFollow(FOLLOW_1);
7775 lv_number_4_0=ruleExactNumber(); 7775 iv_ruleTypeScope=ruleTypeScope();
7776 7776
7777 state._fsp--; 7777 state._fsp--;
7778 7778
7779 7779 current =iv_ruleTypeScope;
7780 if (current==null) { 7780 match(input,EOF,FOLLOW_2);
7781 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); 7781
7782 } 7782 }
7783 set( 7783
7784 current, 7784 }
7785 "number", 7785
7786 lv_number_4_0, 7786 catch (RecognitionException re) {
7787 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 7787 recover(input,re);
7788 afterParserOrEnumRuleCall(); 7788 appendSkippedTokens();
7789 7789 }
7790 7790 finally {
7791 } 7791 }
7792 7792 return current;
7793 7793 }
7794 } 7794 // $ANTLR end "entryRuleTypeScope"
7795 7795
7796 7796
7797 } 7797 // $ANTLR start "ruleTypeScope"
7798 break; 7798 // InternalApplicationConfiguration.g:2834:1: ruleTypeScope returns [EObject current=null] : (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) ;
7799 case 2 : 7799 public final EObject ruleTypeScope() throws RecognitionException {
7800 // InternalApplicationConfiguration.g:2835:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 7800 EObject current = null;
7801 { 7801
7802 // InternalApplicationConfiguration.g:2835:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 7802 EObject this_ClassTypeScope_0 = null;
7803 // InternalApplicationConfiguration.g:2836:5: (lv_number_5_0= ruleIntervallNumber ) 7803
7804 { 7804 EObject this_ObjectTypeScope_1 = null;
7805 // InternalApplicationConfiguration.g:2836:5: (lv_number_5_0= ruleIntervallNumber ) 7805
7806 // InternalApplicationConfiguration.g:2837:6: lv_number_5_0= ruleIntervallNumber 7806 EObject this_IntegerTypeScope_2 = null;
7807 { 7807
7808 7808 EObject this_RealTypeScope_3 = null;
7809 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 7809
7810 7810 EObject this_StringTypeScope_4 = null;
7811 pushFollow(FOLLOW_2); 7811
7812 lv_number_5_0=ruleIntervallNumber(); 7812
7813 7813
7814 state._fsp--; 7814 enterRule();
7815 7815
7816 7816 try {
7817 if (current==null) { 7817 // InternalApplicationConfiguration.g:2840:2: ( (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) )
7818 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); 7818 // InternalApplicationConfiguration.g:2841:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope )
7819 } 7819 {
7820 set( 7820 // InternalApplicationConfiguration.g:2841:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope )
7821 current, 7821 int alt38=5;
7822 "number", 7822 int LA38_0 = input.LA(1);
7823 lv_number_5_0, 7823
7824 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 7824 if ( (LA38_0==34) ) {
7825 afterParserOrEnumRuleCall(); 7825 switch ( input.LA(2) ) {
7826 7826 case 39:
7827 7827 {
7828 } 7828 alt38=3;
7829 7829 }
7830 7830 break;
7831 } 7831 case 40:
7832 7832 {
7833 7833 alt38=4;
7834 } 7834 }
7835 break; 7835 break;
7836 case 3 : 7836 case 41:
7837 // InternalApplicationConfiguration.g:2855:4: ( (lv_number_6_0= ruleRealEnumeration ) ) 7837 {
7838 { 7838 alt38=5;
7839 // InternalApplicationConfiguration.g:2855:4: ( (lv_number_6_0= ruleRealEnumeration ) ) 7839 }
7840 // InternalApplicationConfiguration.g:2856:5: (lv_number_6_0= ruleRealEnumeration ) 7840 break;
7841 { 7841 case 36:
7842 // InternalApplicationConfiguration.g:2856:5: (lv_number_6_0= ruleRealEnumeration ) 7842 {
7843 // InternalApplicationConfiguration.g:2857:6: lv_number_6_0= ruleRealEnumeration 7843 alt38=1;
7844 { 7844 }
7845 7845 break;
7846 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0()); 7846 case 38:
7847 7847 {
7848 pushFollow(FOLLOW_2); 7848 alt38=2;
7849 lv_number_6_0=ruleRealEnumeration(); 7849 }
7850 7850 break;
7851 state._fsp--; 7851 default:
7852 7852 NoViableAltException nvae =
7853 7853 new NoViableAltException("", 38, 1, input);
7854 if (current==null) { 7854
7855 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); 7855 throw nvae;
7856 } 7856 }
7857 set( 7857
7858 current, 7858 }
7859 "number", 7859 else {
7860 lv_number_6_0, 7860 NoViableAltException nvae =
7861 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealEnumeration"); 7861 new NoViableAltException("", 38, 0, input);
7862 afterParserOrEnumRuleCall(); 7862
7863 7863 throw nvae;
7864 7864 }
7865 } 7865 switch (alt38) {
7866 7866 case 1 :
7867 7867 // InternalApplicationConfiguration.g:2842:3: this_ClassTypeScope_0= ruleClassTypeScope
7868 } 7868 {
7869 7869
7870 7870 newCompositeNode(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0());
7871 } 7871
7872 break; 7872 pushFollow(FOLLOW_2);
7873 7873 this_ClassTypeScope_0=ruleClassTypeScope();
7874 } 7874
7875 7875 state._fsp--;
7876 7876
7877 } 7877
7878 7878 current = this_ClassTypeScope_0;
7879 7879 afterParserOrEnumRuleCall();
7880 } 7880
7881 7881
7882 7882 }
7883 leaveRule(); 7883 break;
7884 7884 case 2 :
7885 } 7885 // InternalApplicationConfiguration.g:2851:3: this_ObjectTypeScope_1= ruleObjectTypeScope
7886 7886 {
7887 catch (RecognitionException re) { 7887
7888 recover(input,re); 7888 newCompositeNode(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1());
7889 appendSkippedTokens(); 7889
7890 } 7890 pushFollow(FOLLOW_2);
7891 finally { 7891 this_ObjectTypeScope_1=ruleObjectTypeScope();
7892 } 7892
7893 return current; 7893 state._fsp--;
7894 } 7894
7895 // $ANTLR end "ruleRealTypeScope" 7895
7896 7896 current = this_ObjectTypeScope_1;
7897 7897 afterParserOrEnumRuleCall();
7898 // $ANTLR start "entryRuleStringTypeScope" 7898
7899 // InternalApplicationConfiguration.g:2879:1: entryRuleStringTypeScope returns [EObject current=null] : iv_ruleStringTypeScope= ruleStringTypeScope EOF ; 7899
7900 public final EObject entryRuleStringTypeScope() throws RecognitionException { 7900 }
7901 EObject current = null; 7901 break;
7902 7902 case 3 :
7903 EObject iv_ruleStringTypeScope = null; 7903 // InternalApplicationConfiguration.g:2860:3: this_IntegerTypeScope_2= ruleIntegerTypeScope
7904 7904 {
7905 7905
7906 try { 7906 newCompositeNode(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2());
7907 // InternalApplicationConfiguration.g:2879:56: (iv_ruleStringTypeScope= ruleStringTypeScope EOF ) 7907
7908 // InternalApplicationConfiguration.g:2880:2: iv_ruleStringTypeScope= ruleStringTypeScope EOF 7908 pushFollow(FOLLOW_2);
7909 { 7909 this_IntegerTypeScope_2=ruleIntegerTypeScope();
7910 newCompositeNode(grammarAccess.getStringTypeScopeRule()); 7910
7911 pushFollow(FOLLOW_1); 7911 state._fsp--;
7912 iv_ruleStringTypeScope=ruleStringTypeScope(); 7912
7913 7913
7914 state._fsp--; 7914 current = this_IntegerTypeScope_2;
7915 7915 afterParserOrEnumRuleCall();
7916 current =iv_ruleStringTypeScope; 7916
7917 match(input,EOF,FOLLOW_2); 7917
7918 7918 }
7919 } 7919 break;
7920 7920 case 4 :
7921 } 7921 // InternalApplicationConfiguration.g:2869:3: this_RealTypeScope_3= ruleRealTypeScope
7922 7922 {
7923 catch (RecognitionException re) { 7923
7924 recover(input,re); 7924 newCompositeNode(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3());
7925 appendSkippedTokens(); 7925
7926 } 7926 pushFollow(FOLLOW_2);
7927 finally { 7927 this_RealTypeScope_3=ruleRealTypeScope();
7928 } 7928
7929 return current; 7929 state._fsp--;
7930 } 7930
7931 // $ANTLR end "entryRuleStringTypeScope" 7931
7932 7932 current = this_RealTypeScope_3;
7933 7933 afterParserOrEnumRuleCall();
7934 // $ANTLR start "ruleStringTypeScope" 7934
7935 // InternalApplicationConfiguration.g:2886:1: ruleStringTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) ; 7935
7936 public final EObject ruleStringTypeScope() throws RecognitionException { 7936 }
7937 EObject current = null; 7937 break;
7938 7938 case 5 :
7939 Token otherlv_0=null; 7939 // InternalApplicationConfiguration.g:2878:3: this_StringTypeScope_4= ruleStringTypeScope
7940 Token lv_setsNew_2_0=null; 7940 {
7941 Token lv_setsSum_3_0=null; 7941
7942 EObject lv_type_1_0 = null; 7942 newCompositeNode(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4());
7943 7943
7944 EObject lv_number_4_0 = null; 7944 pushFollow(FOLLOW_2);
7945 7945 this_StringTypeScope_4=ruleStringTypeScope();
7946 EObject lv_number_5_0 = null; 7946
7947 7947 state._fsp--;
7948 EObject lv_number_6_0 = null; 7948
7949 7949
7950 7950 current = this_StringTypeScope_4;
7951 7951 afterParserOrEnumRuleCall();
7952 enterRule(); 7952
7953 7953
7954 try { 7954 }
7955 // InternalApplicationConfiguration.g:2892:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) ) 7955 break;
7956 // InternalApplicationConfiguration.g:2893:2: (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) 7956
7957 { 7957 }
7958 // InternalApplicationConfiguration.g:2893:2: (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) 7958
7959 // InternalApplicationConfiguration.g:2894:3: otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) 7959
7960 { 7960 }
7961 otherlv_0=(Token)match(input,32,FOLLOW_33); 7961
7962 7962
7963 newLeafNode(otherlv_0, grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); 7963 leaveRule();
7964 7964
7965 // InternalApplicationConfiguration.g:2898:3: ( (lv_type_1_0= ruleStringReference ) ) 7965 }
7966 // InternalApplicationConfiguration.g:2899:4: (lv_type_1_0= ruleStringReference ) 7966
7967 { 7967 catch (RecognitionException re) {
7968 // InternalApplicationConfiguration.g:2899:4: (lv_type_1_0= ruleStringReference ) 7968 recover(input,re);
7969 // InternalApplicationConfiguration.g:2900:5: lv_type_1_0= ruleStringReference 7969 appendSkippedTokens();
7970 { 7970 }
7971 7971 finally {
7972 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0()); 7972 }
7973 7973 return current;
7974 pushFollow(FOLLOW_27); 7974 }
7975 lv_type_1_0=ruleStringReference(); 7975 // $ANTLR end "ruleTypeScope"
7976 7976
7977 state._fsp--; 7977
7978 7978 // $ANTLR start "entryRuleClassTypeScope"
7979 7979 // InternalApplicationConfiguration.g:2890:1: entryRuleClassTypeScope returns [EObject current=null] : iv_ruleClassTypeScope= ruleClassTypeScope EOF ;
7980 if (current==null) { 7980 public final EObject entryRuleClassTypeScope() throws RecognitionException {
7981 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); 7981 EObject current = null;
7982 } 7982
7983 set( 7983 EObject iv_ruleClassTypeScope = null;
7984 current, 7984
7985 "type", 7985
7986 lv_type_1_0, 7986 try {
7987 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringReference"); 7987 // InternalApplicationConfiguration.g:2890:55: (iv_ruleClassTypeScope= ruleClassTypeScope EOF )
7988 afterParserOrEnumRuleCall(); 7988 // InternalApplicationConfiguration.g:2891:2: iv_ruleClassTypeScope= ruleClassTypeScope EOF
7989 7989 {
7990 7990 newCompositeNode(grammarAccess.getClassTypeScopeRule());
7991 } 7991 pushFollow(FOLLOW_1);
7992 7992 iv_ruleClassTypeScope=ruleClassTypeScope();
7993 7993
7994 } 7994 state._fsp--;
7995 7995
7996 // InternalApplicationConfiguration.g:2917:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) 7996 current =iv_ruleClassTypeScope;
7997 int alt43=2; 7997 match(input,EOF,FOLLOW_2);
7998 int LA43_0 = input.LA(1); 7998
7999 7999 }
8000 if ( (LA43_0==33) ) { 8000
8001 alt43=1; 8001 }
8002 } 8002
8003 else if ( (LA43_0==17) ) { 8003 catch (RecognitionException re) {
8004 alt43=2; 8004 recover(input,re);
8005 } 8005 appendSkippedTokens();
8006 else { 8006 }
8007 NoViableAltException nvae = 8007 finally {
8008 new NoViableAltException("", 43, 0, input); 8008 }
8009 8009 return current;
8010 throw nvae; 8010 }
8011 } 8011 // $ANTLR end "entryRuleClassTypeScope"
8012 switch (alt43) { 8012
8013 case 1 : 8013
8014 // InternalApplicationConfiguration.g:2918:4: ( (lv_setsNew_2_0= '+=' ) ) 8014 // $ANTLR start "ruleClassTypeScope"
8015 { 8015 // InternalApplicationConfiguration.g:2897:1: ruleClassTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ;
8016 // InternalApplicationConfiguration.g:2918:4: ( (lv_setsNew_2_0= '+=' ) ) 8016 public final EObject ruleClassTypeScope() throws RecognitionException {
8017 // InternalApplicationConfiguration.g:2919:5: (lv_setsNew_2_0= '+=' ) 8017 EObject current = null;
8018 { 8018
8019 // InternalApplicationConfiguration.g:2919:5: (lv_setsNew_2_0= '+=' ) 8019 Token otherlv_0=null;
8020 // InternalApplicationConfiguration.g:2920:6: lv_setsNew_2_0= '+=' 8020 Token lv_setsNew_2_0=null;
8021 { 8021 Token lv_setsSum_3_0=null;
8022 lv_setsNew_2_0=(Token)match(input,33,FOLLOW_31); 8022 EObject lv_type_1_0 = null;
8023 8023
8024 newLeafNode(lv_setsNew_2_0, grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 8024 EObject lv_number_4_0 = null;
8025 8025
8026 8026 EObject lv_number_5_0 = null;
8027 if (current==null) { 8027
8028 current = createModelElement(grammarAccess.getStringTypeScopeRule()); 8028
8029 } 8029
8030 setWithLastConsumed(current, "setsNew", true, "+="); 8030 enterRule();
8031 8031
8032 8032 try {
8033 } 8033 // InternalApplicationConfiguration.g:2903:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) )
8034 8034 // InternalApplicationConfiguration.g:2904:2: (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) )
8035 8035 {
8036 } 8036 // InternalApplicationConfiguration.g:2904:2: (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) )
8037 8037 // InternalApplicationConfiguration.g:2905:3: otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) )
8038 8038 {
8039 } 8039 otherlv_0=(Token)match(input,34,FOLLOW_30);
8040 break; 8040
8041 case 2 : 8041 newLeafNode(otherlv_0, grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0());
8042 // InternalApplicationConfiguration.g:2933:4: ( (lv_setsSum_3_0= '=' ) ) 8042
8043 { 8043 // InternalApplicationConfiguration.g:2909:3: ( (lv_type_1_0= ruleClassReference ) )
8044 // InternalApplicationConfiguration.g:2933:4: ( (lv_setsSum_3_0= '=' ) ) 8044 // InternalApplicationConfiguration.g:2910:4: (lv_type_1_0= ruleClassReference )
8045 // InternalApplicationConfiguration.g:2934:5: (lv_setsSum_3_0= '=' ) 8045 {
8046 { 8046 // InternalApplicationConfiguration.g:2910:4: (lv_type_1_0= ruleClassReference )
8047 // InternalApplicationConfiguration.g:2934:5: (lv_setsSum_3_0= '=' ) 8047 // InternalApplicationConfiguration.g:2911:5: lv_type_1_0= ruleClassReference
8048 // InternalApplicationConfiguration.g:2935:6: lv_setsSum_3_0= '=' 8048 {
8049 { 8049
8050 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_31); 8050 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0());
8051 8051
8052 newLeafNode(lv_setsSum_3_0, grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 8052 pushFollow(FOLLOW_31);
8053 8053 lv_type_1_0=ruleClassReference();
8054 8054
8055 if (current==null) { 8055 state._fsp--;
8056 current = createModelElement(grammarAccess.getStringTypeScopeRule()); 8056
8057 } 8057
8058 setWithLastConsumed(current, "setsSum", true, "="); 8058 if (current==null) {
8059 8059 current = createModelElementForParent(grammarAccess.getClassTypeScopeRule());
8060 8060 }
8061 } 8061 set(
8062 8062 current,
8063 8063 "type",
8064 } 8064 lv_type_1_0,
8065 8065 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassReference");
8066 8066 afterParserOrEnumRuleCall();
8067 } 8067
8068 break; 8068
8069 8069 }
8070 } 8070
8071 8071
8072 // InternalApplicationConfiguration.g:2948:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) 8072 }
8073 int alt44=3; 8073
8074 switch ( input.LA(1) ) { 8074 // InternalApplicationConfiguration.g:2928:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) )
8075 case RULE_INT: 8075 int alt39=2;
8076 { 8076 int LA39_0 = input.LA(1);
8077 int LA44_1 = input.LA(2); 8077
8078 8078 if ( (LA39_0==35) ) {
8079 if ( (LA44_1==41) ) { 8079 alt39=1;
8080 alt44=2; 8080 }
8081 } 8081 else if ( (LA39_0==18) ) {
8082 else if ( (LA44_1==EOF||(LA44_1>=19 && LA44_1<=20)) ) { 8082 alt39=2;
8083 alt44=1; 8083 }
8084 } 8084 else {
8085 else { 8085 NoViableAltException nvae =
8086 NoViableAltException nvae = 8086 new NoViableAltException("", 39, 0, input);
8087 new NoViableAltException("", 44, 1, input); 8087
8088 8088 throw nvae;
8089 throw nvae; 8089 }
8090 } 8090 switch (alt39) {
8091 } 8091 case 1 :
8092 break; 8092 // InternalApplicationConfiguration.g:2929:4: ( (lv_setsNew_2_0= '+=' ) )
8093 case 40: 8093 {
8094 { 8094 // InternalApplicationConfiguration.g:2929:4: ( (lv_setsNew_2_0= '+=' ) )
8095 alt44=1; 8095 // InternalApplicationConfiguration.g:2930:5: (lv_setsNew_2_0= '+=' )
8096 } 8096 {
8097 break; 8097 // InternalApplicationConfiguration.g:2930:5: (lv_setsNew_2_0= '+=' )
8098 case 18: 8098 // InternalApplicationConfiguration.g:2931:6: lv_setsNew_2_0= '+='
8099 { 8099 {
8100 alt44=3; 8100 lv_setsNew_2_0=(Token)match(input,35,FOLLOW_32);
8101 } 8101
8102 break; 8102 newLeafNode(lv_setsNew_2_0, grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
8103 default: 8103
8104 NoViableAltException nvae = 8104
8105 new NoViableAltException("", 44, 0, input); 8105 if (current==null) {
8106 8106 current = createModelElement(grammarAccess.getClassTypeScopeRule());
8107 throw nvae; 8107 }
8108 } 8108 setWithLastConsumed(current, "setsNew", true, "+=");
8109 8109
8110 switch (alt44) { 8110
8111 case 1 : 8111 }
8112 // InternalApplicationConfiguration.g:2949:4: ( (lv_number_4_0= ruleExactNumber ) ) 8112
8113 { 8113
8114 // InternalApplicationConfiguration.g:2949:4: ( (lv_number_4_0= ruleExactNumber ) ) 8114 }
8115 // InternalApplicationConfiguration.g:2950:5: (lv_number_4_0= ruleExactNumber ) 8115
8116 { 8116
8117 // InternalApplicationConfiguration.g:2950:5: (lv_number_4_0= ruleExactNumber ) 8117 }
8118 // InternalApplicationConfiguration.g:2951:6: lv_number_4_0= ruleExactNumber 8118 break;
8119 { 8119 case 2 :
8120 8120 // InternalApplicationConfiguration.g:2944:4: ( (lv_setsSum_3_0= '=' ) )
8121 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 8121 {
8122 8122 // InternalApplicationConfiguration.g:2944:4: ( (lv_setsSum_3_0= '=' ) )
8123 pushFollow(FOLLOW_2); 8123 // InternalApplicationConfiguration.g:2945:5: (lv_setsSum_3_0= '=' )
8124 lv_number_4_0=ruleExactNumber(); 8124 {
8125 8125 // InternalApplicationConfiguration.g:2945:5: (lv_setsSum_3_0= '=' )
8126 state._fsp--; 8126 // InternalApplicationConfiguration.g:2946:6: lv_setsSum_3_0= '='
8127 8127 {
8128 8128 lv_setsSum_3_0=(Token)match(input,18,FOLLOW_32);
8129 if (current==null) { 8129
8130 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); 8130 newLeafNode(lv_setsSum_3_0, grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
8131 } 8131
8132 set( 8132
8133 current, 8133 if (current==null) {
8134 "number", 8134 current = createModelElement(grammarAccess.getClassTypeScopeRule());
8135 lv_number_4_0, 8135 }
8136 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 8136 setWithLastConsumed(current, "setsSum", true, "=");
8137 afterParserOrEnumRuleCall(); 8137
8138 8138
8139 8139 }
8140 } 8140
8141 8141
8142 8142 }
8143 } 8143
8144 8144
8145 8145 }
8146 } 8146 break;
8147 break; 8147
8148 case 2 : 8148 }
8149 // InternalApplicationConfiguration.g:2969:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 8149
8150 { 8150 // InternalApplicationConfiguration.g:2959:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) )
8151 // InternalApplicationConfiguration.g:2969:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 8151 int alt40=2;
8152 // InternalApplicationConfiguration.g:2970:5: (lv_number_5_0= ruleIntervallNumber ) 8152 int LA40_0 = input.LA(1);
8153 { 8153
8154 // InternalApplicationConfiguration.g:2970:5: (lv_number_5_0= ruleIntervallNumber ) 8154 if ( (LA40_0==RULE_INT) ) {
8155 // InternalApplicationConfiguration.g:2971:6: lv_number_5_0= ruleIntervallNumber 8155 int LA40_1 = input.LA(2);
8156 { 8156
8157 8157 if ( (LA40_1==EOF||(LA40_1>=20 && LA40_1<=21)) ) {
8158 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 8158 alt40=1;
8159 8159 }
8160 pushFollow(FOLLOW_2); 8160 else if ( (LA40_1==43) ) {
8161 lv_number_5_0=ruleIntervallNumber(); 8161 alt40=2;
8162 8162 }
8163 state._fsp--; 8163 else {
8164 8164 NoViableAltException nvae =
8165 8165 new NoViableAltException("", 40, 1, input);
8166 if (current==null) { 8166
8167 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); 8167 throw nvae;
8168 } 8168 }
8169 set( 8169 }
8170 current, 8170 else if ( (LA40_0==42) ) {
8171 "number", 8171 alt40=1;
8172 lv_number_5_0, 8172 }
8173 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 8173 else {
8174 afterParserOrEnumRuleCall(); 8174 NoViableAltException nvae =
8175 8175 new NoViableAltException("", 40, 0, input);
8176 8176
8177 } 8177 throw nvae;
8178 8178 }
8179 8179 switch (alt40) {
8180 } 8180 case 1 :
8181 8181 // InternalApplicationConfiguration.g:2960:4: ( (lv_number_4_0= ruleExactNumber ) )
8182 8182 {
8183 } 8183 // InternalApplicationConfiguration.g:2960:4: ( (lv_number_4_0= ruleExactNumber ) )
8184 break; 8184 // InternalApplicationConfiguration.g:2961:5: (lv_number_4_0= ruleExactNumber )
8185 case 3 : 8185 {
8186 // InternalApplicationConfiguration.g:2989:4: ( (lv_number_6_0= ruleStringEnumeration ) ) 8186 // InternalApplicationConfiguration.g:2961:5: (lv_number_4_0= ruleExactNumber )
8187 { 8187 // InternalApplicationConfiguration.g:2962:6: lv_number_4_0= ruleExactNumber
8188 // InternalApplicationConfiguration.g:2989:4: ( (lv_number_6_0= ruleStringEnumeration ) ) 8188 {
8189 // InternalApplicationConfiguration.g:2990:5: (lv_number_6_0= ruleStringEnumeration ) 8189
8190 { 8190 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
8191 // InternalApplicationConfiguration.g:2990:5: (lv_number_6_0= ruleStringEnumeration ) 8191
8192 // InternalApplicationConfiguration.g:2991:6: lv_number_6_0= ruleStringEnumeration 8192 pushFollow(FOLLOW_2);
8193 { 8193 lv_number_4_0=ruleExactNumber();
8194 8194
8195 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0()); 8195 state._fsp--;
8196 8196
8197 pushFollow(FOLLOW_2); 8197
8198 lv_number_6_0=ruleStringEnumeration(); 8198 if (current==null) {
8199 8199 current = createModelElementForParent(grammarAccess.getClassTypeScopeRule());
8200 state._fsp--; 8200 }
8201 8201 set(
8202 8202 current,
8203 if (current==null) { 8203 "number",
8204 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); 8204 lv_number_4_0,
8205 } 8205 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
8206 set( 8206 afterParserOrEnumRuleCall();
8207 current, 8207
8208 "number", 8208
8209 lv_number_6_0, 8209 }
8210 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringEnumeration"); 8210
8211 afterParserOrEnumRuleCall(); 8211
8212 8212 }
8213 8213
8214 } 8214
8215 8215 }
8216 8216 break;
8217 } 8217 case 2 :
8218 8218 // InternalApplicationConfiguration.g:2980:4: ( (lv_number_5_0= ruleIntervallNumber ) )
8219 8219 {
8220 } 8220 // InternalApplicationConfiguration.g:2980:4: ( (lv_number_5_0= ruleIntervallNumber ) )
8221 break; 8221 // InternalApplicationConfiguration.g:2981:5: (lv_number_5_0= ruleIntervallNumber )
8222 8222 {
8223 } 8223 // InternalApplicationConfiguration.g:2981:5: (lv_number_5_0= ruleIntervallNumber )
8224 8224 // InternalApplicationConfiguration.g:2982:6: lv_number_5_0= ruleIntervallNumber
8225 8225 {
8226 } 8226
8227 8227 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
8228 8228
8229 } 8229 pushFollow(FOLLOW_2);
8230 8230 lv_number_5_0=ruleIntervallNumber();
8231 8231
8232 leaveRule(); 8232 state._fsp--;
8233 8233
8234 } 8234
8235 8235 if (current==null) {
8236 catch (RecognitionException re) { 8236 current = createModelElementForParent(grammarAccess.getClassTypeScopeRule());
8237 recover(input,re); 8237 }
8238 appendSkippedTokens(); 8238 set(
8239 } 8239 current,
8240 finally { 8240 "number",
8241 } 8241 lv_number_5_0,
8242 return current; 8242 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
8243 } 8243 afterParserOrEnumRuleCall();
8244 // $ANTLR end "ruleStringTypeScope" 8244
8245 8245
8246 8246 }
8247 // $ANTLR start "entryRuleClassReference" 8247
8248 // InternalApplicationConfiguration.g:3013:1: entryRuleClassReference returns [EObject current=null] : iv_ruleClassReference= ruleClassReference EOF ; 8248
8249 public final EObject entryRuleClassReference() throws RecognitionException { 8249 }
8250 EObject current = null; 8250
8251 8251
8252 EObject iv_ruleClassReference = null; 8252 }
8253 8253 break;
8254 8254
8255 try { 8255 }
8256 // InternalApplicationConfiguration.g:3013:55: (iv_ruleClassReference= ruleClassReference EOF ) 8256
8257 // InternalApplicationConfiguration.g:3014:2: iv_ruleClassReference= ruleClassReference EOF 8257
8258 { 8258 }
8259 newCompositeNode(grammarAccess.getClassReferenceRule()); 8259
8260 pushFollow(FOLLOW_1); 8260
8261 iv_ruleClassReference=ruleClassReference(); 8261 }
8262 8262
8263 state._fsp--; 8263
8264 8264 leaveRule();
8265 current =iv_ruleClassReference; 8265
8266 match(input,EOF,FOLLOW_2); 8266 }
8267 8267
8268 } 8268 catch (RecognitionException re) {
8269 8269 recover(input,re);
8270 } 8270 appendSkippedTokens();
8271 8271 }
8272 catch (RecognitionException re) { 8272 finally {
8273 recover(input,re); 8273 }
8274 appendSkippedTokens(); 8274 return current;
8275 } 8275 }
8276 finally { 8276 // $ANTLR end "ruleClassTypeScope"
8277 } 8277
8278 return current; 8278
8279 } 8279 // $ANTLR start "entryRuleObjectTypeScope"
8280 // $ANTLR end "entryRuleClassReference" 8280 // InternalApplicationConfiguration.g:3004:1: entryRuleObjectTypeScope returns [EObject current=null] : iv_ruleObjectTypeScope= ruleObjectTypeScope EOF ;
8281 8281 public final EObject entryRuleObjectTypeScope() throws RecognitionException {
8282 8282 EObject current = null;
8283 // $ANTLR start "ruleClassReference" 8283
8284 // InternalApplicationConfiguration.g:3020:1: ruleClassReference returns [EObject current=null] : (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) ; 8284 EObject iv_ruleObjectTypeScope = null;
8285 public final EObject ruleClassReference() throws RecognitionException { 8285
8286 EObject current = null; 8286
8287 8287 try {
8288 Token otherlv_0=null; 8288 // InternalApplicationConfiguration.g:3004:56: (iv_ruleObjectTypeScope= ruleObjectTypeScope EOF )
8289 Token otherlv_2=null; 8289 // InternalApplicationConfiguration.g:3005:2: iv_ruleObjectTypeScope= ruleObjectTypeScope EOF
8290 EObject lv_element_1_0 = null; 8290 {
8291 8291 newCompositeNode(grammarAccess.getObjectTypeScopeRule());
8292 8292 pushFollow(FOLLOW_1);
8293 8293 iv_ruleObjectTypeScope=ruleObjectTypeScope();
8294 enterRule(); 8294
8295 8295 state._fsp--;
8296 try { 8296
8297 // InternalApplicationConfiguration.g:3026:2: ( (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) ) 8297 current =iv_ruleObjectTypeScope;
8298 // InternalApplicationConfiguration.g:3027:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) 8298 match(input,EOF,FOLLOW_2);
8299 { 8299
8300 // InternalApplicationConfiguration.g:3027:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) 8300 }
8301 // InternalApplicationConfiguration.g:3028:3: otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' 8301
8302 { 8302 }
8303 otherlv_0=(Token)match(input,34,FOLLOW_6); 8303
8304 8304 catch (RecognitionException re) {
8305 newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0()); 8305 recover(input,re);
8306 8306 appendSkippedTokens();
8307 // InternalApplicationConfiguration.g:3032:3: ( (lv_element_1_0= ruleMetamodelElement ) ) 8307 }
8308 // InternalApplicationConfiguration.g:3033:4: (lv_element_1_0= ruleMetamodelElement ) 8308 finally {
8309 { 8309 }
8310 // InternalApplicationConfiguration.g:3033:4: (lv_element_1_0= ruleMetamodelElement ) 8310 return current;
8311 // InternalApplicationConfiguration.g:3034:5: lv_element_1_0= ruleMetamodelElement 8311 }
8312 { 8312 // $ANTLR end "entryRuleObjectTypeScope"
8313 8313
8314 newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); 8314
8315 8315 // $ANTLR start "ruleObjectTypeScope"
8316 pushFollow(FOLLOW_34); 8316 // InternalApplicationConfiguration.g:3011:1: ruleObjectTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ;
8317 lv_element_1_0=ruleMetamodelElement(); 8317 public final EObject ruleObjectTypeScope() throws RecognitionException {
8318 8318 EObject current = null;
8319 state._fsp--; 8319
8320 8320 Token otherlv_0=null;
8321 8321 Token lv_setsNew_2_0=null;
8322 if (current==null) { 8322 Token lv_setsSum_3_0=null;
8323 current = createModelElementForParent(grammarAccess.getClassReferenceRule()); 8323 EObject lv_type_1_0 = null;
8324 } 8324
8325 set( 8325 EObject lv_number_4_0 = null;
8326 current, 8326
8327 "element", 8327 EObject lv_number_5_0 = null;
8328 lv_element_1_0, 8328
8329 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); 8329
8330 afterParserOrEnumRuleCall(); 8330
8331 8331 enterRule();
8332 8332
8333 } 8333 try {
8334 8334 // InternalApplicationConfiguration.g:3017:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) )
8335 8335 // InternalApplicationConfiguration.g:3018:2: (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) )
8336 } 8336 {
8337 8337 // InternalApplicationConfiguration.g:3018:2: (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) )
8338 otherlv_2=(Token)match(input,35,FOLLOW_2); 8338 // InternalApplicationConfiguration.g:3019:3: otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) )
8339 8339 {
8340 newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2()); 8340 otherlv_0=(Token)match(input,34,FOLLOW_33);
8341 8341
8342 8342 newLeafNode(otherlv_0, grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0());
8343 } 8343
8344 8344 // InternalApplicationConfiguration.g:3023:3: ( (lv_type_1_0= ruleObjectReference ) )
8345 8345 // InternalApplicationConfiguration.g:3024:4: (lv_type_1_0= ruleObjectReference )
8346 } 8346 {
8347 8347 // InternalApplicationConfiguration.g:3024:4: (lv_type_1_0= ruleObjectReference )
8348 8348 // InternalApplicationConfiguration.g:3025:5: lv_type_1_0= ruleObjectReference
8349 leaveRule(); 8349 {
8350 8350
8351 } 8351 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0());
8352 8352
8353 catch (RecognitionException re) { 8353 pushFollow(FOLLOW_31);
8354 recover(input,re); 8354 lv_type_1_0=ruleObjectReference();
8355 appendSkippedTokens(); 8355
8356 } 8356 state._fsp--;
8357 finally { 8357
8358 } 8358
8359 return current; 8359 if (current==null) {
8360 } 8360 current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule());
8361 // $ANTLR end "ruleClassReference" 8361 }
8362 8362 set(
8363 8363 current,
8364 // $ANTLR start "entryRuleObjectReference" 8364 "type",
8365 // InternalApplicationConfiguration.g:3059:1: entryRuleObjectReference returns [EObject current=null] : iv_ruleObjectReference= ruleObjectReference EOF ; 8365 lv_type_1_0,
8366 public final EObject entryRuleObjectReference() throws RecognitionException { 8366 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectReference");
8367 EObject current = null; 8367 afterParserOrEnumRuleCall();
8368 8368
8369 EObject iv_ruleObjectReference = null; 8369
8370 8370 }
8371 8371
8372 try { 8372
8373 // InternalApplicationConfiguration.g:3059:56: (iv_ruleObjectReference= ruleObjectReference EOF ) 8373 }
8374 // InternalApplicationConfiguration.g:3060:2: iv_ruleObjectReference= ruleObjectReference EOF 8374
8375 { 8375 // InternalApplicationConfiguration.g:3042:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) )
8376 newCompositeNode(grammarAccess.getObjectReferenceRule()); 8376 int alt41=2;
8377 pushFollow(FOLLOW_1); 8377 int LA41_0 = input.LA(1);
8378 iv_ruleObjectReference=ruleObjectReference(); 8378
8379 8379 if ( (LA41_0==35) ) {
8380 state._fsp--; 8380 alt41=1;
8381 8381 }
8382 current =iv_ruleObjectReference; 8382 else if ( (LA41_0==18) ) {
8383 match(input,EOF,FOLLOW_2); 8383 alt41=2;
8384 8384 }
8385 } 8385 else {
8386 8386 NoViableAltException nvae =
8387 } 8387 new NoViableAltException("", 41, 0, input);
8388 8388
8389 catch (RecognitionException re) { 8389 throw nvae;
8390 recover(input,re); 8390 }
8391 appendSkippedTokens(); 8391 switch (alt41) {
8392 } 8392 case 1 :
8393 finally { 8393 // InternalApplicationConfiguration.g:3043:4: ( (lv_setsNew_2_0= '+=' ) )
8394 } 8394 {
8395 return current; 8395 // InternalApplicationConfiguration.g:3043:4: ( (lv_setsNew_2_0= '+=' ) )
8396 } 8396 // InternalApplicationConfiguration.g:3044:5: (lv_setsNew_2_0= '+=' )
8397 // $ANTLR end "entryRuleObjectReference" 8397 {
8398 8398 // InternalApplicationConfiguration.g:3044:5: (lv_setsNew_2_0= '+=' )
8399 8399 // InternalApplicationConfiguration.g:3045:6: lv_setsNew_2_0= '+='
8400 // $ANTLR start "ruleObjectReference" 8400 {
8401 // InternalApplicationConfiguration.g:3066:1: ruleObjectReference returns [EObject current=null] : ( () otherlv_1= 'node' ) ; 8401 lv_setsNew_2_0=(Token)match(input,35,FOLLOW_32);
8402 public final EObject ruleObjectReference() throws RecognitionException { 8402
8403 EObject current = null; 8403 newLeafNode(lv_setsNew_2_0, grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
8404 8404
8405 Token otherlv_1=null; 8405
8406 8406 if (current==null) {
8407 8407 current = createModelElement(grammarAccess.getObjectTypeScopeRule());
8408 enterRule(); 8408 }
8409 8409 setWithLastConsumed(current, "setsNew", true, "+=");
8410 try { 8410
8411 // InternalApplicationConfiguration.g:3072:2: ( ( () otherlv_1= 'node' ) ) 8411
8412 // InternalApplicationConfiguration.g:3073:2: ( () otherlv_1= 'node' ) 8412 }
8413 { 8413
8414 // InternalApplicationConfiguration.g:3073:2: ( () otherlv_1= 'node' ) 8414
8415 // InternalApplicationConfiguration.g:3074:3: () otherlv_1= 'node' 8415 }
8416 { 8416
8417 // InternalApplicationConfiguration.g:3074:3: () 8417
8418 // InternalApplicationConfiguration.g:3075:4: 8418 }
8419 { 8419 break;
8420 8420 case 2 :
8421 current = forceCreateModelElement( 8421 // InternalApplicationConfiguration.g:3058:4: ( (lv_setsSum_3_0= '=' ) )
8422 grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(), 8422 {
8423 current); 8423 // InternalApplicationConfiguration.g:3058:4: ( (lv_setsSum_3_0= '=' ) )
8424 8424 // InternalApplicationConfiguration.g:3059:5: (lv_setsSum_3_0= '=' )
8425 8425 {
8426 } 8426 // InternalApplicationConfiguration.g:3059:5: (lv_setsSum_3_0= '=' )
8427 8427 // InternalApplicationConfiguration.g:3060:6: lv_setsSum_3_0= '='
8428 otherlv_1=(Token)match(input,36,FOLLOW_2); 8428 {
8429 8429 lv_setsSum_3_0=(Token)match(input,18,FOLLOW_32);
8430 newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); 8430
8431 8431 newLeafNode(lv_setsSum_3_0, grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
8432 8432
8433 } 8433
8434 8434 if (current==null) {
8435 8435 current = createModelElement(grammarAccess.getObjectTypeScopeRule());
8436 } 8436 }
8437 8437 setWithLastConsumed(current, "setsSum", true, "=");
8438 8438
8439 leaveRule(); 8439
8440 8440 }
8441 } 8441
8442 8442
8443 catch (RecognitionException re) { 8443 }
8444 recover(input,re); 8444
8445 appendSkippedTokens(); 8445
8446 } 8446 }
8447 finally { 8447 break;
8448 } 8448
8449 return current; 8449 }
8450 } 8450
8451 // $ANTLR end "ruleObjectReference" 8451 // InternalApplicationConfiguration.g:3073:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) )
8452 8452 int alt42=2;
8453 8453 int LA42_0 = input.LA(1);
8454 // $ANTLR start "entryRuleIntegerReference" 8454
8455 // InternalApplicationConfiguration.g:3089:1: entryRuleIntegerReference returns [EObject current=null] : iv_ruleIntegerReference= ruleIntegerReference EOF ; 8455 if ( (LA42_0==RULE_INT) ) {
8456 public final EObject entryRuleIntegerReference() throws RecognitionException { 8456 int LA42_1 = input.LA(2);
8457 EObject current = null; 8457
8458 8458 if ( (LA42_1==EOF||(LA42_1>=20 && LA42_1<=21)) ) {
8459 EObject iv_ruleIntegerReference = null; 8459 alt42=1;
8460 8460 }
8461 8461 else if ( (LA42_1==43) ) {
8462 try { 8462 alt42=2;
8463 // InternalApplicationConfiguration.g:3089:57: (iv_ruleIntegerReference= ruleIntegerReference EOF ) 8463 }
8464 // InternalApplicationConfiguration.g:3090:2: iv_ruleIntegerReference= ruleIntegerReference EOF 8464 else {
8465 { 8465 NoViableAltException nvae =
8466 newCompositeNode(grammarAccess.getIntegerReferenceRule()); 8466 new NoViableAltException("", 42, 1, input);
8467 pushFollow(FOLLOW_1); 8467
8468 iv_ruleIntegerReference=ruleIntegerReference(); 8468 throw nvae;
8469 8469 }
8470 state._fsp--; 8470 }
8471 8471 else if ( (LA42_0==42) ) {
8472 current =iv_ruleIntegerReference; 8472 alt42=1;
8473 match(input,EOF,FOLLOW_2); 8473 }
8474 8474 else {
8475 } 8475 NoViableAltException nvae =
8476 8476 new NoViableAltException("", 42, 0, input);
8477 } 8477
8478 8478 throw nvae;
8479 catch (RecognitionException re) { 8479 }
8480 recover(input,re); 8480 switch (alt42) {
8481 appendSkippedTokens(); 8481 case 1 :
8482 } 8482 // InternalApplicationConfiguration.g:3074:4: ( (lv_number_4_0= ruleExactNumber ) )
8483 finally { 8483 {
8484 } 8484 // InternalApplicationConfiguration.g:3074:4: ( (lv_number_4_0= ruleExactNumber ) )
8485 return current; 8485 // InternalApplicationConfiguration.g:3075:5: (lv_number_4_0= ruleExactNumber )
8486 } 8486 {
8487 // $ANTLR end "entryRuleIntegerReference" 8487 // InternalApplicationConfiguration.g:3075:5: (lv_number_4_0= ruleExactNumber )
8488 8488 // InternalApplicationConfiguration.g:3076:6: lv_number_4_0= ruleExactNumber
8489 8489 {
8490 // $ANTLR start "ruleIntegerReference" 8490
8491 // InternalApplicationConfiguration.g:3096:1: ruleIntegerReference returns [EObject current=null] : ( () otherlv_1= 'int' ) ; 8491 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
8492 public final EObject ruleIntegerReference() throws RecognitionException { 8492
8493 EObject current = null; 8493 pushFollow(FOLLOW_2);
8494 8494 lv_number_4_0=ruleExactNumber();
8495 Token otherlv_1=null; 8495
8496 8496 state._fsp--;
8497 8497
8498 enterRule(); 8498
8499 8499 if (current==null) {
8500 try { 8500 current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule());
8501 // InternalApplicationConfiguration.g:3102:2: ( ( () otherlv_1= 'int' ) ) 8501 }
8502 // InternalApplicationConfiguration.g:3103:2: ( () otherlv_1= 'int' ) 8502 set(
8503 { 8503 current,
8504 // InternalApplicationConfiguration.g:3103:2: ( () otherlv_1= 'int' ) 8504 "number",
8505 // InternalApplicationConfiguration.g:3104:3: () otherlv_1= 'int' 8505 lv_number_4_0,
8506 { 8506 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
8507 // InternalApplicationConfiguration.g:3104:3: () 8507 afterParserOrEnumRuleCall();
8508 // InternalApplicationConfiguration.g:3105:4: 8508
8509 { 8509
8510 8510 }
8511 current = forceCreateModelElement( 8511
8512 grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(), 8512
8513 current); 8513 }
8514 8514
8515 8515
8516 } 8516 }
8517 8517 break;
8518 otherlv_1=(Token)match(input,37,FOLLOW_2); 8518 case 2 :
8519 8519 // InternalApplicationConfiguration.g:3094:4: ( (lv_number_5_0= ruleIntervallNumber ) )
8520 newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); 8520 {
8521 8521 // InternalApplicationConfiguration.g:3094:4: ( (lv_number_5_0= ruleIntervallNumber ) )
8522 8522 // InternalApplicationConfiguration.g:3095:5: (lv_number_5_0= ruleIntervallNumber )
8523 } 8523 {
8524 8524 // InternalApplicationConfiguration.g:3095:5: (lv_number_5_0= ruleIntervallNumber )
8525 8525 // InternalApplicationConfiguration.g:3096:6: lv_number_5_0= ruleIntervallNumber
8526 } 8526 {
8527 8527
8528 8528 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
8529 leaveRule(); 8529
8530 8530 pushFollow(FOLLOW_2);
8531 } 8531 lv_number_5_0=ruleIntervallNumber();
8532 8532
8533 catch (RecognitionException re) { 8533 state._fsp--;
8534 recover(input,re); 8534
8535 appendSkippedTokens(); 8535
8536 } 8536 if (current==null) {
8537 finally { 8537 current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule());
8538 } 8538 }
8539 return current; 8539 set(
8540 } 8540 current,
8541 // $ANTLR end "ruleIntegerReference" 8541 "number",
8542 8542 lv_number_5_0,
8543 8543 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
8544 // $ANTLR start "entryRuleRealReference" 8544 afterParserOrEnumRuleCall();
8545 // InternalApplicationConfiguration.g:3119:1: entryRuleRealReference returns [EObject current=null] : iv_ruleRealReference= ruleRealReference EOF ; 8545
8546 public final EObject entryRuleRealReference() throws RecognitionException { 8546
8547 EObject current = null; 8547 }
8548 8548
8549 EObject iv_ruleRealReference = null; 8549
8550 8550 }
8551 8551
8552 try { 8552
8553 // InternalApplicationConfiguration.g:3119:54: (iv_ruleRealReference= ruleRealReference EOF ) 8553 }
8554 // InternalApplicationConfiguration.g:3120:2: iv_ruleRealReference= ruleRealReference EOF 8554 break;
8555 { 8555
8556 newCompositeNode(grammarAccess.getRealReferenceRule()); 8556 }
8557 pushFollow(FOLLOW_1); 8557
8558 iv_ruleRealReference=ruleRealReference(); 8558
8559 8559 }
8560 state._fsp--; 8560
8561 8561
8562 current =iv_ruleRealReference; 8562 }
8563 match(input,EOF,FOLLOW_2); 8563
8564 8564
8565 } 8565 leaveRule();
8566 8566
8567 } 8567 }
8568 8568
8569 catch (RecognitionException re) { 8569 catch (RecognitionException re) {
8570 recover(input,re); 8570 recover(input,re);
8571 appendSkippedTokens(); 8571 appendSkippedTokens();
8572 } 8572 }
8573 finally { 8573 finally {
8574 } 8574 }
8575 return current; 8575 return current;
8576 } 8576 }
8577 // $ANTLR end "entryRuleRealReference" 8577 // $ANTLR end "ruleObjectTypeScope"
8578 8578
8579 8579
8580 // $ANTLR start "ruleRealReference" 8580 // $ANTLR start "entryRuleIntegerTypeScope"
8581 // InternalApplicationConfiguration.g:3126:1: ruleRealReference returns [EObject current=null] : ( () otherlv_1= 'real' ) ; 8581 // InternalApplicationConfiguration.g:3118:1: entryRuleIntegerTypeScope returns [EObject current=null] : iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF ;
8582 public final EObject ruleRealReference() throws RecognitionException { 8582 public final EObject entryRuleIntegerTypeScope() throws RecognitionException {
8583 EObject current = null; 8583 EObject current = null;
8584 8584
8585 Token otherlv_1=null; 8585 EObject iv_ruleIntegerTypeScope = null;
8586 8586
8587 8587
8588 enterRule(); 8588 try {
8589 8589 // InternalApplicationConfiguration.g:3118:57: (iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF )
8590 try { 8590 // InternalApplicationConfiguration.g:3119:2: iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF
8591 // InternalApplicationConfiguration.g:3132:2: ( ( () otherlv_1= 'real' ) ) 8591 {
8592 // InternalApplicationConfiguration.g:3133:2: ( () otherlv_1= 'real' ) 8592 newCompositeNode(grammarAccess.getIntegerTypeScopeRule());
8593 { 8593 pushFollow(FOLLOW_1);
8594 // InternalApplicationConfiguration.g:3133:2: ( () otherlv_1= 'real' ) 8594 iv_ruleIntegerTypeScope=ruleIntegerTypeScope();
8595 // InternalApplicationConfiguration.g:3134:3: () otherlv_1= 'real' 8595
8596 { 8596 state._fsp--;
8597 // InternalApplicationConfiguration.g:3134:3: () 8597
8598 // InternalApplicationConfiguration.g:3135:4: 8598 current =iv_ruleIntegerTypeScope;
8599 { 8599 match(input,EOF,FOLLOW_2);
8600 8600
8601 current = forceCreateModelElement( 8601 }
8602 grammarAccess.getRealReferenceAccess().getRealScopeAction_0(), 8602
8603 current); 8603 }
8604 8604
8605 8605 catch (RecognitionException re) {
8606 } 8606 recover(input,re);
8607 8607 appendSkippedTokens();
8608 otherlv_1=(Token)match(input,38,FOLLOW_2); 8608 }
8609 8609 finally {
8610 newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1()); 8610 }
8611 8611 return current;
8612 8612 }
8613 } 8613 // $ANTLR end "entryRuleIntegerTypeScope"
8614 8614
8615 8615
8616 } 8616 // $ANTLR start "ruleIntegerTypeScope"
8617 8617 // InternalApplicationConfiguration.g:3125:1: ruleIntegerTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) ;
8618 8618 public final EObject ruleIntegerTypeScope() throws RecognitionException {
8619 leaveRule(); 8619 EObject current = null;
8620 8620
8621 } 8621 Token otherlv_0=null;
8622 8622 Token lv_setsNew_2_0=null;
8623 catch (RecognitionException re) { 8623 Token lv_setsSum_3_0=null;
8624 recover(input,re); 8624 EObject lv_type_1_0 = null;
8625 appendSkippedTokens(); 8625
8626 } 8626 EObject lv_number_4_0 = null;
8627 finally { 8627
8628 } 8628 EObject lv_number_5_0 = null;
8629 return current; 8629
8630 } 8630 EObject lv_number_6_0 = null;
8631 // $ANTLR end "ruleRealReference" 8631
8632 8632
8633 8633
8634 // $ANTLR start "entryRuleStringReference" 8634 enterRule();
8635 // InternalApplicationConfiguration.g:3149:1: entryRuleStringReference returns [EObject current=null] : iv_ruleStringReference= ruleStringReference EOF ; 8635
8636 public final EObject entryRuleStringReference() throws RecognitionException { 8636 try {
8637 EObject current = null; 8637 // InternalApplicationConfiguration.g:3131:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) )
8638 8638 // InternalApplicationConfiguration.g:3132:2: (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) )
8639 EObject iv_ruleStringReference = null; 8639 {
8640 8640 // InternalApplicationConfiguration.g:3132:2: (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) )
8641 8641 // InternalApplicationConfiguration.g:3133:3: otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) )
8642 try { 8642 {
8643 // InternalApplicationConfiguration.g:3149:56: (iv_ruleStringReference= ruleStringReference EOF ) 8643 otherlv_0=(Token)match(input,34,FOLLOW_34);
8644 // InternalApplicationConfiguration.g:3150:2: iv_ruleStringReference= ruleStringReference EOF 8644
8645 { 8645 newLeafNode(otherlv_0, grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0());
8646 newCompositeNode(grammarAccess.getStringReferenceRule()); 8646
8647 pushFollow(FOLLOW_1); 8647 // InternalApplicationConfiguration.g:3137:3: ( (lv_type_1_0= ruleIntegerReference ) )
8648 iv_ruleStringReference=ruleStringReference(); 8648 // InternalApplicationConfiguration.g:3138:4: (lv_type_1_0= ruleIntegerReference )
8649 8649 {
8650 state._fsp--; 8650 // InternalApplicationConfiguration.g:3138:4: (lv_type_1_0= ruleIntegerReference )
8651 8651 // InternalApplicationConfiguration.g:3139:5: lv_type_1_0= ruleIntegerReference
8652 current =iv_ruleStringReference; 8652 {
8653 match(input,EOF,FOLLOW_2); 8653
8654 8654 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0());
8655 } 8655
8656 8656 pushFollow(FOLLOW_31);
8657 } 8657 lv_type_1_0=ruleIntegerReference();
8658 8658
8659 catch (RecognitionException re) { 8659 state._fsp--;
8660 recover(input,re); 8660
8661 appendSkippedTokens(); 8661
8662 } 8662 if (current==null) {
8663 finally { 8663 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule());
8664 } 8664 }
8665 return current; 8665 set(
8666 } 8666 current,
8667 // $ANTLR end "entryRuleStringReference" 8667 "type",
8668 8668 lv_type_1_0,
8669 8669 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerReference");
8670 // $ANTLR start "ruleStringReference" 8670 afterParserOrEnumRuleCall();
8671 // InternalApplicationConfiguration.g:3156:1: ruleStringReference returns [EObject current=null] : ( () otherlv_1= 'string' ) ; 8671
8672 public final EObject ruleStringReference() throws RecognitionException { 8672
8673 EObject current = null; 8673 }
8674 8674
8675 Token otherlv_1=null; 8675
8676 8676 }
8677 8677
8678 enterRule(); 8678 // InternalApplicationConfiguration.g:3156:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) )
8679 8679 int alt43=2;
8680 try { 8680 int LA43_0 = input.LA(1);
8681 // InternalApplicationConfiguration.g:3162:2: ( ( () otherlv_1= 'string' ) ) 8681
8682 // InternalApplicationConfiguration.g:3163:2: ( () otherlv_1= 'string' ) 8682 if ( (LA43_0==35) ) {
8683 { 8683 alt43=1;
8684 // InternalApplicationConfiguration.g:3163:2: ( () otherlv_1= 'string' ) 8684 }
8685 // InternalApplicationConfiguration.g:3164:3: () otherlv_1= 'string' 8685 else if ( (LA43_0==18) ) {
8686 { 8686 alt43=2;
8687 // InternalApplicationConfiguration.g:3164:3: () 8687 }
8688 // InternalApplicationConfiguration.g:3165:4: 8688 else {
8689 { 8689 NoViableAltException nvae =
8690 8690 new NoViableAltException("", 43, 0, input);
8691 current = forceCreateModelElement( 8691
8692 grammarAccess.getStringReferenceAccess().getStringScopeAction_0(), 8692 throw nvae;
8693 current); 8693 }
8694 8694 switch (alt43) {
8695 8695 case 1 :
8696 } 8696 // InternalApplicationConfiguration.g:3157:4: ( (lv_setsNew_2_0= '+=' ) )
8697 8697 {
8698 otherlv_1=(Token)match(input,39,FOLLOW_2); 8698 // InternalApplicationConfiguration.g:3157:4: ( (lv_setsNew_2_0= '+=' ) )
8699 8699 // InternalApplicationConfiguration.g:3158:5: (lv_setsNew_2_0= '+=' )
8700 newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1()); 8700 {
8701 8701 // InternalApplicationConfiguration.g:3158:5: (lv_setsNew_2_0= '+=' )
8702 8702 // InternalApplicationConfiguration.g:3159:6: lv_setsNew_2_0= '+='
8703 } 8703 {
8704 8704 lv_setsNew_2_0=(Token)match(input,35,FOLLOW_35);
8705 8705
8706 } 8706 newLeafNode(lv_setsNew_2_0, grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
8707 8707
8708 8708
8709 leaveRule(); 8709 if (current==null) {
8710 8710 current = createModelElement(grammarAccess.getIntegerTypeScopeRule());
8711 } 8711 }
8712 8712 setWithLastConsumed(current, "setsNew", true, "+=");
8713 catch (RecognitionException re) { 8713
8714 recover(input,re); 8714
8715 appendSkippedTokens(); 8715 }
8716 } 8716
8717 finally { 8717
8718 } 8718 }
8719 return current; 8719
8720 } 8720
8721 // $ANTLR end "ruleStringReference" 8721 }
8722 8722 break;
8723 8723 case 2 :
8724 // $ANTLR start "entryRuleExactNumber" 8724 // InternalApplicationConfiguration.g:3172:4: ( (lv_setsSum_3_0= '=' ) )
8725 // InternalApplicationConfiguration.g:3179:1: entryRuleExactNumber returns [EObject current=null] : iv_ruleExactNumber= ruleExactNumber EOF ; 8725 {
8726 public final EObject entryRuleExactNumber() throws RecognitionException { 8726 // InternalApplicationConfiguration.g:3172:4: ( (lv_setsSum_3_0= '=' ) )
8727 EObject current = null; 8727 // InternalApplicationConfiguration.g:3173:5: (lv_setsSum_3_0= '=' )
8728 8728 {
8729 EObject iv_ruleExactNumber = null; 8729 // InternalApplicationConfiguration.g:3173:5: (lv_setsSum_3_0= '=' )
8730 8730 // InternalApplicationConfiguration.g:3174:6: lv_setsSum_3_0= '='
8731 8731 {
8732 try { 8732 lv_setsSum_3_0=(Token)match(input,18,FOLLOW_35);
8733 // InternalApplicationConfiguration.g:3179:52: (iv_ruleExactNumber= ruleExactNumber EOF ) 8733
8734 // InternalApplicationConfiguration.g:3180:2: iv_ruleExactNumber= ruleExactNumber EOF 8734 newLeafNode(lv_setsSum_3_0, grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
8735 { 8735
8736 newCompositeNode(grammarAccess.getExactNumberRule()); 8736
8737 pushFollow(FOLLOW_1); 8737 if (current==null) {
8738 iv_ruleExactNumber=ruleExactNumber(); 8738 current = createModelElement(grammarAccess.getIntegerTypeScopeRule());
8739 8739 }
8740 state._fsp--; 8740 setWithLastConsumed(current, "setsSum", true, "=");
8741 8741
8742 current =iv_ruleExactNumber; 8742
8743 match(input,EOF,FOLLOW_2); 8743 }
8744 8744
8745 } 8745
8746 8746 }
8747 } 8747
8748 8748
8749 catch (RecognitionException re) { 8749 }
8750 recover(input,re); 8750 break;
8751 appendSkippedTokens(); 8751
8752 } 8752 }
8753 finally { 8753
8754 } 8754 // InternalApplicationConfiguration.g:3187:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) )
8755 return current; 8755 int alt44=3;
8756 } 8756 switch ( input.LA(1) ) {
8757 // $ANTLR end "entryRuleExactNumber" 8757 case RULE_INT:
8758 8758 {
8759 8759 int LA44_1 = input.LA(2);
8760 // $ANTLR start "ruleExactNumber" 8760
8761 // InternalApplicationConfiguration.g:3186:1: ruleExactNumber returns [EObject current=null] : ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) ; 8761 if ( (LA44_1==EOF||(LA44_1>=20 && LA44_1<=21)) ) {
8762 public final EObject ruleExactNumber() throws RecognitionException { 8762 alt44=1;
8763 EObject current = null; 8763 }
8764 8764 else if ( (LA44_1==43) ) {
8765 Token lv_exactNumber_0_0=null; 8765 alt44=2;
8766 Token lv_exactUnlimited_1_0=null; 8766 }
8767 8767 else {
8768 8768 NoViableAltException nvae =
8769 enterRule(); 8769 new NoViableAltException("", 44, 1, input);
8770 8770
8771 try { 8771 throw nvae;
8772 // InternalApplicationConfiguration.g:3192:2: ( ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) ) 8772 }
8773 // InternalApplicationConfiguration.g:3193:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) 8773 }
8774 { 8774 break;
8775 // InternalApplicationConfiguration.g:3193:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) 8775 case 42:
8776 int alt45=2; 8776 {
8777 int LA45_0 = input.LA(1); 8777 alt44=1;
8778 8778 }
8779 if ( (LA45_0==RULE_INT) ) { 8779 break;
8780 alt45=1; 8780 case 19:
8781 } 8781 {
8782 else if ( (LA45_0==40) ) { 8782 alt44=3;
8783 alt45=2; 8783 }
8784 } 8784 break;
8785 else { 8785 default:
8786 NoViableAltException nvae = 8786 NoViableAltException nvae =
8787 new NoViableAltException("", 45, 0, input); 8787 new NoViableAltException("", 44, 0, input);
8788 8788
8789 throw nvae; 8789 throw nvae;
8790 } 8790 }
8791 switch (alt45) { 8791
8792 case 1 : 8792 switch (alt44) {
8793 // InternalApplicationConfiguration.g:3194:3: ( (lv_exactNumber_0_0= RULE_INT ) ) 8793 case 1 :
8794 { 8794 // InternalApplicationConfiguration.g:3188:4: ( (lv_number_4_0= ruleExactNumber ) )
8795 // InternalApplicationConfiguration.g:3194:3: ( (lv_exactNumber_0_0= RULE_INT ) ) 8795 {
8796 // InternalApplicationConfiguration.g:3195:4: (lv_exactNumber_0_0= RULE_INT ) 8796 // InternalApplicationConfiguration.g:3188:4: ( (lv_number_4_0= ruleExactNumber ) )
8797 { 8797 // InternalApplicationConfiguration.g:3189:5: (lv_number_4_0= ruleExactNumber )
8798 // InternalApplicationConfiguration.g:3195:4: (lv_exactNumber_0_0= RULE_INT ) 8798 {
8799 // InternalApplicationConfiguration.g:3196:5: lv_exactNumber_0_0= RULE_INT 8799 // InternalApplicationConfiguration.g:3189:5: (lv_number_4_0= ruleExactNumber )
8800 { 8800 // InternalApplicationConfiguration.g:3190:6: lv_number_4_0= ruleExactNumber
8801 lv_exactNumber_0_0=(Token)match(input,RULE_INT,FOLLOW_2); 8801 {
8802 8802
8803 newLeafNode(lv_exactNumber_0_0, grammarAccess.getExactNumberAccess().getExactNumberINTTerminalRuleCall_0_0()); 8803 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
8804 8804
8805 8805 pushFollow(FOLLOW_2);
8806 if (current==null) { 8806 lv_number_4_0=ruleExactNumber();
8807 current = createModelElement(grammarAccess.getExactNumberRule()); 8807
8808 } 8808 state._fsp--;
8809 setWithLastConsumed( 8809
8810 current, 8810
8811 "exactNumber", 8811 if (current==null) {
8812 lv_exactNumber_0_0, 8812 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule());
8813 "org.eclipse.xtext.common.Terminals.INT"); 8813 }
8814 8814 set(
8815 8815 current,
8816 } 8816 "number",
8817 8817 lv_number_4_0,
8818 8818 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
8819 } 8819 afterParserOrEnumRuleCall();
8820 8820
8821 8821
8822 } 8822 }
8823 break; 8823
8824 case 2 : 8824
8825 // InternalApplicationConfiguration.g:3213:3: ( (lv_exactUnlimited_1_0= '*' ) ) 8825 }
8826 { 8826
8827 // InternalApplicationConfiguration.g:3213:3: ( (lv_exactUnlimited_1_0= '*' ) ) 8827
8828 // InternalApplicationConfiguration.g:3214:4: (lv_exactUnlimited_1_0= '*' ) 8828 }
8829 { 8829 break;
8830 // InternalApplicationConfiguration.g:3214:4: (lv_exactUnlimited_1_0= '*' ) 8830 case 2 :
8831 // InternalApplicationConfiguration.g:3215:5: lv_exactUnlimited_1_0= '*' 8831 // InternalApplicationConfiguration.g:3208:4: ( (lv_number_5_0= ruleIntervallNumber ) )
8832 { 8832 {
8833 lv_exactUnlimited_1_0=(Token)match(input,40,FOLLOW_2); 8833 // InternalApplicationConfiguration.g:3208:4: ( (lv_number_5_0= ruleIntervallNumber ) )
8834 8834 // InternalApplicationConfiguration.g:3209:5: (lv_number_5_0= ruleIntervallNumber )
8835 newLeafNode(lv_exactUnlimited_1_0, grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); 8835 {
8836 8836 // InternalApplicationConfiguration.g:3209:5: (lv_number_5_0= ruleIntervallNumber )
8837 8837 // InternalApplicationConfiguration.g:3210:6: lv_number_5_0= ruleIntervallNumber
8838 if (current==null) { 8838 {
8839 current = createModelElement(grammarAccess.getExactNumberRule()); 8839
8840 } 8840 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
8841 setWithLastConsumed(current, "exactUnlimited", true, "*"); 8841
8842 8842 pushFollow(FOLLOW_2);
8843 8843 lv_number_5_0=ruleIntervallNumber();
8844 } 8844
8845 8845 state._fsp--;
8846 8846
8847 } 8847
8848 8848 if (current==null) {
8849 8849 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule());
8850 } 8850 }
8851 break; 8851 set(
8852 8852 current,
8853 } 8853 "number",
8854 8854 lv_number_5_0,
8855 8855 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
8856 } 8856 afterParserOrEnumRuleCall();
8857 8857
8858 8858
8859 leaveRule(); 8859 }
8860 8860
8861 } 8861
8862 8862 }
8863 catch (RecognitionException re) { 8863
8864 recover(input,re); 8864
8865 appendSkippedTokens(); 8865 }
8866 } 8866 break;
8867 finally { 8867 case 3 :
8868 } 8868 // InternalApplicationConfiguration.g:3228:4: ( (lv_number_6_0= ruleIntEnumberation ) )
8869 return current; 8869 {
8870 } 8870 // InternalApplicationConfiguration.g:3228:4: ( (lv_number_6_0= ruleIntEnumberation ) )
8871 // $ANTLR end "ruleExactNumber" 8871 // InternalApplicationConfiguration.g:3229:5: (lv_number_6_0= ruleIntEnumberation )
8872 8872 {
8873 8873 // InternalApplicationConfiguration.g:3229:5: (lv_number_6_0= ruleIntEnumberation )
8874 // $ANTLR start "entryRuleIntervallNumber" 8874 // InternalApplicationConfiguration.g:3230:6: lv_number_6_0= ruleIntEnumberation
8875 // InternalApplicationConfiguration.g:3231:1: entryRuleIntervallNumber returns [EObject current=null] : iv_ruleIntervallNumber= ruleIntervallNumber EOF ; 8875 {
8876 public final EObject entryRuleIntervallNumber() throws RecognitionException { 8876
8877 EObject current = null; 8877 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0());
8878 8878
8879 EObject iv_ruleIntervallNumber = null; 8879 pushFollow(FOLLOW_2);
8880 8880 lv_number_6_0=ruleIntEnumberation();
8881 8881
8882 try { 8882 state._fsp--;
8883 // InternalApplicationConfiguration.g:3231:56: (iv_ruleIntervallNumber= ruleIntervallNumber EOF ) 8883
8884 // InternalApplicationConfiguration.g:3232:2: iv_ruleIntervallNumber= ruleIntervallNumber EOF 8884
8885 { 8885 if (current==null) {
8886 newCompositeNode(grammarAccess.getIntervallNumberRule()); 8886 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule());
8887 pushFollow(FOLLOW_1); 8887 }
8888 iv_ruleIntervallNumber=ruleIntervallNumber(); 8888 set(
8889 8889 current,
8890 state._fsp--; 8890 "number",
8891 8891 lv_number_6_0,
8892 current =iv_ruleIntervallNumber; 8892 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntEnumberation");
8893 match(input,EOF,FOLLOW_2); 8893 afterParserOrEnumRuleCall();
8894 8894
8895 } 8895
8896 8896 }
8897 } 8897
8898 8898
8899 catch (RecognitionException re) { 8899 }
8900 recover(input,re); 8900
8901 appendSkippedTokens(); 8901
8902 } 8902 }
8903 finally { 8903 break;
8904 } 8904
8905 return current; 8905 }
8906 } 8906
8907 // $ANTLR end "entryRuleIntervallNumber" 8907
8908 8908 }
8909 8909
8910 // $ANTLR start "ruleIntervallNumber" 8910
8911 // InternalApplicationConfiguration.g:3238:1: ruleIntervallNumber returns [EObject current=null] : ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) ; 8911 }
8912 public final EObject ruleIntervallNumber() throws RecognitionException { 8912
8913 EObject current = null; 8913
8914 8914 leaveRule();
8915 Token lv_min_0_0=null; 8915
8916 Token otherlv_1=null; 8916 }
8917 Token lv_maxNumber_2_0=null; 8917
8918 Token lv_maxUnlimited_3_0=null; 8918 catch (RecognitionException re) {
8919 8919 recover(input,re);
8920 8920 appendSkippedTokens();
8921 enterRule(); 8921 }
8922 8922 finally {
8923 try { 8923 }
8924 // InternalApplicationConfiguration.g:3244:2: ( ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) ) 8924 return current;
8925 // InternalApplicationConfiguration.g:3245:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) 8925 }
8926 { 8926 // $ANTLR end "ruleIntegerTypeScope"
8927 // InternalApplicationConfiguration.g:3245:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) 8927
8928 // InternalApplicationConfiguration.g:3246:3: ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) 8928
8929 { 8929 // $ANTLR start "entryRuleRealTypeScope"
8930 // InternalApplicationConfiguration.g:3246:3: ( (lv_min_0_0= RULE_INT ) ) 8930 // InternalApplicationConfiguration.g:3252:1: entryRuleRealTypeScope returns [EObject current=null] : iv_ruleRealTypeScope= ruleRealTypeScope EOF ;
8931 // InternalApplicationConfiguration.g:3247:4: (lv_min_0_0= RULE_INT ) 8931 public final EObject entryRuleRealTypeScope() throws RecognitionException {
8932 { 8932 EObject current = null;
8933 // InternalApplicationConfiguration.g:3247:4: (lv_min_0_0= RULE_INT ) 8933
8934 // InternalApplicationConfiguration.g:3248:5: lv_min_0_0= RULE_INT 8934 EObject iv_ruleRealTypeScope = null;
8935 { 8935
8936 lv_min_0_0=(Token)match(input,RULE_INT,FOLLOW_35); 8936
8937 8937 try {
8938 newLeafNode(lv_min_0_0, grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0()); 8938 // InternalApplicationConfiguration.g:3252:54: (iv_ruleRealTypeScope= ruleRealTypeScope EOF )
8939 8939 // InternalApplicationConfiguration.g:3253:2: iv_ruleRealTypeScope= ruleRealTypeScope EOF
8940 8940 {
8941 if (current==null) { 8941 newCompositeNode(grammarAccess.getRealTypeScopeRule());
8942 current = createModelElement(grammarAccess.getIntervallNumberRule()); 8942 pushFollow(FOLLOW_1);
8943 } 8943 iv_ruleRealTypeScope=ruleRealTypeScope();
8944 setWithLastConsumed( 8944
8945 current, 8945 state._fsp--;
8946 "min", 8946
8947 lv_min_0_0, 8947 current =iv_ruleRealTypeScope;
8948 "org.eclipse.xtext.common.Terminals.INT"); 8948 match(input,EOF,FOLLOW_2);
8949 8949
8950 8950 }
8951 } 8951
8952 8952 }
8953 8953
8954 } 8954 catch (RecognitionException re) {
8955 8955 recover(input,re);
8956 otherlv_1=(Token)match(input,41,FOLLOW_28); 8956 appendSkippedTokens();
8957 8957 }
8958 newLeafNode(otherlv_1, grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); 8958 finally {
8959 8959 }
8960 // InternalApplicationConfiguration.g:3268:3: ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) 8960 return current;
8961 int alt46=2; 8961 }
8962 int LA46_0 = input.LA(1); 8962 // $ANTLR end "entryRuleRealTypeScope"
8963 8963
8964 if ( (LA46_0==RULE_INT) ) { 8964
8965 alt46=1; 8965 // $ANTLR start "ruleRealTypeScope"
8966 } 8966 // InternalApplicationConfiguration.g:3259:1: ruleRealTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) ;
8967 else if ( (LA46_0==40) ) { 8967 public final EObject ruleRealTypeScope() throws RecognitionException {
8968 alt46=2; 8968 EObject current = null;
8969 } 8969
8970 else { 8970 Token otherlv_0=null;
8971 NoViableAltException nvae = 8971 Token lv_setsNew_2_0=null;
8972 new NoViableAltException("", 46, 0, input); 8972 Token lv_setsSum_3_0=null;
8973 8973 EObject lv_type_1_0 = null;
8974 throw nvae; 8974
8975 } 8975 EObject lv_number_4_0 = null;
8976 switch (alt46) { 8976
8977 case 1 : 8977 EObject lv_number_5_0 = null;
8978 // InternalApplicationConfiguration.g:3269:4: ( (lv_maxNumber_2_0= RULE_INT ) ) 8978
8979 { 8979 EObject lv_number_6_0 = null;
8980 // InternalApplicationConfiguration.g:3269:4: ( (lv_maxNumber_2_0= RULE_INT ) ) 8980
8981 // InternalApplicationConfiguration.g:3270:5: (lv_maxNumber_2_0= RULE_INT ) 8981
8982 { 8982
8983 // InternalApplicationConfiguration.g:3270:5: (lv_maxNumber_2_0= RULE_INT ) 8983 enterRule();
8984 // InternalApplicationConfiguration.g:3271:6: lv_maxNumber_2_0= RULE_INT 8984
8985 { 8985 try {
8986 lv_maxNumber_2_0=(Token)match(input,RULE_INT,FOLLOW_2); 8986 // InternalApplicationConfiguration.g:3265:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) )
8987 8987 // InternalApplicationConfiguration.g:3266:2: (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) )
8988 newLeafNode(lv_maxNumber_2_0, grammarAccess.getIntervallNumberAccess().getMaxNumberINTTerminalRuleCall_2_0_0()); 8988 {
8989 8989 // InternalApplicationConfiguration.g:3266:2: (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) )
8990 8990 // InternalApplicationConfiguration.g:3267:3: otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) )
8991 if (current==null) { 8991 {
8992 current = createModelElement(grammarAccess.getIntervallNumberRule()); 8992 otherlv_0=(Token)match(input,34,FOLLOW_36);
8993 } 8993
8994 setWithLastConsumed( 8994 newLeafNode(otherlv_0, grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0());
8995 current, 8995
8996 "maxNumber", 8996 // InternalApplicationConfiguration.g:3271:3: ( (lv_type_1_0= ruleRealReference ) )
8997 lv_maxNumber_2_0, 8997 // InternalApplicationConfiguration.g:3272:4: (lv_type_1_0= ruleRealReference )
8998 "org.eclipse.xtext.common.Terminals.INT"); 8998 {
8999 8999 // InternalApplicationConfiguration.g:3272:4: (lv_type_1_0= ruleRealReference )
9000 9000 // InternalApplicationConfiguration.g:3273:5: lv_type_1_0= ruleRealReference
9001 } 9001 {
9002 9002
9003 9003 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0());
9004 } 9004
9005 9005 pushFollow(FOLLOW_31);
9006 9006 lv_type_1_0=ruleRealReference();
9007 } 9007
9008 break; 9008 state._fsp--;
9009 case 2 : 9009
9010 // InternalApplicationConfiguration.g:3288:4: ( (lv_maxUnlimited_3_0= '*' ) ) 9010
9011 { 9011 if (current==null) {
9012 // InternalApplicationConfiguration.g:3288:4: ( (lv_maxUnlimited_3_0= '*' ) ) 9012 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule());
9013 // InternalApplicationConfiguration.g:3289:5: (lv_maxUnlimited_3_0= '*' ) 9013 }
9014 { 9014 set(
9015 // InternalApplicationConfiguration.g:3289:5: (lv_maxUnlimited_3_0= '*' ) 9015 current,
9016 // InternalApplicationConfiguration.g:3290:6: lv_maxUnlimited_3_0= '*' 9016 "type",
9017 { 9017 lv_type_1_0,
9018 lv_maxUnlimited_3_0=(Token)match(input,40,FOLLOW_2); 9018 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealReference");
9019 9019 afterParserOrEnumRuleCall();
9020 newLeafNode(lv_maxUnlimited_3_0, grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); 9020
9021 9021
9022 9022 }
9023 if (current==null) { 9023
9024 current = createModelElement(grammarAccess.getIntervallNumberRule()); 9024
9025 } 9025 }
9026 setWithLastConsumed(current, "maxUnlimited", true, "*"); 9026
9027 9027 // InternalApplicationConfiguration.g:3290:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) )
9028 9028 int alt45=2;
9029 } 9029 int LA45_0 = input.LA(1);
9030 9030
9031 9031 if ( (LA45_0==35) ) {
9032 } 9032 alt45=1;
9033 9033 }
9034 9034 else if ( (LA45_0==18) ) {
9035 } 9035 alt45=2;
9036 break; 9036 }
9037 9037 else {
9038 } 9038 NoViableAltException nvae =
9039 9039 new NoViableAltException("", 45, 0, input);
9040 9040
9041 } 9041 throw nvae;
9042 9042 }
9043 9043 switch (alt45) {
9044 } 9044 case 1 :
9045 9045 // InternalApplicationConfiguration.g:3291:4: ( (lv_setsNew_2_0= '+=' ) )
9046 9046 {
9047 leaveRule(); 9047 // InternalApplicationConfiguration.g:3291:4: ( (lv_setsNew_2_0= '+=' ) )
9048 9048 // InternalApplicationConfiguration.g:3292:5: (lv_setsNew_2_0= '+=' )
9049 } 9049 {
9050 9050 // InternalApplicationConfiguration.g:3292:5: (lv_setsNew_2_0= '+=' )
9051 catch (RecognitionException re) { 9051 // InternalApplicationConfiguration.g:3293:6: lv_setsNew_2_0= '+='
9052 recover(input,re); 9052 {
9053 appendSkippedTokens(); 9053 lv_setsNew_2_0=(Token)match(input,35,FOLLOW_35);
9054 } 9054
9055 finally { 9055 newLeafNode(lv_setsNew_2_0, grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
9056 } 9056
9057 return current; 9057
9058 } 9058 if (current==null) {
9059 // $ANTLR end "ruleIntervallNumber" 9059 current = createModelElement(grammarAccess.getRealTypeScopeRule());
9060 9060 }
9061 9061 setWithLastConsumed(current, "setsNew", true, "+=");
9062 // $ANTLR start "entryRuleIntEnumberation" 9062
9063 // InternalApplicationConfiguration.g:3307:1: entryRuleIntEnumberation returns [EObject current=null] : iv_ruleIntEnumberation= ruleIntEnumberation EOF ; 9063
9064 public final EObject entryRuleIntEnumberation() throws RecognitionException { 9064 }
9065 EObject current = null; 9065
9066 9066
9067 EObject iv_ruleIntEnumberation = null; 9067 }
9068 9068
9069 9069
9070 try { 9070 }
9071 // InternalApplicationConfiguration.g:3307:56: (iv_ruleIntEnumberation= ruleIntEnumberation EOF ) 9071 break;
9072 // InternalApplicationConfiguration.g:3308:2: iv_ruleIntEnumberation= ruleIntEnumberation EOF 9072 case 2 :
9073 { 9073 // InternalApplicationConfiguration.g:3306:4: ( (lv_setsSum_3_0= '=' ) )
9074 newCompositeNode(grammarAccess.getIntEnumberationRule()); 9074 {
9075 pushFollow(FOLLOW_1); 9075 // InternalApplicationConfiguration.g:3306:4: ( (lv_setsSum_3_0= '=' ) )
9076 iv_ruleIntEnumberation=ruleIntEnumberation(); 9076 // InternalApplicationConfiguration.g:3307:5: (lv_setsSum_3_0= '=' )
9077 9077 {
9078 state._fsp--; 9078 // InternalApplicationConfiguration.g:3307:5: (lv_setsSum_3_0= '=' )
9079 9079 // InternalApplicationConfiguration.g:3308:6: lv_setsSum_3_0= '='
9080 current =iv_ruleIntEnumberation; 9080 {
9081 match(input,EOF,FOLLOW_2); 9081 lv_setsSum_3_0=(Token)match(input,18,FOLLOW_35);
9082 9082
9083 } 9083 newLeafNode(lv_setsSum_3_0, grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
9084 9084
9085 } 9085
9086 9086 if (current==null) {
9087 catch (RecognitionException re) { 9087 current = createModelElement(grammarAccess.getRealTypeScopeRule());
9088 recover(input,re); 9088 }
9089 appendSkippedTokens(); 9089 setWithLastConsumed(current, "setsSum", true, "=");
9090 } 9090
9091 finally { 9091
9092 } 9092 }
9093 return current; 9093
9094 } 9094
9095 // $ANTLR end "entryRuleIntEnumberation" 9095 }
9096 9096
9097 9097
9098 // $ANTLR start "ruleIntEnumberation" 9098 }
9099 // InternalApplicationConfiguration.g:3314:1: ruleIntEnumberation returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) ; 9099 break;
9100 public final EObject ruleIntEnumberation() throws RecognitionException { 9100
9101 EObject current = null; 9101 }
9102 9102
9103 Token otherlv_1=null; 9103 // InternalApplicationConfiguration.g:3321:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) )
9104 Token otherlv_3=null; 9104 int alt46=3;
9105 Token otherlv_5=null; 9105 switch ( input.LA(1) ) {
9106 AntlrDatatypeRuleToken lv_entry_2_0 = null; 9106 case RULE_INT:
9107 9107 {
9108 AntlrDatatypeRuleToken lv_entry_4_0 = null; 9108 int LA46_1 = input.LA(2);
9109 9109
9110 9110 if ( (LA46_1==43) ) {
9111 9111 alt46=2;
9112 enterRule(); 9112 }
9113 9113 else if ( (LA46_1==EOF||(LA46_1>=20 && LA46_1<=21)) ) {
9114 try { 9114 alt46=1;
9115 // InternalApplicationConfiguration.g:3320:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) ) 9115 }
9116 // InternalApplicationConfiguration.g:3321:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) 9116 else {
9117 { 9117 NoViableAltException nvae =
9118 // InternalApplicationConfiguration.g:3321:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) 9118 new NoViableAltException("", 46, 1, input);
9119 // InternalApplicationConfiguration.g:3322:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' 9119
9120 { 9120 throw nvae;
9121 // InternalApplicationConfiguration.g:3322:3: () 9121 }
9122 // InternalApplicationConfiguration.g:3323:4: 9122 }
9123 { 9123 break;
9124 9124 case 42:
9125 current = forceCreateModelElement( 9125 {
9126 grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0(), 9126 alt46=1;
9127 current); 9127 }
9128 9128 break;
9129 9129 case 19:
9130 } 9130 {
9131 9131 alt46=3;
9132 otherlv_1=(Token)match(input,18,FOLLOW_36); 9132 }
9133 9133 break;
9134 newLeafNode(otherlv_1, grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1()); 9134 default:
9135 9135 NoViableAltException nvae =
9136 // InternalApplicationConfiguration.g:3333:3: ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? 9136 new NoViableAltException("", 46, 0, input);
9137 int alt48=2; 9137
9138 int LA48_0 = input.LA(1); 9138 throw nvae;
9139 9139 }
9140 if ( (LA48_0==RULE_INT||LA48_0==12) ) { 9140
9141 alt48=1; 9141 switch (alt46) {
9142 } 9142 case 1 :
9143 switch (alt48) { 9143 // InternalApplicationConfiguration.g:3322:4: ( (lv_number_4_0= ruleExactNumber ) )
9144 case 1 : 9144 {
9145 // InternalApplicationConfiguration.g:3334:4: ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* 9145 // InternalApplicationConfiguration.g:3322:4: ( (lv_number_4_0= ruleExactNumber ) )
9146 { 9146 // InternalApplicationConfiguration.g:3323:5: (lv_number_4_0= ruleExactNumber )
9147 // InternalApplicationConfiguration.g:3334:4: ( (lv_entry_2_0= ruleINTLiteral ) ) 9147 {
9148 // InternalApplicationConfiguration.g:3335:5: (lv_entry_2_0= ruleINTLiteral ) 9148 // InternalApplicationConfiguration.g:3323:5: (lv_number_4_0= ruleExactNumber )
9149 { 9149 // InternalApplicationConfiguration.g:3324:6: lv_number_4_0= ruleExactNumber
9150 // InternalApplicationConfiguration.g:3335:5: (lv_entry_2_0= ruleINTLiteral ) 9150 {
9151 // InternalApplicationConfiguration.g:3336:6: lv_entry_2_0= ruleINTLiteral 9151
9152 { 9152 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
9153 9153
9154 newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0()); 9154 pushFollow(FOLLOW_2);
9155 9155 lv_number_4_0=ruleExactNumber();
9156 pushFollow(FOLLOW_14); 9156
9157 lv_entry_2_0=ruleINTLiteral(); 9157 state._fsp--;
9158 9158
9159 state._fsp--; 9159
9160 9160 if (current==null) {
9161 9161 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule());
9162 if (current==null) { 9162 }
9163 current = createModelElementForParent(grammarAccess.getIntEnumberationRule()); 9163 set(
9164 } 9164 current,
9165 add( 9165 "number",
9166 current, 9166 lv_number_4_0,
9167 "entry", 9167 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
9168 lv_entry_2_0, 9168 afterParserOrEnumRuleCall();
9169 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); 9169
9170 afterParserOrEnumRuleCall(); 9170
9171 9171 }
9172 9172
9173 } 9173
9174 9174 }
9175 9175
9176 } 9176
9177 9177 }
9178 // InternalApplicationConfiguration.g:3353:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* 9178 break;
9179 loop47: 9179 case 2 :
9180 do { 9180 // InternalApplicationConfiguration.g:3342:4: ( (lv_number_5_0= ruleIntervallNumber ) )
9181 int alt47=2; 9181 {
9182 int LA47_0 = input.LA(1); 9182 // InternalApplicationConfiguration.g:3342:4: ( (lv_number_5_0= ruleIntervallNumber ) )
9183 9183 // InternalApplicationConfiguration.g:3343:5: (lv_number_5_0= ruleIntervallNumber )
9184 if ( (LA47_0==19) ) { 9184 {
9185 alt47=1; 9185 // InternalApplicationConfiguration.g:3343:5: (lv_number_5_0= ruleIntervallNumber )
9186 } 9186 // InternalApplicationConfiguration.g:3344:6: lv_number_5_0= ruleIntervallNumber
9187 9187 {
9188 9188
9189 switch (alt47) { 9189 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
9190 case 1 : 9190
9191 // InternalApplicationConfiguration.g:3354:5: otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) 9191 pushFollow(FOLLOW_2);
9192 { 9192 lv_number_5_0=ruleIntervallNumber();
9193 otherlv_3=(Token)match(input,19,FOLLOW_37); 9193
9194 9194 state._fsp--;
9195 newLeafNode(otherlv_3, grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0()); 9195
9196 9196
9197 // InternalApplicationConfiguration.g:3358:5: ( (lv_entry_4_0= ruleINTLiteral ) ) 9197 if (current==null) {
9198 // InternalApplicationConfiguration.g:3359:6: (lv_entry_4_0= ruleINTLiteral ) 9198 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule());
9199 { 9199 }
9200 // InternalApplicationConfiguration.g:3359:6: (lv_entry_4_0= ruleINTLiteral ) 9200 set(
9201 // InternalApplicationConfiguration.g:3360:7: lv_entry_4_0= ruleINTLiteral 9201 current,
9202 { 9202 "number",
9203 9203 lv_number_5_0,
9204 newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0()); 9204 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
9205 9205 afterParserOrEnumRuleCall();
9206 pushFollow(FOLLOW_14); 9206
9207 lv_entry_4_0=ruleINTLiteral(); 9207
9208 9208 }
9209 state._fsp--; 9209
9210 9210
9211 9211 }
9212 if (current==null) { 9212
9213 current = createModelElementForParent(grammarAccess.getIntEnumberationRule()); 9213
9214 } 9214 }
9215 add( 9215 break;
9216 current, 9216 case 3 :
9217 "entry", 9217 // InternalApplicationConfiguration.g:3362:4: ( (lv_number_6_0= ruleRealEnumeration ) )
9218 lv_entry_4_0, 9218 {
9219 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); 9219 // InternalApplicationConfiguration.g:3362:4: ( (lv_number_6_0= ruleRealEnumeration ) )
9220 afterParserOrEnumRuleCall(); 9220 // InternalApplicationConfiguration.g:3363:5: (lv_number_6_0= ruleRealEnumeration )
9221 9221 {
9222 9222 // InternalApplicationConfiguration.g:3363:5: (lv_number_6_0= ruleRealEnumeration )
9223 } 9223 // InternalApplicationConfiguration.g:3364:6: lv_number_6_0= ruleRealEnumeration
9224 9224 {
9225 9225
9226 } 9226 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0());
9227 9227
9228 9228 pushFollow(FOLLOW_2);
9229 } 9229 lv_number_6_0=ruleRealEnumeration();
9230 break; 9230
9231 9231 state._fsp--;
9232 default : 9232
9233 break loop47; 9233
9234 } 9234 if (current==null) {
9235 } while (true); 9235 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule());
9236 9236 }
9237 9237 set(
9238 } 9238 current,
9239 break; 9239 "number",
9240 9240 lv_number_6_0,
9241 } 9241 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealEnumeration");
9242 9242 afterParserOrEnumRuleCall();
9243 otherlv_5=(Token)match(input,20,FOLLOW_2); 9243
9244 9244
9245 newLeafNode(otherlv_5, grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3()); 9245 }
9246 9246
9247 9247
9248 } 9248 }
9249 9249
9250 9250
9251 } 9251 }
9252 9252 break;
9253 9253
9254 leaveRule(); 9254 }
9255 9255
9256 } 9256
9257 9257 }
9258 catch (RecognitionException re) { 9258
9259 recover(input,re); 9259
9260 appendSkippedTokens(); 9260 }
9261 } 9261
9262 finally { 9262
9263 } 9263 leaveRule();
9264 return current; 9264
9265 } 9265 }
9266 // $ANTLR end "ruleIntEnumberation" 9266
9267 9267 catch (RecognitionException re) {
9268 9268 recover(input,re);
9269 // $ANTLR start "entryRuleRealEnumeration" 9269 appendSkippedTokens();
9270 // InternalApplicationConfiguration.g:3387:1: entryRuleRealEnumeration returns [EObject current=null] : iv_ruleRealEnumeration= ruleRealEnumeration EOF ; 9270 }
9271 public final EObject entryRuleRealEnumeration() throws RecognitionException { 9271 finally {
9272 EObject current = null; 9272 }
9273 9273 return current;
9274 EObject iv_ruleRealEnumeration = null; 9274 }
9275 9275 // $ANTLR end "ruleRealTypeScope"
9276 9276
9277 try { 9277
9278 // InternalApplicationConfiguration.g:3387:56: (iv_ruleRealEnumeration= ruleRealEnumeration EOF ) 9278 // $ANTLR start "entryRuleStringTypeScope"
9279 // InternalApplicationConfiguration.g:3388:2: iv_ruleRealEnumeration= ruleRealEnumeration EOF 9279 // InternalApplicationConfiguration.g:3386:1: entryRuleStringTypeScope returns [EObject current=null] : iv_ruleStringTypeScope= ruleStringTypeScope EOF ;
9280 { 9280 public final EObject entryRuleStringTypeScope() throws RecognitionException {
9281 newCompositeNode(grammarAccess.getRealEnumerationRule()); 9281 EObject current = null;
9282 pushFollow(FOLLOW_1); 9282
9283 iv_ruleRealEnumeration=ruleRealEnumeration(); 9283 EObject iv_ruleStringTypeScope = null;
9284 9284
9285 state._fsp--; 9285
9286 9286 try {
9287 current =iv_ruleRealEnumeration; 9287 // InternalApplicationConfiguration.g:3386:56: (iv_ruleStringTypeScope= ruleStringTypeScope EOF )
9288 match(input,EOF,FOLLOW_2); 9288 // InternalApplicationConfiguration.g:3387:2: iv_ruleStringTypeScope= ruleStringTypeScope EOF
9289 9289 {
9290 } 9290 newCompositeNode(grammarAccess.getStringTypeScopeRule());
9291 9291 pushFollow(FOLLOW_1);
9292 } 9292 iv_ruleStringTypeScope=ruleStringTypeScope();
9293 9293
9294 catch (RecognitionException re) { 9294 state._fsp--;
9295 recover(input,re); 9295
9296 appendSkippedTokens(); 9296 current =iv_ruleStringTypeScope;
9297 } 9297 match(input,EOF,FOLLOW_2);
9298 finally { 9298
9299 } 9299 }
9300 return current; 9300
9301 } 9301 }
9302 // $ANTLR end "entryRuleRealEnumeration" 9302
9303 9303 catch (RecognitionException re) {
9304 9304 recover(input,re);
9305 // $ANTLR start "ruleRealEnumeration" 9305 appendSkippedTokens();
9306 // InternalApplicationConfiguration.g:3394:1: ruleRealEnumeration returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) ; 9306 }
9307 public final EObject ruleRealEnumeration() throws RecognitionException { 9307 finally {
9308 EObject current = null; 9308 }
9309 9309 return current;
9310 Token otherlv_1=null; 9310 }
9311 Token otherlv_3=null; 9311 // $ANTLR end "entryRuleStringTypeScope"
9312 Token otherlv_5=null; 9312
9313 AntlrDatatypeRuleToken lv_entry_2_0 = null; 9313
9314 9314 // $ANTLR start "ruleStringTypeScope"
9315 AntlrDatatypeRuleToken lv_entry_4_0 = null; 9315 // InternalApplicationConfiguration.g:3393:1: ruleStringTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) ;
9316 9316 public final EObject ruleStringTypeScope() throws RecognitionException {
9317 9317 EObject current = null;
9318 9318
9319 enterRule(); 9319 Token otherlv_0=null;
9320 9320 Token lv_setsNew_2_0=null;
9321 try { 9321 Token lv_setsSum_3_0=null;
9322 // InternalApplicationConfiguration.g:3400:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) ) 9322 EObject lv_type_1_0 = null;
9323 // InternalApplicationConfiguration.g:3401:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) 9323
9324 { 9324 EObject lv_number_4_0 = null;
9325 // InternalApplicationConfiguration.g:3401:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) 9325
9326 // InternalApplicationConfiguration.g:3402:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' 9326 EObject lv_number_5_0 = null;
9327 { 9327
9328 // InternalApplicationConfiguration.g:3402:3: () 9328 EObject lv_number_6_0 = null;
9329 // InternalApplicationConfiguration.g:3403:4: 9329
9330 { 9330
9331 9331
9332 current = forceCreateModelElement( 9332 enterRule();
9333 grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0(), 9333
9334 current); 9334 try {
9335 9335 // InternalApplicationConfiguration.g:3399:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) )
9336 9336 // InternalApplicationConfiguration.g:3400:2: (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) )
9337 } 9337 {
9338 9338 // InternalApplicationConfiguration.g:3400:2: (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) )
9339 otherlv_1=(Token)match(input,18,FOLLOW_36); 9339 // InternalApplicationConfiguration.g:3401:3: otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) )
9340 9340 {
9341 newLeafNode(otherlv_1, grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1()); 9341 otherlv_0=(Token)match(input,34,FOLLOW_37);
9342 9342
9343 // InternalApplicationConfiguration.g:3413:3: ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? 9343 newLeafNode(otherlv_0, grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0());
9344 int alt50=2; 9344
9345 int LA50_0 = input.LA(1); 9345 // InternalApplicationConfiguration.g:3405:3: ( (lv_type_1_0= ruleStringReference ) )
9346 9346 // InternalApplicationConfiguration.g:3406:4: (lv_type_1_0= ruleStringReference )
9347 if ( (LA50_0==RULE_INT||LA50_0==12) ) { 9347 {
9348 alt50=1; 9348 // InternalApplicationConfiguration.g:3406:4: (lv_type_1_0= ruleStringReference )
9349 } 9349 // InternalApplicationConfiguration.g:3407:5: lv_type_1_0= ruleStringReference
9350 switch (alt50) { 9350 {
9351 case 1 : 9351
9352 // InternalApplicationConfiguration.g:3414:4: ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* 9352 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0());
9353 { 9353
9354 // InternalApplicationConfiguration.g:3414:4: ( (lv_entry_2_0= ruleREALLiteral ) ) 9354 pushFollow(FOLLOW_31);
9355 // InternalApplicationConfiguration.g:3415:5: (lv_entry_2_0= ruleREALLiteral ) 9355 lv_type_1_0=ruleStringReference();
9356 { 9356
9357 // InternalApplicationConfiguration.g:3415:5: (lv_entry_2_0= ruleREALLiteral ) 9357 state._fsp--;
9358 // InternalApplicationConfiguration.g:3416:6: lv_entry_2_0= ruleREALLiteral 9358
9359 { 9359
9360 9360 if (current==null) {
9361 newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0()); 9361 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule());
9362 9362 }
9363 pushFollow(FOLLOW_14); 9363 set(
9364 lv_entry_2_0=ruleREALLiteral(); 9364 current,
9365 9365 "type",
9366 state._fsp--; 9366 lv_type_1_0,
9367 9367 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringReference");
9368 9368 afterParserOrEnumRuleCall();
9369 if (current==null) { 9369
9370 current = createModelElementForParent(grammarAccess.getRealEnumerationRule()); 9370
9371 } 9371 }
9372 add( 9372
9373 current, 9373
9374 "entry", 9374 }
9375 lv_entry_2_0, 9375
9376 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); 9376 // InternalApplicationConfiguration.g:3424:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) )
9377 afterParserOrEnumRuleCall(); 9377 int alt47=2;
9378 9378 int LA47_0 = input.LA(1);
9379 9379
9380 } 9380 if ( (LA47_0==35) ) {
9381 9381 alt47=1;
9382 9382 }
9383 } 9383 else if ( (LA47_0==18) ) {
9384 9384 alt47=2;
9385 // InternalApplicationConfiguration.g:3433:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* 9385 }
9386 loop49: 9386 else {
9387 do { 9387 NoViableAltException nvae =
9388 int alt49=2; 9388 new NoViableAltException("", 47, 0, input);
9389 int LA49_0 = input.LA(1); 9389
9390 9390 throw nvae;
9391 if ( (LA49_0==19) ) { 9391 }
9392 alt49=1; 9392 switch (alt47) {
9393 } 9393 case 1 :
9394 9394 // InternalApplicationConfiguration.g:3425:4: ( (lv_setsNew_2_0= '+=' ) )
9395 9395 {
9396 switch (alt49) { 9396 // InternalApplicationConfiguration.g:3425:4: ( (lv_setsNew_2_0= '+=' ) )
9397 case 1 : 9397 // InternalApplicationConfiguration.g:3426:5: (lv_setsNew_2_0= '+=' )
9398 // InternalApplicationConfiguration.g:3434:5: otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) 9398 {
9399 { 9399 // InternalApplicationConfiguration.g:3426:5: (lv_setsNew_2_0= '+=' )
9400 otherlv_3=(Token)match(input,19,FOLLOW_37); 9400 // InternalApplicationConfiguration.g:3427:6: lv_setsNew_2_0= '+='
9401 9401 {
9402 newLeafNode(otherlv_3, grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0()); 9402 lv_setsNew_2_0=(Token)match(input,35,FOLLOW_35);
9403 9403
9404 // InternalApplicationConfiguration.g:3438:5: ( (lv_entry_4_0= ruleREALLiteral ) ) 9404 newLeafNode(lv_setsNew_2_0, grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
9405 // InternalApplicationConfiguration.g:3439:6: (lv_entry_4_0= ruleREALLiteral ) 9405
9406 { 9406
9407 // InternalApplicationConfiguration.g:3439:6: (lv_entry_4_0= ruleREALLiteral ) 9407 if (current==null) {
9408 // InternalApplicationConfiguration.g:3440:7: lv_entry_4_0= ruleREALLiteral 9408 current = createModelElement(grammarAccess.getStringTypeScopeRule());
9409 { 9409 }
9410 9410 setWithLastConsumed(current, "setsNew", true, "+=");
9411 newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0()); 9411
9412 9412
9413 pushFollow(FOLLOW_14); 9413 }
9414 lv_entry_4_0=ruleREALLiteral(); 9414
9415 9415
9416 state._fsp--; 9416 }
9417 9417
9418 9418
9419 if (current==null) { 9419 }
9420 current = createModelElementForParent(grammarAccess.getRealEnumerationRule()); 9420 break;
9421 } 9421 case 2 :
9422 add( 9422 // InternalApplicationConfiguration.g:3440:4: ( (lv_setsSum_3_0= '=' ) )
9423 current, 9423 {
9424 "entry", 9424 // InternalApplicationConfiguration.g:3440:4: ( (lv_setsSum_3_0= '=' ) )
9425 lv_entry_4_0, 9425 // InternalApplicationConfiguration.g:3441:5: (lv_setsSum_3_0= '=' )
9426 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); 9426 {
9427 afterParserOrEnumRuleCall(); 9427 // InternalApplicationConfiguration.g:3441:5: (lv_setsSum_3_0= '=' )
9428 9428 // InternalApplicationConfiguration.g:3442:6: lv_setsSum_3_0= '='
9429 9429 {
9430 } 9430 lv_setsSum_3_0=(Token)match(input,18,FOLLOW_35);
9431 9431
9432 9432 newLeafNode(lv_setsSum_3_0, grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
9433 } 9433
9434 9434
9435 9435 if (current==null) {
9436 } 9436 current = createModelElement(grammarAccess.getStringTypeScopeRule());
9437 break; 9437 }
9438 9438 setWithLastConsumed(current, "setsSum", true, "=");
9439 default : 9439
9440 break loop49; 9440
9441 } 9441 }
9442 } while (true); 9442
9443 9443
9444 9444 }
9445 } 9445
9446 break; 9446
9447 9447 }
9448 } 9448 break;
9449 9449
9450 otherlv_5=(Token)match(input,20,FOLLOW_2); 9450 }
9451 9451
9452 newLeafNode(otherlv_5, grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3()); 9452 // InternalApplicationConfiguration.g:3455:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) )
9453 9453 int alt48=3;
9454 9454 switch ( input.LA(1) ) {
9455 } 9455 case RULE_INT:
9456 9456 {
9457 9457 int LA48_1 = input.LA(2);
9458 } 9458
9459 9459 if ( (LA48_1==43) ) {
9460 9460 alt48=2;
9461 leaveRule(); 9461 }
9462 9462 else if ( (LA48_1==EOF||(LA48_1>=20 && LA48_1<=21)) ) {
9463 } 9463 alt48=1;
9464 9464 }
9465 catch (RecognitionException re) { 9465 else {
9466 recover(input,re); 9466 NoViableAltException nvae =
9467 appendSkippedTokens(); 9467 new NoViableAltException("", 48, 1, input);
9468 } 9468
9469 finally { 9469 throw nvae;
9470 } 9470 }
9471 return current; 9471 }
9472 } 9472 break;
9473 // $ANTLR end "ruleRealEnumeration" 9473 case 42:
9474 9474 {
9475 9475 alt48=1;
9476 // $ANTLR start "entryRuleStringEnumeration" 9476 }
9477 // InternalApplicationConfiguration.g:3467:1: entryRuleStringEnumeration returns [EObject current=null] : iv_ruleStringEnumeration= ruleStringEnumeration EOF ; 9477 break;
9478 public final EObject entryRuleStringEnumeration() throws RecognitionException { 9478 case 19:
9479 EObject current = null; 9479 {
9480 9480 alt48=3;
9481 EObject iv_ruleStringEnumeration = null; 9481 }
9482 9482 break;
9483 9483 default:
9484 try { 9484 NoViableAltException nvae =
9485 // InternalApplicationConfiguration.g:3467:58: (iv_ruleStringEnumeration= ruleStringEnumeration EOF ) 9485 new NoViableAltException("", 48, 0, input);
9486 // InternalApplicationConfiguration.g:3468:2: iv_ruleStringEnumeration= ruleStringEnumeration EOF 9486
9487 { 9487 throw nvae;
9488 newCompositeNode(grammarAccess.getStringEnumerationRule()); 9488 }
9489 pushFollow(FOLLOW_1); 9489
9490 iv_ruleStringEnumeration=ruleStringEnumeration(); 9490 switch (alt48) {
9491 9491 case 1 :
9492 state._fsp--; 9492 // InternalApplicationConfiguration.g:3456:4: ( (lv_number_4_0= ruleExactNumber ) )
9493 9493 {
9494 current =iv_ruleStringEnumeration; 9494 // InternalApplicationConfiguration.g:3456:4: ( (lv_number_4_0= ruleExactNumber ) )
9495 match(input,EOF,FOLLOW_2); 9495 // InternalApplicationConfiguration.g:3457:5: (lv_number_4_0= ruleExactNumber )
9496 9496 {
9497 } 9497 // InternalApplicationConfiguration.g:3457:5: (lv_number_4_0= ruleExactNumber )
9498 9498 // InternalApplicationConfiguration.g:3458:6: lv_number_4_0= ruleExactNumber
9499 } 9499 {
9500 9500
9501 catch (RecognitionException re) { 9501 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
9502 recover(input,re); 9502
9503 appendSkippedTokens(); 9503 pushFollow(FOLLOW_2);
9504 } 9504 lv_number_4_0=ruleExactNumber();
9505 finally { 9505
9506 } 9506 state._fsp--;
9507 return current; 9507
9508 } 9508
9509 // $ANTLR end "entryRuleStringEnumeration" 9509 if (current==null) {
9510 9510 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule());
9511 9511 }
9512 // $ANTLR start "ruleStringEnumeration" 9512 set(
9513 // InternalApplicationConfiguration.g:3474:1: ruleStringEnumeration returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) ; 9513 current,
9514 public final EObject ruleStringEnumeration() throws RecognitionException { 9514 "number",
9515 EObject current = null; 9515 lv_number_4_0,
9516 9516 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
9517 Token otherlv_1=null; 9517 afterParserOrEnumRuleCall();
9518 Token lv_entry_2_0=null; 9518
9519 Token otherlv_3=null; 9519
9520 Token lv_entry_4_0=null; 9520 }
9521 Token otherlv_5=null; 9521
9522 9522
9523 9523 }
9524 enterRule(); 9524
9525 9525
9526 try { 9526 }
9527 // InternalApplicationConfiguration.g:3480:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) ) 9527 break;
9528 // InternalApplicationConfiguration.g:3481:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) 9528 case 2 :
9529 { 9529 // InternalApplicationConfiguration.g:3476:4: ( (lv_number_5_0= ruleIntervallNumber ) )
9530 // InternalApplicationConfiguration.g:3481:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) 9530 {
9531 // InternalApplicationConfiguration.g:3482:3: () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' 9531 // InternalApplicationConfiguration.g:3476:4: ( (lv_number_5_0= ruleIntervallNumber ) )
9532 { 9532 // InternalApplicationConfiguration.g:3477:5: (lv_number_5_0= ruleIntervallNumber )
9533 // InternalApplicationConfiguration.g:3482:3: () 9533 {
9534 // InternalApplicationConfiguration.g:3483:4: 9534 // InternalApplicationConfiguration.g:3477:5: (lv_number_5_0= ruleIntervallNumber )
9535 { 9535 // InternalApplicationConfiguration.g:3478:6: lv_number_5_0= ruleIntervallNumber
9536 9536 {
9537 current = forceCreateModelElement( 9537
9538 grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0(), 9538 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
9539 current); 9539
9540 9540 pushFollow(FOLLOW_2);
9541 9541 lv_number_5_0=ruleIntervallNumber();
9542 } 9542
9543 9543 state._fsp--;
9544 otherlv_1=(Token)match(input,18,FOLLOW_38); 9544
9545 9545
9546 newLeafNode(otherlv_1, grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1()); 9546 if (current==null) {
9547 9547 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule());
9548 // InternalApplicationConfiguration.g:3493:3: ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? 9548 }
9549 int alt52=2; 9549 set(
9550 int LA52_0 = input.LA(1); 9550 current,
9551 9551 "number",
9552 if ( (LA52_0==RULE_STRING) ) { 9552 lv_number_5_0,
9553 alt52=1; 9553 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
9554 } 9554 afterParserOrEnumRuleCall();
9555 switch (alt52) { 9555
9556 case 1 : 9556
9557 // InternalApplicationConfiguration.g:3494:4: ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* 9557 }
9558 { 9558
9559 // InternalApplicationConfiguration.g:3494:4: ( (lv_entry_2_0= RULE_STRING ) ) 9559
9560 // InternalApplicationConfiguration.g:3495:5: (lv_entry_2_0= RULE_STRING ) 9560 }
9561 { 9561
9562 // InternalApplicationConfiguration.g:3495:5: (lv_entry_2_0= RULE_STRING ) 9562
9563 // InternalApplicationConfiguration.g:3496:6: lv_entry_2_0= RULE_STRING 9563 }
9564 { 9564 break;
9565 lv_entry_2_0=(Token)match(input,RULE_STRING,FOLLOW_14); 9565 case 3 :
9566 9566 // InternalApplicationConfiguration.g:3496:4: ( (lv_number_6_0= ruleStringEnumeration ) )
9567 newLeafNode(lv_entry_2_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_0_0()); 9567 {
9568 9568 // InternalApplicationConfiguration.g:3496:4: ( (lv_number_6_0= ruleStringEnumeration ) )
9569 9569 // InternalApplicationConfiguration.g:3497:5: (lv_number_6_0= ruleStringEnumeration )
9570 if (current==null) { 9570 {
9571 current = createModelElement(grammarAccess.getStringEnumerationRule()); 9571 // InternalApplicationConfiguration.g:3497:5: (lv_number_6_0= ruleStringEnumeration )
9572 } 9572 // InternalApplicationConfiguration.g:3498:6: lv_number_6_0= ruleStringEnumeration
9573 addWithLastConsumed( 9573 {
9574 current, 9574
9575 "entry", 9575 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0());
9576 lv_entry_2_0, 9576
9577 "org.eclipse.xtext.common.Terminals.STRING"); 9577 pushFollow(FOLLOW_2);
9578 9578 lv_number_6_0=ruleStringEnumeration();
9579 9579
9580 } 9580 state._fsp--;
9581 9581
9582 9582
9583 } 9583 if (current==null) {
9584 9584 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule());
9585 // InternalApplicationConfiguration.g:3512:4: (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* 9585 }
9586 loop51: 9586 set(
9587 do { 9587 current,
9588 int alt51=2; 9588 "number",
9589 int LA51_0 = input.LA(1); 9589 lv_number_6_0,
9590 9590 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringEnumeration");
9591 if ( (LA51_0==19) ) { 9591 afterParserOrEnumRuleCall();
9592 alt51=1; 9592
9593 } 9593
9594 9594 }
9595 9595
9596 switch (alt51) { 9596
9597 case 1 : 9597 }
9598 // InternalApplicationConfiguration.g:3513:5: otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) 9598
9599 { 9599
9600 otherlv_3=(Token)match(input,19,FOLLOW_10); 9600 }
9601 9601 break;
9602 newLeafNode(otherlv_3, grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0()); 9602
9603 9603 }
9604 // InternalApplicationConfiguration.g:3517:5: ( (lv_entry_4_0= RULE_STRING ) ) 9604
9605 // InternalApplicationConfiguration.g:3518:6: (lv_entry_4_0= RULE_STRING ) 9605
9606 { 9606 }
9607 // InternalApplicationConfiguration.g:3518:6: (lv_entry_4_0= RULE_STRING ) 9607
9608 // InternalApplicationConfiguration.g:3519:7: lv_entry_4_0= RULE_STRING 9608
9609 { 9609 }
9610 lv_entry_4_0=(Token)match(input,RULE_STRING,FOLLOW_14); 9610
9611 9611
9612 newLeafNode(lv_entry_4_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_1_1_0()); 9612 leaveRule();
9613 9613
9614 9614 }
9615 if (current==null) { 9615
9616 current = createModelElement(grammarAccess.getStringEnumerationRule()); 9616 catch (RecognitionException re) {
9617 } 9617 recover(input,re);
9618 addWithLastConsumed( 9618 appendSkippedTokens();
9619 current, 9619 }
9620 "entry", 9620 finally {
9621 lv_entry_4_0, 9621 }
9622 "org.eclipse.xtext.common.Terminals.STRING"); 9622 return current;
9623 9623 }
9624 9624 // $ANTLR end "ruleStringTypeScope"
9625 } 9625
9626 9626
9627 9627 // $ANTLR start "entryRuleClassReference"
9628 } 9628 // InternalApplicationConfiguration.g:3520:1: entryRuleClassReference returns [EObject current=null] : iv_ruleClassReference= ruleClassReference EOF ;
9629 9629 public final EObject entryRuleClassReference() throws RecognitionException {
9630 9630 EObject current = null;
9631 } 9631
9632 break; 9632 EObject iv_ruleClassReference = null;
9633 9633
9634 default : 9634
9635 break loop51; 9635 try {
9636 } 9636 // InternalApplicationConfiguration.g:3520:55: (iv_ruleClassReference= ruleClassReference EOF )
9637 } while (true); 9637 // InternalApplicationConfiguration.g:3521:2: iv_ruleClassReference= ruleClassReference EOF
9638 9638 {
9639 9639 newCompositeNode(grammarAccess.getClassReferenceRule());
9640 } 9640 pushFollow(FOLLOW_1);
9641 break; 9641 iv_ruleClassReference=ruleClassReference();
9642 9642
9643 } 9643 state._fsp--;
9644 9644
9645 otherlv_5=(Token)match(input,20,FOLLOW_2); 9645 current =iv_ruleClassReference;
9646 9646 match(input,EOF,FOLLOW_2);
9647 newLeafNode(otherlv_5, grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3()); 9647
9648 9648 }
9649 9649
9650 } 9650 }
9651 9651
9652 9652 catch (RecognitionException re) {
9653 } 9653 recover(input,re);
9654 9654 appendSkippedTokens();
9655 9655 }
9656 leaveRule(); 9656 finally {
9657 9657 }
9658 } 9658 return current;
9659 9659 }
9660 catch (RecognitionException re) { 9660 // $ANTLR end "entryRuleClassReference"
9661 recover(input,re); 9661
9662 appendSkippedTokens(); 9662
9663 } 9663 // $ANTLR start "ruleClassReference"
9664 finally { 9664 // InternalApplicationConfiguration.g:3527:1: ruleClassReference returns [EObject current=null] : (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) ;
9665 } 9665 public final EObject ruleClassReference() throws RecognitionException {
9666 return current; 9666 EObject current = null;
9667 } 9667
9668 // $ANTLR end "ruleStringEnumeration" 9668 Token otherlv_0=null;
9669 9669 Token otherlv_2=null;
9670 9670 EObject lv_element_1_0 = null;
9671 // $ANTLR start "entryRuleScopeDeclaration" 9671
9672 // InternalApplicationConfiguration.g:3545:1: entryRuleScopeDeclaration returns [EObject current=null] : iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ; 9672
9673 public final EObject entryRuleScopeDeclaration() throws RecognitionException { 9673
9674 EObject current = null; 9674 enterRule();
9675 9675
9676 EObject iv_ruleScopeDeclaration = null; 9676 try {
9677 9677 // InternalApplicationConfiguration.g:3533:2: ( (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) )
9678 9678 // InternalApplicationConfiguration.g:3534:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' )
9679 try { 9679 {
9680 // InternalApplicationConfiguration.g:3545:57: (iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ) 9680 // InternalApplicationConfiguration.g:3534:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' )
9681 // InternalApplicationConfiguration.g:3546:2: iv_ruleScopeDeclaration= ruleScopeDeclaration EOF 9681 // InternalApplicationConfiguration.g:3535:3: otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>'
9682 { 9682 {
9683 newCompositeNode(grammarAccess.getScopeDeclarationRule()); 9683 otherlv_0=(Token)match(input,36,FOLLOW_6);
9684 pushFollow(FOLLOW_1); 9684
9685 iv_ruleScopeDeclaration=ruleScopeDeclaration(); 9685 newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0());
9686 9686
9687 state._fsp--; 9687 // InternalApplicationConfiguration.g:3539:3: ( (lv_element_1_0= ruleMetamodelElement ) )
9688 9688 // InternalApplicationConfiguration.g:3540:4: (lv_element_1_0= ruleMetamodelElement )
9689 current =iv_ruleScopeDeclaration; 9689 {
9690 match(input,EOF,FOLLOW_2); 9690 // InternalApplicationConfiguration.g:3540:4: (lv_element_1_0= ruleMetamodelElement )
9691 9691 // InternalApplicationConfiguration.g:3541:5: lv_element_1_0= ruleMetamodelElement
9692 } 9692 {
9693 9693
9694 } 9694 newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0());
9695 9695
9696 catch (RecognitionException re) { 9696 pushFollow(FOLLOW_38);
9697 recover(input,re); 9697 lv_element_1_0=ruleMetamodelElement();
9698 appendSkippedTokens(); 9698
9699 } 9699 state._fsp--;
9700 finally { 9700
9701 } 9701
9702 return current; 9702 if (current==null) {
9703 } 9703 current = createModelElementForParent(grammarAccess.getClassReferenceRule());
9704 // $ANTLR end "entryRuleScopeDeclaration" 9704 }
9705 9705 set(
9706 9706 current,
9707 // $ANTLR start "ruleScopeDeclaration" 9707 "element",
9708 // InternalApplicationConfiguration.g:3552:1: ruleScopeDeclaration returns [EObject current=null] : (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ; 9708 lv_element_1_0,
9709 public final EObject ruleScopeDeclaration() throws RecognitionException { 9709 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement");
9710 EObject current = null; 9710 afterParserOrEnumRuleCall();
9711 9711
9712 Token otherlv_0=null; 9712
9713 Token lv_name_1_0=null; 9713 }
9714 EObject lv_specification_2_0 = null; 9714
9715 9715
9716 9716 }
9717 9717
9718 enterRule(); 9718 otherlv_2=(Token)match(input,37,FOLLOW_2);
9719 9719
9720 try { 9720 newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2());
9721 // InternalApplicationConfiguration.g:3558:2: ( (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ) 9721
9722 // InternalApplicationConfiguration.g:3559:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) 9722
9723 { 9723 }
9724 // InternalApplicationConfiguration.g:3559:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) 9724
9725 // InternalApplicationConfiguration.g:3560:3: otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) 9725
9726 { 9726 }
9727 otherlv_0=(Token)match(input,42,FOLLOW_6); 9727
9728 9728
9729 newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); 9729 leaveRule();
9730 9730
9731 // InternalApplicationConfiguration.g:3564:3: ( (lv_name_1_0= RULE_ID ) ) 9731 }
9732 // InternalApplicationConfiguration.g:3565:4: (lv_name_1_0= RULE_ID ) 9732
9733 { 9733 catch (RecognitionException re) {
9734 // InternalApplicationConfiguration.g:3565:4: (lv_name_1_0= RULE_ID ) 9734 recover(input,re);
9735 // InternalApplicationConfiguration.g:3566:5: lv_name_1_0= RULE_ID 9735 appendSkippedTokens();
9736 { 9736 }
9737 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); 9737 finally {
9738 9738 }
9739 newLeafNode(lv_name_1_0, grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 9739 return current;
9740 9740 }
9741 9741 // $ANTLR end "ruleClassReference"
9742 if (current==null) { 9742
9743 current = createModelElement(grammarAccess.getScopeDeclarationRule()); 9743
9744 } 9744 // $ANTLR start "entryRuleObjectReference"
9745 setWithLastConsumed( 9745 // InternalApplicationConfiguration.g:3566:1: entryRuleObjectReference returns [EObject current=null] : iv_ruleObjectReference= ruleObjectReference EOF ;
9746 current, 9746 public final EObject entryRuleObjectReference() throws RecognitionException {
9747 "name", 9747 EObject current = null;
9748 lv_name_1_0, 9748
9749 "org.eclipse.xtext.common.Terminals.ID"); 9749 EObject iv_ruleObjectReference = null;
9750 9750
9751 9751
9752 } 9752 try {
9753 9753 // InternalApplicationConfiguration.g:3566:56: (iv_ruleObjectReference= ruleObjectReference EOF )
9754 9754 // InternalApplicationConfiguration.g:3567:2: iv_ruleObjectReference= ruleObjectReference EOF
9755 } 9755 {
9756 9756 newCompositeNode(grammarAccess.getObjectReferenceRule());
9757 // InternalApplicationConfiguration.g:3582:3: ( (lv_specification_2_0= ruleScopeSpecification ) ) 9757 pushFollow(FOLLOW_1);
9758 // InternalApplicationConfiguration.g:3583:4: (lv_specification_2_0= ruleScopeSpecification ) 9758 iv_ruleObjectReference=ruleObjectReference();
9759 { 9759
9760 // InternalApplicationConfiguration.g:3583:4: (lv_specification_2_0= ruleScopeSpecification ) 9760 state._fsp--;
9761 // InternalApplicationConfiguration.g:3584:5: lv_specification_2_0= ruleScopeSpecification 9761
9762 { 9762 current =iv_ruleObjectReference;
9763 9763 match(input,EOF,FOLLOW_2);
9764 newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); 9764
9765 9765 }
9766 pushFollow(FOLLOW_2); 9766
9767 lv_specification_2_0=ruleScopeSpecification(); 9767 }
9768 9768
9769 state._fsp--; 9769 catch (RecognitionException re) {
9770 9770 recover(input,re);
9771 9771 appendSkippedTokens();
9772 if (current==null) { 9772 }
9773 current = createModelElementForParent(grammarAccess.getScopeDeclarationRule()); 9773 finally {
9774 } 9774 }
9775 set( 9775 return current;
9776 current, 9776 }
9777 "specification", 9777 // $ANTLR end "entryRuleObjectReference"
9778 lv_specification_2_0, 9778
9779 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification"); 9779
9780 afterParserOrEnumRuleCall(); 9780 // $ANTLR start "ruleObjectReference"
9781 9781 // InternalApplicationConfiguration.g:3573:1: ruleObjectReference returns [EObject current=null] : ( () otherlv_1= 'node' ) ;
9782 9782 public final EObject ruleObjectReference() throws RecognitionException {
9783 } 9783 EObject current = null;
9784 9784
9785 9785 Token otherlv_1=null;
9786 } 9786
9787 9787
9788 9788 enterRule();
9789 } 9789
9790 9790 try {
9791 9791 // InternalApplicationConfiguration.g:3579:2: ( ( () otherlv_1= 'node' ) )
9792 } 9792 // InternalApplicationConfiguration.g:3580:2: ( () otherlv_1= 'node' )
9793 9793 {
9794 9794 // InternalApplicationConfiguration.g:3580:2: ( () otherlv_1= 'node' )
9795 leaveRule(); 9795 // InternalApplicationConfiguration.g:3581:3: () otherlv_1= 'node'
9796 9796 {
9797 } 9797 // InternalApplicationConfiguration.g:3581:3: ()
9798 9798 // InternalApplicationConfiguration.g:3582:4:
9799 catch (RecognitionException re) { 9799 {
9800 recover(input,re); 9800
9801 appendSkippedTokens(); 9801 current = forceCreateModelElement(
9802 } 9802 grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(),
9803 finally { 9803 current);
9804 } 9804
9805 return current; 9805
9806 } 9806 }
9807 // $ANTLR end "ruleScopeDeclaration" 9807
9808 9808 otherlv_1=(Token)match(input,38,FOLLOW_2);
9809 9809
9810 // $ANTLR start "entryRuleScopeReference" 9810 newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getNodeKeyword_1());
9811 // InternalApplicationConfiguration.g:3605:1: entryRuleScopeReference returns [EObject current=null] : iv_ruleScopeReference= ruleScopeReference EOF ; 9811
9812 public final EObject entryRuleScopeReference() throws RecognitionException { 9812
9813 EObject current = null; 9813 }
9814 9814
9815 EObject iv_ruleScopeReference = null; 9815
9816 9816 }
9817 9817
9818 try { 9818
9819 // InternalApplicationConfiguration.g:3605:55: (iv_ruleScopeReference= ruleScopeReference EOF ) 9819 leaveRule();
9820 // InternalApplicationConfiguration.g:3606:2: iv_ruleScopeReference= ruleScopeReference EOF 9820
9821 { 9821 }
9822 newCompositeNode(grammarAccess.getScopeReferenceRule()); 9822
9823 pushFollow(FOLLOW_1); 9823 catch (RecognitionException re) {
9824 iv_ruleScopeReference=ruleScopeReference(); 9824 recover(input,re);
9825 9825 appendSkippedTokens();
9826 state._fsp--; 9826 }
9827 9827 finally {
9828 current =iv_ruleScopeReference; 9828 }
9829 match(input,EOF,FOLLOW_2); 9829 return current;
9830 9830 }
9831 } 9831 // $ANTLR end "ruleObjectReference"
9832 9832
9833 } 9833
9834 9834 // $ANTLR start "entryRuleIntegerReference"
9835 catch (RecognitionException re) { 9835 // InternalApplicationConfiguration.g:3596:1: entryRuleIntegerReference returns [EObject current=null] : iv_ruleIntegerReference= ruleIntegerReference EOF ;
9836 recover(input,re); 9836 public final EObject entryRuleIntegerReference() throws RecognitionException {
9837 appendSkippedTokens(); 9837 EObject current = null;
9838 } 9838
9839 finally { 9839 EObject iv_ruleIntegerReference = null;
9840 } 9840
9841 return current; 9841
9842 } 9842 try {
9843 // $ANTLR end "entryRuleScopeReference" 9843 // InternalApplicationConfiguration.g:3596:57: (iv_ruleIntegerReference= ruleIntegerReference EOF )
9844 9844 // InternalApplicationConfiguration.g:3597:2: iv_ruleIntegerReference= ruleIntegerReference EOF
9845 9845 {
9846 // $ANTLR start "ruleScopeReference" 9846 newCompositeNode(grammarAccess.getIntegerReferenceRule());
9847 // InternalApplicationConfiguration.g:3612:1: ruleScopeReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; 9847 pushFollow(FOLLOW_1);
9848 public final EObject ruleScopeReference() throws RecognitionException { 9848 iv_ruleIntegerReference=ruleIntegerReference();
9849 EObject current = null; 9849
9850 9850 state._fsp--;
9851 Token otherlv_0=null; 9851
9852 9852 current =iv_ruleIntegerReference;
9853 9853 match(input,EOF,FOLLOW_2);
9854 enterRule(); 9854
9855 9855 }
9856 try { 9856
9857 // InternalApplicationConfiguration.g:3618:2: ( ( (otherlv_0= RULE_ID ) ) ) 9857 }
9858 // InternalApplicationConfiguration.g:3619:2: ( (otherlv_0= RULE_ID ) ) 9858
9859 { 9859 catch (RecognitionException re) {
9860 // InternalApplicationConfiguration.g:3619:2: ( (otherlv_0= RULE_ID ) ) 9860 recover(input,re);
9861 // InternalApplicationConfiguration.g:3620:3: (otherlv_0= RULE_ID ) 9861 appendSkippedTokens();
9862 { 9862 }
9863 // InternalApplicationConfiguration.g:3620:3: (otherlv_0= RULE_ID ) 9863 finally {
9864 // InternalApplicationConfiguration.g:3621:4: otherlv_0= RULE_ID 9864 }
9865 { 9865 return current;
9866 9866 }
9867 if (current==null) { 9867 // $ANTLR end "entryRuleIntegerReference"
9868 current = createModelElement(grammarAccess.getScopeReferenceRule()); 9868
9869 } 9869
9870 9870 // $ANTLR start "ruleIntegerReference"
9871 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); 9871 // InternalApplicationConfiguration.g:3603:1: ruleIntegerReference returns [EObject current=null] : ( () otherlv_1= 'int' ) ;
9872 9872 public final EObject ruleIntegerReference() throws RecognitionException {
9873 newLeafNode(otherlv_0, grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); 9873 EObject current = null;
9874 9874
9875 9875 Token otherlv_1=null;
9876 } 9876
9877 9877
9878 9878 enterRule();
9879 } 9879
9880 9880 try {
9881 9881 // InternalApplicationConfiguration.g:3609:2: ( ( () otherlv_1= 'int' ) )
9882 } 9882 // InternalApplicationConfiguration.g:3610:2: ( () otherlv_1= 'int' )
9883 9883 {
9884 9884 // InternalApplicationConfiguration.g:3610:2: ( () otherlv_1= 'int' )
9885 leaveRule(); 9885 // InternalApplicationConfiguration.g:3611:3: () otherlv_1= 'int'
9886 9886 {
9887 } 9887 // InternalApplicationConfiguration.g:3611:3: ()
9888 9888 // InternalApplicationConfiguration.g:3612:4:
9889 catch (RecognitionException re) { 9889 {
9890 recover(input,re); 9890
9891 appendSkippedTokens(); 9891 current = forceCreateModelElement(
9892 } 9892 grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(),
9893 finally { 9893 current);
9894 } 9894
9895 return current; 9895
9896 } 9896 }
9897 // $ANTLR end "ruleScopeReference" 9897
9898 9898 otherlv_1=(Token)match(input,39,FOLLOW_2);
9899 9899
9900 // $ANTLR start "entryRuleScope" 9900 newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1());
9901 // InternalApplicationConfiguration.g:3635:1: entryRuleScope returns [EObject current=null] : iv_ruleScope= ruleScope EOF ; 9901
9902 public final EObject entryRuleScope() throws RecognitionException { 9902
9903 EObject current = null; 9903 }
9904 9904
9905 EObject iv_ruleScope = null; 9905
9906 9906 }
9907 9907
9908 try { 9908
9909 // InternalApplicationConfiguration.g:3635:46: (iv_ruleScope= ruleScope EOF ) 9909 leaveRule();
9910 // InternalApplicationConfiguration.g:3636:2: iv_ruleScope= ruleScope EOF 9910
9911 { 9911 }
9912 newCompositeNode(grammarAccess.getScopeRule()); 9912
9913 pushFollow(FOLLOW_1); 9913 catch (RecognitionException re) {
9914 iv_ruleScope=ruleScope(); 9914 recover(input,re);
9915 9915 appendSkippedTokens();
9916 state._fsp--; 9916 }
9917 9917 finally {
9918 current =iv_ruleScope; 9918 }
9919 match(input,EOF,FOLLOW_2); 9919 return current;
9920 9920 }
9921 } 9921 // $ANTLR end "ruleIntegerReference"
9922 9922
9923 } 9923
9924 9924 // $ANTLR start "entryRuleRealReference"
9925 catch (RecognitionException re) { 9925 // InternalApplicationConfiguration.g:3626:1: entryRuleRealReference returns [EObject current=null] : iv_ruleRealReference= ruleRealReference EOF ;
9926 recover(input,re); 9926 public final EObject entryRuleRealReference() throws RecognitionException {
9927 appendSkippedTokens(); 9927 EObject current = null;
9928 } 9928
9929 finally { 9929 EObject iv_ruleRealReference = null;
9930 } 9930
9931 return current; 9931
9932 } 9932 try {
9933 // $ANTLR end "entryRuleScope" 9933 // InternalApplicationConfiguration.g:3626:54: (iv_ruleRealReference= ruleRealReference EOF )
9934 9934 // InternalApplicationConfiguration.g:3627:2: iv_ruleRealReference= ruleRealReference EOF
9935 9935 {
9936 // $ANTLR start "ruleScope" 9936 newCompositeNode(grammarAccess.getRealReferenceRule());
9937 // InternalApplicationConfiguration.g:3642:1: ruleScope returns [EObject current=null] : (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ; 9937 pushFollow(FOLLOW_1);
9938 public final EObject ruleScope() throws RecognitionException { 9938 iv_ruleRealReference=ruleRealReference();
9939 EObject current = null; 9939
9940 9940 state._fsp--;
9941 EObject this_ScopeSpecification_0 = null; 9941
9942 9942 current =iv_ruleRealReference;
9943 EObject this_ScopeReference_1 = null; 9943 match(input,EOF,FOLLOW_2);
9944 9944
9945 9945 }
9946 9946
9947 enterRule(); 9947 }
9948 9948
9949 try { 9949 catch (RecognitionException re) {
9950 // InternalApplicationConfiguration.g:3648:2: ( (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ) 9950 recover(input,re);
9951 // InternalApplicationConfiguration.g:3649:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) 9951 appendSkippedTokens();
9952 { 9952 }
9953 // InternalApplicationConfiguration.g:3649:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) 9953 finally {
9954 int alt53=2; 9954 }
9955 int LA53_0 = input.LA(1); 9955 return current;
9956 9956 }
9957 if ( (LA53_0==18) ) { 9957 // $ANTLR end "entryRuleRealReference"
9958 alt53=1; 9958
9959 } 9959
9960 else if ( (LA53_0==RULE_ID) ) { 9960 // $ANTLR start "ruleRealReference"
9961 alt53=2; 9961 // InternalApplicationConfiguration.g:3633:1: ruleRealReference returns [EObject current=null] : ( () otherlv_1= 'real' ) ;
9962 } 9962 public final EObject ruleRealReference() throws RecognitionException {
9963 else { 9963 EObject current = null;
9964 NoViableAltException nvae = 9964
9965 new NoViableAltException("", 53, 0, input); 9965 Token otherlv_1=null;
9966 9966
9967 throw nvae; 9967
9968 } 9968 enterRule();
9969 switch (alt53) { 9969
9970 case 1 : 9970 try {
9971 // InternalApplicationConfiguration.g:3650:3: this_ScopeSpecification_0= ruleScopeSpecification 9971 // InternalApplicationConfiguration.g:3639:2: ( ( () otherlv_1= 'real' ) )
9972 { 9972 // InternalApplicationConfiguration.g:3640:2: ( () otherlv_1= 'real' )
9973 9973 {
9974 newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); 9974 // InternalApplicationConfiguration.g:3640:2: ( () otherlv_1= 'real' )
9975 9975 // InternalApplicationConfiguration.g:3641:3: () otherlv_1= 'real'
9976 pushFollow(FOLLOW_2); 9976 {
9977 this_ScopeSpecification_0=ruleScopeSpecification(); 9977 // InternalApplicationConfiguration.g:3641:3: ()
9978 9978 // InternalApplicationConfiguration.g:3642:4:
9979 state._fsp--; 9979 {
9980 9980
9981 9981 current = forceCreateModelElement(
9982 current = this_ScopeSpecification_0; 9982 grammarAccess.getRealReferenceAccess().getRealScopeAction_0(),
9983 afterParserOrEnumRuleCall(); 9983 current);
9984 9984
9985 9985
9986 } 9986 }
9987 break; 9987
9988 case 2 : 9988 otherlv_1=(Token)match(input,40,FOLLOW_2);
9989 // InternalApplicationConfiguration.g:3659:3: this_ScopeReference_1= ruleScopeReference 9989
9990 { 9990 newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1());
9991 9991
9992 newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); 9992
9993 9993 }
9994 pushFollow(FOLLOW_2); 9994
9995 this_ScopeReference_1=ruleScopeReference(); 9995
9996 9996 }
9997 state._fsp--; 9997
9998 9998
9999 9999 leaveRule();
10000 current = this_ScopeReference_1; 10000
10001 afterParserOrEnumRuleCall(); 10001 }
10002 10002
10003 10003 catch (RecognitionException re) {
10004 } 10004 recover(input,re);
10005 break; 10005 appendSkippedTokens();
10006 10006 }
10007 } 10007 finally {
10008 10008 }
10009 10009 return current;
10010 } 10010 }
10011 10011 // $ANTLR end "ruleRealReference"
10012 10012
10013 leaveRule(); 10013
10014 10014 // $ANTLR start "entryRuleStringReference"
10015 } 10015 // InternalApplicationConfiguration.g:3656:1: entryRuleStringReference returns [EObject current=null] : iv_ruleStringReference= ruleStringReference EOF ;
10016 10016 public final EObject entryRuleStringReference() throws RecognitionException {
10017 catch (RecognitionException re) { 10017 EObject current = null;
10018 recover(input,re); 10018
10019 appendSkippedTokens(); 10019 EObject iv_ruleStringReference = null;
10020 } 10020
10021 finally { 10021
10022 } 10022 try {
10023 return current; 10023 // InternalApplicationConfiguration.g:3656:56: (iv_ruleStringReference= ruleStringReference EOF )
10024 } 10024 // InternalApplicationConfiguration.g:3657:2: iv_ruleStringReference= ruleStringReference EOF
10025 // $ANTLR end "ruleScope" 10025 {
10026 10026 newCompositeNode(grammarAccess.getStringReferenceRule());
10027 10027 pushFollow(FOLLOW_1);
10028 // $ANTLR start "entryRuleTask" 10028 iv_ruleStringReference=ruleStringReference();
10029 // InternalApplicationConfiguration.g:3671:1: entryRuleTask returns [EObject current=null] : iv_ruleTask= ruleTask EOF ; 10029
10030 public final EObject entryRuleTask() throws RecognitionException { 10030 state._fsp--;
10031 EObject current = null; 10031
10032 10032 current =iv_ruleStringReference;
10033 EObject iv_ruleTask = null; 10033 match(input,EOF,FOLLOW_2);
10034 10034
10035 10035 }
10036 try { 10036
10037 // InternalApplicationConfiguration.g:3671:45: (iv_ruleTask= ruleTask EOF ) 10037 }
10038 // InternalApplicationConfiguration.g:3672:2: iv_ruleTask= ruleTask EOF 10038
10039 { 10039 catch (RecognitionException re) {
10040 newCompositeNode(grammarAccess.getTaskRule()); 10040 recover(input,re);
10041 pushFollow(FOLLOW_1); 10041 appendSkippedTokens();
10042 iv_ruleTask=ruleTask(); 10042 }
10043 10043 finally {
10044 state._fsp--; 10044 }
10045 10045 return current;
10046 current =iv_ruleTask; 10046 }
10047 match(input,EOF,FOLLOW_2); 10047 // $ANTLR end "entryRuleStringReference"
10048 10048
10049 } 10049
10050 10050 // $ANTLR start "ruleStringReference"
10051 } 10051 // InternalApplicationConfiguration.g:3663:1: ruleStringReference returns [EObject current=null] : ( () otherlv_1= 'string' ) ;
10052 10052 public final EObject ruleStringReference() throws RecognitionException {
10053 catch (RecognitionException re) { 10053 EObject current = null;
10054 recover(input,re); 10054
10055 appendSkippedTokens(); 10055 Token otherlv_1=null;
10056 } 10056
10057 finally { 10057
10058 } 10058 enterRule();
10059 return current; 10059
10060 } 10060 try {
10061 // $ANTLR end "entryRuleTask" 10061 // InternalApplicationConfiguration.g:3669:2: ( ( () otherlv_1= 'string' ) )
10062 10062 // InternalApplicationConfiguration.g:3670:2: ( () otherlv_1= 'string' )
10063 10063 {
10064 // $ANTLR start "ruleTask" 10064 // InternalApplicationConfiguration.g:3670:2: ( () otherlv_1= 'string' )
10065 // InternalApplicationConfiguration.g:3678:1: ruleTask returns [EObject current=null] : this_GenerationTask_0= ruleGenerationTask ; 10065 // InternalApplicationConfiguration.g:3671:3: () otherlv_1= 'string'
10066 public final EObject ruleTask() throws RecognitionException { 10066 {
10067 EObject current = null; 10067 // InternalApplicationConfiguration.g:3671:3: ()
10068 10068 // InternalApplicationConfiguration.g:3672:4:
10069 EObject this_GenerationTask_0 = null; 10069 {
10070 10070
10071 10071 current = forceCreateModelElement(
10072 10072 grammarAccess.getStringReferenceAccess().getStringScopeAction_0(),
10073 enterRule(); 10073 current);
10074 10074
10075 try { 10075
10076 // InternalApplicationConfiguration.g:3684:2: (this_GenerationTask_0= ruleGenerationTask ) 10076 }
10077 // InternalApplicationConfiguration.g:3685:2: this_GenerationTask_0= ruleGenerationTask 10077
10078 { 10078 otherlv_1=(Token)match(input,41,FOLLOW_2);
10079 10079
10080 newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); 10080 newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1());
10081 10081
10082 pushFollow(FOLLOW_2); 10082
10083 this_GenerationTask_0=ruleGenerationTask(); 10083 }
10084 10084
10085 state._fsp--; 10085
10086 10086 }
10087 10087
10088 current = this_GenerationTask_0; 10088
10089 afterParserOrEnumRuleCall(); 10089 leaveRule();
10090 10090
10091 10091 }
10092 } 10092
10093 10093 catch (RecognitionException re) {
10094 10094 recover(input,re);
10095 leaveRule(); 10095 appendSkippedTokens();
10096 10096 }
10097 } 10097 finally {
10098 10098 }
10099 catch (RecognitionException re) { 10099 return current;
10100 recover(input,re); 10100 }
10101 appendSkippedTokens(); 10101 // $ANTLR end "ruleStringReference"
10102 } 10102
10103 finally { 10103
10104 } 10104 // $ANTLR start "entryRuleExactNumber"
10105 return current; 10105 // InternalApplicationConfiguration.g:3686:1: entryRuleExactNumber returns [EObject current=null] : iv_ruleExactNumber= ruleExactNumber EOF ;
10106 } 10106 public final EObject entryRuleExactNumber() throws RecognitionException {
10107 // $ANTLR end "ruleTask" 10107 EObject current = null;
10108 10108
10109 10109 EObject iv_ruleExactNumber = null;
10110 // $ANTLR start "entryRuleGenerationTask" 10110
10111 // InternalApplicationConfiguration.g:3696:1: entryRuleGenerationTask returns [EObject current=null] : iv_ruleGenerationTask= ruleGenerationTask EOF ; 10111
10112 public final EObject entryRuleGenerationTask() throws RecognitionException { 10112 try {
10113 EObject current = null; 10113 // InternalApplicationConfiguration.g:3686:52: (iv_ruleExactNumber= ruleExactNumber EOF )
10114 10114 // InternalApplicationConfiguration.g:3687:2: iv_ruleExactNumber= ruleExactNumber EOF
10115 EObject iv_ruleGenerationTask = null; 10115 {
10116 10116 newCompositeNode(grammarAccess.getExactNumberRule());
10117 10117 pushFollow(FOLLOW_1);
10118 try { 10118 iv_ruleExactNumber=ruleExactNumber();
10119 // InternalApplicationConfiguration.g:3696:55: (iv_ruleGenerationTask= ruleGenerationTask EOF ) 10119
10120 // InternalApplicationConfiguration.g:3697:2: iv_ruleGenerationTask= ruleGenerationTask EOF 10120 state._fsp--;
10121 { 10121
10122 newCompositeNode(grammarAccess.getGenerationTaskRule()); 10122 current =iv_ruleExactNumber;
10123 pushFollow(FOLLOW_1); 10123 match(input,EOF,FOLLOW_2);
10124 iv_ruleGenerationTask=ruleGenerationTask(); 10124
10125 10125 }
10126 state._fsp--; 10126
10127 10127 }
10128 current =iv_ruleGenerationTask; 10128
10129 match(input,EOF,FOLLOW_2); 10129 catch (RecognitionException re) {
10130 10130 recover(input,re);
10131 } 10131 appendSkippedTokens();
10132 10132 }
10133 } 10133 finally {
10134 10134 }
10135 catch (RecognitionException re) { 10135 return current;
10136 recover(input,re); 10136 }
10137 appendSkippedTokens(); 10137 // $ANTLR end "entryRuleExactNumber"
10138 } 10138
10139 finally { 10139
10140 } 10140 // $ANTLR start "ruleExactNumber"
10141 return current; 10141 // InternalApplicationConfiguration.g:3693:1: ruleExactNumber returns [EObject current=null] : ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) ;
10142 } 10142 public final EObject ruleExactNumber() throws RecognitionException {
10143 // $ANTLR end "entryRuleGenerationTask" 10143 EObject current = null;
10144 10144
10145 10145 Token lv_exactNumber_0_0=null;
10146 // $ANTLR start "ruleGenerationTask" 10146 Token lv_exactUnlimited_1_0=null;
10147 // InternalApplicationConfiguration.g:3703:1: ruleGenerationTask returns [EObject current=null] : (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) ; 10147
10148 public final EObject ruleGenerationTask() throws RecognitionException { 10148
10149 EObject current = null; 10149 enterRule();
10150 10150
10151 Token otherlv_0=null; 10151 try {
10152 Token otherlv_2=null; 10152 // InternalApplicationConfiguration.g:3699:2: ( ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) )
10153 Token otherlv_4=null; 10153 // InternalApplicationConfiguration.g:3700:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) )
10154 Token otherlv_5=null; 10154 {
10155 Token otherlv_7=null; 10155 // InternalApplicationConfiguration.g:3700:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) )
10156 Token otherlv_8=null; 10156 int alt49=2;
10157 Token otherlv_10=null; 10157 int LA49_0 = input.LA(1);
10158 Token otherlv_11=null; 10158
10159 Token otherlv_13=null; 10159 if ( (LA49_0==RULE_INT) ) {
10160 Token otherlv_14=null; 10160 alt49=1;
10161 Token lv_numberSpecified_16_0=null; 10161 }
10162 Token otherlv_17=null; 10162 else if ( (LA49_0==42) ) {
10163 Token lv_number_18_0=null; 10163 alt49=2;
10164 Token lv_runSpecified_19_0=null; 10164 }
10165 Token otherlv_20=null; 10165 else {
10166 Token lv_runs_21_0=null; 10166 NoViableAltException nvae =
10167 Token otherlv_22=null; 10167 new NoViableAltException("", 49, 0, input);
10168 Token otherlv_23=null; 10168
10169 Token otherlv_25=null; 10169 throw nvae;
10170 Token otherlv_26=null; 10170 }
10171 Token otherlv_28=null; 10171 switch (alt49) {
10172 Token otherlv_29=null; 10172 case 1 :
10173 Token otherlv_31=null; 10173 // InternalApplicationConfiguration.g:3701:3: ( (lv_exactNumber_0_0= RULE_INT ) )
10174 Token otherlv_32=null; 10174 {
10175 Token otherlv_34=null; 10175 // InternalApplicationConfiguration.g:3701:3: ( (lv_exactNumber_0_0= RULE_INT ) )
10176 Token otherlv_35=null; 10176 // InternalApplicationConfiguration.g:3702:4: (lv_exactNumber_0_0= RULE_INT )
10177 Token otherlv_37=null; 10177 {
10178 Token otherlv_38=null; 10178 // InternalApplicationConfiguration.g:3702:4: (lv_exactNumber_0_0= RULE_INT )
10179 Token otherlv_40=null; 10179 // InternalApplicationConfiguration.g:3703:5: lv_exactNumber_0_0= RULE_INT
10180 EObject lv_metamodel_6_0 = null; 10180 {
10181 10181 lv_exactNumber_0_0=(Token)match(input,RULE_INT,FOLLOW_2);
10182 EObject lv_partialModel_9_0 = null; 10182
10183 10183 newLeafNode(lv_exactNumber_0_0, grammarAccess.getExactNumberAccess().getExactNumberINTTerminalRuleCall_0_0());
10184 EObject lv_patterns_12_0 = null; 10184
10185 10185
10186 EObject lv_scope_15_0 = null; 10186 if (current==null) {
10187 10187 current = createModelElement(grammarAccess.getExactNumberRule());
10188 Enumerator lv_solver_24_0 = null; 10188 }
10189 10189 setWithLastConsumed(
10190 EObject lv_config_27_0 = null; 10190 current,
10191 10191 "exactNumber",
10192 EObject lv_debugFolder_30_0 = null; 10192 lv_exactNumber_0_0,
10193 10193 "org.eclipse.xtext.common.Terminals.INT");
10194 EObject lv_targetLogFile_33_0 = null; 10194
10195 10195
10196 EObject lv_targetStatisticsFile_36_0 = null; 10196 }
10197 10197
10198 EObject lv_tagetFolder_39_0 = null; 10198
10199 10199 }
10200 10200
10201 10201
10202 enterRule(); 10202 }
10203 10203 break;
10204 try { 10204 case 2 :
10205 // InternalApplicationConfiguration.g:3709:2: ( (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) ) 10205 // InternalApplicationConfiguration.g:3720:3: ( (lv_exactUnlimited_1_0= '*' ) )
10206 // InternalApplicationConfiguration.g:3710:2: (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) 10206 {
10207 { 10207 // InternalApplicationConfiguration.g:3720:3: ( (lv_exactUnlimited_1_0= '*' ) )
10208 // InternalApplicationConfiguration.g:3710:2: (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) 10208 // InternalApplicationConfiguration.g:3721:4: (lv_exactUnlimited_1_0= '*' )
10209 // InternalApplicationConfiguration.g:3711:3: otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' 10209 {
10210 { 10210 // InternalApplicationConfiguration.g:3721:4: (lv_exactUnlimited_1_0= '*' )
10211 otherlv_0=(Token)match(input,43,FOLLOW_16); 10211 // InternalApplicationConfiguration.g:3722:5: lv_exactUnlimited_1_0= '*'
10212 10212 {
10213 newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); 10213 lv_exactUnlimited_1_0=(Token)match(input,42,FOLLOW_2);
10214 10214
10215 // InternalApplicationConfiguration.g:3715:3: () 10215 newLeafNode(lv_exactUnlimited_1_0, grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0());
10216 // InternalApplicationConfiguration.g:3716:4: 10216
10217 { 10217
10218 10218 if (current==null) {
10219 current = forceCreateModelElement( 10219 current = createModelElement(grammarAccess.getExactNumberRule());
10220 grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(), 10220 }
10221 current); 10221 setWithLastConsumed(current, "exactUnlimited", true, "*");
10222 10222
10223 10223
10224 } 10224 }
10225 10225
10226 otherlv_2=(Token)match(input,18,FOLLOW_39); 10226
10227 10227 }
10228 newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); 10228
10229 10229
10230 // InternalApplicationConfiguration.g:3726:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) 10230 }
10231 // InternalApplicationConfiguration.g:3727:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) 10231 break;
10232 { 10232
10233 // InternalApplicationConfiguration.g:3727:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) 10233 }
10234 // InternalApplicationConfiguration.g:3728:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) 10234
10235 { 10235
10236 10236 }
10237 getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10237
10238 10238
10239 // InternalApplicationConfiguration.g:3731:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) 10239 leaveRule();
10240 // InternalApplicationConfiguration.g:3732:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* 10240
10241 { 10241 }
10242 // InternalApplicationConfiguration.g:3732:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* 10242
10243 loop54: 10243 catch (RecognitionException re) {
10244 do { 10244 recover(input,re);
10245 int alt54=13; 10245 appendSkippedTokens();
10246 alt54 = dfa54.predict(input); 10246 }
10247 switch (alt54) { 10247 finally {
10248 case 1 : 10248 }
10249 // InternalApplicationConfiguration.g:3733:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) 10249 return current;
10250 { 10250 }
10251 // InternalApplicationConfiguration.g:3733:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) 10251 // $ANTLR end "ruleExactNumber"
10252 // InternalApplicationConfiguration.g:3734:5: {...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) 10252
10253 { 10253
10254 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) { 10254 // $ANTLR start "entryRuleIntervallNumber"
10255 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)"); 10255 // InternalApplicationConfiguration.g:3738:1: entryRuleIntervallNumber returns [EObject current=null] : iv_ruleIntervallNumber= ruleIntervallNumber EOF ;
10256 } 10256 public final EObject entryRuleIntervallNumber() throws RecognitionException {
10257 // InternalApplicationConfiguration.g:3734:111: ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) 10257 EObject current = null;
10258 // InternalApplicationConfiguration.g:3735:6: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) 10258
10259 { 10259 EObject iv_ruleIntervallNumber = null;
10260 10260
10261 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); 10261
10262 10262 try {
10263 // InternalApplicationConfiguration.g:3738:9: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) 10263 // InternalApplicationConfiguration.g:3738:56: (iv_ruleIntervallNumber= ruleIntervallNumber EOF )
10264 // InternalApplicationConfiguration.g:3738:10: {...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) 10264 // InternalApplicationConfiguration.g:3739:2: iv_ruleIntervallNumber= ruleIntervallNumber EOF
10265 { 10265 {
10266 if ( !((true)) ) { 10266 newCompositeNode(grammarAccess.getIntervallNumberRule());
10267 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10267 pushFollow(FOLLOW_1);
10268 } 10268 iv_ruleIntervallNumber=ruleIntervallNumber();
10269 // InternalApplicationConfiguration.g:3738:19: (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) 10269
10270 // InternalApplicationConfiguration.g:3738:20: otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) 10270 state._fsp--;
10271 { 10271
10272 otherlv_4=(Token)match(input,24,FOLLOW_12); 10272 current =iv_ruleIntervallNumber;
10273 10273 match(input,EOF,FOLLOW_2);
10274 newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); 10274
10275 10275 }
10276 otherlv_5=(Token)match(input,17,FOLLOW_40); 10276
10277 10277 }
10278 newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); 10278
10279 10279 catch (RecognitionException re) {
10280 // InternalApplicationConfiguration.g:3746:9: ( (lv_metamodel_6_0= ruleMetamodel ) ) 10280 recover(input,re);
10281 // InternalApplicationConfiguration.g:3747:10: (lv_metamodel_6_0= ruleMetamodel ) 10281 appendSkippedTokens();
10282 { 10282 }
10283 // InternalApplicationConfiguration.g:3747:10: (lv_metamodel_6_0= ruleMetamodel ) 10283 finally {
10284 // InternalApplicationConfiguration.g:3748:11: lv_metamodel_6_0= ruleMetamodel 10284 }
10285 { 10285 return current;
10286 10286 }
10287 newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); 10287 // $ANTLR end "entryRuleIntervallNumber"
10288 10288
10289 pushFollow(FOLLOW_39); 10289
10290 lv_metamodel_6_0=ruleMetamodel(); 10290 // $ANTLR start "ruleIntervallNumber"
10291 10291 // InternalApplicationConfiguration.g:3745:1: ruleIntervallNumber returns [EObject current=null] : ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) ;
10292 state._fsp--; 10292 public final EObject ruleIntervallNumber() throws RecognitionException {
10293 10293 EObject current = null;
10294 10294
10295 if (current==null) { 10295 Token lv_min_0_0=null;
10296 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 10296 Token otherlv_1=null;
10297 } 10297 Token lv_maxNumber_2_0=null;
10298 set( 10298 Token lv_maxUnlimited_3_0=null;
10299 current, 10299
10300 "metamodel", 10300
10301 lv_metamodel_6_0, 10301 enterRule();
10302 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel"); 10302
10303 afterParserOrEnumRuleCall(); 10303 try {
10304 10304 // InternalApplicationConfiguration.g:3751:2: ( ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) )
10305 10305 // InternalApplicationConfiguration.g:3752:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) )
10306 } 10306 {
10307 10307 // InternalApplicationConfiguration.g:3752:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) )
10308 10308 // InternalApplicationConfiguration.g:3753:3: ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) )
10309 } 10309 {
10310 10310 // InternalApplicationConfiguration.g:3753:3: ( (lv_min_0_0= RULE_INT ) )
10311 10311 // InternalApplicationConfiguration.g:3754:4: (lv_min_0_0= RULE_INT )
10312 } 10312 {
10313 10313 // InternalApplicationConfiguration.g:3754:4: (lv_min_0_0= RULE_INT )
10314 10314 // InternalApplicationConfiguration.g:3755:5: lv_min_0_0= RULE_INT
10315 } 10315 {
10316 10316 lv_min_0_0=(Token)match(input,RULE_INT,FOLLOW_39);
10317 10317
10318 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10318 newLeafNode(lv_min_0_0, grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0());
10319 10319
10320 10320
10321 } 10321 if (current==null) {
10322 10322 current = createModelElement(grammarAccess.getIntervallNumberRule());
10323 10323 }
10324 } 10324 setWithLastConsumed(
10325 10325 current,
10326 10326 "min",
10327 } 10327 lv_min_0_0,
10328 break; 10328 "org.eclipse.xtext.common.Terminals.INT");
10329 case 2 : 10329
10330 // InternalApplicationConfiguration.g:3771:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) 10330
10331 { 10331 }
10332 // InternalApplicationConfiguration.g:3771:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) 10332
10333 // InternalApplicationConfiguration.g:3772:5: {...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) 10333
10334 { 10334 }
10335 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) { 10335
10336 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)"); 10336 otherlv_1=(Token)match(input,43,FOLLOW_32);
10337 } 10337
10338 // InternalApplicationConfiguration.g:3772:111: ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) 10338 newLeafNode(otherlv_1, grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1());
10339 // InternalApplicationConfiguration.g:3773:6: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) 10339
10340 { 10340 // InternalApplicationConfiguration.g:3775:3: ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) )
10341 10341 int alt50=2;
10342 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); 10342 int LA50_0 = input.LA(1);
10343 10343
10344 // InternalApplicationConfiguration.g:3776:9: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) 10344 if ( (LA50_0==RULE_INT) ) {
10345 // InternalApplicationConfiguration.g:3776:10: {...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) 10345 alt50=1;
10346 { 10346 }
10347 if ( !((true)) ) { 10347 else if ( (LA50_0==42) ) {
10348 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10348 alt50=2;
10349 } 10349 }
10350 // InternalApplicationConfiguration.g:3776:19: (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) 10350 else {
10351 // InternalApplicationConfiguration.g:3776:20: otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) 10351 NoViableAltException nvae =
10352 { 10352 new NoViableAltException("", 50, 0, input);
10353 otherlv_7=(Token)match(input,44,FOLLOW_12); 10353
10354 10354 throw nvae;
10355 newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); 10355 }
10356 10356 switch (alt50) {
10357 otherlv_8=(Token)match(input,17,FOLLOW_40); 10357 case 1 :
10358 10358 // InternalApplicationConfiguration.g:3776:4: ( (lv_maxNumber_2_0= RULE_INT ) )
10359 newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); 10359 {
10360 10360 // InternalApplicationConfiguration.g:3776:4: ( (lv_maxNumber_2_0= RULE_INT ) )
10361 // InternalApplicationConfiguration.g:3784:9: ( (lv_partialModel_9_0= rulePartialModel ) ) 10361 // InternalApplicationConfiguration.g:3777:5: (lv_maxNumber_2_0= RULE_INT )
10362 // InternalApplicationConfiguration.g:3785:10: (lv_partialModel_9_0= rulePartialModel ) 10362 {
10363 { 10363 // InternalApplicationConfiguration.g:3777:5: (lv_maxNumber_2_0= RULE_INT )
10364 // InternalApplicationConfiguration.g:3785:10: (lv_partialModel_9_0= rulePartialModel ) 10364 // InternalApplicationConfiguration.g:3778:6: lv_maxNumber_2_0= RULE_INT
10365 // InternalApplicationConfiguration.g:3786:11: lv_partialModel_9_0= rulePartialModel 10365 {
10366 { 10366 lv_maxNumber_2_0=(Token)match(input,RULE_INT,FOLLOW_2);
10367 10367
10368 newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); 10368 newLeafNode(lv_maxNumber_2_0, grammarAccess.getIntervallNumberAccess().getMaxNumberINTTerminalRuleCall_2_0_0());
10369 10369
10370 pushFollow(FOLLOW_39); 10370
10371 lv_partialModel_9_0=rulePartialModel(); 10371 if (current==null) {
10372 10372 current = createModelElement(grammarAccess.getIntervallNumberRule());
10373 state._fsp--; 10373 }
10374 10374 setWithLastConsumed(
10375 10375 current,
10376 if (current==null) { 10376 "maxNumber",
10377 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 10377 lv_maxNumber_2_0,
10378 } 10378 "org.eclipse.xtext.common.Terminals.INT");
10379 set( 10379
10380 current, 10380
10381 "partialModel", 10381 }
10382 lv_partialModel_9_0, 10382
10383 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel"); 10383
10384 afterParserOrEnumRuleCall(); 10384 }
10385 10385
10386 10386
10387 } 10387 }
10388 10388 break;
10389 10389 case 2 :
10390 } 10390 // InternalApplicationConfiguration.g:3795:4: ( (lv_maxUnlimited_3_0= '*' ) )
10391 10391 {
10392 10392 // InternalApplicationConfiguration.g:3795:4: ( (lv_maxUnlimited_3_0= '*' ) )
10393 } 10393 // InternalApplicationConfiguration.g:3796:5: (lv_maxUnlimited_3_0= '*' )
10394 10394 {
10395 10395 // InternalApplicationConfiguration.g:3796:5: (lv_maxUnlimited_3_0= '*' )
10396 } 10396 // InternalApplicationConfiguration.g:3797:6: lv_maxUnlimited_3_0= '*'
10397 10397 {
10398 10398 lv_maxUnlimited_3_0=(Token)match(input,42,FOLLOW_2);
10399 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10399
10400 10400 newLeafNode(lv_maxUnlimited_3_0, grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0());
10401 10401
10402 } 10402
10403 10403 if (current==null) {
10404 10404 current = createModelElement(grammarAccess.getIntervallNumberRule());
10405 } 10405 }
10406 10406 setWithLastConsumed(current, "maxUnlimited", true, "*");
10407 10407
10408 } 10408
10409 break; 10409 }
10410 case 3 : 10410
10411 // InternalApplicationConfiguration.g:3809:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) 10411
10412 { 10412 }
10413 // InternalApplicationConfiguration.g:3809:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) 10413
10414 // InternalApplicationConfiguration.g:3810:5: {...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) 10414
10415 { 10415 }
10416 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) { 10416 break;
10417 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)"); 10417
10418 } 10418 }
10419 // InternalApplicationConfiguration.g:3810:111: ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) 10419
10420 // InternalApplicationConfiguration.g:3811:6: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) 10420
10421 { 10421 }
10422 10422
10423 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); 10423
10424 10424 }
10425 // InternalApplicationConfiguration.g:3814:9: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) 10425
10426 // InternalApplicationConfiguration.g:3814:10: {...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) 10426
10427 { 10427 leaveRule();
10428 if ( !((true)) ) { 10428
10429 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10429 }
10430 } 10430
10431 // InternalApplicationConfiguration.g:3814:19: (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) 10431 catch (RecognitionException re) {
10432 // InternalApplicationConfiguration.g:3814:20: otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) 10432 recover(input,re);
10433 { 10433 appendSkippedTokens();
10434 otherlv_10=(Token)match(input,27,FOLLOW_12); 10434 }
10435 10435 finally {
10436 newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0()); 10436 }
10437 10437 return current;
10438 otherlv_11=(Token)match(input,17,FOLLOW_40); 10438 }
10439 10439 // $ANTLR end "ruleIntervallNumber"
10440 newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); 10440
10441 10441
10442 // InternalApplicationConfiguration.g:3822:9: ( (lv_patterns_12_0= ruleGraphPattern ) ) 10442 // $ANTLR start "entryRuleIntEnumberation"
10443 // InternalApplicationConfiguration.g:3823:10: (lv_patterns_12_0= ruleGraphPattern ) 10443 // InternalApplicationConfiguration.g:3814:1: entryRuleIntEnumberation returns [EObject current=null] : iv_ruleIntEnumberation= ruleIntEnumberation EOF ;
10444 { 10444 public final EObject entryRuleIntEnumberation() throws RecognitionException {
10445 // InternalApplicationConfiguration.g:3823:10: (lv_patterns_12_0= ruleGraphPattern ) 10445 EObject current = null;
10446 // InternalApplicationConfiguration.g:3824:11: lv_patterns_12_0= ruleGraphPattern 10446
10447 { 10447 EObject iv_ruleIntEnumberation = null;
10448 10448
10449 newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); 10449
10450 10450 try {
10451 pushFollow(FOLLOW_39); 10451 // InternalApplicationConfiguration.g:3814:56: (iv_ruleIntEnumberation= ruleIntEnumberation EOF )
10452 lv_patterns_12_0=ruleGraphPattern(); 10452 // InternalApplicationConfiguration.g:3815:2: iv_ruleIntEnumberation= ruleIntEnumberation EOF
10453 10453 {
10454 state._fsp--; 10454 newCompositeNode(grammarAccess.getIntEnumberationRule());
10455 10455 pushFollow(FOLLOW_1);
10456 10456 iv_ruleIntEnumberation=ruleIntEnumberation();
10457 if (current==null) { 10457
10458 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 10458 state._fsp--;
10459 } 10459
10460 set( 10460 current =iv_ruleIntEnumberation;
10461 current, 10461 match(input,EOF,FOLLOW_2);
10462 "patterns", 10462
10463 lv_patterns_12_0, 10463 }
10464 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern"); 10464
10465 afterParserOrEnumRuleCall(); 10465 }
10466 10466
10467 10467 catch (RecognitionException re) {
10468 } 10468 recover(input,re);
10469 10469 appendSkippedTokens();
10470 10470 }
10471 } 10471 finally {
10472 10472 }
10473 10473 return current;
10474 } 10474 }
10475 10475 // $ANTLR end "entryRuleIntEnumberation"
10476 10476
10477 } 10477
10478 10478 // $ANTLR start "ruleIntEnumberation"
10479 10479 // InternalApplicationConfiguration.g:3821:1: ruleIntEnumberation returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) ;
10480 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10480 public final EObject ruleIntEnumberation() throws RecognitionException {
10481 10481 EObject current = null;
10482 10482
10483 } 10483 Token otherlv_1=null;
10484 10484 Token otherlv_3=null;
10485 10485 Token otherlv_5=null;
10486 } 10486 AntlrDatatypeRuleToken lv_entry_2_0 = null;
10487 10487
10488 10488 AntlrDatatypeRuleToken lv_entry_4_0 = null;
10489 } 10489
10490 break; 10490
10491 case 4 : 10491
10492 // InternalApplicationConfiguration.g:3847:4: ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) 10492 enterRule();
10493 { 10493
10494 // InternalApplicationConfiguration.g:3847:4: ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) 10494 try {
10495 // InternalApplicationConfiguration.g:3848:5: {...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) 10495 // InternalApplicationConfiguration.g:3827:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) )
10496 { 10496 // InternalApplicationConfiguration.g:3828:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' )
10497 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) { 10497 {
10498 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)"); 10498 // InternalApplicationConfiguration.g:3828:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' )
10499 } 10499 // InternalApplicationConfiguration.g:3829:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}'
10500 // InternalApplicationConfiguration.g:3848:111: ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) 10500 {
10501 // InternalApplicationConfiguration.g:3849:6: ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) 10501 // InternalApplicationConfiguration.g:3829:3: ()
10502 { 10502 // InternalApplicationConfiguration.g:3830:4:
10503 10503 {
10504 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); 10504
10505 10505 current = forceCreateModelElement(
10506 // InternalApplicationConfiguration.g:3852:9: ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) 10506 grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0(),
10507 // InternalApplicationConfiguration.g:3852:10: {...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) 10507 current);
10508 { 10508
10509 if ( !((true)) ) { 10509
10510 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10510 }
10511 } 10511
10512 // InternalApplicationConfiguration.g:3852:19: (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) 10512 otherlv_1=(Token)match(input,19,FOLLOW_40);
10513 // InternalApplicationConfiguration.g:3852:20: otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) 10513
10514 { 10514 newLeafNode(otherlv_1, grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1());
10515 otherlv_13=(Token)match(input,42,FOLLOW_12); 10515
10516 10516 // InternalApplicationConfiguration.g:3840:3: ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )?
10517 newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_3_0()); 10517 int alt52=2;
10518 10518 int LA52_0 = input.LA(1);
10519 otherlv_14=(Token)match(input,17,FOLLOW_40); 10519
10520 10520 if ( (LA52_0==RULE_INT||LA52_0==12) ) {
10521 newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); 10521 alt52=1;
10522 10522 }
10523 // InternalApplicationConfiguration.g:3860:9: ( (lv_scope_15_0= ruleScope ) ) 10523 switch (alt52) {
10524 // InternalApplicationConfiguration.g:3861:10: (lv_scope_15_0= ruleScope ) 10524 case 1 :
10525 { 10525 // InternalApplicationConfiguration.g:3841:4: ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )*
10526 // InternalApplicationConfiguration.g:3861:10: (lv_scope_15_0= ruleScope ) 10526 {
10527 // InternalApplicationConfiguration.g:3862:11: lv_scope_15_0= ruleScope 10527 // InternalApplicationConfiguration.g:3841:4: ( (lv_entry_2_0= ruleINTLiteral ) )
10528 { 10528 // InternalApplicationConfiguration.g:3842:5: (lv_entry_2_0= ruleINTLiteral )
10529 10529 {
10530 newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_3_2_0()); 10530 // InternalApplicationConfiguration.g:3842:5: (lv_entry_2_0= ruleINTLiteral )
10531 10531 // InternalApplicationConfiguration.g:3843:6: lv_entry_2_0= ruleINTLiteral
10532 pushFollow(FOLLOW_39); 10532 {
10533 lv_scope_15_0=ruleScope(); 10533
10534 10534 newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0());
10535 state._fsp--; 10535
10536 10536 pushFollow(FOLLOW_15);
10537 10537 lv_entry_2_0=ruleINTLiteral();
10538 if (current==null) { 10538
10539 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 10539 state._fsp--;
10540 } 10540
10541 set( 10541
10542 current, 10542 if (current==null) {
10543 "scope", 10543 current = createModelElementForParent(grammarAccess.getIntEnumberationRule());
10544 lv_scope_15_0, 10544 }
10545 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope"); 10545 add(
10546 afterParserOrEnumRuleCall(); 10546 current,
10547 10547 "entry",
10548 10548 lv_entry_2_0,
10549 } 10549 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral");
10550 10550 afterParserOrEnumRuleCall();
10551 10551
10552 } 10552
10553 10553 }
10554 10554
10555 } 10555
10556 10556 }
10557 10557
10558 } 10558 // InternalApplicationConfiguration.g:3860:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )*
10559 10559 loop51:
10560 10560 do {
10561 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10561 int alt51=2;
10562 10562 int LA51_0 = input.LA(1);
10563 10563
10564 } 10564 if ( (LA51_0==20) ) {
10565 10565 alt51=1;
10566 10566 }
10567 } 10567
10568 10568
10569 10569 switch (alt51) {
10570 } 10570 case 1 :
10571 break; 10571 // InternalApplicationConfiguration.g:3861:5: otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) )
10572 case 5 : 10572 {
10573 // InternalApplicationConfiguration.g:3885:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) 10573 otherlv_3=(Token)match(input,20,FOLLOW_24);
10574 { 10574
10575 // InternalApplicationConfiguration.g:3885:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) 10575 newLeafNode(otherlv_3, grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0());
10576 // InternalApplicationConfiguration.g:3886:5: {...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) 10576
10577 { 10577 // InternalApplicationConfiguration.g:3865:5: ( (lv_entry_4_0= ruleINTLiteral ) )
10578 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) { 10578 // InternalApplicationConfiguration.g:3866:6: (lv_entry_4_0= ruleINTLiteral )
10579 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)"); 10579 {
10580 } 10580 // InternalApplicationConfiguration.g:3866:6: (lv_entry_4_0= ruleINTLiteral )
10581 // InternalApplicationConfiguration.g:3886:111: ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) 10581 // InternalApplicationConfiguration.g:3867:7: lv_entry_4_0= ruleINTLiteral
10582 // InternalApplicationConfiguration.g:3887:6: ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) 10582 {
10583 { 10583
10584 10584 newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0());
10585 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); 10585
10586 10586 pushFollow(FOLLOW_15);
10587 // InternalApplicationConfiguration.g:3890:9: ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) 10587 lv_entry_4_0=ruleINTLiteral();
10588 // InternalApplicationConfiguration.g:3890:10: {...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) 10588
10589 { 10589 state._fsp--;
10590 if ( !((true)) ) { 10590
10591 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10591
10592 } 10592 if (current==null) {
10593 // InternalApplicationConfiguration.g:3890:19: ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) 10593 current = createModelElementForParent(grammarAccess.getIntEnumberationRule());
10594 // InternalApplicationConfiguration.g:3890:20: ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) 10594 }
10595 { 10595 add(
10596 // InternalApplicationConfiguration.g:3890:20: ( (lv_numberSpecified_16_0= 'number' ) ) 10596 current,
10597 // InternalApplicationConfiguration.g:3891:10: (lv_numberSpecified_16_0= 'number' ) 10597 "entry",
10598 { 10598 lv_entry_4_0,
10599 // InternalApplicationConfiguration.g:3891:10: (lv_numberSpecified_16_0= 'number' ) 10599 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral");
10600 // InternalApplicationConfiguration.g:3892:11: lv_numberSpecified_16_0= 'number' 10600 afterParserOrEnumRuleCall();
10601 { 10601
10602 lv_numberSpecified_16_0=(Token)match(input,45,FOLLOW_12); 10602
10603 10603 }
10604 newLeafNode(lv_numberSpecified_16_0, grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_4_0_0()); 10604
10605 10605
10606 10606 }
10607 if (current==null) { 10607
10608 current = createModelElement(grammarAccess.getGenerationTaskRule()); 10608
10609 } 10609 }
10610 setWithLastConsumed(current, "numberSpecified", true, "number"); 10610 break;
10611 10611
10612 10612 default :
10613 } 10613 break loop51;
10614 10614 }
10615 10615 } while (true);
10616 } 10616
10617 10617
10618 otherlv_17=(Token)match(input,17,FOLLOW_7); 10618 }
10619 10619 break;
10620 newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); 10620
10621 10621 }
10622 // InternalApplicationConfiguration.g:3908:9: ( (lv_number_18_0= RULE_INT ) ) 10622
10623 // InternalApplicationConfiguration.g:3909:10: (lv_number_18_0= RULE_INT ) 10623 otherlv_5=(Token)match(input,21,FOLLOW_2);
10624 { 10624
10625 // InternalApplicationConfiguration.g:3909:10: (lv_number_18_0= RULE_INT ) 10625 newLeafNode(otherlv_5, grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3());
10626 // InternalApplicationConfiguration.g:3910:11: lv_number_18_0= RULE_INT 10626
10627 { 10627
10628 lv_number_18_0=(Token)match(input,RULE_INT,FOLLOW_39); 10628 }
10629 10629
10630 newLeafNode(lv_number_18_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_4_2_0()); 10630
10631 10631 }
10632 10632
10633 if (current==null) { 10633
10634 current = createModelElement(grammarAccess.getGenerationTaskRule()); 10634 leaveRule();
10635 } 10635
10636 setWithLastConsumed( 10636 }
10637 current, 10637
10638 "number", 10638 catch (RecognitionException re) {
10639 lv_number_18_0, 10639 recover(input,re);
10640 "org.eclipse.xtext.common.Terminals.INT"); 10640 appendSkippedTokens();
10641 10641 }
10642 10642 finally {
10643 } 10643 }
10644 10644 return current;
10645 10645 }
10646 } 10646 // $ANTLR end "ruleIntEnumberation"
10647 10647
10648 10648
10649 } 10649 // $ANTLR start "entryRuleRealEnumeration"
10650 10650 // InternalApplicationConfiguration.g:3894:1: entryRuleRealEnumeration returns [EObject current=null] : iv_ruleRealEnumeration= ruleRealEnumeration EOF ;
10651 10651 public final EObject entryRuleRealEnumeration() throws RecognitionException {
10652 } 10652 EObject current = null;
10653 10653
10654 10654 EObject iv_ruleRealEnumeration = null;
10655 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10655
10656 10656
10657 10657 try {
10658 } 10658 // InternalApplicationConfiguration.g:3894:56: (iv_ruleRealEnumeration= ruleRealEnumeration EOF )
10659 10659 // InternalApplicationConfiguration.g:3895:2: iv_ruleRealEnumeration= ruleRealEnumeration EOF
10660 10660 {
10661 } 10661 newCompositeNode(grammarAccess.getRealEnumerationRule());
10662 10662 pushFollow(FOLLOW_1);
10663 10663 iv_ruleRealEnumeration=ruleRealEnumeration();
10664 } 10664
10665 break; 10665 state._fsp--;
10666 case 6 : 10666
10667 // InternalApplicationConfiguration.g:3932:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) 10667 current =iv_ruleRealEnumeration;
10668 { 10668 match(input,EOF,FOLLOW_2);
10669 // InternalApplicationConfiguration.g:3932:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) 10669
10670 // InternalApplicationConfiguration.g:3933:5: {...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) 10670 }
10671 { 10671
10672 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) { 10672 }
10673 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)"); 10673
10674 } 10674 catch (RecognitionException re) {
10675 // InternalApplicationConfiguration.g:3933:111: ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) 10675 recover(input,re);
10676 // InternalApplicationConfiguration.g:3934:6: ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) 10676 appendSkippedTokens();
10677 { 10677 }
10678 10678 finally {
10679 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); 10679 }
10680 10680 return current;
10681 // InternalApplicationConfiguration.g:3937:9: ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) 10681 }
10682 // InternalApplicationConfiguration.g:3937:10: {...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) 10682 // $ANTLR end "entryRuleRealEnumeration"
10683 { 10683
10684 if ( !((true)) ) { 10684
10685 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10685 // $ANTLR start "ruleRealEnumeration"
10686 } 10686 // InternalApplicationConfiguration.g:3901:1: ruleRealEnumeration returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) ;
10687 // InternalApplicationConfiguration.g:3937:19: ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) 10687 public final EObject ruleRealEnumeration() throws RecognitionException {
10688 // InternalApplicationConfiguration.g:3937:20: ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) 10688 EObject current = null;
10689 { 10689
10690 // InternalApplicationConfiguration.g:3937:20: ( (lv_runSpecified_19_0= 'runs' ) ) 10690 Token otherlv_1=null;
10691 // InternalApplicationConfiguration.g:3938:10: (lv_runSpecified_19_0= 'runs' ) 10691 Token otherlv_3=null;
10692 { 10692 Token otherlv_5=null;
10693 // InternalApplicationConfiguration.g:3938:10: (lv_runSpecified_19_0= 'runs' ) 10693 AntlrDatatypeRuleToken lv_entry_2_0 = null;
10694 // InternalApplicationConfiguration.g:3939:11: lv_runSpecified_19_0= 'runs' 10694
10695 { 10695 AntlrDatatypeRuleToken lv_entry_4_0 = null;
10696 lv_runSpecified_19_0=(Token)match(input,46,FOLLOW_12); 10696
10697 10697
10698 newLeafNode(lv_runSpecified_19_0, grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_5_0_0()); 10698
10699 10699 enterRule();
10700 10700
10701 if (current==null) { 10701 try {
10702 current = createModelElement(grammarAccess.getGenerationTaskRule()); 10702 // InternalApplicationConfiguration.g:3907:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) )
10703 } 10703 // InternalApplicationConfiguration.g:3908:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' )
10704 setWithLastConsumed(current, "runSpecified", true, "runs"); 10704 {
10705 10705 // InternalApplicationConfiguration.g:3908:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' )
10706 10706 // InternalApplicationConfiguration.g:3909:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}'
10707 } 10707 {
10708 10708 // InternalApplicationConfiguration.g:3909:3: ()
10709 10709 // InternalApplicationConfiguration.g:3910:4:
10710 } 10710 {
10711 10711
10712 otherlv_20=(Token)match(input,17,FOLLOW_7); 10712 current = forceCreateModelElement(
10713 10713 grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0(),
10714 newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); 10714 current);
10715 10715
10716 // InternalApplicationConfiguration.g:3955:9: ( (lv_runs_21_0= RULE_INT ) ) 10716
10717 // InternalApplicationConfiguration.g:3956:10: (lv_runs_21_0= RULE_INT ) 10717 }
10718 { 10718
10719 // InternalApplicationConfiguration.g:3956:10: (lv_runs_21_0= RULE_INT ) 10719 otherlv_1=(Token)match(input,19,FOLLOW_40);
10720 // InternalApplicationConfiguration.g:3957:11: lv_runs_21_0= RULE_INT 10720
10721 { 10721 newLeafNode(otherlv_1, grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1());
10722 lv_runs_21_0=(Token)match(input,RULE_INT,FOLLOW_39); 10722
10723 10723 // InternalApplicationConfiguration.g:3920:3: ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )?
10724 newLeafNode(lv_runs_21_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_5_2_0()); 10724 int alt54=2;
10725 10725 int LA54_0 = input.LA(1);
10726 10726
10727 if (current==null) { 10727 if ( (LA54_0==RULE_INT||LA54_0==12) ) {
10728 current = createModelElement(grammarAccess.getGenerationTaskRule()); 10728 alt54=1;
10729 } 10729 }
10730 setWithLastConsumed( 10730 switch (alt54) {
10731 current, 10731 case 1 :
10732 "runs", 10732 // InternalApplicationConfiguration.g:3921:4: ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )*
10733 lv_runs_21_0, 10733 {
10734 "org.eclipse.xtext.common.Terminals.INT"); 10734 // InternalApplicationConfiguration.g:3921:4: ( (lv_entry_2_0= ruleREALLiteral ) )
10735 10735 // InternalApplicationConfiguration.g:3922:5: (lv_entry_2_0= ruleREALLiteral )
10736 10736 {
10737 } 10737 // InternalApplicationConfiguration.g:3922:5: (lv_entry_2_0= ruleREALLiteral )
10738 10738 // InternalApplicationConfiguration.g:3923:6: lv_entry_2_0= ruleREALLiteral
10739 10739 {
10740 } 10740
10741 10741 newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0());
10742 10742
10743 } 10743 pushFollow(FOLLOW_15);
10744 10744 lv_entry_2_0=ruleREALLiteral();
10745 10745
10746 } 10746 state._fsp--;
10747 10747
10748 10748
10749 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10749 if (current==null) {
10750 10750 current = createModelElementForParent(grammarAccess.getRealEnumerationRule());
10751 10751 }
10752 } 10752 add(
10753 10753 current,
10754 10754 "entry",
10755 } 10755 lv_entry_2_0,
10756 10756 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral");
10757 10757 afterParserOrEnumRuleCall();
10758 } 10758
10759 break; 10759
10760 case 7 : 10760 }
10761 // InternalApplicationConfiguration.g:3979:4: ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) 10761
10762 { 10762
10763 // InternalApplicationConfiguration.g:3979:4: ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) 10763 }
10764 // InternalApplicationConfiguration.g:3980:5: {...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) 10764
10765 { 10765 // InternalApplicationConfiguration.g:3940:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )*
10766 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) { 10766 loop53:
10767 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)"); 10767 do {
10768 } 10768 int alt53=2;
10769 // InternalApplicationConfiguration.g:3980:111: ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) 10769 int LA53_0 = input.LA(1);
10770 // InternalApplicationConfiguration.g:3981:6: ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) 10770
10771 { 10771 if ( (LA53_0==20) ) {
10772 10772 alt53=1;
10773 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); 10773 }
10774 10774
10775 // InternalApplicationConfiguration.g:3984:9: ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) 10775
10776 // InternalApplicationConfiguration.g:3984:10: {...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) 10776 switch (alt53) {
10777 { 10777 case 1 :
10778 if ( !((true)) ) { 10778 // InternalApplicationConfiguration.g:3941:5: otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) )
10779 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10779 {
10780 } 10780 otherlv_3=(Token)match(input,20,FOLLOW_24);
10781 // InternalApplicationConfiguration.g:3984:19: (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) 10781
10782 // InternalApplicationConfiguration.g:3984:20: otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) 10782 newLeafNode(otherlv_3, grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0());
10783 { 10783
10784 otherlv_22=(Token)match(input,47,FOLLOW_12); 10784 // InternalApplicationConfiguration.g:3945:5: ( (lv_entry_4_0= ruleREALLiteral ) )
10785 10785 // InternalApplicationConfiguration.g:3946:6: (lv_entry_4_0= ruleREALLiteral )
10786 newLeafNode(otherlv_22, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_6_0()); 10786 {
10787 10787 // InternalApplicationConfiguration.g:3946:6: (lv_entry_4_0= ruleREALLiteral )
10788 otherlv_23=(Token)match(input,17,FOLLOW_41); 10788 // InternalApplicationConfiguration.g:3947:7: lv_entry_4_0= ruleREALLiteral
10789 10789 {
10790 newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); 10790
10791 10791 newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0());
10792 // InternalApplicationConfiguration.g:3992:9: ( (lv_solver_24_0= ruleSolver ) ) 10792
10793 // InternalApplicationConfiguration.g:3993:10: (lv_solver_24_0= ruleSolver ) 10793 pushFollow(FOLLOW_15);
10794 { 10794 lv_entry_4_0=ruleREALLiteral();
10795 // InternalApplicationConfiguration.g:3993:10: (lv_solver_24_0= ruleSolver ) 10795
10796 // InternalApplicationConfiguration.g:3994:11: lv_solver_24_0= ruleSolver 10796 state._fsp--;
10797 { 10797
10798 10798
10799 newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_6_2_0()); 10799 if (current==null) {
10800 10800 current = createModelElementForParent(grammarAccess.getRealEnumerationRule());
10801 pushFollow(FOLLOW_39); 10801 }
10802 lv_solver_24_0=ruleSolver(); 10802 add(
10803 10803 current,
10804 state._fsp--; 10804 "entry",
10805 10805 lv_entry_4_0,
10806 10806 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral");
10807 if (current==null) { 10807 afterParserOrEnumRuleCall();
10808 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 10808
10809 } 10809
10810 set( 10810 }
10811 current, 10811
10812 "solver", 10812
10813 lv_solver_24_0, 10813 }
10814 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver"); 10814
10815 afterParserOrEnumRuleCall(); 10815
10816 10816 }
10817 10817 break;
10818 } 10818
10819 10819 default :
10820 10820 break loop53;
10821 } 10821 }
10822 10822 } while (true);
10823 10823
10824 } 10824
10825 10825 }
10826 10826 break;
10827 } 10827
10828 10828 }
10829 10829
10830 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10830 otherlv_5=(Token)match(input,21,FOLLOW_2);
10831 10831
10832 10832 newLeafNode(otherlv_5, grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3());
10833 } 10833
10834 10834
10835 10835 }
10836 } 10836
10837 10837
10838 10838 }
10839 } 10839
10840 break; 10840
10841 case 8 : 10841 leaveRule();
10842 // InternalApplicationConfiguration.g:4017:4: ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) 10842
10843 { 10843 }
10844 // InternalApplicationConfiguration.g:4017:4: ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) 10844
10845 // InternalApplicationConfiguration.g:4018:5: {...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) 10845 catch (RecognitionException re) {
10846 { 10846 recover(input,re);
10847 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) { 10847 appendSkippedTokens();
10848 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)"); 10848 }
10849 } 10849 finally {
10850 // InternalApplicationConfiguration.g:4018:111: ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) 10850 }
10851 // InternalApplicationConfiguration.g:4019:6: ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) 10851 return current;
10852 { 10852 }
10853 10853 // $ANTLR end "ruleRealEnumeration"
10854 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); 10854
10855 10855
10856 // InternalApplicationConfiguration.g:4022:9: ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) 10856 // $ANTLR start "entryRuleStringEnumeration"
10857 // InternalApplicationConfiguration.g:4022:10: {...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) 10857 // InternalApplicationConfiguration.g:3974:1: entryRuleStringEnumeration returns [EObject current=null] : iv_ruleStringEnumeration= ruleStringEnumeration EOF ;
10858 { 10858 public final EObject entryRuleStringEnumeration() throws RecognitionException {
10859 if ( !((true)) ) { 10859 EObject current = null;
10860 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10860
10861 } 10861 EObject iv_ruleStringEnumeration = null;
10862 // InternalApplicationConfiguration.g:4022:19: (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) 10862
10863 // InternalApplicationConfiguration.g:4022:20: otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) 10863
10864 { 10864 try {
10865 otherlv_25=(Token)match(input,28,FOLLOW_12); 10865 // InternalApplicationConfiguration.g:3974:58: (iv_ruleStringEnumeration= ruleStringEnumeration EOF )
10866 10866 // InternalApplicationConfiguration.g:3975:2: iv_ruleStringEnumeration= ruleStringEnumeration EOF
10867 newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_7_0()); 10867 {
10868 10868 newCompositeNode(grammarAccess.getStringEnumerationRule());
10869 otherlv_26=(Token)match(input,17,FOLLOW_40); 10869 pushFollow(FOLLOW_1);
10870 10870 iv_ruleStringEnumeration=ruleStringEnumeration();
10871 newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); 10871
10872 10872 state._fsp--;
10873 // InternalApplicationConfiguration.g:4030:9: ( (lv_config_27_0= ruleConfig ) ) 10873
10874 // InternalApplicationConfiguration.g:4031:10: (lv_config_27_0= ruleConfig ) 10874 current =iv_ruleStringEnumeration;
10875 { 10875 match(input,EOF,FOLLOW_2);
10876 // InternalApplicationConfiguration.g:4031:10: (lv_config_27_0= ruleConfig ) 10876
10877 // InternalApplicationConfiguration.g:4032:11: lv_config_27_0= ruleConfig 10877 }
10878 { 10878
10879 10879 }
10880 newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_7_2_0()); 10880
10881 10881 catch (RecognitionException re) {
10882 pushFollow(FOLLOW_39); 10882 recover(input,re);
10883 lv_config_27_0=ruleConfig(); 10883 appendSkippedTokens();
10884 10884 }
10885 state._fsp--; 10885 finally {
10886 10886 }
10887 10887 return current;
10888 if (current==null) { 10888 }
10889 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 10889 // $ANTLR end "entryRuleStringEnumeration"
10890 } 10890
10891 set( 10891
10892 current, 10892 // $ANTLR start "ruleStringEnumeration"
10893 "config", 10893 // InternalApplicationConfiguration.g:3981:1: ruleStringEnumeration returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) ;
10894 lv_config_27_0, 10894 public final EObject ruleStringEnumeration() throws RecognitionException {
10895 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config"); 10895 EObject current = null;
10896 afterParserOrEnumRuleCall(); 10896
10897 10897 Token otherlv_1=null;
10898 10898 Token lv_entry_2_0=null;
10899 } 10899 Token otherlv_3=null;
10900 10900 Token lv_entry_4_0=null;
10901 10901 Token otherlv_5=null;
10902 } 10902
10903 10903
10904 10904 enterRule();
10905 } 10905
10906 10906 try {
10907 10907 // InternalApplicationConfiguration.g:3987:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) )
10908 } 10908 // InternalApplicationConfiguration.g:3988:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' )
10909 10909 {
10910 10910 // InternalApplicationConfiguration.g:3988:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' )
10911 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10911 // InternalApplicationConfiguration.g:3989:3: () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}'
10912 10912 {
10913 10913 // InternalApplicationConfiguration.g:3989:3: ()
10914 } 10914 // InternalApplicationConfiguration.g:3990:4:
10915 10915 {
10916 10916
10917 } 10917 current = forceCreateModelElement(
10918 10918 grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0(),
10919 10919 current);
10920 } 10920
10921 break; 10921
10922 case 9 : 10922 }
10923 // InternalApplicationConfiguration.g:4055:4: ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) 10923
10924 { 10924 otherlv_1=(Token)match(input,19,FOLLOW_41);
10925 // InternalApplicationConfiguration.g:4055:4: ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) 10925
10926 // InternalApplicationConfiguration.g:4056:5: {...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) 10926 newLeafNode(otherlv_1, grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1());
10927 { 10927
10928 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) { 10928 // InternalApplicationConfiguration.g:4000:3: ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )?
10929 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)"); 10929 int alt56=2;
10930 } 10930 int LA56_0 = input.LA(1);
10931 // InternalApplicationConfiguration.g:4056:111: ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) 10931
10932 // InternalApplicationConfiguration.g:4057:6: ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) 10932 if ( (LA56_0==RULE_STRING) ) {
10933 { 10933 alt56=1;
10934 10934 }
10935 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); 10935 switch (alt56) {
10936 10936 case 1 :
10937 // InternalApplicationConfiguration.g:4060:9: ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) 10937 // InternalApplicationConfiguration.g:4001:4: ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )*
10938 // InternalApplicationConfiguration.g:4060:10: {...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) 10938 {
10939 { 10939 // InternalApplicationConfiguration.g:4001:4: ( (lv_entry_2_0= RULE_STRING ) )
10940 if ( !((true)) ) { 10940 // InternalApplicationConfiguration.g:4002:5: (lv_entry_2_0= RULE_STRING )
10941 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10941 {
10942 } 10942 // InternalApplicationConfiguration.g:4002:5: (lv_entry_2_0= RULE_STRING )
10943 // InternalApplicationConfiguration.g:4060:19: (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) 10943 // InternalApplicationConfiguration.g:4003:6: lv_entry_2_0= RULE_STRING
10944 // InternalApplicationConfiguration.g:4060:20: otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) 10944 {
10945 { 10945 lv_entry_2_0=(Token)match(input,RULE_STRING,FOLLOW_15);
10946 otherlv_28=(Token)match(input,48,FOLLOW_12); 10946
10947 10947 newLeafNode(lv_entry_2_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_0_0());
10948 newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_8_0()); 10948
10949 10949
10950 otherlv_29=(Token)match(input,17,FOLLOW_20); 10950 if (current==null) {
10951 10951 current = createModelElement(grammarAccess.getStringEnumerationRule());
10952 newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); 10952 }
10953 10953 addWithLastConsumed(
10954 // InternalApplicationConfiguration.g:4068:9: ( (lv_debugFolder_30_0= ruleFile ) ) 10954 current,
10955 // InternalApplicationConfiguration.g:4069:10: (lv_debugFolder_30_0= ruleFile ) 10955 "entry",
10956 { 10956 lv_entry_2_0,
10957 // InternalApplicationConfiguration.g:4069:10: (lv_debugFolder_30_0= ruleFile ) 10957 "org.eclipse.xtext.common.Terminals.STRING");
10958 // InternalApplicationConfiguration.g:4070:11: lv_debugFolder_30_0= ruleFile 10958
10959 { 10959
10960 10960 }
10961 newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_8_2_0()); 10961
10962 10962
10963 pushFollow(FOLLOW_39); 10963 }
10964 lv_debugFolder_30_0=ruleFile(); 10964
10965 10965 // InternalApplicationConfiguration.g:4019:4: (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )*
10966 state._fsp--; 10966 loop55:
10967 10967 do {
10968 10968 int alt55=2;
10969 if (current==null) { 10969 int LA55_0 = input.LA(1);
10970 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 10970
10971 } 10971 if ( (LA55_0==20) ) {
10972 set( 10972 alt55=1;
10973 current, 10973 }
10974 "debugFolder", 10974
10975 lv_debugFolder_30_0, 10975
10976 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 10976 switch (alt55) {
10977 afterParserOrEnumRuleCall(); 10977 case 1 :
10978 10978 // InternalApplicationConfiguration.g:4020:5: otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) )
10979 10979 {
10980 } 10980 otherlv_3=(Token)match(input,20,FOLLOW_10);
10981 10981
10982 10982 newLeafNode(otherlv_3, grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0());
10983 } 10983
10984 10984 // InternalApplicationConfiguration.g:4024:5: ( (lv_entry_4_0= RULE_STRING ) )
10985 10985 // InternalApplicationConfiguration.g:4025:6: (lv_entry_4_0= RULE_STRING )
10986 } 10986 {
10987 10987 // InternalApplicationConfiguration.g:4025:6: (lv_entry_4_0= RULE_STRING )
10988 10988 // InternalApplicationConfiguration.g:4026:7: lv_entry_4_0= RULE_STRING
10989 } 10989 {
10990 10990 lv_entry_4_0=(Token)match(input,RULE_STRING,FOLLOW_15);
10991 10991
10992 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10992 newLeafNode(lv_entry_4_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_1_1_0());
10993 10993
10994 10994
10995 } 10995 if (current==null) {
10996 10996 current = createModelElement(grammarAccess.getStringEnumerationRule());
10997 10997 }
10998 } 10998 addWithLastConsumed(
10999 10999 current,
11000 11000 "entry",
11001 } 11001 lv_entry_4_0,
11002 break; 11002 "org.eclipse.xtext.common.Terminals.STRING");
11003 case 10 : 11003
11004 // InternalApplicationConfiguration.g:4093:4: ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) 11004
11005 { 11005 }
11006 // InternalApplicationConfiguration.g:4093:4: ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) 11006
11007 // InternalApplicationConfiguration.g:4094:5: {...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) 11007
11008 { 11008 }
11009 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) { 11009
11010 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)"); 11010
11011 } 11011 }
11012 // InternalApplicationConfiguration.g:4094:111: ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) 11012 break;
11013 // InternalApplicationConfiguration.g:4095:6: ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) 11013
11014 { 11014 default :
11015 11015 break loop55;
11016 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); 11016 }
11017 11017 } while (true);
11018 // InternalApplicationConfiguration.g:4098:9: ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) 11018
11019 // InternalApplicationConfiguration.g:4098:10: {...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) 11019
11020 { 11020 }
11021 if ( !((true)) ) { 11021 break;
11022 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 11022
11023 } 11023 }
11024 // InternalApplicationConfiguration.g:4098:19: (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) 11024
11025 // InternalApplicationConfiguration.g:4098:20: otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) 11025 otherlv_5=(Token)match(input,21,FOLLOW_2);
11026 { 11026
11027 otherlv_31=(Token)match(input,49,FOLLOW_12); 11027 newLeafNode(otherlv_5, grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3());
11028 11028
11029 newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_9_0()); 11029
11030 11030 }
11031 otherlv_32=(Token)match(input,17,FOLLOW_20); 11031
11032 11032
11033 newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); 11033 }
11034 11034
11035 // InternalApplicationConfiguration.g:4106:9: ( (lv_targetLogFile_33_0= ruleFile ) ) 11035
11036 // InternalApplicationConfiguration.g:4107:10: (lv_targetLogFile_33_0= ruleFile ) 11036 leaveRule();
11037 { 11037
11038 // InternalApplicationConfiguration.g:4107:10: (lv_targetLogFile_33_0= ruleFile ) 11038 }
11039 // InternalApplicationConfiguration.g:4108:11: lv_targetLogFile_33_0= ruleFile 11039
11040 { 11040 catch (RecognitionException re) {
11041 11041 recover(input,re);
11042 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_9_2_0()); 11042 appendSkippedTokens();
11043 11043 }
11044 pushFollow(FOLLOW_39); 11044 finally {
11045 lv_targetLogFile_33_0=ruleFile(); 11045 }
11046 11046 return current;
11047 state._fsp--; 11047 }
11048 11048 // $ANTLR end "ruleStringEnumeration"
11049 11049
11050 if (current==null) { 11050
11051 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 11051 // $ANTLR start "entryRuleScopeDeclaration"
11052 } 11052 // InternalApplicationConfiguration.g:4052:1: entryRuleScopeDeclaration returns [EObject current=null] : iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ;
11053 set( 11053 public final EObject entryRuleScopeDeclaration() throws RecognitionException {
11054 current, 11054 EObject current = null;
11055 "targetLogFile", 11055
11056 lv_targetLogFile_33_0, 11056 EObject iv_ruleScopeDeclaration = null;
11057 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 11057
11058 afterParserOrEnumRuleCall(); 11058
11059 11059 try {
11060 11060 // InternalApplicationConfiguration.g:4052:57: (iv_ruleScopeDeclaration= ruleScopeDeclaration EOF )
11061 } 11061 // InternalApplicationConfiguration.g:4053:2: iv_ruleScopeDeclaration= ruleScopeDeclaration EOF
11062 11062 {
11063 11063 newCompositeNode(grammarAccess.getScopeDeclarationRule());
11064 } 11064 pushFollow(FOLLOW_1);
11065 11065 iv_ruleScopeDeclaration=ruleScopeDeclaration();
11066 11066
11067 } 11067 state._fsp--;
11068 11068
11069 11069 current =iv_ruleScopeDeclaration;
11070 } 11070 match(input,EOF,FOLLOW_2);
11071 11071
11072 11072 }
11073 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 11073
11074 11074 }
11075 11075
11076 } 11076 catch (RecognitionException re) {
11077 11077 recover(input,re);
11078 11078 appendSkippedTokens();
11079 } 11079 }
11080 11080 finally {
11081 11081 }
11082 } 11082 return current;
11083 break; 11083 }
11084 case 11 : 11084 // $ANTLR end "entryRuleScopeDeclaration"
11085 // InternalApplicationConfiguration.g:4131:4: ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) 11085
11086 { 11086
11087 // InternalApplicationConfiguration.g:4131:4: ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) 11087 // $ANTLR start "ruleScopeDeclaration"
11088 // InternalApplicationConfiguration.g:4132:5: {...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) 11088 // InternalApplicationConfiguration.g:4059:1: ruleScopeDeclaration returns [EObject current=null] : (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ;
11089 { 11089 public final EObject ruleScopeDeclaration() throws RecognitionException {
11090 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) { 11090 EObject current = null;
11091 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)"); 11091
11092 } 11092 Token otherlv_0=null;
11093 // InternalApplicationConfiguration.g:4132:112: ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) 11093 Token lv_name_1_0=null;
11094 // InternalApplicationConfiguration.g:4133:6: ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) 11094 EObject lv_specification_2_0 = null;
11095 { 11095
11096 11096
11097 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); 11097
11098 11098 enterRule();
11099 // InternalApplicationConfiguration.g:4136:9: ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) 11099
11100 // InternalApplicationConfiguration.g:4136:10: {...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) 11100 try {
11101 { 11101 // InternalApplicationConfiguration.g:4065:2: ( (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) )
11102 if ( !((true)) ) { 11102 // InternalApplicationConfiguration.g:4066:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) )
11103 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 11103 {
11104 } 11104 // InternalApplicationConfiguration.g:4066:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) )
11105 // InternalApplicationConfiguration.g:4136:19: (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) 11105 // InternalApplicationConfiguration.g:4067:3: otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) )
11106 // InternalApplicationConfiguration.g:4136:20: otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) 11106 {
11107 { 11107 otherlv_0=(Token)match(input,44,FOLLOW_6);
11108 otherlv_34=(Token)match(input,50,FOLLOW_12); 11108
11109 11109 newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0());
11110 newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_10_0()); 11110
11111 11111 // InternalApplicationConfiguration.g:4071:3: ( (lv_name_1_0= RULE_ID ) )
11112 otherlv_35=(Token)match(input,17,FOLLOW_20); 11112 // InternalApplicationConfiguration.g:4072:4: (lv_name_1_0= RULE_ID )
11113 11113 {
11114 newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); 11114 // InternalApplicationConfiguration.g:4072:4: (lv_name_1_0= RULE_ID )
11115 11115 // InternalApplicationConfiguration.g:4073:5: lv_name_1_0= RULE_ID
11116 // InternalApplicationConfiguration.g:4144:9: ( (lv_targetStatisticsFile_36_0= ruleFile ) ) 11116 {
11117 // InternalApplicationConfiguration.g:4145:10: (lv_targetStatisticsFile_36_0= ruleFile ) 11117 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17);
11118 { 11118
11119 // InternalApplicationConfiguration.g:4145:10: (lv_targetStatisticsFile_36_0= ruleFile ) 11119 newLeafNode(lv_name_1_0, grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0());
11120 // InternalApplicationConfiguration.g:4146:11: lv_targetStatisticsFile_36_0= ruleFile 11120
11121 { 11121
11122 11122 if (current==null) {
11123 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_10_2_0()); 11123 current = createModelElement(grammarAccess.getScopeDeclarationRule());
11124 11124 }
11125 pushFollow(FOLLOW_39); 11125 setWithLastConsumed(
11126 lv_targetStatisticsFile_36_0=ruleFile(); 11126 current,
11127 11127 "name",
11128 state._fsp--; 11128 lv_name_1_0,
11129 11129 "org.eclipse.xtext.common.Terminals.ID");
11130 11130
11131 if (current==null) { 11131
11132 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 11132 }
11133 } 11133
11134 set( 11134
11135 current, 11135 }
11136 "targetStatisticsFile", 11136
11137 lv_targetStatisticsFile_36_0, 11137 // InternalApplicationConfiguration.g:4089:3: ( (lv_specification_2_0= ruleScopeSpecification ) )
11138 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 11138 // InternalApplicationConfiguration.g:4090:4: (lv_specification_2_0= ruleScopeSpecification )
11139 afterParserOrEnumRuleCall(); 11139 {
11140 11140 // InternalApplicationConfiguration.g:4090:4: (lv_specification_2_0= ruleScopeSpecification )
11141 11141 // InternalApplicationConfiguration.g:4091:5: lv_specification_2_0= ruleScopeSpecification
11142 } 11142 {
11143 11143
11144 11144 newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0());
11145 } 11145
11146 11146 pushFollow(FOLLOW_2);
11147 11147 lv_specification_2_0=ruleScopeSpecification();
11148 } 11148
11149 11149 state._fsp--;
11150 11150
11151 } 11151
11152 11152 if (current==null) {
11153 11153 current = createModelElementForParent(grammarAccess.getScopeDeclarationRule());
11154 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 11154 }
11155 11155 set(
11156 11156 current,
11157 } 11157 "specification",
11158 11158 lv_specification_2_0,
11159 11159 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification");
11160 } 11160 afterParserOrEnumRuleCall();
11161 11161
11162 11162
11163 } 11163 }
11164 break; 11164
11165 case 12 : 11165
11166 // InternalApplicationConfiguration.g:4169:4: ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) 11166 }
11167 { 11167
11168 // InternalApplicationConfiguration.g:4169:4: ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) 11168
11169 // InternalApplicationConfiguration.g:4170:5: {...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) 11169 }
11170 { 11170
11171 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) { 11171
11172 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)"); 11172 }
11173 } 11173
11174 // InternalApplicationConfiguration.g:4170:112: ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) 11174
11175 // InternalApplicationConfiguration.g:4171:6: ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) 11175 leaveRule();
11176 { 11176
11177 11177 }
11178 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); 11178
11179 11179 catch (RecognitionException re) {
11180 // InternalApplicationConfiguration.g:4174:9: ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) 11180 recover(input,re);
11181 // InternalApplicationConfiguration.g:4174:10: {...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) 11181 appendSkippedTokens();
11182 { 11182 }
11183 if ( !((true)) ) { 11183 finally {
11184 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 11184 }
11185 } 11185 return current;
11186 // InternalApplicationConfiguration.g:4174:19: (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) 11186 }
11187 // InternalApplicationConfiguration.g:4174:20: otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) 11187 // $ANTLR end "ruleScopeDeclaration"
11188 { 11188
11189 otherlv_37=(Token)match(input,51,FOLLOW_12); 11189
11190 11190 // $ANTLR start "entryRuleScopeReference"
11191 newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_11_0()); 11191 // InternalApplicationConfiguration.g:4112:1: entryRuleScopeReference returns [EObject current=null] : iv_ruleScopeReference= ruleScopeReference EOF ;
11192 11192 public final EObject entryRuleScopeReference() throws RecognitionException {
11193 otherlv_38=(Token)match(input,17,FOLLOW_20); 11193 EObject current = null;
11194 11194
11195 newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); 11195 EObject iv_ruleScopeReference = null;
11196 11196
11197 // InternalApplicationConfiguration.g:4182:9: ( (lv_tagetFolder_39_0= ruleFile ) ) 11197
11198 // InternalApplicationConfiguration.g:4183:10: (lv_tagetFolder_39_0= ruleFile ) 11198 try {
11199 { 11199 // InternalApplicationConfiguration.g:4112:55: (iv_ruleScopeReference= ruleScopeReference EOF )
11200 // InternalApplicationConfiguration.g:4183:10: (lv_tagetFolder_39_0= ruleFile ) 11200 // InternalApplicationConfiguration.g:4113:2: iv_ruleScopeReference= ruleScopeReference EOF
11201 // InternalApplicationConfiguration.g:4184:11: lv_tagetFolder_39_0= ruleFile 11201 {
11202 { 11202 newCompositeNode(grammarAccess.getScopeReferenceRule());
11203 11203 pushFollow(FOLLOW_1);
11204 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_11_2_0()); 11204 iv_ruleScopeReference=ruleScopeReference();
11205 11205
11206 pushFollow(FOLLOW_39); 11206 state._fsp--;
11207 lv_tagetFolder_39_0=ruleFile(); 11207
11208 11208 current =iv_ruleScopeReference;
11209 state._fsp--; 11209 match(input,EOF,FOLLOW_2);
11210 11210
11211 11211 }
11212 if (current==null) { 11212
11213 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 11213 }
11214 } 11214
11215 set( 11215 catch (RecognitionException re) {
11216 current, 11216 recover(input,re);
11217 "tagetFolder", 11217 appendSkippedTokens();
11218 lv_tagetFolder_39_0, 11218 }
11219 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 11219 finally {
11220 afterParserOrEnumRuleCall(); 11220 }
11221 11221 return current;
11222 11222 }
11223 } 11223 // $ANTLR end "entryRuleScopeReference"
11224 11224
11225 11225
11226 } 11226 // $ANTLR start "ruleScopeReference"
11227 11227 // InternalApplicationConfiguration.g:4119:1: ruleScopeReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
11228 11228 public final EObject ruleScopeReference() throws RecognitionException {
11229 } 11229 EObject current = null;
11230 11230
11231 11231 Token otherlv_0=null;
11232 } 11232
11233 11233
11234 11234 enterRule();
11235 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 11235
11236 11236 try {
11237 11237 // InternalApplicationConfiguration.g:4125:2: ( ( (otherlv_0= RULE_ID ) ) )
11238 } 11238 // InternalApplicationConfiguration.g:4126:2: ( (otherlv_0= RULE_ID ) )
11239 11239 {
11240 11240 // InternalApplicationConfiguration.g:4126:2: ( (otherlv_0= RULE_ID ) )
11241 } 11241 // InternalApplicationConfiguration.g:4127:3: (otherlv_0= RULE_ID )
11242 11242 {
11243 11243 // InternalApplicationConfiguration.g:4127:3: (otherlv_0= RULE_ID )
11244 } 11244 // InternalApplicationConfiguration.g:4128:4: otherlv_0= RULE_ID
11245 break; 11245 {
11246 11246
11247 default : 11247 if (current==null) {
11248 break loop54; 11248 current = createModelElement(grammarAccess.getScopeReferenceRule());
11249 } 11249 }
11250 } while (true); 11250
11251 11251 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2);
11252 11252
11253 } 11253 newLeafNode(otherlv_0, grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0());
11254 11254
11255 11255
11256 } 11256 }
11257 11257
11258 11258
11259 getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 11259 }
11260 11260
11261 11261
11262 } 11262 }
11263 11263
11264 otherlv_40=(Token)match(input,20,FOLLOW_2); 11264
11265 11265 leaveRule();
11266 newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); 11266
11267 11267 }
11268 11268
11269 } 11269 catch (RecognitionException re) {
11270 11270 recover(input,re);
11271 11271 appendSkippedTokens();
11272 } 11272 }
11273 11273 finally {
11274 11274 }
11275 leaveRule(); 11275 return current;
11276 11276 }
11277 } 11277 // $ANTLR end "ruleScopeReference"
11278 11278
11279 catch (RecognitionException re) { 11279
11280 recover(input,re); 11280 // $ANTLR start "entryRuleScope"
11281 appendSkippedTokens(); 11281 // InternalApplicationConfiguration.g:4142:1: entryRuleScope returns [EObject current=null] : iv_ruleScope= ruleScope EOF ;
11282 } 11282 public final EObject entryRuleScope() throws RecognitionException {
11283 finally { 11283 EObject current = null;
11284 } 11284
11285 return current; 11285 EObject iv_ruleScope = null;
11286 } 11286
11287 // $ANTLR end "ruleGenerationTask" 11287
11288 11288 try {
11289 11289 // InternalApplicationConfiguration.g:4142:46: (iv_ruleScope= ruleScope EOF )
11290 // $ANTLR start "ruleDocumentLevelSpecification" 11290 // InternalApplicationConfiguration.g:4143:2: iv_ruleScope= ruleScope EOF
11291 // InternalApplicationConfiguration.g:4222:1: ruleDocumentLevelSpecification returns [Enumerator current=null] : ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) ; 11291 {
11292 public final Enumerator ruleDocumentLevelSpecification() throws RecognitionException { 11292 newCompositeNode(grammarAccess.getScopeRule());
11293 Enumerator current = null; 11293 pushFollow(FOLLOW_1);
11294 11294 iv_ruleScope=ruleScope();
11295 Token enumLiteral_0=null; 11295
11296 Token enumLiteral_1=null; 11296 state._fsp--;
11297 Token enumLiteral_2=null; 11297
11298 11298 current =iv_ruleScope;
11299 11299 match(input,EOF,FOLLOW_2);
11300 enterRule(); 11300
11301 11301 }
11302 try { 11302
11303 // InternalApplicationConfiguration.g:4228:2: ( ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) ) 11303 }
11304 // InternalApplicationConfiguration.g:4229:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) 11304
11305 { 11305 catch (RecognitionException re) {
11306 // InternalApplicationConfiguration.g:4229:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) 11306 recover(input,re);
11307 int alt55=3; 11307 appendSkippedTokens();
11308 switch ( input.LA(1) ) { 11308 }
11309 case 52: 11309 finally {
11310 { 11310 }
11311 alt55=1; 11311 return current;
11312 } 11312 }
11313 break; 11313 // $ANTLR end "entryRuleScope"
11314 case 53: 11314
11315 { 11315
11316 alt55=2; 11316 // $ANTLR start "ruleScope"
11317 } 11317 // InternalApplicationConfiguration.g:4149:1: ruleScope returns [EObject current=null] : (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ;
11318 break; 11318 public final EObject ruleScope() throws RecognitionException {
11319 case 54: 11319 EObject current = null;
11320 { 11320
11321 alt55=3; 11321 EObject this_ScopeSpecification_0 = null;
11322 } 11322
11323 break; 11323 EObject this_ScopeReference_1 = null;
11324 default: 11324
11325 NoViableAltException nvae = 11325
11326 new NoViableAltException("", 55, 0, input); 11326
11327 11327 enterRule();
11328 throw nvae; 11328
11329 } 11329 try {
11330 11330 // InternalApplicationConfiguration.g:4155:2: ( (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) )
11331 switch (alt55) { 11331 // InternalApplicationConfiguration.g:4156:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference )
11332 case 1 : 11332 {
11333 // InternalApplicationConfiguration.g:4230:3: (enumLiteral_0= 'none' ) 11333 // InternalApplicationConfiguration.g:4156:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference )
11334 { 11334 int alt57=2;
11335 // InternalApplicationConfiguration.g:4230:3: (enumLiteral_0= 'none' ) 11335 int LA57_0 = input.LA(1);
11336 // InternalApplicationConfiguration.g:4231:4: enumLiteral_0= 'none' 11336
11337 { 11337 if ( (LA57_0==19) ) {
11338 enumLiteral_0=(Token)match(input,52,FOLLOW_2); 11338 alt57=1;
11339 11339 }
11340 current = grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); 11340 else if ( (LA57_0==RULE_ID) ) {
11341 newLeafNode(enumLiteral_0, grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0()); 11341 alt57=2;
11342 11342 }
11343 11343 else {
11344 } 11344 NoViableAltException nvae =
11345 11345 new NoViableAltException("", 57, 0, input);
11346 11346
11347 } 11347 throw nvae;
11348 break; 11348 }
11349 case 2 : 11349 switch (alt57) {
11350 // InternalApplicationConfiguration.g:4238:3: (enumLiteral_1= 'normal' ) 11350 case 1 :
11351 { 11351 // InternalApplicationConfiguration.g:4157:3: this_ScopeSpecification_0= ruleScopeSpecification
11352 // InternalApplicationConfiguration.g:4238:3: (enumLiteral_1= 'normal' ) 11352 {
11353 // InternalApplicationConfiguration.g:4239:4: enumLiteral_1= 'normal' 11353
11354 { 11354 newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0());
11355 enumLiteral_1=(Token)match(input,53,FOLLOW_2); 11355
11356 11356 pushFollow(FOLLOW_2);
11357 current = grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); 11357 this_ScopeSpecification_0=ruleScopeSpecification();
11358 newLeafNode(enumLiteral_1, grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1()); 11358
11359 11359 state._fsp--;
11360 11360
11361 } 11361
11362 11362 current = this_ScopeSpecification_0;
11363 11363 afterParserOrEnumRuleCall();
11364 } 11364
11365 break; 11365
11366 case 3 : 11366 }
11367 // InternalApplicationConfiguration.g:4246:3: (enumLiteral_2= 'full' ) 11367 break;
11368 { 11368 case 2 :
11369 // InternalApplicationConfiguration.g:4246:3: (enumLiteral_2= 'full' ) 11369 // InternalApplicationConfiguration.g:4166:3: this_ScopeReference_1= ruleScopeReference
11370 // InternalApplicationConfiguration.g:4247:4: enumLiteral_2= 'full' 11370 {
11371 { 11371
11372 enumLiteral_2=(Token)match(input,54,FOLLOW_2); 11372 newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1());
11373 11373
11374 current = grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); 11374 pushFollow(FOLLOW_2);
11375 newLeafNode(enumLiteral_2, grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2()); 11375 this_ScopeReference_1=ruleScopeReference();
11376 11376
11377 11377 state._fsp--;
11378 } 11378
11379 11379
11380 11380 current = this_ScopeReference_1;
11381 } 11381 afterParserOrEnumRuleCall();
11382 break; 11382
11383 11383
11384 } 11384 }
11385 11385 break;
11386 11386
11387 } 11387 }
11388 11388
11389 11389
11390 leaveRule(); 11390 }
11391 11391
11392 } 11392
11393 11393 leaveRule();
11394 catch (RecognitionException re) { 11394
11395 recover(input,re); 11395 }
11396 appendSkippedTokens(); 11396
11397 } 11397 catch (RecognitionException re) {
11398 finally { 11398 recover(input,re);
11399 } 11399 appendSkippedTokens();
11400 return current; 11400 }
11401 } 11401 finally {
11402 // $ANTLR end "ruleDocumentLevelSpecification" 11402 }
11403 11403 return current;
11404 11404 }
11405 // $ANTLR start "ruleSolver" 11405 // $ANTLR end "ruleScope"
11406 // InternalApplicationConfiguration.g:4257:1: ruleSolver returns [Enumerator current=null] : ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ; 11406
11407 public final Enumerator ruleSolver() throws RecognitionException { 11407
11408 Enumerator current = null; 11408 // $ANTLR start "entryRuleTask"
11409 11409 // InternalApplicationConfiguration.g:4178:1: entryRuleTask returns [EObject current=null] : iv_ruleTask= ruleTask EOF ;
11410 Token enumLiteral_0=null; 11410 public final EObject entryRuleTask() throws RecognitionException {
11411 Token enumLiteral_1=null; 11411 EObject current = null;
11412 Token enumLiteral_2=null; 11412
11413 11413 EObject iv_ruleTask = null;
11414 11414
11415 enterRule(); 11415
11416 11416 try {
11417 try { 11417 // InternalApplicationConfiguration.g:4178:45: (iv_ruleTask= ruleTask EOF )
11418 // InternalApplicationConfiguration.g:4263:2: ( ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ) 11418 // InternalApplicationConfiguration.g:4179:2: iv_ruleTask= ruleTask EOF
11419 // InternalApplicationConfiguration.g:4264:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) 11419 {
11420 { 11420 newCompositeNode(grammarAccess.getTaskRule());
11421 // InternalApplicationConfiguration.g:4264:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) 11421 pushFollow(FOLLOW_1);
11422 int alt56=3; 11422 iv_ruleTask=ruleTask();
11423 switch ( input.LA(1) ) { 11423
11424 case 55: 11424 state._fsp--;
11425 { 11425
11426 alt56=1; 11426 current =iv_ruleTask;
11427 } 11427 match(input,EOF,FOLLOW_2);
11428 break; 11428
11429 case 56: 11429 }
11430 { 11430
11431 alt56=2; 11431 }
11432 } 11432
11433 break; 11433 catch (RecognitionException re) {
11434 case 57: 11434 recover(input,re);
11435 { 11435 appendSkippedTokens();
11436 alt56=3; 11436 }
11437 } 11437 finally {
11438 break; 11438 }
11439 default: 11439 return current;
11440 NoViableAltException nvae = 11440 }
11441 new NoViableAltException("", 56, 0, input); 11441 // $ANTLR end "entryRuleTask"
11442 11442
11443 throw nvae; 11443
11444 } 11444 // $ANTLR start "ruleTask"
11445 11445 // InternalApplicationConfiguration.g:4185:1: ruleTask returns [EObject current=null] : this_GenerationTask_0= ruleGenerationTask ;
11446 switch (alt56) { 11446 public final EObject ruleTask() throws RecognitionException {
11447 case 1 : 11447 EObject current = null;
11448 // InternalApplicationConfiguration.g:4265:3: (enumLiteral_0= 'SMTSolver' ) 11448
11449 { 11449 EObject this_GenerationTask_0 = null;
11450 // InternalApplicationConfiguration.g:4265:3: (enumLiteral_0= 'SMTSolver' ) 11450
11451 // InternalApplicationConfiguration.g:4266:4: enumLiteral_0= 'SMTSolver' 11451
11452 { 11452
11453 enumLiteral_0=(Token)match(input,55,FOLLOW_2); 11453 enterRule();
11454 11454
11455 current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); 11455 try {
11456 newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); 11456 // InternalApplicationConfiguration.g:4191:2: (this_GenerationTask_0= ruleGenerationTask )
11457 11457 // InternalApplicationConfiguration.g:4192:2: this_GenerationTask_0= ruleGenerationTask
11458 11458 {
11459 } 11459
11460 11460 newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall());
11461 11461
11462 } 11462 pushFollow(FOLLOW_2);
11463 break; 11463 this_GenerationTask_0=ruleGenerationTask();
11464 case 2 : 11464
11465 // InternalApplicationConfiguration.g:4273:3: (enumLiteral_1= 'AlloySolver' ) 11465 state._fsp--;
11466 { 11466
11467 // InternalApplicationConfiguration.g:4273:3: (enumLiteral_1= 'AlloySolver' ) 11467
11468 // InternalApplicationConfiguration.g:4274:4: enumLiteral_1= 'AlloySolver' 11468 current = this_GenerationTask_0;
11469 { 11469 afterParserOrEnumRuleCall();
11470 enumLiteral_1=(Token)match(input,56,FOLLOW_2); 11470
11471 11471
11472 current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); 11472 }
11473 newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); 11473
11474 11474
11475 11475 leaveRule();
11476 } 11476
11477 11477 }
11478 11478
11479 } 11479 catch (RecognitionException re) {
11480 break; 11480 recover(input,re);
11481 case 3 : 11481 appendSkippedTokens();
11482 // InternalApplicationConfiguration.g:4281:3: (enumLiteral_2= 'ViatraSolver' ) 11482 }
11483 { 11483 finally {
11484 // InternalApplicationConfiguration.g:4281:3: (enumLiteral_2= 'ViatraSolver' ) 11484 }
11485 // InternalApplicationConfiguration.g:4282:4: enumLiteral_2= 'ViatraSolver' 11485 return current;
11486 { 11486 }
11487 enumLiteral_2=(Token)match(input,57,FOLLOW_2); 11487 // $ANTLR end "ruleTask"
11488 11488
11489 current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); 11489
11490 newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); 11490 // $ANTLR start "entryRuleGenerationTask"
11491 11491 // InternalApplicationConfiguration.g:4203:1: entryRuleGenerationTask returns [EObject current=null] : iv_ruleGenerationTask= ruleGenerationTask EOF ;
11492 11492 public final EObject entryRuleGenerationTask() throws RecognitionException {
11493 } 11493 EObject current = null;
11494 11494
11495 11495 EObject iv_ruleGenerationTask = null;
11496 } 11496
11497 break; 11497
11498 11498 try {
11499 } 11499 // InternalApplicationConfiguration.g:4203:55: (iv_ruleGenerationTask= ruleGenerationTask EOF )
11500 11500 // InternalApplicationConfiguration.g:4204:2: iv_ruleGenerationTask= ruleGenerationTask EOF
11501 11501 {
11502 } 11502 newCompositeNode(grammarAccess.getGenerationTaskRule());
11503 11503 pushFollow(FOLLOW_1);
11504 11504 iv_ruleGenerationTask=ruleGenerationTask();
11505 leaveRule(); 11505
11506 11506 state._fsp--;
11507 } 11507
11508 11508 current =iv_ruleGenerationTask;
11509 catch (RecognitionException re) { 11509 match(input,EOF,FOLLOW_2);
11510 recover(input,re); 11510
11511 appendSkippedTokens(); 11511 }
11512 } 11512
11513 finally { 11513 }
11514 } 11514
11515 return current; 11515 catch (RecognitionException re) {
11516 } 11516 recover(input,re);
11517 // $ANTLR end "ruleSolver" 11517 appendSkippedTokens();
11518 11518 }
11519 // Delegated rules 11519 finally {
11520 11520 }
11521 11521 return current;
11522 protected DFA54 dfa54 = new DFA54(this); 11522 }
11523 static final String dfa_1s = "\16\uffff"; 11523 // $ANTLR end "entryRuleGenerationTask"
11524 static final String dfa_2s = "\1\24\15\uffff"; 11524
11525 static final String dfa_3s = "\1\63\15\uffff"; 11525
11526 static final String dfa_4s = "\1\uffff\1\15\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14"; 11526 // $ANTLR start "ruleGenerationTask"
11527 static final String dfa_5s = "\1\0\15\uffff}>"; 11527 // InternalApplicationConfiguration.g:4210:1: ruleGenerationTask returns [EObject current=null] : (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) ;
11528 static final String[] dfa_6s = { 11528 public final EObject ruleGenerationTask() throws RecognitionException {
11529 "\1\1\3\uffff\1\2\2\uffff\1\4\1\11\15\uffff\1\5\1\uffff\1\3\1\6\1\7\1\10\1\12\1\13\1\14\1\15", 11529 EObject current = null;
11530 "", 11530
11531 "", 11531 Token otherlv_0=null;
11532 "", 11532 Token otherlv_2=null;
11533 "", 11533 Token otherlv_4=null;
11534 "", 11534 Token otherlv_5=null;
11535 "", 11535 Token otherlv_7=null;
11536 "", 11536 Token otherlv_8=null;
11537 "", 11537 Token otherlv_10=null;
11538 "", 11538 Token otherlv_11=null;
11539 "", 11539 Token otherlv_13=null;
11540 "", 11540 Token otherlv_14=null;
11541 "", 11541 Token otherlv_16=null;
11542 "" 11542 Token otherlv_17=null;
11543 }; 11543 Token lv_numberSpecified_19_0=null;
11544 11544 Token otherlv_20=null;
11545 static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s); 11545 Token lv_number_21_0=null;
11546 static final char[] dfa_2 = DFA.unpackEncodedStringToUnsignedChars(dfa_2s); 11546 Token lv_runSpecified_22_0=null;
11547 static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s); 11547 Token otherlv_23=null;
11548 static final short[] dfa_4 = DFA.unpackEncodedString(dfa_4s); 11548 Token lv_runs_24_0=null;
11549 static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s); 11549 Token otherlv_25=null;
11550 static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s); 11550 Token otherlv_26=null;
11551 11551 Token otherlv_28=null;
11552 class DFA54 extends DFA { 11552 Token otherlv_29=null;
11553 11553 Token otherlv_31=null;
11554 public DFA54(BaseRecognizer recognizer) { 11554 Token otherlv_32=null;
11555 this.recognizer = recognizer; 11555 Token otherlv_34=null;
11556 this.decisionNumber = 54; 11556 Token otherlv_35=null;
11557 this.eot = dfa_1; 11557 Token otherlv_37=null;
11558 this.eof = dfa_1; 11558 Token otherlv_38=null;
11559 this.min = dfa_2; 11559 Token otherlv_40=null;
11560 this.max = dfa_3; 11560 Token otherlv_41=null;
11561 this.accept = dfa_4; 11561 Token otherlv_43=null;
11562 this.special = dfa_5; 11562 EObject lv_metamodel_6_0 = null;
11563 this.transition = dfa_6; 11563
11564 } 11564 EObject lv_partialModel_9_0 = null;
11565 public String getDescription() { 11565
11566 return "()* loopback of 3732:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )*"; 11566 EObject lv_patterns_12_0 = null;
11567 } 11567
11568 public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { 11568 EObject lv_objectives_15_0 = null;
11569 TokenStream input = (TokenStream)_input; 11569
11570 int _s = s; 11570 EObject lv_scope_18_0 = null;
11571 switch ( s ) { 11571
11572 case 0 : 11572 Enumerator lv_solver_27_0 = null;
11573 int LA54_0 = input.LA(1); 11573
11574 11574 EObject lv_config_30_0 = null;
11575 11575
11576 int index54_0 = input.index(); 11576 EObject lv_debugFolder_33_0 = null;
11577 input.rewind(); 11577
11578 s = -1; 11578 EObject lv_targetLogFile_36_0 = null;
11579 if ( (LA54_0==20) ) {s = 1;} 11579
11580 11580 EObject lv_targetStatisticsFile_39_0 = null;
11581 else if ( LA54_0 == 24 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 2;} 11581
11582 11582 EObject lv_tagetFolder_42_0 = null;
11583 else if ( LA54_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 3;} 11583
11584 11584
11585 else if ( LA54_0 == 27 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 4;} 11585
11586 11586 enterRule();
11587 else if ( LA54_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 5;} 11587
11588 11588 try {
11589 else if ( LA54_0 == 45 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 6;} 11589 // InternalApplicationConfiguration.g:4216:2: ( (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) )
11590 11590 // InternalApplicationConfiguration.g:4217:2: (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' )
11591 else if ( LA54_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 7;} 11591 {
11592 11592 // InternalApplicationConfiguration.g:4217:2: (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' )
11593 else if ( LA54_0 == 47 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 8;} 11593 // InternalApplicationConfiguration.g:4218:3: otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}'
11594 11594 {
11595 else if ( LA54_0 == 28 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 9;} 11595 otherlv_0=(Token)match(input,45,FOLLOW_17);
11596 11596
11597 else if ( LA54_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 10;} 11597 newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0());
11598 11598
11599 else if ( LA54_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 11;} 11599 // InternalApplicationConfiguration.g:4222:3: ()
11600 11600 // InternalApplicationConfiguration.g:4223:4:
11601 else if ( LA54_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 12;} 11601 {
11602 11602
11603 else if ( LA54_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 13;} 11603 current = forceCreateModelElement(
11604 11604 grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(),
11605 11605 current);
11606 input.seek(index54_0); 11606
11607 if ( s>=0 ) return s; 11607
11608 break; 11608 }
11609 } 11609
11610 NoViableAltException nvae = 11610 otherlv_2=(Token)match(input,19,FOLLOW_42);
11611 new NoViableAltException(getDescription(), 54, _s, input); 11611
11612 error(nvae); 11612 newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2());
11613 throw nvae; 11613
11614 } 11614 // InternalApplicationConfiguration.g:4233:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) )
11615 } 11615 // InternalApplicationConfiguration.g:4234:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) )
11616 11616 {
11617 11617 // InternalApplicationConfiguration.g:4234:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) )
11618 public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); 11618 // InternalApplicationConfiguration.g:4235:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* )
11619 public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); 11619 {
11620 public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x00000C001D012002L}); 11620
11621 public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x00000C001D010002L}); 11621 getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
11622 public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000802L}); 11622
11623 public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000000010L}); 11623 // InternalApplicationConfiguration.g:4238:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* )
11624 public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000000020L}); 11624 // InternalApplicationConfiguration.g:4239:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )*
11625 public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000800L}); 11625 {
11626 public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000004000L}); 11626 // InternalApplicationConfiguration.g:4239:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )*
11627 public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000000040L}); 11627 loop58:
11628 public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000008000L}); 11628 do {
11629 public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000020000L}); 11629 int alt58=14;
11630 public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000200010L}); 11630 alt58 = dfa58.predict(input);
11631 public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000180000L}); 11631 switch (alt58) {
11632 public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000400002L}); 11632 case 1 :
11633 public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000040000L}); 11633 // InternalApplicationConfiguration.g:4240:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) )
11634 public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000800000L}); 11634 {
11635 public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000002000050L}); 11635 // InternalApplicationConfiguration.g:4240:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) )
11636 public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000100000L}); 11636 // InternalApplicationConfiguration.g:4241:5: {...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) )
11637 public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000000050L}); 11637 {
11638 public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x00000000E0100040L}); 11638 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {
11639 public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x00000000E0000040L}); 11639 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)");
11640 public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0070000000000000L}); 11640 }
11641 public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000100100000L}); 11641 // InternalApplicationConfiguration.g:4241:111: ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) )
11642 public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000100000000L}); 11642 // InternalApplicationConfiguration.g:4242:6: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) )
11643 public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000400000000L}); 11643 {
11644 public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000200020000L}); 11644
11645 public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000010000000020L}); 11645 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0);
11646 public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000001000000000L}); 11646
11647 public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000002000000000L}); 11647 // InternalApplicationConfiguration.g:4245:9: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) )
11648 public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000010000040020L}); 11648 // InternalApplicationConfiguration.g:4245:10: {...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) )
11649 public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000004000000000L}); 11649 {
11650 public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000008000000000L}); 11650 if ( !((true)) ) {
11651 public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000800000000L}); 11651 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
11652 public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000020000000000L}); 11652 }
11653 public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000000000101020L}); 11653 // InternalApplicationConfiguration.g:4245:19: (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) )
11654 public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000000000001020L}); 11654 // InternalApplicationConfiguration.g:4245:20: otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) )
11655 public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000000000100040L}); 11655 {
11656 public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x000FF40019100000L}); 11656 otherlv_4=(Token)match(input,25,FOLLOW_13);
11657 public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000000040010L}); 11657
11658 public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0380000000000000L}); 11658 newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0());
11659 11659
11660} 11660 otherlv_5=(Token)match(input,18,FOLLOW_43);
11661
11662 newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1());
11663
11664 // InternalApplicationConfiguration.g:4253:9: ( (lv_metamodel_6_0= ruleMetamodel ) )
11665 // InternalApplicationConfiguration.g:4254:10: (lv_metamodel_6_0= ruleMetamodel )
11666 {
11667 // InternalApplicationConfiguration.g:4254:10: (lv_metamodel_6_0= ruleMetamodel )
11668 // InternalApplicationConfiguration.g:4255:11: lv_metamodel_6_0= ruleMetamodel
11669 {
11670
11671 newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0());
11672
11673 pushFollow(FOLLOW_42);
11674 lv_metamodel_6_0=ruleMetamodel();
11675
11676 state._fsp--;
11677
11678
11679 if (current==null) {
11680 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
11681 }
11682 set(
11683 current,
11684 "metamodel",
11685 lv_metamodel_6_0,
11686 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel");
11687 afterParserOrEnumRuleCall();
11688
11689
11690 }
11691
11692
11693 }
11694
11695
11696 }
11697
11698
11699 }
11700
11701
11702 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
11703
11704
11705 }
11706
11707
11708 }
11709
11710
11711 }
11712 break;
11713 case 2 :
11714 // InternalApplicationConfiguration.g:4278:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) )
11715 {
11716 // InternalApplicationConfiguration.g:4278:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) )
11717 // InternalApplicationConfiguration.g:4279:5: {...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) )
11718 {
11719 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {
11720 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)");
11721 }
11722 // InternalApplicationConfiguration.g:4279:111: ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) )
11723 // InternalApplicationConfiguration.g:4280:6: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) )
11724 {
11725
11726 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1);
11727
11728 // InternalApplicationConfiguration.g:4283:9: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) )
11729 // InternalApplicationConfiguration.g:4283:10: {...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) )
11730 {
11731 if ( !((true)) ) {
11732 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
11733 }
11734 // InternalApplicationConfiguration.g:4283:19: (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) )
11735 // InternalApplicationConfiguration.g:4283:20: otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) )
11736 {
11737 otherlv_7=(Token)match(input,46,FOLLOW_13);
11738
11739 newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0());
11740
11741 otherlv_8=(Token)match(input,18,FOLLOW_43);
11742
11743 newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1());
11744
11745 // InternalApplicationConfiguration.g:4291:9: ( (lv_partialModel_9_0= rulePartialModel ) )
11746 // InternalApplicationConfiguration.g:4292:10: (lv_partialModel_9_0= rulePartialModel )
11747 {
11748 // InternalApplicationConfiguration.g:4292:10: (lv_partialModel_9_0= rulePartialModel )
11749 // InternalApplicationConfiguration.g:4293:11: lv_partialModel_9_0= rulePartialModel
11750 {
11751
11752 newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0());
11753
11754 pushFollow(FOLLOW_42);
11755 lv_partialModel_9_0=rulePartialModel();
11756
11757 state._fsp--;
11758
11759
11760 if (current==null) {
11761 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
11762 }
11763 set(
11764 current,
11765 "partialModel",
11766 lv_partialModel_9_0,
11767 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel");
11768 afterParserOrEnumRuleCall();
11769
11770
11771 }
11772
11773
11774 }
11775
11776
11777 }
11778
11779
11780 }
11781
11782
11783 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
11784
11785
11786 }
11787
11788
11789 }
11790
11791
11792 }
11793 break;
11794 case 3 :
11795 // InternalApplicationConfiguration.g:4316:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) )
11796 {
11797 // InternalApplicationConfiguration.g:4316:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) )
11798 // InternalApplicationConfiguration.g:4317:5: {...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) )
11799 {
11800 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {
11801 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)");
11802 }
11803 // InternalApplicationConfiguration.g:4317:111: ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) )
11804 // InternalApplicationConfiguration.g:4318:6: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) )
11805 {
11806
11807 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2);
11808
11809 // InternalApplicationConfiguration.g:4321:9: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) )
11810 // InternalApplicationConfiguration.g:4321:10: {...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) )
11811 {
11812 if ( !((true)) ) {
11813 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
11814 }
11815 // InternalApplicationConfiguration.g:4321:19: (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) )
11816 // InternalApplicationConfiguration.g:4321:20: otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) )
11817 {
11818 otherlv_10=(Token)match(input,28,FOLLOW_13);
11819
11820 newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0());
11821
11822 otherlv_11=(Token)match(input,18,FOLLOW_43);
11823
11824 newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1());
11825
11826 // InternalApplicationConfiguration.g:4329:9: ( (lv_patterns_12_0= ruleGraphPattern ) )
11827 // InternalApplicationConfiguration.g:4330:10: (lv_patterns_12_0= ruleGraphPattern )
11828 {
11829 // InternalApplicationConfiguration.g:4330:10: (lv_patterns_12_0= ruleGraphPattern )
11830 // InternalApplicationConfiguration.g:4331:11: lv_patterns_12_0= ruleGraphPattern
11831 {
11832
11833 newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0());
11834
11835 pushFollow(FOLLOW_42);
11836 lv_patterns_12_0=ruleGraphPattern();
11837
11838 state._fsp--;
11839
11840
11841 if (current==null) {
11842 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
11843 }
11844 set(
11845 current,
11846 "patterns",
11847 lv_patterns_12_0,
11848 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern");
11849 afterParserOrEnumRuleCall();
11850
11851
11852 }
11853
11854
11855 }
11856
11857
11858 }
11859
11860
11861 }
11862
11863
11864 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
11865
11866
11867 }
11868
11869
11870 }
11871
11872
11873 }
11874 break;
11875 case 4 :
11876 // InternalApplicationConfiguration.g:4354:4: ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) )
11877 {
11878 // InternalApplicationConfiguration.g:4354:4: ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) )
11879 // InternalApplicationConfiguration.g:4355:5: {...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) )
11880 {
11881 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {
11882 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)");
11883 }
11884 // InternalApplicationConfiguration.g:4355:111: ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) )
11885 // InternalApplicationConfiguration.g:4356:6: ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) )
11886 {
11887
11888 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3);
11889
11890 // InternalApplicationConfiguration.g:4359:9: ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) )
11891 // InternalApplicationConfiguration.g:4359:10: {...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) )
11892 {
11893 if ( !((true)) ) {
11894 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
11895 }
11896 // InternalApplicationConfiguration.g:4359:19: (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) )
11897 // InternalApplicationConfiguration.g:4359:20: otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) )
11898 {
11899 otherlv_13=(Token)match(input,29,FOLLOW_13);
11900
11901 newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getObjectivesKeyword_3_3_0());
11902
11903 otherlv_14=(Token)match(input,18,FOLLOW_43);
11904
11905 newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1());
11906
11907 // InternalApplicationConfiguration.g:4367:9: ( (lv_objectives_15_0= ruleObjective ) )
11908 // InternalApplicationConfiguration.g:4368:10: (lv_objectives_15_0= ruleObjective )
11909 {
11910 // InternalApplicationConfiguration.g:4368:10: (lv_objectives_15_0= ruleObjective )
11911 // InternalApplicationConfiguration.g:4369:11: lv_objectives_15_0= ruleObjective
11912 {
11913
11914 newCompositeNode(grammarAccess.getGenerationTaskAccess().getObjectivesObjectiveParserRuleCall_3_3_2_0());
11915
11916 pushFollow(FOLLOW_42);
11917 lv_objectives_15_0=ruleObjective();
11918
11919 state._fsp--;
11920
11921
11922 if (current==null) {
11923 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
11924 }
11925 set(
11926 current,
11927 "objectives",
11928 lv_objectives_15_0,
11929 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Objective");
11930 afterParserOrEnumRuleCall();
11931
11932
11933 }
11934
11935
11936 }
11937
11938
11939 }
11940
11941
11942 }
11943
11944
11945 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
11946
11947
11948 }
11949
11950
11951 }
11952
11953
11954 }
11955 break;
11956 case 5 :
11957 // InternalApplicationConfiguration.g:4392:4: ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) )
11958 {
11959 // InternalApplicationConfiguration.g:4392:4: ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) )
11960 // InternalApplicationConfiguration.g:4393:5: {...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) )
11961 {
11962 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {
11963 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)");
11964 }
11965 // InternalApplicationConfiguration.g:4393:111: ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) )
11966 // InternalApplicationConfiguration.g:4394:6: ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) )
11967 {
11968
11969 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4);
11970
11971 // InternalApplicationConfiguration.g:4397:9: ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) )
11972 // InternalApplicationConfiguration.g:4397:10: {...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) )
11973 {
11974 if ( !((true)) ) {
11975 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
11976 }
11977 // InternalApplicationConfiguration.g:4397:19: (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) )
11978 // InternalApplicationConfiguration.g:4397:20: otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) )
11979 {
11980 otherlv_16=(Token)match(input,44,FOLLOW_13);
11981
11982 newLeafNode(otherlv_16, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_4_0());
11983
11984 otherlv_17=(Token)match(input,18,FOLLOW_43);
11985
11986 newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1());
11987
11988 // InternalApplicationConfiguration.g:4405:9: ( (lv_scope_18_0= ruleScope ) )
11989 // InternalApplicationConfiguration.g:4406:10: (lv_scope_18_0= ruleScope )
11990 {
11991 // InternalApplicationConfiguration.g:4406:10: (lv_scope_18_0= ruleScope )
11992 // InternalApplicationConfiguration.g:4407:11: lv_scope_18_0= ruleScope
11993 {
11994
11995 newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_4_2_0());
11996
11997 pushFollow(FOLLOW_42);
11998 lv_scope_18_0=ruleScope();
11999
12000 state._fsp--;
12001
12002
12003 if (current==null) {
12004 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
12005 }
12006 set(
12007 current,
12008 "scope",
12009 lv_scope_18_0,
12010 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope");
12011 afterParserOrEnumRuleCall();
12012
12013
12014 }
12015
12016
12017 }
12018
12019
12020 }
12021
12022
12023 }
12024
12025
12026 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12027
12028
12029 }
12030
12031
12032 }
12033
12034
12035 }
12036 break;
12037 case 6 :
12038 // InternalApplicationConfiguration.g:4430:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) )
12039 {
12040 // InternalApplicationConfiguration.g:4430:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) )
12041 // InternalApplicationConfiguration.g:4431:5: {...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) )
12042 {
12043 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {
12044 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)");
12045 }
12046 // InternalApplicationConfiguration.g:4431:111: ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) )
12047 // InternalApplicationConfiguration.g:4432:6: ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) )
12048 {
12049
12050 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5);
12051
12052 // InternalApplicationConfiguration.g:4435:9: ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) )
12053 // InternalApplicationConfiguration.g:4435:10: {...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) )
12054 {
12055 if ( !((true)) ) {
12056 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12057 }
12058 // InternalApplicationConfiguration.g:4435:19: ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) )
12059 // InternalApplicationConfiguration.g:4435:20: ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) )
12060 {
12061 // InternalApplicationConfiguration.g:4435:20: ( (lv_numberSpecified_19_0= 'number' ) )
12062 // InternalApplicationConfiguration.g:4436:10: (lv_numberSpecified_19_0= 'number' )
12063 {
12064 // InternalApplicationConfiguration.g:4436:10: (lv_numberSpecified_19_0= 'number' )
12065 // InternalApplicationConfiguration.g:4437:11: lv_numberSpecified_19_0= 'number'
12066 {
12067 lv_numberSpecified_19_0=(Token)match(input,47,FOLLOW_13);
12068
12069 newLeafNode(lv_numberSpecified_19_0, grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_5_0_0());
12070
12071
12072 if (current==null) {
12073 current = createModelElement(grammarAccess.getGenerationTaskRule());
12074 }
12075 setWithLastConsumed(current, "numberSpecified", true, "number");
12076
12077
12078 }
12079
12080
12081 }
12082
12083 otherlv_20=(Token)match(input,18,FOLLOW_7);
12084
12085 newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1());
12086
12087 // InternalApplicationConfiguration.g:4453:9: ( (lv_number_21_0= RULE_INT ) )
12088 // InternalApplicationConfiguration.g:4454:10: (lv_number_21_0= RULE_INT )
12089 {
12090 // InternalApplicationConfiguration.g:4454:10: (lv_number_21_0= RULE_INT )
12091 // InternalApplicationConfiguration.g:4455:11: lv_number_21_0= RULE_INT
12092 {
12093 lv_number_21_0=(Token)match(input,RULE_INT,FOLLOW_42);
12094
12095 newLeafNode(lv_number_21_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_5_2_0());
12096
12097
12098 if (current==null) {
12099 current = createModelElement(grammarAccess.getGenerationTaskRule());
12100 }
12101 setWithLastConsumed(
12102 current,
12103 "number",
12104 lv_number_21_0,
12105 "org.eclipse.xtext.common.Terminals.INT");
12106
12107
12108 }
12109
12110
12111 }
12112
12113
12114 }
12115
12116
12117 }
12118
12119
12120 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12121
12122
12123 }
12124
12125
12126 }
12127
12128
12129 }
12130 break;
12131 case 7 :
12132 // InternalApplicationConfiguration.g:4477:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) )
12133 {
12134 // InternalApplicationConfiguration.g:4477:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) )
12135 // InternalApplicationConfiguration.g:4478:5: {...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) )
12136 {
12137 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {
12138 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)");
12139 }
12140 // InternalApplicationConfiguration.g:4478:111: ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) )
12141 // InternalApplicationConfiguration.g:4479:6: ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) )
12142 {
12143
12144 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6);
12145
12146 // InternalApplicationConfiguration.g:4482:9: ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) )
12147 // InternalApplicationConfiguration.g:4482:10: {...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) )
12148 {
12149 if ( !((true)) ) {
12150 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12151 }
12152 // InternalApplicationConfiguration.g:4482:19: ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) )
12153 // InternalApplicationConfiguration.g:4482:20: ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) )
12154 {
12155 // InternalApplicationConfiguration.g:4482:20: ( (lv_runSpecified_22_0= 'runs' ) )
12156 // InternalApplicationConfiguration.g:4483:10: (lv_runSpecified_22_0= 'runs' )
12157 {
12158 // InternalApplicationConfiguration.g:4483:10: (lv_runSpecified_22_0= 'runs' )
12159 // InternalApplicationConfiguration.g:4484:11: lv_runSpecified_22_0= 'runs'
12160 {
12161 lv_runSpecified_22_0=(Token)match(input,48,FOLLOW_13);
12162
12163 newLeafNode(lv_runSpecified_22_0, grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_6_0_0());
12164
12165
12166 if (current==null) {
12167 current = createModelElement(grammarAccess.getGenerationTaskRule());
12168 }
12169 setWithLastConsumed(current, "runSpecified", true, "runs");
12170
12171
12172 }
12173
12174
12175 }
12176
12177 otherlv_23=(Token)match(input,18,FOLLOW_7);
12178
12179 newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1());
12180
12181 // InternalApplicationConfiguration.g:4500:9: ( (lv_runs_24_0= RULE_INT ) )
12182 // InternalApplicationConfiguration.g:4501:10: (lv_runs_24_0= RULE_INT )
12183 {
12184 // InternalApplicationConfiguration.g:4501:10: (lv_runs_24_0= RULE_INT )
12185 // InternalApplicationConfiguration.g:4502:11: lv_runs_24_0= RULE_INT
12186 {
12187 lv_runs_24_0=(Token)match(input,RULE_INT,FOLLOW_42);
12188
12189 newLeafNode(lv_runs_24_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_6_2_0());
12190
12191
12192 if (current==null) {
12193 current = createModelElement(grammarAccess.getGenerationTaskRule());
12194 }
12195 setWithLastConsumed(
12196 current,
12197 "runs",
12198 lv_runs_24_0,
12199 "org.eclipse.xtext.common.Terminals.INT");
12200
12201
12202 }
12203
12204
12205 }
12206
12207
12208 }
12209
12210
12211 }
12212
12213
12214 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12215
12216
12217 }
12218
12219
12220 }
12221
12222
12223 }
12224 break;
12225 case 8 :
12226 // InternalApplicationConfiguration.g:4524:4: ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) )
12227 {
12228 // InternalApplicationConfiguration.g:4524:4: ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) )
12229 // InternalApplicationConfiguration.g:4525:5: {...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) )
12230 {
12231 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {
12232 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)");
12233 }
12234 // InternalApplicationConfiguration.g:4525:111: ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) )
12235 // InternalApplicationConfiguration.g:4526:6: ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) )
12236 {
12237
12238 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7);
12239
12240 // InternalApplicationConfiguration.g:4529:9: ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) )
12241 // InternalApplicationConfiguration.g:4529:10: {...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) )
12242 {
12243 if ( !((true)) ) {
12244 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12245 }
12246 // InternalApplicationConfiguration.g:4529:19: (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) )
12247 // InternalApplicationConfiguration.g:4529:20: otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) )
12248 {
12249 otherlv_25=(Token)match(input,49,FOLLOW_13);
12250
12251 newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_7_0());
12252
12253 otherlv_26=(Token)match(input,18,FOLLOW_44);
12254
12255 newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1());
12256
12257 // InternalApplicationConfiguration.g:4537:9: ( (lv_solver_27_0= ruleSolver ) )
12258 // InternalApplicationConfiguration.g:4538:10: (lv_solver_27_0= ruleSolver )
12259 {
12260 // InternalApplicationConfiguration.g:4538:10: (lv_solver_27_0= ruleSolver )
12261 // InternalApplicationConfiguration.g:4539:11: lv_solver_27_0= ruleSolver
12262 {
12263
12264 newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_7_2_0());
12265
12266 pushFollow(FOLLOW_42);
12267 lv_solver_27_0=ruleSolver();
12268
12269 state._fsp--;
12270
12271
12272 if (current==null) {
12273 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
12274 }
12275 set(
12276 current,
12277 "solver",
12278 lv_solver_27_0,
12279 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver");
12280 afterParserOrEnumRuleCall();
12281
12282
12283 }
12284
12285
12286 }
12287
12288
12289 }
12290
12291
12292 }
12293
12294
12295 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12296
12297
12298 }
12299
12300
12301 }
12302
12303
12304 }
12305 break;
12306 case 9 :
12307 // InternalApplicationConfiguration.g:4562:4: ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) )
12308 {
12309 // InternalApplicationConfiguration.g:4562:4: ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) )
12310 // InternalApplicationConfiguration.g:4563:5: {...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) )
12311 {
12312 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {
12313 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)");
12314 }
12315 // InternalApplicationConfiguration.g:4563:111: ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) )
12316 // InternalApplicationConfiguration.g:4564:6: ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) )
12317 {
12318
12319 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8);
12320
12321 // InternalApplicationConfiguration.g:4567:9: ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) )
12322 // InternalApplicationConfiguration.g:4567:10: {...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) )
12323 {
12324 if ( !((true)) ) {
12325 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12326 }
12327 // InternalApplicationConfiguration.g:4567:19: (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) )
12328 // InternalApplicationConfiguration.g:4567:20: otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) )
12329 {
12330 otherlv_28=(Token)match(input,30,FOLLOW_13);
12331
12332 newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_8_0());
12333
12334 otherlv_29=(Token)match(input,18,FOLLOW_43);
12335
12336 newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1());
12337
12338 // InternalApplicationConfiguration.g:4575:9: ( (lv_config_30_0= ruleConfig ) )
12339 // InternalApplicationConfiguration.g:4576:10: (lv_config_30_0= ruleConfig )
12340 {
12341 // InternalApplicationConfiguration.g:4576:10: (lv_config_30_0= ruleConfig )
12342 // InternalApplicationConfiguration.g:4577:11: lv_config_30_0= ruleConfig
12343 {
12344
12345 newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_8_2_0());
12346
12347 pushFollow(FOLLOW_42);
12348 lv_config_30_0=ruleConfig();
12349
12350 state._fsp--;
12351
12352
12353 if (current==null) {
12354 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
12355 }
12356 set(
12357 current,
12358 "config",
12359 lv_config_30_0,
12360 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config");
12361 afterParserOrEnumRuleCall();
12362
12363
12364 }
12365
12366
12367 }
12368
12369
12370 }
12371
12372
12373 }
12374
12375
12376 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12377
12378
12379 }
12380
12381
12382 }
12383
12384
12385 }
12386 break;
12387 case 10 :
12388 // InternalApplicationConfiguration.g:4600:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) )
12389 {
12390 // InternalApplicationConfiguration.g:4600:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) )
12391 // InternalApplicationConfiguration.g:4601:5: {...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) )
12392 {
12393 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {
12394 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)");
12395 }
12396 // InternalApplicationConfiguration.g:4601:111: ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) )
12397 // InternalApplicationConfiguration.g:4602:6: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) )
12398 {
12399
12400 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9);
12401
12402 // InternalApplicationConfiguration.g:4605:9: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) )
12403 // InternalApplicationConfiguration.g:4605:10: {...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) )
12404 {
12405 if ( !((true)) ) {
12406 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12407 }
12408 // InternalApplicationConfiguration.g:4605:19: (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) )
12409 // InternalApplicationConfiguration.g:4605:20: otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) )
12410 {
12411 otherlv_31=(Token)match(input,50,FOLLOW_13);
12412
12413 newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0());
12414
12415 otherlv_32=(Token)match(input,18,FOLLOW_21);
12416
12417 newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1());
12418
12419 // InternalApplicationConfiguration.g:4613:9: ( (lv_debugFolder_33_0= ruleFile ) )
12420 // InternalApplicationConfiguration.g:4614:10: (lv_debugFolder_33_0= ruleFile )
12421 {
12422 // InternalApplicationConfiguration.g:4614:10: (lv_debugFolder_33_0= ruleFile )
12423 // InternalApplicationConfiguration.g:4615:11: lv_debugFolder_33_0= ruleFile
12424 {
12425
12426 newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_9_2_0());
12427
12428 pushFollow(FOLLOW_42);
12429 lv_debugFolder_33_0=ruleFile();
12430
12431 state._fsp--;
12432
12433
12434 if (current==null) {
12435 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
12436 }
12437 set(
12438 current,
12439 "debugFolder",
12440 lv_debugFolder_33_0,
12441 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
12442 afterParserOrEnumRuleCall();
12443
12444
12445 }
12446
12447
12448 }
12449
12450
12451 }
12452
12453
12454 }
12455
12456
12457 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12458
12459
12460 }
12461
12462
12463 }
12464
12465
12466 }
12467 break;
12468 case 11 :
12469 // InternalApplicationConfiguration.g:4638:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) )
12470 {
12471 // InternalApplicationConfiguration.g:4638:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) )
12472 // InternalApplicationConfiguration.g:4639:5: {...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) )
12473 {
12474 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {
12475 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)");
12476 }
12477 // InternalApplicationConfiguration.g:4639:112: ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) )
12478 // InternalApplicationConfiguration.g:4640:6: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) )
12479 {
12480
12481 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10);
12482
12483 // InternalApplicationConfiguration.g:4643:9: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) )
12484 // InternalApplicationConfiguration.g:4643:10: {...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) )
12485 {
12486 if ( !((true)) ) {
12487 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12488 }
12489 // InternalApplicationConfiguration.g:4643:19: (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) )
12490 // InternalApplicationConfiguration.g:4643:20: otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) )
12491 {
12492 otherlv_34=(Token)match(input,51,FOLLOW_13);
12493
12494 newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0());
12495
12496 otherlv_35=(Token)match(input,18,FOLLOW_21);
12497
12498 newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1());
12499
12500 // InternalApplicationConfiguration.g:4651:9: ( (lv_targetLogFile_36_0= ruleFile ) )
12501 // InternalApplicationConfiguration.g:4652:10: (lv_targetLogFile_36_0= ruleFile )
12502 {
12503 // InternalApplicationConfiguration.g:4652:10: (lv_targetLogFile_36_0= ruleFile )
12504 // InternalApplicationConfiguration.g:4653:11: lv_targetLogFile_36_0= ruleFile
12505 {
12506
12507 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_10_2_0());
12508
12509 pushFollow(FOLLOW_42);
12510 lv_targetLogFile_36_0=ruleFile();
12511
12512 state._fsp--;
12513
12514
12515 if (current==null) {
12516 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
12517 }
12518 set(
12519 current,
12520 "targetLogFile",
12521 lv_targetLogFile_36_0,
12522 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
12523 afterParserOrEnumRuleCall();
12524
12525
12526 }
12527
12528
12529 }
12530
12531
12532 }
12533
12534
12535 }
12536
12537
12538 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12539
12540
12541 }
12542
12543
12544 }
12545
12546
12547 }
12548 break;
12549 case 12 :
12550 // InternalApplicationConfiguration.g:4676:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) )
12551 {
12552 // InternalApplicationConfiguration.g:4676:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) )
12553 // InternalApplicationConfiguration.g:4677:5: {...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) )
12554 {
12555 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {
12556 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)");
12557 }
12558 // InternalApplicationConfiguration.g:4677:112: ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) )
12559 // InternalApplicationConfiguration.g:4678:6: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) )
12560 {
12561
12562 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11);
12563
12564 // InternalApplicationConfiguration.g:4681:9: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) )
12565 // InternalApplicationConfiguration.g:4681:10: {...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) )
12566 {
12567 if ( !((true)) ) {
12568 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12569 }
12570 // InternalApplicationConfiguration.g:4681:19: (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) )
12571 // InternalApplicationConfiguration.g:4681:20: otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) )
12572 {
12573 otherlv_37=(Token)match(input,52,FOLLOW_13);
12574
12575 newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0());
12576
12577 otherlv_38=(Token)match(input,18,FOLLOW_21);
12578
12579 newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1());
12580
12581 // InternalApplicationConfiguration.g:4689:9: ( (lv_targetStatisticsFile_39_0= ruleFile ) )
12582 // InternalApplicationConfiguration.g:4690:10: (lv_targetStatisticsFile_39_0= ruleFile )
12583 {
12584 // InternalApplicationConfiguration.g:4690:10: (lv_targetStatisticsFile_39_0= ruleFile )
12585 // InternalApplicationConfiguration.g:4691:11: lv_targetStatisticsFile_39_0= ruleFile
12586 {
12587
12588 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_11_2_0());
12589
12590 pushFollow(FOLLOW_42);
12591 lv_targetStatisticsFile_39_0=ruleFile();
12592
12593 state._fsp--;
12594
12595
12596 if (current==null) {
12597 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
12598 }
12599 set(
12600 current,
12601 "targetStatisticsFile",
12602 lv_targetStatisticsFile_39_0,
12603 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
12604 afterParserOrEnumRuleCall();
12605
12606
12607 }
12608
12609
12610 }
12611
12612
12613 }
12614
12615
12616 }
12617
12618
12619 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12620
12621
12622 }
12623
12624
12625 }
12626
12627
12628 }
12629 break;
12630 case 13 :
12631 // InternalApplicationConfiguration.g:4714:4: ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) )
12632 {
12633 // InternalApplicationConfiguration.g:4714:4: ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) )
12634 // InternalApplicationConfiguration.g:4715:5: {...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) )
12635 {
12636 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {
12637 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12)");
12638 }
12639 // InternalApplicationConfiguration.g:4715:112: ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) )
12640 // InternalApplicationConfiguration.g:4716:6: ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) )
12641 {
12642
12643 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12);
12644
12645 // InternalApplicationConfiguration.g:4719:9: ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) )
12646 // InternalApplicationConfiguration.g:4719:10: {...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) )
12647 {
12648 if ( !((true)) ) {
12649 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12650 }
12651 // InternalApplicationConfiguration.g:4719:19: (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) )
12652 // InternalApplicationConfiguration.g:4719:20: otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) )
12653 {
12654 otherlv_40=(Token)match(input,53,FOLLOW_13);
12655
12656 newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_12_0());
12657
12658 otherlv_41=(Token)match(input,18,FOLLOW_21);
12659
12660 newLeafNode(otherlv_41, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_12_1());
12661
12662 // InternalApplicationConfiguration.g:4727:9: ( (lv_tagetFolder_42_0= ruleFile ) )
12663 // InternalApplicationConfiguration.g:4728:10: (lv_tagetFolder_42_0= ruleFile )
12664 {
12665 // InternalApplicationConfiguration.g:4728:10: (lv_tagetFolder_42_0= ruleFile )
12666 // InternalApplicationConfiguration.g:4729:11: lv_tagetFolder_42_0= ruleFile
12667 {
12668
12669 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_12_2_0());
12670
12671 pushFollow(FOLLOW_42);
12672 lv_tagetFolder_42_0=ruleFile();
12673
12674 state._fsp--;
12675
12676
12677 if (current==null) {
12678 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
12679 }
12680 set(
12681 current,
12682 "tagetFolder",
12683 lv_tagetFolder_42_0,
12684 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
12685 afterParserOrEnumRuleCall();
12686
12687
12688 }
12689
12690
12691 }
12692
12693
12694 }
12695
12696
12697 }
12698
12699
12700 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12701
12702
12703 }
12704
12705
12706 }
12707
12708
12709 }
12710 break;
12711
12712 default :
12713 break loop58;
12714 }
12715 } while (true);
12716
12717
12718 }
12719
12720
12721 }
12722
12723
12724 getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12725
12726
12727 }
12728
12729 otherlv_43=(Token)match(input,21,FOLLOW_2);
12730
12731 newLeafNode(otherlv_43, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4());
12732
12733
12734 }
12735
12736
12737 }
12738
12739
12740 leaveRule();
12741
12742 }
12743
12744 catch (RecognitionException re) {
12745 recover(input,re);
12746 appendSkippedTokens();
12747 }
12748 finally {
12749 }
12750 return current;
12751 }
12752 // $ANTLR end "ruleGenerationTask"
12753
12754
12755 // $ANTLR start "ruleOptimizationDirection"
12756 // InternalApplicationConfiguration.g:4767:1: ruleOptimizationDirection returns [Enumerator current=null] : ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) ;
12757 public final Enumerator ruleOptimizationDirection() throws RecognitionException {
12758 Enumerator current = null;
12759
12760 Token enumLiteral_0=null;
12761 Token enumLiteral_1=null;
12762
12763
12764 enterRule();
12765
12766 try {
12767 // InternalApplicationConfiguration.g:4773:2: ( ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) )
12768 // InternalApplicationConfiguration.g:4774:2: ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) )
12769 {
12770 // InternalApplicationConfiguration.g:4774:2: ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) )
12771 int alt59=2;
12772 int LA59_0 = input.LA(1);
12773
12774 if ( (LA59_0==54) ) {
12775 alt59=1;
12776 }
12777 else if ( (LA59_0==55) ) {
12778 alt59=2;
12779 }
12780 else {
12781 NoViableAltException nvae =
12782 new NoViableAltException("", 59, 0, input);
12783
12784 throw nvae;
12785 }
12786 switch (alt59) {
12787 case 1 :
12788 // InternalApplicationConfiguration.g:4775:3: (enumLiteral_0= 'minimize' )
12789 {
12790 // InternalApplicationConfiguration.g:4775:3: (enumLiteral_0= 'minimize' )
12791 // InternalApplicationConfiguration.g:4776:4: enumLiteral_0= 'minimize'
12792 {
12793 enumLiteral_0=(Token)match(input,54,FOLLOW_2);
12794
12795 current = grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
12796 newLeafNode(enumLiteral_0, grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0());
12797
12798
12799 }
12800
12801
12802 }
12803 break;
12804 case 2 :
12805 // InternalApplicationConfiguration.g:4783:3: (enumLiteral_1= 'maximize' )
12806 {
12807 // InternalApplicationConfiguration.g:4783:3: (enumLiteral_1= 'maximize' )
12808 // InternalApplicationConfiguration.g:4784:4: enumLiteral_1= 'maximize'
12809 {
12810 enumLiteral_1=(Token)match(input,55,FOLLOW_2);
12811
12812 current = grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
12813 newLeafNode(enumLiteral_1, grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1());
12814
12815
12816 }
12817
12818
12819 }
12820 break;
12821
12822 }
12823
12824
12825 }
12826
12827
12828 leaveRule();
12829
12830 }
12831
12832 catch (RecognitionException re) {
12833 recover(input,re);
12834 appendSkippedTokens();
12835 }
12836 finally {
12837 }
12838 return current;
12839 }
12840 // $ANTLR end "ruleOptimizationDirection"
12841
12842
12843 // $ANTLR start "ruleComparisonOperator"
12844 // InternalApplicationConfiguration.g:4794:1: ruleComparisonOperator returns [Enumerator current=null] : ( (enumLiteral_0= '<=' ) | (enumLiteral_1= '>=' ) ) ;
12845 public final Enumerator ruleComparisonOperator() throws RecognitionException {
12846 Enumerator current = null;
12847
12848 Token enumLiteral_0=null;
12849 Token enumLiteral_1=null;
12850
12851
12852 enterRule();
12853
12854 try {
12855 // InternalApplicationConfiguration.g:4800:2: ( ( (enumLiteral_0= '<=' ) | (enumLiteral_1= '>=' ) ) )
12856 // InternalApplicationConfiguration.g:4801:2: ( (enumLiteral_0= '<=' ) | (enumLiteral_1= '>=' ) )
12857 {
12858 // InternalApplicationConfiguration.g:4801:2: ( (enumLiteral_0= '<=' ) | (enumLiteral_1= '>=' ) )
12859 int alt60=2;
12860 int LA60_0 = input.LA(1);
12861
12862 if ( (LA60_0==56) ) {
12863 alt60=1;
12864 }
12865 else if ( (LA60_0==57) ) {
12866 alt60=2;
12867 }
12868 else {
12869 NoViableAltException nvae =
12870 new NoViableAltException("", 60, 0, input);
12871
12872 throw nvae;
12873 }
12874 switch (alt60) {
12875 case 1 :
12876 // InternalApplicationConfiguration.g:4802:3: (enumLiteral_0= '<=' )
12877 {
12878 // InternalApplicationConfiguration.g:4802:3: (enumLiteral_0= '<=' )
12879 // InternalApplicationConfiguration.g:4803:4: enumLiteral_0= '<='
12880 {
12881 enumLiteral_0=(Token)match(input,56,FOLLOW_2);
12882
12883 current = grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
12884 newLeafNode(enumLiteral_0, grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_0());
12885
12886
12887 }
12888
12889
12890 }
12891 break;
12892 case 2 :
12893 // InternalApplicationConfiguration.g:4810:3: (enumLiteral_1= '>=' )
12894 {
12895 // InternalApplicationConfiguration.g:4810:3: (enumLiteral_1= '>=' )
12896 // InternalApplicationConfiguration.g:4811:4: enumLiteral_1= '>='
12897 {
12898 enumLiteral_1=(Token)match(input,57,FOLLOW_2);
12899
12900 current = grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
12901 newLeafNode(enumLiteral_1, grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_1());
12902
12903
12904 }
12905
12906
12907 }
12908 break;
12909
12910 }
12911
12912
12913 }
12914
12915
12916 leaveRule();
12917
12918 }
12919
12920 catch (RecognitionException re) {
12921 recover(input,re);
12922 appendSkippedTokens();
12923 }
12924 finally {
12925 }
12926 return current;
12927 }
12928 // $ANTLR end "ruleComparisonOperator"
12929
12930
12931 // $ANTLR start "ruleDocumentLevelSpecification"
12932 // InternalApplicationConfiguration.g:4821:1: ruleDocumentLevelSpecification returns [Enumerator current=null] : ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) ;
12933 public final Enumerator ruleDocumentLevelSpecification() throws RecognitionException {
12934 Enumerator current = null;
12935
12936 Token enumLiteral_0=null;
12937 Token enumLiteral_1=null;
12938 Token enumLiteral_2=null;
12939
12940
12941 enterRule();
12942
12943 try {
12944 // InternalApplicationConfiguration.g:4827:2: ( ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) )
12945 // InternalApplicationConfiguration.g:4828:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) )
12946 {
12947 // InternalApplicationConfiguration.g:4828:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) )
12948 int alt61=3;
12949 switch ( input.LA(1) ) {
12950 case 58:
12951 {
12952 alt61=1;
12953 }
12954 break;
12955 case 59:
12956 {
12957 alt61=2;
12958 }
12959 break;
12960 case 60:
12961 {
12962 alt61=3;
12963 }
12964 break;
12965 default:
12966 NoViableAltException nvae =
12967 new NoViableAltException("", 61, 0, input);
12968
12969 throw nvae;
12970 }
12971
12972 switch (alt61) {
12973 case 1 :
12974 // InternalApplicationConfiguration.g:4829:3: (enumLiteral_0= 'none' )
12975 {
12976 // InternalApplicationConfiguration.g:4829:3: (enumLiteral_0= 'none' )
12977 // InternalApplicationConfiguration.g:4830:4: enumLiteral_0= 'none'
12978 {
12979 enumLiteral_0=(Token)match(input,58,FOLLOW_2);
12980
12981 current = grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
12982 newLeafNode(enumLiteral_0, grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0());
12983
12984
12985 }
12986
12987
12988 }
12989 break;
12990 case 2 :
12991 // InternalApplicationConfiguration.g:4837:3: (enumLiteral_1= 'normal' )
12992 {
12993 // InternalApplicationConfiguration.g:4837:3: (enumLiteral_1= 'normal' )
12994 // InternalApplicationConfiguration.g:4838:4: enumLiteral_1= 'normal'
12995 {
12996 enumLiteral_1=(Token)match(input,59,FOLLOW_2);
12997
12998 current = grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
12999 newLeafNode(enumLiteral_1, grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1());
13000
13001
13002 }
13003
13004
13005 }
13006 break;
13007 case 3 :
13008 // InternalApplicationConfiguration.g:4845:3: (enumLiteral_2= 'full' )
13009 {
13010 // InternalApplicationConfiguration.g:4845:3: (enumLiteral_2= 'full' )
13011 // InternalApplicationConfiguration.g:4846:4: enumLiteral_2= 'full'
13012 {
13013 enumLiteral_2=(Token)match(input,60,FOLLOW_2);
13014
13015 current = grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
13016 newLeafNode(enumLiteral_2, grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2());
13017
13018
13019 }
13020
13021
13022 }
13023 break;
13024
13025 }
13026
13027
13028 }
13029
13030
13031 leaveRule();
13032
13033 }
13034
13035 catch (RecognitionException re) {
13036 recover(input,re);
13037 appendSkippedTokens();
13038 }
13039 finally {
13040 }
13041 return current;
13042 }
13043 // $ANTLR end "ruleDocumentLevelSpecification"
13044
13045
13046 // $ANTLR start "ruleSolver"
13047 // InternalApplicationConfiguration.g:4856:1: ruleSolver returns [Enumerator current=null] : ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ;
13048 public final Enumerator ruleSolver() throws RecognitionException {
13049 Enumerator current = null;
13050
13051 Token enumLiteral_0=null;
13052 Token enumLiteral_1=null;
13053 Token enumLiteral_2=null;
13054
13055
13056 enterRule();
13057
13058 try {
13059 // InternalApplicationConfiguration.g:4862:2: ( ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) )
13060 // InternalApplicationConfiguration.g:4863:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) )
13061 {
13062 // InternalApplicationConfiguration.g:4863:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) )
13063 int alt62=3;
13064 switch ( input.LA(1) ) {
13065 case 61:
13066 {
13067 alt62=1;
13068 }
13069 break;
13070 case 62:
13071 {
13072 alt62=2;
13073 }
13074 break;
13075 case 63:
13076 {
13077 alt62=3;
13078 }
13079 break;
13080 default:
13081 NoViableAltException nvae =
13082 new NoViableAltException("", 62, 0, input);
13083
13084 throw nvae;
13085 }
13086
13087 switch (alt62) {
13088 case 1 :
13089 // InternalApplicationConfiguration.g:4864:3: (enumLiteral_0= 'SMTSolver' )
13090 {
13091 // InternalApplicationConfiguration.g:4864:3: (enumLiteral_0= 'SMTSolver' )
13092 // InternalApplicationConfiguration.g:4865:4: enumLiteral_0= 'SMTSolver'
13093 {
13094 enumLiteral_0=(Token)match(input,61,FOLLOW_2);
13095
13096 current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
13097 newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0());
13098
13099
13100 }
13101
13102
13103 }
13104 break;
13105 case 2 :
13106 // InternalApplicationConfiguration.g:4872:3: (enumLiteral_1= 'AlloySolver' )
13107 {
13108 // InternalApplicationConfiguration.g:4872:3: (enumLiteral_1= 'AlloySolver' )
13109 // InternalApplicationConfiguration.g:4873:4: enumLiteral_1= 'AlloySolver'
13110 {
13111 enumLiteral_1=(Token)match(input,62,FOLLOW_2);
13112
13113 current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
13114 newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1());
13115
13116
13117 }
13118
13119
13120 }
13121 break;
13122 case 3 :
13123 // InternalApplicationConfiguration.g:4880:3: (enumLiteral_2= 'ViatraSolver' )
13124 {
13125 // InternalApplicationConfiguration.g:4880:3: (enumLiteral_2= 'ViatraSolver' )
13126 // InternalApplicationConfiguration.g:4881:4: enumLiteral_2= 'ViatraSolver'
13127 {
13128 enumLiteral_2=(Token)match(input,63,FOLLOW_2);
13129
13130 current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
13131 newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2());
13132
13133
13134 }
13135
13136
13137 }
13138 break;
13139
13140 }
13141
13142
13143 }
13144
13145
13146 leaveRule();
13147
13148 }
13149
13150 catch (RecognitionException re) {
13151 recover(input,re);
13152 appendSkippedTokens();
13153 }
13154 finally {
13155 }
13156 return current;
13157 }
13158 // $ANTLR end "ruleSolver"
13159
13160 // Delegated rules
13161
13162
13163 protected DFA58 dfa58 = new DFA58(this);
13164 static final String dfa_1s = "\17\uffff";
13165 static final String dfa_2s = "\1\25\16\uffff";
13166 static final String dfa_3s = "\1\65\16\uffff";
13167 static final String dfa_4s = "\1\uffff\1\16\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14\1\15";
13168 static final String dfa_5s = "\1\0\16\uffff}>";
13169 static final String[] dfa_6s = {
13170 "\1\1\3\uffff\1\2\2\uffff\1\4\1\5\1\12\15\uffff\1\6\1\uffff\1\3\1\7\1\10\1\11\1\13\1\14\1\15\1\16",
13171 "",
13172 "",
13173 "",
13174 "",
13175 "",
13176 "",
13177 "",
13178 "",
13179 "",
13180 "",
13181 "",
13182 "",
13183 "",
13184 ""
13185 };
13186
13187 static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s);
13188 static final char[] dfa_2 = DFA.unpackEncodedStringToUnsignedChars(dfa_2s);
13189 static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s);
13190 static final short[] dfa_4 = DFA.unpackEncodedString(dfa_4s);
13191 static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s);
13192 static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s);
13193
13194 class DFA58 extends DFA {
13195
13196 public DFA58(BaseRecognizer recognizer) {
13197 this.recognizer = recognizer;
13198 this.decisionNumber = 58;
13199 this.eot = dfa_1;
13200 this.eof = dfa_1;
13201 this.min = dfa_2;
13202 this.max = dfa_3;
13203 this.accept = dfa_4;
13204 this.special = dfa_5;
13205 this.transition = dfa_6;
13206 }
13207 public String getDescription() {
13208 return "()* loopback of 4239:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )*";
13209 }
13210 public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
13211 TokenStream input = (TokenStream)_input;
13212 int _s = s;
13213 switch ( s ) {
13214 case 0 :
13215 int LA58_0 = input.LA(1);
13216
13217
13218 int index58_0 = input.index();
13219 input.rewind();
13220 s = -1;
13221 if ( (LA58_0==21) ) {s = 1;}
13222
13223 else if ( LA58_0 == 25 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 2;}
13224
13225 else if ( LA58_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 3;}
13226
13227 else if ( LA58_0 == 28 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 4;}
13228
13229 else if ( LA58_0 == 29 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 5;}
13230
13231 else if ( LA58_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 6;}
13232
13233 else if ( LA58_0 == 47 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 7;}
13234
13235 else if ( LA58_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 8;}
13236
13237 else if ( LA58_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 9;}
13238
13239 else if ( LA58_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 10;}
13240
13241 else if ( LA58_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 11;}
13242
13243 else if ( LA58_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 12;}
13244
13245 else if ( LA58_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 13;}
13246
13247 else if ( LA58_0 == 53 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 14;}
13248
13249
13250 input.seek(index58_0);
13251 if ( s>=0 ) return s;
13252 break;
13253 }
13254 NoViableAltException nvae =
13255 new NoViableAltException(getDescription(), 58, _s, input);
13256 error(nvae);
13257 throw nvae;
13258 }
13259 }
13260
13261
13262 public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L});
13263 public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L});
13264 public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x000030007A022002L});
13265 public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x000030007A020002L});
13266 public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000802L});
13267 public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000000010L});
13268 public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000000020L});
13269 public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000800L});
13270 public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000004000L});
13271 public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000000040L});
13272 public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000008000L});
13273 public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000010000L});
13274 public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000040000L});
13275 public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000400010L});
13276 public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000300000L});
13277 public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000800002L});
13278 public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000080000L});
13279 public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000001000000L});
13280 public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000004000050L});
13281 public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000200000L});
13282 public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000000000050L});
13283 public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x00C0000000010000L});
13284 public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0300000000000000L});
13285 public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000001020L});
13286 public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000380200040L});
13287 public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000380000040L});
13288 public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x1C00000000000000L});
13289 public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000400200000L});
13290 public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000400000000L});
13291 public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000001000000000L});
13292 public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000800040000L});
13293 public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000040000000020L});
13294 public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000004000000000L});
13295 public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000008000000000L});
13296 public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000040000080020L});
13297 public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000010000000000L});
13298 public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000020000000000L});
13299 public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000002000000000L});
13300 public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000080000000000L});
13301 public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000000201020L});
13302 public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000000200040L});
13303 public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x003FD00072200000L});
13304 public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000000000080010L});
13305 public static final BitSet FOLLOW_44 = new BitSet(new long[]{0xE000000000000000L});
13306
13307}