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:
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.java25055
1 files changed, 13395 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..717b4c46 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,13395 @@
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'", "'file'", "'='", "'{'", "','", "'}'", "'package'", "'excluding'", "'::'", "'metamodel'", "'folder'", "'models'", "'constraints'", "'cost'", "'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==16||LA2_0==24||(LA2_0>=26 && LA2_0<=27)||(LA2_0>=29 && 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==16||LA3_0==24||(LA3_0>=26 && LA3_0<=27)||(LA3_0>=29 && 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 ) ;
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
821 { 821
822 // InternalApplicationConfiguration.g:290:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) 822 enterRule();
823 int alt7=2; 823
824 int LA7_0 = input.LA(1); 824 try {
825 825 // InternalApplicationConfiguration.g:289:2: ( (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) )
826 if ( (LA7_0==13) ) { 826 // InternalApplicationConfiguration.g:290:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport )
827 int LA7_1 = input.LA(2); 827 {
828 828 // InternalApplicationConfiguration.g:290:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport )
829 if ( (LA7_1==14) ) { 829 int alt7=2;
830 alt7=1; 830 int LA7_0 = input.LA(1);
831 } 831
832 else if ( (LA7_1==15) ) { 832 if ( (LA7_0==13) ) {
833 alt7=2; 833 int LA7_1 = input.LA(2);
834 } 834
835 else { 835 if ( (LA7_1==14) ) {
836 NoViableAltException nvae = 836 alt7=1;
837 new NoViableAltException("", 7, 1, input); 837 }
838 838 else if ( (LA7_1==15) ) {
839 throw nvae; 839 alt7=2;
840 } 840 }
841 } 841 else {
842 else { 842 NoViableAltException nvae =
843 NoViableAltException nvae = 843 new NoViableAltException("", 7, 1, input);
844 new NoViableAltException("", 7, 0, input); 844
845 845 throw nvae;
846 throw nvae; 846 }
847 } 847 }
848 switch (alt7) { 848 else {
849 case 1 : 849 NoViableAltException nvae =
850 // InternalApplicationConfiguration.g:291:3: this_EPackageImport_0= ruleEPackageImport 850 new NoViableAltException("", 7, 0, input);
851 { 851
852 852 throw nvae;
853 newCompositeNode(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); 853 }
854 854 switch (alt7) {
855 pushFollow(FOLLOW_2); 855 case 1 :
856 this_EPackageImport_0=ruleEPackageImport(); 856 // InternalApplicationConfiguration.g:291:3: this_EPackageImport_0= ruleEPackageImport
857 857 {
858 state._fsp--; 858
859 859 newCompositeNode(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0());
860 860
861 current = this_EPackageImport_0; 861 pushFollow(FOLLOW_2);
862 afterParserOrEnumRuleCall(); 862 this_EPackageImport_0=ruleEPackageImport();
863 863
864 864 state._fsp--;
865 } 865
866 break; 866
867 case 2 : 867 current = this_EPackageImport_0;
868 // InternalApplicationConfiguration.g:300:3: this_ViatraImport_1= ruleViatraImport 868 afterParserOrEnumRuleCall();
869 { 869
870 870
871 newCompositeNode(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); 871 }
872 872 break;
873 pushFollow(FOLLOW_2); 873 case 2 :
874 this_ViatraImport_1=ruleViatraImport(); 874 // InternalApplicationConfiguration.g:300:3: this_ViatraImport_1= ruleViatraImport
875 875 {
876 state._fsp--; 876
877 877 newCompositeNode(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1());
878 878
879 current = this_ViatraImport_1; 879 pushFollow(FOLLOW_2);
880 afterParserOrEnumRuleCall(); 880 this_ViatraImport_1=ruleViatraImport();
881 881
882 882 state._fsp--;
883 } 883
884 break; 884
885 885 current = this_ViatraImport_1;
886 } 886 afterParserOrEnumRuleCall();
887 887
888 888
889 } 889 }
890 890 break;
891 891
892 leaveRule(); 892 }
893 893
894 } 894
895 895 }
896 catch (RecognitionException re) { 896
897 recover(input,re); 897
898 appendSkippedTokens(); 898 leaveRule();
899 } 899
900 finally { 900 }
901 } 901
902 return current; 902 catch (RecognitionException re) {
903 } 903 recover(input,re);
904 // $ANTLR end "ruleImport" 904 appendSkippedTokens();
905 905 }
906 906 finally {
907 // $ANTLR start "entryRuleEPackageImport" 907 }
908 // InternalApplicationConfiguration.g:312:1: entryRuleEPackageImport returns [EObject current=null] : iv_ruleEPackageImport= ruleEPackageImport EOF ; 908 return current;
909 public final EObject entryRuleEPackageImport() throws RecognitionException { 909 }
910 EObject current = null; 910 // $ANTLR end "ruleImport"
911 911
912 EObject iv_ruleEPackageImport = null; 912
913 913 // $ANTLR start "entryRuleEPackageImport"
914 914 // InternalApplicationConfiguration.g:312:1: entryRuleEPackageImport returns [EObject current=null] : iv_ruleEPackageImport= ruleEPackageImport EOF ;
915 try { 915 public final EObject entryRuleEPackageImport() throws RecognitionException {
916 // InternalApplicationConfiguration.g:312:55: (iv_ruleEPackageImport= ruleEPackageImport EOF ) 916 EObject current = null;
917 // InternalApplicationConfiguration.g:313:2: iv_ruleEPackageImport= ruleEPackageImport EOF 917
918 { 918 EObject iv_ruleEPackageImport = null;
919 newCompositeNode(grammarAccess.getEPackageImportRule()); 919
920 pushFollow(FOLLOW_1); 920
921 iv_ruleEPackageImport=ruleEPackageImport(); 921 try {
922 922 // InternalApplicationConfiguration.g:312:55: (iv_ruleEPackageImport= ruleEPackageImport EOF )
923 state._fsp--; 923 // InternalApplicationConfiguration.g:313:2: iv_ruleEPackageImport= ruleEPackageImport EOF
924 924 {
925 current =iv_ruleEPackageImport; 925 newCompositeNode(grammarAccess.getEPackageImportRule());
926 match(input,EOF,FOLLOW_2); 926 pushFollow(FOLLOW_1);
927 927 iv_ruleEPackageImport=ruleEPackageImport();
928 } 928
929 929 state._fsp--;
930 } 930
931 931 current =iv_ruleEPackageImport;
932 catch (RecognitionException re) { 932 match(input,EOF,FOLLOW_2);
933 recover(input,re); 933
934 appendSkippedTokens(); 934 }
935 } 935
936 finally { 936 }
937 } 937
938 return current; 938 catch (RecognitionException re) {
939 } 939 recover(input,re);
940 // $ANTLR end "entryRuleEPackageImport" 940 appendSkippedTokens();
941 941 }
942 942 finally {
943 // $ANTLR start "ruleEPackageImport" 943 }
944 // InternalApplicationConfiguration.g:319:1: ruleEPackageImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ; 944 return current;
945 public final EObject ruleEPackageImport() throws RecognitionException { 945 }
946 EObject current = null; 946 // $ANTLR end "entryRuleEPackageImport"
947 947
948 Token otherlv_0=null; 948
949 Token otherlv_1=null; 949 // $ANTLR start "ruleEPackageImport"
950 Token otherlv_2=null; 950 // InternalApplicationConfiguration.g:319:1: ruleEPackageImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ;
951 951 public final EObject ruleEPackageImport() throws RecognitionException {
952 952 EObject current = null;
953 enterRule(); 953
954 954 Token otherlv_0=null;
955 try { 955 Token otherlv_1=null;
956 // InternalApplicationConfiguration.g:325:2: ( (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ) 956 Token otherlv_2=null;
957 // InternalApplicationConfiguration.g:326:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) 957
958 { 958
959 // InternalApplicationConfiguration.g:326:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) 959 enterRule();
960 // InternalApplicationConfiguration.g:327:3: otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) 960
961 { 961 try {
962 otherlv_0=(Token)match(input,13,FOLLOW_9); 962 // InternalApplicationConfiguration.g:325:2: ( (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) )
963 963 // InternalApplicationConfiguration.g:326:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) )
964 newLeafNode(otherlv_0, grammarAccess.getEPackageImportAccess().getImportKeyword_0()); 964 {
965 965 // InternalApplicationConfiguration.g:326:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) )
966 otherlv_1=(Token)match(input,14,FOLLOW_10); 966 // InternalApplicationConfiguration.g:327:3: otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) )
967 967 {
968 newLeafNode(otherlv_1, grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); 968 otherlv_0=(Token)match(input,13,FOLLOW_9);
969 969
970 // InternalApplicationConfiguration.g:335:3: ( (otherlv_2= RULE_STRING ) ) 970 newLeafNode(otherlv_0, grammarAccess.getEPackageImportAccess().getImportKeyword_0());
971 // InternalApplicationConfiguration.g:336:4: (otherlv_2= RULE_STRING ) 971
972 { 972 otherlv_1=(Token)match(input,14,FOLLOW_10);
973 // InternalApplicationConfiguration.g:336:4: (otherlv_2= RULE_STRING ) 973
974 // InternalApplicationConfiguration.g:337:5: otherlv_2= RULE_STRING 974 newLeafNode(otherlv_1, grammarAccess.getEPackageImportAccess().getEpackageKeyword_1());
975 { 975
976 976 // InternalApplicationConfiguration.g:335:3: ( (otherlv_2= RULE_STRING ) )
977 if (current==null) { 977 // InternalApplicationConfiguration.g:336:4: (otherlv_2= RULE_STRING )
978 current = createModelElement(grammarAccess.getEPackageImportRule()); 978 {
979 } 979 // InternalApplicationConfiguration.g:336:4: (otherlv_2= RULE_STRING )
980 980 // InternalApplicationConfiguration.g:337:5: otherlv_2= RULE_STRING
981 otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); 981 {
982 982
983 newLeafNode(otherlv_2, grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); 983 if (current==null) {
984 984 current = createModelElement(grammarAccess.getEPackageImportRule());
985 985 }
986 } 986
987 987 otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2);
988 988
989 } 989 newLeafNode(otherlv_2, grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0());
990 990
991 991
992 } 992 }
993 993
994 994
995 } 995 }
996 996
997 997
998 leaveRule(); 998 }
999 999
1000 } 1000
1001 1001 }
1002 catch (RecognitionException re) { 1002
1003 recover(input,re); 1003
1004 appendSkippedTokens(); 1004 leaveRule();
1005 } 1005
1006 finally { 1006 }
1007 } 1007
1008 return current; 1008 catch (RecognitionException re) {
1009 } 1009 recover(input,re);
1010 // $ANTLR end "ruleEPackageImport" 1010 appendSkippedTokens();
1011 1011 }
1012 1012 finally {
1013 // $ANTLR start "entryRuleViatraImport" 1013 }
1014 // InternalApplicationConfiguration.g:352:1: entryRuleViatraImport returns [EObject current=null] : iv_ruleViatraImport= ruleViatraImport EOF ; 1014 return current;
1015 public final EObject entryRuleViatraImport() throws RecognitionException { 1015 }
1016 EObject current = null; 1016 // $ANTLR end "ruleEPackageImport"
1017 1017
1018 EObject iv_ruleViatraImport = null; 1018
1019 1019 // $ANTLR start "entryRuleViatraImport"
1020 1020 // InternalApplicationConfiguration.g:352:1: entryRuleViatraImport returns [EObject current=null] : iv_ruleViatraImport= ruleViatraImport EOF ;
1021 try { 1021 public final EObject entryRuleViatraImport() throws RecognitionException {
1022 // InternalApplicationConfiguration.g:352:53: (iv_ruleViatraImport= ruleViatraImport EOF ) 1022 EObject current = null;
1023 // InternalApplicationConfiguration.g:353:2: iv_ruleViatraImport= ruleViatraImport EOF 1023
1024 { 1024 EObject iv_ruleViatraImport = null;
1025 newCompositeNode(grammarAccess.getViatraImportRule()); 1025
1026 pushFollow(FOLLOW_1); 1026
1027 iv_ruleViatraImport=ruleViatraImport(); 1027 try {
1028 1028 // InternalApplicationConfiguration.g:352:53: (iv_ruleViatraImport= ruleViatraImport EOF )
1029 state._fsp--; 1029 // InternalApplicationConfiguration.g:353:2: iv_ruleViatraImport= ruleViatraImport EOF
1030 1030 {
1031 current =iv_ruleViatraImport; 1031 newCompositeNode(grammarAccess.getViatraImportRule());
1032 match(input,EOF,FOLLOW_2); 1032 pushFollow(FOLLOW_1);
1033 1033 iv_ruleViatraImport=ruleViatraImport();
1034 } 1034
1035 1035 state._fsp--;
1036 } 1036
1037 1037 current =iv_ruleViatraImport;
1038 catch (RecognitionException re) { 1038 match(input,EOF,FOLLOW_2);
1039 recover(input,re); 1039
1040 appendSkippedTokens(); 1040 }
1041 } 1041
1042 finally { 1042 }
1043 } 1043
1044 return current; 1044 catch (RecognitionException re) {
1045 } 1045 recover(input,re);
1046 // $ANTLR end "entryRuleViatraImport" 1046 appendSkippedTokens();
1047 1047 }
1048 1048 finally {
1049 // $ANTLR start "ruleViatraImport" 1049 }
1050 // InternalApplicationConfiguration.g:359:1: ruleViatraImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ; 1050 return current;
1051 public final EObject ruleViatraImport() throws RecognitionException { 1051 }
1052 EObject current = null; 1052 // $ANTLR end "entryRuleViatraImport"
1053 1053
1054 Token otherlv_0=null; 1054
1055 Token otherlv_1=null; 1055 // $ANTLR start "ruleViatraImport"
1056 Token otherlv_2=null; 1056 // InternalApplicationConfiguration.g:359:1: ruleViatraImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ;
1057 1057 public final EObject ruleViatraImport() throws RecognitionException {
1058 1058 EObject current = null;
1059 enterRule(); 1059
1060 1060 Token otherlv_0=null;
1061 try { 1061 Token otherlv_1=null;
1062 // InternalApplicationConfiguration.g:365:2: ( (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ) 1062 Token otherlv_2=null;
1063 // InternalApplicationConfiguration.g:366:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) 1063
1064 { 1064
1065 // InternalApplicationConfiguration.g:366:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) 1065 enterRule();
1066 // InternalApplicationConfiguration.g:367:3: otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) 1066
1067 { 1067 try {
1068 otherlv_0=(Token)match(input,13,FOLLOW_11); 1068 // InternalApplicationConfiguration.g:365:2: ( (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) )
1069 1069 // InternalApplicationConfiguration.g:366:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) )
1070 newLeafNode(otherlv_0, grammarAccess.getViatraImportAccess().getImportKeyword_0()); 1070 {
1071 1071 // InternalApplicationConfiguration.g:366:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) )
1072 otherlv_1=(Token)match(input,15,FOLLOW_10); 1072 // InternalApplicationConfiguration.g:367:3: otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) )
1073 1073 {
1074 newLeafNode(otherlv_1, grammarAccess.getViatraImportAccess().getViatraKeyword_1()); 1074 otherlv_0=(Token)match(input,13,FOLLOW_11);
1075 1075
1076 // InternalApplicationConfiguration.g:375:3: ( (otherlv_2= RULE_STRING ) ) 1076 newLeafNode(otherlv_0, grammarAccess.getViatraImportAccess().getImportKeyword_0());
1077 // InternalApplicationConfiguration.g:376:4: (otherlv_2= RULE_STRING ) 1077
1078 { 1078 otherlv_1=(Token)match(input,15,FOLLOW_10);
1079 // InternalApplicationConfiguration.g:376:4: (otherlv_2= RULE_STRING ) 1079
1080 // InternalApplicationConfiguration.g:377:5: otherlv_2= RULE_STRING 1080 newLeafNode(otherlv_1, grammarAccess.getViatraImportAccess().getViatraKeyword_1());
1081 { 1081
1082 1082 // InternalApplicationConfiguration.g:375:3: ( (otherlv_2= RULE_STRING ) )
1083 if (current==null) { 1083 // InternalApplicationConfiguration.g:376:4: (otherlv_2= RULE_STRING )
1084 current = createModelElement(grammarAccess.getViatraImportRule()); 1084 {
1085 } 1085 // InternalApplicationConfiguration.g:376:4: (otherlv_2= RULE_STRING )
1086 1086 // InternalApplicationConfiguration.g:377:5: otherlv_2= RULE_STRING
1087 otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); 1087 {
1088 1088
1089 newLeafNode(otherlv_2, grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); 1089 if (current==null) {
1090 1090 current = createModelElement(grammarAccess.getViatraImportRule());
1091 1091 }
1092 } 1092
1093 1093 otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2);
1094 1094
1095 } 1095 newLeafNode(otherlv_2, grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0());
1096 1096
1097 1097
1098 } 1098 }
1099 1099
1100 1100
1101 } 1101 }
1102 1102
1103 1103
1104 leaveRule(); 1104 }
1105 1105
1106 } 1106
1107 1107 }
1108 catch (RecognitionException re) { 1108
1109 recover(input,re); 1109
1110 appendSkippedTokens(); 1110 leaveRule();
1111 } 1111
1112 finally { 1112 }
1113 } 1113
1114 return current; 1114 catch (RecognitionException re) {
1115 } 1115 recover(input,re);
1116 // $ANTLR end "ruleViatraImport" 1116 appendSkippedTokens();
1117 1117 }
1118 1118 finally {
1119 // $ANTLR start "entryRuleDeclaration" 1119 }
1120 // InternalApplicationConfiguration.g:392:1: entryRuleDeclaration returns [EObject current=null] : iv_ruleDeclaration= ruleDeclaration EOF ; 1120 return current;
1121 public final EObject entryRuleDeclaration() throws RecognitionException { 1121 }
1122 EObject current = null; 1122 // $ANTLR end "ruleViatraImport"
1123 1123
1124 EObject iv_ruleDeclaration = null; 1124
1125 1125 // $ANTLR start "entryRuleDeclaration"
1126 1126 // InternalApplicationConfiguration.g:392:1: entryRuleDeclaration returns [EObject current=null] : iv_ruleDeclaration= ruleDeclaration EOF ;
1127 try { 1127 public final EObject entryRuleDeclaration() throws RecognitionException {
1128 // InternalApplicationConfiguration.g:392:52: (iv_ruleDeclaration= ruleDeclaration EOF ) 1128 EObject current = null;
1129 // InternalApplicationConfiguration.g:393:2: iv_ruleDeclaration= ruleDeclaration EOF 1129
1130 { 1130 EObject iv_ruleDeclaration = null;
1131 newCompositeNode(grammarAccess.getDeclarationRule()); 1131
1132 pushFollow(FOLLOW_1); 1132
1133 iv_ruleDeclaration=ruleDeclaration(); 1133 try {
1134 1134 // InternalApplicationConfiguration.g:392:52: (iv_ruleDeclaration= ruleDeclaration EOF )
1135 state._fsp--; 1135 // InternalApplicationConfiguration.g:393:2: iv_ruleDeclaration= ruleDeclaration EOF
1136 1136 {
1137 current =iv_ruleDeclaration; 1137 newCompositeNode(grammarAccess.getDeclarationRule());
1138 match(input,EOF,FOLLOW_2); 1138 pushFollow(FOLLOW_1);
1139 1139 iv_ruleDeclaration=ruleDeclaration();
1140 } 1140
1141 1141 state._fsp--;
1142 } 1142
1143 1143 current =iv_ruleDeclaration;
1144 catch (RecognitionException re) { 1144 match(input,EOF,FOLLOW_2);
1145 recover(input,re); 1145
1146 appendSkippedTokens(); 1146 }
1147 } 1147
1148 finally { 1148 }
1149 } 1149
1150 return current; 1150 catch (RecognitionException re) {
1151 } 1151 recover(input,re);
1152 // $ANTLR end "entryRuleDeclaration" 1152 appendSkippedTokens();
1153 1153 }
1154 1154 finally {
1155 // $ANTLR start "ruleDeclaration" 1155 }
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 return current;
1157 public final EObject ruleDeclaration() throws RecognitionException { 1157 }
1158 EObject current = null; 1158 // $ANTLR end "entryRuleDeclaration"
1159 1159
1160 EObject this_FileDeclaration_0 = null; 1160
1161 1161 // $ANTLR start "ruleDeclaration"
1162 EObject this_MetamodelDeclaration_1 = null; 1162 // 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 | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration ) ;
1163 1163 public final EObject ruleDeclaration() throws RecognitionException {
1164 EObject this_PartialModelDeclaration_2 = null; 1164 EObject current = null;
1165 1165
1166 EObject this_GraphPatternDeclaration_3 = null; 1166 EObject this_FileDeclaration_0 = null;
1167 1167
1168 EObject this_ConfigDeclaration_4 = null; 1168 EObject this_MetamodelDeclaration_1 = null;
1169 1169
1170 EObject this_ScopeDeclaration_5 = null; 1170 EObject this_PartialModelDeclaration_2 = null;
1171 1171
1172 1172 EObject this_GraphPatternDeclaration_3 = null;
1173 1173
1174 enterRule(); 1174 EObject this_ConfigDeclaration_4 = null;
1175 1175
1176 try { 1176 EObject this_ScopeDeclaration_5 = null;
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 EObject this_ObjectiveDeclaration_6 = null;
1179 { 1179
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
1181 int alt8=6; 1181
1182 switch ( input.LA(1) ) { 1182 enterRule();
1183 case 16: 1183
1184 { 1184 try {
1185 alt8=1; 1185 // 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 | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration ) )
1186 } 1186 // 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 | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration )
1187 break; 1187 {
1188 case 24: 1188 // 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 | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration )
1189 { 1189 int alt8=7;
1190 alt8=2; 1190 switch ( input.LA(1) ) {
1191 } 1191 case 16:
1192 break; 1192 {
1193 case 26: 1193 alt8=1;
1194 { 1194 }
1195 alt8=3; 1195 break;
1196 } 1196 case 24:
1197 break; 1197 {
1198 case 27: 1198 alt8=2;
1199 { 1199 }
1200 alt8=4; 1200 break;
1201 } 1201 case 26:
1202 break; 1202 {
1203 case 28: 1203 alt8=3;
1204 { 1204 }
1205 alt8=5; 1205 break;
1206 } 1206 case 27:
1207 break; 1207 {
1208 case 42: 1208 alt8=4;
1209 { 1209 }
1210 alt8=6; 1210 break;
1211 } 1211 case 30:
1212 break; 1212 {
1213 default: 1213 alt8=5;
1214 NoViableAltException nvae = 1214 }
1215 new NoViableAltException("", 8, 0, input); 1215 break;
1216 1216 case 44:
1217 throw nvae; 1217 {
1218 } 1218 alt8=6;
1219 1219 }
1220 switch (alt8) { 1220 break;
1221 case 1 : 1221 case 29:
1222 // InternalApplicationConfiguration.g:407:3: this_FileDeclaration_0= ruleFileDeclaration 1222 {
1223 { 1223 alt8=7;
1224 1224 }
1225 newCompositeNode(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); 1225 break;
1226 1226 default:
1227 pushFollow(FOLLOW_2); 1227 NoViableAltException nvae =
1228 this_FileDeclaration_0=ruleFileDeclaration(); 1228 new NoViableAltException("", 8, 0, input);
1229 1229
1230 state._fsp--; 1230 throw nvae;
1231 1231 }
1232 1232
1233 current = this_FileDeclaration_0; 1233 switch (alt8) {
1234 afterParserOrEnumRuleCall(); 1234 case 1 :
1235 1235 // InternalApplicationConfiguration.g:407:3: this_FileDeclaration_0= ruleFileDeclaration
1236 1236 {
1237 } 1237
1238 break; 1238 newCompositeNode(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0());
1239 case 2 : 1239
1240 // InternalApplicationConfiguration.g:416:3: this_MetamodelDeclaration_1= ruleMetamodelDeclaration 1240 pushFollow(FOLLOW_2);
1241 { 1241 this_FileDeclaration_0=ruleFileDeclaration();
1242 1242
1243 newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); 1243 state._fsp--;
1244 1244
1245 pushFollow(FOLLOW_2); 1245
1246 this_MetamodelDeclaration_1=ruleMetamodelDeclaration(); 1246 current = this_FileDeclaration_0;
1247 1247 afterParserOrEnumRuleCall();
1248 state._fsp--; 1248
1249 1249
1250 1250 }
1251 current = this_MetamodelDeclaration_1; 1251 break;
1252 afterParserOrEnumRuleCall(); 1252 case 2 :
1253 1253 // InternalApplicationConfiguration.g:416:3: this_MetamodelDeclaration_1= ruleMetamodelDeclaration
1254 1254 {
1255 } 1255
1256 break; 1256 newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1());
1257 case 3 : 1257
1258 // InternalApplicationConfiguration.g:425:3: this_PartialModelDeclaration_2= rulePartialModelDeclaration 1258 pushFollow(FOLLOW_2);
1259 { 1259 this_MetamodelDeclaration_1=ruleMetamodelDeclaration();
1260 1260
1261 newCompositeNode(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); 1261 state._fsp--;
1262 1262
1263 pushFollow(FOLLOW_2); 1263
1264 this_PartialModelDeclaration_2=rulePartialModelDeclaration(); 1264 current = this_MetamodelDeclaration_1;
1265 1265 afterParserOrEnumRuleCall();
1266 state._fsp--; 1266
1267 1267
1268 1268 }
1269 current = this_PartialModelDeclaration_2; 1269 break;
1270 afterParserOrEnumRuleCall(); 1270 case 3 :
1271 1271 // InternalApplicationConfiguration.g:425:3: this_PartialModelDeclaration_2= rulePartialModelDeclaration
1272 1272 {
1273 } 1273
1274 break; 1274 newCompositeNode(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2());
1275 case 4 : 1275
1276 // InternalApplicationConfiguration.g:434:3: this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration 1276 pushFollow(FOLLOW_2);
1277 { 1277 this_PartialModelDeclaration_2=rulePartialModelDeclaration();
1278 1278
1279 newCompositeNode(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); 1279 state._fsp--;
1280 1280
1281 pushFollow(FOLLOW_2); 1281
1282 this_GraphPatternDeclaration_3=ruleGraphPatternDeclaration(); 1282 current = this_PartialModelDeclaration_2;
1283 1283 afterParserOrEnumRuleCall();
1284 state._fsp--; 1284
1285 1285
1286 1286 }
1287 current = this_GraphPatternDeclaration_3; 1287 break;
1288 afterParserOrEnumRuleCall(); 1288 case 4 :
1289 1289 // InternalApplicationConfiguration.g:434:3: this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration
1290 1290 {
1291 } 1291
1292 break; 1292 newCompositeNode(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3());
1293 case 5 : 1293
1294 // InternalApplicationConfiguration.g:443:3: this_ConfigDeclaration_4= ruleConfigDeclaration 1294 pushFollow(FOLLOW_2);
1295 { 1295 this_GraphPatternDeclaration_3=ruleGraphPatternDeclaration();
1296 1296
1297 newCompositeNode(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); 1297 state._fsp--;
1298 1298
1299 pushFollow(FOLLOW_2); 1299
1300 this_ConfigDeclaration_4=ruleConfigDeclaration(); 1300 current = this_GraphPatternDeclaration_3;
1301 1301 afterParserOrEnumRuleCall();
1302 state._fsp--; 1302
1303 1303
1304 1304 }
1305 current = this_ConfigDeclaration_4; 1305 break;
1306 afterParserOrEnumRuleCall(); 1306 case 5 :
1307 1307 // InternalApplicationConfiguration.g:443:3: this_ConfigDeclaration_4= ruleConfigDeclaration
1308 1308 {
1309 } 1309
1310 break; 1310 newCompositeNode(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4());
1311 case 6 : 1311
1312 // InternalApplicationConfiguration.g:452:3: this_ScopeDeclaration_5= ruleScopeDeclaration 1312 pushFollow(FOLLOW_2);
1313 { 1313 this_ConfigDeclaration_4=ruleConfigDeclaration();
1314 1314
1315 newCompositeNode(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); 1315 state._fsp--;
1316 1316
1317 pushFollow(FOLLOW_2); 1317
1318 this_ScopeDeclaration_5=ruleScopeDeclaration(); 1318 current = this_ConfigDeclaration_4;
1319 1319 afterParserOrEnumRuleCall();
1320 state._fsp--; 1320
1321 1321
1322 1322 }
1323 current = this_ScopeDeclaration_5; 1323 break;
1324 afterParserOrEnumRuleCall(); 1324 case 6 :
1325 1325 // InternalApplicationConfiguration.g:452:3: this_ScopeDeclaration_5= ruleScopeDeclaration
1326 1326 {
1327 } 1327
1328 break; 1328 newCompositeNode(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5());
1329 1329
1330 } 1330 pushFollow(FOLLOW_2);
1331 1331 this_ScopeDeclaration_5=ruleScopeDeclaration();
1332 1332
1333 } 1333 state._fsp--;
1334 1334
1335 1335
1336 leaveRule(); 1336 current = this_ScopeDeclaration_5;
1337 1337 afterParserOrEnumRuleCall();
1338 } 1338
1339 1339
1340 catch (RecognitionException re) { 1340 }
1341 recover(input,re); 1341 break;
1342 appendSkippedTokens(); 1342 case 7 :
1343 } 1343 // InternalApplicationConfiguration.g:461:3: this_ObjectiveDeclaration_6= ruleObjectiveDeclaration
1344 finally { 1344 {
1345 } 1345
1346 return current; 1346 newCompositeNode(grammarAccess.getDeclarationAccess().getObjectiveDeclarationParserRuleCall_6());
1347 } 1347
1348 // $ANTLR end "ruleDeclaration" 1348 pushFollow(FOLLOW_2);
1349 1349 this_ObjectiveDeclaration_6=ruleObjectiveDeclaration();
1350 1350
1351 // $ANTLR start "entryRuleFileSpecification" 1351 state._fsp--;
1352 // InternalApplicationConfiguration.g:464:1: entryRuleFileSpecification returns [EObject current=null] : iv_ruleFileSpecification= ruleFileSpecification EOF ; 1352
1353 public final EObject entryRuleFileSpecification() throws RecognitionException { 1353
1354 EObject current = null; 1354 current = this_ObjectiveDeclaration_6;
1355 1355 afterParserOrEnumRuleCall();
1356 EObject iv_ruleFileSpecification = null; 1356
1357 1357
1358 1358 }
1359 try { 1359 break;
1360 // InternalApplicationConfiguration.g:464:58: (iv_ruleFileSpecification= ruleFileSpecification EOF ) 1360
1361 // InternalApplicationConfiguration.g:465:2: iv_ruleFileSpecification= ruleFileSpecification EOF 1361 }
1362 { 1362
1363 newCompositeNode(grammarAccess.getFileSpecificationRule()); 1363
1364 pushFollow(FOLLOW_1); 1364 }
1365 iv_ruleFileSpecification=ruleFileSpecification(); 1365
1366 1366
1367 state._fsp--; 1367 leaveRule();
1368 1368
1369 current =iv_ruleFileSpecification; 1369 }
1370 match(input,EOF,FOLLOW_2); 1370
1371 1371 catch (RecognitionException re) {
1372 } 1372 recover(input,re);
1373 1373 appendSkippedTokens();
1374 } 1374 }
1375 1375 finally {
1376 catch (RecognitionException re) { 1376 }
1377 recover(input,re); 1377 return current;
1378 appendSkippedTokens(); 1378 }
1379 } 1379 // $ANTLR end "ruleDeclaration"
1380 finally { 1380
1381 } 1381
1382 return current; 1382 // $ANTLR start "entryRuleFileSpecification"
1383 } 1383 // InternalApplicationConfiguration.g:473:1: entryRuleFileSpecification returns [EObject current=null] : iv_ruleFileSpecification= ruleFileSpecification EOF ;
1384 // $ANTLR end "entryRuleFileSpecification" 1384 public final EObject entryRuleFileSpecification() throws RecognitionException {
1385 1385 EObject current = null;
1386 1386
1387 // $ANTLR start "ruleFileSpecification" 1387 EObject iv_ruleFileSpecification = null;
1388 // InternalApplicationConfiguration.g:471:1: ruleFileSpecification returns [EObject current=null] : ( (lv_path_0_0= RULE_STRING ) ) ; 1388
1389 public final EObject ruleFileSpecification() throws RecognitionException { 1389
1390 EObject current = null; 1390 try {
1391 1391 // InternalApplicationConfiguration.g:473:58: (iv_ruleFileSpecification= ruleFileSpecification EOF )
1392 Token lv_path_0_0=null; 1392 // InternalApplicationConfiguration.g:474:2: iv_ruleFileSpecification= ruleFileSpecification EOF
1393 1393 {
1394 1394 newCompositeNode(grammarAccess.getFileSpecificationRule());
1395 enterRule(); 1395 pushFollow(FOLLOW_1);
1396 1396 iv_ruleFileSpecification=ruleFileSpecification();
1397 try { 1397
1398 // InternalApplicationConfiguration.g:477:2: ( ( (lv_path_0_0= RULE_STRING ) ) ) 1398 state._fsp--;
1399 // InternalApplicationConfiguration.g:478:2: ( (lv_path_0_0= RULE_STRING ) ) 1399
1400 { 1400 current =iv_ruleFileSpecification;
1401 // InternalApplicationConfiguration.g:478:2: ( (lv_path_0_0= RULE_STRING ) ) 1401 match(input,EOF,FOLLOW_2);
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
1405 // InternalApplicationConfiguration.g:480:4: lv_path_0_0= RULE_STRING 1405 }
1406 { 1406
1407 lv_path_0_0=(Token)match(input,RULE_STRING,FOLLOW_2); 1407 catch (RecognitionException re) {
1408 1408 recover(input,re);
1409 newLeafNode(lv_path_0_0, grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0()); 1409 appendSkippedTokens();
1410 1410 }
1411 1411 finally {
1412 if (current==null) { 1412 }
1413 current = createModelElement(grammarAccess.getFileSpecificationRule()); 1413 return current;
1414 } 1414 }
1415 setWithLastConsumed( 1415 // $ANTLR end "entryRuleFileSpecification"
1416 current, 1416
1417 "path", 1417
1418 lv_path_0_0, 1418 // $ANTLR start "ruleFileSpecification"
1419 "org.eclipse.xtext.common.Terminals.STRING"); 1419 // InternalApplicationConfiguration.g:480:1: ruleFileSpecification returns [EObject current=null] : ( (lv_path_0_0= RULE_STRING ) ) ;
1420 1420 public final EObject ruleFileSpecification() throws RecognitionException {
1421 1421 EObject current = null;
1422 } 1422
1423 1423 Token lv_path_0_0=null;
1424 1424
1425 } 1425
1426 1426 enterRule();
1427 1427
1428 } 1428 try {
1429 1429 // InternalApplicationConfiguration.g:486:2: ( ( (lv_path_0_0= RULE_STRING ) ) )
1430 1430 // InternalApplicationConfiguration.g:487:2: ( (lv_path_0_0= RULE_STRING ) )
1431 leaveRule(); 1431 {
1432 1432 // InternalApplicationConfiguration.g:487:2: ( (lv_path_0_0= RULE_STRING ) )
1433 } 1433 // InternalApplicationConfiguration.g:488:3: (lv_path_0_0= RULE_STRING )
1434 1434 {
1435 catch (RecognitionException re) { 1435 // InternalApplicationConfiguration.g:488:3: (lv_path_0_0= RULE_STRING )
1436 recover(input,re); 1436 // InternalApplicationConfiguration.g:489:4: lv_path_0_0= RULE_STRING
1437 appendSkippedTokens(); 1437 {
1438 } 1438 lv_path_0_0=(Token)match(input,RULE_STRING,FOLLOW_2);
1439 finally { 1439
1440 } 1440 newLeafNode(lv_path_0_0, grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0());
1441 return current; 1441
1442 } 1442
1443 // $ANTLR end "ruleFileSpecification" 1443 if (current==null) {
1444 1444 current = createModelElement(grammarAccess.getFileSpecificationRule());
1445 1445 }
1446 // $ANTLR start "entryRuleFileDeclaration" 1446 setWithLastConsumed(
1447 // InternalApplicationConfiguration.g:499:1: entryRuleFileDeclaration returns [EObject current=null] : iv_ruleFileDeclaration= ruleFileDeclaration EOF ; 1447 current,
1448 public final EObject entryRuleFileDeclaration() throws RecognitionException { 1448 "path",
1449 EObject current = null; 1449 lv_path_0_0,
1450 1450 "org.eclipse.xtext.common.Terminals.STRING");
1451 EObject iv_ruleFileDeclaration = null; 1451
1452 1452
1453 1453 }
1454 try { 1454
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
1459 pushFollow(FOLLOW_1); 1459 }
1460 iv_ruleFileDeclaration=ruleFileDeclaration(); 1460
1461 1461
1462 state._fsp--; 1462 leaveRule();
1463 1463
1464 current =iv_ruleFileDeclaration; 1464 }
1465 match(input,EOF,FOLLOW_2); 1465
1466 1466 catch (RecognitionException re) {
1467 } 1467 recover(input,re);
1468 1468 appendSkippedTokens();
1469 } 1469 }
1470 1470 finally {
1471 catch (RecognitionException re) { 1471 }
1472 recover(input,re); 1472 return current;
1473 appendSkippedTokens(); 1473 }
1474 } 1474 // $ANTLR end "ruleFileSpecification"
1475 finally { 1475
1476 } 1476
1477 return current; 1477 // $ANTLR start "entryRuleFileDeclaration"
1478 } 1478 // InternalApplicationConfiguration.g:508:1: entryRuleFileDeclaration returns [EObject current=null] : iv_ruleFileDeclaration= ruleFileDeclaration EOF ;
1479 // $ANTLR end "entryRuleFileDeclaration" 1479 public final EObject entryRuleFileDeclaration() throws RecognitionException {
1480 1480 EObject current = null;
1481 1481
1482 // $ANTLR start "ruleFileDeclaration" 1482 EObject iv_ruleFileDeclaration = null;
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
1484 public final EObject ruleFileDeclaration() throws RecognitionException { 1484
1485 EObject current = null; 1485 try {
1486 1486 // InternalApplicationConfiguration.g:508:56: (iv_ruleFileDeclaration= ruleFileDeclaration EOF )
1487 Token otherlv_0=null; 1487 // InternalApplicationConfiguration.g:509:2: iv_ruleFileDeclaration= ruleFileDeclaration EOF
1488 Token lv_name_1_0=null; 1488 {
1489 Token otherlv_2=null; 1489 newCompositeNode(grammarAccess.getFileDeclarationRule());
1490 EObject lv_specification_3_0 = null; 1490 pushFollow(FOLLOW_1);
1491 1491 iv_ruleFileDeclaration=ruleFileDeclaration();
1492 1492
1493 1493 state._fsp--;
1494 enterRule(); 1494
1495 1495 current =iv_ruleFileDeclaration;
1496 try { 1496 match(input,EOF,FOLLOW_2);
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 catch (RecognitionException re) {
1503 otherlv_0=(Token)match(input,16,FOLLOW_6); 1503 recover(input,re);
1504 1504 appendSkippedTokens();
1505 newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); 1505 }
1506 1506 finally {
1507 // InternalApplicationConfiguration.g:518:3: ( (lv_name_1_0= RULE_ID ) ) 1507 }
1508 // InternalApplicationConfiguration.g:519:4: (lv_name_1_0= RULE_ID ) 1508 return current;
1509 { 1509 }
1510 // InternalApplicationConfiguration.g:519:4: (lv_name_1_0= RULE_ID ) 1510 // $ANTLR end "entryRuleFileDeclaration"
1511 // InternalApplicationConfiguration.g:520:5: lv_name_1_0= RULE_ID 1511
1512 { 1512
1513 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_12); 1513 // $ANTLR start "ruleFileDeclaration"
1514 1514 // InternalApplicationConfiguration.g:515:1: ruleFileDeclaration returns [EObject current=null] : (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ;
1515 newLeafNode(lv_name_1_0, grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 1515 public final EObject ruleFileDeclaration() throws RecognitionException {
1516 1516 EObject current = null;
1517 1517
1518 if (current==null) { 1518 Token otherlv_0=null;
1519 current = createModelElement(grammarAccess.getFileDeclarationRule()); 1519 Token lv_name_1_0=null;
1520 } 1520 Token otherlv_2=null;
1521 setWithLastConsumed( 1521 EObject lv_specification_3_0 = null;
1522 current, 1522
1523 "name", 1523
1524 lv_name_1_0, 1524
1525 "org.eclipse.xtext.common.Terminals.ID"); 1525 enterRule();
1526 1526
1527 1527 try {
1528 } 1528 // InternalApplicationConfiguration.g:521:2: ( (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) )
1529 1529 // InternalApplicationConfiguration.g:522:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) )
1530 1530 {
1531 } 1531 // InternalApplicationConfiguration.g:522:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) )
1532 1532 // InternalApplicationConfiguration.g:523:3: otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) )
1533 otherlv_2=(Token)match(input,17,FOLLOW_10); 1533 {
1534 1534 otherlv_0=(Token)match(input,16,FOLLOW_6);
1535 newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); 1535
1536 1536 newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0());
1537 // InternalApplicationConfiguration.g:540:3: ( (lv_specification_3_0= ruleFileSpecification ) ) 1537
1538 // InternalApplicationConfiguration.g:541:4: (lv_specification_3_0= ruleFileSpecification ) 1538 // InternalApplicationConfiguration.g:527:3: ( (lv_name_1_0= RULE_ID ) )
1539 { 1539 // InternalApplicationConfiguration.g:528:4: (lv_name_1_0= RULE_ID )
1540 // InternalApplicationConfiguration.g:541:4: (lv_specification_3_0= ruleFileSpecification ) 1540 {
1541 // InternalApplicationConfiguration.g:542:5: lv_specification_3_0= ruleFileSpecification 1541 // InternalApplicationConfiguration.g:528:4: (lv_name_1_0= RULE_ID )
1542 { 1542 // InternalApplicationConfiguration.g:529:5: lv_name_1_0= RULE_ID
1543 1543 {
1544 newCompositeNode(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); 1544 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_12);
1545 1545
1546 pushFollow(FOLLOW_2); 1546 newLeafNode(lv_name_1_0, grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0());
1547 lv_specification_3_0=ruleFileSpecification(); 1547
1548 1548
1549 state._fsp--; 1549 if (current==null) {
1550 1550 current = createModelElement(grammarAccess.getFileDeclarationRule());
1551 1551 }
1552 if (current==null) { 1552 setWithLastConsumed(
1553 current = createModelElementForParent(grammarAccess.getFileDeclarationRule()); 1553 current,
1554 } 1554 "name",
1555 set( 1555 lv_name_1_0,
1556 current, 1556 "org.eclipse.xtext.common.Terminals.ID");
1557 "specification", 1557
1558 lv_specification_3_0, 1558
1559 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification"); 1559 }
1560 afterParserOrEnumRuleCall(); 1560
1561 1561
1562 1562 }
1563 } 1563
1564 1564 otherlv_2=(Token)match(input,17,FOLLOW_10);
1565 1565
1566 } 1566 newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2());
1567 1567
1568 1568 // InternalApplicationConfiguration.g:549:3: ( (lv_specification_3_0= ruleFileSpecification ) )
1569 } 1569 // InternalApplicationConfiguration.g:550:4: (lv_specification_3_0= ruleFileSpecification )
1570 1570 {
1571 1571 // InternalApplicationConfiguration.g:550:4: (lv_specification_3_0= ruleFileSpecification )
1572 } 1572 // InternalApplicationConfiguration.g:551:5: lv_specification_3_0= ruleFileSpecification
1573 1573 {
1574 1574
1575 leaveRule(); 1575 newCompositeNode(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0());
1576 1576
1577 } 1577 pushFollow(FOLLOW_2);
1578 1578 lv_specification_3_0=ruleFileSpecification();
1579 catch (RecognitionException re) { 1579
1580 recover(input,re); 1580 state._fsp--;
1581 appendSkippedTokens(); 1581
1582 } 1582
1583 finally { 1583 if (current==null) {
1584 } 1584 current = createModelElementForParent(grammarAccess.getFileDeclarationRule());
1585 return current; 1585 }
1586 } 1586 set(
1587 // $ANTLR end "ruleFileDeclaration" 1587 current,
1588 1588 "specification",
1589 1589 lv_specification_3_0,
1590 // $ANTLR start "entryRuleFileReference" 1590 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification");
1591 // InternalApplicationConfiguration.g:563:1: entryRuleFileReference returns [EObject current=null] : iv_ruleFileReference= ruleFileReference EOF ; 1591 afterParserOrEnumRuleCall();
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 }
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
1602 newCompositeNode(grammarAccess.getFileReferenceRule()); 1602
1603 pushFollow(FOLLOW_1); 1603 }
1604 iv_ruleFileReference=ruleFileReference(); 1604
1605 1605
1606 state._fsp--; 1606 leaveRule();
1607 1607
1608 current =iv_ruleFileReference; 1608 }
1609 match(input,EOF,FOLLOW_2); 1609
1610 1610 catch (RecognitionException re) {
1611 } 1611 recover(input,re);
1612 1612 appendSkippedTokens();
1613 } 1613 }
1614 1614 finally {
1615 catch (RecognitionException re) { 1615 }
1616 recover(input,re); 1616 return current;
1617 appendSkippedTokens(); 1617 }
1618 } 1618 // $ANTLR end "ruleFileDeclaration"
1619 finally { 1619
1620 } 1620
1621 return current; 1621 // $ANTLR start "entryRuleFileReference"
1622 } 1622 // InternalApplicationConfiguration.g:572:1: entryRuleFileReference returns [EObject current=null] : iv_ruleFileReference= ruleFileReference EOF ;
1623 // $ANTLR end "entryRuleFileReference" 1623 public final EObject entryRuleFileReference() throws RecognitionException {
1624 1624 EObject current = null;
1625 1625
1626 // $ANTLR start "ruleFileReference" 1626 EObject iv_ruleFileReference = null;
1627 // InternalApplicationConfiguration.g:570:1: ruleFileReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; 1627
1628 public final EObject ruleFileReference() throws RecognitionException { 1628
1629 EObject current = null; 1629 try {
1630 1630 // InternalApplicationConfiguration.g:572:54: (iv_ruleFileReference= ruleFileReference EOF )
1631 Token otherlv_0=null; 1631 // InternalApplicationConfiguration.g:573:2: iv_ruleFileReference= ruleFileReference EOF
1632 1632 {
1633 1633 newCompositeNode(grammarAccess.getFileReferenceRule());
1634 enterRule(); 1634 pushFollow(FOLLOW_1);
1635 1635 iv_ruleFileReference=ruleFileReference();
1636 try { 1636
1637 // InternalApplicationConfiguration.g:576:2: ( ( (otherlv_0= RULE_ID ) ) ) 1637 state._fsp--;
1638 // InternalApplicationConfiguration.g:577:2: ( (otherlv_0= RULE_ID ) ) 1638
1639 { 1639 current =iv_ruleFileReference;
1640 // InternalApplicationConfiguration.g:577:2: ( (otherlv_0= RULE_ID ) ) 1640 match(input,EOF,FOLLOW_2);
1641 // InternalApplicationConfiguration.g:578:3: (otherlv_0= RULE_ID ) 1641
1642 { 1642 }
1643 // InternalApplicationConfiguration.g:578:3: (otherlv_0= RULE_ID ) 1643
1644 // InternalApplicationConfiguration.g:579:4: otherlv_0= RULE_ID 1644 }
1645 { 1645
1646 1646 catch (RecognitionException re) {
1647 if (current==null) { 1647 recover(input,re);
1648 current = createModelElement(grammarAccess.getFileReferenceRule()); 1648 appendSkippedTokens();
1649 } 1649 }
1650 1650 finally {
1651 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); 1651 }
1652 1652 return current;
1653 newLeafNode(otherlv_0, grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); 1653 }
1654 1654 // $ANTLR end "entryRuleFileReference"
1655 1655
1656 } 1656
1657 1657 // $ANTLR start "ruleFileReference"
1658 1658 // InternalApplicationConfiguration.g:579:1: ruleFileReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
1659 } 1659 public final EObject ruleFileReference() throws RecognitionException {
1660 1660 EObject current = null;
1661 1661
1662 } 1662 Token otherlv_0=null;
1663 1663
1664 1664
1665 leaveRule(); 1665 enterRule();
1666 1666
1667 } 1667 try {
1668 1668 // InternalApplicationConfiguration.g:585:2: ( ( (otherlv_0= RULE_ID ) ) )
1669 catch (RecognitionException re) { 1669 // InternalApplicationConfiguration.g:586:2: ( (otherlv_0= RULE_ID ) )
1670 recover(input,re); 1670 {
1671 appendSkippedTokens(); 1671 // InternalApplicationConfiguration.g:586:2: ( (otherlv_0= RULE_ID ) )
1672 } 1672 // InternalApplicationConfiguration.g:587:3: (otherlv_0= RULE_ID )
1673 finally { 1673 {
1674 } 1674 // InternalApplicationConfiguration.g:587:3: (otherlv_0= RULE_ID )
1675 return current; 1675 // InternalApplicationConfiguration.g:588:4: otherlv_0= RULE_ID
1676 } 1676 {
1677 // $ANTLR end "ruleFileReference" 1677
1678 1678 if (current==null) {
1679 1679 current = createModelElement(grammarAccess.getFileReferenceRule());
1680 // $ANTLR start "entryRuleFile" 1680 }
1681 // InternalApplicationConfiguration.g:593:1: entryRuleFile returns [EObject current=null] : iv_ruleFile= ruleFile EOF ; 1681
1682 public final EObject entryRuleFile() throws RecognitionException { 1682 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2);
1683 EObject current = null; 1683
1684 1684 newLeafNode(otherlv_0, grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0());
1685 EObject iv_ruleFile = null; 1685
1686 1686
1687 1687 }
1688 try { 1688
1689 // InternalApplicationConfiguration.g:593:45: (iv_ruleFile= ruleFile EOF ) 1689
1690 // InternalApplicationConfiguration.g:594:2: iv_ruleFile= ruleFile EOF 1690 }
1691 { 1691
1692 newCompositeNode(grammarAccess.getFileRule()); 1692
1693 pushFollow(FOLLOW_1); 1693 }
1694 iv_ruleFile=ruleFile(); 1694
1695 1695
1696 state._fsp--; 1696 leaveRule();
1697 1697
1698 current =iv_ruleFile; 1698 }
1699 match(input,EOF,FOLLOW_2); 1699
1700 1700 catch (RecognitionException re) {
1701 } 1701 recover(input,re);
1702 1702 appendSkippedTokens();
1703 } 1703 }
1704 1704 finally {
1705 catch (RecognitionException re) { 1705 }
1706 recover(input,re); 1706 return current;
1707 appendSkippedTokens(); 1707 }
1708 } 1708 // $ANTLR end "ruleFileReference"
1709 finally { 1709
1710 } 1710
1711 return current; 1711 // $ANTLR start "entryRuleFile"
1712 } 1712 // InternalApplicationConfiguration.g:602:1: entryRuleFile returns [EObject current=null] : iv_ruleFile= ruleFile EOF ;
1713 // $ANTLR end "entryRuleFile" 1713 public final EObject entryRuleFile() throws RecognitionException {
1714 1714 EObject current = null;
1715 1715
1716 // $ANTLR start "ruleFile" 1716 EObject iv_ruleFile = null;
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
1719 EObject current = null; 1719 try {
1720 1720 // InternalApplicationConfiguration.g:602:45: (iv_ruleFile= ruleFile EOF )
1721 EObject this_FileSpecification_0 = null; 1721 // InternalApplicationConfiguration.g:603:2: iv_ruleFile= ruleFile EOF
1722 1722 {
1723 EObject this_FileReference_1 = null; 1723 newCompositeNode(grammarAccess.getFileRule());
1724 1724 pushFollow(FOLLOW_1);
1725 1725 iv_ruleFile=ruleFile();
1726 1726
1727 enterRule(); 1727 state._fsp--;
1728 1728
1729 try { 1729 current =iv_ruleFile;
1730 // InternalApplicationConfiguration.g:606:2: ( (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ) 1730 match(input,EOF,FOLLOW_2);
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 catch (RecognitionException re) {
1737 if ( (LA9_0==RULE_STRING) ) { 1737 recover(input,re);
1738 alt9=1; 1738 appendSkippedTokens();
1739 } 1739 }
1740 else if ( (LA9_0==RULE_ID) ) { 1740 finally {
1741 alt9=2; 1741 }
1742 } 1742 return current;
1743 else { 1743 }
1744 NoViableAltException nvae = 1744 // $ANTLR end "entryRuleFile"
1745 new NoViableAltException("", 9, 0, input); 1745
1746 1746
1747 throw nvae; 1747 // $ANTLR start "ruleFile"
1748 } 1748 // InternalApplicationConfiguration.g:609:1: ruleFile returns [EObject current=null] : (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ;
1749 switch (alt9) { 1749 public final EObject ruleFile() throws RecognitionException {
1750 case 1 : 1750 EObject current = null;
1751 // InternalApplicationConfiguration.g:608:3: this_FileSpecification_0= ruleFileSpecification 1751
1752 { 1752 EObject this_FileSpecification_0 = null;
1753 1753
1754 newCompositeNode(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); 1754 EObject this_FileReference_1 = null;
1755 1755
1756 pushFollow(FOLLOW_2); 1756
1757 this_FileSpecification_0=ruleFileSpecification(); 1757
1758 1758 enterRule();
1759 state._fsp--; 1759
1760 1760 try {
1761 1761 // InternalApplicationConfiguration.g:615:2: ( (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) )
1762 current = this_FileSpecification_0; 1762 // InternalApplicationConfiguration.g:616:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference )
1763 afterParserOrEnumRuleCall(); 1763 {
1764 1764 // InternalApplicationConfiguration.g:616:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference )
1765 1765 int alt9=2;
1766 } 1766 int LA9_0 = input.LA(1);
1767 break; 1767
1768 case 2 : 1768 if ( (LA9_0==RULE_STRING) ) {
1769 // InternalApplicationConfiguration.g:617:3: this_FileReference_1= ruleFileReference 1769 alt9=1;
1770 { 1770 }
1771 1771 else if ( (LA9_0==RULE_ID) ) {
1772 newCompositeNode(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); 1772 alt9=2;
1773 1773 }
1774 pushFollow(FOLLOW_2); 1774 else {
1775 this_FileReference_1=ruleFileReference(); 1775 NoViableAltException nvae =
1776 1776 new NoViableAltException("", 9, 0, input);
1777 state._fsp--; 1777
1778 1778 throw nvae;
1779 1779 }
1780 current = this_FileReference_1; 1780 switch (alt9) {
1781 afterParserOrEnumRuleCall(); 1781 case 1 :
1782 1782 // InternalApplicationConfiguration.g:617:3: this_FileSpecification_0= ruleFileSpecification
1783 1783 {
1784 } 1784
1785 break; 1785 newCompositeNode(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0());
1786 1786
1787 } 1787 pushFollow(FOLLOW_2);
1788 1788 this_FileSpecification_0=ruleFileSpecification();
1789 1789
1790 } 1790 state._fsp--;
1791 1791
1792 1792
1793 leaveRule(); 1793 current = this_FileSpecification_0;
1794 1794 afterParserOrEnumRuleCall();
1795 } 1795
1796 1796
1797 catch (RecognitionException re) { 1797 }
1798 recover(input,re); 1798 break;
1799 appendSkippedTokens(); 1799 case 2 :
1800 } 1800 // InternalApplicationConfiguration.g:626:3: this_FileReference_1= ruleFileReference
1801 finally { 1801 {
1802 } 1802
1803 return current; 1803 newCompositeNode(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1());
1804 } 1804
1805 // $ANTLR end "ruleFile" 1805 pushFollow(FOLLOW_2);
1806 1806 this_FileReference_1=ruleFileReference();
1807 1807
1808 // $ANTLR start "entryRuleMetamodelSpecification" 1808 state._fsp--;
1809 // InternalApplicationConfiguration.g:629:1: entryRuleMetamodelSpecification returns [EObject current=null] : iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ; 1809
1810 public final EObject entryRuleMetamodelSpecification() throws RecognitionException { 1810
1811 EObject current = null; 1811 current = this_FileReference_1;
1812 1812 afterParserOrEnumRuleCall();
1813 EObject iv_ruleMetamodelSpecification = null; 1813
1814 1814
1815 1815 }
1816 try { 1816 break;
1817 // InternalApplicationConfiguration.g:629:63: (iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ) 1817
1818 // InternalApplicationConfiguration.g:630:2: iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF 1818 }
1819 { 1819
1820 newCompositeNode(grammarAccess.getMetamodelSpecificationRule()); 1820
1821 pushFollow(FOLLOW_1); 1821 }
1822 iv_ruleMetamodelSpecification=ruleMetamodelSpecification(); 1822
1823 1823
1824 state._fsp--; 1824 leaveRule();
1825 1825
1826 current =iv_ruleMetamodelSpecification; 1826 }
1827 match(input,EOF,FOLLOW_2); 1827
1828 1828 catch (RecognitionException re) {
1829 } 1829 recover(input,re);
1830 1830 appendSkippedTokens();
1831 } 1831 }
1832 1832 finally {
1833 catch (RecognitionException re) { 1833 }
1834 recover(input,re); 1834 return current;
1835 appendSkippedTokens(); 1835 }
1836 } 1836 // $ANTLR end "ruleFile"
1837 finally { 1837
1838 } 1838
1839 return current; 1839 // $ANTLR start "entryRuleMetamodelSpecification"
1840 } 1840 // InternalApplicationConfiguration.g:638:1: entryRuleMetamodelSpecification returns [EObject current=null] : iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ;
1841 // $ANTLR end "entryRuleMetamodelSpecification" 1841 public final EObject entryRuleMetamodelSpecification() throws RecognitionException {
1842 1842 EObject current = null;
1843 1843
1844 // $ANTLR start "ruleMetamodelSpecification" 1844 EObject iv_ruleMetamodelSpecification = null;
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
1847 EObject current = null; 1847 try {
1848 1848 // InternalApplicationConfiguration.g:638:63: (iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF )
1849 Token otherlv_0=null; 1849 // InternalApplicationConfiguration.g:639:2: iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF
1850 Token otherlv_2=null; 1850 {
1851 Token otherlv_4=null; 1851 newCompositeNode(grammarAccess.getMetamodelSpecificationRule());
1852 EObject lv_entries_1_0 = null; 1852 pushFollow(FOLLOW_1);
1853 1853 iv_ruleMetamodelSpecification=ruleMetamodelSpecification();
1854 EObject lv_entries_3_0 = null; 1854
1855 1855 state._fsp--;
1856 1856
1857 1857 current =iv_ruleMetamodelSpecification;
1858 enterRule(); 1858 match(input,EOF,FOLLOW_2);
1859 1859
1860 try { 1860 }
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 }
1863 { 1863
1864 // InternalApplicationConfiguration.g:643:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) 1864 catch (RecognitionException re) {
1865 // InternalApplicationConfiguration.g:644:3: otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' 1865 recover(input,re);
1866 { 1866 appendSkippedTokens();
1867 otherlv_0=(Token)match(input,18,FOLLOW_13); 1867 }
1868 1868 finally {
1869 newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); 1869 }
1870 1870 return current;
1871 // InternalApplicationConfiguration.g:648:3: ( (lv_entries_1_0= ruleMetamodelEntry ) ) 1871 }
1872 // InternalApplicationConfiguration.g:649:4: (lv_entries_1_0= ruleMetamodelEntry ) 1872 // $ANTLR end "entryRuleMetamodelSpecification"
1873 { 1873
1874 // InternalApplicationConfiguration.g:649:4: (lv_entries_1_0= ruleMetamodelEntry ) 1874
1875 // InternalApplicationConfiguration.g:650:5: lv_entries_1_0= ruleMetamodelEntry 1875 // $ANTLR start "ruleMetamodelSpecification"
1876 { 1876 // InternalApplicationConfiguration.g:645:1: ruleMetamodelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ;
1877 1877 public final EObject ruleMetamodelSpecification() throws RecognitionException {
1878 newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); 1878 EObject current = null;
1879 1879
1880 pushFollow(FOLLOW_14); 1880 Token otherlv_0=null;
1881 lv_entries_1_0=ruleMetamodelEntry(); 1881 Token otherlv_2=null;
1882 1882 Token otherlv_4=null;
1883 state._fsp--; 1883 EObject lv_entries_1_0 = null;
1884 1884
1885 1885 EObject lv_entries_3_0 = null;
1886 if (current==null) { 1886
1887 current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); 1887
1888 } 1888
1889 add( 1889 enterRule();
1890 current, 1890
1891 "entries", 1891 try {
1892 lv_entries_1_0, 1892 // InternalApplicationConfiguration.g:651:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) )
1893 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); 1893 // InternalApplicationConfiguration.g:652:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' )
1894 afterParserOrEnumRuleCall(); 1894 {
1895 1895 // InternalApplicationConfiguration.g:652:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' )
1896 1896 // InternalApplicationConfiguration.g:653:3: otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}'
1897 } 1897 {
1898 1898 otherlv_0=(Token)match(input,18,FOLLOW_13);
1899 1899
1900 } 1900 newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0());
1901 1901
1902 // InternalApplicationConfiguration.g:667:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* 1902 // InternalApplicationConfiguration.g:657:3: ( (lv_entries_1_0= ruleMetamodelEntry ) )
1903 loop10: 1903 // InternalApplicationConfiguration.g:658:4: (lv_entries_1_0= ruleMetamodelEntry )
1904 do { 1904 {
1905 int alt10=2; 1905 // InternalApplicationConfiguration.g:658:4: (lv_entries_1_0= ruleMetamodelEntry )
1906 int LA10_0 = input.LA(1); 1906 // InternalApplicationConfiguration.g:659:5: lv_entries_1_0= ruleMetamodelEntry
1907 1907 {
1908 if ( (LA10_0==19) ) { 1908
1909 alt10=1; 1909 newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0());
1910 } 1910
1911 1911 pushFollow(FOLLOW_14);
1912 1912 lv_entries_1_0=ruleMetamodelEntry();
1913 switch (alt10) { 1913
1914 case 1 : 1914 state._fsp--;
1915 // InternalApplicationConfiguration.g:668:4: otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) 1915
1916 { 1916
1917 otherlv_2=(Token)match(input,19,FOLLOW_13); 1917 if (current==null) {
1918 1918 current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule());
1919 newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); 1919 }
1920 1920 add(
1921 // InternalApplicationConfiguration.g:672:4: ( (lv_entries_3_0= ruleMetamodelEntry ) ) 1921 current,
1922 // InternalApplicationConfiguration.g:673:5: (lv_entries_3_0= ruleMetamodelEntry ) 1922 "entries",
1923 { 1923 lv_entries_1_0,
1924 // InternalApplicationConfiguration.g:673:5: (lv_entries_3_0= ruleMetamodelEntry ) 1924 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry");
1925 // InternalApplicationConfiguration.g:674:6: lv_entries_3_0= ruleMetamodelEntry 1925 afterParserOrEnumRuleCall();
1926 { 1926
1927 1927
1928 newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); 1928 }
1929 1929
1930 pushFollow(FOLLOW_14); 1930
1931 lv_entries_3_0=ruleMetamodelEntry(); 1931 }
1932 1932
1933 state._fsp--; 1933 // InternalApplicationConfiguration.g:676:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )*
1934 1934 loop10:
1935 1935 do {
1936 if (current==null) { 1936 int alt10=2;
1937 current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); 1937 int LA10_0 = input.LA(1);
1938 } 1938
1939 add( 1939 if ( (LA10_0==19) ) {
1940 current, 1940 alt10=1;
1941 "entries", 1941 }
1942 lv_entries_3_0, 1942
1943 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); 1943
1944 afterParserOrEnumRuleCall(); 1944 switch (alt10) {
1945 1945 case 1 :
1946 1946 // InternalApplicationConfiguration.g:677:4: otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) )
1947 } 1947 {
1948 1948 otherlv_2=(Token)match(input,19,FOLLOW_13);
1949 1949
1950 } 1950 newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0());
1951 1951
1952 1952 // InternalApplicationConfiguration.g:681:4: ( (lv_entries_3_0= ruleMetamodelEntry ) )
1953 } 1953 // InternalApplicationConfiguration.g:682:5: (lv_entries_3_0= ruleMetamodelEntry )
1954 break; 1954 {
1955 1955 // InternalApplicationConfiguration.g:682:5: (lv_entries_3_0= ruleMetamodelEntry )
1956 default : 1956 // InternalApplicationConfiguration.g:683:6: lv_entries_3_0= ruleMetamodelEntry
1957 break loop10; 1957 {
1958 } 1958
1959 } while (true); 1959 newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0());
1960 1960
1961 otherlv_4=(Token)match(input,20,FOLLOW_2); 1961 pushFollow(FOLLOW_14);
1962 1962 lv_entries_3_0=ruleMetamodelEntry();
1963 newLeafNode(otherlv_4, grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); 1963
1964 1964 state._fsp--;
1965 1965
1966 } 1966
1967 1967 if (current==null) {
1968 1968 current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule());
1969 } 1969 }
1970 1970 add(
1971 1971 current,
1972 leaveRule(); 1972 "entries",
1973 1973 lv_entries_3_0,
1974 } 1974 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry");
1975 1975 afterParserOrEnumRuleCall();
1976 catch (RecognitionException re) { 1976
1977 recover(input,re); 1977
1978 appendSkippedTokens(); 1978 }
1979 } 1979
1980 finally { 1980
1981 } 1981 }
1982 return current; 1982
1983 } 1983
1984 // $ANTLR end "ruleMetamodelSpecification" 1984 }
1985 1985 break;
1986 1986
1987 // $ANTLR start "entryRuleMetamodelEntry" 1987 default :
1988 // InternalApplicationConfiguration.g:700:1: entryRuleMetamodelEntry returns [EObject current=null] : iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ; 1988 break loop10;
1989 public final EObject entryRuleMetamodelEntry() throws RecognitionException { 1989 }
1990 EObject current = null; 1990 } while (true);
1991 1991
1992 EObject iv_ruleMetamodelEntry = null; 1992 otherlv_4=(Token)match(input,20,FOLLOW_2);
1993 1993
1994 1994 newLeafNode(otherlv_4, grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3());
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
2000 pushFollow(FOLLOW_1); 2000 }
2001 iv_ruleMetamodelEntry=ruleMetamodelEntry(); 2001
2002 2002
2003 state._fsp--; 2003 leaveRule();
2004 2004
2005 current =iv_ruleMetamodelEntry; 2005 }
2006 match(input,EOF,FOLLOW_2); 2006
2007 2007 catch (RecognitionException re) {
2008 } 2008 recover(input,re);
2009 2009 appendSkippedTokens();
2010 } 2010 }
2011 2011 finally {
2012 catch (RecognitionException re) { 2012 }
2013 recover(input,re); 2013 return current;
2014 appendSkippedTokens(); 2014 }
2015 } 2015 // $ANTLR end "ruleMetamodelSpecification"
2016 finally { 2016
2017 } 2017
2018 return current; 2018 // $ANTLR start "entryRuleMetamodelEntry"
2019 } 2019 // InternalApplicationConfiguration.g:709:1: entryRuleMetamodelEntry returns [EObject current=null] : iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ;
2020 // $ANTLR end "entryRuleMetamodelEntry" 2020 public final EObject entryRuleMetamodelEntry() throws RecognitionException {
2021 2021 EObject current = null;
2022 2022
2023 // $ANTLR start "ruleMetamodelEntry" 2023 EObject iv_ruleMetamodelEntry = null;
2024 // InternalApplicationConfiguration.g:707:1: ruleMetamodelEntry returns [EObject current=null] : (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ; 2024
2025 public final EObject ruleMetamodelEntry() throws RecognitionException { 2025
2026 EObject current = null; 2026 try {
2027 2027 // InternalApplicationConfiguration.g:709:55: (iv_ruleMetamodelEntry= ruleMetamodelEntry EOF )
2028 EObject this_MetamodelElement_0 = null; 2028 // InternalApplicationConfiguration.g:710:2: iv_ruleMetamodelEntry= ruleMetamodelEntry EOF
2029 2029 {
2030 EObject this_AllPackageEntry_1 = null; 2030 newCompositeNode(grammarAccess.getMetamodelEntryRule());
2031 2031 pushFollow(FOLLOW_1);
2032 2032 iv_ruleMetamodelEntry=ruleMetamodelEntry();
2033 2033
2034 enterRule(); 2034 state._fsp--;
2035 2035
2036 try { 2036 current =iv_ruleMetamodelEntry;
2037 // InternalApplicationConfiguration.g:713:2: ( (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ) 2037 match(input,EOF,FOLLOW_2);
2038 // InternalApplicationConfiguration.g:714:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) 2038
2039 { 2039 }
2040 // InternalApplicationConfiguration.g:714:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) 2040
2041 int alt11=2; 2041 }
2042 int LA11_0 = input.LA(1); 2042
2043 2043 catch (RecognitionException re) {
2044 if ( (LA11_0==RULE_ID) ) { 2044 recover(input,re);
2045 alt11=1; 2045 appendSkippedTokens();
2046 } 2046 }
2047 else if ( (LA11_0==21) ) { 2047 finally {
2048 alt11=2; 2048 }
2049 } 2049 return current;
2050 else { 2050 }
2051 NoViableAltException nvae = 2051 // $ANTLR end "entryRuleMetamodelEntry"
2052 new NoViableAltException("", 11, 0, input); 2052
2053 2053
2054 throw nvae; 2054 // $ANTLR start "ruleMetamodelEntry"
2055 } 2055 // InternalApplicationConfiguration.g:716:1: ruleMetamodelEntry returns [EObject current=null] : (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ;
2056 switch (alt11) { 2056 public final EObject ruleMetamodelEntry() throws RecognitionException {
2057 case 1 : 2057 EObject current = null;
2058 // InternalApplicationConfiguration.g:715:3: this_MetamodelElement_0= ruleMetamodelElement 2058
2059 { 2059 EObject this_MetamodelElement_0 = null;
2060 2060
2061 newCompositeNode(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); 2061 EObject this_AllPackageEntry_1 = null;
2062 2062
2063 pushFollow(FOLLOW_2); 2063
2064 this_MetamodelElement_0=ruleMetamodelElement(); 2064
2065 2065 enterRule();
2066 state._fsp--; 2066
2067 2067 try {
2068 2068 // InternalApplicationConfiguration.g:722:2: ( (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) )
2069 current = this_MetamodelElement_0; 2069 // InternalApplicationConfiguration.g:723:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry )
2070 afterParserOrEnumRuleCall(); 2070 {
2071 2071 // InternalApplicationConfiguration.g:723:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry )
2072 2072 int alt11=2;
2073 } 2073 int LA11_0 = input.LA(1);
2074 break; 2074
2075 case 2 : 2075 if ( (LA11_0==RULE_ID) ) {
2076 // InternalApplicationConfiguration.g:724:3: this_AllPackageEntry_1= ruleAllPackageEntry 2076 alt11=1;
2077 { 2077 }
2078 2078 else if ( (LA11_0==21) ) {
2079 newCompositeNode(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); 2079 alt11=2;
2080 2080 }
2081 pushFollow(FOLLOW_2); 2081 else {
2082 this_AllPackageEntry_1=ruleAllPackageEntry(); 2082 NoViableAltException nvae =
2083 2083 new NoViableAltException("", 11, 0, input);
2084 state._fsp--; 2084
2085 2085 throw nvae;
2086 2086 }
2087 current = this_AllPackageEntry_1; 2087 switch (alt11) {
2088 afterParserOrEnumRuleCall(); 2088 case 1 :
2089 2089 // InternalApplicationConfiguration.g:724:3: this_MetamodelElement_0= ruleMetamodelElement
2090 2090 {
2091 } 2091
2092 break; 2092 newCompositeNode(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0());
2093 2093
2094 } 2094 pushFollow(FOLLOW_2);
2095 2095 this_MetamodelElement_0=ruleMetamodelElement();
2096 2096
2097 } 2097 state._fsp--;
2098 2098
2099 2099
2100 leaveRule(); 2100 current = this_MetamodelElement_0;
2101 2101 afterParserOrEnumRuleCall();
2102 } 2102
2103 2103
2104 catch (RecognitionException re) { 2104 }
2105 recover(input,re); 2105 break;
2106 appendSkippedTokens(); 2106 case 2 :
2107 } 2107 // InternalApplicationConfiguration.g:733:3: this_AllPackageEntry_1= ruleAllPackageEntry
2108 finally { 2108 {
2109 } 2109
2110 return current; 2110 newCompositeNode(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1());
2111 } 2111
2112 // $ANTLR end "ruleMetamodelEntry" 2112 pushFollow(FOLLOW_2);
2113 2113 this_AllPackageEntry_1=ruleAllPackageEntry();
2114 2114
2115 // $ANTLR start "entryRuleAllPackageEntry" 2115 state._fsp--;
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 current = this_AllPackageEntry_1;
2119 2119 afterParserOrEnumRuleCall();
2120 EObject iv_ruleAllPackageEntry = null; 2120
2121 2121
2122 2122 }
2123 try { 2123 break;
2124 // InternalApplicationConfiguration.g:736:56: (iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ) 2124
2125 // InternalApplicationConfiguration.g:737:2: iv_ruleAllPackageEntry= ruleAllPackageEntry EOF 2125 }
2126 { 2126
2127 newCompositeNode(grammarAccess.getAllPackageEntryRule()); 2127
2128 pushFollow(FOLLOW_1); 2128 }
2129 iv_ruleAllPackageEntry=ruleAllPackageEntry(); 2129
2130 2130
2131 state._fsp--; 2131 leaveRule();
2132 2132
2133 current =iv_ruleAllPackageEntry; 2133 }
2134 match(input,EOF,FOLLOW_2); 2134
2135 2135 catch (RecognitionException re) {
2136 } 2136 recover(input,re);
2137 2137 appendSkippedTokens();
2138 } 2138 }
2139 2139 finally {
2140 catch (RecognitionException re) { 2140 }
2141 recover(input,re); 2141 return current;
2142 appendSkippedTokens(); 2142 }
2143 } 2143 // $ANTLR end "ruleMetamodelEntry"
2144 finally { 2144
2145 } 2145
2146 return current; 2146 // $ANTLR start "entryRuleAllPackageEntry"
2147 } 2147 // InternalApplicationConfiguration.g:745:1: entryRuleAllPackageEntry returns [EObject current=null] : iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ;
2148 // $ANTLR end "entryRuleAllPackageEntry" 2148 public final EObject entryRuleAllPackageEntry() throws RecognitionException {
2149 2149 EObject current = null;
2150 2150
2151 // $ANTLR start "ruleAllPackageEntry" 2151 EObject iv_ruleAllPackageEntry = null;
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
2154 EObject current = null; 2154 try {
2155 2155 // InternalApplicationConfiguration.g:745:56: (iv_ruleAllPackageEntry= ruleAllPackageEntry EOF )
2156 Token otherlv_0=null; 2156 // InternalApplicationConfiguration.g:746:2: iv_ruleAllPackageEntry= ruleAllPackageEntry EOF
2157 Token otherlv_2=null; 2157 {
2158 Token otherlv_3=null; 2158 newCompositeNode(grammarAccess.getAllPackageEntryRule());
2159 Token otherlv_5=null; 2159 pushFollow(FOLLOW_1);
2160 Token otherlv_7=null; 2160 iv_ruleAllPackageEntry=ruleAllPackageEntry();
2161 EObject lv_exclusion_4_0 = null; 2161
2162 2162 state._fsp--;
2163 EObject lv_exclusion_6_0 = null; 2163
2164 2164 current =iv_ruleAllPackageEntry;
2165 2165 match(input,EOF,FOLLOW_2);
2166 2166
2167 enterRule(); 2167 }
2168 2168
2169 try { 2169 }
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 catch (RecognitionException re) {
2172 { 2172 recover(input,re);
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 appendSkippedTokens();
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 finally {
2176 otherlv_0=(Token)match(input,21,FOLLOW_6); 2176 }
2177 2177 return current;
2178 newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); 2178 }
2179 2179 // $ANTLR end "entryRuleAllPackageEntry"
2180 // InternalApplicationConfiguration.g:755:3: ( ( ruleQualifiedName ) ) 2180
2181 // InternalApplicationConfiguration.g:756:4: ( ruleQualifiedName ) 2181
2182 { 2182 // $ANTLR start "ruleAllPackageEntry"
2183 // InternalApplicationConfiguration.g:756:4: ( ruleQualifiedName ) 2183 // InternalApplicationConfiguration.g:752: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= '}' )? ) ;
2184 // InternalApplicationConfiguration.g:757:5: ruleQualifiedName 2184 public final EObject ruleAllPackageEntry() throws RecognitionException {
2185 { 2185 EObject current = null;
2186 2186
2187 if (current==null) { 2187 Token otherlv_0=null;
2188 current = createModelElement(grammarAccess.getAllPackageEntryRule()); 2188 Token otherlv_2=null;
2189 } 2189 Token otherlv_3=null;
2190 2190 Token otherlv_5=null;
2191 2191 Token otherlv_7=null;
2192 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); 2192 EObject lv_exclusion_4_0 = null;
2193 2193
2194 pushFollow(FOLLOW_15); 2194 EObject lv_exclusion_6_0 = null;
2195 ruleQualifiedName(); 2195
2196 2196
2197 state._fsp--; 2197
2198 2198 enterRule();
2199 2199
2200 afterParserOrEnumRuleCall(); 2200 try {
2201 2201 // InternalApplicationConfiguration.g:758:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) )
2202 2202 // InternalApplicationConfiguration.g:759:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? )
2203 } 2203 {
2204 2204 // InternalApplicationConfiguration.g:759:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? )
2205 2205 // InternalApplicationConfiguration.g:760:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )?
2206 } 2206 {
2207 2207 otherlv_0=(Token)match(input,21,FOLLOW_6);
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
2209 int alt13=2; 2209 newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0());
2210 int LA13_0 = input.LA(1); 2210
2211 2211 // InternalApplicationConfiguration.g:764:3: ( ( ruleQualifiedName ) )
2212 if ( (LA13_0==22) ) { 2212 // InternalApplicationConfiguration.g:765:4: ( ruleQualifiedName )
2213 alt13=1; 2213 {
2214 } 2214 // InternalApplicationConfiguration.g:765:4: ( ruleQualifiedName )
2215 switch (alt13) { 2215 // InternalApplicationConfiguration.g:766:5: ruleQualifiedName
2216 case 1 : 2216 {
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
2218 { 2218 if (current==null) {
2219 otherlv_2=(Token)match(input,22,FOLLOW_16); 2219 current = createModelElement(grammarAccess.getAllPackageEntryRule());
2220 2220 }
2221 newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); 2221
2222 2222
2223 otherlv_3=(Token)match(input,18,FOLLOW_6); 2223 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0());
2224 2224
2225 newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); 2225 pushFollow(FOLLOW_15);
2226 2226 ruleQualifiedName();
2227 // InternalApplicationConfiguration.g:780:4: ( (lv_exclusion_4_0= ruleMetamodelElement ) ) 2227
2228 // InternalApplicationConfiguration.g:781:5: (lv_exclusion_4_0= ruleMetamodelElement ) 2228 state._fsp--;
2229 { 2229
2230 // InternalApplicationConfiguration.g:781:5: (lv_exclusion_4_0= ruleMetamodelElement ) 2230
2231 // InternalApplicationConfiguration.g:782:6: lv_exclusion_4_0= ruleMetamodelElement 2231 afterParserOrEnumRuleCall();
2232 { 2232
2233 2233
2234 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); 2234 }
2235 2235
2236 pushFollow(FOLLOW_14); 2236
2237 lv_exclusion_4_0=ruleMetamodelElement(); 2237 }
2238 2238
2239 state._fsp--; 2239 // InternalApplicationConfiguration.g:780:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )?
2240 2240 int alt13=2;
2241 2241 int LA13_0 = input.LA(1);
2242 if (current==null) { 2242
2243 current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); 2243 if ( (LA13_0==22) ) {
2244 } 2244 alt13=1;
2245 add( 2245 }
2246 current, 2246 switch (alt13) {
2247 "exclusion", 2247 case 1 :
2248 lv_exclusion_4_0, 2248 // InternalApplicationConfiguration.g:781:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}'
2249 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); 2249 {
2250 afterParserOrEnumRuleCall(); 2250 otherlv_2=(Token)match(input,22,FOLLOW_16);
2251 2251
2252 2252 newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0());
2253 } 2253
2254 2254 otherlv_3=(Token)match(input,18,FOLLOW_6);
2255 2255
2256 } 2256 newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1());
2257 2257
2258 // InternalApplicationConfiguration.g:799:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* 2258 // InternalApplicationConfiguration.g:789:4: ( (lv_exclusion_4_0= ruleMetamodelElement ) )
2259 loop12: 2259 // InternalApplicationConfiguration.g:790:5: (lv_exclusion_4_0= ruleMetamodelElement )
2260 do { 2260 {
2261 int alt12=2; 2261 // InternalApplicationConfiguration.g:790:5: (lv_exclusion_4_0= ruleMetamodelElement )
2262 int LA12_0 = input.LA(1); 2262 // InternalApplicationConfiguration.g:791:6: lv_exclusion_4_0= ruleMetamodelElement
2263 2263 {
2264 if ( (LA12_0==19) ) { 2264
2265 alt12=1; 2265 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0());
2266 } 2266
2267 2267 pushFollow(FOLLOW_14);
2268 2268 lv_exclusion_4_0=ruleMetamodelElement();
2269 switch (alt12) { 2269
2270 case 1 : 2270 state._fsp--;
2271 // InternalApplicationConfiguration.g:800:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) 2271
2272 { 2272
2273 otherlv_5=(Token)match(input,19,FOLLOW_6); 2273 if (current==null) {
2274 2274 current = createModelElementForParent(grammarAccess.getAllPackageEntryRule());
2275 newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); 2275 }
2276 2276 add(
2277 // InternalApplicationConfiguration.g:804:5: ( (lv_exclusion_6_0= ruleMetamodelElement ) ) 2277 current,
2278 // InternalApplicationConfiguration.g:805:6: (lv_exclusion_6_0= ruleMetamodelElement ) 2278 "exclusion",
2279 { 2279 lv_exclusion_4_0,
2280 // InternalApplicationConfiguration.g:805:6: (lv_exclusion_6_0= ruleMetamodelElement ) 2280 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement");
2281 // InternalApplicationConfiguration.g:806:7: lv_exclusion_6_0= ruleMetamodelElement 2281 afterParserOrEnumRuleCall();
2282 { 2282
2283 2283
2284 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); 2284 }
2285 2285
2286 pushFollow(FOLLOW_14); 2286
2287 lv_exclusion_6_0=ruleMetamodelElement(); 2287 }
2288 2288
2289 state._fsp--; 2289 // InternalApplicationConfiguration.g:808:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )*
2290 2290 loop12:
2291 2291 do {
2292 if (current==null) { 2292 int alt12=2;
2293 current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); 2293 int LA12_0 = input.LA(1);
2294 } 2294
2295 add( 2295 if ( (LA12_0==19) ) {
2296 current, 2296 alt12=1;
2297 "exclusion", 2297 }
2298 lv_exclusion_6_0, 2298
2299 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); 2299
2300 afterParserOrEnumRuleCall(); 2300 switch (alt12) {
2301 2301 case 1 :
2302 2302 // InternalApplicationConfiguration.g:809:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) )
2303 } 2303 {
2304 2304 otherlv_5=(Token)match(input,19,FOLLOW_6);
2305 2305
2306 } 2306 newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0());
2307 2307
2308 2308 // InternalApplicationConfiguration.g:813:5: ( (lv_exclusion_6_0= ruleMetamodelElement ) )
2309 } 2309 // InternalApplicationConfiguration.g:814:6: (lv_exclusion_6_0= ruleMetamodelElement )
2310 break; 2310 {
2311 2311 // InternalApplicationConfiguration.g:814:6: (lv_exclusion_6_0= ruleMetamodelElement )
2312 default : 2312 // InternalApplicationConfiguration.g:815:7: lv_exclusion_6_0= ruleMetamodelElement
2313 break loop12; 2313 {
2314 } 2314
2315 } while (true); 2315 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0());
2316 2316
2317 otherlv_7=(Token)match(input,20,FOLLOW_2); 2317 pushFollow(FOLLOW_14);
2318 2318 lv_exclusion_6_0=ruleMetamodelElement();
2319 newLeafNode(otherlv_7, grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); 2319
2320 2320 state._fsp--;
2321 2321
2322 } 2322
2323 break; 2323 if (current==null) {
2324 2324 current = createModelElementForParent(grammarAccess.getAllPackageEntryRule());
2325 } 2325 }
2326 2326 add(
2327 2327 current,
2328 } 2328 "exclusion",
2329 2329 lv_exclusion_6_0,
2330 2330 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement");
2331 } 2331 afterParserOrEnumRuleCall();
2332 2332
2333 2333
2334 leaveRule(); 2334 }
2335 2335
2336 } 2336
2337 2337 }
2338 catch (RecognitionException re) { 2338
2339 recover(input,re); 2339
2340 appendSkippedTokens(); 2340 }
2341 } 2341 break;
2342 finally { 2342
2343 } 2343 default :
2344 return current; 2344 break loop12;
2345 } 2345 }
2346 // $ANTLR end "ruleAllPackageEntry" 2346 } while (true);
2347 2347
2348 2348 otherlv_7=(Token)match(input,20,FOLLOW_2);
2349 // $ANTLR start "entryRuleMetamodelElement" 2349
2350 // InternalApplicationConfiguration.g:833:1: entryRuleMetamodelElement returns [EObject current=null] : iv_ruleMetamodelElement= ruleMetamodelElement EOF ; 2350 newLeafNode(otherlv_7, grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4());
2351 public final EObject entryRuleMetamodelElement() throws RecognitionException { 2351
2352 EObject current = null; 2352
2353 2353 }
2354 EObject iv_ruleMetamodelElement = null; 2354 break;
2355 2355
2356 2356 }
2357 try { 2357
2358 // InternalApplicationConfiguration.g:833:57: (iv_ruleMetamodelElement= ruleMetamodelElement EOF ) 2358
2359 // InternalApplicationConfiguration.g:834:2: iv_ruleMetamodelElement= ruleMetamodelElement EOF 2359 }
2360 { 2360
2361 newCompositeNode(grammarAccess.getMetamodelElementRule()); 2361
2362 pushFollow(FOLLOW_1); 2362 }
2363 iv_ruleMetamodelElement=ruleMetamodelElement(); 2363
2364 2364
2365 state._fsp--; 2365 leaveRule();
2366 2366
2367 current =iv_ruleMetamodelElement; 2367 }
2368 match(input,EOF,FOLLOW_2); 2368
2369 2369 catch (RecognitionException re) {
2370 } 2370 recover(input,re);
2371 2371 appendSkippedTokens();
2372 } 2372 }
2373 2373 finally {
2374 catch (RecognitionException re) { 2374 }
2375 recover(input,re); 2375 return current;
2376 appendSkippedTokens(); 2376 }
2377 } 2377 // $ANTLR end "ruleAllPackageEntry"
2378 finally { 2378
2379 } 2379
2380 return current; 2380 // $ANTLR start "entryRuleMetamodelElement"
2381 } 2381 // InternalApplicationConfiguration.g:842:1: entryRuleMetamodelElement returns [EObject current=null] : iv_ruleMetamodelElement= ruleMetamodelElement EOF ;
2382 // $ANTLR end "entryRuleMetamodelElement" 2382 public final EObject entryRuleMetamodelElement() throws RecognitionException {
2383 2383 EObject current = null;
2384 2384
2385 // $ANTLR start "ruleMetamodelElement" 2385 EObject iv_ruleMetamodelElement = null;
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
2388 EObject current = null; 2388 try {
2389 2389 // InternalApplicationConfiguration.g:842:57: (iv_ruleMetamodelElement= ruleMetamodelElement EOF )
2390 Token otherlv_1=null; 2390 // InternalApplicationConfiguration.g:843:2: iv_ruleMetamodelElement= ruleMetamodelElement EOF
2391 Token otherlv_2=null; 2391 {
2392 Token otherlv_3=null; 2392 newCompositeNode(grammarAccess.getMetamodelElementRule());
2393 Token otherlv_4=null; 2393 pushFollow(FOLLOW_1);
2394 2394 iv_ruleMetamodelElement=ruleMetamodelElement();
2395 2395
2396 enterRule(); 2396 state._fsp--;
2397 2397
2398 try { 2398 current =iv_ruleMetamodelElement;
2399 // InternalApplicationConfiguration.g:846:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ) 2399 match(input,EOF,FOLLOW_2);
2400 // InternalApplicationConfiguration.g:847:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) 2400
2401 { 2401 }
2402 // InternalApplicationConfiguration.g:847:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) 2402
2403 // InternalApplicationConfiguration.g:848:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? 2403 }
2404 { 2404
2405 // InternalApplicationConfiguration.g:848:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? 2405 catch (RecognitionException re) {
2406 int alt14=2; 2406 recover(input,re);
2407 int LA14_0 = input.LA(1); 2407 appendSkippedTokens();
2408 2408 }
2409 if ( (LA14_0==RULE_ID) ) { 2409 finally {
2410 int LA14_1 = input.LA(2); 2410 }
2411 2411 return current;
2412 if ( (LA14_1==11) ) { 2412 }
2413 int LA14_2 = input.LA(3); 2413 // $ANTLR end "entryRuleMetamodelElement"
2414 2414
2415 if ( (LA14_2==RULE_ID) ) { 2415
2416 int LA14_5 = input.LA(4); 2416 // $ANTLR start "ruleMetamodelElement"
2417 2417 // InternalApplicationConfiguration.g:849:1: ruleMetamodelElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ;
2418 if ( (LA14_5==11||LA14_5==23) ) { 2418 public final EObject ruleMetamodelElement() throws RecognitionException {
2419 alt14=1; 2419 EObject current = null;
2420 } 2420
2421 } 2421 Token otherlv_1=null;
2422 } 2422 Token otherlv_2=null;
2423 else if ( (LA14_1==23) ) { 2423 Token otherlv_3=null;
2424 alt14=1; 2424 Token otherlv_4=null;
2425 } 2425
2426 } 2426
2427 switch (alt14) { 2427 enterRule();
2428 case 1 : 2428
2429 // InternalApplicationConfiguration.g:849:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' 2429 try {
2430 { 2430 // InternalApplicationConfiguration.g:855:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) )
2431 // InternalApplicationConfiguration.g:849:4: ( ( ruleQualifiedName ) ) 2431 // InternalApplicationConfiguration.g:856:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? )
2432 // InternalApplicationConfiguration.g:850:5: ( ruleQualifiedName ) 2432 {
2433 { 2433 // InternalApplicationConfiguration.g:856:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? )
2434 // InternalApplicationConfiguration.g:850:5: ( ruleQualifiedName ) 2434 // InternalApplicationConfiguration.g:857:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )?
2435 // InternalApplicationConfiguration.g:851:6: ruleQualifiedName 2435 {
2436 { 2436 // InternalApplicationConfiguration.g:857:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )?
2437 2437 int alt14=2;
2438 if (current==null) { 2438 int LA14_0 = input.LA(1);
2439 current = createModelElement(grammarAccess.getMetamodelElementRule()); 2439
2440 } 2440 if ( (LA14_0==RULE_ID) ) {
2441 2441 int LA14_1 = input.LA(2);
2442 2442
2443 newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); 2443 if ( (LA14_1==11) ) {
2444 2444 int LA14_2 = input.LA(3);
2445 pushFollow(FOLLOW_17); 2445
2446 ruleQualifiedName(); 2446 if ( (LA14_2==RULE_ID) ) {
2447 2447 int LA14_5 = input.LA(4);
2448 state._fsp--; 2448
2449 2449 if ( (LA14_5==11||LA14_5==23) ) {
2450 2450 alt14=1;
2451 afterParserOrEnumRuleCall(); 2451 }
2452 2452 }
2453 2453 }
2454 } 2454 else if ( (LA14_1==23) ) {
2455 2455 alt14=1;
2456 2456 }
2457 } 2457 }
2458 2458 switch (alt14) {
2459 otherlv_1=(Token)match(input,23,FOLLOW_6); 2459 case 1 :
2460 2460 // InternalApplicationConfiguration.g:858:4: ( ( ruleQualifiedName ) ) otherlv_1= '::'
2461 newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); 2461 {
2462 2462 // InternalApplicationConfiguration.g:858:4: ( ( ruleQualifiedName ) )
2463 2463 // InternalApplicationConfiguration.g:859:5: ( ruleQualifiedName )
2464 } 2464 {
2465 break; 2465 // InternalApplicationConfiguration.g:859:5: ( ruleQualifiedName )
2466 2466 // InternalApplicationConfiguration.g:860:6: ruleQualifiedName
2467 } 2467 {
2468 2468
2469 // InternalApplicationConfiguration.g:870:3: ( (otherlv_2= RULE_ID ) ) 2469 if (current==null) {
2470 // InternalApplicationConfiguration.g:871:4: (otherlv_2= RULE_ID ) 2470 current = createModelElement(grammarAccess.getMetamodelElementRule());
2471 { 2471 }
2472 // InternalApplicationConfiguration.g:871:4: (otherlv_2= RULE_ID ) 2472
2473 // InternalApplicationConfiguration.g:872:5: otherlv_2= RULE_ID 2473
2474 { 2474 newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0());
2475 2475
2476 if (current==null) { 2476 pushFollow(FOLLOW_17);
2477 current = createModelElement(grammarAccess.getMetamodelElementRule()); 2477 ruleQualifiedName();
2478 } 2478
2479 2479 state._fsp--;
2480 otherlv_2=(Token)match(input,RULE_ID,FOLLOW_5); 2480
2481 2481
2482 newLeafNode(otherlv_2, grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); 2482 afterParserOrEnumRuleCall();
2483 2483
2484 2484
2485 } 2485 }
2486 2486
2487 2487
2488 } 2488 }
2489 2489
2490 // InternalApplicationConfiguration.g:883:3: (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? 2490 otherlv_1=(Token)match(input,23,FOLLOW_6);
2491 int alt15=2; 2491
2492 int LA15_0 = input.LA(1); 2492 newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1());
2493 2493
2494 if ( (LA15_0==11) ) { 2494
2495 alt15=1; 2495 }
2496 } 2496 break;
2497 switch (alt15) { 2497
2498 case 1 : 2498 }
2499 // InternalApplicationConfiguration.g:884:4: otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) 2499
2500 { 2500 // InternalApplicationConfiguration.g:879:3: ( (otherlv_2= RULE_ID ) )
2501 otherlv_3=(Token)match(input,11,FOLLOW_6); 2501 // InternalApplicationConfiguration.g:880:4: (otherlv_2= RULE_ID )
2502 2502 {
2503 newLeafNode(otherlv_3, grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); 2503 // InternalApplicationConfiguration.g:880:4: (otherlv_2= RULE_ID )
2504 2504 // InternalApplicationConfiguration.g:881:5: otherlv_2= RULE_ID
2505 // InternalApplicationConfiguration.g:888:4: ( (otherlv_4= RULE_ID ) ) 2505 {
2506 // InternalApplicationConfiguration.g:889:5: (otherlv_4= RULE_ID ) 2506
2507 { 2507 if (current==null) {
2508 // InternalApplicationConfiguration.g:889:5: (otherlv_4= RULE_ID ) 2508 current = createModelElement(grammarAccess.getMetamodelElementRule());
2509 // InternalApplicationConfiguration.g:890:6: otherlv_4= RULE_ID 2509 }
2510 { 2510
2511 2511 otherlv_2=(Token)match(input,RULE_ID,FOLLOW_5);
2512 if (current==null) { 2512
2513 current = createModelElement(grammarAccess.getMetamodelElementRule()); 2513 newLeafNode(otherlv_2, grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0());
2514 } 2514
2515 2515
2516 otherlv_4=(Token)match(input,RULE_ID,FOLLOW_2); 2516 }
2517 2517
2518 newLeafNode(otherlv_4, grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); 2518
2519 2519 }
2520 2520
2521 } 2521 // InternalApplicationConfiguration.g:892:3: (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )?
2522 2522 int alt15=2;
2523 2523 int LA15_0 = input.LA(1);
2524 } 2524
2525 2525 if ( (LA15_0==11) ) {
2526 2526 alt15=1;
2527 } 2527 }
2528 break; 2528 switch (alt15) {
2529 2529 case 1 :
2530 } 2530 // InternalApplicationConfiguration.g:893:4: otherlv_3= '.' ( (otherlv_4= RULE_ID ) )
2531 2531 {
2532 2532 otherlv_3=(Token)match(input,11,FOLLOW_6);
2533 } 2533
2534 2534 newLeafNode(otherlv_3, grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0());
2535 2535
2536 } 2536 // InternalApplicationConfiguration.g:897:4: ( (otherlv_4= RULE_ID ) )
2537 2537 // InternalApplicationConfiguration.g:898:5: (otherlv_4= RULE_ID )
2538 2538 {
2539 leaveRule(); 2539 // InternalApplicationConfiguration.g:898:5: (otherlv_4= RULE_ID )
2540 2540 // InternalApplicationConfiguration.g:899:6: otherlv_4= RULE_ID
2541 } 2541 {
2542 2542
2543 catch (RecognitionException re) { 2543 if (current==null) {
2544 recover(input,re); 2544 current = createModelElement(grammarAccess.getMetamodelElementRule());
2545 appendSkippedTokens(); 2545 }
2546 } 2546
2547 finally { 2547 otherlv_4=(Token)match(input,RULE_ID,FOLLOW_2);
2548 } 2548
2549 return current; 2549 newLeafNode(otherlv_4, grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0());
2550 } 2550
2551 // $ANTLR end "ruleMetamodelElement" 2551
2552 2552 }
2553 2553
2554 // $ANTLR start "entryRuleMetamodelDeclaration" 2554
2555 // InternalApplicationConfiguration.g:906:1: entryRuleMetamodelDeclaration returns [EObject current=null] : iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ; 2555 }
2556 public final EObject entryRuleMetamodelDeclaration() throws RecognitionException { 2556
2557 EObject current = null; 2557
2558 2558 }
2559 EObject iv_ruleMetamodelDeclaration = null; 2559 break;
2560 2560
2561 2561 }
2562 try { 2562
2563 // InternalApplicationConfiguration.g:906:61: (iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ) 2563
2564 // InternalApplicationConfiguration.g:907:2: iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF 2564 }
2565 { 2565
2566 newCompositeNode(grammarAccess.getMetamodelDeclarationRule()); 2566
2567 pushFollow(FOLLOW_1); 2567 }
2568 iv_ruleMetamodelDeclaration=ruleMetamodelDeclaration(); 2568
2569 2569
2570 state._fsp--; 2570 leaveRule();
2571 2571
2572 current =iv_ruleMetamodelDeclaration; 2572 }
2573 match(input,EOF,FOLLOW_2); 2573
2574 2574 catch (RecognitionException re) {
2575 } 2575 recover(input,re);
2576 2576 appendSkippedTokens();
2577 } 2577 }
2578 2578 finally {
2579 catch (RecognitionException re) { 2579 }
2580 recover(input,re); 2580 return current;
2581 appendSkippedTokens(); 2581 }
2582 } 2582 // $ANTLR end "ruleMetamodelElement"
2583 finally { 2583
2584 } 2584
2585 return current; 2585 // $ANTLR start "entryRuleMetamodelDeclaration"
2586 } 2586 // InternalApplicationConfiguration.g:915:1: entryRuleMetamodelDeclaration returns [EObject current=null] : iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ;
2587 // $ANTLR end "entryRuleMetamodelDeclaration" 2587 public final EObject entryRuleMetamodelDeclaration() throws RecognitionException {
2588 2588 EObject current = null;
2589 2589
2590 // $ANTLR start "ruleMetamodelDeclaration" 2590 EObject iv_ruleMetamodelDeclaration = null;
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 try {
2594 2594 // InternalApplicationConfiguration.g:915:61: (iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF )
2595 Token otherlv_0=null; 2595 // InternalApplicationConfiguration.g:916:2: iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF
2596 Token lv_name_1_0=null; 2596 {
2597 EObject lv_specification_2_0 = null; 2597 newCompositeNode(grammarAccess.getMetamodelDeclarationRule());
2598 2598 pushFollow(FOLLOW_1);
2599 2599 iv_ruleMetamodelDeclaration=ruleMetamodelDeclaration();
2600 2600
2601 enterRule(); 2601 state._fsp--;
2602 2602
2603 try { 2603 current =iv_ruleMetamodelDeclaration;
2604 // InternalApplicationConfiguration.g:919:2: ( (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ) 2604 match(input,EOF,FOLLOW_2);
2605 // InternalApplicationConfiguration.g:920:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) 2605
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
2610 otherlv_0=(Token)match(input,24,FOLLOW_6); 2610 catch (RecognitionException re) {
2611 2611 recover(input,re);
2612 newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); 2612 appendSkippedTokens();
2613 2613 }
2614 // InternalApplicationConfiguration.g:925:3: ( (lv_name_1_0= RULE_ID ) ) 2614 finally {
2615 // InternalApplicationConfiguration.g:926:4: (lv_name_1_0= RULE_ID ) 2615 }
2616 { 2616 return current;
2617 // InternalApplicationConfiguration.g:926:4: (lv_name_1_0= RULE_ID ) 2617 }
2618 // InternalApplicationConfiguration.g:927:5: lv_name_1_0= RULE_ID 2618 // $ANTLR end "entryRuleMetamodelDeclaration"
2619 { 2619
2620 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); 2620
2621 2621 // $ANTLR start "ruleMetamodelDeclaration"
2622 newLeafNode(lv_name_1_0, grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 2622 // InternalApplicationConfiguration.g:922:1: ruleMetamodelDeclaration returns [EObject current=null] : (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ;
2623 2623 public final EObject ruleMetamodelDeclaration() throws RecognitionException {
2624 2624 EObject current = null;
2625 if (current==null) { 2625
2626 current = createModelElement(grammarAccess.getMetamodelDeclarationRule()); 2626 Token otherlv_0=null;
2627 } 2627 Token lv_name_1_0=null;
2628 setWithLastConsumed( 2628 EObject lv_specification_2_0 = null;
2629 current, 2629
2630 "name", 2630
2631 lv_name_1_0, 2631
2632 "org.eclipse.xtext.common.Terminals.ID"); 2632 enterRule();
2633 2633
2634 2634 try {
2635 } 2635 // InternalApplicationConfiguration.g:928:2: ( (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) )
2636 2636 // InternalApplicationConfiguration.g:929:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) )
2637 2637 {
2638 } 2638 // InternalApplicationConfiguration.g:929:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) )
2639 2639 // InternalApplicationConfiguration.g:930:3: otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) )
2640 // InternalApplicationConfiguration.g:943:3: ( (lv_specification_2_0= ruleMetamodelSpecification ) ) 2640 {
2641 // InternalApplicationConfiguration.g:944:4: (lv_specification_2_0= ruleMetamodelSpecification ) 2641 otherlv_0=(Token)match(input,24,FOLLOW_6);
2642 { 2642
2643 // InternalApplicationConfiguration.g:944:4: (lv_specification_2_0= ruleMetamodelSpecification ) 2643 newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0());
2644 // InternalApplicationConfiguration.g:945:5: lv_specification_2_0= ruleMetamodelSpecification 2644
2645 { 2645 // InternalApplicationConfiguration.g:934:3: ( (lv_name_1_0= RULE_ID ) )
2646 2646 // InternalApplicationConfiguration.g:935:4: (lv_name_1_0= RULE_ID )
2647 newCompositeNode(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); 2647 {
2648 2648 // InternalApplicationConfiguration.g:935:4: (lv_name_1_0= RULE_ID )
2649 pushFollow(FOLLOW_2); 2649 // InternalApplicationConfiguration.g:936:5: lv_name_1_0= RULE_ID
2650 lv_specification_2_0=ruleMetamodelSpecification(); 2650 {
2651 2651 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16);
2652 state._fsp--; 2652
2653 2653 newLeafNode(lv_name_1_0, grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0());
2654 2654
2655 if (current==null) { 2655
2656 current = createModelElementForParent(grammarAccess.getMetamodelDeclarationRule()); 2656 if (current==null) {
2657 } 2657 current = createModelElement(grammarAccess.getMetamodelDeclarationRule());
2658 set( 2658 }
2659 current, 2659 setWithLastConsumed(
2660 "specification", 2660 current,
2661 lv_specification_2_0, 2661 "name",
2662 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification"); 2662 lv_name_1_0,
2663 afterParserOrEnumRuleCall(); 2663 "org.eclipse.xtext.common.Terminals.ID");
2664 2664
2665 2665
2666 } 2666 }
2667 2667
2668 2668
2669 } 2669 }
2670 2670
2671 2671 // InternalApplicationConfiguration.g:952:3: ( (lv_specification_2_0= ruleMetamodelSpecification ) )
2672 } 2672 // InternalApplicationConfiguration.g:953:4: (lv_specification_2_0= ruleMetamodelSpecification )
2673 2673 {
2674 2674 // InternalApplicationConfiguration.g:953:4: (lv_specification_2_0= ruleMetamodelSpecification )
2675 } 2675 // InternalApplicationConfiguration.g:954:5: lv_specification_2_0= ruleMetamodelSpecification
2676 2676 {
2677 2677
2678 leaveRule(); 2678 newCompositeNode(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0());
2679 2679
2680 } 2680 pushFollow(FOLLOW_2);
2681 2681 lv_specification_2_0=ruleMetamodelSpecification();
2682 catch (RecognitionException re) { 2682
2683 recover(input,re); 2683 state._fsp--;
2684 appendSkippedTokens(); 2684
2685 } 2685
2686 finally { 2686 if (current==null) {
2687 } 2687 current = createModelElementForParent(grammarAccess.getMetamodelDeclarationRule());
2688 return current; 2688 }
2689 } 2689 set(
2690 // $ANTLR end "ruleMetamodelDeclaration" 2690 current,
2691 2691 "specification",
2692 2692 lv_specification_2_0,
2693 // $ANTLR start "entryRuleMetamodelReference" 2693 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification");
2694 // InternalApplicationConfiguration.g:966:1: entryRuleMetamodelReference returns [EObject current=null] : iv_ruleMetamodelReference= ruleMetamodelReference EOF ; 2694 afterParserOrEnumRuleCall();
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
2706 pushFollow(FOLLOW_1); 2706 }
2707 iv_ruleMetamodelReference=ruleMetamodelReference(); 2707
2708 2708
2709 state._fsp--; 2709 leaveRule();
2710 2710
2711 current =iv_ruleMetamodelReference; 2711 }
2712 match(input,EOF,FOLLOW_2); 2712
2713 2713 catch (RecognitionException re) {
2714 } 2714 recover(input,re);
2715 2715 appendSkippedTokens();
2716 } 2716 }
2717 2717 finally {
2718 catch (RecognitionException re) { 2718 }
2719 recover(input,re); 2719 return current;
2720 appendSkippedTokens(); 2720 }
2721 } 2721 // $ANTLR end "ruleMetamodelDeclaration"
2722 finally { 2722
2723 } 2723
2724 return current; 2724 // $ANTLR start "entryRuleMetamodelReference"
2725 } 2725 // InternalApplicationConfiguration.g:975:1: entryRuleMetamodelReference returns [EObject current=null] : iv_ruleMetamodelReference= ruleMetamodelReference EOF ;
2726 // $ANTLR end "entryRuleMetamodelReference" 2726 public final EObject entryRuleMetamodelReference() throws RecognitionException {
2727 2727 EObject current = null;
2728 2728
2729 // $ANTLR start "ruleMetamodelReference" 2729 EObject iv_ruleMetamodelReference = null;
2730 // InternalApplicationConfiguration.g:973:1: ruleMetamodelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; 2730
2731 public final EObject ruleMetamodelReference() throws RecognitionException { 2731
2732 EObject current = null; 2732 try {
2733 2733 // InternalApplicationConfiguration.g:975:59: (iv_ruleMetamodelReference= ruleMetamodelReference EOF )
2734 Token otherlv_0=null; 2734 // InternalApplicationConfiguration.g:976:2: iv_ruleMetamodelReference= ruleMetamodelReference EOF
2735 2735 {
2736 2736 newCompositeNode(grammarAccess.getMetamodelReferenceRule());
2737 enterRule(); 2737 pushFollow(FOLLOW_1);
2738 2738 iv_ruleMetamodelReference=ruleMetamodelReference();
2739 try { 2739
2740 // InternalApplicationConfiguration.g:979:2: ( ( (otherlv_0= RULE_ID ) ) ) 2740 state._fsp--;
2741 // InternalApplicationConfiguration.g:980:2: ( (otherlv_0= RULE_ID ) ) 2741
2742 { 2742 current =iv_ruleMetamodelReference;
2743 // InternalApplicationConfiguration.g:980:2: ( (otherlv_0= RULE_ID ) ) 2743 match(input,EOF,FOLLOW_2);
2744 // InternalApplicationConfiguration.g:981:3: (otherlv_0= RULE_ID ) 2744
2745 { 2745 }
2746 // InternalApplicationConfiguration.g:981:3: (otherlv_0= RULE_ID ) 2746
2747 // InternalApplicationConfiguration.g:982:4: otherlv_0= RULE_ID 2747 }
2748 { 2748
2749 2749 catch (RecognitionException re) {
2750 if (current==null) { 2750 recover(input,re);
2751 current = createModelElement(grammarAccess.getMetamodelReferenceRule()); 2751 appendSkippedTokens();
2752 } 2752 }
2753 2753 finally {
2754 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); 2754 }
2755 2755 return current;
2756 newLeafNode(otherlv_0, grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); 2756 }
2757 2757 // $ANTLR end "entryRuleMetamodelReference"
2758 2758
2759 } 2759
2760 2760 // $ANTLR start "ruleMetamodelReference"
2761 2761 // InternalApplicationConfiguration.g:982:1: ruleMetamodelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
2762 } 2762 public final EObject ruleMetamodelReference() throws RecognitionException {
2763 2763 EObject current = null;
2764 2764
2765 } 2765 Token otherlv_0=null;
2766 2766
2767 2767
2768 leaveRule(); 2768 enterRule();
2769 2769
2770 } 2770 try {
2771 2771 // InternalApplicationConfiguration.g:988:2: ( ( (otherlv_0= RULE_ID ) ) )
2772 catch (RecognitionException re) { 2772 // InternalApplicationConfiguration.g:989:2: ( (otherlv_0= RULE_ID ) )
2773 recover(input,re); 2773 {
2774 appendSkippedTokens(); 2774 // InternalApplicationConfiguration.g:989:2: ( (otherlv_0= RULE_ID ) )
2775 } 2775 // InternalApplicationConfiguration.g:990:3: (otherlv_0= RULE_ID )
2776 finally { 2776 {
2777 } 2777 // InternalApplicationConfiguration.g:990:3: (otherlv_0= RULE_ID )
2778 return current; 2778 // InternalApplicationConfiguration.g:991:4: otherlv_0= RULE_ID
2779 } 2779 {
2780 // $ANTLR end "ruleMetamodelReference" 2780
2781 2781 if (current==null) {
2782 2782 current = createModelElement(grammarAccess.getMetamodelReferenceRule());
2783 // $ANTLR start "entryRuleMetamodel" 2783 }
2784 // InternalApplicationConfiguration.g:996:1: entryRuleMetamodel returns [EObject current=null] : iv_ruleMetamodel= ruleMetamodel EOF ; 2784
2785 public final EObject entryRuleMetamodel() throws RecognitionException { 2785 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2);
2786 EObject current = null; 2786
2787 2787 newLeafNode(otherlv_0, grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0());
2788 EObject iv_ruleMetamodel = null; 2788
2789 2789
2790 2790 }
2791 try { 2791
2792 // InternalApplicationConfiguration.g:996:50: (iv_ruleMetamodel= ruleMetamodel EOF ) 2792
2793 // InternalApplicationConfiguration.g:997:2: iv_ruleMetamodel= ruleMetamodel EOF 2793 }
2794 { 2794
2795 newCompositeNode(grammarAccess.getMetamodelRule()); 2795
2796 pushFollow(FOLLOW_1); 2796 }
2797 iv_ruleMetamodel=ruleMetamodel(); 2797
2798 2798
2799 state._fsp--; 2799 leaveRule();
2800 2800
2801 current =iv_ruleMetamodel; 2801 }
2802 match(input,EOF,FOLLOW_2); 2802
2803 2803 catch (RecognitionException re) {
2804 } 2804 recover(input,re);
2805 2805 appendSkippedTokens();
2806 } 2806 }
2807 2807 finally {
2808 catch (RecognitionException re) { 2808 }
2809 recover(input,re); 2809 return current;
2810 appendSkippedTokens(); 2810 }
2811 } 2811 // $ANTLR end "ruleMetamodelReference"
2812 finally { 2812
2813 } 2813
2814 return current; 2814 // $ANTLR start "entryRuleMetamodel"
2815 } 2815 // InternalApplicationConfiguration.g:1005:1: entryRuleMetamodel returns [EObject current=null] : iv_ruleMetamodel= ruleMetamodel EOF ;
2816 // $ANTLR end "entryRuleMetamodel" 2816 public final EObject entryRuleMetamodel() throws RecognitionException {
2817 2817 EObject current = null;
2818 2818
2819 // $ANTLR start "ruleMetamodel" 2819 EObject iv_ruleMetamodel = null;
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
2822 EObject current = null; 2822 try {
2823 2823 // InternalApplicationConfiguration.g:1005:50: (iv_ruleMetamodel= ruleMetamodel EOF )
2824 EObject this_MetamodelReference_0 = null; 2824 // InternalApplicationConfiguration.g:1006:2: iv_ruleMetamodel= ruleMetamodel EOF
2825 2825 {
2826 EObject this_MetamodelSpecification_1 = null; 2826 newCompositeNode(grammarAccess.getMetamodelRule());
2827 2827 pushFollow(FOLLOW_1);
2828 2828 iv_ruleMetamodel=ruleMetamodel();
2829 2829
2830 enterRule(); 2830 state._fsp--;
2831 2831
2832 try { 2832 current =iv_ruleMetamodel;
2833 // InternalApplicationConfiguration.g:1009:2: ( (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ) 2833 match(input,EOF,FOLLOW_2);
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 catch (RecognitionException re) {
2840 if ( (LA16_0==RULE_ID) ) { 2840 recover(input,re);
2841 alt16=1; 2841 appendSkippedTokens();
2842 } 2842 }
2843 else if ( (LA16_0==18) ) { 2843 finally {
2844 alt16=2; 2844 }
2845 } 2845 return current;
2846 else { 2846 }
2847 NoViableAltException nvae = 2847 // $ANTLR end "entryRuleMetamodel"
2848 new NoViableAltException("", 16, 0, input); 2848
2849 2849
2850 throw nvae; 2850 // $ANTLR start "ruleMetamodel"
2851 } 2851 // InternalApplicationConfiguration.g:1012:1: ruleMetamodel returns [EObject current=null] : (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ;
2852 switch (alt16) { 2852 public final EObject ruleMetamodel() throws RecognitionException {
2853 case 1 : 2853 EObject current = null;
2854 // InternalApplicationConfiguration.g:1011:3: this_MetamodelReference_0= ruleMetamodelReference 2854
2855 { 2855 EObject this_MetamodelReference_0 = null;
2856 2856
2857 newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); 2857 EObject this_MetamodelSpecification_1 = null;
2858 2858
2859 pushFollow(FOLLOW_2); 2859
2860 this_MetamodelReference_0=ruleMetamodelReference(); 2860
2861 2861 enterRule();
2862 state._fsp--; 2862
2863 2863 try {
2864 2864 // InternalApplicationConfiguration.g:1018:2: ( (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) )
2865 current = this_MetamodelReference_0; 2865 // InternalApplicationConfiguration.g:1019:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification )
2866 afterParserOrEnumRuleCall(); 2866 {
2867 2867 // InternalApplicationConfiguration.g:1019:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification )
2868 2868 int alt16=2;
2869 } 2869 int LA16_0 = input.LA(1);
2870 break; 2870
2871 case 2 : 2871 if ( (LA16_0==RULE_ID) ) {
2872 // InternalApplicationConfiguration.g:1020:3: this_MetamodelSpecification_1= ruleMetamodelSpecification 2872 alt16=1;
2873 { 2873 }
2874 2874 else if ( (LA16_0==18) ) {
2875 newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); 2875 alt16=2;
2876 2876 }
2877 pushFollow(FOLLOW_2); 2877 else {
2878 this_MetamodelSpecification_1=ruleMetamodelSpecification(); 2878 NoViableAltException nvae =
2879 2879 new NoViableAltException("", 16, 0, input);
2880 state._fsp--; 2880
2881 2881 throw nvae;
2882 2882 }
2883 current = this_MetamodelSpecification_1; 2883 switch (alt16) {
2884 afterParserOrEnumRuleCall(); 2884 case 1 :
2885 2885 // InternalApplicationConfiguration.g:1020:3: this_MetamodelReference_0= ruleMetamodelReference
2886 2886 {
2887 } 2887
2888 break; 2888 newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0());
2889 2889
2890 } 2890 pushFollow(FOLLOW_2);
2891 2891 this_MetamodelReference_0=ruleMetamodelReference();
2892 2892
2893 } 2893 state._fsp--;
2894 2894
2895 2895
2896 leaveRule(); 2896 current = this_MetamodelReference_0;
2897 2897 afterParserOrEnumRuleCall();
2898 } 2898
2899 2899
2900 catch (RecognitionException re) { 2900 }
2901 recover(input,re); 2901 break;
2902 appendSkippedTokens(); 2902 case 2 :
2903 } 2903 // InternalApplicationConfiguration.g:1029:3: this_MetamodelSpecification_1= ruleMetamodelSpecification
2904 finally { 2904 {
2905 } 2905
2906 return current; 2906 newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1());
2907 } 2907
2908 // $ANTLR end "ruleMetamodel" 2908 pushFollow(FOLLOW_2);
2909 2909 this_MetamodelSpecification_1=ruleMetamodelSpecification();
2910 2910
2911 // $ANTLR start "entryRulePartialModelSpecification" 2911 state._fsp--;
2912 // InternalApplicationConfiguration.g:1032:1: entryRulePartialModelSpecification returns [EObject current=null] : iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ; 2912
2913 public final EObject entryRulePartialModelSpecification() throws RecognitionException { 2913
2914 EObject current = null; 2914 current = this_MetamodelSpecification_1;
2915 2915 afterParserOrEnumRuleCall();
2916 EObject iv_rulePartialModelSpecification = null; 2916
2917 2917
2918 2918 }
2919 try { 2919 break;
2920 // InternalApplicationConfiguration.g:1032:66: (iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ) 2920
2921 // InternalApplicationConfiguration.g:1033:2: iv_rulePartialModelSpecification= rulePartialModelSpecification EOF 2921 }
2922 { 2922
2923 newCompositeNode(grammarAccess.getPartialModelSpecificationRule()); 2923
2924 pushFollow(FOLLOW_1); 2924 }
2925 iv_rulePartialModelSpecification=rulePartialModelSpecification(); 2925
2926 2926
2927 state._fsp--; 2927 leaveRule();
2928 2928
2929 current =iv_rulePartialModelSpecification; 2929 }
2930 match(input,EOF,FOLLOW_2); 2930
2931 2931 catch (RecognitionException re) {
2932 } 2932 recover(input,re);
2933 2933 appendSkippedTokens();
2934 } 2934 }
2935 2935 finally {
2936 catch (RecognitionException re) { 2936 }
2937 recover(input,re); 2937 return current;
2938 appendSkippedTokens(); 2938 }
2939 } 2939 // $ANTLR end "ruleMetamodel"
2940 finally { 2940
2941 } 2941
2942 return current; 2942 // $ANTLR start "entryRulePartialModelSpecification"
2943 } 2943 // InternalApplicationConfiguration.g:1041:1: entryRulePartialModelSpecification returns [EObject current=null] : iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ;
2944 // $ANTLR end "entryRulePartialModelSpecification" 2944 public final EObject entryRulePartialModelSpecification() throws RecognitionException {
2945 2945 EObject current = null;
2946 2946
2947 // $ANTLR start "rulePartialModelSpecification" 2947 EObject iv_rulePartialModelSpecification = null;
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
2950 EObject current = null; 2950 try {
2951 2951 // InternalApplicationConfiguration.g:1041:66: (iv_rulePartialModelSpecification= rulePartialModelSpecification EOF )
2952 Token otherlv_0=null; 2952 // InternalApplicationConfiguration.g:1042:2: iv_rulePartialModelSpecification= rulePartialModelSpecification EOF
2953 Token otherlv_2=null; 2953 {
2954 Token otherlv_4=null; 2954 newCompositeNode(grammarAccess.getPartialModelSpecificationRule());
2955 EObject lv_entry_1_0 = null; 2955 pushFollow(FOLLOW_1);
2956 2956 iv_rulePartialModelSpecification=rulePartialModelSpecification();
2957 EObject lv_entry_3_0 = null; 2957
2958 2958 state._fsp--;
2959 2959
2960 2960 current =iv_rulePartialModelSpecification;
2961 enterRule(); 2961 match(input,EOF,FOLLOW_2);
2962 2962
2963 try { 2963 }
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 }
2966 { 2966
2967 // InternalApplicationConfiguration.g:1046:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) 2967 catch (RecognitionException re) {
2968 // InternalApplicationConfiguration.g:1047:3: otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' 2968 recover(input,re);
2969 { 2969 appendSkippedTokens();
2970 otherlv_0=(Token)match(input,18,FOLLOW_18); 2970 }
2971 2971 finally {
2972 newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); 2972 }
2973 2973 return current;
2974 // InternalApplicationConfiguration.g:1051:3: ( (lv_entry_1_0= rulePartialModelEntry ) ) 2974 }
2975 // InternalApplicationConfiguration.g:1052:4: (lv_entry_1_0= rulePartialModelEntry ) 2975 // $ANTLR end "entryRulePartialModelSpecification"
2976 { 2976
2977 // InternalApplicationConfiguration.g:1052:4: (lv_entry_1_0= rulePartialModelEntry ) 2977
2978 // InternalApplicationConfiguration.g:1053:5: lv_entry_1_0= rulePartialModelEntry 2978 // $ANTLR start "rulePartialModelSpecification"
2979 { 2979 // InternalApplicationConfiguration.g:1048:1: rulePartialModelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ;
2980 2980 public final EObject rulePartialModelSpecification() throws RecognitionException {
2981 newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); 2981 EObject current = null;
2982 2982
2983 pushFollow(FOLLOW_14); 2983 Token otherlv_0=null;
2984 lv_entry_1_0=rulePartialModelEntry(); 2984 Token otherlv_2=null;
2985 2985 Token otherlv_4=null;
2986 state._fsp--; 2986 EObject lv_entry_1_0 = null;
2987 2987
2988 2988 EObject lv_entry_3_0 = null;
2989 if (current==null) { 2989
2990 current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); 2990
2991 } 2991
2992 add( 2992 enterRule();
2993 current, 2993
2994 "entry", 2994 try {
2995 lv_entry_1_0, 2995 // InternalApplicationConfiguration.g:1054:2: ( (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) )
2996 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); 2996 // InternalApplicationConfiguration.g:1055:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' )
2997 afterParserOrEnumRuleCall(); 2997 {
2998 2998 // InternalApplicationConfiguration.g:1055:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' )
2999 2999 // InternalApplicationConfiguration.g:1056:3: otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}'
3000 } 3000 {
3001 3001 otherlv_0=(Token)match(input,18,FOLLOW_18);
3002 3002
3003 } 3003 newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0());
3004 3004
3005 // InternalApplicationConfiguration.g:1070:3: (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? 3005 // InternalApplicationConfiguration.g:1060:3: ( (lv_entry_1_0= rulePartialModelEntry ) )
3006 int alt17=2; 3006 // InternalApplicationConfiguration.g:1061:4: (lv_entry_1_0= rulePartialModelEntry )
3007 int LA17_0 = input.LA(1); 3007 {
3008 3008 // InternalApplicationConfiguration.g:1061:4: (lv_entry_1_0= rulePartialModelEntry )
3009 if ( (LA17_0==19) ) { 3009 // InternalApplicationConfiguration.g:1062:5: lv_entry_1_0= rulePartialModelEntry
3010 alt17=1; 3010 {
3011 } 3011
3012 switch (alt17) { 3012 newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0());
3013 case 1 : 3013
3014 // InternalApplicationConfiguration.g:1071:4: otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) 3014 pushFollow(FOLLOW_14);
3015 { 3015 lv_entry_1_0=rulePartialModelEntry();
3016 otherlv_2=(Token)match(input,19,FOLLOW_18); 3016
3017 3017 state._fsp--;
3018 newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); 3018
3019 3019
3020 // InternalApplicationConfiguration.g:1075:4: ( (lv_entry_3_0= rulePartialModelEntry ) ) 3020 if (current==null) {
3021 // InternalApplicationConfiguration.g:1076:5: (lv_entry_3_0= rulePartialModelEntry ) 3021 current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule());
3022 { 3022 }
3023 // InternalApplicationConfiguration.g:1076:5: (lv_entry_3_0= rulePartialModelEntry ) 3023 add(
3024 // InternalApplicationConfiguration.g:1077:6: lv_entry_3_0= rulePartialModelEntry 3024 current,
3025 { 3025 "entry",
3026 3026 lv_entry_1_0,
3027 newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); 3027 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry");
3028 3028 afterParserOrEnumRuleCall();
3029 pushFollow(FOLLOW_19); 3029
3030 lv_entry_3_0=rulePartialModelEntry(); 3030
3031 3031 }
3032 state._fsp--; 3032
3033 3033
3034 3034 }
3035 if (current==null) { 3035
3036 current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); 3036 // InternalApplicationConfiguration.g:1079:3: (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )?
3037 } 3037 int alt17=2;
3038 add( 3038 int LA17_0 = input.LA(1);
3039 current, 3039
3040 "entry", 3040 if ( (LA17_0==19) ) {
3041 lv_entry_3_0, 3041 alt17=1;
3042 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); 3042 }
3043 afterParserOrEnumRuleCall(); 3043 switch (alt17) {
3044 3044 case 1 :
3045 3045 // InternalApplicationConfiguration.g:1080:4: otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) )
3046 } 3046 {
3047 3047 otherlv_2=(Token)match(input,19,FOLLOW_18);
3048 3048
3049 } 3049 newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0());
3050 3050
3051 3051 // InternalApplicationConfiguration.g:1084:4: ( (lv_entry_3_0= rulePartialModelEntry ) )
3052 } 3052 // InternalApplicationConfiguration.g:1085:5: (lv_entry_3_0= rulePartialModelEntry )
3053 break; 3053 {
3054 3054 // InternalApplicationConfiguration.g:1085:5: (lv_entry_3_0= rulePartialModelEntry )
3055 } 3055 // InternalApplicationConfiguration.g:1086:6: lv_entry_3_0= rulePartialModelEntry
3056 3056 {
3057 otherlv_4=(Token)match(input,20,FOLLOW_2); 3057
3058 3058 newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0());
3059 newLeafNode(otherlv_4, grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); 3059
3060 3060 pushFollow(FOLLOW_19);
3061 3061 lv_entry_3_0=rulePartialModelEntry();
3062 } 3062
3063 3063 state._fsp--;
3064 3064
3065 } 3065
3066 3066 if (current==null) {
3067 3067 current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule());
3068 leaveRule(); 3068 }
3069 3069 add(
3070 } 3070 current,
3071 3071 "entry",
3072 catch (RecognitionException re) { 3072 lv_entry_3_0,
3073 recover(input,re); 3073 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry");
3074 appendSkippedTokens(); 3074 afterParserOrEnumRuleCall();
3075 } 3075
3076 finally { 3076
3077 } 3077 }
3078 return current; 3078
3079 } 3079
3080 // $ANTLR end "rulePartialModelSpecification" 3080 }
3081 3081
3082 3082
3083 // $ANTLR start "entryRulePartialModelEntry" 3083 }
3084 // InternalApplicationConfiguration.g:1103:1: entryRulePartialModelEntry returns [EObject current=null] : iv_rulePartialModelEntry= rulePartialModelEntry EOF ; 3084 break;
3085 public final EObject entryRulePartialModelEntry() throws RecognitionException { 3085
3086 EObject current = null; 3086 }
3087 3087
3088 EObject iv_rulePartialModelEntry = null; 3088 otherlv_4=(Token)match(input,20,FOLLOW_2);
3089 3089
3090 3090 newLeafNode(otherlv_4, grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3());
3091 try { 3091
3092 // InternalApplicationConfiguration.g:1103:58: (iv_rulePartialModelEntry= rulePartialModelEntry EOF ) 3092
3093 // InternalApplicationConfiguration.g:1104:2: iv_rulePartialModelEntry= rulePartialModelEntry EOF 3093 }
3094 { 3094
3095 newCompositeNode(grammarAccess.getPartialModelEntryRule()); 3095
3096 pushFollow(FOLLOW_1); 3096 }
3097 iv_rulePartialModelEntry=rulePartialModelEntry(); 3097
3098 3098
3099 state._fsp--; 3099 leaveRule();
3100 3100
3101 current =iv_rulePartialModelEntry; 3101 }
3102 match(input,EOF,FOLLOW_2); 3102
3103 3103 catch (RecognitionException re) {
3104 } 3104 recover(input,re);
3105 3105 appendSkippedTokens();
3106 } 3106 }
3107 3107 finally {
3108 catch (RecognitionException re) { 3108 }
3109 recover(input,re); 3109 return current;
3110 appendSkippedTokens(); 3110 }
3111 } 3111 // $ANTLR end "rulePartialModelSpecification"
3112 finally { 3112
3113 } 3113
3114 return current; 3114 // $ANTLR start "entryRulePartialModelEntry"
3115 } 3115 // InternalApplicationConfiguration.g:1112:1: entryRulePartialModelEntry returns [EObject current=null] : iv_rulePartialModelEntry= rulePartialModelEntry EOF ;
3116 // $ANTLR end "entryRulePartialModelEntry" 3116 public final EObject entryRulePartialModelEntry() throws RecognitionException {
3117 3117 EObject current = null;
3118 3118
3119 // $ANTLR start "rulePartialModelEntry" 3119 EObject iv_rulePartialModelEntry = null;
3120 // InternalApplicationConfiguration.g:1110:1: rulePartialModelEntry returns [EObject current=null] : (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ; 3120
3121 public final EObject rulePartialModelEntry() throws RecognitionException { 3121
3122 EObject current = null; 3122 try {
3123 3123 // InternalApplicationConfiguration.g:1112:58: (iv_rulePartialModelEntry= rulePartialModelEntry EOF )
3124 EObject this_ModelEntry_0 = null; 3124 // InternalApplicationConfiguration.g:1113:2: iv_rulePartialModelEntry= rulePartialModelEntry EOF
3125 3125 {
3126 EObject this_FolderEntry_1 = null; 3126 newCompositeNode(grammarAccess.getPartialModelEntryRule());
3127 3127 pushFollow(FOLLOW_1);
3128 3128 iv_rulePartialModelEntry=rulePartialModelEntry();
3129 3129
3130 enterRule(); 3130 state._fsp--;
3131 3131
3132 try { 3132 current =iv_rulePartialModelEntry;
3133 // InternalApplicationConfiguration.g:1116:2: ( (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ) 3133 match(input,EOF,FOLLOW_2);
3134 // InternalApplicationConfiguration.g:1117:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) 3134
3135 { 3135 }
3136 // InternalApplicationConfiguration.g:1117:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) 3136
3137 int alt18=2; 3137 }
3138 int LA18_0 = input.LA(1); 3138
3139 3139 catch (RecognitionException re) {
3140 if ( (LA18_0==RULE_ID||LA18_0==RULE_STRING) ) { 3140 recover(input,re);
3141 alt18=1; 3141 appendSkippedTokens();
3142 } 3142 }
3143 else if ( (LA18_0==25) ) { 3143 finally {
3144 alt18=2; 3144 }
3145 } 3145 return current;
3146 else { 3146 }
3147 NoViableAltException nvae = 3147 // $ANTLR end "entryRulePartialModelEntry"
3148 new NoViableAltException("", 18, 0, input); 3148
3149 3149
3150 throw nvae; 3150 // $ANTLR start "rulePartialModelEntry"
3151 } 3151 // InternalApplicationConfiguration.g:1119:1: rulePartialModelEntry returns [EObject current=null] : (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ;
3152 switch (alt18) { 3152 public final EObject rulePartialModelEntry() throws RecognitionException {
3153 case 1 : 3153 EObject current = null;
3154 // InternalApplicationConfiguration.g:1118:3: this_ModelEntry_0= ruleModelEntry 3154
3155 { 3155 EObject this_ModelEntry_0 = null;
3156 3156
3157 newCompositeNode(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); 3157 EObject this_FolderEntry_1 = null;
3158 3158
3159 pushFollow(FOLLOW_2); 3159
3160 this_ModelEntry_0=ruleModelEntry(); 3160
3161 3161 enterRule();
3162 state._fsp--; 3162
3163 3163 try {
3164 3164 // InternalApplicationConfiguration.g:1125:2: ( (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) )
3165 current = this_ModelEntry_0; 3165 // InternalApplicationConfiguration.g:1126:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry )
3166 afterParserOrEnumRuleCall(); 3166 {
3167 3167 // InternalApplicationConfiguration.g:1126:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry )
3168 3168 int alt18=2;
3169 } 3169 int LA18_0 = input.LA(1);
3170 break; 3170
3171 case 2 : 3171 if ( (LA18_0==RULE_ID||LA18_0==RULE_STRING) ) {
3172 // InternalApplicationConfiguration.g:1127:3: this_FolderEntry_1= ruleFolderEntry 3172 alt18=1;
3173 { 3173 }
3174 3174 else if ( (LA18_0==25) ) {
3175 newCompositeNode(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); 3175 alt18=2;
3176 3176 }
3177 pushFollow(FOLLOW_2); 3177 else {
3178 this_FolderEntry_1=ruleFolderEntry(); 3178 NoViableAltException nvae =
3179 3179 new NoViableAltException("", 18, 0, input);
3180 state._fsp--; 3180
3181 3181 throw nvae;
3182 3182 }
3183 current = this_FolderEntry_1; 3183 switch (alt18) {
3184 afterParserOrEnumRuleCall(); 3184 case 1 :
3185 3185 // InternalApplicationConfiguration.g:1127:3: this_ModelEntry_0= ruleModelEntry
3186 3186 {
3187 } 3187
3188 break; 3188 newCompositeNode(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0());
3189 3189
3190 } 3190 pushFollow(FOLLOW_2);
3191 3191 this_ModelEntry_0=ruleModelEntry();
3192 3192
3193 } 3193 state._fsp--;
3194 3194
3195 3195
3196 leaveRule(); 3196 current = this_ModelEntry_0;
3197 3197 afterParserOrEnumRuleCall();
3198 } 3198
3199 3199
3200 catch (RecognitionException re) { 3200 }
3201 recover(input,re); 3201 break;
3202 appendSkippedTokens(); 3202 case 2 :
3203 } 3203 // InternalApplicationConfiguration.g:1136:3: this_FolderEntry_1= ruleFolderEntry
3204 finally { 3204 {
3205 } 3205
3206 return current; 3206 newCompositeNode(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1());
3207 } 3207
3208 // $ANTLR end "rulePartialModelEntry" 3208 pushFollow(FOLLOW_2);
3209 3209 this_FolderEntry_1=ruleFolderEntry();
3210 3210
3211 // $ANTLR start "entryRuleModelEntry" 3211 state._fsp--;
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 current = this_FolderEntry_1;
3215 3215 afterParserOrEnumRuleCall();
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
3224 pushFollow(FOLLOW_1); 3224 }
3225 iv_ruleModelEntry=ruleModelEntry(); 3225
3226 3226
3227 state._fsp--; 3227 leaveRule();
3228 3228
3229 current =iv_ruleModelEntry; 3229 }
3230 match(input,EOF,FOLLOW_2); 3230
3231 3231 catch (RecognitionException re) {
3232 } 3232 recover(input,re);
3233 3233 appendSkippedTokens();
3234 } 3234 }
3235 3235 finally {
3236 catch (RecognitionException re) { 3236 }
3237 recover(input,re); 3237 return current;
3238 appendSkippedTokens(); 3238 }
3239 } 3239 // $ANTLR end "rulePartialModelEntry"
3240 finally { 3240
3241 } 3241
3242 return current; 3242 // $ANTLR start "entryRuleModelEntry"
3243 } 3243 // InternalApplicationConfiguration.g:1148:1: entryRuleModelEntry returns [EObject current=null] : iv_ruleModelEntry= ruleModelEntry EOF ;
3244 // $ANTLR end "entryRuleModelEntry" 3244 public final EObject entryRuleModelEntry() throws RecognitionException {
3245 3245 EObject current = null;
3246 3246
3247 // $ANTLR start "ruleModelEntry" 3247 EObject iv_ruleModelEntry = null;
3248 // InternalApplicationConfiguration.g:1146:1: ruleModelEntry returns [EObject current=null] : ( (lv_path_0_0= ruleFile ) ) ; 3248
3249 public final EObject ruleModelEntry() throws RecognitionException { 3249
3250 EObject current = null; 3250 try {
3251 3251 // InternalApplicationConfiguration.g:1148:51: (iv_ruleModelEntry= ruleModelEntry EOF )
3252 EObject lv_path_0_0 = null; 3252 // InternalApplicationConfiguration.g:1149:2: iv_ruleModelEntry= ruleModelEntry EOF
3253 3253 {
3254 3254 newCompositeNode(grammarAccess.getModelEntryRule());
3255 3255 pushFollow(FOLLOW_1);
3256 enterRule(); 3256 iv_ruleModelEntry=ruleModelEntry();
3257 3257
3258 try { 3258 state._fsp--;
3259 // InternalApplicationConfiguration.g:1152:2: ( ( (lv_path_0_0= ruleFile ) ) ) 3259
3260 // InternalApplicationConfiguration.g:1153:2: ( (lv_path_0_0= ruleFile ) ) 3260 current =iv_ruleModelEntry;
3261 { 3261 match(input,EOF,FOLLOW_2);
3262 // InternalApplicationConfiguration.g:1153:2: ( (lv_path_0_0= ruleFile ) ) 3262
3263 // InternalApplicationConfiguration.g:1154:3: (lv_path_0_0= ruleFile ) 3263 }
3264 { 3264
3265 // InternalApplicationConfiguration.g:1154:3: (lv_path_0_0= ruleFile ) 3265 }
3266 // InternalApplicationConfiguration.g:1155:4: lv_path_0_0= ruleFile 3266
3267 { 3267 catch (RecognitionException re) {
3268 3268 recover(input,re);
3269 newCompositeNode(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); 3269 appendSkippedTokens();
3270 3270 }
3271 pushFollow(FOLLOW_2); 3271 finally {
3272 lv_path_0_0=ruleFile(); 3272 }
3273 3273 return current;
3274 state._fsp--; 3274 }
3275 3275 // $ANTLR end "entryRuleModelEntry"
3276 3276
3277 if (current==null) { 3277
3278 current = createModelElementForParent(grammarAccess.getModelEntryRule()); 3278 // $ANTLR start "ruleModelEntry"
3279 } 3279 // InternalApplicationConfiguration.g:1155:1: ruleModelEntry returns [EObject current=null] : ( (lv_path_0_0= ruleFile ) ) ;
3280 set( 3280 public final EObject ruleModelEntry() throws RecognitionException {
3281 current, 3281 EObject current = null;
3282 "path", 3282
3283 lv_path_0_0, 3283 EObject lv_path_0_0 = null;
3284 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 3284
3285 afterParserOrEnumRuleCall(); 3285
3286 3286
3287 3287 enterRule();
3288 } 3288
3289 3289 try {
3290 3290 // InternalApplicationConfiguration.g:1161:2: ( ( (lv_path_0_0= ruleFile ) ) )
3291 } 3291 // InternalApplicationConfiguration.g:1162:2: ( (lv_path_0_0= ruleFile ) )
3292 3292 {
3293 3293 // InternalApplicationConfiguration.g:1162:2: ( (lv_path_0_0= ruleFile ) )
3294 } 3294 // InternalApplicationConfiguration.g:1163:3: (lv_path_0_0= ruleFile )
3295 3295 {
3296 3296 // InternalApplicationConfiguration.g:1163:3: (lv_path_0_0= ruleFile )
3297 leaveRule(); 3297 // InternalApplicationConfiguration.g:1164:4: lv_path_0_0= ruleFile
3298 3298 {
3299 } 3299
3300 3300 newCompositeNode(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0());
3301 catch (RecognitionException re) { 3301
3302 recover(input,re); 3302 pushFollow(FOLLOW_2);
3303 appendSkippedTokens(); 3303 lv_path_0_0=ruleFile();
3304 } 3304
3305 finally { 3305 state._fsp--;
3306 } 3306
3307 return current; 3307
3308 } 3308 if (current==null) {
3309 // $ANTLR end "ruleModelEntry" 3309 current = createModelElementForParent(grammarAccess.getModelEntryRule());
3310 3310 }
3311 3311 set(
3312 // $ANTLR start "entryRuleFolderEntry" 3312 current,
3313 // InternalApplicationConfiguration.g:1175:1: entryRuleFolderEntry returns [EObject current=null] : iv_ruleFolderEntry= ruleFolderEntry EOF ; 3313 "path",
3314 public final EObject entryRuleFolderEntry() throws RecognitionException { 3314 lv_path_0_0,
3315 EObject current = null; 3315 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
3316 3316 afterParserOrEnumRuleCall();
3317 EObject iv_ruleFolderEntry = null; 3317
3318 3318
3319 3319 }
3320 try { 3320
3321 // InternalApplicationConfiguration.g:1175:52: (iv_ruleFolderEntry= ruleFolderEntry EOF ) 3321
3322 // InternalApplicationConfiguration.g:1176:2: iv_ruleFolderEntry= ruleFolderEntry EOF 3322 }
3323 { 3323
3324 newCompositeNode(grammarAccess.getFolderEntryRule()); 3324
3325 pushFollow(FOLLOW_1); 3325 }
3326 iv_ruleFolderEntry=ruleFolderEntry(); 3326
3327 3327
3328 state._fsp--; 3328 leaveRule();
3329 3329
3330 current =iv_ruleFolderEntry; 3330 }
3331 match(input,EOF,FOLLOW_2); 3331
3332 3332 catch (RecognitionException re) {
3333 } 3333 recover(input,re);
3334 3334 appendSkippedTokens();
3335 } 3335 }
3336 3336 finally {
3337 catch (RecognitionException re) { 3337 }
3338 recover(input,re); 3338 return current;
3339 appendSkippedTokens(); 3339 }
3340 } 3340 // $ANTLR end "ruleModelEntry"
3341 finally { 3341
3342 } 3342
3343 return current; 3343 // $ANTLR start "entryRuleFolderEntry"
3344 } 3344 // InternalApplicationConfiguration.g:1184:1: entryRuleFolderEntry returns [EObject current=null] : iv_ruleFolderEntry= ruleFolderEntry EOF ;
3345 // $ANTLR end "entryRuleFolderEntry" 3345 public final EObject entryRuleFolderEntry() throws RecognitionException {
3346 3346 EObject current = null;
3347 3347
3348 // $ANTLR start "ruleFolderEntry" 3348 EObject iv_ruleFolderEntry = null;
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
3350 public final EObject ruleFolderEntry() throws RecognitionException { 3350
3351 EObject current = null; 3351 try {
3352 3352 // InternalApplicationConfiguration.g:1184:52: (iv_ruleFolderEntry= ruleFolderEntry EOF )
3353 Token otherlv_0=null; 3353 // InternalApplicationConfiguration.g:1185:2: iv_ruleFolderEntry= ruleFolderEntry EOF
3354 Token otherlv_2=null; 3354 {
3355 Token otherlv_3=null; 3355 newCompositeNode(grammarAccess.getFolderEntryRule());
3356 Token otherlv_5=null; 3356 pushFollow(FOLLOW_1);
3357 Token otherlv_7=null; 3357 iv_ruleFolderEntry=ruleFolderEntry();
3358 EObject lv_path_1_0 = null; 3358
3359 3359 state._fsp--;
3360 EObject lv_exclusion_4_0 = null; 3360
3361 3361 current =iv_ruleFolderEntry;
3362 EObject lv_exclusion_6_0 = null; 3362 match(input,EOF,FOLLOW_2);
3363 3363
3364 3364 }
3365 3365
3366 enterRule(); 3366 }
3367 3367
3368 try { 3368 catch (RecognitionException re) {
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 recover(input,re);
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 appendSkippedTokens();
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 finally {
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 return current;
3375 otherlv_0=(Token)match(input,25,FOLLOW_20); 3375 }
3376 3376 // $ANTLR end "entryRuleFolderEntry"
3377 newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); 3377
3378 3378
3379 // InternalApplicationConfiguration.g:1194:3: ( (lv_path_1_0= ruleFile ) ) 3379 // $ANTLR start "ruleFolderEntry"
3380 // InternalApplicationConfiguration.g:1195:4: (lv_path_1_0= ruleFile ) 3380 // InternalApplicationConfiguration.g:1191: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= '}' )? ) ;
3381 { 3381 public final EObject ruleFolderEntry() throws RecognitionException {
3382 // InternalApplicationConfiguration.g:1195:4: (lv_path_1_0= ruleFile ) 3382 EObject current = null;
3383 // InternalApplicationConfiguration.g:1196:5: lv_path_1_0= ruleFile 3383
3384 { 3384 Token otherlv_0=null;
3385 3385 Token otherlv_2=null;
3386 newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); 3386 Token otherlv_3=null;
3387 3387 Token otherlv_5=null;
3388 pushFollow(FOLLOW_15); 3388 Token otherlv_7=null;
3389 lv_path_1_0=ruleFile(); 3389 EObject lv_path_1_0 = null;
3390 3390
3391 state._fsp--; 3391 EObject lv_exclusion_4_0 = null;
3392 3392
3393 3393 EObject lv_exclusion_6_0 = null;
3394 if (current==null) { 3394
3395 current = createModelElementForParent(grammarAccess.getFolderEntryRule()); 3395
3396 } 3396
3397 set( 3397 enterRule();
3398 current, 3398
3399 "path", 3399 try {
3400 lv_path_1_0, 3400 // InternalApplicationConfiguration.g:1197: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= '}' )? ) )
3401 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 3401 // InternalApplicationConfiguration.g:1198: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= '}' )? )
3402 afterParserOrEnumRuleCall(); 3402 {
3403 3403 // InternalApplicationConfiguration.g:1198: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= '}' )? )
3404 3404 // InternalApplicationConfiguration.g:1199: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= '}' )?
3405 } 3405 {
3406 3406 otherlv_0=(Token)match(input,25,FOLLOW_20);
3407 3407
3408 } 3408 newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0());
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 // InternalApplicationConfiguration.g:1203:3: ( (lv_path_1_0= ruleFile ) )
3411 int alt20=2; 3411 // InternalApplicationConfiguration.g:1204:4: (lv_path_1_0= ruleFile )
3412 int LA20_0 = input.LA(1); 3412 {
3413 3413 // InternalApplicationConfiguration.g:1204:4: (lv_path_1_0= ruleFile )
3414 if ( (LA20_0==22) ) { 3414 // InternalApplicationConfiguration.g:1205:5: lv_path_1_0= ruleFile
3415 alt20=1; 3415 {
3416 } 3416
3417 switch (alt20) { 3417 newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0());
3418 case 1 : 3418
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 pushFollow(FOLLOW_15);
3420 { 3420 lv_path_1_0=ruleFile();
3421 otherlv_2=(Token)match(input,22,FOLLOW_16); 3421
3422 3422 state._fsp--;
3423 newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); 3423
3424 3424
3425 otherlv_3=(Token)match(input,18,FOLLOW_20); 3425 if (current==null) {
3426 3426 current = createModelElementForParent(grammarAccess.getFolderEntryRule());
3427 newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); 3427 }
3428 3428 set(
3429 // InternalApplicationConfiguration.g:1222:4: ( (lv_exclusion_4_0= ruleModelEntry ) ) 3429 current,
3430 // InternalApplicationConfiguration.g:1223:5: (lv_exclusion_4_0= ruleModelEntry ) 3430 "path",
3431 { 3431 lv_path_1_0,
3432 // InternalApplicationConfiguration.g:1223:5: (lv_exclusion_4_0= ruleModelEntry ) 3432 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
3433 // InternalApplicationConfiguration.g:1224:6: lv_exclusion_4_0= ruleModelEntry 3433 afterParserOrEnumRuleCall();
3434 { 3434
3435 3435
3436 newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); 3436 }
3437 3437
3438 pushFollow(FOLLOW_14); 3438
3439 lv_exclusion_4_0=ruleModelEntry(); 3439 }
3440 3440
3441 state._fsp--; 3441 // InternalApplicationConfiguration.g:1222:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )?
3442 3442 int alt20=2;
3443 3443 int LA20_0 = input.LA(1);
3444 if (current==null) { 3444
3445 current = createModelElementForParent(grammarAccess.getFolderEntryRule()); 3445 if ( (LA20_0==22) ) {
3446 } 3446 alt20=1;
3447 add( 3447 }
3448 current, 3448 switch (alt20) {
3449 "exclusion", 3449 case 1 :
3450 lv_exclusion_4_0, 3450 // InternalApplicationConfiguration.g:1223:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}'
3451 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); 3451 {
3452 afterParserOrEnumRuleCall(); 3452 otherlv_2=(Token)match(input,22,FOLLOW_16);
3453 3453
3454 3454 newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0());
3455 } 3455
3456 3456 otherlv_3=(Token)match(input,18,FOLLOW_20);
3457 3457
3458 } 3458 newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1());
3459 3459
3460 // InternalApplicationConfiguration.g:1241:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* 3460 // InternalApplicationConfiguration.g:1231:4: ( (lv_exclusion_4_0= ruleModelEntry ) )
3461 loop19: 3461 // InternalApplicationConfiguration.g:1232:5: (lv_exclusion_4_0= ruleModelEntry )
3462 do { 3462 {
3463 int alt19=2; 3463 // InternalApplicationConfiguration.g:1232:5: (lv_exclusion_4_0= ruleModelEntry )
3464 int LA19_0 = input.LA(1); 3464 // InternalApplicationConfiguration.g:1233:6: lv_exclusion_4_0= ruleModelEntry
3465 3465 {
3466 if ( (LA19_0==19) ) { 3466
3467 alt19=1; 3467 newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0());
3468 } 3468
3469 3469 pushFollow(FOLLOW_14);
3470 3470 lv_exclusion_4_0=ruleModelEntry();
3471 switch (alt19) { 3471
3472 case 1 : 3472 state._fsp--;
3473 // InternalApplicationConfiguration.g:1242:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) 3473
3474 { 3474
3475 otherlv_5=(Token)match(input,19,FOLLOW_20); 3475 if (current==null) {
3476 3476 current = createModelElementForParent(grammarAccess.getFolderEntryRule());
3477 newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); 3477 }
3478 3478 add(
3479 // InternalApplicationConfiguration.g:1246:5: ( (lv_exclusion_6_0= ruleModelEntry ) ) 3479 current,
3480 // InternalApplicationConfiguration.g:1247:6: (lv_exclusion_6_0= ruleModelEntry ) 3480 "exclusion",
3481 { 3481 lv_exclusion_4_0,
3482 // InternalApplicationConfiguration.g:1247:6: (lv_exclusion_6_0= ruleModelEntry ) 3482 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry");
3483 // InternalApplicationConfiguration.g:1248:7: lv_exclusion_6_0= ruleModelEntry 3483 afterParserOrEnumRuleCall();
3484 { 3484
3485 3485
3486 newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); 3486 }
3487 3487
3488 pushFollow(FOLLOW_14); 3488
3489 lv_exclusion_6_0=ruleModelEntry(); 3489 }
3490 3490
3491 state._fsp--; 3491 // InternalApplicationConfiguration.g:1250:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )*
3492 3492 loop19:
3493 3493 do {
3494 if (current==null) { 3494 int alt19=2;
3495 current = createModelElementForParent(grammarAccess.getFolderEntryRule()); 3495 int LA19_0 = input.LA(1);
3496 } 3496
3497 add( 3497 if ( (LA19_0==19) ) {
3498 current, 3498 alt19=1;
3499 "exclusion", 3499 }
3500 lv_exclusion_6_0, 3500
3501 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); 3501
3502 afterParserOrEnumRuleCall(); 3502 switch (alt19) {
3503 3503 case 1 :
3504 3504 // InternalApplicationConfiguration.g:1251:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) )
3505 } 3505 {
3506 3506 otherlv_5=(Token)match(input,19,FOLLOW_20);
3507 3507
3508 } 3508 newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0());
3509 3509
3510 3510 // InternalApplicationConfiguration.g:1255:5: ( (lv_exclusion_6_0= ruleModelEntry ) )
3511 } 3511 // InternalApplicationConfiguration.g:1256:6: (lv_exclusion_6_0= ruleModelEntry )
3512 break; 3512 {
3513 3513 // InternalApplicationConfiguration.g:1256:6: (lv_exclusion_6_0= ruleModelEntry )
3514 default : 3514 // InternalApplicationConfiguration.g:1257:7: lv_exclusion_6_0= ruleModelEntry
3515 break loop19; 3515 {
3516 } 3516
3517 } while (true); 3517 newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0());
3518 3518
3519 otherlv_7=(Token)match(input,20,FOLLOW_2); 3519 pushFollow(FOLLOW_14);
3520 3520 lv_exclusion_6_0=ruleModelEntry();
3521 newLeafNode(otherlv_7, grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); 3521
3522 3522 state._fsp--;
3523 3523
3524 } 3524
3525 break; 3525 if (current==null) {
3526 3526 current = createModelElementForParent(grammarAccess.getFolderEntryRule());
3527 } 3527 }
3528 3528 add(
3529 3529 current,
3530 } 3530 "exclusion",
3531 3531 lv_exclusion_6_0,
3532 3532 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry");
3533 } 3533 afterParserOrEnumRuleCall();
3534 3534
3535 3535
3536 leaveRule(); 3536 }
3537 3537
3538 } 3538
3539 3539 }
3540 catch (RecognitionException re) { 3540
3541 recover(input,re); 3541
3542 appendSkippedTokens(); 3542 }
3543 } 3543 break;
3544 finally { 3544
3545 } 3545 default :
3546 return current; 3546 break loop19;
3547 } 3547 }
3548 // $ANTLR end "ruleFolderEntry" 3548 } while (true);
3549 3549
3550 3550 otherlv_7=(Token)match(input,20,FOLLOW_2);
3551 // $ANTLR start "entryRulePartialModelDeclaration" 3551
3552 // InternalApplicationConfiguration.g:1275:1: entryRulePartialModelDeclaration returns [EObject current=null] : iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ; 3552 newLeafNode(otherlv_7, grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4());
3553 public final EObject entryRulePartialModelDeclaration() throws RecognitionException { 3553
3554 EObject current = null; 3554
3555 3555 }
3556 EObject iv_rulePartialModelDeclaration = null; 3556 break;
3557 3557
3558 3558 }
3559 try { 3559
3560 // InternalApplicationConfiguration.g:1275:64: (iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ) 3560
3561 // InternalApplicationConfiguration.g:1276:2: iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF 3561 }
3562 { 3562
3563 newCompositeNode(grammarAccess.getPartialModelDeclarationRule()); 3563
3564 pushFollow(FOLLOW_1); 3564 }
3565 iv_rulePartialModelDeclaration=rulePartialModelDeclaration(); 3565
3566 3566
3567 state._fsp--; 3567 leaveRule();
3568 3568
3569 current =iv_rulePartialModelDeclaration; 3569 }
3570 match(input,EOF,FOLLOW_2); 3570
3571 3571 catch (RecognitionException re) {
3572 } 3572 recover(input,re);
3573 3573 appendSkippedTokens();
3574 } 3574 }
3575 3575 finally {
3576 catch (RecognitionException re) { 3576 }
3577 recover(input,re); 3577 return current;
3578 appendSkippedTokens(); 3578 }
3579 } 3579 // $ANTLR end "ruleFolderEntry"
3580 finally { 3580
3581 } 3581
3582 return current; 3582 // $ANTLR start "entryRulePartialModelDeclaration"
3583 } 3583 // InternalApplicationConfiguration.g:1284:1: entryRulePartialModelDeclaration returns [EObject current=null] : iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ;
3584 // $ANTLR end "entryRulePartialModelDeclaration" 3584 public final EObject entryRulePartialModelDeclaration() throws RecognitionException {
3585 3585 EObject current = null;
3586 3586
3587 // $ANTLR start "rulePartialModelDeclaration" 3587 EObject iv_rulePartialModelDeclaration = null;
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
3590 EObject current = null; 3590 try {
3591 3591 // InternalApplicationConfiguration.g:1284:64: (iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF )
3592 Token otherlv_0=null; 3592 // InternalApplicationConfiguration.g:1285:2: iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF
3593 Token lv_name_1_0=null; 3593 {
3594 EObject lv_specification_2_0 = null; 3594 newCompositeNode(grammarAccess.getPartialModelDeclarationRule());
3595 3595 pushFollow(FOLLOW_1);
3596 3596 iv_rulePartialModelDeclaration=rulePartialModelDeclaration();
3597 3597
3598 enterRule(); 3598 state._fsp--;
3599 3599
3600 try { 3600 current =iv_rulePartialModelDeclaration;
3601 // InternalApplicationConfiguration.g:1288:2: ( (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ) 3601 match(input,EOF,FOLLOW_2);
3602 // InternalApplicationConfiguration.g:1289:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) 3602
3603 { 3603 }
3604 // InternalApplicationConfiguration.g:1289:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) 3604
3605 // InternalApplicationConfiguration.g:1290:3: otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) 3605 }
3606 { 3606
3607 otherlv_0=(Token)match(input,26,FOLLOW_6); 3607 catch (RecognitionException re) {
3608 3608 recover(input,re);
3609 newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); 3609 appendSkippedTokens();
3610 3610 }
3611 // InternalApplicationConfiguration.g:1294:3: ( (lv_name_1_0= RULE_ID ) ) 3611 finally {
3612 // InternalApplicationConfiguration.g:1295:4: (lv_name_1_0= RULE_ID ) 3612 }
3613 { 3613 return current;
3614 // InternalApplicationConfiguration.g:1295:4: (lv_name_1_0= RULE_ID ) 3614 }
3615 // InternalApplicationConfiguration.g:1296:5: lv_name_1_0= RULE_ID 3615 // $ANTLR end "entryRulePartialModelDeclaration"
3616 { 3616
3617 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); 3617
3618 3618 // $ANTLR start "rulePartialModelDeclaration"
3619 newLeafNode(lv_name_1_0, grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 3619 // InternalApplicationConfiguration.g:1291:1: rulePartialModelDeclaration returns [EObject current=null] : (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ;
3620 3620 public final EObject rulePartialModelDeclaration() throws RecognitionException {
3621 3621 EObject current = null;
3622 if (current==null) { 3622
3623 current = createModelElement(grammarAccess.getPartialModelDeclarationRule()); 3623 Token otherlv_0=null;
3624 } 3624 Token lv_name_1_0=null;
3625 setWithLastConsumed( 3625 EObject lv_specification_2_0 = null;
3626 current, 3626
3627 "name", 3627
3628 lv_name_1_0, 3628
3629 "org.eclipse.xtext.common.Terminals.ID"); 3629 enterRule();
3630 3630
3631 3631 try {
3632 } 3632 // InternalApplicationConfiguration.g:1297:2: ( (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) )
3633 3633 // InternalApplicationConfiguration.g:1298:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) )
3634 3634 {
3635 } 3635 // InternalApplicationConfiguration.g:1298:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) )
3636 3636 // InternalApplicationConfiguration.g:1299:3: otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) )
3637 // InternalApplicationConfiguration.g:1312:3: ( (lv_specification_2_0= rulePartialModelSpecification ) ) 3637 {
3638 // InternalApplicationConfiguration.g:1313:4: (lv_specification_2_0= rulePartialModelSpecification ) 3638 otherlv_0=(Token)match(input,26,FOLLOW_6);
3639 { 3639
3640 // InternalApplicationConfiguration.g:1313:4: (lv_specification_2_0= rulePartialModelSpecification ) 3640 newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0());
3641 // InternalApplicationConfiguration.g:1314:5: lv_specification_2_0= rulePartialModelSpecification 3641
3642 { 3642 // InternalApplicationConfiguration.g:1303:3: ( (lv_name_1_0= RULE_ID ) )
3643 3643 // InternalApplicationConfiguration.g:1304:4: (lv_name_1_0= RULE_ID )
3644 newCompositeNode(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); 3644 {
3645 3645 // InternalApplicationConfiguration.g:1304:4: (lv_name_1_0= RULE_ID )
3646 pushFollow(FOLLOW_2); 3646 // InternalApplicationConfiguration.g:1305:5: lv_name_1_0= RULE_ID
3647 lv_specification_2_0=rulePartialModelSpecification(); 3647 {
3648 3648 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16);
3649 state._fsp--; 3649
3650 3650 newLeafNode(lv_name_1_0, grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0());
3651 3651
3652 if (current==null) { 3652
3653 current = createModelElementForParent(grammarAccess.getPartialModelDeclarationRule()); 3653 if (current==null) {
3654 } 3654 current = createModelElement(grammarAccess.getPartialModelDeclarationRule());
3655 set( 3655 }
3656 current, 3656 setWithLastConsumed(
3657 "specification", 3657 current,
3658 lv_specification_2_0, 3658 "name",
3659 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification"); 3659 lv_name_1_0,
3660 afterParserOrEnumRuleCall(); 3660 "org.eclipse.xtext.common.Terminals.ID");
3661 3661
3662 3662
3663 } 3663 }
3664 3664
3665 3665
3666 } 3666 }
3667 3667
3668 3668 // InternalApplicationConfiguration.g:1321:3: ( (lv_specification_2_0= rulePartialModelSpecification ) )
3669 } 3669 // InternalApplicationConfiguration.g:1322:4: (lv_specification_2_0= rulePartialModelSpecification )
3670 3670 {
3671 3671 // InternalApplicationConfiguration.g:1322:4: (lv_specification_2_0= rulePartialModelSpecification )
3672 } 3672 // InternalApplicationConfiguration.g:1323:5: lv_specification_2_0= rulePartialModelSpecification
3673 3673 {
3674 3674
3675 leaveRule(); 3675 newCompositeNode(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0());
3676 3676
3677 } 3677 pushFollow(FOLLOW_2);
3678 3678 lv_specification_2_0=rulePartialModelSpecification();
3679 catch (RecognitionException re) { 3679
3680 recover(input,re); 3680 state._fsp--;
3681 appendSkippedTokens(); 3681
3682 } 3682
3683 finally { 3683 if (current==null) {
3684 } 3684 current = createModelElementForParent(grammarAccess.getPartialModelDeclarationRule());
3685 return current; 3685 }
3686 } 3686 set(
3687 // $ANTLR end "rulePartialModelDeclaration" 3687 current,
3688 3688 "specification",
3689 3689 lv_specification_2_0,
3690 // $ANTLR start "entryRulePartialModelReference" 3690 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification");
3691 // InternalApplicationConfiguration.g:1335:1: entryRulePartialModelReference returns [EObject current=null] : iv_rulePartialModelReference= rulePartialModelReference EOF ; 3691 afterParserOrEnumRuleCall();
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
3703 pushFollow(FOLLOW_1); 3703 }
3704 iv_rulePartialModelReference=rulePartialModelReference(); 3704
3705 3705
3706 state._fsp--; 3706 leaveRule();
3707 3707
3708 current =iv_rulePartialModelReference; 3708 }
3709 match(input,EOF,FOLLOW_2); 3709
3710 3710 catch (RecognitionException re) {
3711 } 3711 recover(input,re);
3712 3712 appendSkippedTokens();
3713 } 3713 }
3714 3714 finally {
3715 catch (RecognitionException re) { 3715 }
3716 recover(input,re); 3716 return current;
3717 appendSkippedTokens(); 3717 }
3718 } 3718 // $ANTLR end "rulePartialModelDeclaration"
3719 finally { 3719
3720 } 3720
3721 return current; 3721 // $ANTLR start "entryRulePartialModelReference"
3722 } 3722 // InternalApplicationConfiguration.g:1344:1: entryRulePartialModelReference returns [EObject current=null] : iv_rulePartialModelReference= rulePartialModelReference EOF ;
3723 // $ANTLR end "entryRulePartialModelReference" 3723 public final EObject entryRulePartialModelReference() throws RecognitionException {
3724 3724 EObject current = null;
3725 3725
3726 // $ANTLR start "rulePartialModelReference" 3726 EObject iv_rulePartialModelReference = null;
3727 // InternalApplicationConfiguration.g:1342:1: rulePartialModelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; 3727
3728 public final EObject rulePartialModelReference() throws RecognitionException { 3728
3729 EObject current = null; 3729 try {
3730 3730 // InternalApplicationConfiguration.g:1344:62: (iv_rulePartialModelReference= rulePartialModelReference EOF )
3731 Token otherlv_0=null; 3731 // InternalApplicationConfiguration.g:1345:2: iv_rulePartialModelReference= rulePartialModelReference EOF
3732 3732 {
3733 3733 newCompositeNode(grammarAccess.getPartialModelReferenceRule());
3734 enterRule(); 3734 pushFollow(FOLLOW_1);
3735 3735 iv_rulePartialModelReference=rulePartialModelReference();
3736 try { 3736
3737 // InternalApplicationConfiguration.g:1348:2: ( ( (otherlv_0= RULE_ID ) ) ) 3737 state._fsp--;
3738 // InternalApplicationConfiguration.g:1349:2: ( (otherlv_0= RULE_ID ) ) 3738
3739 { 3739 current =iv_rulePartialModelReference;
3740 // InternalApplicationConfiguration.g:1349:2: ( (otherlv_0= RULE_ID ) ) 3740 match(input,EOF,FOLLOW_2);
3741 // InternalApplicationConfiguration.g:1350:3: (otherlv_0= RULE_ID ) 3741
3742 { 3742 }
3743 // InternalApplicationConfiguration.g:1350:3: (otherlv_0= RULE_ID ) 3743
3744 // InternalApplicationConfiguration.g:1351:4: otherlv_0= RULE_ID 3744 }
3745 { 3745
3746 3746 catch (RecognitionException re) {
3747 if (current==null) { 3747 recover(input,re);
3748 current = createModelElement(grammarAccess.getPartialModelReferenceRule()); 3748 appendSkippedTokens();
3749 } 3749 }
3750 3750 finally {
3751 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); 3751 }
3752 3752 return current;
3753 newLeafNode(otherlv_0, grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); 3753 }
3754 3754 // $ANTLR end "entryRulePartialModelReference"
3755 3755
3756 } 3756
3757 3757 // $ANTLR start "rulePartialModelReference"
3758 3758 // InternalApplicationConfiguration.g:1351:1: rulePartialModelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
3759 } 3759 public final EObject rulePartialModelReference() throws RecognitionException {
3760 3760 EObject current = null;
3761 3761
3762 } 3762 Token otherlv_0=null;
3763 3763
3764 3764
3765 leaveRule(); 3765 enterRule();
3766 3766
3767 } 3767 try {
3768 3768 // InternalApplicationConfiguration.g:1357:2: ( ( (otherlv_0= RULE_ID ) ) )
3769 catch (RecognitionException re) { 3769 // InternalApplicationConfiguration.g:1358:2: ( (otherlv_0= RULE_ID ) )
3770 recover(input,re); 3770 {
3771 appendSkippedTokens(); 3771 // InternalApplicationConfiguration.g:1358:2: ( (otherlv_0= RULE_ID ) )
3772 } 3772 // InternalApplicationConfiguration.g:1359:3: (otherlv_0= RULE_ID )
3773 finally { 3773 {
3774 } 3774 // InternalApplicationConfiguration.g:1359:3: (otherlv_0= RULE_ID )
3775 return current; 3775 // InternalApplicationConfiguration.g:1360:4: otherlv_0= RULE_ID
3776 } 3776 {
3777 // $ANTLR end "rulePartialModelReference" 3777
3778 3778 if (current==null) {
3779 3779 current = createModelElement(grammarAccess.getPartialModelReferenceRule());
3780 // $ANTLR start "entryRulePartialModel" 3780 }
3781 // InternalApplicationConfiguration.g:1365:1: entryRulePartialModel returns [EObject current=null] : iv_rulePartialModel= rulePartialModel EOF ; 3781
3782 public final EObject entryRulePartialModel() throws RecognitionException { 3782 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2);
3783 EObject current = null; 3783
3784 3784 newLeafNode(otherlv_0, grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0());
3785 EObject iv_rulePartialModel = null; 3785
3786 3786
3787 3787 }
3788 try { 3788
3789 // InternalApplicationConfiguration.g:1365:53: (iv_rulePartialModel= rulePartialModel EOF ) 3789
3790 // InternalApplicationConfiguration.g:1366:2: iv_rulePartialModel= rulePartialModel EOF 3790 }
3791 { 3791
3792 newCompositeNode(grammarAccess.getPartialModelRule()); 3792
3793 pushFollow(FOLLOW_1); 3793 }
3794 iv_rulePartialModel=rulePartialModel(); 3794
3795 3795
3796 state._fsp--; 3796 leaveRule();
3797 3797
3798 current =iv_rulePartialModel; 3798 }
3799 match(input,EOF,FOLLOW_2); 3799
3800 3800 catch (RecognitionException re) {
3801 } 3801 recover(input,re);
3802 3802 appendSkippedTokens();
3803 } 3803 }
3804 3804 finally {
3805 catch (RecognitionException re) { 3805 }
3806 recover(input,re); 3806 return current;
3807 appendSkippedTokens(); 3807 }
3808 } 3808 // $ANTLR end "rulePartialModelReference"
3809 finally { 3809
3810 } 3810
3811 return current; 3811 // $ANTLR start "entryRulePartialModel"
3812 } 3812 // InternalApplicationConfiguration.g:1374:1: entryRulePartialModel returns [EObject current=null] : iv_rulePartialModel= rulePartialModel EOF ;
3813 // $ANTLR end "entryRulePartialModel" 3813 public final EObject entryRulePartialModel() throws RecognitionException {
3814 3814 EObject current = null;
3815 3815
3816 // $ANTLR start "rulePartialModel" 3816 EObject iv_rulePartialModel = null;
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
3819 EObject current = null; 3819 try {
3820 3820 // InternalApplicationConfiguration.g:1374:53: (iv_rulePartialModel= rulePartialModel EOF )
3821 EObject this_PartialModelSpecification_0 = null; 3821 // InternalApplicationConfiguration.g:1375:2: iv_rulePartialModel= rulePartialModel EOF
3822 3822 {
3823 EObject this_PartialModelReference_1 = null; 3823 newCompositeNode(grammarAccess.getPartialModelRule());
3824 3824 pushFollow(FOLLOW_1);
3825 3825 iv_rulePartialModel=rulePartialModel();
3826 3826
3827 enterRule(); 3827 state._fsp--;
3828 3828
3829 try { 3829 current =iv_rulePartialModel;
3830 // InternalApplicationConfiguration.g:1378:2: ( (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ) 3830 match(input,EOF,FOLLOW_2);
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 catch (RecognitionException re) {
3837 if ( (LA21_0==18) ) { 3837 recover(input,re);
3838 alt21=1; 3838 appendSkippedTokens();
3839 } 3839 }
3840 else if ( (LA21_0==RULE_ID) ) { 3840 finally {
3841 alt21=2; 3841 }
3842 } 3842 return current;
3843 else { 3843 }
3844 NoViableAltException nvae = 3844 // $ANTLR end "entryRulePartialModel"
3845 new NoViableAltException("", 21, 0, input); 3845
3846 3846
3847 throw nvae; 3847 // $ANTLR start "rulePartialModel"
3848 } 3848 // InternalApplicationConfiguration.g:1381:1: rulePartialModel returns [EObject current=null] : (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ;
3849 switch (alt21) { 3849 public final EObject rulePartialModel() throws RecognitionException {
3850 case 1 : 3850 EObject current = null;
3851 // InternalApplicationConfiguration.g:1380:3: this_PartialModelSpecification_0= rulePartialModelSpecification 3851
3852 { 3852 EObject this_PartialModelSpecification_0 = null;
3853 3853
3854 newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); 3854 EObject this_PartialModelReference_1 = null;
3855 3855
3856 pushFollow(FOLLOW_2); 3856
3857 this_PartialModelSpecification_0=rulePartialModelSpecification(); 3857
3858 3858 enterRule();
3859 state._fsp--; 3859
3860 3860 try {
3861 3861 // InternalApplicationConfiguration.g:1387:2: ( (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) )
3862 current = this_PartialModelSpecification_0; 3862 // InternalApplicationConfiguration.g:1388:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference )
3863 afterParserOrEnumRuleCall(); 3863 {
3864 3864 // InternalApplicationConfiguration.g:1388:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference )
3865 3865 int alt21=2;
3866 } 3866 int LA21_0 = input.LA(1);
3867 break; 3867
3868 case 2 : 3868 if ( (LA21_0==18) ) {
3869 // InternalApplicationConfiguration.g:1389:3: this_PartialModelReference_1= rulePartialModelReference 3869 alt21=1;
3870 { 3870 }
3871 3871 else if ( (LA21_0==RULE_ID) ) {
3872 newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); 3872 alt21=2;
3873 3873 }
3874 pushFollow(FOLLOW_2); 3874 else {
3875 this_PartialModelReference_1=rulePartialModelReference(); 3875 NoViableAltException nvae =
3876 3876 new NoViableAltException("", 21, 0, input);
3877 state._fsp--; 3877
3878 3878 throw nvae;
3879 3879 }
3880 current = this_PartialModelReference_1; 3880 switch (alt21) {
3881 afterParserOrEnumRuleCall(); 3881 case 1 :
3882 3882 // InternalApplicationConfiguration.g:1389:3: this_PartialModelSpecification_0= rulePartialModelSpecification
3883 3883 {
3884 } 3884
3885 break; 3885 newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0());
3886 3886
3887 } 3887 pushFollow(FOLLOW_2);
3888 3888 this_PartialModelSpecification_0=rulePartialModelSpecification();
3889 3889
3890 } 3890 state._fsp--;
3891 3891
3892 3892
3893 leaveRule(); 3893 current = this_PartialModelSpecification_0;
3894 3894 afterParserOrEnumRuleCall();
3895 } 3895
3896 3896
3897 catch (RecognitionException re) { 3897 }
3898 recover(input,re); 3898 break;
3899 appendSkippedTokens(); 3899 case 2 :
3900 } 3900 // InternalApplicationConfiguration.g:1398:3: this_PartialModelReference_1= rulePartialModelReference
3901 finally { 3901 {
3902 } 3902
3903 return current; 3903 newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1());
3904 } 3904
3905 // $ANTLR end "rulePartialModel" 3905 pushFollow(FOLLOW_2);
3906 3906 this_PartialModelReference_1=rulePartialModelReference();
3907 3907
3908 // $ANTLR start "entryRulePatternSpecification" 3908 state._fsp--;
3909 // InternalApplicationConfiguration.g:1401:1: entryRulePatternSpecification returns [EObject current=null] : iv_rulePatternSpecification= rulePatternSpecification EOF ; 3909
3910 public final EObject entryRulePatternSpecification() throws RecognitionException { 3910
3911 EObject current = null; 3911 current = this_PartialModelReference_1;
3912 3912 afterParserOrEnumRuleCall();
3913 EObject iv_rulePatternSpecification = null; 3913
3914 3914
3915 3915 }
3916 try { 3916 break;
3917 // InternalApplicationConfiguration.g:1401:61: (iv_rulePatternSpecification= rulePatternSpecification EOF ) 3917
3918 // InternalApplicationConfiguration.g:1402:2: iv_rulePatternSpecification= rulePatternSpecification EOF 3918 }
3919 { 3919
3920 newCompositeNode(grammarAccess.getPatternSpecificationRule()); 3920
3921 pushFollow(FOLLOW_1); 3921 }
3922 iv_rulePatternSpecification=rulePatternSpecification(); 3922
3923 3923
3924 state._fsp--; 3924 leaveRule();
3925 3925
3926 current =iv_rulePatternSpecification; 3926 }
3927 match(input,EOF,FOLLOW_2); 3927
3928 3928 catch (RecognitionException re) {
3929 } 3929 recover(input,re);
3930 3930 appendSkippedTokens();
3931 } 3931 }
3932 3932 finally {
3933 catch (RecognitionException re) { 3933 }
3934 recover(input,re); 3934 return current;
3935 appendSkippedTokens(); 3935 }
3936 } 3936 // $ANTLR end "rulePartialModel"
3937 finally { 3937
3938 } 3938
3939 return current; 3939 // $ANTLR start "entryRulePatternSpecification"
3940 } 3940 // InternalApplicationConfiguration.g:1410:1: entryRulePatternSpecification returns [EObject current=null] : iv_rulePatternSpecification= rulePatternSpecification EOF ;
3941 // $ANTLR end "entryRulePatternSpecification" 3941 public final EObject entryRulePatternSpecification() throws RecognitionException {
3942 3942 EObject current = null;
3943 3943
3944 // $ANTLR start "rulePatternSpecification" 3944 EObject iv_rulePatternSpecification = null;
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
3947 EObject current = null; 3947 try {
3948 3948 // InternalApplicationConfiguration.g:1410:61: (iv_rulePatternSpecification= rulePatternSpecification EOF )
3949 Token otherlv_0=null; 3949 // InternalApplicationConfiguration.g:1411:2: iv_rulePatternSpecification= rulePatternSpecification EOF
3950 Token otherlv_2=null; 3950 {
3951 Token otherlv_4=null; 3951 newCompositeNode(grammarAccess.getPatternSpecificationRule());
3952 EObject lv_entries_1_0 = null; 3952 pushFollow(FOLLOW_1);
3953 3953 iv_rulePatternSpecification=rulePatternSpecification();
3954 EObject lv_entries_3_0 = null; 3954
3955 3955 state._fsp--;
3956 3956
3957 3957 current =iv_rulePatternSpecification;
3958 enterRule(); 3958 match(input,EOF,FOLLOW_2);
3959 3959
3960 try { 3960 }
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 }
3963 { 3963
3964 // InternalApplicationConfiguration.g:1415:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) 3964 catch (RecognitionException re) {
3965 // InternalApplicationConfiguration.g:1416:3: otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' 3965 recover(input,re);
3966 { 3966 appendSkippedTokens();
3967 otherlv_0=(Token)match(input,18,FOLLOW_13); 3967 }
3968 3968 finally {
3969 newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); 3969 }
3970 3970 return current;
3971 // InternalApplicationConfiguration.g:1420:3: ( (lv_entries_1_0= rulePatternEntry ) ) 3971 }
3972 // InternalApplicationConfiguration.g:1421:4: (lv_entries_1_0= rulePatternEntry ) 3972 // $ANTLR end "entryRulePatternSpecification"
3973 { 3973
3974 // InternalApplicationConfiguration.g:1421:4: (lv_entries_1_0= rulePatternEntry ) 3974
3975 // InternalApplicationConfiguration.g:1422:5: lv_entries_1_0= rulePatternEntry 3975 // $ANTLR start "rulePatternSpecification"
3976 { 3976 // InternalApplicationConfiguration.g:1417:1: rulePatternSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ;
3977 3977 public final EObject rulePatternSpecification() throws RecognitionException {
3978 newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); 3978 EObject current = null;
3979 3979
3980 pushFollow(FOLLOW_14); 3980 Token otherlv_0=null;
3981 lv_entries_1_0=rulePatternEntry(); 3981 Token otherlv_2=null;
3982 3982 Token otherlv_4=null;
3983 state._fsp--; 3983 EObject lv_entries_1_0 = null;
3984 3984
3985 3985 EObject lv_entries_3_0 = null;
3986 if (current==null) { 3986
3987 current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); 3987
3988 } 3988
3989 add( 3989 enterRule();
3990 current, 3990
3991 "entries", 3991 try {
3992 lv_entries_1_0, 3992 // InternalApplicationConfiguration.g:1423:2: ( (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) )
3993 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); 3993 // InternalApplicationConfiguration.g:1424:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' )
3994 afterParserOrEnumRuleCall(); 3994 {
3995 3995 // InternalApplicationConfiguration.g:1424:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' )
3996 3996 // InternalApplicationConfiguration.g:1425:3: otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}'
3997 } 3997 {
3998 3998 otherlv_0=(Token)match(input,18,FOLLOW_13);
3999 3999
4000 } 4000 newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0());
4001 4001
4002 // InternalApplicationConfiguration.g:1439:3: (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* 4002 // InternalApplicationConfiguration.g:1429:3: ( (lv_entries_1_0= rulePatternEntry ) )
4003 loop22: 4003 // InternalApplicationConfiguration.g:1430:4: (lv_entries_1_0= rulePatternEntry )
4004 do { 4004 {
4005 int alt22=2; 4005 // InternalApplicationConfiguration.g:1430:4: (lv_entries_1_0= rulePatternEntry )
4006 int LA22_0 = input.LA(1); 4006 // InternalApplicationConfiguration.g:1431:5: lv_entries_1_0= rulePatternEntry
4007 4007 {
4008 if ( (LA22_0==19) ) { 4008
4009 alt22=1; 4009 newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0());
4010 } 4010
4011 4011 pushFollow(FOLLOW_14);
4012 4012 lv_entries_1_0=rulePatternEntry();
4013 switch (alt22) { 4013
4014 case 1 : 4014 state._fsp--;
4015 // InternalApplicationConfiguration.g:1440:4: otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) 4015
4016 { 4016
4017 otherlv_2=(Token)match(input,19,FOLLOW_13); 4017 if (current==null) {
4018 4018 current = createModelElementForParent(grammarAccess.getPatternSpecificationRule());
4019 newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); 4019 }
4020 4020 add(
4021 // InternalApplicationConfiguration.g:1444:4: ( (lv_entries_3_0= rulePatternEntry ) ) 4021 current,
4022 // InternalApplicationConfiguration.g:1445:5: (lv_entries_3_0= rulePatternEntry ) 4022 "entries",
4023 { 4023 lv_entries_1_0,
4024 // InternalApplicationConfiguration.g:1445:5: (lv_entries_3_0= rulePatternEntry ) 4024 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry");
4025 // InternalApplicationConfiguration.g:1446:6: lv_entries_3_0= rulePatternEntry 4025 afterParserOrEnumRuleCall();
4026 { 4026
4027 4027
4028 newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); 4028 }
4029 4029
4030 pushFollow(FOLLOW_14); 4030
4031 lv_entries_3_0=rulePatternEntry(); 4031 }
4032 4032
4033 state._fsp--; 4033 // InternalApplicationConfiguration.g:1448:3: (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )*
4034 4034 loop22:
4035 4035 do {
4036 if (current==null) { 4036 int alt22=2;
4037 current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); 4037 int LA22_0 = input.LA(1);
4038 } 4038
4039 add( 4039 if ( (LA22_0==19) ) {
4040 current, 4040 alt22=1;
4041 "entries", 4041 }
4042 lv_entries_3_0, 4042
4043 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); 4043
4044 afterParserOrEnumRuleCall(); 4044 switch (alt22) {
4045 4045 case 1 :
4046 4046 // InternalApplicationConfiguration.g:1449:4: otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) )
4047 } 4047 {
4048 4048 otherlv_2=(Token)match(input,19,FOLLOW_13);
4049 4049
4050 } 4050 newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0());
4051 4051
4052 4052 // InternalApplicationConfiguration.g:1453:4: ( (lv_entries_3_0= rulePatternEntry ) )
4053 } 4053 // InternalApplicationConfiguration.g:1454:5: (lv_entries_3_0= rulePatternEntry )
4054 break; 4054 {
4055 4055 // InternalApplicationConfiguration.g:1454:5: (lv_entries_3_0= rulePatternEntry )
4056 default : 4056 // InternalApplicationConfiguration.g:1455:6: lv_entries_3_0= rulePatternEntry
4057 break loop22; 4057 {
4058 } 4058
4059 } while (true); 4059 newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0());
4060 4060
4061 otherlv_4=(Token)match(input,20,FOLLOW_2); 4061 pushFollow(FOLLOW_14);
4062 4062 lv_entries_3_0=rulePatternEntry();
4063 newLeafNode(otherlv_4, grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); 4063
4064 4064 state._fsp--;
4065 4065
4066 } 4066
4067 4067 if (current==null) {
4068 4068 current = createModelElementForParent(grammarAccess.getPatternSpecificationRule());
4069 } 4069 }
4070 4070 add(
4071 4071 current,
4072 leaveRule(); 4072 "entries",
4073 4073 lv_entries_3_0,
4074 } 4074 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry");
4075 4075 afterParserOrEnumRuleCall();
4076 catch (RecognitionException re) { 4076
4077 recover(input,re); 4077
4078 appendSkippedTokens(); 4078 }
4079 } 4079
4080 finally { 4080
4081 } 4081 }
4082 return current; 4082
4083 } 4083
4084 // $ANTLR end "rulePatternSpecification" 4084 }
4085 4085 break;
4086 4086
4087 // $ANTLR start "entryRulePatternEntry" 4087 default :
4088 // InternalApplicationConfiguration.g:1472:1: entryRulePatternEntry returns [EObject current=null] : iv_rulePatternEntry= rulePatternEntry EOF ; 4088 break loop22;
4089 public final EObject entryRulePatternEntry() throws RecognitionException { 4089 }
4090 EObject current = null; 4090 } while (true);
4091 4091
4092 EObject iv_rulePatternEntry = null; 4092 otherlv_4=(Token)match(input,20,FOLLOW_2);
4093 4093
4094 4094 newLeafNode(otherlv_4, grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3());
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
4100 pushFollow(FOLLOW_1); 4100 }
4101 iv_rulePatternEntry=rulePatternEntry(); 4101
4102 4102
4103 state._fsp--; 4103 leaveRule();
4104 4104
4105 current =iv_rulePatternEntry; 4105 }
4106 match(input,EOF,FOLLOW_2); 4106
4107 4107 catch (RecognitionException re) {
4108 } 4108 recover(input,re);
4109 4109 appendSkippedTokens();
4110 } 4110 }
4111 4111 finally {
4112 catch (RecognitionException re) { 4112 }
4113 recover(input,re); 4113 return current;
4114 appendSkippedTokens(); 4114 }
4115 } 4115 // $ANTLR end "rulePatternSpecification"
4116 finally { 4116
4117 } 4117
4118 return current; 4118 // $ANTLR start "entryRulePatternEntry"
4119 } 4119 // InternalApplicationConfiguration.g:1481:1: entryRulePatternEntry returns [EObject current=null] : iv_rulePatternEntry= rulePatternEntry EOF ;
4120 // $ANTLR end "entryRulePatternEntry" 4120 public final EObject entryRulePatternEntry() throws RecognitionException {
4121 4121 EObject current = null;
4122 4122
4123 // $ANTLR start "rulePatternEntry" 4123 EObject iv_rulePatternEntry = null;
4124 // InternalApplicationConfiguration.g:1479:1: rulePatternEntry returns [EObject current=null] : (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ; 4124
4125 public final EObject rulePatternEntry() throws RecognitionException { 4125
4126 EObject current = null; 4126 try {
4127 4127 // InternalApplicationConfiguration.g:1481:53: (iv_rulePatternEntry= rulePatternEntry EOF )
4128 EObject this_PatternElement_0 = null; 4128 // InternalApplicationConfiguration.g:1482:2: iv_rulePatternEntry= rulePatternEntry EOF
4129 4129 {
4130 EObject this_AllPatternEntry_1 = null; 4130 newCompositeNode(grammarAccess.getPatternEntryRule());
4131 4131 pushFollow(FOLLOW_1);
4132 4132 iv_rulePatternEntry=rulePatternEntry();
4133 4133
4134 enterRule(); 4134 state._fsp--;
4135 4135
4136 try { 4136 current =iv_rulePatternEntry;
4137 // InternalApplicationConfiguration.g:1485:2: ( (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ) 4137 match(input,EOF,FOLLOW_2);
4138 // InternalApplicationConfiguration.g:1486:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) 4138
4139 { 4139 }
4140 // InternalApplicationConfiguration.g:1486:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) 4140
4141 int alt23=2; 4141 }
4142 int LA23_0 = input.LA(1); 4142
4143 4143 catch (RecognitionException re) {
4144 if ( (LA23_0==RULE_ID) ) { 4144 recover(input,re);
4145 alt23=1; 4145 appendSkippedTokens();
4146 } 4146 }
4147 else if ( (LA23_0==21) ) { 4147 finally {
4148 alt23=2; 4148 }
4149 } 4149 return current;
4150 else { 4150 }
4151 NoViableAltException nvae = 4151 // $ANTLR end "entryRulePatternEntry"
4152 new NoViableAltException("", 23, 0, input); 4152
4153 4153
4154 throw nvae; 4154 // $ANTLR start "rulePatternEntry"
4155 } 4155 // InternalApplicationConfiguration.g:1488:1: rulePatternEntry returns [EObject current=null] : (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ;
4156 switch (alt23) { 4156 public final EObject rulePatternEntry() throws RecognitionException {
4157 case 1 : 4157 EObject current = null;
4158 // InternalApplicationConfiguration.g:1487:3: this_PatternElement_0= rulePatternElement 4158
4159 { 4159 EObject this_PatternElement_0 = null;
4160 4160
4161 newCompositeNode(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); 4161 EObject this_AllPatternEntry_1 = null;
4162 4162
4163 pushFollow(FOLLOW_2); 4163
4164 this_PatternElement_0=rulePatternElement(); 4164
4165 4165 enterRule();
4166 state._fsp--; 4166
4167 4167 try {
4168 4168 // InternalApplicationConfiguration.g:1494:2: ( (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) )
4169 current = this_PatternElement_0; 4169 // InternalApplicationConfiguration.g:1495:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry )
4170 afterParserOrEnumRuleCall(); 4170 {
4171 4171 // InternalApplicationConfiguration.g:1495:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry )
4172 4172 int alt23=2;
4173 } 4173 int LA23_0 = input.LA(1);
4174 break; 4174
4175 case 2 : 4175 if ( (LA23_0==RULE_ID) ) {
4176 // InternalApplicationConfiguration.g:1496:3: this_AllPatternEntry_1= ruleAllPatternEntry 4176 alt23=1;
4177 { 4177 }
4178 4178 else if ( (LA23_0==21) ) {
4179 newCompositeNode(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); 4179 alt23=2;
4180 4180 }
4181 pushFollow(FOLLOW_2); 4181 else {
4182 this_AllPatternEntry_1=ruleAllPatternEntry(); 4182 NoViableAltException nvae =
4183 4183 new NoViableAltException("", 23, 0, input);
4184 state._fsp--; 4184
4185 4185 throw nvae;
4186 4186 }
4187 current = this_AllPatternEntry_1; 4187 switch (alt23) {
4188 afterParserOrEnumRuleCall(); 4188 case 1 :
4189 4189 // InternalApplicationConfiguration.g:1496:3: this_PatternElement_0= rulePatternElement
4190 4190 {
4191 } 4191
4192 break; 4192 newCompositeNode(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0());
4193 4193
4194 } 4194 pushFollow(FOLLOW_2);
4195 4195 this_PatternElement_0=rulePatternElement();
4196 4196
4197 } 4197 state._fsp--;
4198 4198
4199 4199
4200 leaveRule(); 4200 current = this_PatternElement_0;
4201 4201 afterParserOrEnumRuleCall();
4202 } 4202
4203 4203
4204 catch (RecognitionException re) { 4204 }
4205 recover(input,re); 4205 break;
4206 appendSkippedTokens(); 4206 case 2 :
4207 } 4207 // InternalApplicationConfiguration.g:1505:3: this_AllPatternEntry_1= ruleAllPatternEntry
4208 finally { 4208 {
4209 } 4209
4210 return current; 4210 newCompositeNode(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1());
4211 } 4211
4212 // $ANTLR end "rulePatternEntry" 4212 pushFollow(FOLLOW_2);
4213 4213 this_AllPatternEntry_1=ruleAllPatternEntry();
4214 4214
4215 // $ANTLR start "entryRuleAllPatternEntry" 4215 state._fsp--;
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 current = this_AllPatternEntry_1;
4219 4219 afterParserOrEnumRuleCall();
4220 EObject iv_ruleAllPatternEntry = null; 4220
4221 4221
4222 4222 }
4223 try { 4223 break;
4224 // InternalApplicationConfiguration.g:1508:56: (iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ) 4224
4225 // InternalApplicationConfiguration.g:1509:2: iv_ruleAllPatternEntry= ruleAllPatternEntry EOF 4225 }
4226 { 4226
4227 newCompositeNode(grammarAccess.getAllPatternEntryRule()); 4227
4228 pushFollow(FOLLOW_1); 4228 }
4229 iv_ruleAllPatternEntry=ruleAllPatternEntry(); 4229
4230 4230
4231 state._fsp--; 4231 leaveRule();
4232 4232
4233 current =iv_ruleAllPatternEntry; 4233 }
4234 match(input,EOF,FOLLOW_2); 4234
4235 4235 catch (RecognitionException re) {
4236 } 4236 recover(input,re);
4237 4237 appendSkippedTokens();
4238 } 4238 }
4239 4239 finally {
4240 catch (RecognitionException re) { 4240 }
4241 recover(input,re); 4241 return current;
4242 appendSkippedTokens(); 4242 }
4243 } 4243 // $ANTLR end "rulePatternEntry"
4244 finally { 4244
4245 } 4245
4246 return current; 4246 // $ANTLR start "entryRuleAllPatternEntry"
4247 } 4247 // InternalApplicationConfiguration.g:1517:1: entryRuleAllPatternEntry returns [EObject current=null] : iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ;
4248 // $ANTLR end "entryRuleAllPatternEntry" 4248 public final EObject entryRuleAllPatternEntry() throws RecognitionException {
4249 4249 EObject current = null;
4250 4250
4251 // $ANTLR start "ruleAllPatternEntry" 4251 EObject iv_ruleAllPatternEntry = null;
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
4254 EObject current = null; 4254 try {
4255 4255 // InternalApplicationConfiguration.g:1517:56: (iv_ruleAllPatternEntry= ruleAllPatternEntry EOF )
4256 Token otherlv_0=null; 4256 // InternalApplicationConfiguration.g:1518:2: iv_ruleAllPatternEntry= ruleAllPatternEntry EOF
4257 Token otherlv_2=null; 4257 {
4258 Token otherlv_3=null; 4258 newCompositeNode(grammarAccess.getAllPatternEntryRule());
4259 Token otherlv_5=null; 4259 pushFollow(FOLLOW_1);
4260 Token otherlv_7=null; 4260 iv_ruleAllPatternEntry=ruleAllPatternEntry();
4261 EObject lv_exclusuion_4_0 = null; 4261
4262 4262 state._fsp--;
4263 EObject lv_exclusuion_6_0 = null; 4263
4264 4264 current =iv_ruleAllPatternEntry;
4265 4265 match(input,EOF,FOLLOW_2);
4266 4266
4267 enterRule(); 4267 }
4268 4268
4269 try { 4269 }
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 catch (RecognitionException re) {
4272 { 4272 recover(input,re);
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 appendSkippedTokens();
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 finally {
4276 otherlv_0=(Token)match(input,21,FOLLOW_6); 4276 }
4277 4277 return current;
4278 newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); 4278 }
4279 4279 // $ANTLR end "entryRuleAllPatternEntry"
4280 // InternalApplicationConfiguration.g:1527:3: ( ( ruleQualifiedName ) ) 4280
4281 // InternalApplicationConfiguration.g:1528:4: ( ruleQualifiedName ) 4281
4282 { 4282 // $ANTLR start "ruleAllPatternEntry"
4283 // InternalApplicationConfiguration.g:1528:4: ( ruleQualifiedName ) 4283 // InternalApplicationConfiguration.g:1524: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= '}' )? ) ;
4284 // InternalApplicationConfiguration.g:1529:5: ruleQualifiedName 4284 public final EObject ruleAllPatternEntry() throws RecognitionException {
4285 { 4285 EObject current = null;
4286 4286
4287 if (current==null) { 4287 Token otherlv_0=null;
4288 current = createModelElement(grammarAccess.getAllPatternEntryRule()); 4288 Token otherlv_2=null;
4289 } 4289 Token otherlv_3=null;
4290 4290 Token otherlv_5=null;
4291 4291 Token otherlv_7=null;
4292 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); 4292 EObject lv_exclusuion_4_0 = null;
4293 4293
4294 pushFollow(FOLLOW_15); 4294 EObject lv_exclusuion_6_0 = null;
4295 ruleQualifiedName(); 4295
4296 4296
4297 state._fsp--; 4297
4298 4298 enterRule();
4299 4299
4300 afterParserOrEnumRuleCall(); 4300 try {
4301 4301 // InternalApplicationConfiguration.g:1530:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) )
4302 4302 // InternalApplicationConfiguration.g:1531:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? )
4303 } 4303 {
4304 4304 // InternalApplicationConfiguration.g:1531:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? )
4305 4305 // InternalApplicationConfiguration.g:1532:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )?
4306 } 4306 {
4307 4307 otherlv_0=(Token)match(input,21,FOLLOW_6);
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
4309 int alt25=2; 4309 newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0());
4310 int LA25_0 = input.LA(1); 4310
4311 4311 // InternalApplicationConfiguration.g:1536:3: ( ( ruleQualifiedName ) )
4312 if ( (LA25_0==22) ) { 4312 // InternalApplicationConfiguration.g:1537:4: ( ruleQualifiedName )
4313 alt25=1; 4313 {
4314 } 4314 // InternalApplicationConfiguration.g:1537:4: ( ruleQualifiedName )
4315 switch (alt25) { 4315 // InternalApplicationConfiguration.g:1538:5: ruleQualifiedName
4316 case 1 : 4316 {
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
4318 { 4318 if (current==null) {
4319 otherlv_2=(Token)match(input,22,FOLLOW_16); 4319 current = createModelElement(grammarAccess.getAllPatternEntryRule());
4320 4320 }
4321 newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); 4321
4322 4322
4323 otherlv_3=(Token)match(input,18,FOLLOW_6); 4323 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0());
4324 4324
4325 newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); 4325 pushFollow(FOLLOW_15);
4326 4326 ruleQualifiedName();
4327 // InternalApplicationConfiguration.g:1552:4: ( (lv_exclusuion_4_0= rulePatternElement ) ) 4327
4328 // InternalApplicationConfiguration.g:1553:5: (lv_exclusuion_4_0= rulePatternElement ) 4328 state._fsp--;
4329 { 4329
4330 // InternalApplicationConfiguration.g:1553:5: (lv_exclusuion_4_0= rulePatternElement ) 4330
4331 // InternalApplicationConfiguration.g:1554:6: lv_exclusuion_4_0= rulePatternElement 4331 afterParserOrEnumRuleCall();
4332 { 4332
4333 4333
4334 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); 4334 }
4335 4335
4336 pushFollow(FOLLOW_14); 4336
4337 lv_exclusuion_4_0=rulePatternElement(); 4337 }
4338 4338
4339 state._fsp--; 4339 // InternalApplicationConfiguration.g:1552:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )?
4340 4340 int alt25=2;
4341 4341 int LA25_0 = input.LA(1);
4342 if (current==null) { 4342
4343 current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); 4343 if ( (LA25_0==22) ) {
4344 } 4344 alt25=1;
4345 add( 4345 }
4346 current, 4346 switch (alt25) {
4347 "exclusuion", 4347 case 1 :
4348 lv_exclusuion_4_0, 4348 // InternalApplicationConfiguration.g:1553:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}'
4349 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); 4349 {
4350 afterParserOrEnumRuleCall(); 4350 otherlv_2=(Token)match(input,22,FOLLOW_16);
4351 4351
4352 4352 newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0());
4353 } 4353
4354 4354 otherlv_3=(Token)match(input,18,FOLLOW_6);
4355 4355
4356 } 4356 newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1());
4357 4357
4358 // InternalApplicationConfiguration.g:1571:4: (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* 4358 // InternalApplicationConfiguration.g:1561:4: ( (lv_exclusuion_4_0= rulePatternElement ) )
4359 loop24: 4359 // InternalApplicationConfiguration.g:1562:5: (lv_exclusuion_4_0= rulePatternElement )
4360 do { 4360 {
4361 int alt24=2; 4361 // InternalApplicationConfiguration.g:1562:5: (lv_exclusuion_4_0= rulePatternElement )
4362 int LA24_0 = input.LA(1); 4362 // InternalApplicationConfiguration.g:1563:6: lv_exclusuion_4_0= rulePatternElement
4363 4363 {
4364 if ( (LA24_0==19) ) { 4364
4365 alt24=1; 4365 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0());
4366 } 4366
4367 4367 pushFollow(FOLLOW_14);
4368 4368 lv_exclusuion_4_0=rulePatternElement();
4369 switch (alt24) { 4369
4370 case 1 : 4370 state._fsp--;
4371 // InternalApplicationConfiguration.g:1572:5: otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) 4371
4372 { 4372
4373 otherlv_5=(Token)match(input,19,FOLLOW_6); 4373 if (current==null) {
4374 4374 current = createModelElementForParent(grammarAccess.getAllPatternEntryRule());
4375 newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); 4375 }
4376 4376 add(
4377 // InternalApplicationConfiguration.g:1576:5: ( (lv_exclusuion_6_0= rulePatternElement ) ) 4377 current,
4378 // InternalApplicationConfiguration.g:1577:6: (lv_exclusuion_6_0= rulePatternElement ) 4378 "exclusuion",
4379 { 4379 lv_exclusuion_4_0,
4380 // InternalApplicationConfiguration.g:1577:6: (lv_exclusuion_6_0= rulePatternElement ) 4380 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement");
4381 // InternalApplicationConfiguration.g:1578:7: lv_exclusuion_6_0= rulePatternElement 4381 afterParserOrEnumRuleCall();
4382 { 4382
4383 4383
4384 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); 4384 }
4385 4385
4386 pushFollow(FOLLOW_14); 4386
4387 lv_exclusuion_6_0=rulePatternElement(); 4387 }
4388 4388
4389 state._fsp--; 4389 // InternalApplicationConfiguration.g:1580:4: (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )*
4390 4390 loop24:
4391 4391 do {
4392 if (current==null) { 4392 int alt24=2;
4393 current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); 4393 int LA24_0 = input.LA(1);
4394 } 4394
4395 add( 4395 if ( (LA24_0==19) ) {
4396 current, 4396 alt24=1;
4397 "exclusuion", 4397 }
4398 lv_exclusuion_6_0, 4398
4399 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); 4399
4400 afterParserOrEnumRuleCall(); 4400 switch (alt24) {
4401 4401 case 1 :
4402 4402 // InternalApplicationConfiguration.g:1581:5: otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) )
4403 } 4403 {
4404 4404 otherlv_5=(Token)match(input,19,FOLLOW_6);
4405 4405
4406 } 4406 newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0());
4407 4407
4408 4408 // InternalApplicationConfiguration.g:1585:5: ( (lv_exclusuion_6_0= rulePatternElement ) )
4409 } 4409 // InternalApplicationConfiguration.g:1586:6: (lv_exclusuion_6_0= rulePatternElement )
4410 break; 4410 {
4411 4411 // InternalApplicationConfiguration.g:1586:6: (lv_exclusuion_6_0= rulePatternElement )
4412 default : 4412 // InternalApplicationConfiguration.g:1587:7: lv_exclusuion_6_0= rulePatternElement
4413 break loop24; 4413 {
4414 } 4414
4415 } while (true); 4415 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0());
4416 4416
4417 otherlv_7=(Token)match(input,20,FOLLOW_2); 4417 pushFollow(FOLLOW_14);
4418 4418 lv_exclusuion_6_0=rulePatternElement();
4419 newLeafNode(otherlv_7, grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); 4419
4420 4420 state._fsp--;
4421 4421
4422 } 4422
4423 break; 4423 if (current==null) {
4424 4424 current = createModelElementForParent(grammarAccess.getAllPatternEntryRule());
4425 } 4425 }
4426 4426 add(
4427 4427 current,
4428 } 4428 "exclusuion",
4429 4429 lv_exclusuion_6_0,
4430 4430 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement");
4431 } 4431 afterParserOrEnumRuleCall();
4432 4432
4433 4433
4434 leaveRule(); 4434 }
4435 4435
4436 } 4436
4437 4437 }
4438 catch (RecognitionException re) { 4438
4439 recover(input,re); 4439
4440 appendSkippedTokens(); 4440 }
4441 } 4441 break;
4442 finally { 4442
4443 } 4443 default :
4444 return current; 4444 break loop24;
4445 } 4445 }
4446 // $ANTLR end "ruleAllPatternEntry" 4446 } while (true);
4447 4447
4448 4448 otherlv_7=(Token)match(input,20,FOLLOW_2);
4449 // $ANTLR start "entryRulePatternElement" 4449
4450 // InternalApplicationConfiguration.g:1605:1: entryRulePatternElement returns [EObject current=null] : iv_rulePatternElement= rulePatternElement EOF ; 4450 newLeafNode(otherlv_7, grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4());
4451 public final EObject entryRulePatternElement() throws RecognitionException { 4451
4452 EObject current = null; 4452
4453 4453 }
4454 EObject iv_rulePatternElement = null; 4454 break;
4455 4455
4456 4456 }
4457 try { 4457
4458 // InternalApplicationConfiguration.g:1605:55: (iv_rulePatternElement= rulePatternElement EOF ) 4458
4459 // InternalApplicationConfiguration.g:1606:2: iv_rulePatternElement= rulePatternElement EOF 4459 }
4460 { 4460
4461 newCompositeNode(grammarAccess.getPatternElementRule()); 4461
4462 pushFollow(FOLLOW_1); 4462 }
4463 iv_rulePatternElement=rulePatternElement(); 4463
4464 4464
4465 state._fsp--; 4465 leaveRule();
4466 4466
4467 current =iv_rulePatternElement; 4467 }
4468 match(input,EOF,FOLLOW_2); 4468
4469 4469 catch (RecognitionException re) {
4470 } 4470 recover(input,re);
4471 4471 appendSkippedTokens();
4472 } 4472 }
4473 4473 finally {
4474 catch (RecognitionException re) { 4474 }
4475 recover(input,re); 4475 return current;
4476 appendSkippedTokens(); 4476 }
4477 } 4477 // $ANTLR end "ruleAllPatternEntry"
4478 finally { 4478
4479 } 4479
4480 return current; 4480 // $ANTLR start "entryRulePatternElement"
4481 } 4481 // InternalApplicationConfiguration.g:1614:1: entryRulePatternElement returns [EObject current=null] : iv_rulePatternElement= rulePatternElement EOF ;
4482 // $ANTLR end "entryRulePatternElement" 4482 public final EObject entryRulePatternElement() throws RecognitionException {
4483 4483 EObject current = null;
4484 4484
4485 // $ANTLR start "rulePatternElement" 4485 EObject iv_rulePatternElement = null;
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
4488 EObject current = null; 4488 try {
4489 4489 // InternalApplicationConfiguration.g:1614:55: (iv_rulePatternElement= rulePatternElement EOF )
4490 Token otherlv_1=null; 4490 // InternalApplicationConfiguration.g:1615:2: iv_rulePatternElement= rulePatternElement EOF
4491 Token otherlv_2=null; 4491 {
4492 4492 newCompositeNode(grammarAccess.getPatternElementRule());
4493 4493 pushFollow(FOLLOW_1);
4494 enterRule(); 4494 iv_rulePatternElement=rulePatternElement();
4495 4495
4496 try { 4496 state._fsp--;
4497 // InternalApplicationConfiguration.g:1618:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ) 4497
4498 // InternalApplicationConfiguration.g:1619:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) 4498 current =iv_rulePatternElement;
4499 { 4499 match(input,EOF,FOLLOW_2);
4500 // InternalApplicationConfiguration.g:1619:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) 4500
4501 // InternalApplicationConfiguration.g:1620:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) 4501 }
4502 { 4502
4503 // InternalApplicationConfiguration.g:1620:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? 4503 }
4504 int alt26=2; 4504
4505 int LA26_0 = input.LA(1); 4505 catch (RecognitionException re) {
4506 4506 recover(input,re);
4507 if ( (LA26_0==RULE_ID) ) { 4507 appendSkippedTokens();
4508 int LA26_1 = input.LA(2); 4508 }
4509 4509 finally {
4510 if ( (LA26_1==11||LA26_1==23) ) { 4510 }
4511 alt26=1; 4511 return current;
4512 } 4512 }
4513 } 4513 // $ANTLR end "entryRulePatternElement"
4514 switch (alt26) { 4514
4515 case 1 : 4515
4516 // InternalApplicationConfiguration.g:1621:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' 4516 // $ANTLR start "rulePatternElement"
4517 { 4517 // InternalApplicationConfiguration.g:1621:1: rulePatternElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ;
4518 // InternalApplicationConfiguration.g:1621:4: ( ( ruleQualifiedName ) ) 4518 public final EObject rulePatternElement() throws RecognitionException {
4519 // InternalApplicationConfiguration.g:1622:5: ( ruleQualifiedName ) 4519 EObject current = null;
4520 { 4520
4521 // InternalApplicationConfiguration.g:1622:5: ( ruleQualifiedName ) 4521 Token otherlv_1=null;
4522 // InternalApplicationConfiguration.g:1623:6: ruleQualifiedName 4522 Token otherlv_2=null;
4523 { 4523
4524 4524
4525 if (current==null) { 4525 enterRule();
4526 current = createModelElement(grammarAccess.getPatternElementRule()); 4526
4527 } 4527 try {
4528 4528 // InternalApplicationConfiguration.g:1627:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) )
4529 4529 // InternalApplicationConfiguration.g:1628:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) )
4530 newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); 4530 {
4531 4531 // InternalApplicationConfiguration.g:1628:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) )
4532 pushFollow(FOLLOW_17); 4532 // InternalApplicationConfiguration.g:1629:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) )
4533 ruleQualifiedName(); 4533 {
4534 4534 // InternalApplicationConfiguration.g:1629:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )?
4535 state._fsp--; 4535 int alt26=2;
4536 4536 int LA26_0 = input.LA(1);
4537 4537
4538 afterParserOrEnumRuleCall(); 4538 if ( (LA26_0==RULE_ID) ) {
4539 4539 int LA26_1 = input.LA(2);
4540 4540
4541 } 4541 if ( (LA26_1==11||LA26_1==23) ) {
4542 4542 alt26=1;
4543 4543 }
4544 } 4544 }
4545 4545 switch (alt26) {
4546 otherlv_1=(Token)match(input,23,FOLLOW_6); 4546 case 1 :
4547 4547 // InternalApplicationConfiguration.g:1630:4: ( ( ruleQualifiedName ) ) otherlv_1= '::'
4548 newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); 4548 {
4549 4549 // InternalApplicationConfiguration.g:1630:4: ( ( ruleQualifiedName ) )
4550 4550 // InternalApplicationConfiguration.g:1631:5: ( ruleQualifiedName )
4551 } 4551 {
4552 break; 4552 // InternalApplicationConfiguration.g:1631:5: ( ruleQualifiedName )
4553 4553 // InternalApplicationConfiguration.g:1632:6: ruleQualifiedName
4554 } 4554 {
4555 4555
4556 // InternalApplicationConfiguration.g:1642:3: ( (otherlv_2= RULE_ID ) ) 4556 if (current==null) {
4557 // InternalApplicationConfiguration.g:1643:4: (otherlv_2= RULE_ID ) 4557 current = createModelElement(grammarAccess.getPatternElementRule());
4558 { 4558 }
4559 // InternalApplicationConfiguration.g:1643:4: (otherlv_2= RULE_ID ) 4559
4560 // InternalApplicationConfiguration.g:1644:5: otherlv_2= RULE_ID 4560
4561 { 4561 newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0());
4562 4562
4563 if (current==null) { 4563 pushFollow(FOLLOW_17);
4564 current = createModelElement(grammarAccess.getPatternElementRule()); 4564 ruleQualifiedName();
4565 } 4565
4566 4566 state._fsp--;
4567 otherlv_2=(Token)match(input,RULE_ID,FOLLOW_2); 4567
4568 4568
4569 newLeafNode(otherlv_2, grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); 4569 afterParserOrEnumRuleCall();
4570 4570
4571 4571
4572 } 4572 }
4573 4573
4574 4574
4575 } 4575 }
4576 4576
4577 4577 otherlv_1=(Token)match(input,23,FOLLOW_6);
4578 } 4578
4579 4579 newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1());
4580 4580
4581 } 4581
4582 4582 }
4583 4583 break;
4584 leaveRule(); 4584
4585 4585 }
4586 } 4586
4587 4587 // InternalApplicationConfiguration.g:1651:3: ( (otherlv_2= RULE_ID ) )
4588 catch (RecognitionException re) { 4588 // InternalApplicationConfiguration.g:1652:4: (otherlv_2= RULE_ID )
4589 recover(input,re); 4589 {
4590 appendSkippedTokens(); 4590 // InternalApplicationConfiguration.g:1652:4: (otherlv_2= RULE_ID )
4591 } 4591 // InternalApplicationConfiguration.g:1653:5: otherlv_2= RULE_ID
4592 finally { 4592 {
4593 } 4593
4594 return current; 4594 if (current==null) {
4595 } 4595 current = createModelElement(grammarAccess.getPatternElementRule());
4596 // $ANTLR end "rulePatternElement" 4596 }
4597 4597
4598 4598 otherlv_2=(Token)match(input,RULE_ID,FOLLOW_2);
4599 // $ANTLR start "entryRuleGraphPatternDeclaration" 4599
4600 // InternalApplicationConfiguration.g:1659:1: entryRuleGraphPatternDeclaration returns [EObject current=null] : iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ; 4600 newLeafNode(otherlv_2, grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0());
4601 public final EObject entryRuleGraphPatternDeclaration() throws RecognitionException { 4601
4602 EObject current = null; 4602
4603 4603 }
4604 EObject iv_ruleGraphPatternDeclaration = null; 4604
4605 4605
4606 4606 }
4607 try { 4607
4608 // InternalApplicationConfiguration.g:1659:64: (iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ) 4608
4609 // InternalApplicationConfiguration.g:1660:2: iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF 4609 }
4610 { 4610
4611 newCompositeNode(grammarAccess.getGraphPatternDeclarationRule()); 4611
4612 pushFollow(FOLLOW_1); 4612 }
4613 iv_ruleGraphPatternDeclaration=ruleGraphPatternDeclaration(); 4613
4614 4614
4615 state._fsp--; 4615 leaveRule();
4616 4616
4617 current =iv_ruleGraphPatternDeclaration; 4617 }
4618 match(input,EOF,FOLLOW_2); 4618
4619 4619 catch (RecognitionException re) {
4620 } 4620 recover(input,re);
4621 4621 appendSkippedTokens();
4622 } 4622 }
4623 4623 finally {
4624 catch (RecognitionException re) { 4624 }
4625 recover(input,re); 4625 return current;
4626 appendSkippedTokens(); 4626 }
4627 } 4627 // $ANTLR end "rulePatternElement"
4628 finally { 4628
4629 } 4629
4630 return current; 4630 // $ANTLR start "entryRuleGraphPatternDeclaration"
4631 } 4631 // InternalApplicationConfiguration.g:1668:1: entryRuleGraphPatternDeclaration returns [EObject current=null] : iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ;
4632 // $ANTLR end "entryRuleGraphPatternDeclaration" 4632 public final EObject entryRuleGraphPatternDeclaration() throws RecognitionException {
4633 4633 EObject current = null;
4634 4634
4635 // $ANTLR start "ruleGraphPatternDeclaration" 4635 EObject iv_ruleGraphPatternDeclaration = null;
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 try {
4639 4639 // InternalApplicationConfiguration.g:1668:64: (iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF )
4640 Token otherlv_0=null; 4640 // InternalApplicationConfiguration.g:1669:2: iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF
4641 Token lv_name_1_0=null; 4641 {
4642 EObject lv_specification_2_0 = null; 4642 newCompositeNode(grammarAccess.getGraphPatternDeclarationRule());
4643 4643 pushFollow(FOLLOW_1);
4644 4644 iv_ruleGraphPatternDeclaration=ruleGraphPatternDeclaration();
4645 4645
4646 enterRule(); 4646 state._fsp--;
4647 4647
4648 try { 4648 current =iv_ruleGraphPatternDeclaration;
4649 // InternalApplicationConfiguration.g:1672:2: ( (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ) 4649 match(input,EOF,FOLLOW_2);
4650 // InternalApplicationConfiguration.g:1673:2: (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) 4650
4651 { 4651 }
4652 // InternalApplicationConfiguration.g:1673:2: (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) 4652
4653 // InternalApplicationConfiguration.g:1674:3: otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) 4653 }
4654 { 4654
4655 otherlv_0=(Token)match(input,27,FOLLOW_6); 4655 catch (RecognitionException re) {
4656 4656 recover(input,re);
4657 newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0()); 4657 appendSkippedTokens();
4658 4658 }
4659 // InternalApplicationConfiguration.g:1678:3: ( (lv_name_1_0= RULE_ID ) ) 4659 finally {
4660 // InternalApplicationConfiguration.g:1679:4: (lv_name_1_0= RULE_ID ) 4660 }
4661 { 4661 return current;
4662 // InternalApplicationConfiguration.g:1679:4: (lv_name_1_0= RULE_ID ) 4662 }
4663 // InternalApplicationConfiguration.g:1680:5: lv_name_1_0= RULE_ID 4663 // $ANTLR end "entryRuleGraphPatternDeclaration"
4664 { 4664
4665 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); 4665
4666 4666 // $ANTLR start "ruleGraphPatternDeclaration"
4667 newLeafNode(lv_name_1_0, grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 4667 // InternalApplicationConfiguration.g:1675:1: ruleGraphPatternDeclaration returns [EObject current=null] : (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ;
4668 4668 public final EObject ruleGraphPatternDeclaration() throws RecognitionException {
4669 4669 EObject current = null;
4670 if (current==null) { 4670
4671 current = createModelElement(grammarAccess.getGraphPatternDeclarationRule()); 4671 Token otherlv_0=null;
4672 } 4672 Token lv_name_1_0=null;
4673 setWithLastConsumed( 4673 EObject lv_specification_2_0 = null;
4674 current, 4674
4675 "name", 4675
4676 lv_name_1_0, 4676
4677 "org.eclipse.xtext.common.Terminals.ID"); 4677 enterRule();
4678 4678
4679 4679 try {
4680 } 4680 // InternalApplicationConfiguration.g:1681:2: ( (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) )
4681 4681 // InternalApplicationConfiguration.g:1682:2: (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) )
4682 4682 {
4683 } 4683 // InternalApplicationConfiguration.g:1682:2: (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) )
4684 4684 // InternalApplicationConfiguration.g:1683:3: otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) )
4685 // InternalApplicationConfiguration.g:1696:3: ( (lv_specification_2_0= rulePatternSpecification ) ) 4685 {
4686 // InternalApplicationConfiguration.g:1697:4: (lv_specification_2_0= rulePatternSpecification ) 4686 otherlv_0=(Token)match(input,27,FOLLOW_6);
4687 { 4687
4688 // InternalApplicationConfiguration.g:1697:4: (lv_specification_2_0= rulePatternSpecification ) 4688 newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0());
4689 // InternalApplicationConfiguration.g:1698:5: lv_specification_2_0= rulePatternSpecification 4689
4690 { 4690 // InternalApplicationConfiguration.g:1687:3: ( (lv_name_1_0= RULE_ID ) )
4691 4691 // InternalApplicationConfiguration.g:1688:4: (lv_name_1_0= RULE_ID )
4692 newCompositeNode(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); 4692 {
4693 4693 // InternalApplicationConfiguration.g:1688:4: (lv_name_1_0= RULE_ID )
4694 pushFollow(FOLLOW_2); 4694 // InternalApplicationConfiguration.g:1689:5: lv_name_1_0= RULE_ID
4695 lv_specification_2_0=rulePatternSpecification(); 4695 {
4696 4696 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16);
4697 state._fsp--; 4697
4698 4698 newLeafNode(lv_name_1_0, grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0());
4699 4699
4700 if (current==null) { 4700
4701 current = createModelElementForParent(grammarAccess.getGraphPatternDeclarationRule()); 4701 if (current==null) {
4702 } 4702 current = createModelElement(grammarAccess.getGraphPatternDeclarationRule());
4703 set( 4703 }
4704 current, 4704 setWithLastConsumed(
4705 "specification", 4705 current,
4706 lv_specification_2_0, 4706 "name",
4707 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification"); 4707 lv_name_1_0,
4708 afterParserOrEnumRuleCall(); 4708 "org.eclipse.xtext.common.Terminals.ID");
4709 4709
4710 4710
4711 } 4711 }
4712 4712
4713 4713
4714 } 4714 }
4715 4715
4716 4716 // InternalApplicationConfiguration.g:1705:3: ( (lv_specification_2_0= rulePatternSpecification ) )
4717 } 4717 // InternalApplicationConfiguration.g:1706:4: (lv_specification_2_0= rulePatternSpecification )
4718 4718 {
4719 4719 // InternalApplicationConfiguration.g:1706:4: (lv_specification_2_0= rulePatternSpecification )
4720 } 4720 // InternalApplicationConfiguration.g:1707:5: lv_specification_2_0= rulePatternSpecification
4721 4721 {
4722 4722
4723 leaveRule(); 4723 newCompositeNode(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0());
4724 4724
4725 } 4725 pushFollow(FOLLOW_2);
4726 4726 lv_specification_2_0=rulePatternSpecification();
4727 catch (RecognitionException re) { 4727
4728 recover(input,re); 4728 state._fsp--;
4729 appendSkippedTokens(); 4729
4730 } 4730
4731 finally { 4731 if (current==null) {
4732 } 4732 current = createModelElementForParent(grammarAccess.getGraphPatternDeclarationRule());
4733 return current; 4733 }
4734 } 4734 set(
4735 // $ANTLR end "ruleGraphPatternDeclaration" 4735 current,
4736 4736 "specification",
4737 4737 lv_specification_2_0,
4738 // $ANTLR start "entryRuleGraphPatternReference" 4738 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification");
4739 // InternalApplicationConfiguration.g:1719:1: entryRuleGraphPatternReference returns [EObject current=null] : iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ; 4739 afterParserOrEnumRuleCall();
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
4751 pushFollow(FOLLOW_1); 4751 }
4752 iv_ruleGraphPatternReference=ruleGraphPatternReference(); 4752
4753 4753
4754 state._fsp--; 4754 leaveRule();
4755 4755
4756 current =iv_ruleGraphPatternReference; 4756 }
4757 match(input,EOF,FOLLOW_2); 4757
4758 4758 catch (RecognitionException re) {
4759 } 4759 recover(input,re);
4760 4760 appendSkippedTokens();
4761 } 4761 }
4762 4762 finally {
4763 catch (RecognitionException re) { 4763 }
4764 recover(input,re); 4764 return current;
4765 appendSkippedTokens(); 4765 }
4766 } 4766 // $ANTLR end "ruleGraphPatternDeclaration"
4767 finally { 4767
4768 } 4768
4769 return current; 4769 // $ANTLR start "entryRuleGraphPatternReference"
4770 } 4770 // InternalApplicationConfiguration.g:1728:1: entryRuleGraphPatternReference returns [EObject current=null] : iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ;
4771 // $ANTLR end "entryRuleGraphPatternReference" 4771 public final EObject entryRuleGraphPatternReference() throws RecognitionException {
4772 4772 EObject current = null;
4773 4773
4774 // $ANTLR start "ruleGraphPatternReference" 4774 EObject iv_ruleGraphPatternReference = null;
4775 // InternalApplicationConfiguration.g:1726:1: ruleGraphPatternReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; 4775
4776 public final EObject ruleGraphPatternReference() throws RecognitionException { 4776
4777 EObject current = null; 4777 try {
4778 4778 // InternalApplicationConfiguration.g:1728:62: (iv_ruleGraphPatternReference= ruleGraphPatternReference EOF )
4779 Token otherlv_0=null; 4779 // InternalApplicationConfiguration.g:1729:2: iv_ruleGraphPatternReference= ruleGraphPatternReference EOF
4780 4780 {
4781 4781 newCompositeNode(grammarAccess.getGraphPatternReferenceRule());
4782 enterRule(); 4782 pushFollow(FOLLOW_1);
4783 4783 iv_ruleGraphPatternReference=ruleGraphPatternReference();
4784 try { 4784
4785 // InternalApplicationConfiguration.g:1732:2: ( ( (otherlv_0= RULE_ID ) ) ) 4785 state._fsp--;
4786 // InternalApplicationConfiguration.g:1733:2: ( (otherlv_0= RULE_ID ) ) 4786
4787 { 4787 current =iv_ruleGraphPatternReference;
4788 // InternalApplicationConfiguration.g:1733:2: ( (otherlv_0= RULE_ID ) ) 4788 match(input,EOF,FOLLOW_2);
4789 // InternalApplicationConfiguration.g:1734:3: (otherlv_0= RULE_ID ) 4789
4790 { 4790 }
4791 // InternalApplicationConfiguration.g:1734:3: (otherlv_0= RULE_ID ) 4791
4792 // InternalApplicationConfiguration.g:1735:4: otherlv_0= RULE_ID 4792 }
4793 { 4793
4794 4794 catch (RecognitionException re) {
4795 if (current==null) { 4795 recover(input,re);
4796 current = createModelElement(grammarAccess.getGraphPatternReferenceRule()); 4796 appendSkippedTokens();
4797 } 4797 }
4798 4798 finally {
4799 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); 4799 }
4800 4800 return current;
4801 newLeafNode(otherlv_0, grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); 4801 }
4802 4802 // $ANTLR end "entryRuleGraphPatternReference"
4803 4803
4804 } 4804
4805 4805 // $ANTLR start "ruleGraphPatternReference"
4806 4806 // InternalApplicationConfiguration.g:1735:1: ruleGraphPatternReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
4807 } 4807 public final EObject ruleGraphPatternReference() throws RecognitionException {
4808 4808 EObject current = null;
4809 4809
4810 } 4810 Token otherlv_0=null;
4811 4811
4812 4812
4813 leaveRule(); 4813 enterRule();
4814 4814
4815 } 4815 try {
4816 4816 // InternalApplicationConfiguration.g:1741:2: ( ( (otherlv_0= RULE_ID ) ) )
4817 catch (RecognitionException re) { 4817 // InternalApplicationConfiguration.g:1742:2: ( (otherlv_0= RULE_ID ) )
4818 recover(input,re); 4818 {
4819 appendSkippedTokens(); 4819 // InternalApplicationConfiguration.g:1742:2: ( (otherlv_0= RULE_ID ) )
4820 } 4820 // InternalApplicationConfiguration.g:1743:3: (otherlv_0= RULE_ID )
4821 finally { 4821 {
4822 } 4822 // InternalApplicationConfiguration.g:1743:3: (otherlv_0= RULE_ID )
4823 return current; 4823 // InternalApplicationConfiguration.g:1744:4: otherlv_0= RULE_ID
4824 } 4824 {
4825 // $ANTLR end "ruleGraphPatternReference" 4825
4826 4826 if (current==null) {
4827 4827 current = createModelElement(grammarAccess.getGraphPatternReferenceRule());
4828 // $ANTLR start "entryRuleGraphPattern" 4828 }
4829 // InternalApplicationConfiguration.g:1749:1: entryRuleGraphPattern returns [EObject current=null] : iv_ruleGraphPattern= ruleGraphPattern EOF ; 4829
4830 public final EObject entryRuleGraphPattern() throws RecognitionException { 4830 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2);
4831 EObject current = null; 4831
4832 4832 newLeafNode(otherlv_0, grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0());
4833 EObject iv_ruleGraphPattern = null; 4833
4834 4834
4835 4835 }
4836 try { 4836
4837 // InternalApplicationConfiguration.g:1749:53: (iv_ruleGraphPattern= ruleGraphPattern EOF ) 4837
4838 // InternalApplicationConfiguration.g:1750:2: iv_ruleGraphPattern= ruleGraphPattern EOF 4838 }
4839 { 4839
4840 newCompositeNode(grammarAccess.getGraphPatternRule()); 4840
4841 pushFollow(FOLLOW_1); 4841 }
4842 iv_ruleGraphPattern=ruleGraphPattern(); 4842
4843 4843
4844 state._fsp--; 4844 leaveRule();
4845 4845
4846 current =iv_ruleGraphPattern; 4846 }
4847 match(input,EOF,FOLLOW_2); 4847
4848 4848 catch (RecognitionException re) {
4849 } 4849 recover(input,re);
4850 4850 appendSkippedTokens();
4851 } 4851 }
4852 4852 finally {
4853 catch (RecognitionException re) { 4853 }
4854 recover(input,re); 4854 return current;
4855 appendSkippedTokens(); 4855 }
4856 } 4856 // $ANTLR end "ruleGraphPatternReference"
4857 finally { 4857
4858 } 4858
4859 return current; 4859 // $ANTLR start "entryRuleGraphPattern"
4860 } 4860 // InternalApplicationConfiguration.g:1758:1: entryRuleGraphPattern returns [EObject current=null] : iv_ruleGraphPattern= ruleGraphPattern EOF ;
4861 // $ANTLR end "entryRuleGraphPattern" 4861 public final EObject entryRuleGraphPattern() throws RecognitionException {
4862 4862 EObject current = null;
4863 4863
4864 // $ANTLR start "ruleGraphPattern" 4864 EObject iv_ruleGraphPattern = null;
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
4867 EObject current = null; 4867 try {
4868 4868 // InternalApplicationConfiguration.g:1758:53: (iv_ruleGraphPattern= ruleGraphPattern EOF )
4869 EObject this_GraphPatternReference_0 = null; 4869 // InternalApplicationConfiguration.g:1759:2: iv_ruleGraphPattern= ruleGraphPattern EOF
4870 4870 {
4871 EObject this_PatternSpecification_1 = null; 4871 newCompositeNode(grammarAccess.getGraphPatternRule());
4872 4872 pushFollow(FOLLOW_1);
4873 4873 iv_ruleGraphPattern=ruleGraphPattern();
4874 4874
4875 enterRule(); 4875 state._fsp--;
4876 4876
4877 try { 4877 current =iv_ruleGraphPattern;
4878 // InternalApplicationConfiguration.g:1762:2: ( (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ) 4878 match(input,EOF,FOLLOW_2);
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 catch (RecognitionException re) {
4885 if ( (LA27_0==RULE_ID) ) { 4885 recover(input,re);
4886 alt27=1; 4886 appendSkippedTokens();
4887 } 4887 }
4888 else if ( (LA27_0==18) ) { 4888 finally {
4889 alt27=2; 4889 }
4890 } 4890 return current;
4891 else { 4891 }
4892 NoViableAltException nvae = 4892 // $ANTLR end "entryRuleGraphPattern"
4893 new NoViableAltException("", 27, 0, input); 4893
4894 4894
4895 throw nvae; 4895 // $ANTLR start "ruleGraphPattern"
4896 } 4896 // InternalApplicationConfiguration.g:1765:1: ruleGraphPattern returns [EObject current=null] : (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ;
4897 switch (alt27) { 4897 public final EObject ruleGraphPattern() throws RecognitionException {
4898 case 1 : 4898 EObject current = null;
4899 // InternalApplicationConfiguration.g:1764:3: this_GraphPatternReference_0= ruleGraphPatternReference 4899
4900 { 4900 EObject this_GraphPatternReference_0 = null;
4901 4901
4902 newCompositeNode(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); 4902 EObject this_PatternSpecification_1 = null;
4903 4903
4904 pushFollow(FOLLOW_2); 4904
4905 this_GraphPatternReference_0=ruleGraphPatternReference(); 4905
4906 4906 enterRule();
4907 state._fsp--; 4907
4908 4908 try {
4909 4909 // InternalApplicationConfiguration.g:1771:2: ( (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) )
4910 current = this_GraphPatternReference_0; 4910 // InternalApplicationConfiguration.g:1772:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification )
4911 afterParserOrEnumRuleCall(); 4911 {
4912 4912 // InternalApplicationConfiguration.g:1772:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification )
4913 4913 int alt27=2;
4914 } 4914 int LA27_0 = input.LA(1);
4915 break; 4915
4916 case 2 : 4916 if ( (LA27_0==RULE_ID) ) {
4917 // InternalApplicationConfiguration.g:1773:3: this_PatternSpecification_1= rulePatternSpecification 4917 alt27=1;
4918 { 4918 }
4919 4919 else if ( (LA27_0==18) ) {
4920 newCompositeNode(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); 4920 alt27=2;
4921 4921 }
4922 pushFollow(FOLLOW_2); 4922 else {
4923 this_PatternSpecification_1=rulePatternSpecification(); 4923 NoViableAltException nvae =
4924 4924 new NoViableAltException("", 27, 0, input);
4925 state._fsp--; 4925
4926 4926 throw nvae;
4927 4927 }
4928 current = this_PatternSpecification_1; 4928 switch (alt27) {
4929 afterParserOrEnumRuleCall(); 4929 case 1 :
4930 4930 // InternalApplicationConfiguration.g:1773:3: this_GraphPatternReference_0= ruleGraphPatternReference
4931 4931 {
4932 } 4932
4933 break; 4933 newCompositeNode(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0());
4934 4934
4935 } 4935 pushFollow(FOLLOW_2);
4936 4936 this_GraphPatternReference_0=ruleGraphPatternReference();
4937 4937
4938 } 4938 state._fsp--;
4939 4939
4940 4940
4941 leaveRule(); 4941 current = this_GraphPatternReference_0;
4942 4942 afterParserOrEnumRuleCall();
4943 } 4943
4944 4944
4945 catch (RecognitionException re) { 4945 }
4946 recover(input,re); 4946 break;
4947 appendSkippedTokens(); 4947 case 2 :
4948 } 4948 // InternalApplicationConfiguration.g:1782:3: this_PatternSpecification_1= rulePatternSpecification
4949 finally { 4949 {
4950 } 4950
4951 return current; 4951 newCompositeNode(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1());
4952 } 4952
4953 // $ANTLR end "ruleGraphPattern" 4953 pushFollow(FOLLOW_2);
4954 4954 this_PatternSpecification_1=rulePatternSpecification();
4955 4955
4956 // $ANTLR start "entryRuleConfigSpecification" 4956 state._fsp--;
4957 // InternalApplicationConfiguration.g:1785:1: entryRuleConfigSpecification returns [EObject current=null] : iv_ruleConfigSpecification= ruleConfigSpecification EOF ; 4957
4958 public final EObject entryRuleConfigSpecification() throws RecognitionException { 4958
4959 EObject current = null; 4959 current = this_PatternSpecification_1;
4960 4960 afterParserOrEnumRuleCall();
4961 EObject iv_ruleConfigSpecification = null; 4961
4962 4962
4963 4963 }
4964 try { 4964 break;
4965 // InternalApplicationConfiguration.g:1785:60: (iv_ruleConfigSpecification= ruleConfigSpecification EOF ) 4965
4966 // InternalApplicationConfiguration.g:1786:2: iv_ruleConfigSpecification= ruleConfigSpecification EOF 4966 }
4967 { 4967
4968 newCompositeNode(grammarAccess.getConfigSpecificationRule()); 4968
4969 pushFollow(FOLLOW_1); 4969 }
4970 iv_ruleConfigSpecification=ruleConfigSpecification(); 4970
4971 4971
4972 state._fsp--; 4972 leaveRule();
4973 4973
4974 current =iv_ruleConfigSpecification; 4974 }
4975 match(input,EOF,FOLLOW_2); 4975
4976 4976 catch (RecognitionException re) {
4977 } 4977 recover(input,re);
4978 4978 appendSkippedTokens();
4979 } 4979 }
4980 4980 finally {
4981 catch (RecognitionException re) { 4981 }
4982 recover(input,re); 4982 return current;
4983 appendSkippedTokens(); 4983 }
4984 } 4984 // $ANTLR end "ruleGraphPattern"
4985 finally { 4985
4986 } 4986
4987 return current; 4987 // $ANTLR start "entryRuleObjectiveSpecification"
4988 } 4988 // InternalApplicationConfiguration.g:1794:1: entryRuleObjectiveSpecification returns [EObject current=null] : iv_ruleObjectiveSpecification= ruleObjectiveSpecification EOF ;
4989 // $ANTLR end "entryRuleConfigSpecification" 4989 public final EObject entryRuleObjectiveSpecification() throws RecognitionException {
4990 4990 EObject current = null;
4991 4991
4992 // $ANTLR start "ruleConfigSpecification" 4992 EObject iv_ruleObjectiveSpecification = null;
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
4995 EObject current = null; 4995 try {
4996 4996 // InternalApplicationConfiguration.g:1794:63: (iv_ruleObjectiveSpecification= ruleObjectiveSpecification EOF )
4997 Token otherlv_1=null; 4997 // InternalApplicationConfiguration.g:1795:2: iv_ruleObjectiveSpecification= ruleObjectiveSpecification EOF
4998 Token otherlv_3=null; 4998 {
4999 Token otherlv_5=null; 4999 newCompositeNode(grammarAccess.getObjectiveSpecificationRule());
5000 EObject lv_entries_2_0 = null; 5000 pushFollow(FOLLOW_1);
5001 5001 iv_ruleObjectiveSpecification=ruleObjectiveSpecification();
5002 EObject lv_entries_4_0 = null; 5002
5003 5003 state._fsp--;
5004 5004
5005 5005 current =iv_ruleObjectiveSpecification;
5006 enterRule(); 5006 match(input,EOF,FOLLOW_2);
5007 5007
5008 try { 5008 }
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 }
5011 { 5011
5012 // InternalApplicationConfiguration.g:1799:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) 5012 catch (RecognitionException re) {
5013 // InternalApplicationConfiguration.g:1800:3: () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' 5013 recover(input,re);
5014 { 5014 appendSkippedTokens();
5015 // InternalApplicationConfiguration.g:1800:3: () 5015 }
5016 // InternalApplicationConfiguration.g:1801:4: 5016 finally {
5017 { 5017 }
5018 5018 return current;
5019 current = forceCreateModelElement( 5019 }
5020 grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(), 5020 // $ANTLR end "entryRuleObjectiveSpecification"
5021 current); 5021
5022 5022
5023 5023 // $ANTLR start "ruleObjectiveSpecification"
5024 } 5024 // InternalApplicationConfiguration.g:1801:1: ruleObjectiveSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' ) ;
5025 5025 public final EObject ruleObjectiveSpecification() throws RecognitionException {
5026 otherlv_1=(Token)match(input,18,FOLLOW_21); 5026 EObject current = null;
5027 5027
5028 newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); 5028 Token otherlv_0=null;
5029 5029 Token otherlv_2=null;
5030 // InternalApplicationConfiguration.g:1811:3: ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? 5030 Token otherlv_4=null;
5031 int alt29=2; 5031 EObject lv_entries_1_0 = null;
5032 int LA29_0 = input.LA(1); 5032
5033 5033 EObject lv_entries_3_0 = null;
5034 if ( (LA29_0==RULE_STRING||(LA29_0>=29 && LA29_0<=31)) ) { 5034
5035 alt29=1; 5035
5036 } 5036
5037 switch (alt29) { 5037 enterRule();
5038 case 1 : 5038
5039 // InternalApplicationConfiguration.g:1812:4: ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* 5039 try {
5040 { 5040 // InternalApplicationConfiguration.g:1807:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' ) )
5041 // InternalApplicationConfiguration.g:1812:4: ( (lv_entries_2_0= ruleConfigEntry ) ) 5041 // InternalApplicationConfiguration.g:1808:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' )
5042 // InternalApplicationConfiguration.g:1813:5: (lv_entries_2_0= ruleConfigEntry ) 5042 {
5043 { 5043 // InternalApplicationConfiguration.g:1808:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' )
5044 // InternalApplicationConfiguration.g:1813:5: (lv_entries_2_0= ruleConfigEntry ) 5044 // InternalApplicationConfiguration.g:1809:3: otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}'
5045 // InternalApplicationConfiguration.g:1814:6: lv_entries_2_0= ruleConfigEntry 5045 {
5046 { 5046 otherlv_0=(Token)match(input,18,FOLLOW_21);
5047 5047
5048 newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); 5048 newLeafNode(otherlv_0, grammarAccess.getObjectiveSpecificationAccess().getLeftCurlyBracketKeyword_0());
5049 5049
5050 pushFollow(FOLLOW_14); 5050 // InternalApplicationConfiguration.g:1813:3: ( (lv_entries_1_0= ruleObjectiveEntry ) )
5051 lv_entries_2_0=ruleConfigEntry(); 5051 // InternalApplicationConfiguration.g:1814:4: (lv_entries_1_0= ruleObjectiveEntry )
5052 5052 {
5053 state._fsp--; 5053 // InternalApplicationConfiguration.g:1814:4: (lv_entries_1_0= ruleObjectiveEntry )
5054 5054 // InternalApplicationConfiguration.g:1815:5: lv_entries_1_0= ruleObjectiveEntry
5055 5055 {
5056 if (current==null) { 5056
5057 current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); 5057 newCompositeNode(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_1_0());
5058 } 5058
5059 add( 5059 pushFollow(FOLLOW_14);
5060 current, 5060 lv_entries_1_0=ruleObjectiveEntry();
5061 "entries", 5061
5062 lv_entries_2_0, 5062 state._fsp--;
5063 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); 5063
5064 afterParserOrEnumRuleCall(); 5064
5065 5065 if (current==null) {
5066 5066 current = createModelElementForParent(grammarAccess.getObjectiveSpecificationRule());
5067 } 5067 }
5068 5068 add(
5069 5069 current,
5070 } 5070 "entries",
5071 5071 lv_entries_1_0,
5072 // InternalApplicationConfiguration.g:1831:4: (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* 5072 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveEntry");
5073 loop28: 5073 afterParserOrEnumRuleCall();
5074 do { 5074
5075 int alt28=2; 5075
5076 int LA28_0 = input.LA(1); 5076 }
5077 5077
5078 if ( (LA28_0==19) ) { 5078
5079 alt28=1; 5079 }
5080 } 5080
5081 5081 // InternalApplicationConfiguration.g:1832:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )*
5082 5082 loop28:
5083 switch (alt28) { 5083 do {
5084 case 1 : 5084 int alt28=2;
5085 // InternalApplicationConfiguration.g:1832:5: otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) 5085 int LA28_0 = input.LA(1);
5086 { 5086
5087 otherlv_3=(Token)match(input,19,FOLLOW_22); 5087 if ( (LA28_0==19) ) {
5088 5088 alt28=1;
5089 newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); 5089 }
5090 5090
5091 // InternalApplicationConfiguration.g:1836:5: ( (lv_entries_4_0= ruleConfigEntry ) ) 5091
5092 // InternalApplicationConfiguration.g:1837:6: (lv_entries_4_0= ruleConfigEntry ) 5092 switch (alt28) {
5093 { 5093 case 1 :
5094 // InternalApplicationConfiguration.g:1837:6: (lv_entries_4_0= ruleConfigEntry ) 5094 // InternalApplicationConfiguration.g:1833:4: otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) )
5095 // InternalApplicationConfiguration.g:1838:7: lv_entries_4_0= ruleConfigEntry 5095 {
5096 { 5096 otherlv_2=(Token)match(input,19,FOLLOW_21);
5097 5097
5098 newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); 5098 newLeafNode(otherlv_2, grammarAccess.getObjectiveSpecificationAccess().getCommaKeyword_2_0());
5099 5099
5100 pushFollow(FOLLOW_14); 5100 // InternalApplicationConfiguration.g:1837:4: ( (lv_entries_3_0= ruleObjectiveEntry ) )
5101 lv_entries_4_0=ruleConfigEntry(); 5101 // InternalApplicationConfiguration.g:1838:5: (lv_entries_3_0= ruleObjectiveEntry )
5102 5102 {
5103 state._fsp--; 5103 // InternalApplicationConfiguration.g:1838:5: (lv_entries_3_0= ruleObjectiveEntry )
5104 5104 // InternalApplicationConfiguration.g:1839:6: lv_entries_3_0= ruleObjectiveEntry
5105 5105 {
5106 if (current==null) { 5106
5107 current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); 5107 newCompositeNode(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_2_1_0());
5108 } 5108
5109 add( 5109 pushFollow(FOLLOW_14);
5110 current, 5110 lv_entries_3_0=ruleObjectiveEntry();
5111 "entries", 5111
5112 lv_entries_4_0, 5112 state._fsp--;
5113 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); 5113
5114 afterParserOrEnumRuleCall(); 5114
5115 5115 if (current==null) {
5116 5116 current = createModelElementForParent(grammarAccess.getObjectiveSpecificationRule());
5117 } 5117 }
5118 5118 add(
5119 5119 current,
5120 } 5120 "entries",
5121 5121 lv_entries_3_0,
5122 5122 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveEntry");
5123 } 5123 afterParserOrEnumRuleCall();
5124 break; 5124
5125 5125
5126 default : 5126 }
5127 break loop28; 5127
5128 } 5128
5129 } while (true); 5129 }
5130 5130
5131 5131
5132 } 5132 }
5133 break; 5133 break;
5134 5134
5135 } 5135 default :
5136 5136 break loop28;
5137 otherlv_5=(Token)match(input,20,FOLLOW_2); 5137 }
5138 5138 } while (true);
5139 newLeafNode(otherlv_5, grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); 5139
5140 5140 otherlv_4=(Token)match(input,20,FOLLOW_2);
5141 5141
5142 } 5142 newLeafNode(otherlv_4, grammarAccess.getObjectiveSpecificationAccess().getRightCurlyBracketKeyword_3());
5143 5143
5144 5144
5145 } 5145 }
5146 5146
5147 5147
5148 leaveRule(); 5148 }
5149 5149
5150 } 5150
5151 5151 leaveRule();
5152 catch (RecognitionException re) { 5152
5153 recover(input,re); 5153 }
5154 appendSkippedTokens(); 5154
5155 } 5155 catch (RecognitionException re) {
5156 finally { 5156 recover(input,re);
5157 } 5157 appendSkippedTokens();
5158 return current; 5158 }
5159 } 5159 finally {
5160 // $ANTLR end "ruleConfigSpecification" 5160 }
5161 5161 return current;
5162 5162 }
5163 // $ANTLR start "entryRuleConfigDeclaration" 5163 // $ANTLR end "ruleObjectiveSpecification"
5164 // InternalApplicationConfiguration.g:1865:1: entryRuleConfigDeclaration returns [EObject current=null] : iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ; 5164
5165 public final EObject entryRuleConfigDeclaration() throws RecognitionException { 5165
5166 EObject current = null; 5166 // $ANTLR start "entryRuleObjectiveEntry"
5167 5167 // InternalApplicationConfiguration.g:1865:1: entryRuleObjectiveEntry returns [EObject current=null] : iv_ruleObjectiveEntry= ruleObjectiveEntry EOF ;
5168 EObject iv_ruleConfigDeclaration = null; 5168 public final EObject entryRuleObjectiveEntry() throws RecognitionException {
5169 5169 EObject current = null;
5170 5170
5171 try { 5171 EObject iv_ruleObjectiveEntry = null;
5172 // InternalApplicationConfiguration.g:1865:58: (iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ) 5172
5173 // InternalApplicationConfiguration.g:1866:2: iv_ruleConfigDeclaration= ruleConfigDeclaration EOF 5173
5174 { 5174 try {
5175 newCompositeNode(grammarAccess.getConfigDeclarationRule()); 5175 // InternalApplicationConfiguration.g:1865:55: (iv_ruleObjectiveEntry= ruleObjectiveEntry EOF )
5176 pushFollow(FOLLOW_1); 5176 // InternalApplicationConfiguration.g:1866:2: iv_ruleObjectiveEntry= ruleObjectiveEntry EOF
5177 iv_ruleConfigDeclaration=ruleConfigDeclaration(); 5177 {
5178 5178 newCompositeNode(grammarAccess.getObjectiveEntryRule());
5179 state._fsp--; 5179 pushFollow(FOLLOW_1);
5180 5180 iv_ruleObjectiveEntry=ruleObjectiveEntry();
5181 current =iv_ruleConfigDeclaration; 5181
5182 match(input,EOF,FOLLOW_2); 5182 state._fsp--;
5183 5183
5184 } 5184 current =iv_ruleObjectiveEntry;
5185 5185 match(input,EOF,FOLLOW_2);
5186 } 5186
5187 5187 }
5188 catch (RecognitionException re) { 5188
5189 recover(input,re); 5189 }
5190 appendSkippedTokens(); 5190
5191 } 5191 catch (RecognitionException re) {
5192 finally { 5192 recover(input,re);
5193 } 5193 appendSkippedTokens();
5194 return current; 5194 }
5195 } 5195 finally {
5196 // $ANTLR end "entryRuleConfigDeclaration" 5196 }
5197 5197 return current;
5198 5198 }
5199 // $ANTLR start "ruleConfigDeclaration" 5199 // $ANTLR end "entryRuleObjectiveEntry"
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
5201 public final EObject ruleConfigDeclaration() throws RecognitionException { 5201
5202 EObject current = null; 5202 // $ANTLR start "ruleObjectiveEntry"
5203 5203 // InternalApplicationConfiguration.g:1872:1: ruleObjectiveEntry returns [EObject current=null] : (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry ) ;
5204 Token otherlv_0=null; 5204 public final EObject ruleObjectiveEntry() throws RecognitionException {
5205 Token lv_name_1_0=null; 5205 EObject current = null;
5206 EObject lv_specification_2_0 = null; 5206
5207 5207 EObject this_OptimizationEntry_0 = null;
5208 5208
5209 5209 EObject this_ThresholdEntry_1 = null;
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 enterRule();
5214 // InternalApplicationConfiguration.g:1879:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) 5214
5215 { 5215 try {
5216 // InternalApplicationConfiguration.g:1879:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) 5216 // InternalApplicationConfiguration.g:1878:2: ( (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry ) )
5217 // InternalApplicationConfiguration.g:1880:3: otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) 5217 // InternalApplicationConfiguration.g:1879:2: (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry )
5218 { 5218 {
5219 otherlv_0=(Token)match(input,28,FOLLOW_6); 5219 // InternalApplicationConfiguration.g:1879:2: (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry )
5220 5220 int alt29=2;
5221 newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); 5221 int LA29_0 = input.LA(1);
5222 5222
5223 // InternalApplicationConfiguration.g:1884:3: ( (lv_name_1_0= RULE_ID ) ) 5223 if ( ((LA29_0>=54 && LA29_0<=55)) ) {
5224 // InternalApplicationConfiguration.g:1885:4: (lv_name_1_0= RULE_ID ) 5224 alt29=1;
5225 { 5225 }
5226 // InternalApplicationConfiguration.g:1885:4: (lv_name_1_0= RULE_ID ) 5226 else if ( (LA29_0==28) ) {
5227 // InternalApplicationConfiguration.g:1886:5: lv_name_1_0= RULE_ID 5227 alt29=2;
5228 { 5228 }
5229 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); 5229 else {
5230 5230 NoViableAltException nvae =
5231 newLeafNode(lv_name_1_0, grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 5231 new NoViableAltException("", 29, 0, input);
5232 5232
5233 5233 throw nvae;
5234 if (current==null) { 5234 }
5235 current = createModelElement(grammarAccess.getConfigDeclarationRule()); 5235 switch (alt29) {
5236 } 5236 case 1 :
5237 setWithLastConsumed( 5237 // InternalApplicationConfiguration.g:1880:3: this_OptimizationEntry_0= ruleOptimizationEntry
5238 current, 5238 {
5239 "name", 5239
5240 lv_name_1_0, 5240 newCompositeNode(grammarAccess.getObjectiveEntryAccess().getOptimizationEntryParserRuleCall_0());
5241 "org.eclipse.xtext.common.Terminals.ID"); 5241
5242 5242 pushFollow(FOLLOW_2);
5243 5243 this_OptimizationEntry_0=ruleOptimizationEntry();
5244 } 5244
5245 5245 state._fsp--;
5246 5246
5247 } 5247
5248 5248 current = this_OptimizationEntry_0;
5249 // InternalApplicationConfiguration.g:1902:3: ( (lv_specification_2_0= ruleConfigSpecification ) ) 5249 afterParserOrEnumRuleCall();
5250 // InternalApplicationConfiguration.g:1903:4: (lv_specification_2_0= ruleConfigSpecification ) 5250
5251 { 5251
5252 // InternalApplicationConfiguration.g:1903:4: (lv_specification_2_0= ruleConfigSpecification ) 5252 }
5253 // InternalApplicationConfiguration.g:1904:5: lv_specification_2_0= ruleConfigSpecification 5253 break;
5254 { 5254 case 2 :
5255 5255 // InternalApplicationConfiguration.g:1889:3: this_ThresholdEntry_1= ruleThresholdEntry
5256 newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); 5256 {
5257 5257
5258 pushFollow(FOLLOW_2); 5258 newCompositeNode(grammarAccess.getObjectiveEntryAccess().getThresholdEntryParserRuleCall_1());
5259 lv_specification_2_0=ruleConfigSpecification(); 5259
5260 5260 pushFollow(FOLLOW_2);
5261 state._fsp--; 5261 this_ThresholdEntry_1=ruleThresholdEntry();
5262 5262
5263 5263 state._fsp--;
5264 if (current==null) { 5264
5265 current = createModelElementForParent(grammarAccess.getConfigDeclarationRule()); 5265
5266 } 5266 current = this_ThresholdEntry_1;
5267 set( 5267 afterParserOrEnumRuleCall();
5268 current, 5268
5269 "specification", 5269
5270 lv_specification_2_0, 5270 }
5271 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification"); 5271 break;
5272 afterParserOrEnumRuleCall(); 5272
5273 5273 }
5274 5274
5275 } 5275
5276 5276 }
5277 5277
5278 } 5278
5279 5279 leaveRule();
5280 5280
5281 } 5281 }
5282 5282
5283 5283 catch (RecognitionException re) {
5284 } 5284 recover(input,re);
5285 5285 appendSkippedTokens();
5286 5286 }
5287 leaveRule(); 5287 finally {
5288 5288 }
5289 } 5289 return current;
5290 5290 }
5291 catch (RecognitionException re) { 5291 // $ANTLR end "ruleObjectiveEntry"
5292 recover(input,re); 5292
5293 appendSkippedTokens(); 5293
5294 } 5294 // $ANTLR start "entryRuleOptimizationEntry"
5295 finally { 5295 // InternalApplicationConfiguration.g:1901:1: entryRuleOptimizationEntry returns [EObject current=null] : iv_ruleOptimizationEntry= ruleOptimizationEntry EOF ;
5296 } 5296 public final EObject entryRuleOptimizationEntry() throws RecognitionException {
5297 return current; 5297 EObject current = null;
5298 } 5298
5299 // $ANTLR end "ruleConfigDeclaration" 5299 EObject iv_ruleOptimizationEntry = null;
5300 5300
5301 5301
5302 // $ANTLR start "entryRuleConfigEntry" 5302 try {
5303 // InternalApplicationConfiguration.g:1925:1: entryRuleConfigEntry returns [EObject current=null] : iv_ruleConfigEntry= ruleConfigEntry EOF ; 5303 // InternalApplicationConfiguration.g:1901:58: (iv_ruleOptimizationEntry= ruleOptimizationEntry EOF )
5304 public final EObject entryRuleConfigEntry() throws RecognitionException { 5304 // InternalApplicationConfiguration.g:1902:2: iv_ruleOptimizationEntry= ruleOptimizationEntry EOF
5305 EObject current = null; 5305 {
5306 5306 newCompositeNode(grammarAccess.getOptimizationEntryRule());
5307 EObject iv_ruleConfigEntry = null; 5307 pushFollow(FOLLOW_1);
5308 5308 iv_ruleOptimizationEntry=ruleOptimizationEntry();
5309 5309
5310 try { 5310 state._fsp--;
5311 // InternalApplicationConfiguration.g:1925:52: (iv_ruleConfigEntry= ruleConfigEntry EOF ) 5311
5312 // InternalApplicationConfiguration.g:1926:2: iv_ruleConfigEntry= ruleConfigEntry EOF 5312 current =iv_ruleOptimizationEntry;
5313 { 5313 match(input,EOF,FOLLOW_2);
5314 newCompositeNode(grammarAccess.getConfigEntryRule()); 5314
5315 pushFollow(FOLLOW_1); 5315 }
5316 iv_ruleConfigEntry=ruleConfigEntry(); 5316
5317 5317 }
5318 state._fsp--; 5318
5319 5319 catch (RecognitionException re) {
5320 current =iv_ruleConfigEntry; 5320 recover(input,re);
5321 match(input,EOF,FOLLOW_2); 5321 appendSkippedTokens();
5322 5322 }
5323 } 5323 finally {
5324 5324 }
5325 } 5325 return current;
5326 5326 }
5327 catch (RecognitionException re) { 5327 // $ANTLR end "entryRuleOptimizationEntry"
5328 recover(input,re); 5328
5329 appendSkippedTokens(); 5329
5330 } 5330 // $ANTLR start "ruleOptimizationEntry"
5331 finally { 5331 // InternalApplicationConfiguration.g:1908:1: ruleOptimizationEntry returns [EObject current=null] : ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) ) ;
5332 } 5332 public final EObject ruleOptimizationEntry() throws RecognitionException {
5333 return current; 5333 EObject current = null;
5334 } 5334
5335 // $ANTLR end "entryRuleConfigEntry" 5335 Enumerator lv_direction_0_0 = null;
5336 5336
5337 5337 EObject lv_function_1_0 = null;
5338 // $ANTLR start "ruleConfigEntry" 5338
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
5340 public final EObject ruleConfigEntry() throws RecognitionException { 5340
5341 EObject current = null; 5341 enterRule();
5342 5342
5343 EObject this_DocumentationEntry_0 = null; 5343 try {
5344 5344 // InternalApplicationConfiguration.g:1914:2: ( ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) ) )
5345 EObject this_RuntimeEntry_1 = null; 5345 // InternalApplicationConfiguration.g:1915:2: ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) )
5346 5346 {
5347 EObject this_MemoryEntry_2 = null; 5347 // InternalApplicationConfiguration.g:1915:2: ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) )
5348 5348 // InternalApplicationConfiguration.g:1916:3: ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) )
5349 EObject this_CustomEntry_3 = null; 5349 {
5350 5350 // InternalApplicationConfiguration.g:1916:3: ( (lv_direction_0_0= ruleOptimizationDirection ) )
5351 5351 // InternalApplicationConfiguration.g:1917:4: (lv_direction_0_0= ruleOptimizationDirection )
5352 5352 {
5353 enterRule(); 5353 // InternalApplicationConfiguration.g:1917:4: (lv_direction_0_0= ruleOptimizationDirection )
5354 5354 // InternalApplicationConfiguration.g:1918:5: lv_direction_0_0= ruleOptimizationDirection
5355 try { 5355 {
5356 // InternalApplicationConfiguration.g:1938:2: ( (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) ) 5356
5357 // InternalApplicationConfiguration.g:1939:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) 5357 newCompositeNode(grammarAccess.getOptimizationEntryAccess().getDirectionOptimizationDirectionEnumRuleCall_0_0());
5358 { 5358
5359 // InternalApplicationConfiguration.g:1939:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) 5359 pushFollow(FOLLOW_21);
5360 int alt30=4; 5360 lv_direction_0_0=ruleOptimizationDirection();
5361 switch ( input.LA(1) ) { 5361
5362 case 29: 5362 state._fsp--;
5363 { 5363
5364 alt30=1; 5364
5365 } 5365 if (current==null) {
5366 break; 5366 current = createModelElementForParent(grammarAccess.getOptimizationEntryRule());
5367 case 30: 5367 }
5368 { 5368 set(
5369 alt30=2; 5369 current,
5370 } 5370 "direction",
5371 break; 5371 lv_direction_0_0,
5372 case 31: 5372 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.OptimizationDirection");
5373 { 5373 afterParserOrEnumRuleCall();
5374 alt30=3; 5374
5375 } 5375
5376 break; 5376 }
5377 case RULE_STRING: 5377
5378 { 5378
5379 alt30=4; 5379 }
5380 } 5380
5381 break; 5381 // InternalApplicationConfiguration.g:1935:3: ( (lv_function_1_0= ruleObjectiveFunction ) )
5382 default: 5382 // InternalApplicationConfiguration.g:1936:4: (lv_function_1_0= ruleObjectiveFunction )
5383 NoViableAltException nvae = 5383 {
5384 new NoViableAltException("", 30, 0, input); 5384 // InternalApplicationConfiguration.g:1936:4: (lv_function_1_0= ruleObjectiveFunction )
5385 5385 // InternalApplicationConfiguration.g:1937:5: lv_function_1_0= ruleObjectiveFunction
5386 throw nvae; 5386 {
5387 } 5387
5388 5388 newCompositeNode(grammarAccess.getOptimizationEntryAccess().getFunctionObjectiveFunctionParserRuleCall_1_0());
5389 switch (alt30) { 5389
5390 case 1 : 5390 pushFollow(FOLLOW_2);
5391 // InternalApplicationConfiguration.g:1940:3: this_DocumentationEntry_0= ruleDocumentationEntry 5391 lv_function_1_0=ruleObjectiveFunction();
5392 { 5392
5393 5393 state._fsp--;
5394 newCompositeNode(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0()); 5394
5395 5395
5396 pushFollow(FOLLOW_2); 5396 if (current==null) {
5397 this_DocumentationEntry_0=ruleDocumentationEntry(); 5397 current = createModelElementForParent(grammarAccess.getOptimizationEntryRule());
5398 5398 }
5399 state._fsp--; 5399 set(
5400 5400 current,
5401 5401 "function",
5402 current = this_DocumentationEntry_0; 5402 lv_function_1_0,
5403 afterParserOrEnumRuleCall(); 5403 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveFunction");
5404 5404 afterParserOrEnumRuleCall();
5405 5405
5406 } 5406
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
5415 this_RuntimeEntry_1=ruleRuntimeEntry(); 5415
5416 5416 }
5417 state._fsp--; 5417
5418 5418
5419 5419 leaveRule();
5420 current = this_RuntimeEntry_1; 5420
5421 afterParserOrEnumRuleCall(); 5421 }
5422 5422
5423 5423 catch (RecognitionException re) {
5424 } 5424 recover(input,re);
5425 break; 5425 appendSkippedTokens();
5426 case 3 : 5426 }
5427 // InternalApplicationConfiguration.g:1958:3: this_MemoryEntry_2= ruleMemoryEntry 5427 finally {
5428 { 5428 }
5429 5429 return current;
5430 newCompositeNode(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2()); 5430 }
5431 5431 // $ANTLR end "ruleOptimizationEntry"
5432 pushFollow(FOLLOW_2); 5432
5433 this_MemoryEntry_2=ruleMemoryEntry(); 5433
5434 5434 // $ANTLR start "entryRuleThresholdEntry"
5435 state._fsp--; 5435 // InternalApplicationConfiguration.g:1958:1: entryRuleThresholdEntry returns [EObject current=null] : iv_ruleThresholdEntry= ruleThresholdEntry EOF ;
5436 5436 public final EObject entryRuleThresholdEntry() throws RecognitionException {
5437 5437 EObject current = null;
5438 current = this_MemoryEntry_2; 5438
5439 afterParserOrEnumRuleCall(); 5439 EObject iv_ruleThresholdEntry = null;
5440 5440
5441 5441
5442 } 5442 try {
5443 break; 5443 // InternalApplicationConfiguration.g:1958:55: (iv_ruleThresholdEntry= ruleThresholdEntry EOF )
5444 case 4 : 5444 // InternalApplicationConfiguration.g:1959:2: iv_ruleThresholdEntry= ruleThresholdEntry EOF
5445 // InternalApplicationConfiguration.g:1967:3: this_CustomEntry_3= ruleCustomEntry 5445 {
5446 { 5446 newCompositeNode(grammarAccess.getThresholdEntryRule());
5447 5447 pushFollow(FOLLOW_1);
5448 newCompositeNode(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3()); 5448 iv_ruleThresholdEntry=ruleThresholdEntry();
5449 5449
5450 pushFollow(FOLLOW_2); 5450 state._fsp--;
5451 this_CustomEntry_3=ruleCustomEntry(); 5451
5452 5452 current =iv_ruleThresholdEntry;
5453 state._fsp--; 5453 match(input,EOF,FOLLOW_2);
5454 5454
5455 5455 }
5456 current = this_CustomEntry_3; 5456
5457 afterParserOrEnumRuleCall(); 5457 }
5458 5458
5459 5459 catch (RecognitionException re) {
5460 } 5460 recover(input,re);
5461 break; 5461 appendSkippedTokens();
5462 5462 }
5463 } 5463 finally {
5464 5464 }
5465 5465 return current;
5466 } 5466 }
5467 5467 // $ANTLR end "entryRuleThresholdEntry"
5468 5468
5469 leaveRule(); 5469
5470 5470 // $ANTLR start "ruleThresholdEntry"
5471 } 5471 // InternalApplicationConfiguration.g:1965:1: ruleThresholdEntry returns [EObject current=null] : ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) ) ;
5472 5472 public final EObject ruleThresholdEntry() throws RecognitionException {
5473 catch (RecognitionException re) { 5473 EObject current = null;
5474 recover(input,re); 5474
5475 appendSkippedTokens(); 5475 EObject lv_function_0_0 = null;
5476 } 5476
5477 finally { 5477 Enumerator lv_operator_1_0 = null;
5478 } 5478
5479 return current; 5479 AntlrDatatypeRuleToken lv_threshold_2_0 = null;
5480 } 5480
5481 // $ANTLR end "ruleConfigEntry" 5481
5482 5482
5483 5483 enterRule();
5484 // $ANTLR start "entryRuleDocumentationEntry" 5484
5485 // InternalApplicationConfiguration.g:1979:1: entryRuleDocumentationEntry returns [EObject current=null] : iv_ruleDocumentationEntry= ruleDocumentationEntry EOF ; 5485 try {
5486 public final EObject entryRuleDocumentationEntry() throws RecognitionException { 5486 // InternalApplicationConfiguration.g:1971:2: ( ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) ) )
5487 EObject current = null; 5487 // InternalApplicationConfiguration.g:1972:2: ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) )
5488 5488 {
5489 EObject iv_ruleDocumentationEntry = null; 5489 // InternalApplicationConfiguration.g:1972:2: ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) )
5490 5490 // InternalApplicationConfiguration.g:1973:3: ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) )
5491 5491 {
5492 try { 5492 // InternalApplicationConfiguration.g:1973:3: ( (lv_function_0_0= ruleObjectiveFunction ) )
5493 // InternalApplicationConfiguration.g:1979:59: (iv_ruleDocumentationEntry= ruleDocumentationEntry EOF ) 5493 // InternalApplicationConfiguration.g:1974:4: (lv_function_0_0= ruleObjectiveFunction )
5494 // InternalApplicationConfiguration.g:1980:2: iv_ruleDocumentationEntry= ruleDocumentationEntry EOF 5494 {
5495 { 5495 // InternalApplicationConfiguration.g:1974:4: (lv_function_0_0= ruleObjectiveFunction )
5496 newCompositeNode(grammarAccess.getDocumentationEntryRule()); 5496 // InternalApplicationConfiguration.g:1975:5: lv_function_0_0= ruleObjectiveFunction
5497 pushFollow(FOLLOW_1); 5497 {
5498 iv_ruleDocumentationEntry=ruleDocumentationEntry(); 5498
5499 5499 newCompositeNode(grammarAccess.getThresholdEntryAccess().getFunctionObjectiveFunctionParserRuleCall_0_0());
5500 state._fsp--; 5500
5501 5501 pushFollow(FOLLOW_22);
5502 current =iv_ruleDocumentationEntry; 5502 lv_function_0_0=ruleObjectiveFunction();
5503 match(input,EOF,FOLLOW_2); 5503
5504 5504 state._fsp--;
5505 } 5505
5506 5506
5507 } 5507 if (current==null) {
5508 5508 current = createModelElementForParent(grammarAccess.getThresholdEntryRule());
5509 catch (RecognitionException re) { 5509 }
5510 recover(input,re); 5510 set(
5511 appendSkippedTokens(); 5511 current,
5512 } 5512 "function",
5513 finally { 5513 lv_function_0_0,
5514 } 5514 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveFunction");
5515 return current; 5515 afterParserOrEnumRuleCall();
5516 } 5516
5517 // $ANTLR end "entryRuleDocumentationEntry" 5517
5518 5518 }
5519 5519
5520 // $ANTLR start "ruleDocumentationEntry" 5520
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 // InternalApplicationConfiguration.g:1992:3: ( (lv_operator_1_0= ruleComparisonOperator ) )
5524 5524 // InternalApplicationConfiguration.g:1993:4: (lv_operator_1_0= ruleComparisonOperator )
5525 Token otherlv_0=null; 5525 {
5526 Token otherlv_1=null; 5526 // InternalApplicationConfiguration.g:1993:4: (lv_operator_1_0= ruleComparisonOperator )
5527 Enumerator lv_level_2_0 = null; 5527 // InternalApplicationConfiguration.g:1994:5: lv_operator_1_0= ruleComparisonOperator
5528 5528 {
5529 5529
5530 5530 newCompositeNode(grammarAccess.getThresholdEntryAccess().getOperatorComparisonOperatorEnumRuleCall_1_0());
5531 enterRule(); 5531
5532 5532 pushFollow(FOLLOW_23);
5533 try { 5533 lv_operator_1_0=ruleComparisonOperator();
5534 // InternalApplicationConfiguration.g:1992:2: ( (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) ) 5534
5535 // InternalApplicationConfiguration.g:1993:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) 5535 state._fsp--;
5536 { 5536
5537 // InternalApplicationConfiguration.g:1993:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) 5537
5538 // InternalApplicationConfiguration.g:1994:3: otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) 5538 if (current==null) {
5539 { 5539 current = createModelElementForParent(grammarAccess.getThresholdEntryRule());
5540 otherlv_0=(Token)match(input,29,FOLLOW_12); 5540 }
5541 5541 set(
5542 newLeafNode(otherlv_0, grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); 5542 current,
5543 5543 "operator",
5544 otherlv_1=(Token)match(input,17,FOLLOW_23); 5544 lv_operator_1_0,
5545 5545 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ComparisonOperator");
5546 newLeafNode(otherlv_1, grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1()); 5546 afterParserOrEnumRuleCall();
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 // InternalApplicationConfiguration.g:2011:3: ( (lv_threshold_2_0= ruleREALLiteral ) )
5555 newCompositeNode(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0()); 5555 // InternalApplicationConfiguration.g:2012:4: (lv_threshold_2_0= ruleREALLiteral )
5556 5556 {
5557 pushFollow(FOLLOW_2); 5557 // InternalApplicationConfiguration.g:2012:4: (lv_threshold_2_0= ruleREALLiteral )
5558 lv_level_2_0=ruleDocumentLevelSpecification(); 5558 // InternalApplicationConfiguration.g:2013:5: lv_threshold_2_0= ruleREALLiteral
5559 5559 {
5560 state._fsp--; 5560
5561 5561 newCompositeNode(grammarAccess.getThresholdEntryAccess().getThresholdREALLiteralParserRuleCall_2_0());
5562 5562
5563 if (current==null) { 5563 pushFollow(FOLLOW_2);
5564 current = createModelElementForParent(grammarAccess.getDocumentationEntryRule()); 5564 lv_threshold_2_0=ruleREALLiteral();
5565 } 5565
5566 set( 5566 state._fsp--;
5567 current, 5567
5568 "level", 5568
5569 lv_level_2_0, 5569 if (current==null) {
5570 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentLevelSpecification"); 5570 current = createModelElementForParent(grammarAccess.getThresholdEntryRule());
5571 afterParserOrEnumRuleCall(); 5571 }
5572 5572 set(
5573 5573 current,
5574 } 5574 "threshold",
5575 5575 lv_threshold_2_0,
5576 5576 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral");
5577 } 5577 afterParserOrEnumRuleCall();
5578 5578
5579 5579
5580 } 5580 }
5581 5581
5582 5582
5583 } 5583 }
5584 5584
5585 5585
5586 leaveRule(); 5586 }
5587 5587
5588 } 5588
5589 5589 }
5590 catch (RecognitionException re) { 5590
5591 recover(input,re); 5591
5592 appendSkippedTokens(); 5592 leaveRule();
5593 } 5593
5594 finally { 5594 }
5595 } 5595
5596 return current; 5596 catch (RecognitionException re) {
5597 } 5597 recover(input,re);
5598 // $ANTLR end "ruleDocumentationEntry" 5598 appendSkippedTokens();
5599 5599 }
5600 5600 finally {
5601 // $ANTLR start "entryRuleRuntimeEntry" 5601 }
5602 // InternalApplicationConfiguration.g:2025:1: entryRuleRuntimeEntry returns [EObject current=null] : iv_ruleRuntimeEntry= ruleRuntimeEntry EOF ; 5602 return current;
5603 public final EObject entryRuleRuntimeEntry() throws RecognitionException { 5603 }
5604 EObject current = null; 5604 // $ANTLR end "ruleThresholdEntry"
5605 5605
5606 EObject iv_ruleRuntimeEntry = null; 5606
5607 5607 // $ANTLR start "entryRuleObjectiveFunction"
5608 5608 // InternalApplicationConfiguration.g:2034:1: entryRuleObjectiveFunction returns [EObject current=null] : iv_ruleObjectiveFunction= ruleObjectiveFunction EOF ;
5609 try { 5609 public final EObject entryRuleObjectiveFunction() throws RecognitionException {
5610 // InternalApplicationConfiguration.g:2025:53: (iv_ruleRuntimeEntry= ruleRuntimeEntry EOF ) 5610 EObject current = null;
5611 // InternalApplicationConfiguration.g:2026:2: iv_ruleRuntimeEntry= ruleRuntimeEntry EOF 5611
5612 { 5612 EObject iv_ruleObjectiveFunction = null;
5613 newCompositeNode(grammarAccess.getRuntimeEntryRule()); 5613
5614 pushFollow(FOLLOW_1); 5614
5615 iv_ruleRuntimeEntry=ruleRuntimeEntry(); 5615 try {
5616 5616 // InternalApplicationConfiguration.g:2034:58: (iv_ruleObjectiveFunction= ruleObjectiveFunction EOF )
5617 state._fsp--; 5617 // InternalApplicationConfiguration.g:2035:2: iv_ruleObjectiveFunction= ruleObjectiveFunction EOF
5618 5618 {
5619 current =iv_ruleRuntimeEntry; 5619 newCompositeNode(grammarAccess.getObjectiveFunctionRule());
5620 match(input,EOF,FOLLOW_2); 5620 pushFollow(FOLLOW_1);
5621 5621 iv_ruleObjectiveFunction=ruleObjectiveFunction();
5622 } 5622
5623 5623 state._fsp--;
5624 } 5624
5625 5625 current =iv_ruleObjectiveFunction;
5626 catch (RecognitionException re) { 5626 match(input,EOF,FOLLOW_2);
5627 recover(input,re); 5627
5628 appendSkippedTokens(); 5628 }
5629 } 5629
5630 finally { 5630 }
5631 } 5631
5632 return current; 5632 catch (RecognitionException re) {
5633 } 5633 recover(input,re);
5634 // $ANTLR end "entryRuleRuntimeEntry" 5634 appendSkippedTokens();
5635 5635 }
5636 5636 finally {
5637 // $ANTLR start "ruleRuntimeEntry" 5637 }
5638 // InternalApplicationConfiguration.g:2032:1: ruleRuntimeEntry returns [EObject current=null] : (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) ; 5638 return current;
5639 public final EObject ruleRuntimeEntry() throws RecognitionException { 5639 }
5640 EObject current = null; 5640 // $ANTLR end "entryRuleObjectiveFunction"
5641 5641
5642 Token otherlv_0=null; 5642
5643 Token otherlv_1=null; 5643 // $ANTLR start "ruleObjectiveFunction"
5644 Token lv_millisecLimit_2_0=null; 5644 // InternalApplicationConfiguration.g:2041:1: ruleObjectiveFunction returns [EObject current=null] : this_CostObjectiveFunction_0= ruleCostObjectiveFunction ;
5645 5645 public final EObject ruleObjectiveFunction() throws RecognitionException {
5646 5646 EObject current = null;
5647 enterRule(); 5647
5648 5648 EObject this_CostObjectiveFunction_0 = null;
5649 try { 5649
5650 // InternalApplicationConfiguration.g:2038:2: ( (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) ) 5650
5651 // InternalApplicationConfiguration.g:2039:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) 5651
5652 { 5652 enterRule();
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 try {
5655 { 5655 // InternalApplicationConfiguration.g:2047:2: (this_CostObjectiveFunction_0= ruleCostObjectiveFunction )
5656 otherlv_0=(Token)match(input,30,FOLLOW_12); 5656 // InternalApplicationConfiguration.g:2048:2: this_CostObjectiveFunction_0= ruleCostObjectiveFunction
5657 5657 {
5658 newLeafNode(otherlv_0, grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0()); 5658
5659 5659 newCompositeNode(grammarAccess.getObjectiveFunctionAccess().getCostObjectiveFunctionParserRuleCall());
5660 otherlv_1=(Token)match(input,17,FOLLOW_7); 5660
5661 5661 pushFollow(FOLLOW_2);
5662 newLeafNode(otherlv_1, grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1()); 5662 this_CostObjectiveFunction_0=ruleCostObjectiveFunction();
5663 5663
5664 // InternalApplicationConfiguration.g:2048:3: ( (lv_millisecLimit_2_0= RULE_INT ) ) 5664 state._fsp--;
5665 // InternalApplicationConfiguration.g:2049:4: (lv_millisecLimit_2_0= RULE_INT ) 5665
5666 { 5666
5667 // InternalApplicationConfiguration.g:2049:4: (lv_millisecLimit_2_0= RULE_INT ) 5667 current = this_CostObjectiveFunction_0;
5668 // InternalApplicationConfiguration.g:2050:5: lv_millisecLimit_2_0= RULE_INT 5668 afterParserOrEnumRuleCall();
5669 { 5669
5670 lv_millisecLimit_2_0=(Token)match(input,RULE_INT,FOLLOW_2); 5670
5671 5671 }
5672 newLeafNode(lv_millisecLimit_2_0, grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0()); 5672
5673 5673
5674 5674 leaveRule();
5675 if (current==null) { 5675
5676 current = createModelElement(grammarAccess.getRuntimeEntryRule()); 5676 }
5677 } 5677
5678 setWithLastConsumed( 5678 catch (RecognitionException re) {
5679 current, 5679 recover(input,re);
5680 "millisecLimit", 5680 appendSkippedTokens();
5681 lv_millisecLimit_2_0, 5681 }
5682 "org.eclipse.xtext.common.Terminals.INT"); 5682 finally {
5683 5683 }
5684 5684 return current;
5685 } 5685 }
5686 5686 // $ANTLR end "ruleObjectiveFunction"
5687 5687
5688 } 5688
5689 5689 // $ANTLR start "entryRuleCostObjectiveFunction"
5690 5690 // InternalApplicationConfiguration.g:2059:1: entryRuleCostObjectiveFunction returns [EObject current=null] : iv_ruleCostObjectiveFunction= ruleCostObjectiveFunction EOF ;
5691 } 5691 public final EObject entryRuleCostObjectiveFunction() throws RecognitionException {
5692 5692 EObject current = null;
5693 5693
5694 } 5694 EObject iv_ruleCostObjectiveFunction = null;
5695 5695
5696 5696
5697 leaveRule(); 5697 try {
5698 5698 // InternalApplicationConfiguration.g:2059:62: (iv_ruleCostObjectiveFunction= ruleCostObjectiveFunction EOF )
5699 } 5699 // InternalApplicationConfiguration.g:2060:2: iv_ruleCostObjectiveFunction= ruleCostObjectiveFunction EOF
5700 5700 {
5701 catch (RecognitionException re) { 5701 newCompositeNode(grammarAccess.getCostObjectiveFunctionRule());
5702 recover(input,re); 5702 pushFollow(FOLLOW_1);
5703 appendSkippedTokens(); 5703 iv_ruleCostObjectiveFunction=ruleCostObjectiveFunction();
5704 } 5704
5705 finally { 5705 state._fsp--;
5706 } 5706
5707 return current; 5707 current =iv_ruleCostObjectiveFunction;
5708 } 5708 match(input,EOF,FOLLOW_2);
5709 // $ANTLR end "ruleRuntimeEntry" 5709
5710 5710 }
5711 5711
5712 // $ANTLR start "entryRuleMemoryEntry" 5712 }
5713 // InternalApplicationConfiguration.g:2070:1: entryRuleMemoryEntry returns [EObject current=null] : iv_ruleMemoryEntry= ruleMemoryEntry EOF ; 5713
5714 public final EObject entryRuleMemoryEntry() throws RecognitionException { 5714 catch (RecognitionException re) {
5715 EObject current = null; 5715 recover(input,re);
5716 5716 appendSkippedTokens();
5717 EObject iv_ruleMemoryEntry = null; 5717 }
5718 5718 finally {
5719 5719 }
5720 try { 5720 return current;
5721 // InternalApplicationConfiguration.g:2070:52: (iv_ruleMemoryEntry= ruleMemoryEntry EOF ) 5721 }
5722 // InternalApplicationConfiguration.g:2071:2: iv_ruleMemoryEntry= ruleMemoryEntry EOF 5722 // $ANTLR end "entryRuleCostObjectiveFunction"
5723 { 5723
5724 newCompositeNode(grammarAccess.getMemoryEntryRule()); 5724
5725 pushFollow(FOLLOW_1); 5725 // $ANTLR start "ruleCostObjectiveFunction"
5726 iv_ruleMemoryEntry=ruleMemoryEntry(); 5726 // InternalApplicationConfiguration.g:2066:1: ruleCostObjectiveFunction returns [EObject current=null] : (otherlv_0= 'cost' otherlv_1= '{' ( (lv_entries_2_0= ruleCostEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleCostEntry ) ) )* otherlv_5= '}' ) ;
5727 5727 public final EObject ruleCostObjectiveFunction() throws RecognitionException {
5728 state._fsp--; 5728 EObject current = null;
5729 5729
5730 current =iv_ruleMemoryEntry; 5730 Token otherlv_0=null;
5731 match(input,EOF,FOLLOW_2); 5731 Token otherlv_1=null;
5732 5732 Token otherlv_3=null;
5733 } 5733 Token otherlv_5=null;
5734 5734 EObject lv_entries_2_0 = null;
5735 } 5735
5736 5736 EObject lv_entries_4_0 = null;
5737 catch (RecognitionException re) { 5737
5738 recover(input,re); 5738
5739 appendSkippedTokens(); 5739
5740 } 5740 enterRule();
5741 finally { 5741
5742 } 5742 try {
5743 return current; 5743 // InternalApplicationConfiguration.g:2072:2: ( (otherlv_0= 'cost' otherlv_1= '{' ( (lv_entries_2_0= ruleCostEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleCostEntry ) ) )* otherlv_5= '}' ) )
5744 } 5744 // InternalApplicationConfiguration.g:2073:2: (otherlv_0= 'cost' otherlv_1= '{' ( (lv_entries_2_0= ruleCostEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleCostEntry ) ) )* otherlv_5= '}' )
5745 // $ANTLR end "entryRuleMemoryEntry" 5745 {
5746 5746 // InternalApplicationConfiguration.g:2073:2: (otherlv_0= 'cost' otherlv_1= '{' ( (lv_entries_2_0= ruleCostEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleCostEntry ) ) )* otherlv_5= '}' )
5747 5747 // InternalApplicationConfiguration.g:2074:3: otherlv_0= 'cost' otherlv_1= '{' ( (lv_entries_2_0= ruleCostEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleCostEntry ) ) )* otherlv_5= '}'
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 otherlv_0=(Token)match(input,28,FOLLOW_16);
5750 public final EObject ruleMemoryEntry() throws RecognitionException { 5750
5751 EObject current = null; 5751 newLeafNode(otherlv_0, grammarAccess.getCostObjectiveFunctionAccess().getCostKeyword_0());
5752 5752
5753 Token otherlv_0=null; 5753 otherlv_1=(Token)match(input,18,FOLLOW_6);
5754 Token otherlv_1=null; 5754
5755 Token lv_megabyteLimit_2_0=null; 5755 newLeafNode(otherlv_1, grammarAccess.getCostObjectiveFunctionAccess().getLeftCurlyBracketKeyword_1());
5756 5756
5757 5757 // InternalApplicationConfiguration.g:2082:3: ( (lv_entries_2_0= ruleCostEntry ) )
5758 enterRule(); 5758 // InternalApplicationConfiguration.g:2083:4: (lv_entries_2_0= ruleCostEntry )
5759 5759 {
5760 try { 5760 // InternalApplicationConfiguration.g:2083:4: (lv_entries_2_0= ruleCostEntry )
5761 // InternalApplicationConfiguration.g:2083:2: ( (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) ) 5761 // InternalApplicationConfiguration.g:2084:5: lv_entries_2_0= ruleCostEntry
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 newCompositeNode(grammarAccess.getCostObjectiveFunctionAccess().getEntriesCostEntryParserRuleCall_2_0());
5765 // InternalApplicationConfiguration.g:2085:3: otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) 5765
5766 { 5766 pushFollow(FOLLOW_14);
5767 otherlv_0=(Token)match(input,31,FOLLOW_12); 5767 lv_entries_2_0=ruleCostEntry();
5768 5768
5769 newLeafNode(otherlv_0, grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0()); 5769 state._fsp--;
5770 5770
5771 otherlv_1=(Token)match(input,17,FOLLOW_7); 5771
5772 5772 if (current==null) {
5773 newLeafNode(otherlv_1, grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1()); 5773 current = createModelElementForParent(grammarAccess.getCostObjectiveFunctionRule());
5774 5774 }
5775 // InternalApplicationConfiguration.g:2093:3: ( (lv_megabyteLimit_2_0= RULE_INT ) ) 5775 add(
5776 // InternalApplicationConfiguration.g:2094:4: (lv_megabyteLimit_2_0= RULE_INT ) 5776 current,
5777 { 5777 "entries",
5778 // InternalApplicationConfiguration.g:2094:4: (lv_megabyteLimit_2_0= RULE_INT ) 5778 lv_entries_2_0,
5779 // InternalApplicationConfiguration.g:2095:5: lv_megabyteLimit_2_0= RULE_INT 5779 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.CostEntry");
5780 { 5780 afterParserOrEnumRuleCall();
5781 lv_megabyteLimit_2_0=(Token)match(input,RULE_INT,FOLLOW_2); 5781
5782 5782
5783 newLeafNode(lv_megabyteLimit_2_0, grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0()); 5783 }
5784 5784
5785 5785
5786 if (current==null) { 5786 }
5787 current = createModelElement(grammarAccess.getMemoryEntryRule()); 5787
5788 } 5788 // InternalApplicationConfiguration.g:2101:3: (otherlv_3= ',' ( (lv_entries_4_0= ruleCostEntry ) ) )*
5789 setWithLastConsumed( 5789 loop30:
5790 current, 5790 do {
5791 "megabyteLimit", 5791 int alt30=2;
5792 lv_megabyteLimit_2_0, 5792 int LA30_0 = input.LA(1);
5793 "org.eclipse.xtext.common.Terminals.INT"); 5793
5794 5794 if ( (LA30_0==19) ) {
5795 5795 alt30=1;
5796 } 5796 }
5797 5797
5798 5798
5799 } 5799 switch (alt30) {
5800 5800 case 1 :
5801 5801 // InternalApplicationConfiguration.g:2102:4: otherlv_3= ',' ( (lv_entries_4_0= ruleCostEntry ) )
5802 } 5802 {
5803 5803 otherlv_3=(Token)match(input,19,FOLLOW_6);
5804 5804
5805 } 5805 newLeafNode(otherlv_3, grammarAccess.getCostObjectiveFunctionAccess().getCommaKeyword_3_0());
5806 5806
5807 5807 // InternalApplicationConfiguration.g:2106:4: ( (lv_entries_4_0= ruleCostEntry ) )
5808 leaveRule(); 5808 // InternalApplicationConfiguration.g:2107:5: (lv_entries_4_0= ruleCostEntry )
5809 5809 {
5810 } 5810 // InternalApplicationConfiguration.g:2107:5: (lv_entries_4_0= ruleCostEntry )
5811 5811 // InternalApplicationConfiguration.g:2108:6: lv_entries_4_0= ruleCostEntry
5812 catch (RecognitionException re) { 5812 {
5813 recover(input,re); 5813
5814 appendSkippedTokens(); 5814 newCompositeNode(grammarAccess.getCostObjectiveFunctionAccess().getEntriesCostEntryParserRuleCall_3_1_0());
5815 } 5815
5816 finally { 5816 pushFollow(FOLLOW_14);
5817 } 5817 lv_entries_4_0=ruleCostEntry();
5818 return current; 5818
5819 } 5819 state._fsp--;
5820 // $ANTLR end "ruleMemoryEntry" 5820
5821 5821
5822 5822 if (current==null) {
5823 // $ANTLR start "entryRuleCustomEntry" 5823 current = createModelElementForParent(grammarAccess.getCostObjectiveFunctionRule());
5824 // InternalApplicationConfiguration.g:2115:1: entryRuleCustomEntry returns [EObject current=null] : iv_ruleCustomEntry= ruleCustomEntry EOF ; 5824 }
5825 public final EObject entryRuleCustomEntry() throws RecognitionException { 5825 add(
5826 EObject current = null; 5826 current,
5827 5827 "entries",
5828 EObject iv_ruleCustomEntry = null; 5828 lv_entries_4_0,
5829 5829 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.CostEntry");
5830 5830 afterParserOrEnumRuleCall();
5831 try { 5831
5832 // InternalApplicationConfiguration.g:2115:52: (iv_ruleCustomEntry= ruleCustomEntry EOF ) 5832
5833 // InternalApplicationConfiguration.g:2116:2: iv_ruleCustomEntry= ruleCustomEntry EOF 5833 }
5834 { 5834
5835 newCompositeNode(grammarAccess.getCustomEntryRule()); 5835
5836 pushFollow(FOLLOW_1); 5836 }
5837 iv_ruleCustomEntry=ruleCustomEntry(); 5837
5838 5838
5839 state._fsp--; 5839 }
5840 5840 break;
5841 current =iv_ruleCustomEntry; 5841
5842 match(input,EOF,FOLLOW_2); 5842 default :
5843 5843 break loop30;
5844 } 5844 }
5845 5845 } while (true);
5846 } 5846
5847 5847 otherlv_5=(Token)match(input,20,FOLLOW_2);
5848 catch (RecognitionException re) { 5848
5849 recover(input,re); 5849 newLeafNode(otherlv_5, grammarAccess.getCostObjectiveFunctionAccess().getRightCurlyBracketKeyword_4());
5850 appendSkippedTokens(); 5850
5851 } 5851
5852 finally { 5852 }
5853 } 5853
5854 return current; 5854
5855 } 5855 }
5856 // $ANTLR end "entryRuleCustomEntry" 5856
5857 5857
5858 5858 leaveRule();
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 }
5861 public final EObject ruleCustomEntry() throws RecognitionException { 5861
5862 EObject current = null; 5862 catch (RecognitionException re) {
5863 5863 recover(input,re);
5864 Token lv_key_0_0=null; 5864 appendSkippedTokens();
5865 Token otherlv_1=null; 5865 }
5866 Token lv_value_2_0=null; 5866 finally {
5867 5867 }
5868 5868 return current;
5869 enterRule(); 5869 }
5870 5870 // $ANTLR end "ruleCostObjectiveFunction"
5871 try { 5871
5872 // InternalApplicationConfiguration.g:2128:2: ( ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ) 5872
5873 // InternalApplicationConfiguration.g:2129:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) 5873 // $ANTLR start "entryRuleCostEntry"
5874 { 5874 // InternalApplicationConfiguration.g:2134:1: entryRuleCostEntry returns [EObject current=null] : iv_ruleCostEntry= ruleCostEntry EOF ;
5875 // InternalApplicationConfiguration.g:2129:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) 5875 public final EObject entryRuleCostEntry() throws RecognitionException {
5876 // InternalApplicationConfiguration.g:2130:3: ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) 5876 EObject current = null;
5877 { 5877
5878 // InternalApplicationConfiguration.g:2130:3: ( (lv_key_0_0= RULE_STRING ) ) 5878 EObject iv_ruleCostEntry = null;
5879 // InternalApplicationConfiguration.g:2131:4: (lv_key_0_0= RULE_STRING ) 5879
5880 { 5880
5881 // InternalApplicationConfiguration.g:2131:4: (lv_key_0_0= RULE_STRING ) 5881 try {
5882 // InternalApplicationConfiguration.g:2132:5: lv_key_0_0= RULE_STRING 5882 // InternalApplicationConfiguration.g:2134:50: (iv_ruleCostEntry= ruleCostEntry EOF )
5883 { 5883 // InternalApplicationConfiguration.g:2135:2: iv_ruleCostEntry= ruleCostEntry EOF
5884 lv_key_0_0=(Token)match(input,RULE_STRING,FOLLOW_12); 5884 {
5885 5885 newCompositeNode(grammarAccess.getCostEntryRule());
5886 newLeafNode(lv_key_0_0, grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); 5886 pushFollow(FOLLOW_1);
5887 5887 iv_ruleCostEntry=ruleCostEntry();
5888 5888
5889 if (current==null) { 5889 state._fsp--;
5890 current = createModelElement(grammarAccess.getCustomEntryRule()); 5890
5891 } 5891 current =iv_ruleCostEntry;
5892 setWithLastConsumed( 5892 match(input,EOF,FOLLOW_2);
5893 current, 5893
5894 "key", 5894 }
5895 lv_key_0_0, 5895
5896 "org.eclipse.xtext.common.Terminals.STRING"); 5896 }
5897 5897
5898 5898 catch (RecognitionException re) {
5899 } 5899 recover(input,re);
5900 5900 appendSkippedTokens();
5901 5901 }
5902 } 5902 finally {
5903 5903 }
5904 otherlv_1=(Token)match(input,17,FOLLOW_10); 5904 return current;
5905 5905 }
5906 newLeafNode(otherlv_1, grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1()); 5906 // $ANTLR end "entryRuleCostEntry"
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 // $ANTLR start "ruleCostEntry"
5910 { 5910 // InternalApplicationConfiguration.g:2141:1: ruleCostEntry returns [EObject current=null] : ( ( (lv_patternElement_0_0= rulePatternElement ) ) otherlv_1= '=' ( (lv_weight_2_0= ruleINTLiteral ) ) ) ;
5911 // InternalApplicationConfiguration.g:2153:4: (lv_value_2_0= RULE_STRING ) 5911 public final EObject ruleCostEntry() throws RecognitionException {
5912 // InternalApplicationConfiguration.g:2154:5: lv_value_2_0= RULE_STRING 5912 EObject current = null;
5913 { 5913
5914 lv_value_2_0=(Token)match(input,RULE_STRING,FOLLOW_2); 5914 Token otherlv_1=null;
5915 5915 EObject lv_patternElement_0_0 = null;
5916 newLeafNode(lv_value_2_0, grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); 5916
5917 5917 AntlrDatatypeRuleToken lv_weight_2_0 = null;
5918 5918
5919 if (current==null) { 5919
5920 current = createModelElement(grammarAccess.getCustomEntryRule()); 5920
5921 } 5921 enterRule();
5922 setWithLastConsumed( 5922
5923 current, 5923 try {
5924 "value", 5924 // InternalApplicationConfiguration.g:2147:2: ( ( ( (lv_patternElement_0_0= rulePatternElement ) ) otherlv_1= '=' ( (lv_weight_2_0= ruleINTLiteral ) ) ) )
5925 lv_value_2_0, 5925 // InternalApplicationConfiguration.g:2148:2: ( ( (lv_patternElement_0_0= rulePatternElement ) ) otherlv_1= '=' ( (lv_weight_2_0= ruleINTLiteral ) ) )
5926 "org.eclipse.xtext.common.Terminals.STRING"); 5926 {
5927 5927 // InternalApplicationConfiguration.g:2148:2: ( ( (lv_patternElement_0_0= rulePatternElement ) ) otherlv_1= '=' ( (lv_weight_2_0= ruleINTLiteral ) ) )
5928 5928 // InternalApplicationConfiguration.g:2149:3: ( (lv_patternElement_0_0= rulePatternElement ) ) otherlv_1= '=' ( (lv_weight_2_0= ruleINTLiteral ) )
5929 } 5929 {
5930 5930 // InternalApplicationConfiguration.g:2149:3: ( (lv_patternElement_0_0= rulePatternElement ) )
5931 5931 // InternalApplicationConfiguration.g:2150:4: (lv_patternElement_0_0= rulePatternElement )
5932 } 5932 {
5933 5933 // InternalApplicationConfiguration.g:2150:4: (lv_patternElement_0_0= rulePatternElement )
5934 5934 // InternalApplicationConfiguration.g:2151:5: lv_patternElement_0_0= rulePatternElement
5935 } 5935 {
5936 5936
5937 5937 newCompositeNode(grammarAccess.getCostEntryAccess().getPatternElementPatternElementParserRuleCall_0_0());
5938 } 5938
5939 5939 pushFollow(FOLLOW_12);
5940 5940 lv_patternElement_0_0=rulePatternElement();
5941 leaveRule(); 5941
5942 5942 state._fsp--;
5943 } 5943
5944 5944
5945 catch (RecognitionException re) { 5945 if (current==null) {
5946 recover(input,re); 5946 current = createModelElementForParent(grammarAccess.getCostEntryRule());
5947 appendSkippedTokens(); 5947 }
5948 } 5948 set(
5949 finally { 5949 current,
5950 } 5950 "patternElement",
5951 return current; 5951 lv_patternElement_0_0,
5952 } 5952 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement");
5953 // $ANTLR end "ruleCustomEntry" 5953 afterParserOrEnumRuleCall();
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 otherlv_1=(Token)match(input,17,FOLLOW_23);
5962 5962
5963 5963 newLeafNode(otherlv_1, grammarAccess.getCostEntryAccess().getEqualsSignKeyword_1());
5964 try { 5964
5965 // InternalApplicationConfiguration.g:2174:56: (iv_ruleConfigReference= ruleConfigReference EOF ) 5965 // InternalApplicationConfiguration.g:2172:3: ( (lv_weight_2_0= ruleINTLiteral ) )
5966 // InternalApplicationConfiguration.g:2175:2: iv_ruleConfigReference= ruleConfigReference EOF 5966 // InternalApplicationConfiguration.g:2173:4: (lv_weight_2_0= ruleINTLiteral )
5967 { 5967 {
5968 newCompositeNode(grammarAccess.getConfigReferenceRule()); 5968 // InternalApplicationConfiguration.g:2173:4: (lv_weight_2_0= ruleINTLiteral )
5969 pushFollow(FOLLOW_1); 5969 // InternalApplicationConfiguration.g:2174:5: lv_weight_2_0= ruleINTLiteral
5970 iv_ruleConfigReference=ruleConfigReference(); 5970 {
5971 5971
5972 state._fsp--; 5972 newCompositeNode(grammarAccess.getCostEntryAccess().getWeightINTLiteralParserRuleCall_2_0());
5973 5973
5974 current =iv_ruleConfigReference; 5974 pushFollow(FOLLOW_2);
5975 match(input,EOF,FOLLOW_2); 5975 lv_weight_2_0=ruleINTLiteral();
5976 5976
5977 } 5977 state._fsp--;
5978 5978
5979 } 5979
5980 5980 if (current==null) {
5981 catch (RecognitionException re) { 5981 current = createModelElementForParent(grammarAccess.getCostEntryRule());
5982 recover(input,re); 5982 }
5983 appendSkippedTokens(); 5983 set(
5984 } 5984 current,
5985 finally { 5985 "weight",
5986 } 5986 lv_weight_2_0,
5987 return current; 5987 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral");
5988 } 5988 afterParserOrEnumRuleCall();
5989 // $ANTLR end "entryRuleConfigReference" 5989
5990 5990
5991 5991 }
5992 // $ANTLR start "ruleConfigReference" 5992
5993 // InternalApplicationConfiguration.g:2181:1: ruleConfigReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; 5993
5994 public final EObject ruleConfigReference() throws RecognitionException { 5994 }
5995 EObject current = null; 5995
5996 5996
5997 Token otherlv_0=null; 5997 }
5998 5998
5999 5999
6000 enterRule(); 6000 }
6001 6001
6002 try { 6002
6003 // InternalApplicationConfiguration.g:2187:2: ( ( (otherlv_0= RULE_ID ) ) ) 6003 leaveRule();
6004 // InternalApplicationConfiguration.g:2188:2: ( (otherlv_0= RULE_ID ) ) 6004
6005 { 6005 }
6006 // InternalApplicationConfiguration.g:2188:2: ( (otherlv_0= RULE_ID ) ) 6006
6007 // InternalApplicationConfiguration.g:2189:3: (otherlv_0= RULE_ID ) 6007 catch (RecognitionException re) {
6008 { 6008 recover(input,re);
6009 // InternalApplicationConfiguration.g:2189:3: (otherlv_0= RULE_ID ) 6009 appendSkippedTokens();
6010 // InternalApplicationConfiguration.g:2190:4: otherlv_0= RULE_ID 6010 }
6011 { 6011 finally {
6012 6012 }
6013 if (current==null) { 6013 return current;
6014 current = createModelElement(grammarAccess.getConfigReferenceRule()); 6014 }
6015 } 6015 // $ANTLR end "ruleCostEntry"
6016 6016
6017 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); 6017
6018 6018 // $ANTLR start "entryRuleObjectiveDeclaration"
6019 newLeafNode(otherlv_0, grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); 6019 // InternalApplicationConfiguration.g:2195:1: entryRuleObjectiveDeclaration returns [EObject current=null] : iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF ;
6020 6020 public final EObject entryRuleObjectiveDeclaration() throws RecognitionException {
6021 6021 EObject current = null;
6022 } 6022
6023 6023 EObject iv_ruleObjectiveDeclaration = null;
6024 6024
6025 } 6025
6026 6026 try {
6027 6027 // InternalApplicationConfiguration.g:2195:61: (iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF )
6028 } 6028 // InternalApplicationConfiguration.g:2196:2: iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF
6029 6029 {
6030 6030 newCompositeNode(grammarAccess.getObjectiveDeclarationRule());
6031 leaveRule(); 6031 pushFollow(FOLLOW_1);
6032 6032 iv_ruleObjectiveDeclaration=ruleObjectiveDeclaration();
6033 } 6033
6034 6034 state._fsp--;
6035 catch (RecognitionException re) { 6035
6036 recover(input,re); 6036 current =iv_ruleObjectiveDeclaration;
6037 appendSkippedTokens(); 6037 match(input,EOF,FOLLOW_2);
6038 } 6038
6039 finally { 6039 }
6040 } 6040
6041 return current; 6041 }
6042 } 6042
6043 // $ANTLR end "ruleConfigReference" 6043 catch (RecognitionException re) {
6044 6044 recover(input,re);
6045 6045 appendSkippedTokens();
6046 // $ANTLR start "entryRuleConfig" 6046 }
6047 // InternalApplicationConfiguration.g:2204:1: entryRuleConfig returns [EObject current=null] : iv_ruleConfig= ruleConfig EOF ; 6047 finally {
6048 public final EObject entryRuleConfig() throws RecognitionException { 6048 }
6049 EObject current = null; 6049 return current;
6050 6050 }
6051 EObject iv_ruleConfig = null; 6051 // $ANTLR end "entryRuleObjectiveDeclaration"
6052 6052
6053 6053
6054 try { 6054 // $ANTLR start "ruleObjectiveDeclaration"
6055 // InternalApplicationConfiguration.g:2204:47: (iv_ruleConfig= ruleConfig EOF ) 6055 // InternalApplicationConfiguration.g:2202:1: ruleObjectiveDeclaration returns [EObject current=null] : (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) ;
6056 // InternalApplicationConfiguration.g:2205:2: iv_ruleConfig= ruleConfig EOF 6056 public final EObject ruleObjectiveDeclaration() throws RecognitionException {
6057 { 6057 EObject current = null;
6058 newCompositeNode(grammarAccess.getConfigRule()); 6058
6059 pushFollow(FOLLOW_1); 6059 Token otherlv_0=null;
6060 iv_ruleConfig=ruleConfig(); 6060 Token lv_name_1_0=null;
6061 6061 EObject lv_specification_2_0 = null;
6062 state._fsp--; 6062
6063 6063
6064 current =iv_ruleConfig; 6064
6065 match(input,EOF,FOLLOW_2); 6065 enterRule();
6066 6066
6067 } 6067 try {
6068 6068 // InternalApplicationConfiguration.g:2208:2: ( (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) )
6069 } 6069 // InternalApplicationConfiguration.g:2209:2: (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) )
6070 6070 {
6071 catch (RecognitionException re) { 6071 // InternalApplicationConfiguration.g:2209:2: (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) )
6072 recover(input,re); 6072 // InternalApplicationConfiguration.g:2210:3: otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) )
6073 appendSkippedTokens(); 6073 {
6074 } 6074 otherlv_0=(Token)match(input,29,FOLLOW_6);
6075 finally { 6075
6076 } 6076 newLeafNode(otherlv_0, grammarAccess.getObjectiveDeclarationAccess().getObjectivesKeyword_0());
6077 return current; 6077
6078 } 6078 // InternalApplicationConfiguration.g:2214:3: ( (lv_name_1_0= RULE_ID ) )
6079 // $ANTLR end "entryRuleConfig" 6079 // InternalApplicationConfiguration.g:2215:4: (lv_name_1_0= RULE_ID )
6080 6080 {
6081 6081 // InternalApplicationConfiguration.g:2215:4: (lv_name_1_0= RULE_ID )
6082 // $ANTLR start "ruleConfig" 6082 // InternalApplicationConfiguration.g:2216:5: lv_name_1_0= RULE_ID
6083 // InternalApplicationConfiguration.g:2211:1: ruleConfig returns [EObject current=null] : (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ; 6083 {
6084 public final EObject ruleConfig() throws RecognitionException { 6084 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16);
6085 EObject current = null; 6085
6086 6086 newLeafNode(lv_name_1_0, grammarAccess.getObjectiveDeclarationAccess().getNameIDTerminalRuleCall_1_0());
6087 EObject this_ConfigSpecification_0 = null; 6087
6088 6088
6089 EObject this_ConfigReference_1 = null; 6089 if (current==null) {
6090 6090 current = createModelElement(grammarAccess.getObjectiveDeclarationRule());
6091 6091 }
6092 6092 setWithLastConsumed(
6093 enterRule(); 6093 current,
6094 6094 "name",
6095 try { 6095 lv_name_1_0,
6096 // InternalApplicationConfiguration.g:2217:2: ( (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ) 6096 "org.eclipse.xtext.common.Terminals.ID");
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
6104 alt31=1; 6104 // InternalApplicationConfiguration.g:2232:3: ( (lv_specification_2_0= ruleObjectiveSpecification ) )
6105 } 6105 // InternalApplicationConfiguration.g:2233:4: (lv_specification_2_0= ruleObjectiveSpecification )
6106 else if ( (LA31_0==RULE_ID) ) { 6106 {
6107 alt31=2; 6107 // InternalApplicationConfiguration.g:2233:4: (lv_specification_2_0= ruleObjectiveSpecification )
6108 } 6108 // InternalApplicationConfiguration.g:2234:5: lv_specification_2_0= ruleObjectiveSpecification
6109 else { 6109 {
6110 NoViableAltException nvae = 6110
6111 new NoViableAltException("", 31, 0, input); 6111 newCompositeNode(grammarAccess.getObjectiveDeclarationAccess().getSpecificationObjectiveSpecificationParserRuleCall_2_0());
6112 6112
6113 throw nvae; 6113 pushFollow(FOLLOW_2);
6114 } 6114 lv_specification_2_0=ruleObjectiveSpecification();
6115 switch (alt31) { 6115
6116 case 1 : 6116 state._fsp--;
6117 // InternalApplicationConfiguration.g:2219:3: this_ConfigSpecification_0= ruleConfigSpecification 6117
6118 { 6118
6119 6119 if (current==null) {
6120 newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); 6120 current = createModelElementForParent(grammarAccess.getObjectiveDeclarationRule());
6121 6121 }
6122 pushFollow(FOLLOW_2); 6122 set(
6123 this_ConfigSpecification_0=ruleConfigSpecification(); 6123 current,
6124 6124 "specification",
6125 state._fsp--; 6125 lv_specification_2_0,
6126 6126 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveSpecification");
6127 6127 afterParserOrEnumRuleCall();
6128 current = this_ConfigSpecification_0; 6128
6129 afterParserOrEnumRuleCall(); 6129
6130 6130 }
6131 6131
6132 } 6132
6133 break; 6133 }
6134 case 2 : 6134
6135 // InternalApplicationConfiguration.g:2228:3: this_ConfigReference_1= ruleConfigReference 6135
6136 { 6136 }
6137 6137
6138 newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); 6138
6139 6139 }
6140 pushFollow(FOLLOW_2); 6140
6141 this_ConfigReference_1=ruleConfigReference(); 6141
6142 6142 leaveRule();
6143 state._fsp--; 6143
6144 6144 }
6145 6145
6146 current = this_ConfigReference_1; 6146 catch (RecognitionException re) {
6147 afterParserOrEnumRuleCall(); 6147 recover(input,re);
6148 6148 appendSkippedTokens();
6149 6149 }
6150 } 6150 finally {
6151 break; 6151 }
6152 6152 return current;
6153 } 6153 }
6154 6154 // $ANTLR end "ruleObjectiveDeclaration"
6155 6155
6156 } 6156
6157 6157 // $ANTLR start "entryRuleObjectiveReference"
6158 6158 // InternalApplicationConfiguration.g:2255:1: entryRuleObjectiveReference returns [EObject current=null] : iv_ruleObjectiveReference= ruleObjectiveReference EOF ;
6159 leaveRule(); 6159 public final EObject entryRuleObjectiveReference() throws RecognitionException {
6160 6160 EObject current = null;
6161 } 6161
6162 6162 EObject iv_ruleObjectiveReference = null;
6163 catch (RecognitionException re) { 6163
6164 recover(input,re); 6164
6165 appendSkippedTokens(); 6165 try {
6166 } 6166 // InternalApplicationConfiguration.g:2255:59: (iv_ruleObjectiveReference= ruleObjectiveReference EOF )
6167 finally { 6167 // InternalApplicationConfiguration.g:2256:2: iv_ruleObjectiveReference= ruleObjectiveReference EOF
6168 } 6168 {
6169 return current; 6169 newCompositeNode(grammarAccess.getObjectiveReferenceRule());
6170 } 6170 pushFollow(FOLLOW_1);
6171 // $ANTLR end "ruleConfig" 6171 iv_ruleObjectiveReference=ruleObjectiveReference();
6172 6172
6173 6173 state._fsp--;
6174 // $ANTLR start "entryRuleScopeSpecification" 6174
6175 // InternalApplicationConfiguration.g:2240:1: entryRuleScopeSpecification returns [EObject current=null] : iv_ruleScopeSpecification= ruleScopeSpecification EOF ; 6175 current =iv_ruleObjectiveReference;
6176 public final EObject entryRuleScopeSpecification() throws RecognitionException { 6176 match(input,EOF,FOLLOW_2);
6177 EObject current = null; 6177
6178 6178 }
6179 EObject iv_ruleScopeSpecification = null; 6179
6180 6180 }
6181 6181
6182 try { 6182 catch (RecognitionException re) {
6183 // InternalApplicationConfiguration.g:2240:59: (iv_ruleScopeSpecification= ruleScopeSpecification EOF ) 6183 recover(input,re);
6184 // InternalApplicationConfiguration.g:2241:2: iv_ruleScopeSpecification= ruleScopeSpecification EOF 6184 appendSkippedTokens();
6185 { 6185 }
6186 newCompositeNode(grammarAccess.getScopeSpecificationRule()); 6186 finally {
6187 pushFollow(FOLLOW_1); 6187 }
6188 iv_ruleScopeSpecification=ruleScopeSpecification(); 6188 return current;
6189 6189 }
6190 state._fsp--; 6190 // $ANTLR end "entryRuleObjectiveReference"
6191 6191
6192 current =iv_ruleScopeSpecification; 6192
6193 match(input,EOF,FOLLOW_2); 6193 // $ANTLR start "ruleObjectiveReference"
6194 6194 // InternalApplicationConfiguration.g:2262:1: ruleObjectiveReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
6195 } 6195 public final EObject ruleObjectiveReference() throws RecognitionException {
6196 6196 EObject current = null;
6197 } 6197
6198 6198 Token otherlv_0=null;
6199 catch (RecognitionException re) { 6199
6200 recover(input,re); 6200
6201 appendSkippedTokens(); 6201 enterRule();
6202 } 6202
6203 finally { 6203 try {
6204 } 6204 // InternalApplicationConfiguration.g:2268:2: ( ( (otherlv_0= RULE_ID ) ) )
6205 return current; 6205 // InternalApplicationConfiguration.g:2269:2: ( (otherlv_0= RULE_ID ) )
6206 } 6206 {
6207 // $ANTLR end "entryRuleScopeSpecification" 6207 // InternalApplicationConfiguration.g:2269:2: ( (otherlv_0= RULE_ID ) )
6208 6208 // InternalApplicationConfiguration.g:2270:3: (otherlv_0= RULE_ID )
6209 6209 {
6210 // $ANTLR start "ruleScopeSpecification" 6210 // InternalApplicationConfiguration.g:2270:3: (otherlv_0= RULE_ID )
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 // InternalApplicationConfiguration.g:2271:4: otherlv_0= RULE_ID
6212 public final EObject ruleScopeSpecification() throws RecognitionException { 6212 {
6213 EObject current = null; 6213
6214 6214 if (current==null) {
6215 Token otherlv_1=null; 6215 current = createModelElement(grammarAccess.getObjectiveReferenceRule());
6216 Token otherlv_3=null; 6216 }
6217 Token otherlv_5=null; 6217
6218 EObject lv_scopes_2_0 = null; 6218 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2);
6219 6219
6220 EObject lv_scopes_4_0 = null; 6220 newLeafNode(otherlv_0, grammarAccess.getObjectiveReferenceAccess().getReferredObjectiveDeclarationCrossReference_0());
6221 6221
6222 6222
6223 6223 }
6224 enterRule(); 6224
6225 6225
6226 try { 6226 }
6227 // InternalApplicationConfiguration.g:2253:2: ( ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ) 6227
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 leaveRule();
6233 // InternalApplicationConfiguration.g:2255:3: () 6233
6234 // InternalApplicationConfiguration.g:2256:4: 6234 }
6235 { 6235
6236 6236 catch (RecognitionException re) {
6237 current = forceCreateModelElement( 6237 recover(input,re);
6238 grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(), 6238 appendSkippedTokens();
6239 current); 6239 }
6240 6240 finally {
6241 6241 }
6242 } 6242 return current;
6243 6243 }
6244 otherlv_1=(Token)match(input,18,FOLLOW_24); 6244 // $ANTLR end "ruleObjectiveReference"
6245 6245
6246 newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); 6246
6247 6247 // $ANTLR start "entryRuleObjective"
6248 // InternalApplicationConfiguration.g:2266:3: ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? 6248 // InternalApplicationConfiguration.g:2285:1: entryRuleObjective returns [EObject current=null] : iv_ruleObjective= ruleObjective EOF ;
6249 int alt33=2; 6249 public final EObject entryRuleObjective() throws RecognitionException {
6250 int LA33_0 = input.LA(1); 6250 EObject current = null;
6251 6251
6252 if ( (LA33_0==32) ) { 6252 EObject iv_ruleObjective = null;
6253 alt33=1; 6253
6254 } 6254
6255 switch (alt33) { 6255 try {
6256 case 1 : 6256 // InternalApplicationConfiguration.g:2285:50: (iv_ruleObjective= ruleObjective EOF )
6257 // InternalApplicationConfiguration.g:2267:4: ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* 6257 // InternalApplicationConfiguration.g:2286:2: iv_ruleObjective= ruleObjective EOF
6258 { 6258 {
6259 // InternalApplicationConfiguration.g:2267:4: ( (lv_scopes_2_0= ruleTypeScope ) ) 6259 newCompositeNode(grammarAccess.getObjectiveRule());
6260 // InternalApplicationConfiguration.g:2268:5: (lv_scopes_2_0= ruleTypeScope ) 6260 pushFollow(FOLLOW_1);
6261 { 6261 iv_ruleObjective=ruleObjective();
6262 // InternalApplicationConfiguration.g:2268:5: (lv_scopes_2_0= ruleTypeScope ) 6262
6263 // InternalApplicationConfiguration.g:2269:6: lv_scopes_2_0= ruleTypeScope 6263 state._fsp--;
6264 { 6264
6265 6265 current =iv_ruleObjective;
6266 newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); 6266 match(input,EOF,FOLLOW_2);
6267 6267
6268 pushFollow(FOLLOW_14); 6268 }
6269 lv_scopes_2_0=ruleTypeScope(); 6269
6270 6270 }
6271 state._fsp--; 6271
6272 6272 catch (RecognitionException re) {
6273 6273 recover(input,re);
6274 if (current==null) { 6274 appendSkippedTokens();
6275 current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); 6275 }
6276 } 6276 finally {
6277 add( 6277 }
6278 current, 6278 return current;
6279 "scopes", 6279 }
6280 lv_scopes_2_0, 6280 // $ANTLR end "entryRuleObjective"
6281 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); 6281
6282 afterParserOrEnumRuleCall(); 6282
6283 6283 // $ANTLR start "ruleObjective"
6284 6284 // InternalApplicationConfiguration.g:2292:1: ruleObjective returns [EObject current=null] : (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) ;
6285 } 6285 public final EObject ruleObjective() throws RecognitionException {
6286 6286 EObject current = null;
6287 6287
6288 } 6288 EObject this_ObjectiveReference_0 = null;
6289 6289
6290 // InternalApplicationConfiguration.g:2286:4: (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* 6290 EObject this_ObjectiveSpecification_1 = null;
6291 loop32: 6291
6292 do { 6292
6293 int alt32=2; 6293
6294 int LA32_0 = input.LA(1); 6294 enterRule();
6295 6295
6296 if ( (LA32_0==19) ) { 6296 try {
6297 alt32=1; 6297 // InternalApplicationConfiguration.g:2298:2: ( (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) )
6298 } 6298 // InternalApplicationConfiguration.g:2299:2: (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification )
6299 6299 {
6300 6300 // InternalApplicationConfiguration.g:2299:2: (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification )
6301 switch (alt32) { 6301 int alt31=2;
6302 case 1 : 6302 int LA31_0 = input.LA(1);
6303 // InternalApplicationConfiguration.g:2287:5: otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) 6303
6304 { 6304 if ( (LA31_0==RULE_ID) ) {
6305 otherlv_3=(Token)match(input,19,FOLLOW_25); 6305 alt31=1;
6306 6306 }
6307 newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); 6307 else if ( (LA31_0==18) ) {
6308 6308 alt31=2;
6309 // InternalApplicationConfiguration.g:2291:5: ( (lv_scopes_4_0= ruleTypeScope ) ) 6309 }
6310 // InternalApplicationConfiguration.g:2292:6: (lv_scopes_4_0= ruleTypeScope ) 6310 else {
6311 { 6311 NoViableAltException nvae =
6312 // InternalApplicationConfiguration.g:2292:6: (lv_scopes_4_0= ruleTypeScope ) 6312 new NoViableAltException("", 31, 0, input);
6313 // InternalApplicationConfiguration.g:2293:7: lv_scopes_4_0= ruleTypeScope 6313
6314 { 6314 throw nvae;
6315 6315 }
6316 newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); 6316 switch (alt31) {
6317 6317 case 1 :
6318 pushFollow(FOLLOW_14); 6318 // InternalApplicationConfiguration.g:2300:3: this_ObjectiveReference_0= ruleObjectiveReference
6319 lv_scopes_4_0=ruleTypeScope(); 6319 {
6320 6320
6321 state._fsp--; 6321 newCompositeNode(grammarAccess.getObjectiveAccess().getObjectiveReferenceParserRuleCall_0());
6322 6322
6323 6323 pushFollow(FOLLOW_2);
6324 if (current==null) { 6324 this_ObjectiveReference_0=ruleObjectiveReference();
6325 current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); 6325
6326 } 6326 state._fsp--;
6327 add( 6327
6328 current, 6328
6329 "scopes", 6329 current = this_ObjectiveReference_0;
6330 lv_scopes_4_0, 6330 afterParserOrEnumRuleCall();
6331 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); 6331
6332 afterParserOrEnumRuleCall(); 6332
6333 6333 }
6334 6334 break;
6335 } 6335 case 2 :
6336 6336 // InternalApplicationConfiguration.g:2309:3: this_ObjectiveSpecification_1= ruleObjectiveSpecification
6337 6337 {
6338 } 6338
6339 6339 newCompositeNode(grammarAccess.getObjectiveAccess().getObjectiveSpecificationParserRuleCall_1());
6340 6340
6341 } 6341 pushFollow(FOLLOW_2);
6342 break; 6342 this_ObjectiveSpecification_1=ruleObjectiveSpecification();
6343 6343
6344 default : 6344 state._fsp--;
6345 break loop32; 6345
6346 } 6346
6347 } while (true); 6347 current = this_ObjectiveSpecification_1;
6348 6348 afterParserOrEnumRuleCall();
6349 6349
6350 } 6350
6351 break; 6351 }
6352 6352 break;
6353 } 6353
6354 6354 }
6355 otherlv_5=(Token)match(input,20,FOLLOW_2); 6355
6356 6356
6357 newLeafNode(otherlv_5, grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); 6357 }
6358 6358
6359 6359
6360 } 6360 leaveRule();
6361 6361
6362 6362 }
6363 } 6363
6364 6364 catch (RecognitionException re) {
6365 6365 recover(input,re);
6366 leaveRule(); 6366 appendSkippedTokens();
6367 6367 }
6368 } 6368 finally {
6369 6369 }
6370 catch (RecognitionException re) { 6370 return current;
6371 recover(input,re); 6371 }
6372 appendSkippedTokens(); 6372 // $ANTLR end "ruleObjective"
6373 } 6373
6374 finally { 6374
6375 } 6375 // $ANTLR start "entryRuleConfigSpecification"
6376 return current; 6376 // InternalApplicationConfiguration.g:2321:1: entryRuleConfigSpecification returns [EObject current=null] : iv_ruleConfigSpecification= ruleConfigSpecification EOF ;
6377 } 6377 public final EObject entryRuleConfigSpecification() throws RecognitionException {
6378 // $ANTLR end "ruleScopeSpecification" 6378 EObject current = null;
6379 6379
6380 6380 EObject iv_ruleConfigSpecification = null;
6381 // $ANTLR start "entryRuleTypeScope" 6381
6382 // InternalApplicationConfiguration.g:2320:1: entryRuleTypeScope returns [EObject current=null] : iv_ruleTypeScope= ruleTypeScope EOF ; 6382
6383 public final EObject entryRuleTypeScope() throws RecognitionException { 6383 try {
6384 EObject current = null; 6384 // InternalApplicationConfiguration.g:2321:60: (iv_ruleConfigSpecification= ruleConfigSpecification EOF )
6385 6385 // InternalApplicationConfiguration.g:2322:2: iv_ruleConfigSpecification= ruleConfigSpecification EOF
6386 EObject iv_ruleTypeScope = null; 6386 {
6387 6387 newCompositeNode(grammarAccess.getConfigSpecificationRule());
6388 6388 pushFollow(FOLLOW_1);
6389 try { 6389 iv_ruleConfigSpecification=ruleConfigSpecification();
6390 // InternalApplicationConfiguration.g:2320:50: (iv_ruleTypeScope= ruleTypeScope EOF ) 6390
6391 // InternalApplicationConfiguration.g:2321:2: iv_ruleTypeScope= ruleTypeScope EOF 6391 state._fsp--;
6392 { 6392
6393 newCompositeNode(grammarAccess.getTypeScopeRule()); 6393 current =iv_ruleConfigSpecification;
6394 pushFollow(FOLLOW_1); 6394 match(input,EOF,FOLLOW_2);
6395 iv_ruleTypeScope=ruleTypeScope(); 6395
6396 6396 }
6397 state._fsp--; 6397
6398 6398 }
6399 current =iv_ruleTypeScope; 6399
6400 match(input,EOF,FOLLOW_2); 6400 catch (RecognitionException re) {
6401 6401 recover(input,re);
6402 } 6402 appendSkippedTokens();
6403 6403 }
6404 } 6404 finally {
6405 6405 }
6406 catch (RecognitionException re) { 6406 return current;
6407 recover(input,re); 6407 }
6408 appendSkippedTokens(); 6408 // $ANTLR end "entryRuleConfigSpecification"
6409 } 6409
6410 finally { 6410
6411 } 6411 // $ANTLR start "ruleConfigSpecification"
6412 return current; 6412 // InternalApplicationConfiguration.g:2328:1: ruleConfigSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ;
6413 } 6413 public final EObject ruleConfigSpecification() throws RecognitionException {
6414 // $ANTLR end "entryRuleTypeScope" 6414 EObject current = null;
6415 6415
6416 6416 Token otherlv_1=null;
6417 // $ANTLR start "ruleTypeScope" 6417 Token otherlv_3=null;
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 Token otherlv_5=null;
6419 public final EObject ruleTypeScope() throws RecognitionException { 6419 EObject lv_entries_2_0 = null;
6420 EObject current = null; 6420
6421 6421 EObject lv_entries_4_0 = null;
6422 EObject this_ClassTypeScope_0 = null; 6422
6423 6423
6424 EObject this_ObjectTypeScope_1 = null; 6424
6425 6425 enterRule();
6426 EObject this_IntegerTypeScope_2 = null; 6426
6427 6427 try {
6428 EObject this_RealTypeScope_3 = null; 6428 // InternalApplicationConfiguration.g:2334:2: ( ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) )
6429 6429 // InternalApplicationConfiguration.g:2335:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' )
6430 EObject this_StringTypeScope_4 = null; 6430 {
6431 6431 // InternalApplicationConfiguration.g:2335:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' )
6432 6432 // InternalApplicationConfiguration.g:2336:3: () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}'
6433 6433 {
6434 enterRule(); 6434 // InternalApplicationConfiguration.g:2336:3: ()
6435 6435 // InternalApplicationConfiguration.g:2337:4:
6436 try { 6436 {
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
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 current = forceCreateModelElement(
6439 { 6439 grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(),
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
6442 int LA34_0 = input.LA(1); 6442
6443 6443 }
6444 if ( (LA34_0==32) ) { 6444
6445 switch ( input.LA(2) ) { 6445 otherlv_1=(Token)match(input,18,FOLLOW_24);
6446 case 37: 6446
6447 { 6447 newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1());
6448 alt34=3; 6448
6449 } 6449 // InternalApplicationConfiguration.g:2347:3: ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )?
6450 break; 6450 int alt33=2;
6451 case 38: 6451 int LA33_0 = input.LA(1);
6452 { 6452
6453 alt34=4; 6453 if ( (LA33_0==RULE_STRING||(LA33_0>=31 && LA33_0<=33)) ) {
6454 } 6454 alt33=1;
6455 break; 6455 }
6456 case 39: 6456 switch (alt33) {
6457 { 6457 case 1 :
6458 alt34=5; 6458 // InternalApplicationConfiguration.g:2348:4: ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )*
6459 } 6459 {
6460 break; 6460 // InternalApplicationConfiguration.g:2348:4: ( (lv_entries_2_0= ruleConfigEntry ) )
6461 case 34: 6461 // InternalApplicationConfiguration.g:2349:5: (lv_entries_2_0= ruleConfigEntry )
6462 { 6462 {
6463 alt34=1; 6463 // InternalApplicationConfiguration.g:2349:5: (lv_entries_2_0= ruleConfigEntry )
6464 } 6464 // InternalApplicationConfiguration.g:2350:6: lv_entries_2_0= ruleConfigEntry
6465 break; 6465 {
6466 case 36: 6466
6467 { 6467 newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0());
6468 alt34=2; 6468
6469 } 6469 pushFollow(FOLLOW_14);
6470 break; 6470 lv_entries_2_0=ruleConfigEntry();
6471 default: 6471
6472 NoViableAltException nvae = 6472 state._fsp--;
6473 new NoViableAltException("", 34, 1, input); 6473
6474 6474
6475 throw nvae; 6475 if (current==null) {
6476 } 6476 current = createModelElementForParent(grammarAccess.getConfigSpecificationRule());
6477 6477 }
6478 } 6478 add(
6479 else { 6479 current,
6480 NoViableAltException nvae = 6480 "entries",
6481 new NoViableAltException("", 34, 0, input); 6481 lv_entries_2_0,
6482 6482 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry");
6483 throw nvae; 6483 afterParserOrEnumRuleCall();
6484 } 6484
6485 switch (alt34) { 6485
6486 case 1 : 6486 }
6487 // InternalApplicationConfiguration.g:2335:3: this_ClassTypeScope_0= ruleClassTypeScope 6487
6488 { 6488
6489 6489 }
6490 newCompositeNode(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0()); 6490
6491 6491 // InternalApplicationConfiguration.g:2367:4: (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )*
6492 pushFollow(FOLLOW_2); 6492 loop32:
6493 this_ClassTypeScope_0=ruleClassTypeScope(); 6493 do {
6494 6494 int alt32=2;
6495 state._fsp--; 6495 int LA32_0 = input.LA(1);
6496 6496
6497 6497 if ( (LA32_0==19) ) {
6498 current = this_ClassTypeScope_0; 6498 alt32=1;
6499 afterParserOrEnumRuleCall(); 6499 }
6500 6500
6501 6501
6502 } 6502 switch (alt32) {
6503 break; 6503 case 1 :
6504 case 2 : 6504 // InternalApplicationConfiguration.g:2368:5: otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) )
6505 // InternalApplicationConfiguration.g:2344:3: this_ObjectTypeScope_1= ruleObjectTypeScope 6505 {
6506 { 6506 otherlv_3=(Token)match(input,19,FOLLOW_25);
6507 6507
6508 newCompositeNode(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1()); 6508 newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0());
6509 6509
6510 pushFollow(FOLLOW_2); 6510 // InternalApplicationConfiguration.g:2372:5: ( (lv_entries_4_0= ruleConfigEntry ) )
6511 this_ObjectTypeScope_1=ruleObjectTypeScope(); 6511 // InternalApplicationConfiguration.g:2373:6: (lv_entries_4_0= ruleConfigEntry )
6512 6512 {
6513 state._fsp--; 6513 // InternalApplicationConfiguration.g:2373:6: (lv_entries_4_0= ruleConfigEntry )
6514 6514 // InternalApplicationConfiguration.g:2374:7: lv_entries_4_0= ruleConfigEntry
6515 6515 {
6516 current = this_ObjectTypeScope_1; 6516
6517 afterParserOrEnumRuleCall(); 6517 newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0());
6518 6518
6519 6519 pushFollow(FOLLOW_14);
6520 } 6520 lv_entries_4_0=ruleConfigEntry();
6521 break; 6521
6522 case 3 : 6522 state._fsp--;
6523 // InternalApplicationConfiguration.g:2353:3: this_IntegerTypeScope_2= ruleIntegerTypeScope 6523
6524 { 6524
6525 6525 if (current==null) {
6526 newCompositeNode(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2()); 6526 current = createModelElementForParent(grammarAccess.getConfigSpecificationRule());
6527 6527 }
6528 pushFollow(FOLLOW_2); 6528 add(
6529 this_IntegerTypeScope_2=ruleIntegerTypeScope(); 6529 current,
6530 6530 "entries",
6531 state._fsp--; 6531 lv_entries_4_0,
6532 6532 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry");
6533 6533 afterParserOrEnumRuleCall();
6534 current = this_IntegerTypeScope_2; 6534
6535 afterParserOrEnumRuleCall(); 6535
6536 6536 }
6537 6537
6538 } 6538
6539 break; 6539 }
6540 case 4 : 6540
6541 // InternalApplicationConfiguration.g:2362:3: this_RealTypeScope_3= ruleRealTypeScope 6541
6542 { 6542 }
6543 6543 break;
6544 newCompositeNode(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3()); 6544
6545 6545 default :
6546 pushFollow(FOLLOW_2); 6546 break loop32;
6547 this_RealTypeScope_3=ruleRealTypeScope(); 6547 }
6548 6548 } while (true);
6549 state._fsp--; 6549
6550 6550
6551 6551 }
6552 current = this_RealTypeScope_3; 6552 break;
6553 afterParserOrEnumRuleCall(); 6553
6554 6554 }
6555 6555
6556 } 6556 otherlv_5=(Token)match(input,20,FOLLOW_2);
6557 break; 6557
6558 case 5 : 6558 newLeafNode(otherlv_5, grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3());
6559 // InternalApplicationConfiguration.g:2371:3: this_StringTypeScope_4= ruleStringTypeScope 6559
6560 { 6560
6561 6561 }
6562 newCompositeNode(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4()); 6562
6563 6563
6564 pushFollow(FOLLOW_2); 6564 }
6565 this_StringTypeScope_4=ruleStringTypeScope(); 6565
6566 6566
6567 state._fsp--; 6567 leaveRule();
6568 6568
6569 6569 }
6570 current = this_StringTypeScope_4; 6570
6571 afterParserOrEnumRuleCall(); 6571 catch (RecognitionException re) {
6572 6572 recover(input,re);
6573 6573 appendSkippedTokens();
6574 } 6574 }
6575 break; 6575 finally {
6576 6576 }
6577 } 6577 return current;
6578 6578 }
6579 6579 // $ANTLR end "ruleConfigSpecification"
6580 } 6580
6581 6581
6582 6582 // $ANTLR start "entryRuleConfigDeclaration"
6583 leaveRule(); 6583 // InternalApplicationConfiguration.g:2401:1: entryRuleConfigDeclaration returns [EObject current=null] : iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ;
6584 6584 public final EObject entryRuleConfigDeclaration() throws RecognitionException {
6585 } 6585 EObject current = null;
6586 6586
6587 catch (RecognitionException re) { 6587 EObject iv_ruleConfigDeclaration = null;
6588 recover(input,re); 6588
6589 appendSkippedTokens(); 6589
6590 } 6590 try {
6591 finally { 6591 // InternalApplicationConfiguration.g:2401:58: (iv_ruleConfigDeclaration= ruleConfigDeclaration EOF )
6592 } 6592 // InternalApplicationConfiguration.g:2402:2: iv_ruleConfigDeclaration= ruleConfigDeclaration EOF
6593 return current; 6593 {
6594 } 6594 newCompositeNode(grammarAccess.getConfigDeclarationRule());
6595 // $ANTLR end "ruleTypeScope" 6595 pushFollow(FOLLOW_1);
6596 6596 iv_ruleConfigDeclaration=ruleConfigDeclaration();
6597 6597
6598 // $ANTLR start "entryRuleClassTypeScope" 6598 state._fsp--;
6599 // InternalApplicationConfiguration.g:2383:1: entryRuleClassTypeScope returns [EObject current=null] : iv_ruleClassTypeScope= ruleClassTypeScope EOF ; 6599
6600 public final EObject entryRuleClassTypeScope() throws RecognitionException { 6600 current =iv_ruleConfigDeclaration;
6601 EObject current = null; 6601 match(input,EOF,FOLLOW_2);
6602 6602
6603 EObject iv_ruleClassTypeScope = null; 6603 }
6604 6604
6605 6605 }
6606 try { 6606
6607 // InternalApplicationConfiguration.g:2383:55: (iv_ruleClassTypeScope= ruleClassTypeScope EOF ) 6607 catch (RecognitionException re) {
6608 // InternalApplicationConfiguration.g:2384:2: iv_ruleClassTypeScope= ruleClassTypeScope EOF 6608 recover(input,re);
6609 { 6609 appendSkippedTokens();
6610 newCompositeNode(grammarAccess.getClassTypeScopeRule()); 6610 }
6611 pushFollow(FOLLOW_1); 6611 finally {
6612 iv_ruleClassTypeScope=ruleClassTypeScope(); 6612 }
6613 6613 return current;
6614 state._fsp--; 6614 }
6615 6615 // $ANTLR end "entryRuleConfigDeclaration"
6616 current =iv_ruleClassTypeScope; 6616
6617 match(input,EOF,FOLLOW_2); 6617
6618 6618 // $ANTLR start "ruleConfigDeclaration"
6619 } 6619 // InternalApplicationConfiguration.g:2408:1: ruleConfigDeclaration returns [EObject current=null] : (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ;
6620 6620 public final EObject ruleConfigDeclaration() throws RecognitionException {
6621 } 6621 EObject current = null;
6622 6622
6623 catch (RecognitionException re) { 6623 Token otherlv_0=null;
6624 recover(input,re); 6624 Token lv_name_1_0=null;
6625 appendSkippedTokens(); 6625 EObject lv_specification_2_0 = null;
6626 } 6626
6627 finally { 6627
6628 } 6628
6629 return current; 6629 enterRule();
6630 } 6630
6631 // $ANTLR end "entryRuleClassTypeScope" 6631 try {
6632 6632 // InternalApplicationConfiguration.g:2414:2: ( (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) )
6633 6633 // InternalApplicationConfiguration.g:2415:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (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 // InternalApplicationConfiguration.g:2415:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) )
6636 public final EObject ruleClassTypeScope() throws RecognitionException { 6636 // InternalApplicationConfiguration.g:2416:3: otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) )
6637 EObject current = null; 6637 {
6638 6638 otherlv_0=(Token)match(input,30,FOLLOW_6);
6639 Token otherlv_0=null; 6639
6640 Token lv_setsNew_2_0=null; 6640 newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0());
6641 Token lv_setsSum_3_0=null; 6641
6642 EObject lv_type_1_0 = null; 6642 // InternalApplicationConfiguration.g:2420:3: ( (lv_name_1_0= RULE_ID ) )
6643 6643 // InternalApplicationConfiguration.g:2421:4: (lv_name_1_0= RULE_ID )
6644 EObject lv_number_4_0 = null; 6644 {
6645 6645 // InternalApplicationConfiguration.g:2421:4: (lv_name_1_0= RULE_ID )
6646 EObject lv_number_5_0 = null; 6646 // InternalApplicationConfiguration.g:2422:5: lv_name_1_0= RULE_ID
6647 6647 {
6648 6648 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16);
6649 6649
6650 enterRule(); 6650 newLeafNode(lv_name_1_0, grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0());
6651 6651
6652 try { 6652
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 if (current==null) {
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 current = createModelElement(grammarAccess.getConfigDeclarationRule());
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 setWithLastConsumed(
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 current,
6658 { 6658 "name",
6659 otherlv_0=(Token)match(input,32,FOLLOW_26); 6659 lv_name_1_0,
6660 6660 "org.eclipse.xtext.common.Terminals.ID");
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
6668 { 6668 // InternalApplicationConfiguration.g:2438:3: ( (lv_specification_2_0= ruleConfigSpecification ) )
6669 6669 // InternalApplicationConfiguration.g:2439:4: (lv_specification_2_0= ruleConfigSpecification )
6670 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0()); 6670 {
6671 6671 // InternalApplicationConfiguration.g:2439:4: (lv_specification_2_0= ruleConfigSpecification )
6672 pushFollow(FOLLOW_27); 6672 // InternalApplicationConfiguration.g:2440:5: lv_specification_2_0= ruleConfigSpecification
6673 lv_type_1_0=ruleClassReference(); 6673 {
6674 6674
6675 state._fsp--; 6675 newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0());
6676 6676
6677 6677 pushFollow(FOLLOW_2);
6678 if (current==null) { 6678 lv_specification_2_0=ruleConfigSpecification();
6679 current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); 6679
6680 } 6680 state._fsp--;
6681 set( 6681
6682 current, 6682
6683 "type", 6683 if (current==null) {
6684 lv_type_1_0, 6684 current = createModelElementForParent(grammarAccess.getConfigDeclarationRule());
6685 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassReference"); 6685 }
6686 afterParserOrEnumRuleCall(); 6686 set(
6687 6687 current,
6688 6688 "specification",
6689 } 6689 lv_specification_2_0,
6690 6690 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification");
6691 6691 afterParserOrEnumRuleCall();
6692 } 6692
6693 6693
6694 // InternalApplicationConfiguration.g:2421:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) 6694 }
6695 int alt35=2; 6695
6696 int LA35_0 = input.LA(1); 6696
6697 6697 }
6698 if ( (LA35_0==33) ) { 6698
6699 alt35=1; 6699
6700 } 6700 }
6701 else if ( (LA35_0==17) ) { 6701
6702 alt35=2; 6702
6703 } 6703 }
6704 else { 6704
6705 NoViableAltException nvae = 6705
6706 new NoViableAltException("", 35, 0, input); 6706 leaveRule();
6707 6707
6708 throw nvae; 6708 }
6709 } 6709
6710 switch (alt35) { 6710 catch (RecognitionException re) {
6711 case 1 : 6711 recover(input,re);
6712 // InternalApplicationConfiguration.g:2422:4: ( (lv_setsNew_2_0= '+=' ) ) 6712 appendSkippedTokens();
6713 { 6713 }
6714 // InternalApplicationConfiguration.g:2422:4: ( (lv_setsNew_2_0= '+=' ) ) 6714 finally {
6715 // InternalApplicationConfiguration.g:2423:5: (lv_setsNew_2_0= '+=' ) 6715 }
6716 { 6716 return current;
6717 // InternalApplicationConfiguration.g:2423:5: (lv_setsNew_2_0= '+=' ) 6717 }
6718 // InternalApplicationConfiguration.g:2424:6: lv_setsNew_2_0= '+=' 6718 // $ANTLR end "ruleConfigDeclaration"
6719 { 6719
6720 lv_setsNew_2_0=(Token)match(input,33,FOLLOW_28); 6720
6721 6721 // $ANTLR start "entryRuleConfigEntry"
6722 newLeafNode(lv_setsNew_2_0, grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 6722 // InternalApplicationConfiguration.g:2461:1: entryRuleConfigEntry returns [EObject current=null] : iv_ruleConfigEntry= ruleConfigEntry EOF ;
6723 6723 public final EObject entryRuleConfigEntry() throws RecognitionException {
6724 6724 EObject current = null;
6725 if (current==null) { 6725
6726 current = createModelElement(grammarAccess.getClassTypeScopeRule()); 6726 EObject iv_ruleConfigEntry = null;
6727 } 6727
6728 setWithLastConsumed(current, "setsNew", true, "+="); 6728
6729 6729 try {
6730 6730 // InternalApplicationConfiguration.g:2461:52: (iv_ruleConfigEntry= ruleConfigEntry EOF )
6731 } 6731 // InternalApplicationConfiguration.g:2462:2: iv_ruleConfigEntry= ruleConfigEntry EOF
6732 6732 {
6733 6733 newCompositeNode(grammarAccess.getConfigEntryRule());
6734 } 6734 pushFollow(FOLLOW_1);
6735 6735 iv_ruleConfigEntry=ruleConfigEntry();
6736 6736
6737 } 6737 state._fsp--;
6738 break; 6738
6739 case 2 : 6739 current =iv_ruleConfigEntry;
6740 // InternalApplicationConfiguration.g:2437:4: ( (lv_setsSum_3_0= '=' ) ) 6740 match(input,EOF,FOLLOW_2);
6741 { 6741
6742 // InternalApplicationConfiguration.g:2437:4: ( (lv_setsSum_3_0= '=' ) ) 6742 }
6743 // InternalApplicationConfiguration.g:2438:5: (lv_setsSum_3_0= '=' ) 6743
6744 { 6744 }
6745 // InternalApplicationConfiguration.g:2438:5: (lv_setsSum_3_0= '=' ) 6745
6746 // InternalApplicationConfiguration.g:2439:6: lv_setsSum_3_0= '=' 6746 catch (RecognitionException re) {
6747 { 6747 recover(input,re);
6748 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_28); 6748 appendSkippedTokens();
6749 6749 }
6750 newLeafNode(lv_setsSum_3_0, grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 6750 finally {
6751 6751 }
6752 6752 return current;
6753 if (current==null) { 6753 }
6754 current = createModelElement(grammarAccess.getClassTypeScopeRule()); 6754 // $ANTLR end "entryRuleConfigEntry"
6755 } 6755
6756 setWithLastConsumed(current, "setsSum", true, "="); 6756
6757 6757 // $ANTLR start "ruleConfigEntry"
6758 6758 // InternalApplicationConfiguration.g:2468:1: ruleConfigEntry returns [EObject current=null] : (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) ;
6759 } 6759 public final EObject ruleConfigEntry() throws RecognitionException {
6760 6760 EObject current = null;
6761 6761
6762 } 6762 EObject this_DocumentationEntry_0 = null;
6763 6763
6764 6764 EObject this_RuntimeEntry_1 = null;
6765 } 6765
6766 break; 6766 EObject this_MemoryEntry_2 = null;
6767 6767
6768 } 6768 EObject this_CustomEntry_3 = null;
6769 6769
6770 // InternalApplicationConfiguration.g:2452:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) 6770
6771 int alt36=2; 6771
6772 int LA36_0 = input.LA(1); 6772 enterRule();
6773 6773
6774 if ( (LA36_0==RULE_INT) ) { 6774 try {
6775 int LA36_1 = input.LA(2); 6775 // InternalApplicationConfiguration.g:2474:2: ( (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) )
6776 6776 // InternalApplicationConfiguration.g:2475:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry )
6777 if ( (LA36_1==41) ) { 6777 {
6778 alt36=2; 6778 // InternalApplicationConfiguration.g:2475:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry )
6779 } 6779 int alt34=4;
6780 else if ( (LA36_1==EOF||(LA36_1>=19 && LA36_1<=20)) ) { 6780 switch ( input.LA(1) ) {
6781 alt36=1; 6781 case 31:
6782 } 6782 {
6783 else { 6783 alt34=1;
6784 NoViableAltException nvae = 6784 }
6785 new NoViableAltException("", 36, 1, input); 6785 break;
6786 6786 case 32:
6787 throw nvae; 6787 {
6788 } 6788 alt34=2;
6789 } 6789 }
6790 else if ( (LA36_0==40) ) { 6790 break;
6791 alt36=1; 6791 case 33:
6792 } 6792 {
6793 else { 6793 alt34=3;
6794 NoViableAltException nvae = 6794 }
6795 new NoViableAltException("", 36, 0, input); 6795 break;
6796 6796 case RULE_STRING:
6797 throw nvae; 6797 {
6798 } 6798 alt34=4;
6799 switch (alt36) { 6799 }
6800 case 1 : 6800 break;
6801 // InternalApplicationConfiguration.g:2453:4: ( (lv_number_4_0= ruleExactNumber ) ) 6801 default:
6802 { 6802 NoViableAltException nvae =
6803 // InternalApplicationConfiguration.g:2453:4: ( (lv_number_4_0= ruleExactNumber ) ) 6803 new NoViableAltException("", 34, 0, input);
6804 // InternalApplicationConfiguration.g:2454:5: (lv_number_4_0= ruleExactNumber ) 6804
6805 { 6805 throw nvae;
6806 // InternalApplicationConfiguration.g:2454:5: (lv_number_4_0= ruleExactNumber ) 6806 }
6807 // InternalApplicationConfiguration.g:2455:6: lv_number_4_0= ruleExactNumber 6807
6808 { 6808 switch (alt34) {
6809 6809 case 1 :
6810 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 6810 // InternalApplicationConfiguration.g:2476:3: this_DocumentationEntry_0= ruleDocumentationEntry
6811 6811 {
6812 pushFollow(FOLLOW_2); 6812
6813 lv_number_4_0=ruleExactNumber(); 6813 newCompositeNode(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0());
6814 6814
6815 state._fsp--; 6815 pushFollow(FOLLOW_2);
6816 6816 this_DocumentationEntry_0=ruleDocumentationEntry();
6817 6817
6818 if (current==null) { 6818 state._fsp--;
6819 current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); 6819
6820 } 6820
6821 set( 6821 current = this_DocumentationEntry_0;
6822 current, 6822 afterParserOrEnumRuleCall();
6823 "number", 6823
6824 lv_number_4_0, 6824
6825 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 6825 }
6826 afterParserOrEnumRuleCall(); 6826 break;
6827 6827 case 2 :
6828 6828 // InternalApplicationConfiguration.g:2485:3: this_RuntimeEntry_1= ruleRuntimeEntry
6829 } 6829 {
6830 6830
6831 6831 newCompositeNode(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1());
6832 } 6832
6833 6833 pushFollow(FOLLOW_2);
6834 6834 this_RuntimeEntry_1=ruleRuntimeEntry();
6835 } 6835
6836 break; 6836 state._fsp--;
6837 case 2 : 6837
6838 // InternalApplicationConfiguration.g:2473:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 6838
6839 { 6839 current = this_RuntimeEntry_1;
6840 // InternalApplicationConfiguration.g:2473:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 6840 afterParserOrEnumRuleCall();
6841 // InternalApplicationConfiguration.g:2474:5: (lv_number_5_0= ruleIntervallNumber ) 6841
6842 { 6842
6843 // InternalApplicationConfiguration.g:2474:5: (lv_number_5_0= ruleIntervallNumber ) 6843 }
6844 // InternalApplicationConfiguration.g:2475:6: lv_number_5_0= ruleIntervallNumber 6844 break;
6845 { 6845 case 3 :
6846 6846 // InternalApplicationConfiguration.g:2494:3: this_MemoryEntry_2= ruleMemoryEntry
6847 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 6847 {
6848 6848
6849 pushFollow(FOLLOW_2); 6849 newCompositeNode(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2());
6850 lv_number_5_0=ruleIntervallNumber(); 6850
6851 6851 pushFollow(FOLLOW_2);
6852 state._fsp--; 6852 this_MemoryEntry_2=ruleMemoryEntry();
6853 6853
6854 6854 state._fsp--;
6855 if (current==null) { 6855
6856 current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); 6856
6857 } 6857 current = this_MemoryEntry_2;
6858 set( 6858 afterParserOrEnumRuleCall();
6859 current, 6859
6860 "number", 6860
6861 lv_number_5_0, 6861 }
6862 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 6862 break;
6863 afterParserOrEnumRuleCall(); 6863 case 4 :
6864 6864 // InternalApplicationConfiguration.g:2503:3: this_CustomEntry_3= ruleCustomEntry
6865 6865 {
6866 } 6866
6867 6867 newCompositeNode(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3());
6868 6868
6869 } 6869 pushFollow(FOLLOW_2);
6870 6870 this_CustomEntry_3=ruleCustomEntry();
6871 6871
6872 } 6872 state._fsp--;
6873 break; 6873
6874 6874
6875 } 6875 current = this_CustomEntry_3;
6876 6876 afterParserOrEnumRuleCall();
6877 6877
6878 } 6878
6879 6879 }
6880 6880 break;
6881 } 6881
6882 6882 }
6883 6883
6884 leaveRule(); 6884
6885 6885 }
6886 } 6886
6887 6887
6888 catch (RecognitionException re) { 6888 leaveRule();
6889 recover(input,re); 6889
6890 appendSkippedTokens(); 6890 }
6891 } 6891
6892 finally { 6892 catch (RecognitionException re) {
6893 } 6893 recover(input,re);
6894 return current; 6894 appendSkippedTokens();
6895 } 6895 }
6896 // $ANTLR end "ruleClassTypeScope" 6896 finally {
6897 6897 }
6898 6898 return current;
6899 // $ANTLR start "entryRuleObjectTypeScope" 6899 }
6900 // InternalApplicationConfiguration.g:2497:1: entryRuleObjectTypeScope returns [EObject current=null] : iv_ruleObjectTypeScope= ruleObjectTypeScope EOF ; 6900 // $ANTLR end "ruleConfigEntry"
6901 public final EObject entryRuleObjectTypeScope() throws RecognitionException { 6901
6902 EObject current = null; 6902
6903 6903 // $ANTLR start "entryRuleDocumentationEntry"
6904 EObject iv_ruleObjectTypeScope = null; 6904 // InternalApplicationConfiguration.g:2515:1: entryRuleDocumentationEntry returns [EObject current=null] : iv_ruleDocumentationEntry= ruleDocumentationEntry EOF ;
6905 6905 public final EObject entryRuleDocumentationEntry() throws RecognitionException {
6906 6906 EObject current = null;
6907 try { 6907
6908 // InternalApplicationConfiguration.g:2497:56: (iv_ruleObjectTypeScope= ruleObjectTypeScope EOF ) 6908 EObject iv_ruleDocumentationEntry = null;
6909 // InternalApplicationConfiguration.g:2498:2: iv_ruleObjectTypeScope= ruleObjectTypeScope EOF 6909
6910 { 6910
6911 newCompositeNode(grammarAccess.getObjectTypeScopeRule()); 6911 try {
6912 pushFollow(FOLLOW_1); 6912 // InternalApplicationConfiguration.g:2515:59: (iv_ruleDocumentationEntry= ruleDocumentationEntry EOF )
6913 iv_ruleObjectTypeScope=ruleObjectTypeScope(); 6913 // InternalApplicationConfiguration.g:2516:2: iv_ruleDocumentationEntry= ruleDocumentationEntry EOF
6914 6914 {
6915 state._fsp--; 6915 newCompositeNode(grammarAccess.getDocumentationEntryRule());
6916 6916 pushFollow(FOLLOW_1);
6917 current =iv_ruleObjectTypeScope; 6917 iv_ruleDocumentationEntry=ruleDocumentationEntry();
6918 match(input,EOF,FOLLOW_2); 6918
6919 6919 state._fsp--;
6920 } 6920
6921 6921 current =iv_ruleDocumentationEntry;
6922 } 6922 match(input,EOF,FOLLOW_2);
6923 6923
6924 catch (RecognitionException re) { 6924 }
6925 recover(input,re); 6925
6926 appendSkippedTokens(); 6926 }
6927 } 6927
6928 finally { 6928 catch (RecognitionException re) {
6929 } 6929 recover(input,re);
6930 return current; 6930 appendSkippedTokens();
6931 } 6931 }
6932 // $ANTLR end "entryRuleObjectTypeScope" 6932 finally {
6933 6933 }
6934 6934 return current;
6935 // $ANTLR start "ruleObjectTypeScope" 6935 }
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 // $ANTLR end "entryRuleDocumentationEntry"
6937 public final EObject ruleObjectTypeScope() throws RecognitionException { 6937
6938 EObject current = null; 6938
6939 6939 // $ANTLR start "ruleDocumentationEntry"
6940 Token otherlv_0=null; 6940 // InternalApplicationConfiguration.g:2522:1: ruleDocumentationEntry returns [EObject current=null] : (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) ;
6941 Token lv_setsNew_2_0=null; 6941 public final EObject ruleDocumentationEntry() throws RecognitionException {
6942 Token lv_setsSum_3_0=null; 6942 EObject current = null;
6943 EObject lv_type_1_0 = null; 6943
6944 6944 Token otherlv_0=null;
6945 EObject lv_number_4_0 = null; 6945 Token otherlv_1=null;
6946 6946 Enumerator lv_level_2_0 = null;
6947 EObject lv_number_5_0 = null; 6947
6948 6948
6949 6949
6950 6950 enterRule();
6951 enterRule(); 6951
6952 6952 try {
6953 try { 6953 // InternalApplicationConfiguration.g:2528:2: ( (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) )
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 // InternalApplicationConfiguration.g:2529:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) )
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 // InternalApplicationConfiguration.g:2529:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) )
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 // InternalApplicationConfiguration.g:2530:3: otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) )
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 otherlv_0=(Token)match(input,31,FOLLOW_12);
6960 otherlv_0=(Token)match(input,32,FOLLOW_29); 6960
6961 6961 newLeafNode(otherlv_0, grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0());
6962 newLeafNode(otherlv_0, grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); 6962
6963 6963 otherlv_1=(Token)match(input,17,FOLLOW_26);
6964 // InternalApplicationConfiguration.g:2516:3: ( (lv_type_1_0= ruleObjectReference ) ) 6964
6965 // InternalApplicationConfiguration.g:2517:4: (lv_type_1_0= ruleObjectReference ) 6965 newLeafNode(otherlv_1, grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1());
6966 { 6966
6967 // InternalApplicationConfiguration.g:2517:4: (lv_type_1_0= ruleObjectReference ) 6967 // InternalApplicationConfiguration.g:2538:3: ( (lv_level_2_0= ruleDocumentLevelSpecification ) )
6968 // InternalApplicationConfiguration.g:2518:5: lv_type_1_0= ruleObjectReference 6968 // InternalApplicationConfiguration.g:2539:4: (lv_level_2_0= ruleDocumentLevelSpecification )
6969 { 6969 {
6970 6970 // InternalApplicationConfiguration.g:2539:4: (lv_level_2_0= ruleDocumentLevelSpecification )
6971 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0()); 6971 // InternalApplicationConfiguration.g:2540:5: lv_level_2_0= ruleDocumentLevelSpecification
6972 6972 {
6973 pushFollow(FOLLOW_27); 6973
6974 lv_type_1_0=ruleObjectReference(); 6974 newCompositeNode(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0());
6975 6975
6976 state._fsp--; 6976 pushFollow(FOLLOW_2);
6977 6977 lv_level_2_0=ruleDocumentLevelSpecification();
6978 6978
6979 if (current==null) { 6979 state._fsp--;
6980 current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); 6980
6981 } 6981
6982 set( 6982 if (current==null) {
6983 current, 6983 current = createModelElementForParent(grammarAccess.getDocumentationEntryRule());
6984 "type", 6984 }
6985 lv_type_1_0, 6985 set(
6986 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectReference"); 6986 current,
6987 afterParserOrEnumRuleCall(); 6987 "level",
6988 6988 lv_level_2_0,
6989 6989 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentLevelSpecification");
6990 } 6990 afterParserOrEnumRuleCall();
6991 6991
6992 6992
6993 } 6993 }
6994 6994
6995 // InternalApplicationConfiguration.g:2535:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) 6995
6996 int alt37=2; 6996 }
6997 int LA37_0 = input.LA(1); 6997
6998 6998
6999 if ( (LA37_0==33) ) { 6999 }
7000 alt37=1; 7000
7001 } 7001
7002 else if ( (LA37_0==17) ) { 7002 }
7003 alt37=2; 7003
7004 } 7004
7005 else { 7005 leaveRule();
7006 NoViableAltException nvae = 7006
7007 new NoViableAltException("", 37, 0, input); 7007 }
7008 7008
7009 throw nvae; 7009 catch (RecognitionException re) {
7010 } 7010 recover(input,re);
7011 switch (alt37) { 7011 appendSkippedTokens();
7012 case 1 : 7012 }
7013 // InternalApplicationConfiguration.g:2536:4: ( (lv_setsNew_2_0= '+=' ) ) 7013 finally {
7014 { 7014 }
7015 // InternalApplicationConfiguration.g:2536:4: ( (lv_setsNew_2_0= '+=' ) ) 7015 return current;
7016 // InternalApplicationConfiguration.g:2537:5: (lv_setsNew_2_0= '+=' ) 7016 }
7017 { 7017 // $ANTLR end "ruleDocumentationEntry"
7018 // InternalApplicationConfiguration.g:2537:5: (lv_setsNew_2_0= '+=' ) 7018
7019 // InternalApplicationConfiguration.g:2538:6: lv_setsNew_2_0= '+=' 7019
7020 { 7020 // $ANTLR start "entryRuleRuntimeEntry"
7021 lv_setsNew_2_0=(Token)match(input,33,FOLLOW_28); 7021 // InternalApplicationConfiguration.g:2561:1: entryRuleRuntimeEntry returns [EObject current=null] : iv_ruleRuntimeEntry= ruleRuntimeEntry EOF ;
7022 7022 public final EObject entryRuleRuntimeEntry() throws RecognitionException {
7023 newLeafNode(lv_setsNew_2_0, grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 7023 EObject current = null;
7024 7024
7025 7025 EObject iv_ruleRuntimeEntry = null;
7026 if (current==null) { 7026
7027 current = createModelElement(grammarAccess.getObjectTypeScopeRule()); 7027
7028 } 7028 try {
7029 setWithLastConsumed(current, "setsNew", true, "+="); 7029 // InternalApplicationConfiguration.g:2561:53: (iv_ruleRuntimeEntry= ruleRuntimeEntry EOF )
7030 7030 // InternalApplicationConfiguration.g:2562:2: iv_ruleRuntimeEntry= ruleRuntimeEntry EOF
7031 7031 {
7032 } 7032 newCompositeNode(grammarAccess.getRuntimeEntryRule());
7033 7033 pushFollow(FOLLOW_1);
7034 7034 iv_ruleRuntimeEntry=ruleRuntimeEntry();
7035 } 7035
7036 7036 state._fsp--;
7037 7037
7038 } 7038 current =iv_ruleRuntimeEntry;
7039 break; 7039 match(input,EOF,FOLLOW_2);
7040 case 2 : 7040
7041 // InternalApplicationConfiguration.g:2551:4: ( (lv_setsSum_3_0= '=' ) ) 7041 }
7042 { 7042
7043 // InternalApplicationConfiguration.g:2551:4: ( (lv_setsSum_3_0= '=' ) ) 7043 }
7044 // InternalApplicationConfiguration.g:2552:5: (lv_setsSum_3_0= '=' ) 7044
7045 { 7045 catch (RecognitionException re) {
7046 // InternalApplicationConfiguration.g:2552:5: (lv_setsSum_3_0= '=' ) 7046 recover(input,re);
7047 // InternalApplicationConfiguration.g:2553:6: lv_setsSum_3_0= '=' 7047 appendSkippedTokens();
7048 { 7048 }
7049 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_28); 7049 finally {
7050 7050 }
7051 newLeafNode(lv_setsSum_3_0, grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 7051 return current;
7052 7052 }
7053 7053 // $ANTLR end "entryRuleRuntimeEntry"
7054 if (current==null) { 7054
7055 current = createModelElement(grammarAccess.getObjectTypeScopeRule()); 7055
7056 } 7056 // $ANTLR start "ruleRuntimeEntry"
7057 setWithLastConsumed(current, "setsSum", true, "="); 7057 // InternalApplicationConfiguration.g:2568:1: ruleRuntimeEntry returns [EObject current=null] : (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) ;
7058 7058 public final EObject ruleRuntimeEntry() throws RecognitionException {
7059 7059 EObject current = null;
7060 } 7060
7061 7061 Token otherlv_0=null;
7062 7062 Token otherlv_1=null;
7063 } 7063 Token lv_millisecLimit_2_0=null;
7064 7064
7065 7065
7066 } 7066 enterRule();
7067 break; 7067
7068 7068 try {
7069 } 7069 // InternalApplicationConfiguration.g:2574:2: ( (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) )
7070 7070 // InternalApplicationConfiguration.g:2575:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) )
7071 // InternalApplicationConfiguration.g:2566:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) 7071 {
7072 int alt38=2; 7072 // InternalApplicationConfiguration.g:2575:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) )
7073 int LA38_0 = input.LA(1); 7073 // InternalApplicationConfiguration.g:2576:3: otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) )
7074 7074 {
7075 if ( (LA38_0==RULE_INT) ) { 7075 otherlv_0=(Token)match(input,32,FOLLOW_12);
7076 int LA38_1 = input.LA(2); 7076
7077 7077 newLeafNode(otherlv_0, grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0());
7078 if ( (LA38_1==41) ) { 7078
7079 alt38=2; 7079 otherlv_1=(Token)match(input,17,FOLLOW_7);
7080 } 7080
7081 else if ( (LA38_1==EOF||(LA38_1>=19 && LA38_1<=20)) ) { 7081 newLeafNode(otherlv_1, grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1());
7082 alt38=1; 7082
7083 } 7083 // InternalApplicationConfiguration.g:2584:3: ( (lv_millisecLimit_2_0= RULE_INT ) )
7084 else { 7084 // InternalApplicationConfiguration.g:2585:4: (lv_millisecLimit_2_0= RULE_INT )
7085 NoViableAltException nvae = 7085 {
7086 new NoViableAltException("", 38, 1, input); 7086 // InternalApplicationConfiguration.g:2585:4: (lv_millisecLimit_2_0= RULE_INT )
7087 7087 // InternalApplicationConfiguration.g:2586:5: lv_millisecLimit_2_0= RULE_INT
7088 throw nvae; 7088 {
7089 } 7089 lv_millisecLimit_2_0=(Token)match(input,RULE_INT,FOLLOW_2);
7090 } 7090
7091 else if ( (LA38_0==40) ) { 7091 newLeafNode(lv_millisecLimit_2_0, grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0());
7092 alt38=1; 7092
7093 } 7093
7094 else { 7094 if (current==null) {
7095 NoViableAltException nvae = 7095 current = createModelElement(grammarAccess.getRuntimeEntryRule());
7096 new NoViableAltException("", 38, 0, input); 7096 }
7097 7097 setWithLastConsumed(
7098 throw nvae; 7098 current,
7099 } 7099 "millisecLimit",
7100 switch (alt38) { 7100 lv_millisecLimit_2_0,
7101 case 1 : 7101 "org.eclipse.xtext.common.Terminals.INT");
7102 // InternalApplicationConfiguration.g:2567:4: ( (lv_number_4_0= ruleExactNumber ) ) 7102
7103 { 7103
7104 // InternalApplicationConfiguration.g:2567:4: ( (lv_number_4_0= ruleExactNumber ) ) 7104 }
7105 // InternalApplicationConfiguration.g:2568:5: (lv_number_4_0= ruleExactNumber ) 7105
7106 { 7106
7107 // InternalApplicationConfiguration.g:2568:5: (lv_number_4_0= ruleExactNumber ) 7107 }
7108 // InternalApplicationConfiguration.g:2569:6: lv_number_4_0= ruleExactNumber 7108
7109 { 7109
7110 7110 }
7111 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 7111
7112 7112
7113 pushFollow(FOLLOW_2); 7113 }
7114 lv_number_4_0=ruleExactNumber(); 7114
7115 7115
7116 state._fsp--; 7116 leaveRule();
7117 7117
7118 7118 }
7119 if (current==null) { 7119
7120 current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); 7120 catch (RecognitionException re) {
7121 } 7121 recover(input,re);
7122 set( 7122 appendSkippedTokens();
7123 current, 7123 }
7124 "number", 7124 finally {
7125 lv_number_4_0, 7125 }
7126 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 7126 return current;
7127 afterParserOrEnumRuleCall(); 7127 }
7128 7128 // $ANTLR end "ruleRuntimeEntry"
7129 7129
7130 } 7130
7131 7131 // $ANTLR start "entryRuleMemoryEntry"
7132 7132 // InternalApplicationConfiguration.g:2606:1: entryRuleMemoryEntry returns [EObject current=null] : iv_ruleMemoryEntry= ruleMemoryEntry EOF ;
7133 } 7133 public final EObject entryRuleMemoryEntry() throws RecognitionException {
7134 7134 EObject current = null;
7135 7135
7136 } 7136 EObject iv_ruleMemoryEntry = null;
7137 break; 7137
7138 case 2 : 7138
7139 // InternalApplicationConfiguration.g:2587:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 7139 try {
7140 { 7140 // InternalApplicationConfiguration.g:2606:52: (iv_ruleMemoryEntry= ruleMemoryEntry EOF )
7141 // InternalApplicationConfiguration.g:2587:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 7141 // InternalApplicationConfiguration.g:2607:2: iv_ruleMemoryEntry= ruleMemoryEntry EOF
7142 // InternalApplicationConfiguration.g:2588:5: (lv_number_5_0= ruleIntervallNumber ) 7142 {
7143 { 7143 newCompositeNode(grammarAccess.getMemoryEntryRule());
7144 // InternalApplicationConfiguration.g:2588:5: (lv_number_5_0= ruleIntervallNumber ) 7144 pushFollow(FOLLOW_1);
7145 // InternalApplicationConfiguration.g:2589:6: lv_number_5_0= ruleIntervallNumber 7145 iv_ruleMemoryEntry=ruleMemoryEntry();
7146 { 7146
7147 7147 state._fsp--;
7148 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 7148
7149 7149 current =iv_ruleMemoryEntry;
7150 pushFollow(FOLLOW_2); 7150 match(input,EOF,FOLLOW_2);
7151 lv_number_5_0=ruleIntervallNumber(); 7151
7152 7152 }
7153 state._fsp--; 7153
7154 7154 }
7155 7155
7156 if (current==null) { 7156 catch (RecognitionException re) {
7157 current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); 7157 recover(input,re);
7158 } 7158 appendSkippedTokens();
7159 set( 7159 }
7160 current, 7160 finally {
7161 "number", 7161 }
7162 lv_number_5_0, 7162 return current;
7163 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 7163 }
7164 afterParserOrEnumRuleCall(); 7164 // $ANTLR end "entryRuleMemoryEntry"
7165 7165
7166 7166
7167 } 7167 // $ANTLR start "ruleMemoryEntry"
7168 7168 // InternalApplicationConfiguration.g:2613:1: ruleMemoryEntry returns [EObject current=null] : (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) ;
7169 7169 public final EObject ruleMemoryEntry() throws RecognitionException {
7170 } 7170 EObject current = null;
7171 7171
7172 7172 Token otherlv_0=null;
7173 } 7173 Token otherlv_1=null;
7174 break; 7174 Token lv_megabyteLimit_2_0=null;
7175 7175
7176 } 7176
7177 7177 enterRule();
7178 7178
7179 } 7179 try {
7180 7180 // InternalApplicationConfiguration.g:2619:2: ( (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) )
7181 7181 // InternalApplicationConfiguration.g:2620:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) )
7182 } 7182 {
7183 7183 // InternalApplicationConfiguration.g:2620:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) )
7184 7184 // InternalApplicationConfiguration.g:2621:3: otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) )
7185 leaveRule(); 7185 {
7186 7186 otherlv_0=(Token)match(input,33,FOLLOW_12);
7187 } 7187
7188 7188 newLeafNode(otherlv_0, grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0());
7189 catch (RecognitionException re) { 7189
7190 recover(input,re); 7190 otherlv_1=(Token)match(input,17,FOLLOW_7);
7191 appendSkippedTokens(); 7191
7192 } 7192 newLeafNode(otherlv_1, grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1());
7193 finally { 7193
7194 } 7194 // InternalApplicationConfiguration.g:2629:3: ( (lv_megabyteLimit_2_0= RULE_INT ) )
7195 return current; 7195 // InternalApplicationConfiguration.g:2630:4: (lv_megabyteLimit_2_0= RULE_INT )
7196 } 7196 {
7197 // $ANTLR end "ruleObjectTypeScope" 7197 // InternalApplicationConfiguration.g:2630:4: (lv_megabyteLimit_2_0= RULE_INT )
7198 7198 // InternalApplicationConfiguration.g:2631:5: lv_megabyteLimit_2_0= RULE_INT
7199 7199 {
7200 // $ANTLR start "entryRuleIntegerTypeScope" 7200 lv_megabyteLimit_2_0=(Token)match(input,RULE_INT,FOLLOW_2);
7201 // InternalApplicationConfiguration.g:2611:1: entryRuleIntegerTypeScope returns [EObject current=null] : iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF ; 7201
7202 public final EObject entryRuleIntegerTypeScope() throws RecognitionException { 7202 newLeafNode(lv_megabyteLimit_2_0, grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0());
7203 EObject current = null; 7203
7204 7204
7205 EObject iv_ruleIntegerTypeScope = null; 7205 if (current==null) {
7206 7206 current = createModelElement(grammarAccess.getMemoryEntryRule());
7207 7207 }
7208 try { 7208 setWithLastConsumed(
7209 // InternalApplicationConfiguration.g:2611:57: (iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF ) 7209 current,
7210 // InternalApplicationConfiguration.g:2612:2: iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF 7210 "megabyteLimit",
7211 { 7211 lv_megabyteLimit_2_0,
7212 newCompositeNode(grammarAccess.getIntegerTypeScopeRule()); 7212 "org.eclipse.xtext.common.Terminals.INT");
7213 pushFollow(FOLLOW_1); 7213
7214 iv_ruleIntegerTypeScope=ruleIntegerTypeScope(); 7214
7215 7215 }
7216 state._fsp--; 7216
7217 7217
7218 current =iv_ruleIntegerTypeScope; 7218 }
7219 match(input,EOF,FOLLOW_2); 7219
7220 7220
7221 } 7221 }
7222 7222
7223 } 7223
7224 7224 }
7225 catch (RecognitionException re) { 7225
7226 recover(input,re); 7226
7227 appendSkippedTokens(); 7227 leaveRule();
7228 } 7228
7229 finally { 7229 }
7230 } 7230
7231 return current; 7231 catch (RecognitionException re) {
7232 } 7232 recover(input,re);
7233 // $ANTLR end "entryRuleIntegerTypeScope" 7233 appendSkippedTokens();
7234 7234 }
7235 7235 finally {
7236 // $ANTLR start "ruleIntegerTypeScope" 7236 }
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 return current;
7238 public final EObject ruleIntegerTypeScope() throws RecognitionException { 7238 }
7239 EObject current = null; 7239 // $ANTLR end "ruleMemoryEntry"
7240 7240
7241 Token otherlv_0=null; 7241
7242 Token lv_setsNew_2_0=null; 7242 // $ANTLR start "entryRuleCustomEntry"
7243 Token lv_setsSum_3_0=null; 7243 // InternalApplicationConfiguration.g:2651:1: entryRuleCustomEntry returns [EObject current=null] : iv_ruleCustomEntry= ruleCustomEntry EOF ;
7244 EObject lv_type_1_0 = null; 7244 public final EObject entryRuleCustomEntry() throws RecognitionException {
7245 7245 EObject current = null;
7246 EObject lv_number_4_0 = null; 7246
7247 7247 EObject iv_ruleCustomEntry = null;
7248 EObject lv_number_5_0 = null; 7248
7249 7249
7250 EObject lv_number_6_0 = null; 7250 try {
7251 7251 // InternalApplicationConfiguration.g:2651:52: (iv_ruleCustomEntry= ruleCustomEntry EOF )
7252 7252 // InternalApplicationConfiguration.g:2652:2: iv_ruleCustomEntry= ruleCustomEntry EOF
7253 7253 {
7254 enterRule(); 7254 newCompositeNode(grammarAccess.getCustomEntryRule());
7255 7255 pushFollow(FOLLOW_1);
7256 try { 7256 iv_ruleCustomEntry=ruleCustomEntry();
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 state._fsp--;
7259 { 7259
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 current =iv_ruleCustomEntry;
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 match(input,EOF,FOLLOW_2);
7262 { 7262
7263 otherlv_0=(Token)match(input,32,FOLLOW_30); 7263 }
7264 7264
7265 newLeafNode(otherlv_0, grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); 7265 }
7266 7266
7267 // InternalApplicationConfiguration.g:2630:3: ( (lv_type_1_0= ruleIntegerReference ) ) 7267 catch (RecognitionException re) {
7268 // InternalApplicationConfiguration.g:2631:4: (lv_type_1_0= ruleIntegerReference ) 7268 recover(input,re);
7269 { 7269 appendSkippedTokens();
7270 // InternalApplicationConfiguration.g:2631:4: (lv_type_1_0= ruleIntegerReference ) 7270 }
7271 // InternalApplicationConfiguration.g:2632:5: lv_type_1_0= ruleIntegerReference 7271 finally {
7272 { 7272 }
7273 7273 return current;
7274 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0()); 7274 }
7275 7275 // $ANTLR end "entryRuleCustomEntry"
7276 pushFollow(FOLLOW_27); 7276
7277 lv_type_1_0=ruleIntegerReference(); 7277
7278 7278 // $ANTLR start "ruleCustomEntry"
7279 state._fsp--; 7279 // InternalApplicationConfiguration.g:2658:1: ruleCustomEntry returns [EObject current=null] : ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ;
7280 7280 public final EObject ruleCustomEntry() throws RecognitionException {
7281 7281 EObject current = null;
7282 if (current==null) { 7282
7283 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); 7283 Token lv_key_0_0=null;
7284 } 7284 Token otherlv_1=null;
7285 set( 7285 Token lv_value_2_0=null;
7286 current, 7286
7287 "type", 7287
7288 lv_type_1_0, 7288 enterRule();
7289 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerReference"); 7289
7290 afterParserOrEnumRuleCall(); 7290 try {
7291 7291 // InternalApplicationConfiguration.g:2664:2: ( ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) )
7292 7292 // InternalApplicationConfiguration.g:2665:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) )
7293 } 7293 {
7294 7294 // InternalApplicationConfiguration.g:2665:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) )
7295 7295 // InternalApplicationConfiguration.g:2666:3: ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) )
7296 } 7296 {
7297 7297 // InternalApplicationConfiguration.g:2666:3: ( (lv_key_0_0= RULE_STRING ) )
7298 // InternalApplicationConfiguration.g:2649:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) 7298 // InternalApplicationConfiguration.g:2667:4: (lv_key_0_0= RULE_STRING )
7299 int alt39=2; 7299 {
7300 int LA39_0 = input.LA(1); 7300 // InternalApplicationConfiguration.g:2667:4: (lv_key_0_0= RULE_STRING )
7301 7301 // InternalApplicationConfiguration.g:2668:5: lv_key_0_0= RULE_STRING
7302 if ( (LA39_0==33) ) { 7302 {
7303 alt39=1; 7303 lv_key_0_0=(Token)match(input,RULE_STRING,FOLLOW_12);
7304 } 7304
7305 else if ( (LA39_0==17) ) { 7305 newLeafNode(lv_key_0_0, grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0());
7306 alt39=2; 7306
7307 } 7307
7308 else { 7308 if (current==null) {
7309 NoViableAltException nvae = 7309 current = createModelElement(grammarAccess.getCustomEntryRule());
7310 new NoViableAltException("", 39, 0, input); 7310 }
7311 7311 setWithLastConsumed(
7312 throw nvae; 7312 current,
7313 } 7313 "key",
7314 switch (alt39) { 7314 lv_key_0_0,
7315 case 1 : 7315 "org.eclipse.xtext.common.Terminals.STRING");
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 }
7322 // InternalApplicationConfiguration.g:2652:6: lv_setsNew_2_0= '+=' 7322
7323 { 7323 otherlv_1=(Token)match(input,17,FOLLOW_10);
7324 lv_setsNew_2_0=(Token)match(input,33,FOLLOW_31); 7324
7325 7325 newLeafNode(otherlv_1, grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1());
7326 newLeafNode(lv_setsNew_2_0, grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 7326
7327 7327 // InternalApplicationConfiguration.g:2688:3: ( (lv_value_2_0= RULE_STRING ) )
7328 7328 // InternalApplicationConfiguration.g:2689:4: (lv_value_2_0= RULE_STRING )
7329 if (current==null) { 7329 {
7330 current = createModelElement(grammarAccess.getIntegerTypeScopeRule()); 7330 // InternalApplicationConfiguration.g:2689:4: (lv_value_2_0= RULE_STRING )
7331 } 7331 // InternalApplicationConfiguration.g:2690:5: lv_value_2_0= RULE_STRING
7332 setWithLastConsumed(current, "setsNew", true, "+="); 7332 {
7333 7333 lv_value_2_0=(Token)match(input,RULE_STRING,FOLLOW_2);
7334 7334
7335 } 7335 newLeafNode(lv_value_2_0, grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0());
7336 7336
7337 7337
7338 } 7338 if (current==null) {
7339 7339 current = createModelElement(grammarAccess.getCustomEntryRule());
7340 7340 }
7341 } 7341 setWithLastConsumed(
7342 break; 7342 current,
7343 case 2 : 7343 "value",
7344 // InternalApplicationConfiguration.g:2665:4: ( (lv_setsSum_3_0= '=' ) ) 7344 lv_value_2_0,
7345 { 7345 "org.eclipse.xtext.common.Terminals.STRING");
7346 // InternalApplicationConfiguration.g:2665:4: ( (lv_setsSum_3_0= '=' ) ) 7346
7347 // InternalApplicationConfiguration.g:2666:5: (lv_setsSum_3_0= '=' ) 7347
7348 { 7348 }
7349 // InternalApplicationConfiguration.g:2666:5: (lv_setsSum_3_0= '=' ) 7349
7350 // InternalApplicationConfiguration.g:2667:6: lv_setsSum_3_0= '=' 7350
7351 { 7351 }
7352 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_31); 7352
7353 7353
7354 newLeafNode(lv_setsSum_3_0, grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 7354 }
7355 7355
7356 7356
7357 if (current==null) { 7357 }
7358 current = createModelElement(grammarAccess.getIntegerTypeScopeRule()); 7358
7359 } 7359
7360 setWithLastConsumed(current, "setsSum", true, "="); 7360 leaveRule();
7361 7361
7362 7362 }
7363 } 7363
7364 7364 catch (RecognitionException re) {
7365 7365 recover(input,re);
7366 } 7366 appendSkippedTokens();
7367 7367 }
7368 7368 finally {
7369 } 7369 }
7370 break; 7370 return current;
7371 7371 }
7372 } 7372 // $ANTLR end "ruleCustomEntry"
7373 7373
7374 // InternalApplicationConfiguration.g:2680:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) 7374
7375 int alt40=3; 7375 // $ANTLR start "entryRuleConfigReference"
7376 switch ( input.LA(1) ) { 7376 // InternalApplicationConfiguration.g:2710:1: entryRuleConfigReference returns [EObject current=null] : iv_ruleConfigReference= ruleConfigReference EOF ;
7377 case RULE_INT: 7377 public final EObject entryRuleConfigReference() throws RecognitionException {
7378 { 7378 EObject current = null;
7379 int LA40_1 = input.LA(2); 7379
7380 7380 EObject iv_ruleConfigReference = null;
7381 if ( (LA40_1==41) ) { 7381
7382 alt40=2; 7382
7383 } 7383 try {
7384 else if ( (LA40_1==EOF||(LA40_1>=19 && LA40_1<=20)) ) { 7384 // InternalApplicationConfiguration.g:2710:56: (iv_ruleConfigReference= ruleConfigReference EOF )
7385 alt40=1; 7385 // InternalApplicationConfiguration.g:2711:2: iv_ruleConfigReference= ruleConfigReference EOF
7386 } 7386 {
7387 else { 7387 newCompositeNode(grammarAccess.getConfigReferenceRule());
7388 NoViableAltException nvae = 7388 pushFollow(FOLLOW_1);
7389 new NoViableAltException("", 40, 1, input); 7389 iv_ruleConfigReference=ruleConfigReference();
7390 7390
7391 throw nvae; 7391 state._fsp--;
7392 } 7392
7393 } 7393 current =iv_ruleConfigReference;
7394 break; 7394 match(input,EOF,FOLLOW_2);
7395 case 40: 7395
7396 { 7396 }
7397 alt40=1; 7397
7398 } 7398 }
7399 break; 7399
7400 case 18: 7400 catch (RecognitionException re) {
7401 { 7401 recover(input,re);
7402 alt40=3; 7402 appendSkippedTokens();
7403 } 7403 }
7404 break; 7404 finally {
7405 default: 7405 }
7406 NoViableAltException nvae = 7406 return current;
7407 new NoViableAltException("", 40, 0, input); 7407 }
7408 7408 // $ANTLR end "entryRuleConfigReference"
7409 throw nvae; 7409
7410 } 7410
7411 7411 // $ANTLR start "ruleConfigReference"
7412 switch (alt40) { 7412 // InternalApplicationConfiguration.g:2717:1: ruleConfigReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
7413 case 1 : 7413 public final EObject ruleConfigReference() throws RecognitionException {
7414 // InternalApplicationConfiguration.g:2681:4: ( (lv_number_4_0= ruleExactNumber ) ) 7414 EObject current = null;
7415 { 7415
7416 // InternalApplicationConfiguration.g:2681:4: ( (lv_number_4_0= ruleExactNumber ) ) 7416 Token otherlv_0=null;
7417 // InternalApplicationConfiguration.g:2682:5: (lv_number_4_0= ruleExactNumber ) 7417
7418 { 7418
7419 // InternalApplicationConfiguration.g:2682:5: (lv_number_4_0= ruleExactNumber ) 7419 enterRule();
7420 // InternalApplicationConfiguration.g:2683:6: lv_number_4_0= ruleExactNumber 7420
7421 { 7421 try {
7422 7422 // InternalApplicationConfiguration.g:2723:2: ( ( (otherlv_0= RULE_ID ) ) )
7423 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 7423 // InternalApplicationConfiguration.g:2724:2: ( (otherlv_0= RULE_ID ) )
7424 7424 {
7425 pushFollow(FOLLOW_2); 7425 // InternalApplicationConfiguration.g:2724:2: ( (otherlv_0= RULE_ID ) )
7426 lv_number_4_0=ruleExactNumber(); 7426 // InternalApplicationConfiguration.g:2725:3: (otherlv_0= RULE_ID )
7427 7427 {
7428 state._fsp--; 7428 // InternalApplicationConfiguration.g:2725:3: (otherlv_0= RULE_ID )
7429 7429 // InternalApplicationConfiguration.g:2726:4: otherlv_0= RULE_ID
7430 7430 {
7431 if (current==null) { 7431
7432 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); 7432 if (current==null) {
7433 } 7433 current = createModelElement(grammarAccess.getConfigReferenceRule());
7434 set( 7434 }
7435 current, 7435
7436 "number", 7436 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2);
7437 lv_number_4_0, 7437
7438 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 7438 newLeafNode(otherlv_0, grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0());
7439 afterParserOrEnumRuleCall(); 7439
7440 7440
7441 7441 }
7442 } 7442
7443 7443
7444 7444 }
7445 } 7445
7446 7446
7447 7447 }
7448 } 7448
7449 break; 7449
7450 case 2 : 7450 leaveRule();
7451 // InternalApplicationConfiguration.g:2701:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 7451
7452 { 7452 }
7453 // InternalApplicationConfiguration.g:2701:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 7453
7454 // InternalApplicationConfiguration.g:2702:5: (lv_number_5_0= ruleIntervallNumber ) 7454 catch (RecognitionException re) {
7455 { 7455 recover(input,re);
7456 // InternalApplicationConfiguration.g:2702:5: (lv_number_5_0= ruleIntervallNumber ) 7456 appendSkippedTokens();
7457 // InternalApplicationConfiguration.g:2703:6: lv_number_5_0= ruleIntervallNumber 7457 }
7458 { 7458 finally {
7459 7459 }
7460 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 7460 return current;
7461 7461 }
7462 pushFollow(FOLLOW_2); 7462 // $ANTLR end "ruleConfigReference"
7463 lv_number_5_0=ruleIntervallNumber(); 7463
7464 7464
7465 state._fsp--; 7465 // $ANTLR start "entryRuleConfig"
7466 7466 // InternalApplicationConfiguration.g:2740:1: entryRuleConfig returns [EObject current=null] : iv_ruleConfig= ruleConfig EOF ;
7467 7467 public final EObject entryRuleConfig() throws RecognitionException {
7468 if (current==null) { 7468 EObject current = null;
7469 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); 7469
7470 } 7470 EObject iv_ruleConfig = null;
7471 set( 7471
7472 current, 7472
7473 "number", 7473 try {
7474 lv_number_5_0, 7474 // InternalApplicationConfiguration.g:2740:47: (iv_ruleConfig= ruleConfig EOF )
7475 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 7475 // InternalApplicationConfiguration.g:2741:2: iv_ruleConfig= ruleConfig EOF
7476 afterParserOrEnumRuleCall(); 7476 {
7477 7477 newCompositeNode(grammarAccess.getConfigRule());
7478 7478 pushFollow(FOLLOW_1);
7479 } 7479 iv_ruleConfig=ruleConfig();
7480 7480
7481 7481 state._fsp--;
7482 } 7482
7483 7483 current =iv_ruleConfig;
7484 7484 match(input,EOF,FOLLOW_2);
7485 } 7485
7486 break; 7486 }
7487 case 3 : 7487
7488 // InternalApplicationConfiguration.g:2721:4: ( (lv_number_6_0= ruleIntEnumberation ) ) 7488 }
7489 { 7489
7490 // InternalApplicationConfiguration.g:2721:4: ( (lv_number_6_0= ruleIntEnumberation ) ) 7490 catch (RecognitionException re) {
7491 // InternalApplicationConfiguration.g:2722:5: (lv_number_6_0= ruleIntEnumberation ) 7491 recover(input,re);
7492 { 7492 appendSkippedTokens();
7493 // InternalApplicationConfiguration.g:2722:5: (lv_number_6_0= ruleIntEnumberation ) 7493 }
7494 // InternalApplicationConfiguration.g:2723:6: lv_number_6_0= ruleIntEnumberation 7494 finally {
7495 { 7495 }
7496 7496 return current;
7497 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0()); 7497 }
7498 7498 // $ANTLR end "entryRuleConfig"
7499 pushFollow(FOLLOW_2); 7499
7500 lv_number_6_0=ruleIntEnumberation(); 7500
7501 7501 // $ANTLR start "ruleConfig"
7502 state._fsp--; 7502 // InternalApplicationConfiguration.g:2747:1: ruleConfig returns [EObject current=null] : (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ;
7503 7503 public final EObject ruleConfig() throws RecognitionException {
7504 7504 EObject current = null;
7505 if (current==null) { 7505
7506 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); 7506 EObject this_ConfigSpecification_0 = null;
7507 } 7507
7508 set( 7508 EObject this_ConfigReference_1 = null;
7509 current, 7509
7510 "number", 7510
7511 lv_number_6_0, 7511
7512 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntEnumberation"); 7512 enterRule();
7513 afterParserOrEnumRuleCall(); 7513
7514 7514 try {
7515 7515 // InternalApplicationConfiguration.g:2753:2: ( (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) )
7516 } 7516 // InternalApplicationConfiguration.g:2754:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference )
7517 7517 {
7518 7518 // InternalApplicationConfiguration.g:2754:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference )
7519 } 7519 int alt35=2;
7520 7520 int LA35_0 = input.LA(1);
7521 7521
7522 } 7522 if ( (LA35_0==18) ) {
7523 break; 7523 alt35=1;
7524 7524 }
7525 } 7525 else if ( (LA35_0==RULE_ID) ) {
7526 7526 alt35=2;
7527 7527 }
7528 } 7528 else {
7529 7529 NoViableAltException nvae =
7530 7530 new NoViableAltException("", 35, 0, input);
7531 } 7531
7532 7532 throw nvae;
7533 7533 }
7534 leaveRule(); 7534 switch (alt35) {
7535 7535 case 1 :
7536 } 7536 // InternalApplicationConfiguration.g:2755:3: this_ConfigSpecification_0= ruleConfigSpecification
7537 7537 {
7538 catch (RecognitionException re) { 7538
7539 recover(input,re); 7539 newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0());
7540 appendSkippedTokens(); 7540
7541 } 7541 pushFollow(FOLLOW_2);
7542 finally { 7542 this_ConfigSpecification_0=ruleConfigSpecification();
7543 } 7543
7544 return current; 7544 state._fsp--;
7545 } 7545
7546 // $ANTLR end "ruleIntegerTypeScope" 7546
7547 7547 current = this_ConfigSpecification_0;
7548 7548 afterParserOrEnumRuleCall();
7549 // $ANTLR start "entryRuleRealTypeScope" 7549
7550 // InternalApplicationConfiguration.g:2745:1: entryRuleRealTypeScope returns [EObject current=null] : iv_ruleRealTypeScope= ruleRealTypeScope EOF ; 7550
7551 public final EObject entryRuleRealTypeScope() throws RecognitionException { 7551 }
7552 EObject current = null; 7552 break;
7553 7553 case 2 :
7554 EObject iv_ruleRealTypeScope = null; 7554 // InternalApplicationConfiguration.g:2764:3: this_ConfigReference_1= ruleConfigReference
7555 7555 {
7556 7556
7557 try { 7557 newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1());
7558 // InternalApplicationConfiguration.g:2745:54: (iv_ruleRealTypeScope= ruleRealTypeScope EOF ) 7558
7559 // InternalApplicationConfiguration.g:2746:2: iv_ruleRealTypeScope= ruleRealTypeScope EOF 7559 pushFollow(FOLLOW_2);
7560 { 7560 this_ConfigReference_1=ruleConfigReference();
7561 newCompositeNode(grammarAccess.getRealTypeScopeRule()); 7561
7562 pushFollow(FOLLOW_1); 7562 state._fsp--;
7563 iv_ruleRealTypeScope=ruleRealTypeScope(); 7563
7564 7564
7565 state._fsp--; 7565 current = this_ConfigReference_1;
7566 7566 afterParserOrEnumRuleCall();
7567 current =iv_ruleRealTypeScope; 7567
7568 match(input,EOF,FOLLOW_2); 7568
7569 7569 }
7570 } 7570 break;
7571 7571
7572 } 7572 }
7573 7573
7574 catch (RecognitionException re) { 7574
7575 recover(input,re); 7575 }
7576 appendSkippedTokens(); 7576
7577 } 7577
7578 finally { 7578 leaveRule();
7579 } 7579
7580 return current; 7580 }
7581 } 7581
7582 // $ANTLR end "entryRuleRealTypeScope" 7582 catch (RecognitionException re) {
7583 7583 recover(input,re);
7584 7584 appendSkippedTokens();
7585 // $ANTLR start "ruleRealTypeScope" 7585 }
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 finally {
7587 public final EObject ruleRealTypeScope() throws RecognitionException { 7587 }
7588 EObject current = null; 7588 return current;
7589 7589 }
7590 Token otherlv_0=null; 7590 // $ANTLR end "ruleConfig"
7591 Token lv_setsNew_2_0=null; 7591
7592 Token lv_setsSum_3_0=null; 7592
7593 EObject lv_type_1_0 = null; 7593 // $ANTLR start "entryRuleScopeSpecification"
7594 7594 // InternalApplicationConfiguration.g:2776:1: entryRuleScopeSpecification returns [EObject current=null] : iv_ruleScopeSpecification= ruleScopeSpecification EOF ;
7595 EObject lv_number_4_0 = null; 7595 public final EObject entryRuleScopeSpecification() throws RecognitionException {
7596 7596 EObject current = null;
7597 EObject lv_number_5_0 = null; 7597
7598 7598 EObject iv_ruleScopeSpecification = null;
7599 EObject lv_number_6_0 = null; 7599
7600 7600
7601 7601 try {
7602 7602 // InternalApplicationConfiguration.g:2776:59: (iv_ruleScopeSpecification= ruleScopeSpecification EOF )
7603 enterRule(); 7603 // InternalApplicationConfiguration.g:2777:2: iv_ruleScopeSpecification= ruleScopeSpecification EOF
7604 7604 {
7605 try { 7605 newCompositeNode(grammarAccess.getScopeSpecificationRule());
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 pushFollow(FOLLOW_1);
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 iv_ruleScopeSpecification=ruleScopeSpecification();
7608 { 7608
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 state._fsp--;
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
7611 { 7611 current =iv_ruleScopeSpecification;
7612 otherlv_0=(Token)match(input,32,FOLLOW_32); 7612 match(input,EOF,FOLLOW_2);
7613 7613
7614 newLeafNode(otherlv_0, grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); 7614 }
7615 7615
7616 // InternalApplicationConfiguration.g:2764:3: ( (lv_type_1_0= ruleRealReference ) ) 7616 }
7617 // InternalApplicationConfiguration.g:2765:4: (lv_type_1_0= ruleRealReference ) 7617
7618 { 7618 catch (RecognitionException re) {
7619 // InternalApplicationConfiguration.g:2765:4: (lv_type_1_0= ruleRealReference ) 7619 recover(input,re);
7620 // InternalApplicationConfiguration.g:2766:5: lv_type_1_0= ruleRealReference 7620 appendSkippedTokens();
7621 { 7621 }
7622 7622 finally {
7623 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0()); 7623 }
7624 7624 return current;
7625 pushFollow(FOLLOW_27); 7625 }
7626 lv_type_1_0=ruleRealReference(); 7626 // $ANTLR end "entryRuleScopeSpecification"
7627 7627
7628 state._fsp--; 7628
7629 7629 // $ANTLR start "ruleScopeSpecification"
7630 7630 // InternalApplicationConfiguration.g:2783:1: ruleScopeSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ;
7631 if (current==null) { 7631 public final EObject ruleScopeSpecification() throws RecognitionException {
7632 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); 7632 EObject current = null;
7633 } 7633
7634 set( 7634 Token otherlv_1=null;
7635 current, 7635 Token otherlv_3=null;
7636 "type", 7636 Token otherlv_5=null;
7637 lv_type_1_0, 7637 EObject lv_scopes_2_0 = null;
7638 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealReference"); 7638
7639 afterParserOrEnumRuleCall(); 7639 EObject lv_scopes_4_0 = null;
7640 7640
7641 7641
7642 } 7642
7643 7643 enterRule();
7644 7644
7645 } 7645 try {
7646 7646 // InternalApplicationConfiguration.g:2789:2: ( ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) )
7647 // InternalApplicationConfiguration.g:2783:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) 7647 // InternalApplicationConfiguration.g:2790:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' )
7648 int alt41=2; 7648 {
7649 int LA41_0 = input.LA(1); 7649 // InternalApplicationConfiguration.g:2790:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' )
7650 7650 // InternalApplicationConfiguration.g:2791:3: () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}'
7651 if ( (LA41_0==33) ) { 7651 {
7652 alt41=1; 7652 // InternalApplicationConfiguration.g:2791:3: ()
7653 } 7653 // InternalApplicationConfiguration.g:2792:4:
7654 else if ( (LA41_0==17) ) { 7654 {
7655 alt41=2; 7655
7656 } 7656 current = forceCreateModelElement(
7657 else { 7657 grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(),
7658 NoViableAltException nvae = 7658 current);
7659 new NoViableAltException("", 41, 0, input); 7659
7660 7660
7661 throw nvae; 7661 }
7662 } 7662
7663 switch (alt41) { 7663 otherlv_1=(Token)match(input,18,FOLLOW_27);
7664 case 1 : 7664
7665 // InternalApplicationConfiguration.g:2784:4: ( (lv_setsNew_2_0= '+=' ) ) 7665 newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1());
7666 { 7666
7667 // InternalApplicationConfiguration.g:2784:4: ( (lv_setsNew_2_0= '+=' ) ) 7667 // InternalApplicationConfiguration.g:2802:3: ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )?
7668 // InternalApplicationConfiguration.g:2785:5: (lv_setsNew_2_0= '+=' ) 7668 int alt37=2;
7669 { 7669 int LA37_0 = input.LA(1);
7670 // InternalApplicationConfiguration.g:2785:5: (lv_setsNew_2_0= '+=' ) 7670
7671 // InternalApplicationConfiguration.g:2786:6: lv_setsNew_2_0= '+=' 7671 if ( (LA37_0==34) ) {
7672 { 7672 alt37=1;
7673 lv_setsNew_2_0=(Token)match(input,33,FOLLOW_31); 7673 }
7674 7674 switch (alt37) {
7675 newLeafNode(lv_setsNew_2_0, grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 7675 case 1 :
7676 7676 // InternalApplicationConfiguration.g:2803:4: ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )*
7677 7677 {
7678 if (current==null) { 7678 // InternalApplicationConfiguration.g:2803:4: ( (lv_scopes_2_0= ruleTypeScope ) )
7679 current = createModelElement(grammarAccess.getRealTypeScopeRule()); 7679 // InternalApplicationConfiguration.g:2804:5: (lv_scopes_2_0= ruleTypeScope )
7680 } 7680 {
7681 setWithLastConsumed(current, "setsNew", true, "+="); 7681 // InternalApplicationConfiguration.g:2804:5: (lv_scopes_2_0= ruleTypeScope )
7682 7682 // InternalApplicationConfiguration.g:2805:6: lv_scopes_2_0= ruleTypeScope
7683 7683 {
7684 } 7684
7685 7685 newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0());
7686 7686
7687 } 7687 pushFollow(FOLLOW_14);
7688 7688 lv_scopes_2_0=ruleTypeScope();
7689 7689
7690 } 7690 state._fsp--;
7691 break; 7691
7692 case 2 : 7692
7693 // InternalApplicationConfiguration.g:2799:4: ( (lv_setsSum_3_0= '=' ) ) 7693 if (current==null) {
7694 { 7694 current = createModelElementForParent(grammarAccess.getScopeSpecificationRule());
7695 // InternalApplicationConfiguration.g:2799:4: ( (lv_setsSum_3_0= '=' ) ) 7695 }
7696 // InternalApplicationConfiguration.g:2800:5: (lv_setsSum_3_0= '=' ) 7696 add(
7697 { 7697 current,
7698 // InternalApplicationConfiguration.g:2800:5: (lv_setsSum_3_0= '=' ) 7698 "scopes",
7699 // InternalApplicationConfiguration.g:2801:6: lv_setsSum_3_0= '=' 7699 lv_scopes_2_0,
7700 { 7700 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope");
7701 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_31); 7701 afterParserOrEnumRuleCall();
7702 7702
7703 newLeafNode(lv_setsSum_3_0, grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 7703
7704 7704 }
7705 7705
7706 if (current==null) { 7706
7707 current = createModelElement(grammarAccess.getRealTypeScopeRule()); 7707 }
7708 } 7708
7709 setWithLastConsumed(current, "setsSum", true, "="); 7709 // InternalApplicationConfiguration.g:2822:4: (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )*
7710 7710 loop36:
7711 7711 do {
7712 } 7712 int alt36=2;
7713 7713 int LA36_0 = input.LA(1);
7714 7714
7715 } 7715 if ( (LA36_0==19) ) {
7716 7716 alt36=1;
7717 7717 }
7718 } 7718
7719 break; 7719
7720 7720 switch (alt36) {
7721 } 7721 case 1 :
7722 7722 // InternalApplicationConfiguration.g:2823:5: otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) )
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 otherlv_3=(Token)match(input,19,FOLLOW_28);
7725 switch ( input.LA(1) ) { 7725
7726 case RULE_INT: 7726 newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0());
7727 { 7727
7728 int LA42_1 = input.LA(2); 7728 // InternalApplicationConfiguration.g:2827:5: ( (lv_scopes_4_0= ruleTypeScope ) )
7729 7729 // InternalApplicationConfiguration.g:2828:6: (lv_scopes_4_0= ruleTypeScope )
7730 if ( (LA42_1==EOF||(LA42_1>=19 && LA42_1<=20)) ) { 7730 {
7731 alt42=1; 7731 // InternalApplicationConfiguration.g:2828:6: (lv_scopes_4_0= ruleTypeScope )
7732 } 7732 // InternalApplicationConfiguration.g:2829:7: lv_scopes_4_0= ruleTypeScope
7733 else if ( (LA42_1==41) ) { 7733 {
7734 alt42=2; 7734
7735 } 7735 newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0());
7736 else { 7736
7737 NoViableAltException nvae = 7737 pushFollow(FOLLOW_14);
7738 new NoViableAltException("", 42, 1, input); 7738 lv_scopes_4_0=ruleTypeScope();
7739 7739
7740 throw nvae; 7740 state._fsp--;
7741 } 7741
7742 } 7742
7743 break; 7743 if (current==null) {
7744 case 40: 7744 current = createModelElementForParent(grammarAccess.getScopeSpecificationRule());
7745 { 7745 }
7746 alt42=1; 7746 add(
7747 } 7747 current,
7748 break; 7748 "scopes",
7749 case 18: 7749 lv_scopes_4_0,
7750 { 7750 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope");
7751 alt42=3; 7751 afterParserOrEnumRuleCall();
7752 } 7752
7753 break; 7753
7754 default: 7754 }
7755 NoViableAltException nvae = 7755
7756 new NoViableAltException("", 42, 0, input); 7756
7757 7757 }
7758 throw nvae; 7758
7759 } 7759
7760 7760 }
7761 switch (alt42) { 7761 break;
7762 case 1 : 7762
7763 // InternalApplicationConfiguration.g:2815:4: ( (lv_number_4_0= ruleExactNumber ) ) 7763 default :
7764 { 7764 break loop36;
7765 // InternalApplicationConfiguration.g:2815:4: ( (lv_number_4_0= ruleExactNumber ) ) 7765 }
7766 // InternalApplicationConfiguration.g:2816:5: (lv_number_4_0= ruleExactNumber ) 7766 } while (true);
7767 { 7767
7768 // InternalApplicationConfiguration.g:2816:5: (lv_number_4_0= ruleExactNumber ) 7768
7769 // InternalApplicationConfiguration.g:2817:6: lv_number_4_0= ruleExactNumber 7769 }
7770 { 7770 break;
7771 7771
7772 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 7772 }
7773 7773
7774 pushFollow(FOLLOW_2); 7774 otherlv_5=(Token)match(input,20,FOLLOW_2);
7775 lv_number_4_0=ruleExactNumber(); 7775
7776 7776 newLeafNode(otherlv_5, grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3());
7777 state._fsp--; 7777
7778 7778
7779 7779 }
7780 if (current==null) { 7780
7781 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); 7781
7782 } 7782 }
7783 set( 7783
7784 current, 7784
7785 "number", 7785 leaveRule();
7786 lv_number_4_0, 7786
7787 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 7787 }
7788 afterParserOrEnumRuleCall(); 7788
7789 7789 catch (RecognitionException re) {
7790 7790 recover(input,re);
7791 } 7791 appendSkippedTokens();
7792 7792 }
7793 7793 finally {
7794 } 7794 }
7795 7795 return current;
7796 7796 }
7797 } 7797 // $ANTLR end "ruleScopeSpecification"
7798 break; 7798
7799 case 2 : 7799
7800 // InternalApplicationConfiguration.g:2835:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 7800 // $ANTLR start "entryRuleTypeScope"
7801 { 7801 // InternalApplicationConfiguration.g:2856:1: entryRuleTypeScope returns [EObject current=null] : iv_ruleTypeScope= ruleTypeScope EOF ;
7802 // InternalApplicationConfiguration.g:2835:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 7802 public final EObject entryRuleTypeScope() throws RecognitionException {
7803 // InternalApplicationConfiguration.g:2836:5: (lv_number_5_0= ruleIntervallNumber ) 7803 EObject current = null;
7804 { 7804
7805 // InternalApplicationConfiguration.g:2836:5: (lv_number_5_0= ruleIntervallNumber ) 7805 EObject iv_ruleTypeScope = null;
7806 // InternalApplicationConfiguration.g:2837:6: lv_number_5_0= ruleIntervallNumber 7806
7807 { 7807
7808 7808 try {
7809 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 7809 // InternalApplicationConfiguration.g:2856:50: (iv_ruleTypeScope= ruleTypeScope EOF )
7810 7810 // InternalApplicationConfiguration.g:2857:2: iv_ruleTypeScope= ruleTypeScope EOF
7811 pushFollow(FOLLOW_2); 7811 {
7812 lv_number_5_0=ruleIntervallNumber(); 7812 newCompositeNode(grammarAccess.getTypeScopeRule());
7813 7813 pushFollow(FOLLOW_1);
7814 state._fsp--; 7814 iv_ruleTypeScope=ruleTypeScope();
7815 7815
7816 7816 state._fsp--;
7817 if (current==null) { 7817
7818 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); 7818 current =iv_ruleTypeScope;
7819 } 7819 match(input,EOF,FOLLOW_2);
7820 set( 7820
7821 current, 7821 }
7822 "number", 7822
7823 lv_number_5_0, 7823 }
7824 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 7824
7825 afterParserOrEnumRuleCall(); 7825 catch (RecognitionException re) {
7826 7826 recover(input,re);
7827 7827 appendSkippedTokens();
7828 } 7828 }
7829 7829 finally {
7830 7830 }
7831 } 7831 return current;
7832 7832 }
7833 7833 // $ANTLR end "entryRuleTypeScope"
7834 } 7834
7835 break; 7835
7836 case 3 : 7836 // $ANTLR start "ruleTypeScope"
7837 // InternalApplicationConfiguration.g:2855:4: ( (lv_number_6_0= ruleRealEnumeration ) ) 7837 // InternalApplicationConfiguration.g:2863: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 ) ;
7838 { 7838 public final EObject ruleTypeScope() throws RecognitionException {
7839 // InternalApplicationConfiguration.g:2855:4: ( (lv_number_6_0= ruleRealEnumeration ) ) 7839 EObject current = null;
7840 // InternalApplicationConfiguration.g:2856:5: (lv_number_6_0= ruleRealEnumeration ) 7840
7841 { 7841 EObject this_ClassTypeScope_0 = null;
7842 // InternalApplicationConfiguration.g:2856:5: (lv_number_6_0= ruleRealEnumeration ) 7842
7843 // InternalApplicationConfiguration.g:2857:6: lv_number_6_0= ruleRealEnumeration 7843 EObject this_ObjectTypeScope_1 = null;
7844 { 7844
7845 7845 EObject this_IntegerTypeScope_2 = null;
7846 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0()); 7846
7847 7847 EObject this_RealTypeScope_3 = null;
7848 pushFollow(FOLLOW_2); 7848
7849 lv_number_6_0=ruleRealEnumeration(); 7849 EObject this_StringTypeScope_4 = null;
7850 7850
7851 state._fsp--; 7851
7852 7852
7853 7853 enterRule();
7854 if (current==null) { 7854
7855 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); 7855 try {
7856 } 7856 // InternalApplicationConfiguration.g:2869:2: ( (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) )
7857 set( 7857 // InternalApplicationConfiguration.g:2870:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope )
7858 current, 7858 {
7859 "number", 7859 // InternalApplicationConfiguration.g:2870:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope )
7860 lv_number_6_0, 7860 int alt38=5;
7861 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealEnumeration"); 7861 int LA38_0 = input.LA(1);
7862 afterParserOrEnumRuleCall(); 7862
7863 7863 if ( (LA38_0==34) ) {
7864 7864 switch ( input.LA(2) ) {
7865 } 7865 case 39:
7866 7866 {
7867 7867 alt38=3;
7868 } 7868 }
7869 7869 break;
7870 7870 case 40:
7871 } 7871 {
7872 break; 7872 alt38=4;
7873 7873 }
7874 } 7874 break;
7875 7875 case 41:
7876 7876 {
7877 } 7877 alt38=5;
7878 7878 }
7879 7879 break;
7880 } 7880 case 36:
7881 7881 {
7882 7882 alt38=1;
7883 leaveRule(); 7883 }
7884 7884 break;
7885 } 7885 case 38:
7886 7886 {
7887 catch (RecognitionException re) { 7887 alt38=2;
7888 recover(input,re); 7888 }
7889 appendSkippedTokens(); 7889 break;
7890 } 7890 default:
7891 finally { 7891 NoViableAltException nvae =
7892 } 7892 new NoViableAltException("", 38, 1, input);
7893 return current; 7893
7894 } 7894 throw nvae;
7895 // $ANTLR end "ruleRealTypeScope" 7895 }
7896 7896
7897 7897 }
7898 // $ANTLR start "entryRuleStringTypeScope" 7898 else {
7899 // InternalApplicationConfiguration.g:2879:1: entryRuleStringTypeScope returns [EObject current=null] : iv_ruleStringTypeScope= ruleStringTypeScope EOF ; 7899 NoViableAltException nvae =
7900 public final EObject entryRuleStringTypeScope() throws RecognitionException { 7900 new NoViableAltException("", 38, 0, input);
7901 EObject current = null; 7901
7902 7902 throw nvae;
7903 EObject iv_ruleStringTypeScope = null; 7903 }
7904 7904 switch (alt38) {
7905 7905 case 1 :
7906 try { 7906 // InternalApplicationConfiguration.g:2871:3: this_ClassTypeScope_0= ruleClassTypeScope
7907 // InternalApplicationConfiguration.g:2879:56: (iv_ruleStringTypeScope= ruleStringTypeScope EOF ) 7907 {
7908 // InternalApplicationConfiguration.g:2880:2: iv_ruleStringTypeScope= ruleStringTypeScope EOF 7908
7909 { 7909 newCompositeNode(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0());
7910 newCompositeNode(grammarAccess.getStringTypeScopeRule()); 7910
7911 pushFollow(FOLLOW_1); 7911 pushFollow(FOLLOW_2);
7912 iv_ruleStringTypeScope=ruleStringTypeScope(); 7912 this_ClassTypeScope_0=ruleClassTypeScope();
7913 7913
7914 state._fsp--; 7914 state._fsp--;
7915 7915
7916 current =iv_ruleStringTypeScope; 7916
7917 match(input,EOF,FOLLOW_2); 7917 current = this_ClassTypeScope_0;
7918 7918 afterParserOrEnumRuleCall();
7919 } 7919
7920 7920
7921 } 7921 }
7922 7922 break;
7923 catch (RecognitionException re) { 7923 case 2 :
7924 recover(input,re); 7924 // InternalApplicationConfiguration.g:2880:3: this_ObjectTypeScope_1= ruleObjectTypeScope
7925 appendSkippedTokens(); 7925 {
7926 } 7926
7927 finally { 7927 newCompositeNode(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1());
7928 } 7928
7929 return current; 7929 pushFollow(FOLLOW_2);
7930 } 7930 this_ObjectTypeScope_1=ruleObjectTypeScope();
7931 // $ANTLR end "entryRuleStringTypeScope" 7931
7932 7932 state._fsp--;
7933 7933
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 current = this_ObjectTypeScope_1;
7936 public final EObject ruleStringTypeScope() throws RecognitionException { 7936 afterParserOrEnumRuleCall();
7937 EObject current = null; 7937
7938 7938
7939 Token otherlv_0=null; 7939 }
7940 Token lv_setsNew_2_0=null; 7940 break;
7941 Token lv_setsSum_3_0=null; 7941 case 3 :
7942 EObject lv_type_1_0 = null; 7942 // InternalApplicationConfiguration.g:2889:3: this_IntegerTypeScope_2= ruleIntegerTypeScope
7943 7943 {
7944 EObject lv_number_4_0 = null; 7944
7945 7945 newCompositeNode(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2());
7946 EObject lv_number_5_0 = null; 7946
7947 7947 pushFollow(FOLLOW_2);
7948 EObject lv_number_6_0 = null; 7948 this_IntegerTypeScope_2=ruleIntegerTypeScope();
7949 7949
7950 7950 state._fsp--;
7951 7951
7952 enterRule(); 7952
7953 7953 current = this_IntegerTypeScope_2;
7954 try { 7954 afterParserOrEnumRuleCall();
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
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 break;
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 case 4 :
7960 { 7960 // InternalApplicationConfiguration.g:2898:3: this_RealTypeScope_3= ruleRealTypeScope
7961 otherlv_0=(Token)match(input,32,FOLLOW_33); 7961 {
7962 7962
7963 newLeafNode(otherlv_0, grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); 7963 newCompositeNode(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3());
7964 7964
7965 // InternalApplicationConfiguration.g:2898:3: ( (lv_type_1_0= ruleStringReference ) ) 7965 pushFollow(FOLLOW_2);
7966 // InternalApplicationConfiguration.g:2899:4: (lv_type_1_0= ruleStringReference ) 7966 this_RealTypeScope_3=ruleRealTypeScope();
7967 { 7967
7968 // InternalApplicationConfiguration.g:2899:4: (lv_type_1_0= ruleStringReference ) 7968 state._fsp--;
7969 // InternalApplicationConfiguration.g:2900:5: lv_type_1_0= ruleStringReference 7969
7970 { 7970
7971 7971 current = this_RealTypeScope_3;
7972 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0()); 7972 afterParserOrEnumRuleCall();
7973 7973
7974 pushFollow(FOLLOW_27); 7974
7975 lv_type_1_0=ruleStringReference(); 7975 }
7976 7976 break;
7977 state._fsp--; 7977 case 5 :
7978 7978 // InternalApplicationConfiguration.g:2907:3: this_StringTypeScope_4= ruleStringTypeScope
7979 7979 {
7980 if (current==null) { 7980
7981 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); 7981 newCompositeNode(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4());
7982 } 7982
7983 set( 7983 pushFollow(FOLLOW_2);
7984 current, 7984 this_StringTypeScope_4=ruleStringTypeScope();
7985 "type", 7985
7986 lv_type_1_0, 7986 state._fsp--;
7987 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringReference"); 7987
7988 afterParserOrEnumRuleCall(); 7988
7989 7989 current = this_StringTypeScope_4;
7990 7990 afterParserOrEnumRuleCall();
7991 } 7991
7992 7992
7993 7993 }
7994 } 7994 break;
7995 7995
7996 // InternalApplicationConfiguration.g:2917:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) 7996 }
7997 int alt43=2; 7997
7998 int LA43_0 = input.LA(1); 7998
7999 7999 }
8000 if ( (LA43_0==33) ) { 8000
8001 alt43=1; 8001
8002 } 8002 leaveRule();
8003 else if ( (LA43_0==17) ) { 8003
8004 alt43=2; 8004 }
8005 } 8005
8006 else { 8006 catch (RecognitionException re) {
8007 NoViableAltException nvae = 8007 recover(input,re);
8008 new NoViableAltException("", 43, 0, input); 8008 appendSkippedTokens();
8009 8009 }
8010 throw nvae; 8010 finally {
8011 } 8011 }
8012 switch (alt43) { 8012 return current;
8013 case 1 : 8013 }
8014 // InternalApplicationConfiguration.g:2918:4: ( (lv_setsNew_2_0= '+=' ) ) 8014 // $ANTLR end "ruleTypeScope"
8015 { 8015
8016 // InternalApplicationConfiguration.g:2918:4: ( (lv_setsNew_2_0= '+=' ) ) 8016
8017 // InternalApplicationConfiguration.g:2919:5: (lv_setsNew_2_0= '+=' ) 8017 // $ANTLR start "entryRuleClassTypeScope"
8018 { 8018 // InternalApplicationConfiguration.g:2919:1: entryRuleClassTypeScope returns [EObject current=null] : iv_ruleClassTypeScope= ruleClassTypeScope EOF ;
8019 // InternalApplicationConfiguration.g:2919:5: (lv_setsNew_2_0= '+=' ) 8019 public final EObject entryRuleClassTypeScope() throws RecognitionException {
8020 // InternalApplicationConfiguration.g:2920:6: lv_setsNew_2_0= '+=' 8020 EObject current = null;
8021 { 8021
8022 lv_setsNew_2_0=(Token)match(input,33,FOLLOW_31); 8022 EObject iv_ruleClassTypeScope = null;
8023 8023
8024 newLeafNode(lv_setsNew_2_0, grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 8024
8025 8025 try {
8026 8026 // InternalApplicationConfiguration.g:2919:55: (iv_ruleClassTypeScope= ruleClassTypeScope EOF )
8027 if (current==null) { 8027 // InternalApplicationConfiguration.g:2920:2: iv_ruleClassTypeScope= ruleClassTypeScope EOF
8028 current = createModelElement(grammarAccess.getStringTypeScopeRule()); 8028 {
8029 } 8029 newCompositeNode(grammarAccess.getClassTypeScopeRule());
8030 setWithLastConsumed(current, "setsNew", true, "+="); 8030 pushFollow(FOLLOW_1);
8031 8031 iv_ruleClassTypeScope=ruleClassTypeScope();
8032 8032
8033 } 8033 state._fsp--;
8034 8034
8035 8035 current =iv_ruleClassTypeScope;
8036 } 8036 match(input,EOF,FOLLOW_2);
8037 8037
8038 8038 }
8039 } 8039
8040 break; 8040 }
8041 case 2 : 8041
8042 // InternalApplicationConfiguration.g:2933:4: ( (lv_setsSum_3_0= '=' ) ) 8042 catch (RecognitionException re) {
8043 { 8043 recover(input,re);
8044 // InternalApplicationConfiguration.g:2933:4: ( (lv_setsSum_3_0= '=' ) ) 8044 appendSkippedTokens();
8045 // InternalApplicationConfiguration.g:2934:5: (lv_setsSum_3_0= '=' ) 8045 }
8046 { 8046 finally {
8047 // InternalApplicationConfiguration.g:2934:5: (lv_setsSum_3_0= '=' ) 8047 }
8048 // InternalApplicationConfiguration.g:2935:6: lv_setsSum_3_0= '=' 8048 return current;
8049 { 8049 }
8050 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_31); 8050 // $ANTLR end "entryRuleClassTypeScope"
8051 8051
8052 newLeafNode(lv_setsSum_3_0, grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 8052
8053 8053 // $ANTLR start "ruleClassTypeScope"
8054 8054 // InternalApplicationConfiguration.g:2926: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 ) ) ) ) ;
8055 if (current==null) { 8055 public final EObject ruleClassTypeScope() throws RecognitionException {
8056 current = createModelElement(grammarAccess.getStringTypeScopeRule()); 8056 EObject current = null;
8057 } 8057
8058 setWithLastConsumed(current, "setsSum", true, "="); 8058 Token otherlv_0=null;
8059 8059 Token lv_setsNew_2_0=null;
8060 8060 Token lv_setsSum_3_0=null;
8061 } 8061 EObject lv_type_1_0 = null;
8062 8062
8063 8063 EObject lv_number_4_0 = null;
8064 } 8064
8065 8065 EObject lv_number_5_0 = null;
8066 8066
8067 } 8067
8068 break; 8068
8069 8069 enterRule();
8070 } 8070
8071 8071 try {
8072 // InternalApplicationConfiguration.g:2948:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) 8072 // InternalApplicationConfiguration.g:2932: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 ) ) ) ) )
8073 int alt44=3; 8073 // InternalApplicationConfiguration.g:2933: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 ) ) ) )
8074 switch ( input.LA(1) ) { 8074 {
8075 case RULE_INT: 8075 // InternalApplicationConfiguration.g:2933: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 ) ) ) )
8076 { 8076 // InternalApplicationConfiguration.g:2934: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 ) ) )
8077 int LA44_1 = input.LA(2); 8077 {
8078 8078 otherlv_0=(Token)match(input,34,FOLLOW_29);
8079 if ( (LA44_1==41) ) { 8079
8080 alt44=2; 8080 newLeafNode(otherlv_0, grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0());
8081 } 8081
8082 else if ( (LA44_1==EOF||(LA44_1>=19 && LA44_1<=20)) ) { 8082 // InternalApplicationConfiguration.g:2938:3: ( (lv_type_1_0= ruleClassReference ) )
8083 alt44=1; 8083 // InternalApplicationConfiguration.g:2939:4: (lv_type_1_0= ruleClassReference )
8084 } 8084 {
8085 else { 8085 // InternalApplicationConfiguration.g:2939:4: (lv_type_1_0= ruleClassReference )
8086 NoViableAltException nvae = 8086 // InternalApplicationConfiguration.g:2940:5: lv_type_1_0= ruleClassReference
8087 new NoViableAltException("", 44, 1, input); 8087 {
8088 8088
8089 throw nvae; 8089 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0());
8090 } 8090
8091 } 8091 pushFollow(FOLLOW_30);
8092 break; 8092 lv_type_1_0=ruleClassReference();
8093 case 40: 8093
8094 { 8094 state._fsp--;
8095 alt44=1; 8095
8096 } 8096
8097 break; 8097 if (current==null) {
8098 case 18: 8098 current = createModelElementForParent(grammarAccess.getClassTypeScopeRule());
8099 { 8099 }
8100 alt44=3; 8100 set(
8101 } 8101 current,
8102 break; 8102 "type",
8103 default: 8103 lv_type_1_0,
8104 NoViableAltException nvae = 8104 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassReference");
8105 new NoViableAltException("", 44, 0, input); 8105 afterParserOrEnumRuleCall();
8106 8106
8107 throw nvae; 8107
8108 } 8108 }
8109 8109
8110 switch (alt44) { 8110
8111 case 1 : 8111 }
8112 // InternalApplicationConfiguration.g:2949:4: ( (lv_number_4_0= ruleExactNumber ) ) 8112
8113 { 8113 // InternalApplicationConfiguration.g:2957:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) )
8114 // InternalApplicationConfiguration.g:2949:4: ( (lv_number_4_0= ruleExactNumber ) ) 8114 int alt39=2;
8115 // InternalApplicationConfiguration.g:2950:5: (lv_number_4_0= ruleExactNumber ) 8115 int LA39_0 = input.LA(1);
8116 { 8116
8117 // InternalApplicationConfiguration.g:2950:5: (lv_number_4_0= ruleExactNumber ) 8117 if ( (LA39_0==35) ) {
8118 // InternalApplicationConfiguration.g:2951:6: lv_number_4_0= ruleExactNumber 8118 alt39=1;
8119 { 8119 }
8120 8120 else if ( (LA39_0==17) ) {
8121 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 8121 alt39=2;
8122 8122 }
8123 pushFollow(FOLLOW_2); 8123 else {
8124 lv_number_4_0=ruleExactNumber(); 8124 NoViableAltException nvae =
8125 8125 new NoViableAltException("", 39, 0, input);
8126 state._fsp--; 8126
8127 8127 throw nvae;
8128 8128 }
8129 if (current==null) { 8129 switch (alt39) {
8130 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); 8130 case 1 :
8131 } 8131 // InternalApplicationConfiguration.g:2958:4: ( (lv_setsNew_2_0= '+=' ) )
8132 set( 8132 {
8133 current, 8133 // InternalApplicationConfiguration.g:2958:4: ( (lv_setsNew_2_0= '+=' ) )
8134 "number", 8134 // InternalApplicationConfiguration.g:2959:5: (lv_setsNew_2_0= '+=' )
8135 lv_number_4_0, 8135 {
8136 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 8136 // InternalApplicationConfiguration.g:2959:5: (lv_setsNew_2_0= '+=' )
8137 afterParserOrEnumRuleCall(); 8137 // InternalApplicationConfiguration.g:2960:6: lv_setsNew_2_0= '+='
8138 8138 {
8139 8139 lv_setsNew_2_0=(Token)match(input,35,FOLLOW_31);
8140 } 8140
8141 8141 newLeafNode(lv_setsNew_2_0, grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
8142 8142
8143 } 8143
8144 8144 if (current==null) {
8145 8145 current = createModelElement(grammarAccess.getClassTypeScopeRule());
8146 } 8146 }
8147 break; 8147 setWithLastConsumed(current, "setsNew", true, "+=");
8148 case 2 : 8148
8149 // InternalApplicationConfiguration.g:2969:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 8149
8150 { 8150 }
8151 // InternalApplicationConfiguration.g:2969:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 8151
8152 // InternalApplicationConfiguration.g:2970:5: (lv_number_5_0= ruleIntervallNumber ) 8152
8153 { 8153 }
8154 // InternalApplicationConfiguration.g:2970:5: (lv_number_5_0= ruleIntervallNumber ) 8154
8155 // InternalApplicationConfiguration.g:2971:6: lv_number_5_0= ruleIntervallNumber 8155
8156 { 8156 }
8157 8157 break;
8158 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 8158 case 2 :
8159 8159 // InternalApplicationConfiguration.g:2973:4: ( (lv_setsSum_3_0= '=' ) )
8160 pushFollow(FOLLOW_2); 8160 {
8161 lv_number_5_0=ruleIntervallNumber(); 8161 // InternalApplicationConfiguration.g:2973:4: ( (lv_setsSum_3_0= '=' ) )
8162 8162 // InternalApplicationConfiguration.g:2974:5: (lv_setsSum_3_0= '=' )
8163 state._fsp--; 8163 {
8164 8164 // InternalApplicationConfiguration.g:2974:5: (lv_setsSum_3_0= '=' )
8165 8165 // InternalApplicationConfiguration.g:2975:6: lv_setsSum_3_0= '='
8166 if (current==null) { 8166 {
8167 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); 8167 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_31);
8168 } 8168
8169 set( 8169 newLeafNode(lv_setsSum_3_0, grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
8170 current, 8170
8171 "number", 8171
8172 lv_number_5_0, 8172 if (current==null) {
8173 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 8173 current = createModelElement(grammarAccess.getClassTypeScopeRule());
8174 afterParserOrEnumRuleCall(); 8174 }
8175 8175 setWithLastConsumed(current, "setsSum", true, "=");
8176 8176
8177 } 8177
8178 8178 }
8179 8179
8180 } 8180
8181 8181 }
8182 8182
8183 } 8183
8184 break; 8184 }
8185 case 3 : 8185 break;
8186 // InternalApplicationConfiguration.g:2989:4: ( (lv_number_6_0= ruleStringEnumeration ) ) 8186
8187 { 8187 }
8188 // InternalApplicationConfiguration.g:2989:4: ( (lv_number_6_0= ruleStringEnumeration ) ) 8188
8189 // InternalApplicationConfiguration.g:2990:5: (lv_number_6_0= ruleStringEnumeration ) 8189 // InternalApplicationConfiguration.g:2988:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) )
8190 { 8190 int alt40=2;
8191 // InternalApplicationConfiguration.g:2990:5: (lv_number_6_0= ruleStringEnumeration ) 8191 int LA40_0 = input.LA(1);
8192 // InternalApplicationConfiguration.g:2991:6: lv_number_6_0= ruleStringEnumeration 8192
8193 { 8193 if ( (LA40_0==RULE_INT) ) {
8194 8194 int LA40_1 = input.LA(2);
8195 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0()); 8195
8196 8196 if ( (LA40_1==EOF||(LA40_1>=19 && LA40_1<=20)) ) {
8197 pushFollow(FOLLOW_2); 8197 alt40=1;
8198 lv_number_6_0=ruleStringEnumeration(); 8198 }
8199 8199 else if ( (LA40_1==43) ) {
8200 state._fsp--; 8200 alt40=2;
8201 8201 }
8202 8202 else {
8203 if (current==null) { 8203 NoViableAltException nvae =
8204 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); 8204 new NoViableAltException("", 40, 1, input);
8205 } 8205
8206 set( 8206 throw nvae;
8207 current, 8207 }
8208 "number", 8208 }
8209 lv_number_6_0, 8209 else if ( (LA40_0==42) ) {
8210 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringEnumeration"); 8210 alt40=1;
8211 afterParserOrEnumRuleCall(); 8211 }
8212 8212 else {
8213 8213 NoViableAltException nvae =
8214 } 8214 new NoViableAltException("", 40, 0, input);
8215 8215
8216 8216 throw nvae;
8217 } 8217 }
8218 8218 switch (alt40) {
8219 8219 case 1 :
8220 } 8220 // InternalApplicationConfiguration.g:2989:4: ( (lv_number_4_0= ruleExactNumber ) )
8221 break; 8221 {
8222 8222 // InternalApplicationConfiguration.g:2989:4: ( (lv_number_4_0= ruleExactNumber ) )
8223 } 8223 // InternalApplicationConfiguration.g:2990:5: (lv_number_4_0= ruleExactNumber )
8224 8224 {
8225 8225 // InternalApplicationConfiguration.g:2990:5: (lv_number_4_0= ruleExactNumber )
8226 } 8226 // InternalApplicationConfiguration.g:2991:6: lv_number_4_0= ruleExactNumber
8227 8227 {
8228 8228
8229 } 8229 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
8230 8230
8231 8231 pushFollow(FOLLOW_2);
8232 leaveRule(); 8232 lv_number_4_0=ruleExactNumber();
8233 8233
8234 } 8234 state._fsp--;
8235 8235
8236 catch (RecognitionException re) { 8236
8237 recover(input,re); 8237 if (current==null) {
8238 appendSkippedTokens(); 8238 current = createModelElementForParent(grammarAccess.getClassTypeScopeRule());
8239 } 8239 }
8240 finally { 8240 set(
8241 } 8241 current,
8242 return current; 8242 "number",
8243 } 8243 lv_number_4_0,
8244 // $ANTLR end "ruleStringTypeScope" 8244 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
8245 8245 afterParserOrEnumRuleCall();
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
8254 8254 }
8255 try { 8255 break;
8256 // InternalApplicationConfiguration.g:3013:55: (iv_ruleClassReference= ruleClassReference EOF ) 8256 case 2 :
8257 // InternalApplicationConfiguration.g:3014:2: iv_ruleClassReference= ruleClassReference EOF 8257 // InternalApplicationConfiguration.g:3009:4: ( (lv_number_5_0= ruleIntervallNumber ) )
8258 { 8258 {
8259 newCompositeNode(grammarAccess.getClassReferenceRule()); 8259 // InternalApplicationConfiguration.g:3009:4: ( (lv_number_5_0= ruleIntervallNumber ) )
8260 pushFollow(FOLLOW_1); 8260 // InternalApplicationConfiguration.g:3010:5: (lv_number_5_0= ruleIntervallNumber )
8261 iv_ruleClassReference=ruleClassReference(); 8261 {
8262 8262 // InternalApplicationConfiguration.g:3010:5: (lv_number_5_0= ruleIntervallNumber )
8263 state._fsp--; 8263 // InternalApplicationConfiguration.g:3011:6: lv_number_5_0= ruleIntervallNumber
8264 8264 {
8265 current =iv_ruleClassReference; 8265
8266 match(input,EOF,FOLLOW_2); 8266 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
8267 8267
8268 } 8268 pushFollow(FOLLOW_2);
8269 8269 lv_number_5_0=ruleIntervallNumber();
8270 } 8270
8271 8271 state._fsp--;
8272 catch (RecognitionException re) { 8272
8273 recover(input,re); 8273
8274 appendSkippedTokens(); 8274 if (current==null) {
8275 } 8275 current = createModelElementForParent(grammarAccess.getClassTypeScopeRule());
8276 finally { 8276 }
8277 } 8277 set(
8278 return current; 8278 current,
8279 } 8279 "number",
8280 // $ANTLR end "entryRuleClassReference" 8280 lv_number_5_0,
8281 8281 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
8282 8282 afterParserOrEnumRuleCall();
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
8285 public final EObject ruleClassReference() throws RecognitionException { 8285 }
8286 EObject current = null; 8286
8287 8287
8288 Token otherlv_0=null; 8288 }
8289 Token otherlv_2=null; 8289
8290 EObject lv_element_1_0 = null; 8290
8291 8291 }
8292 8292 break;
8293 8293
8294 enterRule(); 8294 }
8295 8295
8296 try { 8296
8297 // InternalApplicationConfiguration.g:3026:2: ( (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) ) 8297 }
8298 // InternalApplicationConfiguration.g:3027:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) 8298
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 leaveRule();
8304 8304
8305 newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0()); 8305 }
8306 8306
8307 // InternalApplicationConfiguration.g:3032:3: ( (lv_element_1_0= ruleMetamodelElement ) ) 8307 catch (RecognitionException re) {
8308 // InternalApplicationConfiguration.g:3033:4: (lv_element_1_0= ruleMetamodelElement ) 8308 recover(input,re);
8309 { 8309 appendSkippedTokens();
8310 // InternalApplicationConfiguration.g:3033:4: (lv_element_1_0= ruleMetamodelElement ) 8310 }
8311 // InternalApplicationConfiguration.g:3034:5: lv_element_1_0= ruleMetamodelElement 8311 finally {
8312 { 8312 }
8313 8313 return current;
8314 newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); 8314 }
8315 8315 // $ANTLR end "ruleClassTypeScope"
8316 pushFollow(FOLLOW_34); 8316
8317 lv_element_1_0=ruleMetamodelElement(); 8317
8318 8318 // $ANTLR start "entryRuleObjectTypeScope"
8319 state._fsp--; 8319 // InternalApplicationConfiguration.g:3033:1: entryRuleObjectTypeScope returns [EObject current=null] : iv_ruleObjectTypeScope= ruleObjectTypeScope EOF ;
8320 8320 public final EObject entryRuleObjectTypeScope() throws RecognitionException {
8321 8321 EObject current = null;
8322 if (current==null) { 8322
8323 current = createModelElementForParent(grammarAccess.getClassReferenceRule()); 8323 EObject iv_ruleObjectTypeScope = null;
8324 } 8324
8325 set( 8325
8326 current, 8326 try {
8327 "element", 8327 // InternalApplicationConfiguration.g:3033:56: (iv_ruleObjectTypeScope= ruleObjectTypeScope EOF )
8328 lv_element_1_0, 8328 // InternalApplicationConfiguration.g:3034:2: iv_ruleObjectTypeScope= ruleObjectTypeScope EOF
8329 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); 8329 {
8330 afterParserOrEnumRuleCall(); 8330 newCompositeNode(grammarAccess.getObjectTypeScopeRule());
8331 8331 pushFollow(FOLLOW_1);
8332 8332 iv_ruleObjectTypeScope=ruleObjectTypeScope();
8333 } 8333
8334 8334 state._fsp--;
8335 8335
8336 } 8336 current =iv_ruleObjectTypeScope;
8337 8337 match(input,EOF,FOLLOW_2);
8338 otherlv_2=(Token)match(input,35,FOLLOW_2); 8338
8339 8339 }
8340 newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2()); 8340
8341 8341 }
8342 8342
8343 } 8343 catch (RecognitionException re) {
8344 8344 recover(input,re);
8345 8345 appendSkippedTokens();
8346 } 8346 }
8347 8347 finally {
8348 8348 }
8349 leaveRule(); 8349 return current;
8350 8350 }
8351 } 8351 // $ANTLR end "entryRuleObjectTypeScope"
8352 8352
8353 catch (RecognitionException re) { 8353
8354 recover(input,re); 8354 // $ANTLR start "ruleObjectTypeScope"
8355 appendSkippedTokens(); 8355 // InternalApplicationConfiguration.g:3040: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 ) ) ) ) ;
8356 } 8356 public final EObject ruleObjectTypeScope() throws RecognitionException {
8357 finally { 8357 EObject current = null;
8358 } 8358
8359 return current; 8359 Token otherlv_0=null;
8360 } 8360 Token lv_setsNew_2_0=null;
8361 // $ANTLR end "ruleClassReference" 8361 Token lv_setsSum_3_0=null;
8362 8362 EObject lv_type_1_0 = null;
8363 8363
8364 // $ANTLR start "entryRuleObjectReference" 8364 EObject lv_number_4_0 = null;
8365 // InternalApplicationConfiguration.g:3059:1: entryRuleObjectReference returns [EObject current=null] : iv_ruleObjectReference= ruleObjectReference EOF ; 8365
8366 public final EObject entryRuleObjectReference() throws RecognitionException { 8366 EObject lv_number_5_0 = null;
8367 EObject current = null; 8367
8368 8368
8369 EObject iv_ruleObjectReference = null; 8369
8370 8370 enterRule();
8371 8371
8372 try { 8372 try {
8373 // InternalApplicationConfiguration.g:3059:56: (iv_ruleObjectReference= ruleObjectReference EOF ) 8373 // InternalApplicationConfiguration.g:3046: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 ) ) ) ) )
8374 // InternalApplicationConfiguration.g:3060:2: iv_ruleObjectReference= ruleObjectReference EOF 8374 // InternalApplicationConfiguration.g:3047: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 ) ) ) )
8375 { 8375 {
8376 newCompositeNode(grammarAccess.getObjectReferenceRule()); 8376 // InternalApplicationConfiguration.g:3047: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 ) ) ) )
8377 pushFollow(FOLLOW_1); 8377 // InternalApplicationConfiguration.g:3048: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 ) ) )
8378 iv_ruleObjectReference=ruleObjectReference(); 8378 {
8379 8379 otherlv_0=(Token)match(input,34,FOLLOW_32);
8380 state._fsp--; 8380
8381 8381 newLeafNode(otherlv_0, grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0());
8382 current =iv_ruleObjectReference; 8382
8383 match(input,EOF,FOLLOW_2); 8383 // InternalApplicationConfiguration.g:3052:3: ( (lv_type_1_0= ruleObjectReference ) )
8384 8384 // InternalApplicationConfiguration.g:3053:4: (lv_type_1_0= ruleObjectReference )
8385 } 8385 {
8386 8386 // InternalApplicationConfiguration.g:3053:4: (lv_type_1_0= ruleObjectReference )
8387 } 8387 // InternalApplicationConfiguration.g:3054:5: lv_type_1_0= ruleObjectReference
8388 8388 {
8389 catch (RecognitionException re) { 8389
8390 recover(input,re); 8390 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0());
8391 appendSkippedTokens(); 8391
8392 } 8392 pushFollow(FOLLOW_30);
8393 finally { 8393 lv_type_1_0=ruleObjectReference();
8394 } 8394
8395 return current; 8395 state._fsp--;
8396 } 8396
8397 // $ANTLR end "entryRuleObjectReference" 8397
8398 8398 if (current==null) {
8399 8399 current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule());
8400 // $ANTLR start "ruleObjectReference" 8400 }
8401 // InternalApplicationConfiguration.g:3066:1: ruleObjectReference returns [EObject current=null] : ( () otherlv_1= 'node' ) ; 8401 set(
8402 public final EObject ruleObjectReference() throws RecognitionException { 8402 current,
8403 EObject current = null; 8403 "type",
8404 8404 lv_type_1_0,
8405 Token otherlv_1=null; 8405 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectReference");
8406 8406 afterParserOrEnumRuleCall();
8407 8407
8408 enterRule(); 8408
8409 8409 }
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 // InternalApplicationConfiguration.g:3071:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) )
8415 // InternalApplicationConfiguration.g:3074:3: () otherlv_1= 'node' 8415 int alt41=2;
8416 { 8416 int LA41_0 = input.LA(1);
8417 // InternalApplicationConfiguration.g:3074:3: () 8417
8418 // InternalApplicationConfiguration.g:3075:4: 8418 if ( (LA41_0==35) ) {
8419 { 8419 alt41=1;
8420 8420 }
8421 current = forceCreateModelElement( 8421 else if ( (LA41_0==17) ) {
8422 grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(), 8422 alt41=2;
8423 current); 8423 }
8424 8424 else {
8425 8425 NoViableAltException nvae =
8426 } 8426 new NoViableAltException("", 41, 0, input);
8427 8427
8428 otherlv_1=(Token)match(input,36,FOLLOW_2); 8428 throw nvae;
8429 8429 }
8430 newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); 8430 switch (alt41) {
8431 8431 case 1 :
8432 8432 // InternalApplicationConfiguration.g:3072:4: ( (lv_setsNew_2_0= '+=' ) )
8433 } 8433 {
8434 8434 // InternalApplicationConfiguration.g:3072:4: ( (lv_setsNew_2_0= '+=' ) )
8435 8435 // InternalApplicationConfiguration.g:3073:5: (lv_setsNew_2_0= '+=' )
8436 } 8436 {
8437 8437 // InternalApplicationConfiguration.g:3073:5: (lv_setsNew_2_0= '+=' )
8438 8438 // InternalApplicationConfiguration.g:3074:6: lv_setsNew_2_0= '+='
8439 leaveRule(); 8439 {
8440 8440 lv_setsNew_2_0=(Token)match(input,35,FOLLOW_31);
8441 } 8441
8442 8442 newLeafNode(lv_setsNew_2_0, grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
8443 catch (RecognitionException re) { 8443
8444 recover(input,re); 8444
8445 appendSkippedTokens(); 8445 if (current==null) {
8446 } 8446 current = createModelElement(grammarAccess.getObjectTypeScopeRule());
8447 finally { 8447 }
8448 } 8448 setWithLastConsumed(current, "setsNew", true, "+=");
8449 return current; 8449
8450 } 8450
8451 // $ANTLR end "ruleObjectReference" 8451 }
8452 8452
8453 8453
8454 // $ANTLR start "entryRuleIntegerReference" 8454 }
8455 // InternalApplicationConfiguration.g:3089:1: entryRuleIntegerReference returns [EObject current=null] : iv_ruleIntegerReference= ruleIntegerReference EOF ; 8455
8456 public final EObject entryRuleIntegerReference() throws RecognitionException { 8456
8457 EObject current = null; 8457 }
8458 8458 break;
8459 EObject iv_ruleIntegerReference = null; 8459 case 2 :
8460 8460 // InternalApplicationConfiguration.g:3087:4: ( (lv_setsSum_3_0= '=' ) )
8461 8461 {
8462 try { 8462 // InternalApplicationConfiguration.g:3087:4: ( (lv_setsSum_3_0= '=' ) )
8463 // InternalApplicationConfiguration.g:3089:57: (iv_ruleIntegerReference= ruleIntegerReference EOF ) 8463 // InternalApplicationConfiguration.g:3088:5: (lv_setsSum_3_0= '=' )
8464 // InternalApplicationConfiguration.g:3090:2: iv_ruleIntegerReference= ruleIntegerReference EOF 8464 {
8465 { 8465 // InternalApplicationConfiguration.g:3088:5: (lv_setsSum_3_0= '=' )
8466 newCompositeNode(grammarAccess.getIntegerReferenceRule()); 8466 // InternalApplicationConfiguration.g:3089:6: lv_setsSum_3_0= '='
8467 pushFollow(FOLLOW_1); 8467 {
8468 iv_ruleIntegerReference=ruleIntegerReference(); 8468 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_31);
8469 8469
8470 state._fsp--; 8470 newLeafNode(lv_setsSum_3_0, grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
8471 8471
8472 current =iv_ruleIntegerReference; 8472
8473 match(input,EOF,FOLLOW_2); 8473 if (current==null) {
8474 8474 current = createModelElement(grammarAccess.getObjectTypeScopeRule());
8475 } 8475 }
8476 8476 setWithLastConsumed(current, "setsSum", true, "=");
8477 } 8477
8478 8478
8479 catch (RecognitionException re) { 8479 }
8480 recover(input,re); 8480
8481 appendSkippedTokens(); 8481
8482 } 8482 }
8483 finally { 8483
8484 } 8484
8485 return current; 8485 }
8486 } 8486 break;
8487 // $ANTLR end "entryRuleIntegerReference" 8487
8488 8488 }
8489 8489
8490 // $ANTLR start "ruleIntegerReference" 8490 // InternalApplicationConfiguration.g:3102:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) )
8491 // InternalApplicationConfiguration.g:3096:1: ruleIntegerReference returns [EObject current=null] : ( () otherlv_1= 'int' ) ; 8491 int alt42=2;
8492 public final EObject ruleIntegerReference() throws RecognitionException { 8492 int LA42_0 = input.LA(1);
8493 EObject current = null; 8493
8494 8494 if ( (LA42_0==RULE_INT) ) {
8495 Token otherlv_1=null; 8495 int LA42_1 = input.LA(2);
8496 8496
8497 8497 if ( (LA42_1==EOF||(LA42_1>=19 && LA42_1<=20)) ) {
8498 enterRule(); 8498 alt42=1;
8499 8499 }
8500 try { 8500 else if ( (LA42_1==43) ) {
8501 // InternalApplicationConfiguration.g:3102:2: ( ( () otherlv_1= 'int' ) ) 8501 alt42=2;
8502 // InternalApplicationConfiguration.g:3103:2: ( () otherlv_1= 'int' ) 8502 }
8503 { 8503 else {
8504 // InternalApplicationConfiguration.g:3103:2: ( () otherlv_1= 'int' ) 8504 NoViableAltException nvae =
8505 // InternalApplicationConfiguration.g:3104:3: () otherlv_1= 'int' 8505 new NoViableAltException("", 42, 1, input);
8506 { 8506
8507 // InternalApplicationConfiguration.g:3104:3: () 8507 throw nvae;
8508 // InternalApplicationConfiguration.g:3105:4: 8508 }
8509 { 8509 }
8510 8510 else if ( (LA42_0==42) ) {
8511 current = forceCreateModelElement( 8511 alt42=1;
8512 grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(), 8512 }
8513 current); 8513 else {
8514 8514 NoViableAltException nvae =
8515 8515 new NoViableAltException("", 42, 0, input);
8516 } 8516
8517 8517 throw nvae;
8518 otherlv_1=(Token)match(input,37,FOLLOW_2); 8518 }
8519 8519 switch (alt42) {
8520 newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); 8520 case 1 :
8521 8521 // InternalApplicationConfiguration.g:3103:4: ( (lv_number_4_0= ruleExactNumber ) )
8522 8522 {
8523 } 8523 // InternalApplicationConfiguration.g:3103:4: ( (lv_number_4_0= ruleExactNumber ) )
8524 8524 // InternalApplicationConfiguration.g:3104:5: (lv_number_4_0= ruleExactNumber )
8525 8525 {
8526 } 8526 // InternalApplicationConfiguration.g:3104:5: (lv_number_4_0= ruleExactNumber )
8527 8527 // InternalApplicationConfiguration.g:3105:6: lv_number_4_0= ruleExactNumber
8528 8528 {
8529 leaveRule(); 8529
8530 8530 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
8531 } 8531
8532 8532 pushFollow(FOLLOW_2);
8533 catch (RecognitionException re) { 8533 lv_number_4_0=ruleExactNumber();
8534 recover(input,re); 8534
8535 appendSkippedTokens(); 8535 state._fsp--;
8536 } 8536
8537 finally { 8537
8538 } 8538 if (current==null) {
8539 return current; 8539 current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule());
8540 } 8540 }
8541 // $ANTLR end "ruleIntegerReference" 8541 set(
8542 8542 current,
8543 8543 "number",
8544 // $ANTLR start "entryRuleRealReference" 8544 lv_number_4_0,
8545 // InternalApplicationConfiguration.g:3119:1: entryRuleRealReference returns [EObject current=null] : iv_ruleRealReference= ruleRealReference EOF ; 8545 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
8546 public final EObject entryRuleRealReference() throws RecognitionException { 8546 afterParserOrEnumRuleCall();
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
8555 { 8555 }
8556 newCompositeNode(grammarAccess.getRealReferenceRule()); 8556 break;
8557 pushFollow(FOLLOW_1); 8557 case 2 :
8558 iv_ruleRealReference=ruleRealReference(); 8558 // InternalApplicationConfiguration.g:3123:4: ( (lv_number_5_0= ruleIntervallNumber ) )
8559 8559 {
8560 state._fsp--; 8560 // InternalApplicationConfiguration.g:3123:4: ( (lv_number_5_0= ruleIntervallNumber ) )
8561 8561 // InternalApplicationConfiguration.g:3124:5: (lv_number_5_0= ruleIntervallNumber )
8562 current =iv_ruleRealReference; 8562 {
8563 match(input,EOF,FOLLOW_2); 8563 // InternalApplicationConfiguration.g:3124:5: (lv_number_5_0= ruleIntervallNumber )
8564 8564 // InternalApplicationConfiguration.g:3125:6: lv_number_5_0= ruleIntervallNumber
8565 } 8565 {
8566 8566
8567 } 8567 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
8568 8568
8569 catch (RecognitionException re) { 8569 pushFollow(FOLLOW_2);
8570 recover(input,re); 8570 lv_number_5_0=ruleIntervallNumber();
8571 appendSkippedTokens(); 8571
8572 } 8572 state._fsp--;
8573 finally { 8573
8574 } 8574
8575 return current; 8575 if (current==null) {
8576 } 8576 current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule());
8577 // $ANTLR end "entryRuleRealReference" 8577 }
8578 8578 set(
8579 8579 current,
8580 // $ANTLR start "ruleRealReference" 8580 "number",
8581 // InternalApplicationConfiguration.g:3126:1: ruleRealReference returns [EObject current=null] : ( () otherlv_1= 'real' ) ; 8581 lv_number_5_0,
8582 public final EObject ruleRealReference() throws RecognitionException { 8582 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
8583 EObject current = null; 8583 afterParserOrEnumRuleCall();
8584 8584
8585 Token otherlv_1=null; 8585
8586 8586 }
8587 8587
8588 enterRule(); 8588
8589 8589 }
8590 try { 8590
8591 // InternalApplicationConfiguration.g:3132:2: ( ( () otherlv_1= 'real' ) ) 8591
8592 // InternalApplicationConfiguration.g:3133:2: ( () otherlv_1= 'real' ) 8592 }
8593 { 8593 break;
8594 // InternalApplicationConfiguration.g:3133:2: ( () otherlv_1= 'real' ) 8594
8595 // InternalApplicationConfiguration.g:3134:3: () otherlv_1= 'real' 8595 }
8596 { 8596
8597 // InternalApplicationConfiguration.g:3134:3: () 8597
8598 // InternalApplicationConfiguration.g:3135:4: 8598 }
8599 { 8599
8600 8600
8601 current = forceCreateModelElement( 8601 }
8602 grammarAccess.getRealReferenceAccess().getRealScopeAction_0(), 8602
8603 current); 8603
8604 8604 leaveRule();
8605 8605
8606 } 8606 }
8607 8607
8608 otherlv_1=(Token)match(input,38,FOLLOW_2); 8608 catch (RecognitionException re) {
8609 8609 recover(input,re);
8610 newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1()); 8610 appendSkippedTokens();
8611 8611 }
8612 8612 finally {
8613 } 8613 }
8614 8614 return current;
8615 8615 }
8616 } 8616 // $ANTLR end "ruleObjectTypeScope"
8617 8617
8618 8618
8619 leaveRule(); 8619 // $ANTLR start "entryRuleIntegerTypeScope"
8620 8620 // InternalApplicationConfiguration.g:3147:1: entryRuleIntegerTypeScope returns [EObject current=null] : iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF ;
8621 } 8621 public final EObject entryRuleIntegerTypeScope() throws RecognitionException {
8622 8622 EObject current = null;
8623 catch (RecognitionException re) { 8623
8624 recover(input,re); 8624 EObject iv_ruleIntegerTypeScope = null;
8625 appendSkippedTokens(); 8625
8626 } 8626
8627 finally { 8627 try {
8628 } 8628 // InternalApplicationConfiguration.g:3147:57: (iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF )
8629 return current; 8629 // InternalApplicationConfiguration.g:3148:2: iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF
8630 } 8630 {
8631 // $ANTLR end "ruleRealReference" 8631 newCompositeNode(grammarAccess.getIntegerTypeScopeRule());
8632 8632 pushFollow(FOLLOW_1);
8633 8633 iv_ruleIntegerTypeScope=ruleIntegerTypeScope();
8634 // $ANTLR start "entryRuleStringReference" 8634
8635 // InternalApplicationConfiguration.g:3149:1: entryRuleStringReference returns [EObject current=null] : iv_ruleStringReference= ruleStringReference EOF ; 8635 state._fsp--;
8636 public final EObject entryRuleStringReference() throws RecognitionException { 8636
8637 EObject current = null; 8637 current =iv_ruleIntegerTypeScope;
8638 8638 match(input,EOF,FOLLOW_2);
8639 EObject iv_ruleStringReference = null; 8639
8640 8640 }
8641 8641
8642 try { 8642 }
8643 // InternalApplicationConfiguration.g:3149:56: (iv_ruleStringReference= ruleStringReference EOF ) 8643
8644 // InternalApplicationConfiguration.g:3150:2: iv_ruleStringReference= ruleStringReference EOF 8644 catch (RecognitionException re) {
8645 { 8645 recover(input,re);
8646 newCompositeNode(grammarAccess.getStringReferenceRule()); 8646 appendSkippedTokens();
8647 pushFollow(FOLLOW_1); 8647 }
8648 iv_ruleStringReference=ruleStringReference(); 8648 finally {
8649 8649 }
8650 state._fsp--; 8650 return current;
8651 8651 }
8652 current =iv_ruleStringReference; 8652 // $ANTLR end "entryRuleIntegerTypeScope"
8653 match(input,EOF,FOLLOW_2); 8653
8654 8654
8655 } 8655 // $ANTLR start "ruleIntegerTypeScope"
8656 8656 // InternalApplicationConfiguration.g:3154: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 ) ) ) ) ;
8657 } 8657 public final EObject ruleIntegerTypeScope() throws RecognitionException {
8658 8658 EObject current = null;
8659 catch (RecognitionException re) { 8659
8660 recover(input,re); 8660 Token otherlv_0=null;
8661 appendSkippedTokens(); 8661 Token lv_setsNew_2_0=null;
8662 } 8662 Token lv_setsSum_3_0=null;
8663 finally { 8663 EObject lv_type_1_0 = null;
8664 } 8664
8665 return current; 8665 EObject lv_number_4_0 = null;
8666 } 8666
8667 // $ANTLR end "entryRuleStringReference" 8667 EObject lv_number_5_0 = null;
8668 8668
8669 8669 EObject lv_number_6_0 = null;
8670 // $ANTLR start "ruleStringReference" 8670
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 enterRule();
8674 8674
8675 Token otherlv_1=null; 8675 try {
8676 8676 // InternalApplicationConfiguration.g:3160: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 ) ) ) ) )
8677 8677 // InternalApplicationConfiguration.g:3161: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 ) ) ) )
8678 enterRule(); 8678 {
8679 8679 // InternalApplicationConfiguration.g:3161: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 ) ) ) )
8680 try { 8680 // InternalApplicationConfiguration.g:3162: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 ) ) )
8681 // InternalApplicationConfiguration.g:3162:2: ( ( () otherlv_1= 'string' ) ) 8681 {
8682 // InternalApplicationConfiguration.g:3163:2: ( () otherlv_1= 'string' ) 8682 otherlv_0=(Token)match(input,34,FOLLOW_33);
8683 { 8683
8684 // InternalApplicationConfiguration.g:3163:2: ( () otherlv_1= 'string' ) 8684 newLeafNode(otherlv_0, grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0());
8685 // InternalApplicationConfiguration.g:3164:3: () otherlv_1= 'string' 8685
8686 { 8686 // InternalApplicationConfiguration.g:3166:3: ( (lv_type_1_0= ruleIntegerReference ) )
8687 // InternalApplicationConfiguration.g:3164:3: () 8687 // InternalApplicationConfiguration.g:3167:4: (lv_type_1_0= ruleIntegerReference )
8688 // InternalApplicationConfiguration.g:3165:4: 8688 {
8689 { 8689 // InternalApplicationConfiguration.g:3167:4: (lv_type_1_0= ruleIntegerReference )
8690 8690 // InternalApplicationConfiguration.g:3168:5: lv_type_1_0= ruleIntegerReference
8691 current = forceCreateModelElement( 8691 {
8692 grammarAccess.getStringReferenceAccess().getStringScopeAction_0(), 8692
8693 current); 8693 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0());
8694 8694
8695 8695 pushFollow(FOLLOW_30);
8696 } 8696 lv_type_1_0=ruleIntegerReference();
8697 8697
8698 otherlv_1=(Token)match(input,39,FOLLOW_2); 8698 state._fsp--;
8699 8699
8700 newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1()); 8700
8701 8701 if (current==null) {
8702 8702 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule());
8703 } 8703 }
8704 8704 set(
8705 8705 current,
8706 } 8706 "type",
8707 8707 lv_type_1_0,
8708 8708 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerReference");
8709 leaveRule(); 8709 afterParserOrEnumRuleCall();
8710 8710
8711 } 8711
8712 8712 }
8713 catch (RecognitionException re) { 8713
8714 recover(input,re); 8714
8715 appendSkippedTokens(); 8715 }
8716 } 8716
8717 finally { 8717 // InternalApplicationConfiguration.g:3185:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) )
8718 } 8718 int alt43=2;
8719 return current; 8719 int LA43_0 = input.LA(1);
8720 } 8720
8721 // $ANTLR end "ruleStringReference" 8721 if ( (LA43_0==35) ) {
8722 8722 alt43=1;
8723 8723 }
8724 // $ANTLR start "entryRuleExactNumber" 8724 else if ( (LA43_0==17) ) {
8725 // InternalApplicationConfiguration.g:3179:1: entryRuleExactNumber returns [EObject current=null] : iv_ruleExactNumber= ruleExactNumber EOF ; 8725 alt43=2;
8726 public final EObject entryRuleExactNumber() throws RecognitionException { 8726 }
8727 EObject current = null; 8727 else {
8728 8728 NoViableAltException nvae =
8729 EObject iv_ruleExactNumber = null; 8729 new NoViableAltException("", 43, 0, input);
8730 8730
8731 8731 throw nvae;
8732 try { 8732 }
8733 // InternalApplicationConfiguration.g:3179:52: (iv_ruleExactNumber= ruleExactNumber EOF ) 8733 switch (alt43) {
8734 // InternalApplicationConfiguration.g:3180:2: iv_ruleExactNumber= ruleExactNumber EOF 8734 case 1 :
8735 { 8735 // InternalApplicationConfiguration.g:3186:4: ( (lv_setsNew_2_0= '+=' ) )
8736 newCompositeNode(grammarAccess.getExactNumberRule()); 8736 {
8737 pushFollow(FOLLOW_1); 8737 // InternalApplicationConfiguration.g:3186:4: ( (lv_setsNew_2_0= '+=' ) )
8738 iv_ruleExactNumber=ruleExactNumber(); 8738 // InternalApplicationConfiguration.g:3187:5: (lv_setsNew_2_0= '+=' )
8739 8739 {
8740 state._fsp--; 8740 // InternalApplicationConfiguration.g:3187:5: (lv_setsNew_2_0= '+=' )
8741 8741 // InternalApplicationConfiguration.g:3188:6: lv_setsNew_2_0= '+='
8742 current =iv_ruleExactNumber; 8742 {
8743 match(input,EOF,FOLLOW_2); 8743 lv_setsNew_2_0=(Token)match(input,35,FOLLOW_34);
8744 8744
8745 } 8745 newLeafNode(lv_setsNew_2_0, grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
8746 8746
8747 } 8747
8748 8748 if (current==null) {
8749 catch (RecognitionException re) { 8749 current = createModelElement(grammarAccess.getIntegerTypeScopeRule());
8750 recover(input,re); 8750 }
8751 appendSkippedTokens(); 8751 setWithLastConsumed(current, "setsNew", true, "+=");
8752 } 8752
8753 finally { 8753
8754 } 8754 }
8755 return current; 8755
8756 } 8756
8757 // $ANTLR end "entryRuleExactNumber" 8757 }
8758 8758
8759 8759
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 break;
8762 public final EObject ruleExactNumber() throws RecognitionException { 8762 case 2 :
8763 EObject current = null; 8763 // InternalApplicationConfiguration.g:3201:4: ( (lv_setsSum_3_0= '=' ) )
8764 8764 {
8765 Token lv_exactNumber_0_0=null; 8765 // InternalApplicationConfiguration.g:3201:4: ( (lv_setsSum_3_0= '=' ) )
8766 Token lv_exactUnlimited_1_0=null; 8766 // InternalApplicationConfiguration.g:3202:5: (lv_setsSum_3_0= '=' )
8767 8767 {
8768 8768 // InternalApplicationConfiguration.g:3202:5: (lv_setsSum_3_0= '=' )
8769 enterRule(); 8769 // InternalApplicationConfiguration.g:3203:6: lv_setsSum_3_0= '='
8770 8770 {
8771 try { 8771 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_34);
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 newLeafNode(lv_setsSum_3_0, grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
8774 { 8774
8775 // InternalApplicationConfiguration.g:3193:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) 8775
8776 int alt45=2; 8776 if (current==null) {
8777 int LA45_0 = input.LA(1); 8777 current = createModelElement(grammarAccess.getIntegerTypeScopeRule());
8778 8778 }
8779 if ( (LA45_0==RULE_INT) ) { 8779 setWithLastConsumed(current, "setsSum", true, "=");
8780 alt45=1; 8780
8781 } 8781
8782 else if ( (LA45_0==40) ) { 8782 }
8783 alt45=2; 8783
8784 } 8784
8785 else { 8785 }
8786 NoViableAltException nvae = 8786
8787 new NoViableAltException("", 45, 0, input); 8787
8788 8788 }
8789 throw nvae; 8789 break;
8790 } 8790
8791 switch (alt45) { 8791 }
8792 case 1 : 8792
8793 // InternalApplicationConfiguration.g:3194:3: ( (lv_exactNumber_0_0= RULE_INT ) ) 8793 // InternalApplicationConfiguration.g:3216:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) )
8794 { 8794 int alt44=3;
8795 // InternalApplicationConfiguration.g:3194:3: ( (lv_exactNumber_0_0= RULE_INT ) ) 8795 switch ( input.LA(1) ) {
8796 // InternalApplicationConfiguration.g:3195:4: (lv_exactNumber_0_0= RULE_INT ) 8796 case RULE_INT:
8797 { 8797 {
8798 // InternalApplicationConfiguration.g:3195:4: (lv_exactNumber_0_0= RULE_INT ) 8798 int LA44_1 = input.LA(2);
8799 // InternalApplicationConfiguration.g:3196:5: lv_exactNumber_0_0= RULE_INT 8799
8800 { 8800 if ( (LA44_1==EOF||(LA44_1>=19 && LA44_1<=20)) ) {
8801 lv_exactNumber_0_0=(Token)match(input,RULE_INT,FOLLOW_2); 8801 alt44=1;
8802 8802 }
8803 newLeafNode(lv_exactNumber_0_0, grammarAccess.getExactNumberAccess().getExactNumberINTTerminalRuleCall_0_0()); 8803 else if ( (LA44_1==43) ) {
8804 8804 alt44=2;
8805 8805 }
8806 if (current==null) { 8806 else {
8807 current = createModelElement(grammarAccess.getExactNumberRule()); 8807 NoViableAltException nvae =
8808 } 8808 new NoViableAltException("", 44, 1, input);
8809 setWithLastConsumed( 8809
8810 current, 8810 throw nvae;
8811 "exactNumber", 8811 }
8812 lv_exactNumber_0_0, 8812 }
8813 "org.eclipse.xtext.common.Terminals.INT"); 8813 break;
8814 8814 case 42:
8815 8815 {
8816 } 8816 alt44=1;
8817 8817 }
8818 8818 break;
8819 } 8819 case 18:
8820 8820 {
8821 8821 alt44=3;
8822 } 8822 }
8823 break; 8823 break;
8824 case 2 : 8824 default:
8825 // InternalApplicationConfiguration.g:3213:3: ( (lv_exactUnlimited_1_0= '*' ) ) 8825 NoViableAltException nvae =
8826 { 8826 new NoViableAltException("", 44, 0, input);
8827 // InternalApplicationConfiguration.g:3213:3: ( (lv_exactUnlimited_1_0= '*' ) ) 8827
8828 // InternalApplicationConfiguration.g:3214:4: (lv_exactUnlimited_1_0= '*' ) 8828 throw nvae;
8829 { 8829 }
8830 // InternalApplicationConfiguration.g:3214:4: (lv_exactUnlimited_1_0= '*' ) 8830
8831 // InternalApplicationConfiguration.g:3215:5: lv_exactUnlimited_1_0= '*' 8831 switch (alt44) {
8832 { 8832 case 1 :
8833 lv_exactUnlimited_1_0=(Token)match(input,40,FOLLOW_2); 8833 // InternalApplicationConfiguration.g:3217:4: ( (lv_number_4_0= ruleExactNumber ) )
8834 8834 {
8835 newLeafNode(lv_exactUnlimited_1_0, grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); 8835 // InternalApplicationConfiguration.g:3217:4: ( (lv_number_4_0= ruleExactNumber ) )
8836 8836 // InternalApplicationConfiguration.g:3218:5: (lv_number_4_0= ruleExactNumber )
8837 8837 {
8838 if (current==null) { 8838 // InternalApplicationConfiguration.g:3218:5: (lv_number_4_0= ruleExactNumber )
8839 current = createModelElement(grammarAccess.getExactNumberRule()); 8839 // InternalApplicationConfiguration.g:3219:6: lv_number_4_0= ruleExactNumber
8840 } 8840 {
8841 setWithLastConsumed(current, "exactUnlimited", true, "*"); 8841
8842 8842 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
8843 8843
8844 } 8844 pushFollow(FOLLOW_2);
8845 8845 lv_number_4_0=ruleExactNumber();
8846 8846
8847 } 8847 state._fsp--;
8848 8848
8849 8849
8850 } 8850 if (current==null) {
8851 break; 8851 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule());
8852 8852 }
8853 } 8853 set(
8854 8854 current,
8855 8855 "number",
8856 } 8856 lv_number_4_0,
8857 8857 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
8858 8858 afterParserOrEnumRuleCall();
8859 leaveRule(); 8859
8860 8860
8861 } 8861 }
8862 8862
8863 catch (RecognitionException re) { 8863
8864 recover(input,re); 8864 }
8865 appendSkippedTokens(); 8865
8866 } 8866
8867 finally { 8867 }
8868 } 8868 break;
8869 return current; 8869 case 2 :
8870 } 8870 // InternalApplicationConfiguration.g:3237:4: ( (lv_number_5_0= ruleIntervallNumber ) )
8871 // $ANTLR end "ruleExactNumber" 8871 {
8872 8872 // InternalApplicationConfiguration.g:3237:4: ( (lv_number_5_0= ruleIntervallNumber ) )
8873 8873 // InternalApplicationConfiguration.g:3238:5: (lv_number_5_0= ruleIntervallNumber )
8874 // $ANTLR start "entryRuleIntervallNumber" 8874 {
8875 // InternalApplicationConfiguration.g:3231:1: entryRuleIntervallNumber returns [EObject current=null] : iv_ruleIntervallNumber= ruleIntervallNumber EOF ; 8875 // InternalApplicationConfiguration.g:3238:5: (lv_number_5_0= ruleIntervallNumber )
8876 public final EObject entryRuleIntervallNumber() throws RecognitionException { 8876 // InternalApplicationConfiguration.g:3239:6: lv_number_5_0= ruleIntervallNumber
8877 EObject current = null; 8877 {
8878 8878
8879 EObject iv_ruleIntervallNumber = null; 8879 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
8880 8880
8881 8881 pushFollow(FOLLOW_2);
8882 try { 8882 lv_number_5_0=ruleIntervallNumber();
8883 // InternalApplicationConfiguration.g:3231:56: (iv_ruleIntervallNumber= ruleIntervallNumber EOF ) 8883
8884 // InternalApplicationConfiguration.g:3232:2: iv_ruleIntervallNumber= ruleIntervallNumber EOF 8884 state._fsp--;
8885 { 8885
8886 newCompositeNode(grammarAccess.getIntervallNumberRule()); 8886
8887 pushFollow(FOLLOW_1); 8887 if (current==null) {
8888 iv_ruleIntervallNumber=ruleIntervallNumber(); 8888 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule());
8889 8889 }
8890 state._fsp--; 8890 set(
8891 8891 current,
8892 current =iv_ruleIntervallNumber; 8892 "number",
8893 match(input,EOF,FOLLOW_2); 8893 lv_number_5_0,
8894 8894 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
8895 } 8895 afterParserOrEnumRuleCall();
8896 8896
8897 } 8897
8898 8898 }
8899 catch (RecognitionException re) { 8899
8900 recover(input,re); 8900
8901 appendSkippedTokens(); 8901 }
8902 } 8902
8903 finally { 8903
8904 } 8904 }
8905 return current; 8905 break;
8906 } 8906 case 3 :
8907 // $ANTLR end "entryRuleIntervallNumber" 8907 // InternalApplicationConfiguration.g:3257:4: ( (lv_number_6_0= ruleIntEnumberation ) )
8908 8908 {
8909 8909 // InternalApplicationConfiguration.g:3257:4: ( (lv_number_6_0= ruleIntEnumberation ) )
8910 // $ANTLR start "ruleIntervallNumber" 8910 // InternalApplicationConfiguration.g:3258:5: (lv_number_6_0= ruleIntEnumberation )
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 // InternalApplicationConfiguration.g:3258:5: (lv_number_6_0= ruleIntEnumberation )
8913 EObject current = null; 8913 // InternalApplicationConfiguration.g:3259:6: lv_number_6_0= ruleIntEnumberation
8914 8914 {
8915 Token lv_min_0_0=null; 8915
8916 Token otherlv_1=null; 8916 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0());
8917 Token lv_maxNumber_2_0=null; 8917
8918 Token lv_maxUnlimited_3_0=null; 8918 pushFollow(FOLLOW_2);
8919 8919 lv_number_6_0=ruleIntEnumberation();
8920 8920
8921 enterRule(); 8921 state._fsp--;
8922 8922
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 if (current==null) {
8925 // InternalApplicationConfiguration.g:3245:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) 8925 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule());
8926 { 8926 }
8927 // InternalApplicationConfiguration.g:3245:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) 8927 set(
8928 // InternalApplicationConfiguration.g:3246:3: ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) 8928 current,
8929 { 8929 "number",
8930 // InternalApplicationConfiguration.g:3246:3: ( (lv_min_0_0= RULE_INT ) ) 8930 lv_number_6_0,
8931 // InternalApplicationConfiguration.g:3247:4: (lv_min_0_0= RULE_INT ) 8931 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntEnumberation");
8932 { 8932 afterParserOrEnumRuleCall();
8933 // InternalApplicationConfiguration.g:3247:4: (lv_min_0_0= RULE_INT ) 8933
8934 // InternalApplicationConfiguration.g:3248:5: lv_min_0_0= RULE_INT 8934
8935 { 8935 }
8936 lv_min_0_0=(Token)match(input,RULE_INT,FOLLOW_35); 8936
8937 8937
8938 newLeafNode(lv_min_0_0, grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0()); 8938 }
8939 8939
8940 8940
8941 if (current==null) { 8941 }
8942 current = createModelElement(grammarAccess.getIntervallNumberRule()); 8942 break;
8943 } 8943
8944 setWithLastConsumed( 8944 }
8945 current, 8945
8946 "min", 8946
8947 lv_min_0_0, 8947 }
8948 "org.eclipse.xtext.common.Terminals.INT"); 8948
8949 8949
8950 8950 }
8951 } 8951
8952 8952
8953 8953 leaveRule();
8954 } 8954
8955 8955 }
8956 otherlv_1=(Token)match(input,41,FOLLOW_28); 8956
8957 8957 catch (RecognitionException re) {
8958 newLeafNode(otherlv_1, grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); 8958 recover(input,re);
8959 8959 appendSkippedTokens();
8960 // InternalApplicationConfiguration.g:3268:3: ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) 8960 }
8961 int alt46=2; 8961 finally {
8962 int LA46_0 = input.LA(1); 8962 }
8963 8963 return current;
8964 if ( (LA46_0==RULE_INT) ) { 8964 }
8965 alt46=1; 8965 // $ANTLR end "ruleIntegerTypeScope"
8966 } 8966
8967 else if ( (LA46_0==40) ) { 8967
8968 alt46=2; 8968 // $ANTLR start "entryRuleRealTypeScope"
8969 } 8969 // InternalApplicationConfiguration.g:3281:1: entryRuleRealTypeScope returns [EObject current=null] : iv_ruleRealTypeScope= ruleRealTypeScope EOF ;
8970 else { 8970 public final EObject entryRuleRealTypeScope() throws RecognitionException {
8971 NoViableAltException nvae = 8971 EObject current = null;
8972 new NoViableAltException("", 46, 0, input); 8972
8973 8973 EObject iv_ruleRealTypeScope = null;
8974 throw nvae; 8974
8975 } 8975
8976 switch (alt46) { 8976 try {
8977 case 1 : 8977 // InternalApplicationConfiguration.g:3281:54: (iv_ruleRealTypeScope= ruleRealTypeScope EOF )
8978 // InternalApplicationConfiguration.g:3269:4: ( (lv_maxNumber_2_0= RULE_INT ) ) 8978 // InternalApplicationConfiguration.g:3282:2: iv_ruleRealTypeScope= ruleRealTypeScope EOF
8979 { 8979 {
8980 // InternalApplicationConfiguration.g:3269:4: ( (lv_maxNumber_2_0= RULE_INT ) ) 8980 newCompositeNode(grammarAccess.getRealTypeScopeRule());
8981 // InternalApplicationConfiguration.g:3270:5: (lv_maxNumber_2_0= RULE_INT ) 8981 pushFollow(FOLLOW_1);
8982 { 8982 iv_ruleRealTypeScope=ruleRealTypeScope();
8983 // InternalApplicationConfiguration.g:3270:5: (lv_maxNumber_2_0= RULE_INT ) 8983
8984 // InternalApplicationConfiguration.g:3271:6: lv_maxNumber_2_0= RULE_INT 8984 state._fsp--;
8985 { 8985
8986 lv_maxNumber_2_0=(Token)match(input,RULE_INT,FOLLOW_2); 8986 current =iv_ruleRealTypeScope;
8987 8987 match(input,EOF,FOLLOW_2);
8988 newLeafNode(lv_maxNumber_2_0, grammarAccess.getIntervallNumberAccess().getMaxNumberINTTerminalRuleCall_2_0_0()); 8988
8989 8989 }
8990 8990
8991 if (current==null) { 8991 }
8992 current = createModelElement(grammarAccess.getIntervallNumberRule()); 8992
8993 } 8993 catch (RecognitionException re) {
8994 setWithLastConsumed( 8994 recover(input,re);
8995 current, 8995 appendSkippedTokens();
8996 "maxNumber", 8996 }
8997 lv_maxNumber_2_0, 8997 finally {
8998 "org.eclipse.xtext.common.Terminals.INT"); 8998 }
8999 8999 return current;
9000 9000 }
9001 } 9001 // $ANTLR end "entryRuleRealTypeScope"
9002 9002
9003 9003
9004 } 9004 // $ANTLR start "ruleRealTypeScope"
9005 9005 // InternalApplicationConfiguration.g:3288: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 ) ) ) ) ;
9006 9006 public final EObject ruleRealTypeScope() throws RecognitionException {
9007 } 9007 EObject current = null;
9008 break; 9008
9009 case 2 : 9009 Token otherlv_0=null;
9010 // InternalApplicationConfiguration.g:3288:4: ( (lv_maxUnlimited_3_0= '*' ) ) 9010 Token lv_setsNew_2_0=null;
9011 { 9011 Token lv_setsSum_3_0=null;
9012 // InternalApplicationConfiguration.g:3288:4: ( (lv_maxUnlimited_3_0= '*' ) ) 9012 EObject lv_type_1_0 = null;
9013 // InternalApplicationConfiguration.g:3289:5: (lv_maxUnlimited_3_0= '*' ) 9013
9014 { 9014 EObject lv_number_4_0 = null;
9015 // InternalApplicationConfiguration.g:3289:5: (lv_maxUnlimited_3_0= '*' ) 9015
9016 // InternalApplicationConfiguration.g:3290:6: lv_maxUnlimited_3_0= '*' 9016 EObject lv_number_5_0 = null;
9017 { 9017
9018 lv_maxUnlimited_3_0=(Token)match(input,40,FOLLOW_2); 9018 EObject lv_number_6_0 = null;
9019 9019
9020 newLeafNode(lv_maxUnlimited_3_0, grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); 9020
9021 9021
9022 9022 enterRule();
9023 if (current==null) { 9023
9024 current = createModelElement(grammarAccess.getIntervallNumberRule()); 9024 try {
9025 } 9025 // InternalApplicationConfiguration.g:3294: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 ) ) ) ) )
9026 setWithLastConsumed(current, "maxUnlimited", true, "*"); 9026 // InternalApplicationConfiguration.g:3295: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 ) ) ) )
9027 9027 {
9028 9028 // InternalApplicationConfiguration.g:3295: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 ) ) ) )
9029 } 9029 // InternalApplicationConfiguration.g:3296: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 ) ) )
9030 9030 {
9031 9031 otherlv_0=(Token)match(input,34,FOLLOW_35);
9032 } 9032
9033 9033 newLeafNode(otherlv_0, grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0());
9034 9034
9035 } 9035 // InternalApplicationConfiguration.g:3300:3: ( (lv_type_1_0= ruleRealReference ) )
9036 break; 9036 // InternalApplicationConfiguration.g:3301:4: (lv_type_1_0= ruleRealReference )
9037 9037 {
9038 } 9038 // InternalApplicationConfiguration.g:3301:4: (lv_type_1_0= ruleRealReference )
9039 9039 // InternalApplicationConfiguration.g:3302:5: lv_type_1_0= ruleRealReference
9040 9040 {
9041 } 9041
9042 9042 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0());
9043 9043
9044 } 9044 pushFollow(FOLLOW_30);
9045 9045 lv_type_1_0=ruleRealReference();
9046 9046
9047 leaveRule(); 9047 state._fsp--;
9048 9048
9049 } 9049
9050 9050 if (current==null) {
9051 catch (RecognitionException re) { 9051 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule());
9052 recover(input,re); 9052 }
9053 appendSkippedTokens(); 9053 set(
9054 } 9054 current,
9055 finally { 9055 "type",
9056 } 9056 lv_type_1_0,
9057 return current; 9057 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealReference");
9058 } 9058 afterParserOrEnumRuleCall();
9059 // $ANTLR end "ruleIntervallNumber" 9059
9060 9060
9061 9061 }
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 // InternalApplicationConfiguration.g:3319:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) )
9067 EObject iv_ruleIntEnumberation = null; 9067 int alt45=2;
9068 9068 int LA45_0 = input.LA(1);
9069 9069
9070 try { 9070 if ( (LA45_0==35) ) {
9071 // InternalApplicationConfiguration.g:3307:56: (iv_ruleIntEnumberation= ruleIntEnumberation EOF ) 9071 alt45=1;
9072 // InternalApplicationConfiguration.g:3308:2: iv_ruleIntEnumberation= ruleIntEnumberation EOF 9072 }
9073 { 9073 else if ( (LA45_0==17) ) {
9074 newCompositeNode(grammarAccess.getIntEnumberationRule()); 9074 alt45=2;
9075 pushFollow(FOLLOW_1); 9075 }
9076 iv_ruleIntEnumberation=ruleIntEnumberation(); 9076 else {
9077 9077 NoViableAltException nvae =
9078 state._fsp--; 9078 new NoViableAltException("", 45, 0, input);
9079 9079
9080 current =iv_ruleIntEnumberation; 9080 throw nvae;
9081 match(input,EOF,FOLLOW_2); 9081 }
9082 9082 switch (alt45) {
9083 } 9083 case 1 :
9084 9084 // InternalApplicationConfiguration.g:3320:4: ( (lv_setsNew_2_0= '+=' ) )
9085 } 9085 {
9086 9086 // InternalApplicationConfiguration.g:3320:4: ( (lv_setsNew_2_0= '+=' ) )
9087 catch (RecognitionException re) { 9087 // InternalApplicationConfiguration.g:3321:5: (lv_setsNew_2_0= '+=' )
9088 recover(input,re); 9088 {
9089 appendSkippedTokens(); 9089 // InternalApplicationConfiguration.g:3321:5: (lv_setsNew_2_0= '+=' )
9090 } 9090 // InternalApplicationConfiguration.g:3322:6: lv_setsNew_2_0= '+='
9091 finally { 9091 {
9092 } 9092 lv_setsNew_2_0=(Token)match(input,35,FOLLOW_34);
9093 return current; 9093
9094 } 9094 newLeafNode(lv_setsNew_2_0, grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
9095 // $ANTLR end "entryRuleIntEnumberation" 9095
9096 9096
9097 9097 if (current==null) {
9098 // $ANTLR start "ruleIntEnumberation" 9098 current = createModelElement(grammarAccess.getRealTypeScopeRule());
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 }
9100 public final EObject ruleIntEnumberation() throws RecognitionException { 9100 setWithLastConsumed(current, "setsNew", true, "+=");
9101 EObject current = null; 9101
9102 9102
9103 Token otherlv_1=null; 9103 }
9104 Token otherlv_3=null; 9104
9105 Token otherlv_5=null; 9105
9106 AntlrDatatypeRuleToken lv_entry_2_0 = null; 9106 }
9107 9107
9108 AntlrDatatypeRuleToken lv_entry_4_0 = null; 9108
9109 9109 }
9110 9110 break;
9111 9111 case 2 :
9112 enterRule(); 9112 // InternalApplicationConfiguration.g:3335:4: ( (lv_setsSum_3_0= '=' ) )
9113 9113 {
9114 try { 9114 // InternalApplicationConfiguration.g:3335:4: ( (lv_setsSum_3_0= '=' ) )
9115 // InternalApplicationConfiguration.g:3320:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) ) 9115 // InternalApplicationConfiguration.g:3336:5: (lv_setsSum_3_0= '=' )
9116 // InternalApplicationConfiguration.g:3321:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) 9116 {
9117 { 9117 // InternalApplicationConfiguration.g:3336:5: (lv_setsSum_3_0= '=' )
9118 // InternalApplicationConfiguration.g:3321:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) 9118 // InternalApplicationConfiguration.g:3337:6: lv_setsSum_3_0= '='
9119 // InternalApplicationConfiguration.g:3322:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' 9119 {
9120 { 9120 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_34);
9121 // InternalApplicationConfiguration.g:3322:3: () 9121
9122 // InternalApplicationConfiguration.g:3323:4: 9122 newLeafNode(lv_setsSum_3_0, grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
9123 { 9123
9124 9124
9125 current = forceCreateModelElement( 9125 if (current==null) {
9126 grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0(), 9126 current = createModelElement(grammarAccess.getRealTypeScopeRule());
9127 current); 9127 }
9128 9128 setWithLastConsumed(current, "setsSum", true, "=");
9129 9129
9130 } 9130
9131 9131 }
9132 otherlv_1=(Token)match(input,18,FOLLOW_36); 9132
9133 9133
9134 newLeafNode(otherlv_1, grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1()); 9134 }
9135 9135
9136 // InternalApplicationConfiguration.g:3333:3: ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? 9136
9137 int alt48=2; 9137 }
9138 int LA48_0 = input.LA(1); 9138 break;
9139 9139
9140 if ( (LA48_0==RULE_INT||LA48_0==12) ) { 9140 }
9141 alt48=1; 9141
9142 } 9142 // InternalApplicationConfiguration.g:3350:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) )
9143 switch (alt48) { 9143 int alt46=3;
9144 case 1 : 9144 switch ( input.LA(1) ) {
9145 // InternalApplicationConfiguration.g:3334:4: ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* 9145 case RULE_INT:
9146 { 9146 {
9147 // InternalApplicationConfiguration.g:3334:4: ( (lv_entry_2_0= ruleINTLiteral ) ) 9147 int LA46_1 = input.LA(2);
9148 // InternalApplicationConfiguration.g:3335:5: (lv_entry_2_0= ruleINTLiteral ) 9148
9149 { 9149 if ( (LA46_1==43) ) {
9150 // InternalApplicationConfiguration.g:3335:5: (lv_entry_2_0= ruleINTLiteral ) 9150 alt46=2;
9151 // InternalApplicationConfiguration.g:3336:6: lv_entry_2_0= ruleINTLiteral 9151 }
9152 { 9152 else if ( (LA46_1==EOF||(LA46_1>=19 && LA46_1<=20)) ) {
9153 9153 alt46=1;
9154 newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0()); 9154 }
9155 9155 else {
9156 pushFollow(FOLLOW_14); 9156 NoViableAltException nvae =
9157 lv_entry_2_0=ruleINTLiteral(); 9157 new NoViableAltException("", 46, 1, input);
9158 9158
9159 state._fsp--; 9159 throw nvae;
9160 9160 }
9161 9161 }
9162 if (current==null) { 9162 break;
9163 current = createModelElementForParent(grammarAccess.getIntEnumberationRule()); 9163 case 42:
9164 } 9164 {
9165 add( 9165 alt46=1;
9166 current, 9166 }
9167 "entry", 9167 break;
9168 lv_entry_2_0, 9168 case 18:
9169 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); 9169 {
9170 afterParserOrEnumRuleCall(); 9170 alt46=3;
9171 9171 }
9172 9172 break;
9173 } 9173 default:
9174 9174 NoViableAltException nvae =
9175 9175 new NoViableAltException("", 46, 0, input);
9176 } 9176
9177 9177 throw nvae;
9178 // InternalApplicationConfiguration.g:3353:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* 9178 }
9179 loop47: 9179
9180 do { 9180 switch (alt46) {
9181 int alt47=2; 9181 case 1 :
9182 int LA47_0 = input.LA(1); 9182 // InternalApplicationConfiguration.g:3351:4: ( (lv_number_4_0= ruleExactNumber ) )
9183 9183 {
9184 if ( (LA47_0==19) ) { 9184 // InternalApplicationConfiguration.g:3351:4: ( (lv_number_4_0= ruleExactNumber ) )
9185 alt47=1; 9185 // InternalApplicationConfiguration.g:3352:5: (lv_number_4_0= ruleExactNumber )
9186 } 9186 {
9187 9187 // InternalApplicationConfiguration.g:3352:5: (lv_number_4_0= ruleExactNumber )
9188 9188 // InternalApplicationConfiguration.g:3353:6: lv_number_4_0= ruleExactNumber
9189 switch (alt47) { 9189 {
9190 case 1 : 9190
9191 // InternalApplicationConfiguration.g:3354:5: otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) 9191 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
9192 { 9192
9193 otherlv_3=(Token)match(input,19,FOLLOW_37); 9193 pushFollow(FOLLOW_2);
9194 9194 lv_number_4_0=ruleExactNumber();
9195 newLeafNode(otherlv_3, grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0()); 9195
9196 9196 state._fsp--;
9197 // InternalApplicationConfiguration.g:3358:5: ( (lv_entry_4_0= ruleINTLiteral ) ) 9197
9198 // InternalApplicationConfiguration.g:3359:6: (lv_entry_4_0= ruleINTLiteral ) 9198
9199 { 9199 if (current==null) {
9200 // InternalApplicationConfiguration.g:3359:6: (lv_entry_4_0= ruleINTLiteral ) 9200 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule());
9201 // InternalApplicationConfiguration.g:3360:7: lv_entry_4_0= ruleINTLiteral 9201 }
9202 { 9202 set(
9203 9203 current,
9204 newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0()); 9204 "number",
9205 9205 lv_number_4_0,
9206 pushFollow(FOLLOW_14); 9206 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
9207 lv_entry_4_0=ruleINTLiteral(); 9207 afterParserOrEnumRuleCall();
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
9216 current, 9216 }
9217 "entry", 9217 break;
9218 lv_entry_4_0, 9218 case 2 :
9219 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); 9219 // InternalApplicationConfiguration.g:3371:4: ( (lv_number_5_0= ruleIntervallNumber ) )
9220 afterParserOrEnumRuleCall(); 9220 {
9221 9221 // InternalApplicationConfiguration.g:3371:4: ( (lv_number_5_0= ruleIntervallNumber ) )
9222 9222 // InternalApplicationConfiguration.g:3372:5: (lv_number_5_0= ruleIntervallNumber )
9223 } 9223 {
9224 9224 // InternalApplicationConfiguration.g:3372:5: (lv_number_5_0= ruleIntervallNumber )
9225 9225 // InternalApplicationConfiguration.g:3373:6: lv_number_5_0= ruleIntervallNumber
9226 } 9226 {
9227 9227
9228 9228 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
9229 } 9229
9230 break; 9230 pushFollow(FOLLOW_2);
9231 9231 lv_number_5_0=ruleIntervallNumber();
9232 default : 9232
9233 break loop47; 9233 state._fsp--;
9234 } 9234
9235 } while (true); 9235
9236 9236 if (current==null) {
9237 9237 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule());
9238 } 9238 }
9239 break; 9239 set(
9240 9240 current,
9241 } 9241 "number",
9242 9242 lv_number_5_0,
9243 otherlv_5=(Token)match(input,20,FOLLOW_2); 9243 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
9244 9244 afterParserOrEnumRuleCall();
9245 newLeafNode(otherlv_5, grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3()); 9245
9246 9246
9247 9247 }
9248 } 9248
9249 9249
9250 9250 }
9251 } 9251
9252 9252
9253 9253 }
9254 leaveRule(); 9254 break;
9255 9255 case 3 :
9256 } 9256 // InternalApplicationConfiguration.g:3391:4: ( (lv_number_6_0= ruleRealEnumeration ) )
9257 9257 {
9258 catch (RecognitionException re) { 9258 // InternalApplicationConfiguration.g:3391:4: ( (lv_number_6_0= ruleRealEnumeration ) )
9259 recover(input,re); 9259 // InternalApplicationConfiguration.g:3392:5: (lv_number_6_0= ruleRealEnumeration )
9260 appendSkippedTokens(); 9260 {
9261 } 9261 // InternalApplicationConfiguration.g:3392:5: (lv_number_6_0= ruleRealEnumeration )
9262 finally { 9262 // InternalApplicationConfiguration.g:3393:6: lv_number_6_0= ruleRealEnumeration
9263 } 9263 {
9264 return current; 9264
9265 } 9265 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0());
9266 // $ANTLR end "ruleIntEnumberation" 9266
9267 9267 pushFollow(FOLLOW_2);
9268 9268 lv_number_6_0=ruleRealEnumeration();
9269 // $ANTLR start "entryRuleRealEnumeration" 9269
9270 // InternalApplicationConfiguration.g:3387:1: entryRuleRealEnumeration returns [EObject current=null] : iv_ruleRealEnumeration= ruleRealEnumeration EOF ; 9270 state._fsp--;
9271 public final EObject entryRuleRealEnumeration() throws RecognitionException { 9271
9272 EObject current = null; 9272
9273 9273 if (current==null) {
9274 EObject iv_ruleRealEnumeration = null; 9274 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule());
9275 9275 }
9276 9276 set(
9277 try { 9277 current,
9278 // InternalApplicationConfiguration.g:3387:56: (iv_ruleRealEnumeration= ruleRealEnumeration EOF ) 9278 "number",
9279 // InternalApplicationConfiguration.g:3388:2: iv_ruleRealEnumeration= ruleRealEnumeration EOF 9279 lv_number_6_0,
9280 { 9280 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealEnumeration");
9281 newCompositeNode(grammarAccess.getRealEnumerationRule()); 9281 afterParserOrEnumRuleCall();
9282 pushFollow(FOLLOW_1); 9282
9283 iv_ruleRealEnumeration=ruleRealEnumeration(); 9283
9284 9284 }
9285 state._fsp--; 9285
9286 9286
9287 current =iv_ruleRealEnumeration; 9287 }
9288 match(input,EOF,FOLLOW_2); 9288
9289 9289
9290 } 9290 }
9291 9291 break;
9292 } 9292
9293 9293 }
9294 catch (RecognitionException re) { 9294
9295 recover(input,re); 9295
9296 appendSkippedTokens(); 9296 }
9297 } 9297
9298 finally { 9298
9299 } 9299 }
9300 return current; 9300
9301 } 9301
9302 // $ANTLR end "entryRuleRealEnumeration" 9302 leaveRule();
9303 9303
9304 9304 }
9305 // $ANTLR start "ruleRealEnumeration" 9305
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 catch (RecognitionException re) {
9307 public final EObject ruleRealEnumeration() throws RecognitionException { 9307 recover(input,re);
9308 EObject current = null; 9308 appendSkippedTokens();
9309 9309 }
9310 Token otherlv_1=null; 9310 finally {
9311 Token otherlv_3=null; 9311 }
9312 Token otherlv_5=null; 9312 return current;
9313 AntlrDatatypeRuleToken lv_entry_2_0 = null; 9313 }
9314 9314 // $ANTLR end "ruleRealTypeScope"
9315 AntlrDatatypeRuleToken lv_entry_4_0 = null; 9315
9316 9316
9317 9317 // $ANTLR start "entryRuleStringTypeScope"
9318 9318 // InternalApplicationConfiguration.g:3415:1: entryRuleStringTypeScope returns [EObject current=null] : iv_ruleStringTypeScope= ruleStringTypeScope EOF ;
9319 enterRule(); 9319 public final EObject entryRuleStringTypeScope() throws RecognitionException {
9320 9320 EObject current = null;
9321 try { 9321
9322 // InternalApplicationConfiguration.g:3400:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) ) 9322 EObject iv_ruleStringTypeScope = 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
9325 // InternalApplicationConfiguration.g:3401:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) 9325 try {
9326 // InternalApplicationConfiguration.g:3402:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' 9326 // InternalApplicationConfiguration.g:3415:56: (iv_ruleStringTypeScope= ruleStringTypeScope EOF )
9327 { 9327 // InternalApplicationConfiguration.g:3416:2: iv_ruleStringTypeScope= ruleStringTypeScope EOF
9328 // InternalApplicationConfiguration.g:3402:3: () 9328 {
9329 // InternalApplicationConfiguration.g:3403:4: 9329 newCompositeNode(grammarAccess.getStringTypeScopeRule());
9330 { 9330 pushFollow(FOLLOW_1);
9331 9331 iv_ruleStringTypeScope=ruleStringTypeScope();
9332 current = forceCreateModelElement( 9332
9333 grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0(), 9333 state._fsp--;
9334 current); 9334
9335 9335 current =iv_ruleStringTypeScope;
9336 9336 match(input,EOF,FOLLOW_2);
9337 } 9337
9338 9338 }
9339 otherlv_1=(Token)match(input,18,FOLLOW_36); 9339
9340 9340 }
9341 newLeafNode(otherlv_1, grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1()); 9341
9342 9342 catch (RecognitionException re) {
9343 // InternalApplicationConfiguration.g:3413:3: ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? 9343 recover(input,re);
9344 int alt50=2; 9344 appendSkippedTokens();
9345 int LA50_0 = input.LA(1); 9345 }
9346 9346 finally {
9347 if ( (LA50_0==RULE_INT||LA50_0==12) ) { 9347 }
9348 alt50=1; 9348 return current;
9349 } 9349 }
9350 switch (alt50) { 9350 // $ANTLR end "entryRuleStringTypeScope"
9351 case 1 : 9351
9352 // InternalApplicationConfiguration.g:3414:4: ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* 9352
9353 { 9353 // $ANTLR start "ruleStringTypeScope"
9354 // InternalApplicationConfiguration.g:3414:4: ( (lv_entry_2_0= ruleREALLiteral ) ) 9354 // InternalApplicationConfiguration.g:3422: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 ) ) ) ) ;
9355 // InternalApplicationConfiguration.g:3415:5: (lv_entry_2_0= ruleREALLiteral ) 9355 public final EObject ruleStringTypeScope() throws RecognitionException {
9356 { 9356 EObject current = null;
9357 // InternalApplicationConfiguration.g:3415:5: (lv_entry_2_0= ruleREALLiteral ) 9357
9358 // InternalApplicationConfiguration.g:3416:6: lv_entry_2_0= ruleREALLiteral 9358 Token otherlv_0=null;
9359 { 9359 Token lv_setsNew_2_0=null;
9360 9360 Token lv_setsSum_3_0=null;
9361 newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0()); 9361 EObject lv_type_1_0 = null;
9362 9362
9363 pushFollow(FOLLOW_14); 9363 EObject lv_number_4_0 = null;
9364 lv_entry_2_0=ruleREALLiteral(); 9364
9365 9365 EObject lv_number_5_0 = null;
9366 state._fsp--; 9366
9367 9367 EObject lv_number_6_0 = null;
9368 9368
9369 if (current==null) { 9369
9370 current = createModelElementForParent(grammarAccess.getRealEnumerationRule()); 9370
9371 } 9371 enterRule();
9372 add( 9372
9373 current, 9373 try {
9374 "entry", 9374 // InternalApplicationConfiguration.g:3428: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 ) ) ) ) )
9375 lv_entry_2_0, 9375 // InternalApplicationConfiguration.g:3429: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 ) ) ) )
9376 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); 9376 {
9377 afterParserOrEnumRuleCall(); 9377 // InternalApplicationConfiguration.g:3429: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 ) ) ) )
9378 9378 // InternalApplicationConfiguration.g:3430: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 ) ) )
9379 9379 {
9380 } 9380 otherlv_0=(Token)match(input,34,FOLLOW_36);
9381 9381
9382 9382 newLeafNode(otherlv_0, grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0());
9383 } 9383
9384 9384 // InternalApplicationConfiguration.g:3434:3: ( (lv_type_1_0= ruleStringReference ) )
9385 // InternalApplicationConfiguration.g:3433:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* 9385 // InternalApplicationConfiguration.g:3435:4: (lv_type_1_0= ruleStringReference )
9386 loop49: 9386 {
9387 do { 9387 // InternalApplicationConfiguration.g:3435:4: (lv_type_1_0= ruleStringReference )
9388 int alt49=2; 9388 // InternalApplicationConfiguration.g:3436:5: lv_type_1_0= ruleStringReference
9389 int LA49_0 = input.LA(1); 9389 {
9390 9390
9391 if ( (LA49_0==19) ) { 9391 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0());
9392 alt49=1; 9392
9393 } 9393 pushFollow(FOLLOW_30);
9394 9394 lv_type_1_0=ruleStringReference();
9395 9395
9396 switch (alt49) { 9396 state._fsp--;
9397 case 1 : 9397
9398 // InternalApplicationConfiguration.g:3434:5: otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) 9398
9399 { 9399 if (current==null) {
9400 otherlv_3=(Token)match(input,19,FOLLOW_37); 9400 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule());
9401 9401 }
9402 newLeafNode(otherlv_3, grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0()); 9402 set(
9403 9403 current,
9404 // InternalApplicationConfiguration.g:3438:5: ( (lv_entry_4_0= ruleREALLiteral ) ) 9404 "type",
9405 // InternalApplicationConfiguration.g:3439:6: (lv_entry_4_0= ruleREALLiteral ) 9405 lv_type_1_0,
9406 { 9406 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringReference");
9407 // InternalApplicationConfiguration.g:3439:6: (lv_entry_4_0= ruleREALLiteral ) 9407 afterParserOrEnumRuleCall();
9408 // InternalApplicationConfiguration.g:3440:7: lv_entry_4_0= ruleREALLiteral 9408
9409 { 9409
9410 9410 }
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 // InternalApplicationConfiguration.g:3453:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) )
9416 state._fsp--; 9416 int alt47=2;
9417 9417 int LA47_0 = input.LA(1);
9418 9418
9419 if (current==null) { 9419 if ( (LA47_0==35) ) {
9420 current = createModelElementForParent(grammarAccess.getRealEnumerationRule()); 9420 alt47=1;
9421 } 9421 }
9422 add( 9422 else if ( (LA47_0==17) ) {
9423 current, 9423 alt47=2;
9424 "entry", 9424 }
9425 lv_entry_4_0, 9425 else {
9426 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); 9426 NoViableAltException nvae =
9427 afterParserOrEnumRuleCall(); 9427 new NoViableAltException("", 47, 0, input);
9428 9428
9429 9429 throw nvae;
9430 } 9430 }
9431 9431 switch (alt47) {
9432 9432 case 1 :
9433 } 9433 // InternalApplicationConfiguration.g:3454:4: ( (lv_setsNew_2_0= '+=' ) )
9434 9434 {
9435 9435 // InternalApplicationConfiguration.g:3454:4: ( (lv_setsNew_2_0= '+=' ) )
9436 } 9436 // InternalApplicationConfiguration.g:3455:5: (lv_setsNew_2_0= '+=' )
9437 break; 9437 {
9438 9438 // InternalApplicationConfiguration.g:3455:5: (lv_setsNew_2_0= '+=' )
9439 default : 9439 // InternalApplicationConfiguration.g:3456:6: lv_setsNew_2_0= '+='
9440 break loop49; 9440 {
9441 } 9441 lv_setsNew_2_0=(Token)match(input,35,FOLLOW_34);
9442 } while (true); 9442
9443 9443 newLeafNode(lv_setsNew_2_0, grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
9444 9444
9445 } 9445
9446 break; 9446 if (current==null) {
9447 9447 current = createModelElement(grammarAccess.getStringTypeScopeRule());
9448 } 9448 }
9449 9449 setWithLastConsumed(current, "setsNew", true, "+=");
9450 otherlv_5=(Token)match(input,20,FOLLOW_2); 9450
9451 9451
9452 newLeafNode(otherlv_5, grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3()); 9452 }
9453 9453
9454 9454
9455 } 9455 }
9456 9456
9457 9457
9458 } 9458 }
9459 9459 break;
9460 9460 case 2 :
9461 leaveRule(); 9461 // InternalApplicationConfiguration.g:3469:4: ( (lv_setsSum_3_0= '=' ) )
9462 9462 {
9463 } 9463 // InternalApplicationConfiguration.g:3469:4: ( (lv_setsSum_3_0= '=' ) )
9464 9464 // InternalApplicationConfiguration.g:3470:5: (lv_setsSum_3_0= '=' )
9465 catch (RecognitionException re) { 9465 {
9466 recover(input,re); 9466 // InternalApplicationConfiguration.g:3470:5: (lv_setsSum_3_0= '=' )
9467 appendSkippedTokens(); 9467 // InternalApplicationConfiguration.g:3471:6: lv_setsSum_3_0= '='
9468 } 9468 {
9469 finally { 9469 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_34);
9470 } 9470
9471 return current; 9471 newLeafNode(lv_setsSum_3_0, grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
9472 } 9472
9473 // $ANTLR end "ruleRealEnumeration" 9473
9474 9474 if (current==null) {
9475 9475 current = createModelElement(grammarAccess.getStringTypeScopeRule());
9476 // $ANTLR start "entryRuleStringEnumeration" 9476 }
9477 // InternalApplicationConfiguration.g:3467:1: entryRuleStringEnumeration returns [EObject current=null] : iv_ruleStringEnumeration= ruleStringEnumeration EOF ; 9477 setWithLastConsumed(current, "setsSum", true, "=");
9478 public final EObject entryRuleStringEnumeration() throws RecognitionException { 9478
9479 EObject current = null; 9479
9480 9480 }
9481 EObject iv_ruleStringEnumeration = null; 9481
9482 9482
9483 9483 }
9484 try { 9484
9485 // InternalApplicationConfiguration.g:3467:58: (iv_ruleStringEnumeration= ruleStringEnumeration EOF ) 9485
9486 // InternalApplicationConfiguration.g:3468:2: iv_ruleStringEnumeration= ruleStringEnumeration EOF 9486 }
9487 { 9487 break;
9488 newCompositeNode(grammarAccess.getStringEnumerationRule()); 9488
9489 pushFollow(FOLLOW_1); 9489 }
9490 iv_ruleStringEnumeration=ruleStringEnumeration(); 9490
9491 9491 // InternalApplicationConfiguration.g:3484:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) )
9492 state._fsp--; 9492 int alt48=3;
9493 9493 switch ( input.LA(1) ) {
9494 current =iv_ruleStringEnumeration; 9494 case RULE_INT:
9495 match(input,EOF,FOLLOW_2); 9495 {
9496 9496 int LA48_1 = input.LA(2);
9497 } 9497
9498 9498 if ( (LA48_1==EOF||(LA48_1>=19 && LA48_1<=20)) ) {
9499 } 9499 alt48=1;
9500 9500 }
9501 catch (RecognitionException re) { 9501 else if ( (LA48_1==43) ) {
9502 recover(input,re); 9502 alt48=2;
9503 appendSkippedTokens(); 9503 }
9504 } 9504 else {
9505 finally { 9505 NoViableAltException nvae =
9506 } 9506 new NoViableAltException("", 48, 1, input);
9507 return current; 9507
9508 } 9508 throw nvae;
9509 // $ANTLR end "entryRuleStringEnumeration" 9509 }
9510 9510 }
9511 9511 break;
9512 // $ANTLR start "ruleStringEnumeration" 9512 case 42:
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 {
9514 public final EObject ruleStringEnumeration() throws RecognitionException { 9514 alt48=1;
9515 EObject current = null; 9515 }
9516 9516 break;
9517 Token otherlv_1=null; 9517 case 18:
9518 Token lv_entry_2_0=null; 9518 {
9519 Token otherlv_3=null; 9519 alt48=3;
9520 Token lv_entry_4_0=null; 9520 }
9521 Token otherlv_5=null; 9521 break;
9522 9522 default:
9523 9523 NoViableAltException nvae =
9524 enterRule(); 9524 new NoViableAltException("", 48, 0, input);
9525 9525
9526 try { 9526 throw nvae;
9527 // InternalApplicationConfiguration.g:3480:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) ) 9527 }
9528 // InternalApplicationConfiguration.g:3481:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) 9528
9529 { 9529 switch (alt48) {
9530 // InternalApplicationConfiguration.g:3481:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) 9530 case 1 :
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:3485:4: ( (lv_number_4_0= ruleExactNumber ) )
9532 { 9532 {
9533 // InternalApplicationConfiguration.g:3482:3: () 9533 // InternalApplicationConfiguration.g:3485:4: ( (lv_number_4_0= ruleExactNumber ) )
9534 // InternalApplicationConfiguration.g:3483:4: 9534 // InternalApplicationConfiguration.g:3486:5: (lv_number_4_0= ruleExactNumber )
9535 { 9535 {
9536 9536 // InternalApplicationConfiguration.g:3486:5: (lv_number_4_0= ruleExactNumber )
9537 current = forceCreateModelElement( 9537 // InternalApplicationConfiguration.g:3487:6: lv_number_4_0= ruleExactNumber
9538 grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0(), 9538 {
9539 current); 9539
9540 9540 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
9541 9541
9542 } 9542 pushFollow(FOLLOW_2);
9543 9543 lv_number_4_0=ruleExactNumber();
9544 otherlv_1=(Token)match(input,18,FOLLOW_38); 9544
9545 9545 state._fsp--;
9546 newLeafNode(otherlv_1, grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1()); 9546
9547 9547
9548 // InternalApplicationConfiguration.g:3493:3: ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? 9548 if (current==null) {
9549 int alt52=2; 9549 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule());
9550 int LA52_0 = input.LA(1); 9550 }
9551 9551 set(
9552 if ( (LA52_0==RULE_STRING) ) { 9552 current,
9553 alt52=1; 9553 "number",
9554 } 9554 lv_number_4_0,
9555 switch (alt52) { 9555 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
9556 case 1 : 9556 afterParserOrEnumRuleCall();
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
9565 lv_entry_2_0=(Token)match(input,RULE_STRING,FOLLOW_14); 9565 }
9566 9566 break;
9567 newLeafNode(lv_entry_2_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_0_0()); 9567 case 2 :
9568 9568 // InternalApplicationConfiguration.g:3505:4: ( (lv_number_5_0= ruleIntervallNumber ) )
9569 9569 {
9570 if (current==null) { 9570 // InternalApplicationConfiguration.g:3505:4: ( (lv_number_5_0= ruleIntervallNumber ) )
9571 current = createModelElement(grammarAccess.getStringEnumerationRule()); 9571 // InternalApplicationConfiguration.g:3506:5: (lv_number_5_0= ruleIntervallNumber )
9572 } 9572 {
9573 addWithLastConsumed( 9573 // InternalApplicationConfiguration.g:3506:5: (lv_number_5_0= ruleIntervallNumber )
9574 current, 9574 // InternalApplicationConfiguration.g:3507:6: lv_number_5_0= ruleIntervallNumber
9575 "entry", 9575 {
9576 lv_entry_2_0, 9576
9577 "org.eclipse.xtext.common.Terminals.STRING"); 9577 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
9578 9578
9579 9579 pushFollow(FOLLOW_2);
9580 } 9580 lv_number_5_0=ruleIntervallNumber();
9581 9581
9582 9582 state._fsp--;
9583 } 9583
9584 9584
9585 // InternalApplicationConfiguration.g:3512:4: (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* 9585 if (current==null) {
9586 loop51: 9586 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule());
9587 do { 9587 }
9588 int alt51=2; 9588 set(
9589 int LA51_0 = input.LA(1); 9589 current,
9590 9590 "number",
9591 if ( (LA51_0==19) ) { 9591 lv_number_5_0,
9592 alt51=1; 9592 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
9593 } 9593 afterParserOrEnumRuleCall();
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
9602 newLeafNode(otherlv_3, grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0()); 9602 }
9603 9603 break;
9604 // InternalApplicationConfiguration.g:3517:5: ( (lv_entry_4_0= RULE_STRING ) ) 9604 case 3 :
9605 // InternalApplicationConfiguration.g:3518:6: (lv_entry_4_0= RULE_STRING ) 9605 // InternalApplicationConfiguration.g:3525:4: ( (lv_number_6_0= ruleStringEnumeration ) )
9606 { 9606 {
9607 // InternalApplicationConfiguration.g:3518:6: (lv_entry_4_0= RULE_STRING ) 9607 // InternalApplicationConfiguration.g:3525:4: ( (lv_number_6_0= ruleStringEnumeration ) )
9608 // InternalApplicationConfiguration.g:3519:7: lv_entry_4_0= RULE_STRING 9608 // InternalApplicationConfiguration.g:3526:5: (lv_number_6_0= ruleStringEnumeration )
9609 { 9609 {
9610 lv_entry_4_0=(Token)match(input,RULE_STRING,FOLLOW_14); 9610 // InternalApplicationConfiguration.g:3526:5: (lv_number_6_0= ruleStringEnumeration )
9611 9611 // InternalApplicationConfiguration.g:3527:6: lv_number_6_0= ruleStringEnumeration
9612 newLeafNode(lv_entry_4_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_1_1_0()); 9612 {
9613 9613
9614 9614 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0());
9615 if (current==null) { 9615
9616 current = createModelElement(grammarAccess.getStringEnumerationRule()); 9616 pushFollow(FOLLOW_2);
9617 } 9617 lv_number_6_0=ruleStringEnumeration();
9618 addWithLastConsumed( 9618
9619 current, 9619 state._fsp--;
9620 "entry", 9620
9621 lv_entry_4_0, 9621
9622 "org.eclipse.xtext.common.Terminals.STRING"); 9622 if (current==null) {
9623 9623 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule());
9624 9624 }
9625 } 9625 set(
9626 9626 current,
9627 9627 "number",
9628 } 9628 lv_number_6_0,
9629 9629 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringEnumeration");
9630 9630 afterParserOrEnumRuleCall();
9631 } 9631
9632 break; 9632
9633 9633 }
9634 default : 9634
9635 break loop51; 9635
9636 } 9636 }
9637 } while (true); 9637
9638 9638
9639 9639 }
9640 } 9640 break;
9641 break; 9641
9642 9642 }
9643 } 9643
9644 9644
9645 otherlv_5=(Token)match(input,20,FOLLOW_2); 9645 }
9646 9646
9647 newLeafNode(otherlv_5, grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3()); 9647
9648 9648 }
9649 9649
9650 } 9650
9651 9651 leaveRule();
9652 9652
9653 } 9653 }
9654 9654
9655 9655 catch (RecognitionException re) {
9656 leaveRule(); 9656 recover(input,re);
9657 9657 appendSkippedTokens();
9658 } 9658 }
9659 9659 finally {
9660 catch (RecognitionException re) { 9660 }
9661 recover(input,re); 9661 return current;
9662 appendSkippedTokens(); 9662 }
9663 } 9663 // $ANTLR end "ruleStringTypeScope"
9664 finally { 9664
9665 } 9665
9666 return current; 9666 // $ANTLR start "entryRuleClassReference"
9667 } 9667 // InternalApplicationConfiguration.g:3549:1: entryRuleClassReference returns [EObject current=null] : iv_ruleClassReference= ruleClassReference EOF ;
9668 // $ANTLR end "ruleStringEnumeration" 9668 public final EObject entryRuleClassReference() throws RecognitionException {
9669 9669 EObject current = null;
9670 9670
9671 // $ANTLR start "entryRuleScopeDeclaration" 9671 EObject iv_ruleClassReference = null;
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 try {
9675 9675 // InternalApplicationConfiguration.g:3549:55: (iv_ruleClassReference= ruleClassReference EOF )
9676 EObject iv_ruleScopeDeclaration = null; 9676 // InternalApplicationConfiguration.g:3550:2: iv_ruleClassReference= ruleClassReference EOF
9677 9677 {
9678 9678 newCompositeNode(grammarAccess.getClassReferenceRule());
9679 try { 9679 pushFollow(FOLLOW_1);
9680 // InternalApplicationConfiguration.g:3545:57: (iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ) 9680 iv_ruleClassReference=ruleClassReference();
9681 // InternalApplicationConfiguration.g:3546:2: iv_ruleScopeDeclaration= ruleScopeDeclaration EOF 9681
9682 { 9682 state._fsp--;
9683 newCompositeNode(grammarAccess.getScopeDeclarationRule()); 9683
9684 pushFollow(FOLLOW_1); 9684 current =iv_ruleClassReference;
9685 iv_ruleScopeDeclaration=ruleScopeDeclaration(); 9685 match(input,EOF,FOLLOW_2);
9686 9686
9687 state._fsp--; 9687 }
9688 9688
9689 current =iv_ruleScopeDeclaration; 9689 }
9690 match(input,EOF,FOLLOW_2); 9690
9691 9691 catch (RecognitionException re) {
9692 } 9692 recover(input,re);
9693 9693 appendSkippedTokens();
9694 } 9694 }
9695 9695 finally {
9696 catch (RecognitionException re) { 9696 }
9697 recover(input,re); 9697 return current;
9698 appendSkippedTokens(); 9698 }
9699 } 9699 // $ANTLR end "entryRuleClassReference"
9700 finally { 9700
9701 } 9701
9702 return current; 9702 // $ANTLR start "ruleClassReference"
9703 } 9703 // InternalApplicationConfiguration.g:3556:1: ruleClassReference returns [EObject current=null] : (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) ;
9704 // $ANTLR end "entryRuleScopeDeclaration" 9704 public final EObject ruleClassReference() throws RecognitionException {
9705 9705 EObject current = null;
9706 9706
9707 // $ANTLR start "ruleScopeDeclaration" 9707 Token otherlv_0=null;
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 Token otherlv_2=null;
9709 public final EObject ruleScopeDeclaration() throws RecognitionException { 9709 EObject lv_element_1_0 = null;
9710 EObject current = null; 9710
9711 9711
9712 Token otherlv_0=null; 9712
9713 Token lv_name_1_0=null; 9713 enterRule();
9714 EObject lv_specification_2_0 = null; 9714
9715 9715 try {
9716 9716 // InternalApplicationConfiguration.g:3562:2: ( (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) )
9717 9717 // InternalApplicationConfiguration.g:3563:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' )
9718 enterRule(); 9718 {
9719 9719 // InternalApplicationConfiguration.g:3563:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' )
9720 try { 9720 // InternalApplicationConfiguration.g:3564:3: otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_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 otherlv_0=(Token)match(input,36,FOLLOW_6);
9723 { 9723
9724 // InternalApplicationConfiguration.g:3559:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) 9724 newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0());
9725 // InternalApplicationConfiguration.g:3560:3: otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) 9725
9726 { 9726 // InternalApplicationConfiguration.g:3568:3: ( (lv_element_1_0= ruleMetamodelElement ) )
9727 otherlv_0=(Token)match(input,42,FOLLOW_6); 9727 // InternalApplicationConfiguration.g:3569:4: (lv_element_1_0= ruleMetamodelElement )
9728 9728 {
9729 newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); 9729 // InternalApplicationConfiguration.g:3569:4: (lv_element_1_0= ruleMetamodelElement )
9730 9730 // InternalApplicationConfiguration.g:3570:5: lv_element_1_0= ruleMetamodelElement
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 newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0());
9734 // InternalApplicationConfiguration.g:3565:4: (lv_name_1_0= RULE_ID ) 9734
9735 // InternalApplicationConfiguration.g:3566:5: lv_name_1_0= RULE_ID 9735 pushFollow(FOLLOW_37);
9736 { 9736 lv_element_1_0=ruleMetamodelElement();
9737 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); 9737
9738 9738 state._fsp--;
9739 newLeafNode(lv_name_1_0, grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 9739
9740 9740
9741 9741 if (current==null) {
9742 if (current==null) { 9742 current = createModelElementForParent(grammarAccess.getClassReferenceRule());
9743 current = createModelElement(grammarAccess.getScopeDeclarationRule()); 9743 }
9744 } 9744 set(
9745 setWithLastConsumed( 9745 current,
9746 current, 9746 "element",
9747 "name", 9747 lv_element_1_0,
9748 lv_name_1_0, 9748 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement");
9749 "org.eclipse.xtext.common.Terminals.ID"); 9749 afterParserOrEnumRuleCall();
9750 9750
9751 9751
9752 } 9752 }
9753 9753
9754 9754
9755 } 9755 }
9756 9756
9757 // InternalApplicationConfiguration.g:3582:3: ( (lv_specification_2_0= ruleScopeSpecification ) ) 9757 otherlv_2=(Token)match(input,37,FOLLOW_2);
9758 // InternalApplicationConfiguration.g:3583:4: (lv_specification_2_0= ruleScopeSpecification ) 9758
9759 { 9759 newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2());
9760 // InternalApplicationConfiguration.g:3583:4: (lv_specification_2_0= ruleScopeSpecification ) 9760
9761 // InternalApplicationConfiguration.g:3584:5: lv_specification_2_0= ruleScopeSpecification 9761
9762 { 9762 }
9763 9763
9764 newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); 9764
9765 9765 }
9766 pushFollow(FOLLOW_2); 9766
9767 lv_specification_2_0=ruleScopeSpecification(); 9767
9768 9768 leaveRule();
9769 state._fsp--; 9769
9770 9770 }
9771 9771
9772 if (current==null) { 9772 catch (RecognitionException re) {
9773 current = createModelElementForParent(grammarAccess.getScopeDeclarationRule()); 9773 recover(input,re);
9774 } 9774 appendSkippedTokens();
9775 set( 9775 }
9776 current, 9776 finally {
9777 "specification", 9777 }
9778 lv_specification_2_0, 9778 return current;
9779 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification"); 9779 }
9780 afterParserOrEnumRuleCall(); 9780 // $ANTLR end "ruleClassReference"
9781 9781
9782 9782
9783 } 9783 // $ANTLR start "entryRuleObjectReference"
9784 9784 // InternalApplicationConfiguration.g:3595:1: entryRuleObjectReference returns [EObject current=null] : iv_ruleObjectReference= ruleObjectReference EOF ;
9785 9785 public final EObject entryRuleObjectReference() throws RecognitionException {
9786 } 9786 EObject current = null;
9787 9787
9788 9788 EObject iv_ruleObjectReference = null;
9789 } 9789
9790 9790
9791 9791 try {
9792 } 9792 // InternalApplicationConfiguration.g:3595:56: (iv_ruleObjectReference= ruleObjectReference EOF )
9793 9793 // InternalApplicationConfiguration.g:3596:2: iv_ruleObjectReference= ruleObjectReference EOF
9794 9794 {
9795 leaveRule(); 9795 newCompositeNode(grammarAccess.getObjectReferenceRule());
9796 9796 pushFollow(FOLLOW_1);
9797 } 9797 iv_ruleObjectReference=ruleObjectReference();
9798 9798
9799 catch (RecognitionException re) { 9799 state._fsp--;
9800 recover(input,re); 9800
9801 appendSkippedTokens(); 9801 current =iv_ruleObjectReference;
9802 } 9802 match(input,EOF,FOLLOW_2);
9803 finally { 9803
9804 } 9804 }
9805 return current; 9805
9806 } 9806 }
9807 // $ANTLR end "ruleScopeDeclaration" 9807
9808 9808 catch (RecognitionException re) {
9809 9809 recover(input,re);
9810 // $ANTLR start "entryRuleScopeReference" 9810 appendSkippedTokens();
9811 // InternalApplicationConfiguration.g:3605:1: entryRuleScopeReference returns [EObject current=null] : iv_ruleScopeReference= ruleScopeReference EOF ; 9811 }
9812 public final EObject entryRuleScopeReference() throws RecognitionException { 9812 finally {
9813 EObject current = null; 9813 }
9814 9814 return current;
9815 EObject iv_ruleScopeReference = null; 9815 }
9816 9816 // $ANTLR end "entryRuleObjectReference"
9817 9817
9818 try { 9818
9819 // InternalApplicationConfiguration.g:3605:55: (iv_ruleScopeReference= ruleScopeReference EOF ) 9819 // $ANTLR start "ruleObjectReference"
9820 // InternalApplicationConfiguration.g:3606:2: iv_ruleScopeReference= ruleScopeReference EOF 9820 // InternalApplicationConfiguration.g:3602:1: ruleObjectReference returns [EObject current=null] : ( () otherlv_1= 'node' ) ;
9821 { 9821 public final EObject ruleObjectReference() throws RecognitionException {
9822 newCompositeNode(grammarAccess.getScopeReferenceRule()); 9822 EObject current = null;
9823 pushFollow(FOLLOW_1); 9823
9824 iv_ruleScopeReference=ruleScopeReference(); 9824 Token otherlv_1=null;
9825 9825
9826 state._fsp--; 9826
9827 9827 enterRule();
9828 current =iv_ruleScopeReference; 9828
9829 match(input,EOF,FOLLOW_2); 9829 try {
9830 9830 // InternalApplicationConfiguration.g:3608:2: ( ( () otherlv_1= 'node' ) )
9831 } 9831 // InternalApplicationConfiguration.g:3609:2: ( () otherlv_1= 'node' )
9832 9832 {
9833 } 9833 // InternalApplicationConfiguration.g:3609:2: ( () otherlv_1= 'node' )
9834 9834 // InternalApplicationConfiguration.g:3610:3: () otherlv_1= 'node'
9835 catch (RecognitionException re) { 9835 {
9836 recover(input,re); 9836 // InternalApplicationConfiguration.g:3610:3: ()
9837 appendSkippedTokens(); 9837 // InternalApplicationConfiguration.g:3611:4:
9838 } 9838 {
9839 finally { 9839
9840 } 9840 current = forceCreateModelElement(
9841 return current; 9841 grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(),
9842 } 9842 current);
9843 // $ANTLR end "entryRuleScopeReference" 9843
9844 9844
9845 9845 }
9846 // $ANTLR start "ruleScopeReference" 9846
9847 // InternalApplicationConfiguration.g:3612:1: ruleScopeReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; 9847 otherlv_1=(Token)match(input,38,FOLLOW_2);
9848 public final EObject ruleScopeReference() throws RecognitionException { 9848
9849 EObject current = null; 9849 newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getNodeKeyword_1());
9850 9850
9851 Token otherlv_0=null; 9851
9852 9852 }
9853 9853
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 leaveRule();
9859 { 9859
9860 // InternalApplicationConfiguration.g:3619:2: ( (otherlv_0= RULE_ID ) ) 9860 }
9861 // InternalApplicationConfiguration.g:3620:3: (otherlv_0= RULE_ID ) 9861
9862 { 9862 catch (RecognitionException re) {
9863 // InternalApplicationConfiguration.g:3620:3: (otherlv_0= RULE_ID ) 9863 recover(input,re);
9864 // InternalApplicationConfiguration.g:3621:4: otherlv_0= RULE_ID 9864 appendSkippedTokens();
9865 { 9865 }
9866 9866 finally {
9867 if (current==null) { 9867 }
9868 current = createModelElement(grammarAccess.getScopeReferenceRule()); 9868 return current;
9869 } 9869 }
9870 9870 // $ANTLR end "ruleObjectReference"
9871 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); 9871
9872 9872
9873 newLeafNode(otherlv_0, grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); 9873 // $ANTLR start "entryRuleIntegerReference"
9874 9874 // InternalApplicationConfiguration.g:3625:1: entryRuleIntegerReference returns [EObject current=null] : iv_ruleIntegerReference= ruleIntegerReference EOF ;
9875 9875 public final EObject entryRuleIntegerReference() throws RecognitionException {
9876 } 9876 EObject current = null;
9877 9877
9878 9878 EObject iv_ruleIntegerReference = null;
9879 } 9879
9880 9880
9881 9881 try {
9882 } 9882 // InternalApplicationConfiguration.g:3625:57: (iv_ruleIntegerReference= ruleIntegerReference EOF )
9883 9883 // InternalApplicationConfiguration.g:3626:2: iv_ruleIntegerReference= ruleIntegerReference EOF
9884 9884 {
9885 leaveRule(); 9885 newCompositeNode(grammarAccess.getIntegerReferenceRule());
9886 9886 pushFollow(FOLLOW_1);
9887 } 9887 iv_ruleIntegerReference=ruleIntegerReference();
9888 9888
9889 catch (RecognitionException re) { 9889 state._fsp--;
9890 recover(input,re); 9890
9891 appendSkippedTokens(); 9891 current =iv_ruleIntegerReference;
9892 } 9892 match(input,EOF,FOLLOW_2);
9893 finally { 9893
9894 } 9894 }
9895 return current; 9895
9896 } 9896 }
9897 // $ANTLR end "ruleScopeReference" 9897
9898 9898 catch (RecognitionException re) {
9899 9899 recover(input,re);
9900 // $ANTLR start "entryRuleScope" 9900 appendSkippedTokens();
9901 // InternalApplicationConfiguration.g:3635:1: entryRuleScope returns [EObject current=null] : iv_ruleScope= ruleScope EOF ; 9901 }
9902 public final EObject entryRuleScope() throws RecognitionException { 9902 finally {
9903 EObject current = null; 9903 }
9904 9904 return current;
9905 EObject iv_ruleScope = null; 9905 }
9906 9906 // $ANTLR end "entryRuleIntegerReference"
9907 9907
9908 try { 9908
9909 // InternalApplicationConfiguration.g:3635:46: (iv_ruleScope= ruleScope EOF ) 9909 // $ANTLR start "ruleIntegerReference"
9910 // InternalApplicationConfiguration.g:3636:2: iv_ruleScope= ruleScope EOF 9910 // InternalApplicationConfiguration.g:3632:1: ruleIntegerReference returns [EObject current=null] : ( () otherlv_1= 'int' ) ;
9911 { 9911 public final EObject ruleIntegerReference() throws RecognitionException {
9912 newCompositeNode(grammarAccess.getScopeRule()); 9912 EObject current = null;
9913 pushFollow(FOLLOW_1); 9913
9914 iv_ruleScope=ruleScope(); 9914 Token otherlv_1=null;
9915 9915
9916 state._fsp--; 9916
9917 9917 enterRule();
9918 current =iv_ruleScope; 9918
9919 match(input,EOF,FOLLOW_2); 9919 try {
9920 9920 // InternalApplicationConfiguration.g:3638:2: ( ( () otherlv_1= 'int' ) )
9921 } 9921 // InternalApplicationConfiguration.g:3639:2: ( () otherlv_1= 'int' )
9922 9922 {
9923 } 9923 // InternalApplicationConfiguration.g:3639:2: ( () otherlv_1= 'int' )
9924 9924 // InternalApplicationConfiguration.g:3640:3: () otherlv_1= 'int'
9925 catch (RecognitionException re) { 9925 {
9926 recover(input,re); 9926 // InternalApplicationConfiguration.g:3640:3: ()
9927 appendSkippedTokens(); 9927 // InternalApplicationConfiguration.g:3641:4:
9928 } 9928 {
9929 finally { 9929
9930 } 9930 current = forceCreateModelElement(
9931 return current; 9931 grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(),
9932 } 9932 current);
9933 // $ANTLR end "entryRuleScope" 9933
9934 9934
9935 9935 }
9936 // $ANTLR start "ruleScope" 9936
9937 // InternalApplicationConfiguration.g:3642:1: ruleScope returns [EObject current=null] : (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ; 9937 otherlv_1=(Token)match(input,39,FOLLOW_2);
9938 public final EObject ruleScope() throws RecognitionException { 9938
9939 EObject current = null; 9939 newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1());
9940 9940
9941 EObject this_ScopeSpecification_0 = null; 9941
9942 9942 }
9943 EObject this_ScopeReference_1 = null; 9943
9944 9944
9945 9945 }
9946 9946
9947 enterRule(); 9947
9948 9948 leaveRule();
9949 try { 9949
9950 // InternalApplicationConfiguration.g:3648:2: ( (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ) 9950 }
9951 // InternalApplicationConfiguration.g:3649:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) 9951
9952 { 9952 catch (RecognitionException re) {
9953 // InternalApplicationConfiguration.g:3649:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) 9953 recover(input,re);
9954 int alt53=2; 9954 appendSkippedTokens();
9955 int LA53_0 = input.LA(1); 9955 }
9956 9956 finally {
9957 if ( (LA53_0==18) ) { 9957 }
9958 alt53=1; 9958 return current;
9959 } 9959 }
9960 else if ( (LA53_0==RULE_ID) ) { 9960 // $ANTLR end "ruleIntegerReference"
9961 alt53=2; 9961
9962 } 9962
9963 else { 9963 // $ANTLR start "entryRuleRealReference"
9964 NoViableAltException nvae = 9964 // InternalApplicationConfiguration.g:3655:1: entryRuleRealReference returns [EObject current=null] : iv_ruleRealReference= ruleRealReference EOF ;
9965 new NoViableAltException("", 53, 0, input); 9965 public final EObject entryRuleRealReference() throws RecognitionException {
9966 9966 EObject current = null;
9967 throw nvae; 9967
9968 } 9968 EObject iv_ruleRealReference = null;
9969 switch (alt53) { 9969
9970 case 1 : 9970
9971 // InternalApplicationConfiguration.g:3650:3: this_ScopeSpecification_0= ruleScopeSpecification 9971 try {
9972 { 9972 // InternalApplicationConfiguration.g:3655:54: (iv_ruleRealReference= ruleRealReference EOF )
9973 9973 // InternalApplicationConfiguration.g:3656:2: iv_ruleRealReference= ruleRealReference EOF
9974 newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); 9974 {
9975 9975 newCompositeNode(grammarAccess.getRealReferenceRule());
9976 pushFollow(FOLLOW_2); 9976 pushFollow(FOLLOW_1);
9977 this_ScopeSpecification_0=ruleScopeSpecification(); 9977 iv_ruleRealReference=ruleRealReference();
9978 9978
9979 state._fsp--; 9979 state._fsp--;
9980 9980
9981 9981 current =iv_ruleRealReference;
9982 current = this_ScopeSpecification_0; 9982 match(input,EOF,FOLLOW_2);
9983 afterParserOrEnumRuleCall(); 9983
9984 9984 }
9985 9985
9986 } 9986 }
9987 break; 9987
9988 case 2 : 9988 catch (RecognitionException re) {
9989 // InternalApplicationConfiguration.g:3659:3: this_ScopeReference_1= ruleScopeReference 9989 recover(input,re);
9990 { 9990 appendSkippedTokens();
9991 9991 }
9992 newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); 9992 finally {
9993 9993 }
9994 pushFollow(FOLLOW_2); 9994 return current;
9995 this_ScopeReference_1=ruleScopeReference(); 9995 }
9996 9996 // $ANTLR end "entryRuleRealReference"
9997 state._fsp--; 9997
9998 9998
9999 9999 // $ANTLR start "ruleRealReference"
10000 current = this_ScopeReference_1; 10000 // InternalApplicationConfiguration.g:3662:1: ruleRealReference returns [EObject current=null] : ( () otherlv_1= 'real' ) ;
10001 afterParserOrEnumRuleCall(); 10001 public final EObject ruleRealReference() throws RecognitionException {
10002 10002 EObject current = null;
10003 10003
10004 } 10004 Token otherlv_1=null;
10005 break; 10005
10006 10006
10007 } 10007 enterRule();
10008 10008
10009 10009 try {
10010 } 10010 // InternalApplicationConfiguration.g:3668:2: ( ( () otherlv_1= 'real' ) )
10011 10011 // InternalApplicationConfiguration.g:3669:2: ( () otherlv_1= 'real' )
10012 10012 {
10013 leaveRule(); 10013 // InternalApplicationConfiguration.g:3669:2: ( () otherlv_1= 'real' )
10014 10014 // InternalApplicationConfiguration.g:3670:3: () otherlv_1= 'real'
10015 } 10015 {
10016 10016 // InternalApplicationConfiguration.g:3670:3: ()
10017 catch (RecognitionException re) { 10017 // InternalApplicationConfiguration.g:3671:4:
10018 recover(input,re); 10018 {
10019 appendSkippedTokens(); 10019
10020 } 10020 current = forceCreateModelElement(
10021 finally { 10021 grammarAccess.getRealReferenceAccess().getRealScopeAction_0(),
10022 } 10022 current);
10023 return current; 10023
10024 } 10024
10025 // $ANTLR end "ruleScope" 10025 }
10026 10026
10027 10027 otherlv_1=(Token)match(input,40,FOLLOW_2);
10028 // $ANTLR start "entryRuleTask" 10028
10029 // InternalApplicationConfiguration.g:3671:1: entryRuleTask returns [EObject current=null] : iv_ruleTask= ruleTask EOF ; 10029 newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1());
10030 public final EObject entryRuleTask() throws RecognitionException { 10030
10031 EObject current = null; 10031
10032 10032 }
10033 EObject iv_ruleTask = null; 10033
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 leaveRule();
10039 { 10039
10040 newCompositeNode(grammarAccess.getTaskRule()); 10040 }
10041 pushFollow(FOLLOW_1); 10041
10042 iv_ruleTask=ruleTask(); 10042 catch (RecognitionException re) {
10043 10043 recover(input,re);
10044 state._fsp--; 10044 appendSkippedTokens();
10045 10045 }
10046 current =iv_ruleTask; 10046 finally {
10047 match(input,EOF,FOLLOW_2); 10047 }
10048 10048 return current;
10049 } 10049 }
10050 10050 // $ANTLR end "ruleRealReference"
10051 } 10051
10052 10052
10053 catch (RecognitionException re) { 10053 // $ANTLR start "entryRuleStringReference"
10054 recover(input,re); 10054 // InternalApplicationConfiguration.g:3685:1: entryRuleStringReference returns [EObject current=null] : iv_ruleStringReference= ruleStringReference EOF ;
10055 appendSkippedTokens(); 10055 public final EObject entryRuleStringReference() throws RecognitionException {
10056 } 10056 EObject current = null;
10057 finally { 10057
10058 } 10058 EObject iv_ruleStringReference = null;
10059 return current; 10059
10060 } 10060
10061 // $ANTLR end "entryRuleTask" 10061 try {
10062 10062 // InternalApplicationConfiguration.g:3685:56: (iv_ruleStringReference= ruleStringReference EOF )
10063 10063 // InternalApplicationConfiguration.g:3686:2: iv_ruleStringReference= ruleStringReference EOF
10064 // $ANTLR start "ruleTask" 10064 {
10065 // InternalApplicationConfiguration.g:3678:1: ruleTask returns [EObject current=null] : this_GenerationTask_0= ruleGenerationTask ; 10065 newCompositeNode(grammarAccess.getStringReferenceRule());
10066 public final EObject ruleTask() throws RecognitionException { 10066 pushFollow(FOLLOW_1);
10067 EObject current = null; 10067 iv_ruleStringReference=ruleStringReference();
10068 10068
10069 EObject this_GenerationTask_0 = null; 10069 state._fsp--;
10070 10070
10071 10071 current =iv_ruleStringReference;
10072 10072 match(input,EOF,FOLLOW_2);
10073 enterRule(); 10073
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 catch (RecognitionException re) {
10079 10079 recover(input,re);
10080 newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); 10080 appendSkippedTokens();
10081 10081 }
10082 pushFollow(FOLLOW_2); 10082 finally {
10083 this_GenerationTask_0=ruleGenerationTask(); 10083 }
10084 10084 return current;
10085 state._fsp--; 10085 }
10086 10086 // $ANTLR end "entryRuleStringReference"
10087 10087
10088 current = this_GenerationTask_0; 10088
10089 afterParserOrEnumRuleCall(); 10089 // $ANTLR start "ruleStringReference"
10090 10090 // InternalApplicationConfiguration.g:3692:1: ruleStringReference returns [EObject current=null] : ( () otherlv_1= 'string' ) ;
10091 10091 public final EObject ruleStringReference() throws RecognitionException {
10092 } 10092 EObject current = null;
10093 10093
10094 10094 Token otherlv_1=null;
10095 leaveRule(); 10095
10096 10096
10097 } 10097 enterRule();
10098 10098
10099 catch (RecognitionException re) { 10099 try {
10100 recover(input,re); 10100 // InternalApplicationConfiguration.g:3698:2: ( ( () otherlv_1= 'string' ) )
10101 appendSkippedTokens(); 10101 // InternalApplicationConfiguration.g:3699:2: ( () otherlv_1= 'string' )
10102 } 10102 {
10103 finally { 10103 // InternalApplicationConfiguration.g:3699:2: ( () otherlv_1= 'string' )
10104 } 10104 // InternalApplicationConfiguration.g:3700:3: () otherlv_1= 'string'
10105 return current; 10105 {
10106 } 10106 // InternalApplicationConfiguration.g:3700:3: ()
10107 // $ANTLR end "ruleTask" 10107 // InternalApplicationConfiguration.g:3701:4:
10108 10108 {
10109 10109
10110 // $ANTLR start "entryRuleGenerationTask" 10110 current = forceCreateModelElement(
10111 // InternalApplicationConfiguration.g:3696:1: entryRuleGenerationTask returns [EObject current=null] : iv_ruleGenerationTask= ruleGenerationTask EOF ; 10111 grammarAccess.getStringReferenceAccess().getStringScopeAction_0(),
10112 public final EObject entryRuleGenerationTask() throws RecognitionException { 10112 current);
10113 EObject current = null; 10113
10114 10114
10115 EObject iv_ruleGenerationTask = null; 10115 }
10116 10116
10117 10117 otherlv_1=(Token)match(input,41,FOLLOW_2);
10118 try { 10118
10119 // InternalApplicationConfiguration.g:3696:55: (iv_ruleGenerationTask= ruleGenerationTask EOF ) 10119 newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1());
10120 // InternalApplicationConfiguration.g:3697:2: iv_ruleGenerationTask= ruleGenerationTask EOF 10120
10121 { 10121
10122 newCompositeNode(grammarAccess.getGenerationTaskRule()); 10122 }
10123 pushFollow(FOLLOW_1); 10123
10124 iv_ruleGenerationTask=ruleGenerationTask(); 10124
10125 10125 }
10126 state._fsp--; 10126
10127 10127
10128 current =iv_ruleGenerationTask; 10128 leaveRule();
10129 match(input,EOF,FOLLOW_2); 10129
10130 10130 }
10131 } 10131
10132 10132 catch (RecognitionException re) {
10133 } 10133 recover(input,re);
10134 10134 appendSkippedTokens();
10135 catch (RecognitionException re) { 10135 }
10136 recover(input,re); 10136 finally {
10137 appendSkippedTokens(); 10137 }
10138 } 10138 return current;
10139 finally { 10139 }
10140 } 10140 // $ANTLR end "ruleStringReference"
10141 return current; 10141
10142 } 10142
10143 // $ANTLR end "entryRuleGenerationTask" 10143 // $ANTLR start "entryRuleExactNumber"
10144 10144 // InternalApplicationConfiguration.g:3715:1: entryRuleExactNumber returns [EObject current=null] : iv_ruleExactNumber= ruleExactNumber EOF ;
10145 10145 public final EObject entryRuleExactNumber() throws RecognitionException {
10146 // $ANTLR start "ruleGenerationTask" 10146 EObject current = 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 EObject iv_ruleExactNumber = null;
10149 EObject current = null; 10149
10150 10150
10151 Token otherlv_0=null; 10151 try {
10152 Token otherlv_2=null; 10152 // InternalApplicationConfiguration.g:3715:52: (iv_ruleExactNumber= ruleExactNumber EOF )
10153 Token otherlv_4=null; 10153 // InternalApplicationConfiguration.g:3716:2: iv_ruleExactNumber= ruleExactNumber EOF
10154 Token otherlv_5=null; 10154 {
10155 Token otherlv_7=null; 10155 newCompositeNode(grammarAccess.getExactNumberRule());
10156 Token otherlv_8=null; 10156 pushFollow(FOLLOW_1);
10157 Token otherlv_10=null; 10157 iv_ruleExactNumber=ruleExactNumber();
10158 Token otherlv_11=null; 10158
10159 Token otherlv_13=null; 10159 state._fsp--;
10160 Token otherlv_14=null; 10160
10161 Token lv_numberSpecified_16_0=null; 10161 current =iv_ruleExactNumber;
10162 Token otherlv_17=null; 10162 match(input,EOF,FOLLOW_2);
10163 Token lv_number_18_0=null; 10163
10164 Token lv_runSpecified_19_0=null; 10164 }
10165 Token otherlv_20=null; 10165
10166 Token lv_runs_21_0=null; 10166 }
10167 Token otherlv_22=null; 10167
10168 Token otherlv_23=null; 10168 catch (RecognitionException re) {
10169 Token otherlv_25=null; 10169 recover(input,re);
10170 Token otherlv_26=null; 10170 appendSkippedTokens();
10171 Token otherlv_28=null; 10171 }
10172 Token otherlv_29=null; 10172 finally {
10173 Token otherlv_31=null; 10173 }
10174 Token otherlv_32=null; 10174 return current;
10175 Token otherlv_34=null; 10175 }
10176 Token otherlv_35=null; 10176 // $ANTLR end "entryRuleExactNumber"
10177 Token otherlv_37=null; 10177
10178 Token otherlv_38=null; 10178
10179 Token otherlv_40=null; 10179 // $ANTLR start "ruleExactNumber"
10180 EObject lv_metamodel_6_0 = null; 10180 // InternalApplicationConfiguration.g:3722:1: ruleExactNumber returns [EObject current=null] : ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) ;
10181 10181 public final EObject ruleExactNumber() throws RecognitionException {
10182 EObject lv_partialModel_9_0 = null; 10182 EObject current = null;
10183 10183
10184 EObject lv_patterns_12_0 = null; 10184 Token lv_exactNumber_0_0=null;
10185 10185 Token lv_exactUnlimited_1_0=null;
10186 EObject lv_scope_15_0 = null; 10186
10187 10187
10188 Enumerator lv_solver_24_0 = null; 10188 enterRule();
10189 10189
10190 EObject lv_config_27_0 = null; 10190 try {
10191 10191 // InternalApplicationConfiguration.g:3728:2: ( ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) )
10192 EObject lv_debugFolder_30_0 = null; 10192 // InternalApplicationConfiguration.g:3729:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) )
10193 10193 {
10194 EObject lv_targetLogFile_33_0 = null; 10194 // InternalApplicationConfiguration.g:3729:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) )
10195 10195 int alt49=2;
10196 EObject lv_targetStatisticsFile_36_0 = null; 10196 int LA49_0 = input.LA(1);
10197 10197
10198 EObject lv_tagetFolder_39_0 = null; 10198 if ( (LA49_0==RULE_INT) ) {
10199 10199 alt49=1;
10200 10200 }
10201 10201 else if ( (LA49_0==42) ) {
10202 enterRule(); 10202 alt49=2;
10203 10203 }
10204 try { 10204 else {
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 NoViableAltException nvae =
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 new NoViableAltException("", 49, 0, input);
10207 { 10207
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 throw nvae;
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 switch (alt49) {
10211 otherlv_0=(Token)match(input,43,FOLLOW_16); 10211 case 1 :
10212 10212 // InternalApplicationConfiguration.g:3730:3: ( (lv_exactNumber_0_0= RULE_INT ) )
10213 newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); 10213 {
10214 10214 // InternalApplicationConfiguration.g:3730:3: ( (lv_exactNumber_0_0= RULE_INT ) )
10215 // InternalApplicationConfiguration.g:3715:3: () 10215 // InternalApplicationConfiguration.g:3731:4: (lv_exactNumber_0_0= RULE_INT )
10216 // InternalApplicationConfiguration.g:3716:4: 10216 {
10217 { 10217 // InternalApplicationConfiguration.g:3731:4: (lv_exactNumber_0_0= RULE_INT )
10218 10218 // InternalApplicationConfiguration.g:3732:5: lv_exactNumber_0_0= RULE_INT
10219 current = forceCreateModelElement( 10219 {
10220 grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(), 10220 lv_exactNumber_0_0=(Token)match(input,RULE_INT,FOLLOW_2);
10221 current); 10221
10222 10222 newLeafNode(lv_exactNumber_0_0, grammarAccess.getExactNumberAccess().getExactNumberINTTerminalRuleCall_0_0());
10223 10223
10224 } 10224
10225 10225 if (current==null) {
10226 otherlv_2=(Token)match(input,18,FOLLOW_39); 10226 current = createModelElement(grammarAccess.getExactNumberRule());
10227 10227 }
10228 newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); 10228 setWithLastConsumed(
10229 10229 current,
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 "exactNumber",
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 lv_exactNumber_0_0,
10232 { 10232 "org.eclipse.xtext.common.Terminals.INT");
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
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 break;
10243 loop54: 10243 case 2 :
10244 do { 10244 // InternalApplicationConfiguration.g:3749:3: ( (lv_exactUnlimited_1_0= '*' ) )
10245 int alt54=13; 10245 {
10246 alt54 = dfa54.predict(input); 10246 // InternalApplicationConfiguration.g:3749:3: ( (lv_exactUnlimited_1_0= '*' ) )
10247 switch (alt54) { 10247 // InternalApplicationConfiguration.g:3750:4: (lv_exactUnlimited_1_0= '*' )
10248 case 1 : 10248 {
10249 // InternalApplicationConfiguration.g:3733:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) 10249 // InternalApplicationConfiguration.g:3750:4: (lv_exactUnlimited_1_0= '*' )
10250 { 10250 // InternalApplicationConfiguration.g:3751:5: lv_exactUnlimited_1_0= '*'
10251 // InternalApplicationConfiguration.g:3733:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) 10251 {
10252 // InternalApplicationConfiguration.g:3734:5: {...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) 10252 lv_exactUnlimited_1_0=(Token)match(input,42,FOLLOW_2);
10253 { 10253
10254 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) { 10254 newLeafNode(lv_exactUnlimited_1_0, grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0());
10255 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)"); 10255
10256 } 10256
10257 // InternalApplicationConfiguration.g:3734:111: ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) 10257 if (current==null) {
10258 // InternalApplicationConfiguration.g:3735:6: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) 10258 current = createModelElement(grammarAccess.getExactNumberRule());
10259 { 10259 }
10260 10260 setWithLastConsumed(current, "exactUnlimited", true, "*");
10261 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); 10261
10262 10262
10263 // InternalApplicationConfiguration.g:3738:9: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) 10263 }
10264 // InternalApplicationConfiguration.g:3738:10: {...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) 10264
10265 { 10265
10266 if ( !((true)) ) { 10266 }
10267 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10267
10268 } 10268
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 break;
10271 { 10271
10272 otherlv_4=(Token)match(input,24,FOLLOW_12); 10272 }
10273 10273
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 leaveRule();
10279 10279
10280 // InternalApplicationConfiguration.g:3746:9: ( (lv_metamodel_6_0= ruleMetamodel ) ) 10280 }
10281 // InternalApplicationConfiguration.g:3747:10: (lv_metamodel_6_0= ruleMetamodel ) 10281
10282 { 10282 catch (RecognitionException re) {
10283 // InternalApplicationConfiguration.g:3747:10: (lv_metamodel_6_0= ruleMetamodel ) 10283 recover(input,re);
10284 // InternalApplicationConfiguration.g:3748:11: lv_metamodel_6_0= ruleMetamodel 10284 appendSkippedTokens();
10285 { 10285 }
10286 10286 finally {
10287 newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); 10287 }
10288 10288 return current;
10289 pushFollow(FOLLOW_39); 10289 }
10290 lv_metamodel_6_0=ruleMetamodel(); 10290 // $ANTLR end "ruleExactNumber"
10291 10291
10292 state._fsp--; 10292
10293 10293 // $ANTLR start "entryRuleIntervallNumber"
10294 10294 // InternalApplicationConfiguration.g:3767:1: entryRuleIntervallNumber returns [EObject current=null] : iv_ruleIntervallNumber= ruleIntervallNumber EOF ;
10295 if (current==null) { 10295 public final EObject entryRuleIntervallNumber() throws RecognitionException {
10296 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 10296 EObject current = null;
10297 } 10297
10298 set( 10298 EObject iv_ruleIntervallNumber = null;
10299 current, 10299
10300 "metamodel", 10300
10301 lv_metamodel_6_0, 10301 try {
10302 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel"); 10302 // InternalApplicationConfiguration.g:3767:56: (iv_ruleIntervallNumber= ruleIntervallNumber EOF )
10303 afterParserOrEnumRuleCall(); 10303 // InternalApplicationConfiguration.g:3768:2: iv_ruleIntervallNumber= ruleIntervallNumber EOF
10304 10304 {
10305 10305 newCompositeNode(grammarAccess.getIntervallNumberRule());
10306 } 10306 pushFollow(FOLLOW_1);
10307 10307 iv_ruleIntervallNumber=ruleIntervallNumber();
10308 10308
10309 } 10309 state._fsp--;
10310 10310
10311 10311 current =iv_ruleIntervallNumber;
10312 } 10312 match(input,EOF,FOLLOW_2);
10313 10313
10314 10314 }
10315 } 10315
10316 10316 }
10317 10317
10318 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10318 catch (RecognitionException re) {
10319 10319 recover(input,re);
10320 10320 appendSkippedTokens();
10321 } 10321 }
10322 10322 finally {
10323 10323 }
10324 } 10324 return current;
10325 10325 }
10326 10326 // $ANTLR end "entryRuleIntervallNumber"
10327 } 10327
10328 break; 10328
10329 case 2 : 10329 // $ANTLR start "ruleIntervallNumber"
10330 // InternalApplicationConfiguration.g:3771:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) 10330 // InternalApplicationConfiguration.g:3774:1: ruleIntervallNumber returns [EObject current=null] : ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) ;
10331 { 10331 public final EObject ruleIntervallNumber() throws RecognitionException {
10332 // InternalApplicationConfiguration.g:3771:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) 10332 EObject current = null;
10333 // InternalApplicationConfiguration.g:3772:5: {...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) 10333
10334 { 10334 Token lv_min_0_0=null;
10335 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) { 10335 Token otherlv_1=null;
10336 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)"); 10336 Token lv_maxNumber_2_0=null;
10337 } 10337 Token lv_maxUnlimited_3_0=null;
10338 // InternalApplicationConfiguration.g:3772:111: ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) 10338
10339 // InternalApplicationConfiguration.g:3773:6: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) 10339
10340 { 10340 enterRule();
10341 10341
10342 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); 10342 try {
10343 10343 // InternalApplicationConfiguration.g:3780:2: ( ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) )
10344 // InternalApplicationConfiguration.g:3776:9: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) 10344 // InternalApplicationConfiguration.g:3781:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) )
10345 // InternalApplicationConfiguration.g:3776:10: {...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) 10345 {
10346 { 10346 // InternalApplicationConfiguration.g:3781:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) )
10347 if ( !((true)) ) { 10347 // InternalApplicationConfiguration.g:3782:3: ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) )
10348 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10348 {
10349 } 10349 // InternalApplicationConfiguration.g:3782:3: ( (lv_min_0_0= RULE_INT ) )
10350 // InternalApplicationConfiguration.g:3776:19: (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) 10350 // InternalApplicationConfiguration.g:3783:4: (lv_min_0_0= RULE_INT )
10351 // InternalApplicationConfiguration.g:3776:20: otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) 10351 {
10352 { 10352 // InternalApplicationConfiguration.g:3783:4: (lv_min_0_0= RULE_INT )
10353 otherlv_7=(Token)match(input,44,FOLLOW_12); 10353 // InternalApplicationConfiguration.g:3784:5: lv_min_0_0= RULE_INT
10354 10354 {
10355 newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); 10355 lv_min_0_0=(Token)match(input,RULE_INT,FOLLOW_38);
10356 10356
10357 otherlv_8=(Token)match(input,17,FOLLOW_40); 10357 newLeafNode(lv_min_0_0, grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0());
10358 10358
10359 newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); 10359
10360 10360 if (current==null) {
10361 // InternalApplicationConfiguration.g:3784:9: ( (lv_partialModel_9_0= rulePartialModel ) ) 10361 current = createModelElement(grammarAccess.getIntervallNumberRule());
10362 // InternalApplicationConfiguration.g:3785:10: (lv_partialModel_9_0= rulePartialModel ) 10362 }
10363 { 10363 setWithLastConsumed(
10364 // InternalApplicationConfiguration.g:3785:10: (lv_partialModel_9_0= rulePartialModel ) 10364 current,
10365 // InternalApplicationConfiguration.g:3786:11: lv_partialModel_9_0= rulePartialModel 10365 "min",
10366 { 10366 lv_min_0_0,
10367 10367 "org.eclipse.xtext.common.Terminals.INT");
10368 newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); 10368
10369 10369
10370 pushFollow(FOLLOW_39); 10370 }
10371 lv_partialModel_9_0=rulePartialModel(); 10371
10372 10372
10373 state._fsp--; 10373 }
10374 10374
10375 10375 otherlv_1=(Token)match(input,43,FOLLOW_31);
10376 if (current==null) { 10376
10377 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 10377 newLeafNode(otherlv_1, grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1());
10378 } 10378
10379 set( 10379 // InternalApplicationConfiguration.g:3804:3: ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) )
10380 current, 10380 int alt50=2;
10381 "partialModel", 10381 int LA50_0 = input.LA(1);
10382 lv_partialModel_9_0, 10382
10383 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel"); 10383 if ( (LA50_0==RULE_INT) ) {
10384 afterParserOrEnumRuleCall(); 10384 alt50=1;
10385 10385 }
10386 10386 else if ( (LA50_0==42) ) {
10387 } 10387 alt50=2;
10388 10388 }
10389 10389 else {
10390 } 10390 NoViableAltException nvae =
10391 10391 new NoViableAltException("", 50, 0, input);
10392 10392
10393 } 10393 throw nvae;
10394 10394 }
10395 10395 switch (alt50) {
10396 } 10396 case 1 :
10397 10397 // InternalApplicationConfiguration.g:3805:4: ( (lv_maxNumber_2_0= RULE_INT ) )
10398 10398 {
10399 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10399 // InternalApplicationConfiguration.g:3805:4: ( (lv_maxNumber_2_0= RULE_INT ) )
10400 10400 // InternalApplicationConfiguration.g:3806:5: (lv_maxNumber_2_0= RULE_INT )
10401 10401 {
10402 } 10402 // InternalApplicationConfiguration.g:3806:5: (lv_maxNumber_2_0= RULE_INT )
10403 10403 // InternalApplicationConfiguration.g:3807:6: lv_maxNumber_2_0= RULE_INT
10404 10404 {
10405 } 10405 lv_maxNumber_2_0=(Token)match(input,RULE_INT,FOLLOW_2);
10406 10406
10407 10407 newLeafNode(lv_maxNumber_2_0, grammarAccess.getIntervallNumberAccess().getMaxNumberINTTerminalRuleCall_2_0_0());
10408 } 10408
10409 break; 10409
10410 case 3 : 10410 if (current==null) {
10411 // InternalApplicationConfiguration.g:3809:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) 10411 current = createModelElement(grammarAccess.getIntervallNumberRule());
10412 { 10412 }
10413 // InternalApplicationConfiguration.g:3809:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) 10413 setWithLastConsumed(
10414 // InternalApplicationConfiguration.g:3810:5: {...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) 10414 current,
10415 { 10415 "maxNumber",
10416 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) { 10416 lv_maxNumber_2_0,
10417 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)"); 10417 "org.eclipse.xtext.common.Terminals.INT");
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 break;
10428 if ( !((true)) ) { 10428 case 2 :
10429 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10429 // InternalApplicationConfiguration.g:3824:4: ( (lv_maxUnlimited_3_0= '*' ) )
10430 } 10430 {
10431 // InternalApplicationConfiguration.g:3814:19: (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) 10431 // InternalApplicationConfiguration.g:3824:4: ( (lv_maxUnlimited_3_0= '*' ) )
10432 // InternalApplicationConfiguration.g:3814:20: otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) 10432 // InternalApplicationConfiguration.g:3825:5: (lv_maxUnlimited_3_0= '*' )
10433 { 10433 {
10434 otherlv_10=(Token)match(input,27,FOLLOW_12); 10434 // InternalApplicationConfiguration.g:3825:5: (lv_maxUnlimited_3_0= '*' )
10435 10435 // InternalApplicationConfiguration.g:3826:6: lv_maxUnlimited_3_0= '*'
10436 newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0()); 10436 {
10437 10437 lv_maxUnlimited_3_0=(Token)match(input,42,FOLLOW_2);
10438 otherlv_11=(Token)match(input,17,FOLLOW_40); 10438
10439 10439 newLeafNode(lv_maxUnlimited_3_0, grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0());
10440 newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); 10440
10441 10441
10442 // InternalApplicationConfiguration.g:3822:9: ( (lv_patterns_12_0= ruleGraphPattern ) ) 10442 if (current==null) {
10443 // InternalApplicationConfiguration.g:3823:10: (lv_patterns_12_0= ruleGraphPattern ) 10443 current = createModelElement(grammarAccess.getIntervallNumberRule());
10444 { 10444 }
10445 // InternalApplicationConfiguration.g:3823:10: (lv_patterns_12_0= ruleGraphPattern ) 10445 setWithLastConsumed(current, "maxUnlimited", true, "*");
10446 // InternalApplicationConfiguration.g:3824:11: lv_patterns_12_0= ruleGraphPattern 10446
10447 { 10447
10448 10448 }
10449 newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); 10449
10450 10450
10451 pushFollow(FOLLOW_39); 10451 }
10452 lv_patterns_12_0=ruleGraphPattern(); 10452
10453 10453
10454 state._fsp--; 10454 }
10455 10455 break;
10456 10456
10457 if (current==null) { 10457 }
10458 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 10458
10459 } 10459
10460 set( 10460 }
10461 current, 10461
10462 "patterns", 10462
10463 lv_patterns_12_0, 10463 }
10464 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern"); 10464
10465 afterParserOrEnumRuleCall(); 10465
10466 10466 leaveRule();
10467 10467
10468 } 10468 }
10469 10469
10470 10470 catch (RecognitionException re) {
10471 } 10471 recover(input,re);
10472 10472 appendSkippedTokens();
10473 10473 }
10474 } 10474 finally {
10475 10475 }
10476 10476 return current;
10477 } 10477 }
10478 10478 // $ANTLR end "ruleIntervallNumber"
10479 10479
10480 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10480
10481 10481 // $ANTLR start "entryRuleIntEnumberation"
10482 10482 // InternalApplicationConfiguration.g:3843:1: entryRuleIntEnumberation returns [EObject current=null] : iv_ruleIntEnumberation= ruleIntEnumberation EOF ;
10483 } 10483 public final EObject entryRuleIntEnumberation() throws RecognitionException {
10484 10484 EObject current = null;
10485 10485
10486 } 10486 EObject iv_ruleIntEnumberation = null;
10487 10487
10488 10488
10489 } 10489 try {
10490 break; 10490 // InternalApplicationConfiguration.g:3843:56: (iv_ruleIntEnumberation= ruleIntEnumberation EOF )
10491 case 4 : 10491 // InternalApplicationConfiguration.g:3844:2: iv_ruleIntEnumberation= ruleIntEnumberation EOF
10492 // InternalApplicationConfiguration.g:3847:4: ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) 10492 {
10493 { 10493 newCompositeNode(grammarAccess.getIntEnumberationRule());
10494 // InternalApplicationConfiguration.g:3847:4: ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) 10494 pushFollow(FOLLOW_1);
10495 // InternalApplicationConfiguration.g:3848:5: {...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) 10495 iv_ruleIntEnumberation=ruleIntEnumberation();
10496 { 10496
10497 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) { 10497 state._fsp--;
10498 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)"); 10498
10499 } 10499 current =iv_ruleIntEnumberation;
10500 // InternalApplicationConfiguration.g:3848:111: ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) 10500 match(input,EOF,FOLLOW_2);
10501 // InternalApplicationConfiguration.g:3849:6: ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) 10501
10502 { 10502 }
10503 10503
10504 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); 10504 }
10505 10505
10506 // InternalApplicationConfiguration.g:3852:9: ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) 10506 catch (RecognitionException re) {
10507 // InternalApplicationConfiguration.g:3852:10: {...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) 10507 recover(input,re);
10508 { 10508 appendSkippedTokens();
10509 if ( !((true)) ) { 10509 }
10510 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10510 finally {
10511 } 10511 }
10512 // InternalApplicationConfiguration.g:3852:19: (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) 10512 return current;
10513 // InternalApplicationConfiguration.g:3852:20: otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) 10513 }
10514 { 10514 // $ANTLR end "entryRuleIntEnumberation"
10515 otherlv_13=(Token)match(input,42,FOLLOW_12); 10515
10516 10516
10517 newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_3_0()); 10517 // $ANTLR start "ruleIntEnumberation"
10518 10518 // InternalApplicationConfiguration.g:3850:1: ruleIntEnumberation returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) ;
10519 otherlv_14=(Token)match(input,17,FOLLOW_40); 10519 public final EObject ruleIntEnumberation() throws RecognitionException {
10520 10520 EObject current = null;
10521 newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); 10521
10522 10522 Token otherlv_1=null;
10523 // InternalApplicationConfiguration.g:3860:9: ( (lv_scope_15_0= ruleScope ) ) 10523 Token otherlv_3=null;
10524 // InternalApplicationConfiguration.g:3861:10: (lv_scope_15_0= ruleScope ) 10524 Token otherlv_5=null;
10525 { 10525 AntlrDatatypeRuleToken lv_entry_2_0 = null;
10526 // InternalApplicationConfiguration.g:3861:10: (lv_scope_15_0= ruleScope ) 10526
10527 // InternalApplicationConfiguration.g:3862:11: lv_scope_15_0= ruleScope 10527 AntlrDatatypeRuleToken lv_entry_4_0 = null;
10528 { 10528
10529 10529
10530 newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_3_2_0()); 10530
10531 10531 enterRule();
10532 pushFollow(FOLLOW_39); 10532
10533 lv_scope_15_0=ruleScope(); 10533 try {
10534 10534 // InternalApplicationConfiguration.g:3856:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) )
10535 state._fsp--; 10535 // InternalApplicationConfiguration.g:3857:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' )
10536 10536 {
10537 10537 // InternalApplicationConfiguration.g:3857:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' )
10538 if (current==null) { 10538 // InternalApplicationConfiguration.g:3858:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}'
10539 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 10539 {
10540 } 10540 // InternalApplicationConfiguration.g:3858:3: ()
10541 set( 10541 // InternalApplicationConfiguration.g:3859:4:
10542 current, 10542 {
10543 "scope", 10543
10544 lv_scope_15_0, 10544 current = forceCreateModelElement(
10545 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope"); 10545 grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0(),
10546 afterParserOrEnumRuleCall(); 10546 current);
10547 10547
10548 10548
10549 } 10549 }
10550 10550
10551 10551 otherlv_1=(Token)match(input,18,FOLLOW_39);
10552 } 10552
10553 10553 newLeafNode(otherlv_1, grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1());
10554 10554
10555 } 10555 // InternalApplicationConfiguration.g:3869:3: ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )?
10556 10556 int alt52=2;
10557 10557 int LA52_0 = input.LA(1);
10558 } 10558
10559 10559 if ( (LA52_0==RULE_INT||LA52_0==12) ) {
10560 10560 alt52=1;
10561 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10561 }
10562 10562 switch (alt52) {
10563 10563 case 1 :
10564 } 10564 // InternalApplicationConfiguration.g:3870:4: ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )*
10565 10565 {
10566 10566 // InternalApplicationConfiguration.g:3870:4: ( (lv_entry_2_0= ruleINTLiteral ) )
10567 } 10567 // InternalApplicationConfiguration.g:3871:5: (lv_entry_2_0= ruleINTLiteral )
10568 10568 {
10569 10569 // InternalApplicationConfiguration.g:3871:5: (lv_entry_2_0= ruleINTLiteral )
10570 } 10570 // InternalApplicationConfiguration.g:3872:6: lv_entry_2_0= ruleINTLiteral
10571 break; 10571 {
10572 case 5 : 10572
10573 // InternalApplicationConfiguration.g:3885:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) 10573 newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0());
10574 { 10574
10575 // InternalApplicationConfiguration.g:3885:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) 10575 pushFollow(FOLLOW_14);
10576 // InternalApplicationConfiguration.g:3886:5: {...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) 10576 lv_entry_2_0=ruleINTLiteral();
10577 { 10577
10578 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) { 10578 state._fsp--;
10579 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)"); 10579
10580 } 10580
10581 // InternalApplicationConfiguration.g:3886:111: ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) 10581 if (current==null) {
10582 // InternalApplicationConfiguration.g:3887:6: ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) 10582 current = createModelElementForParent(grammarAccess.getIntEnumberationRule());
10583 { 10583 }
10584 10584 add(
10585 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); 10585 current,
10586 10586 "entry",
10587 // InternalApplicationConfiguration.g:3890:9: ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) 10587 lv_entry_2_0,
10588 // InternalApplicationConfiguration.g:3890:10: {...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) 10588 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral");
10589 { 10589 afterParserOrEnumRuleCall();
10590 if ( !((true)) ) { 10590
10591 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10591
10592 } 10592 }
10593 // InternalApplicationConfiguration.g:3890:19: ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) 10593
10594 // InternalApplicationConfiguration.g:3890:20: ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) 10594
10595 { 10595 }
10596 // InternalApplicationConfiguration.g:3890:20: ( (lv_numberSpecified_16_0= 'number' ) ) 10596
10597 // InternalApplicationConfiguration.g:3891:10: (lv_numberSpecified_16_0= 'number' ) 10597 // InternalApplicationConfiguration.g:3889:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )*
10598 { 10598 loop51:
10599 // InternalApplicationConfiguration.g:3891:10: (lv_numberSpecified_16_0= 'number' ) 10599 do {
10600 // InternalApplicationConfiguration.g:3892:11: lv_numberSpecified_16_0= 'number' 10600 int alt51=2;
10601 { 10601 int LA51_0 = input.LA(1);
10602 lv_numberSpecified_16_0=(Token)match(input,45,FOLLOW_12); 10602
10603 10603 if ( (LA51_0==19) ) {
10604 newLeafNode(lv_numberSpecified_16_0, grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_4_0_0()); 10604 alt51=1;
10605 10605 }
10606 10606
10607 if (current==null) { 10607
10608 current = createModelElement(grammarAccess.getGenerationTaskRule()); 10608 switch (alt51) {
10609 } 10609 case 1 :
10610 setWithLastConsumed(current, "numberSpecified", true, "number"); 10610 // InternalApplicationConfiguration.g:3890:5: otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) )
10611 10611 {
10612 10612 otherlv_3=(Token)match(input,19,FOLLOW_23);
10613 } 10613
10614 10614 newLeafNode(otherlv_3, grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0());
10615 10615
10616 } 10616 // InternalApplicationConfiguration.g:3894:5: ( (lv_entry_4_0= ruleINTLiteral ) )
10617 10617 // InternalApplicationConfiguration.g:3895:6: (lv_entry_4_0= ruleINTLiteral )
10618 otherlv_17=(Token)match(input,17,FOLLOW_7); 10618 {
10619 10619 // InternalApplicationConfiguration.g:3895:6: (lv_entry_4_0= ruleINTLiteral )
10620 newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); 10620 // InternalApplicationConfiguration.g:3896:7: lv_entry_4_0= ruleINTLiteral
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 newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0());
10624 { 10624
10625 // InternalApplicationConfiguration.g:3909:10: (lv_number_18_0= RULE_INT ) 10625 pushFollow(FOLLOW_14);
10626 // InternalApplicationConfiguration.g:3910:11: lv_number_18_0= RULE_INT 10626 lv_entry_4_0=ruleINTLiteral();
10627 { 10627
10628 lv_number_18_0=(Token)match(input,RULE_INT,FOLLOW_39); 10628 state._fsp--;
10629 10629
10630 newLeafNode(lv_number_18_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_4_2_0()); 10630
10631 10631 if (current==null) {
10632 10632 current = createModelElementForParent(grammarAccess.getIntEnumberationRule());
10633 if (current==null) { 10633 }
10634 current = createModelElement(grammarAccess.getGenerationTaskRule()); 10634 add(
10635 } 10635 current,
10636 setWithLastConsumed( 10636 "entry",
10637 current, 10637 lv_entry_4_0,
10638 "number", 10638 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral");
10639 lv_number_18_0, 10639 afterParserOrEnumRuleCall();
10640 "org.eclipse.xtext.common.Terminals.INT"); 10640
10641 10641
10642 10642 }
10643 } 10643
10644 10644
10645 10645 }
10646 } 10646
10647 10647
10648 10648 }
10649 } 10649 break;
10650 10650
10651 10651 default :
10652 } 10652 break loop51;
10653 10653 }
10654 10654 } while (true);
10655 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10655
10656 10656
10657 10657 }
10658 } 10658 break;
10659 10659
10660 10660 }
10661 } 10661
10662 10662 otherlv_5=(Token)match(input,20,FOLLOW_2);
10663 10663
10664 } 10664 newLeafNode(otherlv_5, grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3());
10665 break; 10665
10666 case 6 : 10666
10667 // InternalApplicationConfiguration.g:3932:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) 10667 }
10668 { 10668
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 leaveRule();
10674 } 10674
10675 // InternalApplicationConfiguration.g:3933:111: ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) 10675 }
10676 // InternalApplicationConfiguration.g:3934:6: ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) 10676
10677 { 10677 catch (RecognitionException re) {
10678 10678 recover(input,re);
10679 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); 10679 appendSkippedTokens();
10680 10680 }
10681 // InternalApplicationConfiguration.g:3937:9: ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) 10681 finally {
10682 // InternalApplicationConfiguration.g:3937:10: {...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) 10682 }
10683 { 10683 return current;
10684 if ( !((true)) ) { 10684 }
10685 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10685 // $ANTLR end "ruleIntEnumberation"
10686 } 10686
10687 // InternalApplicationConfiguration.g:3937:19: ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) 10687
10688 // InternalApplicationConfiguration.g:3937:20: ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) 10688 // $ANTLR start "entryRuleRealEnumeration"
10689 { 10689 // InternalApplicationConfiguration.g:3923:1: entryRuleRealEnumeration returns [EObject current=null] : iv_ruleRealEnumeration= ruleRealEnumeration EOF ;
10690 // InternalApplicationConfiguration.g:3937:20: ( (lv_runSpecified_19_0= 'runs' ) ) 10690 public final EObject entryRuleRealEnumeration() throws RecognitionException {
10691 // InternalApplicationConfiguration.g:3938:10: (lv_runSpecified_19_0= 'runs' ) 10691 EObject current = null;
10692 { 10692
10693 // InternalApplicationConfiguration.g:3938:10: (lv_runSpecified_19_0= 'runs' ) 10693 EObject iv_ruleRealEnumeration = null;
10694 // InternalApplicationConfiguration.g:3939:11: lv_runSpecified_19_0= 'runs' 10694
10695 { 10695
10696 lv_runSpecified_19_0=(Token)match(input,46,FOLLOW_12); 10696 try {
10697 10697 // InternalApplicationConfiguration.g:3923:56: (iv_ruleRealEnumeration= ruleRealEnumeration EOF )
10698 newLeafNode(lv_runSpecified_19_0, grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_5_0_0()); 10698 // InternalApplicationConfiguration.g:3924:2: iv_ruleRealEnumeration= ruleRealEnumeration EOF
10699 10699 {
10700 10700 newCompositeNode(grammarAccess.getRealEnumerationRule());
10701 if (current==null) { 10701 pushFollow(FOLLOW_1);
10702 current = createModelElement(grammarAccess.getGenerationTaskRule()); 10702 iv_ruleRealEnumeration=ruleRealEnumeration();
10703 } 10703
10704 setWithLastConsumed(current, "runSpecified", true, "runs"); 10704 state._fsp--;
10705 10705
10706 10706 current =iv_ruleRealEnumeration;
10707 } 10707 match(input,EOF,FOLLOW_2);
10708 10708
10709 10709 }
10710 } 10710
10711 10711 }
10712 otherlv_20=(Token)match(input,17,FOLLOW_7); 10712
10713 10713 catch (RecognitionException re) {
10714 newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); 10714 recover(input,re);
10715 10715 appendSkippedTokens();
10716 // InternalApplicationConfiguration.g:3955:9: ( (lv_runs_21_0= RULE_INT ) ) 10716 }
10717 // InternalApplicationConfiguration.g:3956:10: (lv_runs_21_0= RULE_INT ) 10717 finally {
10718 { 10718 }
10719 // InternalApplicationConfiguration.g:3956:10: (lv_runs_21_0= RULE_INT ) 10719 return current;
10720 // InternalApplicationConfiguration.g:3957:11: lv_runs_21_0= RULE_INT 10720 }
10721 { 10721 // $ANTLR end "entryRuleRealEnumeration"
10722 lv_runs_21_0=(Token)match(input,RULE_INT,FOLLOW_39); 10722
10723 10723
10724 newLeafNode(lv_runs_21_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_5_2_0()); 10724 // $ANTLR start "ruleRealEnumeration"
10725 10725 // InternalApplicationConfiguration.g:3930:1: ruleRealEnumeration returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) ;
10726 10726 public final EObject ruleRealEnumeration() throws RecognitionException {
10727 if (current==null) { 10727 EObject current = null;
10728 current = createModelElement(grammarAccess.getGenerationTaskRule()); 10728
10729 } 10729 Token otherlv_1=null;
10730 setWithLastConsumed( 10730 Token otherlv_3=null;
10731 current, 10731 Token otherlv_5=null;
10732 "runs", 10732 AntlrDatatypeRuleToken lv_entry_2_0 = null;
10733 lv_runs_21_0, 10733
10734 "org.eclipse.xtext.common.Terminals.INT"); 10734 AntlrDatatypeRuleToken lv_entry_4_0 = null;
10735 10735
10736 10736
10737 } 10737
10738 10738 enterRule();
10739 10739
10740 } 10740 try {
10741 10741 // InternalApplicationConfiguration.g:3936:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) )
10742 10742 // InternalApplicationConfiguration.g:3937:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' )
10743 } 10743 {
10744 10744 // InternalApplicationConfiguration.g:3937:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' )
10745 10745 // InternalApplicationConfiguration.g:3938:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}'
10746 } 10746 {
10747 10747 // InternalApplicationConfiguration.g:3938:3: ()
10748 10748 // InternalApplicationConfiguration.g:3939:4:
10749 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10749 {
10750 10750
10751 10751 current = forceCreateModelElement(
10752 } 10752 grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0(),
10753 10753 current);
10754 10754
10755 } 10755
10756 10756 }
10757 10757
10758 } 10758 otherlv_1=(Token)match(input,18,FOLLOW_39);
10759 break; 10759
10760 case 7 : 10760 newLeafNode(otherlv_1, grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1());
10761 // InternalApplicationConfiguration.g:3979:4: ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) 10761
10762 { 10762 // InternalApplicationConfiguration.g:3949:3: ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )?
10763 // InternalApplicationConfiguration.g:3979:4: ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) 10763 int alt54=2;
10764 // InternalApplicationConfiguration.g:3980:5: {...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) 10764 int LA54_0 = input.LA(1);
10765 { 10765
10766 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) { 10766 if ( (LA54_0==RULE_INT||LA54_0==12) ) {
10767 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)"); 10767 alt54=1;
10768 } 10768 }
10769 // InternalApplicationConfiguration.g:3980:111: ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) 10769 switch (alt54) {
10770 // InternalApplicationConfiguration.g:3981:6: ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) 10770 case 1 :
10771 { 10771 // InternalApplicationConfiguration.g:3950:4: ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )*
10772 10772 {
10773 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); 10773 // InternalApplicationConfiguration.g:3950:4: ( (lv_entry_2_0= ruleREALLiteral ) )
10774 10774 // InternalApplicationConfiguration.g:3951:5: (lv_entry_2_0= ruleREALLiteral )
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 // InternalApplicationConfiguration.g:3951:5: (lv_entry_2_0= ruleREALLiteral )
10777 { 10777 // InternalApplicationConfiguration.g:3952:6: lv_entry_2_0= ruleREALLiteral
10778 if ( !((true)) ) { 10778 {
10779 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10779
10780 } 10780 newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0());
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 pushFollow(FOLLOW_14);
10783 { 10783 lv_entry_2_0=ruleREALLiteral();
10784 otherlv_22=(Token)match(input,47,FOLLOW_12); 10784
10785 10785 state._fsp--;
10786 newLeafNode(otherlv_22, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_6_0()); 10786
10787 10787
10788 otherlv_23=(Token)match(input,17,FOLLOW_41); 10788 if (current==null) {
10789 10789 current = createModelElementForParent(grammarAccess.getRealEnumerationRule());
10790 newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); 10790 }
10791 10791 add(
10792 // InternalApplicationConfiguration.g:3992:9: ( (lv_solver_24_0= ruleSolver ) ) 10792 current,
10793 // InternalApplicationConfiguration.g:3993:10: (lv_solver_24_0= ruleSolver ) 10793 "entry",
10794 { 10794 lv_entry_2_0,
10795 // InternalApplicationConfiguration.g:3993:10: (lv_solver_24_0= ruleSolver ) 10795 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral");
10796 // InternalApplicationConfiguration.g:3994:11: lv_solver_24_0= ruleSolver 10796 afterParserOrEnumRuleCall();
10797 { 10797
10798 10798
10799 newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_6_2_0()); 10799 }
10800 10800
10801 pushFollow(FOLLOW_39); 10801
10802 lv_solver_24_0=ruleSolver(); 10802 }
10803 10803
10804 state._fsp--; 10804 // InternalApplicationConfiguration.g:3969:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )*
10805 10805 loop53:
10806 10806 do {
10807 if (current==null) { 10807 int alt53=2;
10808 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 10808 int LA53_0 = input.LA(1);
10809 } 10809
10810 set( 10810 if ( (LA53_0==19) ) {
10811 current, 10811 alt53=1;
10812 "solver", 10812 }
10813 lv_solver_24_0, 10813
10814 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver"); 10814
10815 afterParserOrEnumRuleCall(); 10815 switch (alt53) {
10816 10816 case 1 :
10817 10817 // InternalApplicationConfiguration.g:3970:5: otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) )
10818 } 10818 {
10819 10819 otherlv_3=(Token)match(input,19,FOLLOW_23);
10820 10820
10821 } 10821 newLeafNode(otherlv_3, grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0());
10822 10822
10823 10823 // InternalApplicationConfiguration.g:3974:5: ( (lv_entry_4_0= ruleREALLiteral ) )
10824 } 10824 // InternalApplicationConfiguration.g:3975:6: (lv_entry_4_0= ruleREALLiteral )
10825 10825 {
10826 10826 // InternalApplicationConfiguration.g:3975:6: (lv_entry_4_0= ruleREALLiteral )
10827 } 10827 // InternalApplicationConfiguration.g:3976:7: lv_entry_4_0= ruleREALLiteral
10828 10828 {
10829 10829
10830 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10830 newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0());
10831 10831
10832 10832 pushFollow(FOLLOW_14);
10833 } 10833 lv_entry_4_0=ruleREALLiteral();
10834 10834
10835 10835 state._fsp--;
10836 } 10836
10837 10837
10838 10838 if (current==null) {
10839 } 10839 current = createModelElementForParent(grammarAccess.getRealEnumerationRule());
10840 break; 10840 }
10841 case 8 : 10841 add(
10842 // InternalApplicationConfiguration.g:4017:4: ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) 10842 current,
10843 { 10843 "entry",
10844 // InternalApplicationConfiguration.g:4017:4: ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) 10844 lv_entry_4_0,
10845 // InternalApplicationConfiguration.g:4018:5: {...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) 10845 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral");
10846 { 10846 afterParserOrEnumRuleCall();
10847 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) { 10847
10848 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)"); 10848
10849 } 10849 }
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
10852 { 10852 }
10853 10853
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 break;
10857 // InternalApplicationConfiguration.g:4022:10: {...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) 10857
10858 { 10858 default :
10859 if ( !((true)) ) { 10859 break loop53;
10860 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10860 }
10861 } 10861 } while (true);
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 }
10865 otherlv_25=(Token)match(input,28,FOLLOW_12); 10865 break;
10866 10866
10867 newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_7_0()); 10867 }
10868 10868
10869 otherlv_26=(Token)match(input,17,FOLLOW_40); 10869 otherlv_5=(Token)match(input,20,FOLLOW_2);
10870 10870
10871 newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); 10871 newLeafNode(otherlv_5, grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3());
10872 10872
10873 // InternalApplicationConfiguration.g:4030:9: ( (lv_config_27_0= ruleConfig ) ) 10873
10874 // InternalApplicationConfiguration.g:4031:10: (lv_config_27_0= ruleConfig ) 10874 }
10875 { 10875
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 leaveRule();
10881 10881
10882 pushFollow(FOLLOW_39); 10882 }
10883 lv_config_27_0=ruleConfig(); 10883
10884 10884 catch (RecognitionException re) {
10885 state._fsp--; 10885 recover(input,re);
10886 10886 appendSkippedTokens();
10887 10887 }
10888 if (current==null) { 10888 finally {
10889 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 10889 }
10890 } 10890 return current;
10891 set( 10891 }
10892 current, 10892 // $ANTLR end "ruleRealEnumeration"
10893 "config", 10893
10894 lv_config_27_0, 10894
10895 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config"); 10895 // $ANTLR start "entryRuleStringEnumeration"
10896 afterParserOrEnumRuleCall(); 10896 // InternalApplicationConfiguration.g:4003:1: entryRuleStringEnumeration returns [EObject current=null] : iv_ruleStringEnumeration= ruleStringEnumeration EOF ;
10897 10897 public final EObject entryRuleStringEnumeration() throws RecognitionException {
10898 10898 EObject current = null;
10899 } 10899
10900 10900 EObject iv_ruleStringEnumeration = null;
10901 10901
10902 } 10902
10903 10903 try {
10904 10904 // InternalApplicationConfiguration.g:4003:58: (iv_ruleStringEnumeration= ruleStringEnumeration EOF )
10905 } 10905 // InternalApplicationConfiguration.g:4004:2: iv_ruleStringEnumeration= ruleStringEnumeration EOF
10906 10906 {
10907 10907 newCompositeNode(grammarAccess.getStringEnumerationRule());
10908 } 10908 pushFollow(FOLLOW_1);
10909 10909 iv_ruleStringEnumeration=ruleStringEnumeration();
10910 10910
10911 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10911 state._fsp--;
10912 10912
10913 10913 current =iv_ruleStringEnumeration;
10914 } 10914 match(input,EOF,FOLLOW_2);
10915 10915
10916 10916 }
10917 } 10917
10918 10918 }
10919 10919
10920 } 10920 catch (RecognitionException re) {
10921 break; 10921 recover(input,re);
10922 case 9 : 10922 appendSkippedTokens();
10923 // InternalApplicationConfiguration.g:4055:4: ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) 10923 }
10924 { 10924 finally {
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 return current;
10927 { 10927 }
10928 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) { 10928 // $ANTLR end "entryRuleStringEnumeration"
10929 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)"); 10929
10930 } 10930
10931 // InternalApplicationConfiguration.g:4056:111: ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) 10931 // $ANTLR start "ruleStringEnumeration"
10932 // InternalApplicationConfiguration.g:4057:6: ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) 10932 // InternalApplicationConfiguration.g:4010:1: ruleStringEnumeration returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) ;
10933 { 10933 public final EObject ruleStringEnumeration() throws RecognitionException {
10934 10934 EObject current = null;
10935 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); 10935
10936 10936 Token otherlv_1=null;
10937 // InternalApplicationConfiguration.g:4060:9: ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) 10937 Token lv_entry_2_0=null;
10938 // InternalApplicationConfiguration.g:4060:10: {...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) 10938 Token otherlv_3=null;
10939 { 10939 Token lv_entry_4_0=null;
10940 if ( !((true)) ) { 10940 Token otherlv_5=null;
10941 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10941
10942 } 10942
10943 // InternalApplicationConfiguration.g:4060:19: (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) 10943 enterRule();
10944 // InternalApplicationConfiguration.g:4060:20: otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) 10944
10945 { 10945 try {
10946 otherlv_28=(Token)match(input,48,FOLLOW_12); 10946 // InternalApplicationConfiguration.g:4016:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) )
10947 10947 // InternalApplicationConfiguration.g:4017:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' )
10948 newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_8_0()); 10948 {
10949 10949 // InternalApplicationConfiguration.g:4017:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' )
10950 otherlv_29=(Token)match(input,17,FOLLOW_20); 10950 // InternalApplicationConfiguration.g:4018:3: () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}'
10951 10951 {
10952 newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); 10952 // InternalApplicationConfiguration.g:4018:3: ()
10953 10953 // InternalApplicationConfiguration.g:4019:4:
10954 // InternalApplicationConfiguration.g:4068:9: ( (lv_debugFolder_30_0= ruleFile ) ) 10954 {
10955 // InternalApplicationConfiguration.g:4069:10: (lv_debugFolder_30_0= ruleFile ) 10955
10956 { 10956 current = forceCreateModelElement(
10957 // InternalApplicationConfiguration.g:4069:10: (lv_debugFolder_30_0= ruleFile ) 10957 grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0(),
10958 // InternalApplicationConfiguration.g:4070:11: lv_debugFolder_30_0= ruleFile 10958 current);
10959 { 10959
10960 10960
10961 newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_8_2_0()); 10961 }
10962 10962
10963 pushFollow(FOLLOW_39); 10963 otherlv_1=(Token)match(input,18,FOLLOW_40);
10964 lv_debugFolder_30_0=ruleFile(); 10964
10965 10965 newLeafNode(otherlv_1, grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1());
10966 state._fsp--; 10966
10967 10967 // InternalApplicationConfiguration.g:4029:3: ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )?
10968 10968 int alt56=2;
10969 if (current==null) { 10969 int LA56_0 = input.LA(1);
10970 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 10970
10971 } 10971 if ( (LA56_0==RULE_STRING) ) {
10972 set( 10972 alt56=1;
10973 current, 10973 }
10974 "debugFolder", 10974 switch (alt56) {
10975 lv_debugFolder_30_0, 10975 case 1 :
10976 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 10976 // InternalApplicationConfiguration.g:4030:4: ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )*
10977 afterParserOrEnumRuleCall(); 10977 {
10978 10978 // InternalApplicationConfiguration.g:4030:4: ( (lv_entry_2_0= RULE_STRING ) )
10979 10979 // InternalApplicationConfiguration.g:4031:5: (lv_entry_2_0= RULE_STRING )
10980 } 10980 {
10981 10981 // InternalApplicationConfiguration.g:4031:5: (lv_entry_2_0= RULE_STRING )
10982 10982 // InternalApplicationConfiguration.g:4032:6: lv_entry_2_0= RULE_STRING
10983 } 10983 {
10984 10984 lv_entry_2_0=(Token)match(input,RULE_STRING,FOLLOW_14);
10985 10985
10986 } 10986 newLeafNode(lv_entry_2_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_0_0());
10987 10987
10988 10988
10989 } 10989 if (current==null) {
10990 10990 current = createModelElement(grammarAccess.getStringEnumerationRule());
10991 10991 }
10992 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10992 addWithLastConsumed(
10993 10993 current,
10994 10994 "entry",
10995 } 10995 lv_entry_2_0,
10996 10996 "org.eclipse.xtext.common.Terminals.STRING");
10997 10997
10998 } 10998
10999 10999 }
11000 11000
11001 } 11001
11002 break; 11002 }
11003 case 10 : 11003
11004 // InternalApplicationConfiguration.g:4093:4: ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) 11004 // InternalApplicationConfiguration.g:4048:4: (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )*
11005 { 11005 loop55:
11006 // InternalApplicationConfiguration.g:4093:4: ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) 11006 do {
11007 // InternalApplicationConfiguration.g:4094:5: {...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) 11007 int alt55=2;
11008 { 11008 int LA55_0 = input.LA(1);
11009 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) { 11009
11010 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)"); 11010 if ( (LA55_0==19) ) {
11011 } 11011 alt55=1;
11012 // InternalApplicationConfiguration.g:4094:111: ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) 11012 }
11013 // InternalApplicationConfiguration.g:4095:6: ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) 11013
11014 { 11014
11015 11015 switch (alt55) {
11016 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); 11016 case 1 :
11017 11017 // InternalApplicationConfiguration.g:4049:5: otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) )
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 otherlv_3=(Token)match(input,19,FOLLOW_10);
11020 { 11020
11021 if ( !((true)) ) { 11021 newLeafNode(otherlv_3, grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0());
11022 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 11022
11023 } 11023 // InternalApplicationConfiguration.g:4053:5: ( (lv_entry_4_0= RULE_STRING ) )
11024 // InternalApplicationConfiguration.g:4098:19: (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) 11024 // InternalApplicationConfiguration.g:4054:6: (lv_entry_4_0= RULE_STRING )
11025 // InternalApplicationConfiguration.g:4098:20: otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) 11025 {
11026 { 11026 // InternalApplicationConfiguration.g:4054:6: (lv_entry_4_0= RULE_STRING )
11027 otherlv_31=(Token)match(input,49,FOLLOW_12); 11027 // InternalApplicationConfiguration.g:4055:7: lv_entry_4_0= RULE_STRING
11028 11028 {
11029 newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_9_0()); 11029 lv_entry_4_0=(Token)match(input,RULE_STRING,FOLLOW_14);
11030 11030
11031 otherlv_32=(Token)match(input,17,FOLLOW_20); 11031 newLeafNode(lv_entry_4_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_1_1_0());
11032 11032
11033 newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); 11033
11034 11034 if (current==null) {
11035 // InternalApplicationConfiguration.g:4106:9: ( (lv_targetLogFile_33_0= ruleFile ) ) 11035 current = createModelElement(grammarAccess.getStringEnumerationRule());
11036 // InternalApplicationConfiguration.g:4107:10: (lv_targetLogFile_33_0= ruleFile ) 11036 }
11037 { 11037 addWithLastConsumed(
11038 // InternalApplicationConfiguration.g:4107:10: (lv_targetLogFile_33_0= ruleFile ) 11038 current,
11039 // InternalApplicationConfiguration.g:4108:11: lv_targetLogFile_33_0= ruleFile 11039 "entry",
11040 { 11040 lv_entry_4_0,
11041 11041 "org.eclipse.xtext.common.Terminals.STRING");
11042 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_9_2_0()); 11042
11043 11043
11044 pushFollow(FOLLOW_39); 11044 }
11045 lv_targetLogFile_33_0=ruleFile(); 11045
11046 11046
11047 state._fsp--; 11047 }
11048 11048
11049 11049
11050 if (current==null) { 11050 }
11051 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 11051 break;
11052 } 11052
11053 set( 11053 default :
11054 current, 11054 break loop55;
11055 "targetLogFile", 11055 }
11056 lv_targetLogFile_33_0, 11056 } while (true);
11057 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 11057
11058 afterParserOrEnumRuleCall(); 11058
11059 11059 }
11060 11060 break;
11061 } 11061
11062 11062 }
11063 11063
11064 } 11064 otherlv_5=(Token)match(input,20,FOLLOW_2);
11065 11065
11066 11066 newLeafNode(otherlv_5, grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3());
11067 } 11067
11068 11068
11069 11069 }
11070 } 11070
11071 11071
11072 11072 }
11073 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 11073
11074 11074
11075 11075 leaveRule();
11076 } 11076
11077 11077 }
11078 11078
11079 } 11079 catch (RecognitionException re) {
11080 11080 recover(input,re);
11081 11081 appendSkippedTokens();
11082 } 11082 }
11083 break; 11083 finally {
11084 case 11 : 11084 }
11085 // InternalApplicationConfiguration.g:4131:4: ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) 11085 return current;
11086 { 11086 }
11087 // InternalApplicationConfiguration.g:4131:4: ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) 11087 // $ANTLR end "ruleStringEnumeration"
11088 // InternalApplicationConfiguration.g:4132:5: {...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) 11088
11089 { 11089
11090 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) { 11090 // $ANTLR start "entryRuleScopeDeclaration"
11091 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)"); 11091 // InternalApplicationConfiguration.g:4081:1: entryRuleScopeDeclaration returns [EObject current=null] : iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ;
11092 } 11092 public final EObject entryRuleScopeDeclaration() throws RecognitionException {
11093 // InternalApplicationConfiguration.g:4132:112: ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) 11093 EObject current = null;
11094 // InternalApplicationConfiguration.g:4133:6: ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) 11094
11095 { 11095 EObject iv_ruleScopeDeclaration = null;
11096 11096
11097 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); 11097
11098 11098 try {
11099 // InternalApplicationConfiguration.g:4136:9: ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) 11099 // InternalApplicationConfiguration.g:4081:57: (iv_ruleScopeDeclaration= ruleScopeDeclaration EOF )
11100 // InternalApplicationConfiguration.g:4136:10: {...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) 11100 // InternalApplicationConfiguration.g:4082:2: iv_ruleScopeDeclaration= ruleScopeDeclaration EOF
11101 { 11101 {
11102 if ( !((true)) ) { 11102 newCompositeNode(grammarAccess.getScopeDeclarationRule());
11103 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 11103 pushFollow(FOLLOW_1);
11104 } 11104 iv_ruleScopeDeclaration=ruleScopeDeclaration();
11105 // InternalApplicationConfiguration.g:4136:19: (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) 11105
11106 // InternalApplicationConfiguration.g:4136:20: otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) 11106 state._fsp--;
11107 { 11107
11108 otherlv_34=(Token)match(input,50,FOLLOW_12); 11108 current =iv_ruleScopeDeclaration;
11109 11109 match(input,EOF,FOLLOW_2);
11110 newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_10_0()); 11110
11111 11111 }
11112 otherlv_35=(Token)match(input,17,FOLLOW_20); 11112
11113 11113 }
11114 newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); 11114
11115 11115 catch (RecognitionException re) {
11116 // InternalApplicationConfiguration.g:4144:9: ( (lv_targetStatisticsFile_36_0= ruleFile ) ) 11116 recover(input,re);
11117 // InternalApplicationConfiguration.g:4145:10: (lv_targetStatisticsFile_36_0= ruleFile ) 11117 appendSkippedTokens();
11118 { 11118 }
11119 // InternalApplicationConfiguration.g:4145:10: (lv_targetStatisticsFile_36_0= ruleFile ) 11119 finally {
11120 // InternalApplicationConfiguration.g:4146:11: lv_targetStatisticsFile_36_0= ruleFile 11120 }
11121 { 11121 return current;
11122 11122 }
11123 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_10_2_0()); 11123 // $ANTLR end "entryRuleScopeDeclaration"
11124 11124
11125 pushFollow(FOLLOW_39); 11125
11126 lv_targetStatisticsFile_36_0=ruleFile(); 11126 // $ANTLR start "ruleScopeDeclaration"
11127 11127 // InternalApplicationConfiguration.g:4088:1: ruleScopeDeclaration returns [EObject current=null] : (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ;
11128 state._fsp--; 11128 public final EObject ruleScopeDeclaration() throws RecognitionException {
11129 11129 EObject current = null;
11130 11130
11131 if (current==null) { 11131 Token otherlv_0=null;
11132 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 11132 Token lv_name_1_0=null;
11133 } 11133 EObject lv_specification_2_0 = null;
11134 set( 11134
11135 current, 11135
11136 "targetStatisticsFile", 11136
11137 lv_targetStatisticsFile_36_0, 11137 enterRule();
11138 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 11138
11139 afterParserOrEnumRuleCall(); 11139 try {
11140 11140 // InternalApplicationConfiguration.g:4094:2: ( (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) )
11141 11141 // InternalApplicationConfiguration.g:4095:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) )
11142 } 11142 {
11143 11143 // InternalApplicationConfiguration.g:4095:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) )
11144 11144 // InternalApplicationConfiguration.g:4096:3: otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) )
11145 } 11145 {
11146 11146 otherlv_0=(Token)match(input,44,FOLLOW_6);
11147 11147
11148 } 11148 newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0());
11149 11149
11150 11150 // InternalApplicationConfiguration.g:4100:3: ( (lv_name_1_0= RULE_ID ) )
11151 } 11151 // InternalApplicationConfiguration.g:4101:4: (lv_name_1_0= RULE_ID )
11152 11152 {
11153 11153 // InternalApplicationConfiguration.g:4101:4: (lv_name_1_0= RULE_ID )
11154 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 11154 // InternalApplicationConfiguration.g:4102:5: lv_name_1_0= RULE_ID
11155 11155 {
11156 11156 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16);
11157 } 11157
11158 11158 newLeafNode(lv_name_1_0, grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0());
11159 11159
11160 } 11160
11161 11161 if (current==null) {
11162 11162 current = createModelElement(grammarAccess.getScopeDeclarationRule());
11163 } 11163 }
11164 break; 11164 setWithLastConsumed(
11165 case 12 : 11165 current,
11166 // InternalApplicationConfiguration.g:4169:4: ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) 11166 "name",
11167 { 11167 lv_name_1_0,
11168 // InternalApplicationConfiguration.g:4169:4: ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) 11168 "org.eclipse.xtext.common.Terminals.ID");
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
11176 { 11176 // InternalApplicationConfiguration.g:4118:3: ( (lv_specification_2_0= ruleScopeSpecification ) )
11177 11177 // InternalApplicationConfiguration.g:4119:4: (lv_specification_2_0= ruleScopeSpecification )
11178 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); 11178 {
11179 11179 // InternalApplicationConfiguration.g:4119:4: (lv_specification_2_0= ruleScopeSpecification )
11180 // InternalApplicationConfiguration.g:4174:9: ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) 11180 // InternalApplicationConfiguration.g:4120:5: lv_specification_2_0= ruleScopeSpecification
11181 // InternalApplicationConfiguration.g:4174:10: {...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) 11181 {
11182 { 11182
11183 if ( !((true)) ) { 11183 newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0());
11184 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 11184
11185 } 11185 pushFollow(FOLLOW_2);
11186 // InternalApplicationConfiguration.g:4174:19: (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) 11186 lv_specification_2_0=ruleScopeSpecification();
11187 // InternalApplicationConfiguration.g:4174:20: otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) 11187
11188 { 11188 state._fsp--;
11189 otherlv_37=(Token)match(input,51,FOLLOW_12); 11189
11190 11190
11191 newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_11_0()); 11191 if (current==null) {
11192 11192 current = createModelElementForParent(grammarAccess.getScopeDeclarationRule());
11193 otherlv_38=(Token)match(input,17,FOLLOW_20); 11193 }
11194 11194 set(
11195 newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); 11195 current,
11196 11196 "specification",
11197 // InternalApplicationConfiguration.g:4182:9: ( (lv_tagetFolder_39_0= ruleFile ) ) 11197 lv_specification_2_0,
11198 // InternalApplicationConfiguration.g:4183:10: (lv_tagetFolder_39_0= ruleFile ) 11198 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification");
11199 { 11199 afterParserOrEnumRuleCall();
11200 // InternalApplicationConfiguration.g:4183:10: (lv_tagetFolder_39_0= ruleFile ) 11200
11201 // InternalApplicationConfiguration.g:4184:11: lv_tagetFolder_39_0= ruleFile 11201
11202 { 11202 }
11203 11203
11204 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_11_2_0()); 11204
11205 11205 }
11206 pushFollow(FOLLOW_39); 11206
11207 lv_tagetFolder_39_0=ruleFile(); 11207
11208 11208 }
11209 state._fsp--; 11209
11210 11210
11211 11211 }
11212 if (current==null) { 11212
11213 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 11213
11214 } 11214 leaveRule();
11215 set( 11215
11216 current, 11216 }
11217 "tagetFolder", 11217
11218 lv_tagetFolder_39_0, 11218 catch (RecognitionException re) {
11219 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 11219 recover(input,re);
11220 afterParserOrEnumRuleCall(); 11220 appendSkippedTokens();
11221 11221 }
11222 11222 finally {
11223 } 11223 }
11224 11224 return current;
11225 11225 }
11226 } 11226 // $ANTLR end "ruleScopeDeclaration"
11227 11227
11228 11228
11229 } 11229 // $ANTLR start "entryRuleScopeReference"
11230 11230 // InternalApplicationConfiguration.g:4141:1: entryRuleScopeReference returns [EObject current=null] : iv_ruleScopeReference= ruleScopeReference EOF ;
11231 11231 public final EObject entryRuleScopeReference() throws RecognitionException {
11232 } 11232 EObject current = null;
11233 11233
11234 11234 EObject iv_ruleScopeReference = null;
11235 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 11235
11236 11236
11237 11237 try {
11238 } 11238 // InternalApplicationConfiguration.g:4141:55: (iv_ruleScopeReference= ruleScopeReference EOF )
11239 11239 // InternalApplicationConfiguration.g:4142:2: iv_ruleScopeReference= ruleScopeReference EOF
11240 11240 {
11241 } 11241 newCompositeNode(grammarAccess.getScopeReferenceRule());
11242 11242 pushFollow(FOLLOW_1);
11243 11243 iv_ruleScopeReference=ruleScopeReference();
11244 } 11244
11245 break; 11245 state._fsp--;
11246 11246
11247 default : 11247 current =iv_ruleScopeReference;
11248 break loop54; 11248 match(input,EOF,FOLLOW_2);
11249 } 11249
11250 } while (true); 11250 }
11251 11251
11252 11252 }
11253 } 11253
11254 11254 catch (RecognitionException re) {
11255 11255 recover(input,re);
11256 } 11256 appendSkippedTokens();
11257 11257 }
11258 11258 finally {
11259 getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 11259 }
11260 11260 return current;
11261 11261 }
11262 } 11262 // $ANTLR end "entryRuleScopeReference"
11263 11263
11264 otherlv_40=(Token)match(input,20,FOLLOW_2); 11264
11265 11265 // $ANTLR start "ruleScopeReference"
11266 newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); 11266 // InternalApplicationConfiguration.g:4148:1: ruleScopeReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
11267 11267 public final EObject ruleScopeReference() throws RecognitionException {
11268 11268 EObject current = null;
11269 } 11269
11270 11270 Token otherlv_0=null;
11271 11271
11272 } 11272
11273 11273 enterRule();
11274 11274
11275 leaveRule(); 11275 try {
11276 11276 // InternalApplicationConfiguration.g:4154:2: ( ( (otherlv_0= RULE_ID ) ) )
11277 } 11277 // InternalApplicationConfiguration.g:4155:2: ( (otherlv_0= RULE_ID ) )
11278 11278 {
11279 catch (RecognitionException re) { 11279 // InternalApplicationConfiguration.g:4155:2: ( (otherlv_0= RULE_ID ) )
11280 recover(input,re); 11280 // InternalApplicationConfiguration.g:4156:3: (otherlv_0= RULE_ID )
11281 appendSkippedTokens(); 11281 {
11282 } 11282 // InternalApplicationConfiguration.g:4156:3: (otherlv_0= RULE_ID )
11283 finally { 11283 // InternalApplicationConfiguration.g:4157:4: otherlv_0= RULE_ID
11284 } 11284 {
11285 return current; 11285
11286 } 11286 if (current==null) {
11287 // $ANTLR end "ruleGenerationTask" 11287 current = createModelElement(grammarAccess.getScopeReferenceRule());
11288 11288 }
11289 11289
11290 // $ANTLR start "ruleDocumentLevelSpecification" 11290 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2);
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 newLeafNode(otherlv_0, grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0());
11293 Enumerator current = null; 11293
11294 11294
11295 Token enumLiteral_0=null; 11295 }
11296 Token enumLiteral_1=null; 11296
11297 Token enumLiteral_2=null; 11297
11298 11298 }
11299 11299
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 leaveRule();
11305 { 11305
11306 // InternalApplicationConfiguration.g:4229:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) 11306 }
11307 int alt55=3; 11307
11308 switch ( input.LA(1) ) { 11308 catch (RecognitionException re) {
11309 case 52: 11309 recover(input,re);
11310 { 11310 appendSkippedTokens();
11311 alt55=1; 11311 }
11312 } 11312 finally {
11313 break; 11313 }
11314 case 53: 11314 return current;
11315 { 11315 }
11316 alt55=2; 11316 // $ANTLR end "ruleScopeReference"
11317 } 11317
11318 break; 11318
11319 case 54: 11319 // $ANTLR start "entryRuleScope"
11320 { 11320 // InternalApplicationConfiguration.g:4171:1: entryRuleScope returns [EObject current=null] : iv_ruleScope= ruleScope EOF ;
11321 alt55=3; 11321 public final EObject entryRuleScope() throws RecognitionException {
11322 } 11322 EObject current = null;
11323 break; 11323
11324 default: 11324 EObject iv_ruleScope = null;
11325 NoViableAltException nvae = 11325
11326 new NoViableAltException("", 55, 0, input); 11326
11327 11327 try {
11328 throw nvae; 11328 // InternalApplicationConfiguration.g:4171:46: (iv_ruleScope= ruleScope EOF )
11329 } 11329 // InternalApplicationConfiguration.g:4172:2: iv_ruleScope= ruleScope EOF
11330 11330 {
11331 switch (alt55) { 11331 newCompositeNode(grammarAccess.getScopeRule());
11332 case 1 : 11332 pushFollow(FOLLOW_1);
11333 // InternalApplicationConfiguration.g:4230:3: (enumLiteral_0= 'none' ) 11333 iv_ruleScope=ruleScope();
11334 { 11334
11335 // InternalApplicationConfiguration.g:4230:3: (enumLiteral_0= 'none' ) 11335 state._fsp--;
11336 // InternalApplicationConfiguration.g:4231:4: enumLiteral_0= 'none' 11336
11337 { 11337 current =iv_ruleScope;
11338 enumLiteral_0=(Token)match(input,52,FOLLOW_2); 11338 match(input,EOF,FOLLOW_2);
11339 11339
11340 current = grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); 11340 }
11341 newLeafNode(enumLiteral_0, grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0()); 11341
11342 11342 }
11343 11343
11344 } 11344 catch (RecognitionException re) {
11345 11345 recover(input,re);
11346 11346 appendSkippedTokens();
11347 } 11347 }
11348 break; 11348 finally {
11349 case 2 : 11349 }
11350 // InternalApplicationConfiguration.g:4238:3: (enumLiteral_1= 'normal' ) 11350 return current;
11351 { 11351 }
11352 // InternalApplicationConfiguration.g:4238:3: (enumLiteral_1= 'normal' ) 11352 // $ANTLR end "entryRuleScope"
11353 // InternalApplicationConfiguration.g:4239:4: enumLiteral_1= 'normal' 11353
11354 { 11354
11355 enumLiteral_1=(Token)match(input,53,FOLLOW_2); 11355 // $ANTLR start "ruleScope"
11356 11356 // InternalApplicationConfiguration.g:4178:1: ruleScope returns [EObject current=null] : (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ;
11357 current = grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); 11357 public final EObject ruleScope() throws RecognitionException {
11358 newLeafNode(enumLiteral_1, grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1()); 11358 EObject current = null;
11359 11359
11360 11360 EObject this_ScopeSpecification_0 = null;
11361 } 11361
11362 11362 EObject this_ScopeReference_1 = null;
11363 11363
11364 } 11364
11365 break; 11365
11366 case 3 : 11366 enterRule();
11367 // InternalApplicationConfiguration.g:4246:3: (enumLiteral_2= 'full' ) 11367
11368 { 11368 try {
11369 // InternalApplicationConfiguration.g:4246:3: (enumLiteral_2= 'full' ) 11369 // InternalApplicationConfiguration.g:4184:2: ( (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) )
11370 // InternalApplicationConfiguration.g:4247:4: enumLiteral_2= 'full' 11370 // InternalApplicationConfiguration.g:4185:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference )
11371 { 11371 {
11372 enumLiteral_2=(Token)match(input,54,FOLLOW_2); 11372 // InternalApplicationConfiguration.g:4185:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference )
11373 11373 int alt57=2;
11374 current = grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); 11374 int LA57_0 = input.LA(1);
11375 newLeafNode(enumLiteral_2, grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2()); 11375
11376 11376 if ( (LA57_0==18) ) {
11377 11377 alt57=1;
11378 } 11378 }
11379 11379 else if ( (LA57_0==RULE_ID) ) {
11380 11380 alt57=2;
11381 } 11381 }
11382 break; 11382 else {
11383 11383 NoViableAltException nvae =
11384 } 11384 new NoViableAltException("", 57, 0, input);
11385 11385
11386 11386 throw nvae;
11387 } 11387 }
11388 11388 switch (alt57) {
11389 11389 case 1 :
11390 leaveRule(); 11390 // InternalApplicationConfiguration.g:4186:3: this_ScopeSpecification_0= ruleScopeSpecification
11391 11391 {
11392 } 11392
11393 11393 newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0());
11394 catch (RecognitionException re) { 11394
11395 recover(input,re); 11395 pushFollow(FOLLOW_2);
11396 appendSkippedTokens(); 11396 this_ScopeSpecification_0=ruleScopeSpecification();
11397 } 11397
11398 finally { 11398 state._fsp--;
11399 } 11399
11400 return current; 11400
11401 } 11401 current = this_ScopeSpecification_0;
11402 // $ANTLR end "ruleDocumentLevelSpecification" 11402 afterParserOrEnumRuleCall();
11403 11403
11404 11404
11405 // $ANTLR start "ruleSolver" 11405 }
11406 // InternalApplicationConfiguration.g:4257:1: ruleSolver returns [Enumerator current=null] : ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ; 11406 break;
11407 public final Enumerator ruleSolver() throws RecognitionException { 11407 case 2 :
11408 Enumerator current = null; 11408 // InternalApplicationConfiguration.g:4195:3: this_ScopeReference_1= ruleScopeReference
11409 11409 {
11410 Token enumLiteral_0=null; 11410
11411 Token enumLiteral_1=null; 11411 newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1());
11412 Token enumLiteral_2=null; 11412
11413 11413 pushFollow(FOLLOW_2);
11414 11414 this_ScopeReference_1=ruleScopeReference();
11415 enterRule(); 11415
11416 11416 state._fsp--;
11417 try { 11417
11418 // InternalApplicationConfiguration.g:4263:2: ( ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ) 11418
11419 // InternalApplicationConfiguration.g:4264:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) 11419 current = this_ScopeReference_1;
11420 { 11420 afterParserOrEnumRuleCall();
11421 // InternalApplicationConfiguration.g:4264:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) 11421
11422 int alt56=3; 11422
11423 switch ( input.LA(1) ) { 11423 }
11424 case 55: 11424 break;
11425 { 11425
11426 alt56=1; 11426 }
11427 } 11427
11428 break; 11428
11429 case 56: 11429 }
11430 { 11430
11431 alt56=2; 11431
11432 } 11432 leaveRule();
11433 break; 11433
11434 case 57: 11434 }
11435 { 11435
11436 alt56=3; 11436 catch (RecognitionException re) {
11437 } 11437 recover(input,re);
11438 break; 11438 appendSkippedTokens();
11439 default: 11439 }
11440 NoViableAltException nvae = 11440 finally {
11441 new NoViableAltException("", 56, 0, input); 11441 }
11442 11442 return current;
11443 throw nvae; 11443 }
11444 } 11444 // $ANTLR end "ruleScope"
11445 11445
11446 switch (alt56) { 11446
11447 case 1 : 11447 // $ANTLR start "entryRuleTask"
11448 // InternalApplicationConfiguration.g:4265:3: (enumLiteral_0= 'SMTSolver' ) 11448 // InternalApplicationConfiguration.g:4207:1: entryRuleTask returns [EObject current=null] : iv_ruleTask= ruleTask EOF ;
11449 { 11449 public final EObject entryRuleTask() throws RecognitionException {
11450 // InternalApplicationConfiguration.g:4265:3: (enumLiteral_0= 'SMTSolver' ) 11450 EObject current = null;
11451 // InternalApplicationConfiguration.g:4266:4: enumLiteral_0= 'SMTSolver' 11451
11452 { 11452 EObject iv_ruleTask = null;
11453 enumLiteral_0=(Token)match(input,55,FOLLOW_2); 11453
11454 11454
11455 current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); 11455 try {
11456 newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); 11456 // InternalApplicationConfiguration.g:4207:45: (iv_ruleTask= ruleTask EOF )
11457 11457 // InternalApplicationConfiguration.g:4208:2: iv_ruleTask= ruleTask EOF
11458 11458 {
11459 } 11459 newCompositeNode(grammarAccess.getTaskRule());
11460 11460 pushFollow(FOLLOW_1);
11461 11461 iv_ruleTask=ruleTask();
11462 } 11462
11463 break; 11463 state._fsp--;
11464 case 2 : 11464
11465 // InternalApplicationConfiguration.g:4273:3: (enumLiteral_1= 'AlloySolver' ) 11465 current =iv_ruleTask;
11466 { 11466 match(input,EOF,FOLLOW_2);
11467 // InternalApplicationConfiguration.g:4273:3: (enumLiteral_1= 'AlloySolver' ) 11467
11468 // InternalApplicationConfiguration.g:4274:4: enumLiteral_1= 'AlloySolver' 11468 }
11469 { 11469
11470 enumLiteral_1=(Token)match(input,56,FOLLOW_2); 11470 }
11471 11471
11472 current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); 11472 catch (RecognitionException re) {
11473 newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); 11473 recover(input,re);
11474 11474 appendSkippedTokens();
11475 11475 }
11476 } 11476 finally {
11477 11477 }
11478 11478 return current;
11479 } 11479 }
11480 break; 11480 // $ANTLR end "entryRuleTask"
11481 case 3 : 11481
11482 // InternalApplicationConfiguration.g:4281:3: (enumLiteral_2= 'ViatraSolver' ) 11482
11483 { 11483 // $ANTLR start "ruleTask"
11484 // InternalApplicationConfiguration.g:4281:3: (enumLiteral_2= 'ViatraSolver' ) 11484 // InternalApplicationConfiguration.g:4214:1: ruleTask returns [EObject current=null] : this_GenerationTask_0= ruleGenerationTask ;
11485 // InternalApplicationConfiguration.g:4282:4: enumLiteral_2= 'ViatraSolver' 11485 public final EObject ruleTask() throws RecognitionException {
11486 { 11486 EObject current = null;
11487 enumLiteral_2=(Token)match(input,57,FOLLOW_2); 11487
11488 11488 EObject this_GenerationTask_0 = null;
11489 current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); 11489
11490 newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); 11490
11491 11491
11492 11492 enterRule();
11493 } 11493
11494 11494 try {
11495 11495 // InternalApplicationConfiguration.g:4220:2: (this_GenerationTask_0= ruleGenerationTask )
11496 } 11496 // InternalApplicationConfiguration.g:4221:2: this_GenerationTask_0= ruleGenerationTask
11497 break; 11497 {
11498 11498
11499 } 11499 newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall());
11500 11500
11501 11501 pushFollow(FOLLOW_2);
11502 } 11502 this_GenerationTask_0=ruleGenerationTask();
11503 11503
11504 11504 state._fsp--;
11505 leaveRule(); 11505
11506 11506
11507 } 11507 current = this_GenerationTask_0;
11508 11508 afterParserOrEnumRuleCall();
11509 catch (RecognitionException re) { 11509
11510 recover(input,re); 11510
11511 appendSkippedTokens(); 11511 }
11512 } 11512
11513 finally { 11513
11514 } 11514 leaveRule();
11515 return current; 11515
11516 } 11516 }
11517 // $ANTLR end "ruleSolver" 11517
11518 11518 catch (RecognitionException re) {
11519 // Delegated rules 11519 recover(input,re);
11520 11520 appendSkippedTokens();
11521 11521 }
11522 protected DFA54 dfa54 = new DFA54(this); 11522 finally {
11523 static final String dfa_1s = "\16\uffff"; 11523 }
11524 static final String dfa_2s = "\1\24\15\uffff"; 11524 return current;
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 end "ruleTask"
11527 static final String dfa_5s = "\1\0\15\uffff}>"; 11527
11528 static final String[] dfa_6s = { 11528
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 // $ANTLR start "entryRuleGenerationTask"
11530 "", 11530 // InternalApplicationConfiguration.g:4232:1: entryRuleGenerationTask returns [EObject current=null] : iv_ruleGenerationTask= ruleGenerationTask EOF ;
11531 "", 11531 public final EObject entryRuleGenerationTask() throws RecognitionException {
11532 "", 11532 EObject current = null;
11533 "", 11533
11534 "", 11534 EObject iv_ruleGenerationTask = null;
11535 "", 11535
11536 "", 11536
11537 "", 11537 try {
11538 "", 11538 // InternalApplicationConfiguration.g:4232:55: (iv_ruleGenerationTask= ruleGenerationTask EOF )
11539 "", 11539 // InternalApplicationConfiguration.g:4233:2: iv_ruleGenerationTask= ruleGenerationTask EOF
11540 "", 11540 {
11541 "", 11541 newCompositeNode(grammarAccess.getGenerationTaskRule());
11542 "" 11542 pushFollow(FOLLOW_1);
11543 }; 11543 iv_ruleGenerationTask=ruleGenerationTask();
11544 11544
11545 static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s); 11545 state._fsp--;
11546 static final char[] dfa_2 = DFA.unpackEncodedStringToUnsignedChars(dfa_2s); 11546
11547 static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s); 11547 current =iv_ruleGenerationTask;
11548 static final short[] dfa_4 = DFA.unpackEncodedString(dfa_4s); 11548 match(input,EOF,FOLLOW_2);
11549 static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s); 11549
11550 static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s); 11550 }
11551 11551
11552 class DFA54 extends DFA { 11552 }
11553 11553
11554 public DFA54(BaseRecognizer recognizer) { 11554 catch (RecognitionException re) {
11555 this.recognizer = recognizer; 11555 recover(input,re);
11556 this.decisionNumber = 54; 11556 appendSkippedTokens();
11557 this.eot = dfa_1; 11557 }
11558 this.eof = dfa_1; 11558 finally {
11559 this.min = dfa_2; 11559 }
11560 this.max = dfa_3; 11560 return current;
11561 this.accept = dfa_4; 11561 }
11562 this.special = dfa_5; 11562 // $ANTLR end "entryRuleGenerationTask"
11563 this.transition = dfa_6; 11563
11564 } 11564
11565 public String getDescription() { 11565 // $ANTLR start "ruleGenerationTask"
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 // InternalApplicationConfiguration.g:4239: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= '}' ) ;
11567 } 11567 public final EObject ruleGenerationTask() throws RecognitionException {
11568 public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { 11568 EObject current = null;
11569 TokenStream input = (TokenStream)_input; 11569
11570 int _s = s; 11570 Token otherlv_0=null;
11571 switch ( s ) { 11571 Token otherlv_2=null;
11572 case 0 : 11572 Token otherlv_4=null;
11573 int LA54_0 = input.LA(1); 11573 Token otherlv_5=null;
11574 11574 Token otherlv_7=null;
11575 11575 Token otherlv_8=null;
11576 int index54_0 = input.index(); 11576 Token otherlv_10=null;
11577 input.rewind(); 11577 Token otherlv_11=null;
11578 s = -1; 11578 Token otherlv_13=null;
11579 if ( (LA54_0==20) ) {s = 1;} 11579 Token otherlv_14=null;
11580 11580 Token otherlv_16=null;
11581 else if ( LA54_0 == 24 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 2;} 11581 Token otherlv_17=null;
11582 11582 Token lv_numberSpecified_19_0=null;
11583 else if ( LA54_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 3;} 11583 Token otherlv_20=null;
11584 11584 Token lv_number_21_0=null;
11585 else if ( LA54_0 == 27 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 4;} 11585 Token lv_runSpecified_22_0=null;
11586 11586 Token otherlv_23=null;
11587 else if ( LA54_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 5;} 11587 Token lv_runs_24_0=null;
11588 11588 Token otherlv_25=null;
11589 else if ( LA54_0 == 45 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 6;} 11589 Token otherlv_26=null;
11590 11590 Token otherlv_28=null;
11591 else if ( LA54_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 7;} 11591 Token otherlv_29=null;
11592 11592 Token otherlv_31=null;
11593 else if ( LA54_0 == 47 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 8;} 11593 Token otherlv_32=null;
11594 11594 Token otherlv_34=null;
11595 else if ( LA54_0 == 28 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 9;} 11595 Token otherlv_35=null;
11596 11596 Token otherlv_37=null;
11597 else if ( LA54_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 10;} 11597 Token otherlv_38=null;
11598 11598 Token otherlv_40=null;
11599 else if ( LA54_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 11;} 11599 Token otherlv_41=null;
11600 11600 Token otherlv_43=null;
11601 else if ( LA54_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 12;} 11601 EObject lv_metamodel_6_0 = null;
11602 11602
11603 else if ( LA54_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 13;} 11603 EObject lv_partialModel_9_0 = null;
11604 11604
11605 11605 EObject lv_patterns_12_0 = null;
11606 input.seek(index54_0); 11606
11607 if ( s>=0 ) return s; 11607 EObject lv_objectives_15_0 = null;
11608 break; 11608
11609 } 11609 EObject lv_scope_18_0 = null;
11610 NoViableAltException nvae = 11610
11611 new NoViableAltException(getDescription(), 54, _s, input); 11611 Enumerator lv_solver_27_0 = null;
11612 error(nvae); 11612
11613 throw nvae; 11613 EObject lv_config_30_0 = null;
11614 } 11614
11615 } 11615 EObject lv_debugFolder_33_0 = null;
11616 11616
11617 11617 EObject lv_targetLogFile_36_0 = null;
11618 public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); 11618
11619 public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); 11619 EObject lv_targetStatisticsFile_39_0 = null;
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 EObject lv_tagetFolder_42_0 = null;
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
11624 public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000000020L}); 11624
11625 public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000800L}); 11625 enterRule();
11626 public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000004000L}); 11626
11627 public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000000040L}); 11627 try {
11628 public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000008000L}); 11628 // InternalApplicationConfiguration.g:4245: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= '}' ) )
11629 public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000020000L}); 11629 // InternalApplicationConfiguration.g:4246: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= '}' )
11630 public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000200010L}); 11630 {
11631 public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000180000L}); 11631 // InternalApplicationConfiguration.g:4246: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= '}' )
11632 public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000400002L}); 11632 // InternalApplicationConfiguration.g:4247: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= '}'
11633 public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000040000L}); 11633 {
11634 public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000800000L}); 11634 otherlv_0=(Token)match(input,45,FOLLOW_16);
11635 public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000002000050L}); 11635
11636 public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000100000L}); 11636 newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0());
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 // InternalApplicationConfiguration.g:4251:3: ()
11639 public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x00000000E0000040L}); 11639 // InternalApplicationConfiguration.g:4252:4:
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
11642 public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000100000000L}); 11642 current = forceCreateModelElement(
11643 public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000400000000L}); 11643 grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(),
11644 public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000200020000L}); 11644 current);
11645 public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000010000000020L}); 11645
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 }
11648 public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000010000040020L}); 11648
11649 public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000004000000000L}); 11649 otherlv_2=(Token)match(input,18,FOLLOW_41);
11650 public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000008000000000L}); 11650
11651 public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000800000000L}); 11651 newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2());
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:4262: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 ) ) ) ) ) ) )* ) ) )
11654 public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000000000001020L}); 11654 // InternalApplicationConfiguration.g:4263: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 ) ) ) ) ) ) )* ) )
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 // InternalApplicationConfiguration.g:4263: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 ) ) ) ) ) ) )* ) )
11657 public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000000040010L}); 11657 // InternalApplicationConfiguration.g:4264: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 ) ) ) ) ) ) )* )
11658 public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0380000000000000L}); 11658 {
11659 11659
11660} 11660 getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
11661
11662 // InternalApplicationConfiguration.g:4267: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 ) ) ) ) ) ) )* )
11663 // InternalApplicationConfiguration.g:4268: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 ) ) ) ) ) ) )*
11664 {
11665 // InternalApplicationConfiguration.g:4268: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 ) ) ) ) ) ) )*
11666 loop58:
11667 do {
11668 int alt58=14;
11669 alt58 = dfa58.predict(input);
11670 switch (alt58) {
11671 case 1 :
11672 // InternalApplicationConfiguration.g:4269:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) )
11673 {
11674 // InternalApplicationConfiguration.g:4269:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) )
11675 // InternalApplicationConfiguration.g:4270:5: {...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) )
11676 {
11677 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {
11678 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)");
11679 }
11680 // InternalApplicationConfiguration.g:4270:111: ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) )
11681 // InternalApplicationConfiguration.g:4271:6: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) )
11682 {
11683
11684 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0);
11685
11686 // InternalApplicationConfiguration.g:4274:9: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) )
11687 // InternalApplicationConfiguration.g:4274:10: {...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) )
11688 {
11689 if ( !((true)) ) {
11690 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
11691 }
11692 // InternalApplicationConfiguration.g:4274:19: (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) )
11693 // InternalApplicationConfiguration.g:4274:20: otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) )
11694 {
11695 otherlv_4=(Token)match(input,24,FOLLOW_12);
11696
11697 newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0());
11698
11699 otherlv_5=(Token)match(input,17,FOLLOW_42);
11700
11701 newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1());
11702
11703 // InternalApplicationConfiguration.g:4282:9: ( (lv_metamodel_6_0= ruleMetamodel ) )
11704 // InternalApplicationConfiguration.g:4283:10: (lv_metamodel_6_0= ruleMetamodel )
11705 {
11706 // InternalApplicationConfiguration.g:4283:10: (lv_metamodel_6_0= ruleMetamodel )
11707 // InternalApplicationConfiguration.g:4284:11: lv_metamodel_6_0= ruleMetamodel
11708 {
11709
11710 newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0());
11711
11712 pushFollow(FOLLOW_41);
11713 lv_metamodel_6_0=ruleMetamodel();
11714
11715 state._fsp--;
11716
11717
11718 if (current==null) {
11719 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
11720 }
11721 set(
11722 current,
11723 "metamodel",
11724 lv_metamodel_6_0,
11725 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel");
11726 afterParserOrEnumRuleCall();
11727
11728
11729 }
11730
11731
11732 }
11733
11734
11735 }
11736
11737
11738 }
11739
11740
11741 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
11742
11743
11744 }
11745
11746
11747 }
11748
11749
11750 }
11751 break;
11752 case 2 :
11753 // InternalApplicationConfiguration.g:4307:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) )
11754 {
11755 // InternalApplicationConfiguration.g:4307:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) )
11756 // InternalApplicationConfiguration.g:4308:5: {...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) )
11757 {
11758 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {
11759 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)");
11760 }
11761 // InternalApplicationConfiguration.g:4308:111: ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) )
11762 // InternalApplicationConfiguration.g:4309:6: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) )
11763 {
11764
11765 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1);
11766
11767 // InternalApplicationConfiguration.g:4312:9: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) )
11768 // InternalApplicationConfiguration.g:4312:10: {...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) )
11769 {
11770 if ( !((true)) ) {
11771 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
11772 }
11773 // InternalApplicationConfiguration.g:4312:19: (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) )
11774 // InternalApplicationConfiguration.g:4312:20: otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) )
11775 {
11776 otherlv_7=(Token)match(input,46,FOLLOW_12);
11777
11778 newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0());
11779
11780 otherlv_8=(Token)match(input,17,FOLLOW_42);
11781
11782 newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1());
11783
11784 // InternalApplicationConfiguration.g:4320:9: ( (lv_partialModel_9_0= rulePartialModel ) )
11785 // InternalApplicationConfiguration.g:4321:10: (lv_partialModel_9_0= rulePartialModel )
11786 {
11787 // InternalApplicationConfiguration.g:4321:10: (lv_partialModel_9_0= rulePartialModel )
11788 // InternalApplicationConfiguration.g:4322:11: lv_partialModel_9_0= rulePartialModel
11789 {
11790
11791 newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0());
11792
11793 pushFollow(FOLLOW_41);
11794 lv_partialModel_9_0=rulePartialModel();
11795
11796 state._fsp--;
11797
11798
11799 if (current==null) {
11800 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
11801 }
11802 set(
11803 current,
11804 "partialModel",
11805 lv_partialModel_9_0,
11806 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel");
11807 afterParserOrEnumRuleCall();
11808
11809
11810 }
11811
11812
11813 }
11814
11815
11816 }
11817
11818
11819 }
11820
11821
11822 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
11823
11824
11825 }
11826
11827
11828 }
11829
11830
11831 }
11832 break;
11833 case 3 :
11834 // InternalApplicationConfiguration.g:4345:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) )
11835 {
11836 // InternalApplicationConfiguration.g:4345:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) )
11837 // InternalApplicationConfiguration.g:4346:5: {...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) )
11838 {
11839 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {
11840 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)");
11841 }
11842 // InternalApplicationConfiguration.g:4346:111: ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) )
11843 // InternalApplicationConfiguration.g:4347:6: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) )
11844 {
11845
11846 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2);
11847
11848 // InternalApplicationConfiguration.g:4350:9: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) )
11849 // InternalApplicationConfiguration.g:4350:10: {...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) )
11850 {
11851 if ( !((true)) ) {
11852 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
11853 }
11854 // InternalApplicationConfiguration.g:4350:19: (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) )
11855 // InternalApplicationConfiguration.g:4350:20: otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) )
11856 {
11857 otherlv_10=(Token)match(input,27,FOLLOW_12);
11858
11859 newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0());
11860
11861 otherlv_11=(Token)match(input,17,FOLLOW_42);
11862
11863 newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1());
11864
11865 // InternalApplicationConfiguration.g:4358:9: ( (lv_patterns_12_0= ruleGraphPattern ) )
11866 // InternalApplicationConfiguration.g:4359:10: (lv_patterns_12_0= ruleGraphPattern )
11867 {
11868 // InternalApplicationConfiguration.g:4359:10: (lv_patterns_12_0= ruleGraphPattern )
11869 // InternalApplicationConfiguration.g:4360:11: lv_patterns_12_0= ruleGraphPattern
11870 {
11871
11872 newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0());
11873
11874 pushFollow(FOLLOW_41);
11875 lv_patterns_12_0=ruleGraphPattern();
11876
11877 state._fsp--;
11878
11879
11880 if (current==null) {
11881 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
11882 }
11883 set(
11884 current,
11885 "patterns",
11886 lv_patterns_12_0,
11887 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern");
11888 afterParserOrEnumRuleCall();
11889
11890
11891 }
11892
11893
11894 }
11895
11896
11897 }
11898
11899
11900 }
11901
11902
11903 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
11904
11905
11906 }
11907
11908
11909 }
11910
11911
11912 }
11913 break;
11914 case 4 :
11915 // InternalApplicationConfiguration.g:4383:4: ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) )
11916 {
11917 // InternalApplicationConfiguration.g:4383:4: ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) )
11918 // InternalApplicationConfiguration.g:4384:5: {...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) )
11919 {
11920 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {
11921 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)");
11922 }
11923 // InternalApplicationConfiguration.g:4384:111: ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) )
11924 // InternalApplicationConfiguration.g:4385:6: ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) )
11925 {
11926
11927 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3);
11928
11929 // InternalApplicationConfiguration.g:4388:9: ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) )
11930 // InternalApplicationConfiguration.g:4388:10: {...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) )
11931 {
11932 if ( !((true)) ) {
11933 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
11934 }
11935 // InternalApplicationConfiguration.g:4388:19: (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) )
11936 // InternalApplicationConfiguration.g:4388:20: otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) )
11937 {
11938 otherlv_13=(Token)match(input,29,FOLLOW_12);
11939
11940 newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getObjectivesKeyword_3_3_0());
11941
11942 otherlv_14=(Token)match(input,17,FOLLOW_42);
11943
11944 newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1());
11945
11946 // InternalApplicationConfiguration.g:4396:9: ( (lv_objectives_15_0= ruleObjective ) )
11947 // InternalApplicationConfiguration.g:4397:10: (lv_objectives_15_0= ruleObjective )
11948 {
11949 // InternalApplicationConfiguration.g:4397:10: (lv_objectives_15_0= ruleObjective )
11950 // InternalApplicationConfiguration.g:4398:11: lv_objectives_15_0= ruleObjective
11951 {
11952
11953 newCompositeNode(grammarAccess.getGenerationTaskAccess().getObjectivesObjectiveParserRuleCall_3_3_2_0());
11954
11955 pushFollow(FOLLOW_41);
11956 lv_objectives_15_0=ruleObjective();
11957
11958 state._fsp--;
11959
11960
11961 if (current==null) {
11962 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
11963 }
11964 set(
11965 current,
11966 "objectives",
11967 lv_objectives_15_0,
11968 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Objective");
11969 afterParserOrEnumRuleCall();
11970
11971
11972 }
11973
11974
11975 }
11976
11977
11978 }
11979
11980
11981 }
11982
11983
11984 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
11985
11986
11987 }
11988
11989
11990 }
11991
11992
11993 }
11994 break;
11995 case 5 :
11996 // InternalApplicationConfiguration.g:4421:4: ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) )
11997 {
11998 // InternalApplicationConfiguration.g:4421:4: ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) )
11999 // InternalApplicationConfiguration.g:4422:5: {...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) )
12000 {
12001 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {
12002 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)");
12003 }
12004 // InternalApplicationConfiguration.g:4422:111: ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) )
12005 // InternalApplicationConfiguration.g:4423:6: ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) )
12006 {
12007
12008 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4);
12009
12010 // InternalApplicationConfiguration.g:4426:9: ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) )
12011 // InternalApplicationConfiguration.g:4426:10: {...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) )
12012 {
12013 if ( !((true)) ) {
12014 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12015 }
12016 // InternalApplicationConfiguration.g:4426:19: (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) )
12017 // InternalApplicationConfiguration.g:4426:20: otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) )
12018 {
12019 otherlv_16=(Token)match(input,44,FOLLOW_12);
12020
12021 newLeafNode(otherlv_16, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_4_0());
12022
12023 otherlv_17=(Token)match(input,17,FOLLOW_42);
12024
12025 newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1());
12026
12027 // InternalApplicationConfiguration.g:4434:9: ( (lv_scope_18_0= ruleScope ) )
12028 // InternalApplicationConfiguration.g:4435:10: (lv_scope_18_0= ruleScope )
12029 {
12030 // InternalApplicationConfiguration.g:4435:10: (lv_scope_18_0= ruleScope )
12031 // InternalApplicationConfiguration.g:4436:11: lv_scope_18_0= ruleScope
12032 {
12033
12034 newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_4_2_0());
12035
12036 pushFollow(FOLLOW_41);
12037 lv_scope_18_0=ruleScope();
12038
12039 state._fsp--;
12040
12041
12042 if (current==null) {
12043 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
12044 }
12045 set(
12046 current,
12047 "scope",
12048 lv_scope_18_0,
12049 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope");
12050 afterParserOrEnumRuleCall();
12051
12052
12053 }
12054
12055
12056 }
12057
12058
12059 }
12060
12061
12062 }
12063
12064
12065 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12066
12067
12068 }
12069
12070
12071 }
12072
12073
12074 }
12075 break;
12076 case 6 :
12077 // InternalApplicationConfiguration.g:4459:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) )
12078 {
12079 // InternalApplicationConfiguration.g:4459:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) )
12080 // InternalApplicationConfiguration.g:4460:5: {...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) )
12081 {
12082 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {
12083 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)");
12084 }
12085 // InternalApplicationConfiguration.g:4460:111: ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) )
12086 // InternalApplicationConfiguration.g:4461:6: ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) )
12087 {
12088
12089 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5);
12090
12091 // InternalApplicationConfiguration.g:4464:9: ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) )
12092 // InternalApplicationConfiguration.g:4464:10: {...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) )
12093 {
12094 if ( !((true)) ) {
12095 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12096 }
12097 // InternalApplicationConfiguration.g:4464:19: ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) )
12098 // InternalApplicationConfiguration.g:4464:20: ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) )
12099 {
12100 // InternalApplicationConfiguration.g:4464:20: ( (lv_numberSpecified_19_0= 'number' ) )
12101 // InternalApplicationConfiguration.g:4465:10: (lv_numberSpecified_19_0= 'number' )
12102 {
12103 // InternalApplicationConfiguration.g:4465:10: (lv_numberSpecified_19_0= 'number' )
12104 // InternalApplicationConfiguration.g:4466:11: lv_numberSpecified_19_0= 'number'
12105 {
12106 lv_numberSpecified_19_0=(Token)match(input,47,FOLLOW_12);
12107
12108 newLeafNode(lv_numberSpecified_19_0, grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_5_0_0());
12109
12110
12111 if (current==null) {
12112 current = createModelElement(grammarAccess.getGenerationTaskRule());
12113 }
12114 setWithLastConsumed(current, "numberSpecified", true, "number");
12115
12116
12117 }
12118
12119
12120 }
12121
12122 otherlv_20=(Token)match(input,17,FOLLOW_7);
12123
12124 newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1());
12125
12126 // InternalApplicationConfiguration.g:4482:9: ( (lv_number_21_0= RULE_INT ) )
12127 // InternalApplicationConfiguration.g:4483:10: (lv_number_21_0= RULE_INT )
12128 {
12129 // InternalApplicationConfiguration.g:4483:10: (lv_number_21_0= RULE_INT )
12130 // InternalApplicationConfiguration.g:4484:11: lv_number_21_0= RULE_INT
12131 {
12132 lv_number_21_0=(Token)match(input,RULE_INT,FOLLOW_41);
12133
12134 newLeafNode(lv_number_21_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_5_2_0());
12135
12136
12137 if (current==null) {
12138 current = createModelElement(grammarAccess.getGenerationTaskRule());
12139 }
12140 setWithLastConsumed(
12141 current,
12142 "number",
12143 lv_number_21_0,
12144 "org.eclipse.xtext.common.Terminals.INT");
12145
12146
12147 }
12148
12149
12150 }
12151
12152
12153 }
12154
12155
12156 }
12157
12158
12159 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12160
12161
12162 }
12163
12164
12165 }
12166
12167
12168 }
12169 break;
12170 case 7 :
12171 // InternalApplicationConfiguration.g:4506:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) )
12172 {
12173 // InternalApplicationConfiguration.g:4506:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) )
12174 // InternalApplicationConfiguration.g:4507:5: {...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) )
12175 {
12176 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {
12177 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)");
12178 }
12179 // InternalApplicationConfiguration.g:4507:111: ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) )
12180 // InternalApplicationConfiguration.g:4508:6: ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) )
12181 {
12182
12183 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6);
12184
12185 // InternalApplicationConfiguration.g:4511:9: ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) )
12186 // InternalApplicationConfiguration.g:4511:10: {...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) )
12187 {
12188 if ( !((true)) ) {
12189 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12190 }
12191 // InternalApplicationConfiguration.g:4511:19: ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) )
12192 // InternalApplicationConfiguration.g:4511:20: ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) )
12193 {
12194 // InternalApplicationConfiguration.g:4511:20: ( (lv_runSpecified_22_0= 'runs' ) )
12195 // InternalApplicationConfiguration.g:4512:10: (lv_runSpecified_22_0= 'runs' )
12196 {
12197 // InternalApplicationConfiguration.g:4512:10: (lv_runSpecified_22_0= 'runs' )
12198 // InternalApplicationConfiguration.g:4513:11: lv_runSpecified_22_0= 'runs'
12199 {
12200 lv_runSpecified_22_0=(Token)match(input,48,FOLLOW_12);
12201
12202 newLeafNode(lv_runSpecified_22_0, grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_6_0_0());
12203
12204
12205 if (current==null) {
12206 current = createModelElement(grammarAccess.getGenerationTaskRule());
12207 }
12208 setWithLastConsumed(current, "runSpecified", true, "runs");
12209
12210
12211 }
12212
12213
12214 }
12215
12216 otherlv_23=(Token)match(input,17,FOLLOW_7);
12217
12218 newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1());
12219
12220 // InternalApplicationConfiguration.g:4529:9: ( (lv_runs_24_0= RULE_INT ) )
12221 // InternalApplicationConfiguration.g:4530:10: (lv_runs_24_0= RULE_INT )
12222 {
12223 // InternalApplicationConfiguration.g:4530:10: (lv_runs_24_0= RULE_INT )
12224 // InternalApplicationConfiguration.g:4531:11: lv_runs_24_0= RULE_INT
12225 {
12226 lv_runs_24_0=(Token)match(input,RULE_INT,FOLLOW_41);
12227
12228 newLeafNode(lv_runs_24_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_6_2_0());
12229
12230
12231 if (current==null) {
12232 current = createModelElement(grammarAccess.getGenerationTaskRule());
12233 }
12234 setWithLastConsumed(
12235 current,
12236 "runs",
12237 lv_runs_24_0,
12238 "org.eclipse.xtext.common.Terminals.INT");
12239
12240
12241 }
12242
12243
12244 }
12245
12246
12247 }
12248
12249
12250 }
12251
12252
12253 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12254
12255
12256 }
12257
12258
12259 }
12260
12261
12262 }
12263 break;
12264 case 8 :
12265 // InternalApplicationConfiguration.g:4553:4: ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) )
12266 {
12267 // InternalApplicationConfiguration.g:4553:4: ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) )
12268 // InternalApplicationConfiguration.g:4554:5: {...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) )
12269 {
12270 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {
12271 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)");
12272 }
12273 // InternalApplicationConfiguration.g:4554:111: ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) )
12274 // InternalApplicationConfiguration.g:4555:6: ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) )
12275 {
12276
12277 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7);
12278
12279 // InternalApplicationConfiguration.g:4558:9: ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) )
12280 // InternalApplicationConfiguration.g:4558:10: {...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) )
12281 {
12282 if ( !((true)) ) {
12283 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12284 }
12285 // InternalApplicationConfiguration.g:4558:19: (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) )
12286 // InternalApplicationConfiguration.g:4558:20: otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) )
12287 {
12288 otherlv_25=(Token)match(input,49,FOLLOW_12);
12289
12290 newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_7_0());
12291
12292 otherlv_26=(Token)match(input,17,FOLLOW_43);
12293
12294 newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1());
12295
12296 // InternalApplicationConfiguration.g:4566:9: ( (lv_solver_27_0= ruleSolver ) )
12297 // InternalApplicationConfiguration.g:4567:10: (lv_solver_27_0= ruleSolver )
12298 {
12299 // InternalApplicationConfiguration.g:4567:10: (lv_solver_27_0= ruleSolver )
12300 // InternalApplicationConfiguration.g:4568:11: lv_solver_27_0= ruleSolver
12301 {
12302
12303 newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_7_2_0());
12304
12305 pushFollow(FOLLOW_41);
12306 lv_solver_27_0=ruleSolver();
12307
12308 state._fsp--;
12309
12310
12311 if (current==null) {
12312 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
12313 }
12314 set(
12315 current,
12316 "solver",
12317 lv_solver_27_0,
12318 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver");
12319 afterParserOrEnumRuleCall();
12320
12321
12322 }
12323
12324
12325 }
12326
12327
12328 }
12329
12330
12331 }
12332
12333
12334 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12335
12336
12337 }
12338
12339
12340 }
12341
12342
12343 }
12344 break;
12345 case 9 :
12346 // InternalApplicationConfiguration.g:4591:4: ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) )
12347 {
12348 // InternalApplicationConfiguration.g:4591:4: ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) )
12349 // InternalApplicationConfiguration.g:4592:5: {...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) )
12350 {
12351 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {
12352 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)");
12353 }
12354 // InternalApplicationConfiguration.g:4592:111: ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) )
12355 // InternalApplicationConfiguration.g:4593:6: ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) )
12356 {
12357
12358 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8);
12359
12360 // InternalApplicationConfiguration.g:4596:9: ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) )
12361 // InternalApplicationConfiguration.g:4596:10: {...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) )
12362 {
12363 if ( !((true)) ) {
12364 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12365 }
12366 // InternalApplicationConfiguration.g:4596:19: (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) )
12367 // InternalApplicationConfiguration.g:4596:20: otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) )
12368 {
12369 otherlv_28=(Token)match(input,30,FOLLOW_12);
12370
12371 newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_8_0());
12372
12373 otherlv_29=(Token)match(input,17,FOLLOW_42);
12374
12375 newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1());
12376
12377 // InternalApplicationConfiguration.g:4604:9: ( (lv_config_30_0= ruleConfig ) )
12378 // InternalApplicationConfiguration.g:4605:10: (lv_config_30_0= ruleConfig )
12379 {
12380 // InternalApplicationConfiguration.g:4605:10: (lv_config_30_0= ruleConfig )
12381 // InternalApplicationConfiguration.g:4606:11: lv_config_30_0= ruleConfig
12382 {
12383
12384 newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_8_2_0());
12385
12386 pushFollow(FOLLOW_41);
12387 lv_config_30_0=ruleConfig();
12388
12389 state._fsp--;
12390
12391
12392 if (current==null) {
12393 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
12394 }
12395 set(
12396 current,
12397 "config",
12398 lv_config_30_0,
12399 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config");
12400 afterParserOrEnumRuleCall();
12401
12402
12403 }
12404
12405
12406 }
12407
12408
12409 }
12410
12411
12412 }
12413
12414
12415 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12416
12417
12418 }
12419
12420
12421 }
12422
12423
12424 }
12425 break;
12426 case 10 :
12427 // InternalApplicationConfiguration.g:4629:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) )
12428 {
12429 // InternalApplicationConfiguration.g:4629:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) )
12430 // InternalApplicationConfiguration.g:4630:5: {...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) )
12431 {
12432 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {
12433 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)");
12434 }
12435 // InternalApplicationConfiguration.g:4630:111: ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) )
12436 // InternalApplicationConfiguration.g:4631:6: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) )
12437 {
12438
12439 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9);
12440
12441 // InternalApplicationConfiguration.g:4634:9: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) )
12442 // InternalApplicationConfiguration.g:4634:10: {...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) )
12443 {
12444 if ( !((true)) ) {
12445 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12446 }
12447 // InternalApplicationConfiguration.g:4634:19: (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) )
12448 // InternalApplicationConfiguration.g:4634:20: otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) )
12449 {
12450 otherlv_31=(Token)match(input,50,FOLLOW_12);
12451
12452 newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0());
12453
12454 otherlv_32=(Token)match(input,17,FOLLOW_20);
12455
12456 newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1());
12457
12458 // InternalApplicationConfiguration.g:4642:9: ( (lv_debugFolder_33_0= ruleFile ) )
12459 // InternalApplicationConfiguration.g:4643:10: (lv_debugFolder_33_0= ruleFile )
12460 {
12461 // InternalApplicationConfiguration.g:4643:10: (lv_debugFolder_33_0= ruleFile )
12462 // InternalApplicationConfiguration.g:4644:11: lv_debugFolder_33_0= ruleFile
12463 {
12464
12465 newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_9_2_0());
12466
12467 pushFollow(FOLLOW_41);
12468 lv_debugFolder_33_0=ruleFile();
12469
12470 state._fsp--;
12471
12472
12473 if (current==null) {
12474 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
12475 }
12476 set(
12477 current,
12478 "debugFolder",
12479 lv_debugFolder_33_0,
12480 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
12481 afterParserOrEnumRuleCall();
12482
12483
12484 }
12485
12486
12487 }
12488
12489
12490 }
12491
12492
12493 }
12494
12495
12496 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12497
12498
12499 }
12500
12501
12502 }
12503
12504
12505 }
12506 break;
12507 case 11 :
12508 // InternalApplicationConfiguration.g:4667:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) )
12509 {
12510 // InternalApplicationConfiguration.g:4667:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) )
12511 // InternalApplicationConfiguration.g:4668:5: {...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) )
12512 {
12513 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {
12514 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)");
12515 }
12516 // InternalApplicationConfiguration.g:4668:112: ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) )
12517 // InternalApplicationConfiguration.g:4669:6: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) )
12518 {
12519
12520 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10);
12521
12522 // InternalApplicationConfiguration.g:4672:9: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) )
12523 // InternalApplicationConfiguration.g:4672:10: {...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) )
12524 {
12525 if ( !((true)) ) {
12526 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12527 }
12528 // InternalApplicationConfiguration.g:4672:19: (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) )
12529 // InternalApplicationConfiguration.g:4672:20: otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) )
12530 {
12531 otherlv_34=(Token)match(input,51,FOLLOW_12);
12532
12533 newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0());
12534
12535 otherlv_35=(Token)match(input,17,FOLLOW_20);
12536
12537 newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1());
12538
12539 // InternalApplicationConfiguration.g:4680:9: ( (lv_targetLogFile_36_0= ruleFile ) )
12540 // InternalApplicationConfiguration.g:4681:10: (lv_targetLogFile_36_0= ruleFile )
12541 {
12542 // InternalApplicationConfiguration.g:4681:10: (lv_targetLogFile_36_0= ruleFile )
12543 // InternalApplicationConfiguration.g:4682:11: lv_targetLogFile_36_0= ruleFile
12544 {
12545
12546 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_10_2_0());
12547
12548 pushFollow(FOLLOW_41);
12549 lv_targetLogFile_36_0=ruleFile();
12550
12551 state._fsp--;
12552
12553
12554 if (current==null) {
12555 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
12556 }
12557 set(
12558 current,
12559 "targetLogFile",
12560 lv_targetLogFile_36_0,
12561 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
12562 afterParserOrEnumRuleCall();
12563
12564
12565 }
12566
12567
12568 }
12569
12570
12571 }
12572
12573
12574 }
12575
12576
12577 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12578
12579
12580 }
12581
12582
12583 }
12584
12585
12586 }
12587 break;
12588 case 12 :
12589 // InternalApplicationConfiguration.g:4705:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) )
12590 {
12591 // InternalApplicationConfiguration.g:4705:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) )
12592 // InternalApplicationConfiguration.g:4706:5: {...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) )
12593 {
12594 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {
12595 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)");
12596 }
12597 // InternalApplicationConfiguration.g:4706:112: ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) )
12598 // InternalApplicationConfiguration.g:4707:6: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) )
12599 {
12600
12601 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11);
12602
12603 // InternalApplicationConfiguration.g:4710:9: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) )
12604 // InternalApplicationConfiguration.g:4710:10: {...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) )
12605 {
12606 if ( !((true)) ) {
12607 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12608 }
12609 // InternalApplicationConfiguration.g:4710:19: (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) )
12610 // InternalApplicationConfiguration.g:4710:20: otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) )
12611 {
12612 otherlv_37=(Token)match(input,52,FOLLOW_12);
12613
12614 newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0());
12615
12616 otherlv_38=(Token)match(input,17,FOLLOW_20);
12617
12618 newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1());
12619
12620 // InternalApplicationConfiguration.g:4718:9: ( (lv_targetStatisticsFile_39_0= ruleFile ) )
12621 // InternalApplicationConfiguration.g:4719:10: (lv_targetStatisticsFile_39_0= ruleFile )
12622 {
12623 // InternalApplicationConfiguration.g:4719:10: (lv_targetStatisticsFile_39_0= ruleFile )
12624 // InternalApplicationConfiguration.g:4720:11: lv_targetStatisticsFile_39_0= ruleFile
12625 {
12626
12627 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_11_2_0());
12628
12629 pushFollow(FOLLOW_41);
12630 lv_targetStatisticsFile_39_0=ruleFile();
12631
12632 state._fsp--;
12633
12634
12635 if (current==null) {
12636 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
12637 }
12638 set(
12639 current,
12640 "targetStatisticsFile",
12641 lv_targetStatisticsFile_39_0,
12642 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
12643 afterParserOrEnumRuleCall();
12644
12645
12646 }
12647
12648
12649 }
12650
12651
12652 }
12653
12654
12655 }
12656
12657
12658 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12659
12660
12661 }
12662
12663
12664 }
12665
12666
12667 }
12668 break;
12669 case 13 :
12670 // InternalApplicationConfiguration.g:4743:4: ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) )
12671 {
12672 // InternalApplicationConfiguration.g:4743:4: ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) )
12673 // InternalApplicationConfiguration.g:4744:5: {...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) )
12674 {
12675 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {
12676 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12)");
12677 }
12678 // InternalApplicationConfiguration.g:4744:112: ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) )
12679 // InternalApplicationConfiguration.g:4745:6: ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) )
12680 {
12681
12682 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12);
12683
12684 // InternalApplicationConfiguration.g:4748:9: ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) )
12685 // InternalApplicationConfiguration.g:4748:10: {...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) )
12686 {
12687 if ( !((true)) ) {
12688 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12689 }
12690 // InternalApplicationConfiguration.g:4748:19: (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) )
12691 // InternalApplicationConfiguration.g:4748:20: otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) )
12692 {
12693 otherlv_40=(Token)match(input,53,FOLLOW_12);
12694
12695 newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_12_0());
12696
12697 otherlv_41=(Token)match(input,17,FOLLOW_20);
12698
12699 newLeafNode(otherlv_41, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_12_1());
12700
12701 // InternalApplicationConfiguration.g:4756:9: ( (lv_tagetFolder_42_0= ruleFile ) )
12702 // InternalApplicationConfiguration.g:4757:10: (lv_tagetFolder_42_0= ruleFile )
12703 {
12704 // InternalApplicationConfiguration.g:4757:10: (lv_tagetFolder_42_0= ruleFile )
12705 // InternalApplicationConfiguration.g:4758:11: lv_tagetFolder_42_0= ruleFile
12706 {
12707
12708 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_12_2_0());
12709
12710 pushFollow(FOLLOW_41);
12711 lv_tagetFolder_42_0=ruleFile();
12712
12713 state._fsp--;
12714
12715
12716 if (current==null) {
12717 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
12718 }
12719 set(
12720 current,
12721 "tagetFolder",
12722 lv_tagetFolder_42_0,
12723 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
12724 afterParserOrEnumRuleCall();
12725
12726
12727 }
12728
12729
12730 }
12731
12732
12733 }
12734
12735
12736 }
12737
12738
12739 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12740
12741
12742 }
12743
12744
12745 }
12746
12747
12748 }
12749 break;
12750
12751 default :
12752 break loop58;
12753 }
12754 } while (true);
12755
12756
12757 }
12758
12759
12760 }
12761
12762
12763 getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12764
12765
12766 }
12767
12768 otherlv_43=(Token)match(input,20,FOLLOW_2);
12769
12770 newLeafNode(otherlv_43, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4());
12771
12772
12773 }
12774
12775
12776 }
12777
12778
12779 leaveRule();
12780
12781 }
12782
12783 catch (RecognitionException re) {
12784 recover(input,re);
12785 appendSkippedTokens();
12786 }
12787 finally {
12788 }
12789 return current;
12790 }
12791 // $ANTLR end "ruleGenerationTask"
12792
12793
12794 // $ANTLR start "ruleOptimizationDirection"
12795 // InternalApplicationConfiguration.g:4796:1: ruleOptimizationDirection returns [Enumerator current=null] : ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) ;
12796 public final Enumerator ruleOptimizationDirection() throws RecognitionException {
12797 Enumerator current = null;
12798
12799 Token enumLiteral_0=null;
12800 Token enumLiteral_1=null;
12801
12802
12803 enterRule();
12804
12805 try {
12806 // InternalApplicationConfiguration.g:4802:2: ( ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) )
12807 // InternalApplicationConfiguration.g:4803:2: ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) )
12808 {
12809 // InternalApplicationConfiguration.g:4803:2: ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) )
12810 int alt59=2;
12811 int LA59_0 = input.LA(1);
12812
12813 if ( (LA59_0==54) ) {
12814 alt59=1;
12815 }
12816 else if ( (LA59_0==55) ) {
12817 alt59=2;
12818 }
12819 else {
12820 NoViableAltException nvae =
12821 new NoViableAltException("", 59, 0, input);
12822
12823 throw nvae;
12824 }
12825 switch (alt59) {
12826 case 1 :
12827 // InternalApplicationConfiguration.g:4804:3: (enumLiteral_0= 'minimize' )
12828 {
12829 // InternalApplicationConfiguration.g:4804:3: (enumLiteral_0= 'minimize' )
12830 // InternalApplicationConfiguration.g:4805:4: enumLiteral_0= 'minimize'
12831 {
12832 enumLiteral_0=(Token)match(input,54,FOLLOW_2);
12833
12834 current = grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
12835 newLeafNode(enumLiteral_0, grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0());
12836
12837
12838 }
12839
12840
12841 }
12842 break;
12843 case 2 :
12844 // InternalApplicationConfiguration.g:4812:3: (enumLiteral_1= 'maximize' )
12845 {
12846 // InternalApplicationConfiguration.g:4812:3: (enumLiteral_1= 'maximize' )
12847 // InternalApplicationConfiguration.g:4813:4: enumLiteral_1= 'maximize'
12848 {
12849 enumLiteral_1=(Token)match(input,55,FOLLOW_2);
12850
12851 current = grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
12852 newLeafNode(enumLiteral_1, grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1());
12853
12854
12855 }
12856
12857
12858 }
12859 break;
12860
12861 }
12862
12863
12864 }
12865
12866
12867 leaveRule();
12868
12869 }
12870
12871 catch (RecognitionException re) {
12872 recover(input,re);
12873 appendSkippedTokens();
12874 }
12875 finally {
12876 }
12877 return current;
12878 }
12879 // $ANTLR end "ruleOptimizationDirection"
12880
12881
12882 // $ANTLR start "ruleComparisonOperator"
12883 // InternalApplicationConfiguration.g:4823:1: ruleComparisonOperator returns [Enumerator current=null] : ( (enumLiteral_0= '<' ) | (enumLiteral_1= '>' ) | (enumLiteral_2= '<=' ) | (enumLiteral_3= '>=' ) ) ;
12884 public final Enumerator ruleComparisonOperator() throws RecognitionException {
12885 Enumerator current = null;
12886
12887 Token enumLiteral_0=null;
12888 Token enumLiteral_1=null;
12889 Token enumLiteral_2=null;
12890 Token enumLiteral_3=null;
12891
12892
12893 enterRule();
12894
12895 try {
12896 // InternalApplicationConfiguration.g:4829:2: ( ( (enumLiteral_0= '<' ) | (enumLiteral_1= '>' ) | (enumLiteral_2= '<=' ) | (enumLiteral_3= '>=' ) ) )
12897 // InternalApplicationConfiguration.g:4830:2: ( (enumLiteral_0= '<' ) | (enumLiteral_1= '>' ) | (enumLiteral_2= '<=' ) | (enumLiteral_3= '>=' ) )
12898 {
12899 // InternalApplicationConfiguration.g:4830:2: ( (enumLiteral_0= '<' ) | (enumLiteral_1= '>' ) | (enumLiteral_2= '<=' ) | (enumLiteral_3= '>=' ) )
12900 int alt60=4;
12901 switch ( input.LA(1) ) {
12902 case 36:
12903 {
12904 alt60=1;
12905 }
12906 break;
12907 case 37:
12908 {
12909 alt60=2;
12910 }
12911 break;
12912 case 56:
12913 {
12914 alt60=3;
12915 }
12916 break;
12917 case 57:
12918 {
12919 alt60=4;
12920 }
12921 break;
12922 default:
12923 NoViableAltException nvae =
12924 new NoViableAltException("", 60, 0, input);
12925
12926 throw nvae;
12927 }
12928
12929 switch (alt60) {
12930 case 1 :
12931 // InternalApplicationConfiguration.g:4831:3: (enumLiteral_0= '<' )
12932 {
12933 // InternalApplicationConfiguration.g:4831:3: (enumLiteral_0= '<' )
12934 // InternalApplicationConfiguration.g:4832:4: enumLiteral_0= '<'
12935 {
12936 enumLiteral_0=(Token)match(input,36,FOLLOW_2);
12937
12938 current = grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
12939 newLeafNode(enumLiteral_0, grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_0());
12940
12941
12942 }
12943
12944
12945 }
12946 break;
12947 case 2 :
12948 // InternalApplicationConfiguration.g:4839:3: (enumLiteral_1= '>' )
12949 {
12950 // InternalApplicationConfiguration.g:4839:3: (enumLiteral_1= '>' )
12951 // InternalApplicationConfiguration.g:4840:4: enumLiteral_1= '>'
12952 {
12953 enumLiteral_1=(Token)match(input,37,FOLLOW_2);
12954
12955 current = grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_1().getEnumLiteral().getInstance();
12956 newLeafNode(enumLiteral_1, grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_1());
12957
12958
12959 }
12960
12961
12962 }
12963 break;
12964 case 3 :
12965 // InternalApplicationConfiguration.g:4847:3: (enumLiteral_2= '<=' )
12966 {
12967 // InternalApplicationConfiguration.g:4847:3: (enumLiteral_2= '<=' )
12968 // InternalApplicationConfiguration.g:4848:4: enumLiteral_2= '<='
12969 {
12970 enumLiteral_2=(Token)match(input,56,FOLLOW_2);
12971
12972 current = grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
12973 newLeafNode(enumLiteral_2, grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_2());
12974
12975
12976 }
12977
12978
12979 }
12980 break;
12981 case 4 :
12982 // InternalApplicationConfiguration.g:4855:3: (enumLiteral_3= '>=' )
12983 {
12984 // InternalApplicationConfiguration.g:4855:3: (enumLiteral_3= '>=' )
12985 // InternalApplicationConfiguration.g:4856:4: enumLiteral_3= '>='
12986 {
12987 enumLiteral_3=(Token)match(input,57,FOLLOW_2);
12988
12989 current = grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
12990 newLeafNode(enumLiteral_3, grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_3());
12991
12992
12993 }
12994
12995
12996 }
12997 break;
12998
12999 }
13000
13001
13002 }
13003
13004
13005 leaveRule();
13006
13007 }
13008
13009 catch (RecognitionException re) {
13010 recover(input,re);
13011 appendSkippedTokens();
13012 }
13013 finally {
13014 }
13015 return current;
13016 }
13017 // $ANTLR end "ruleComparisonOperator"
13018
13019
13020 // $ANTLR start "ruleDocumentLevelSpecification"
13021 // InternalApplicationConfiguration.g:4866:1: ruleDocumentLevelSpecification returns [Enumerator current=null] : ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) ;
13022 public final Enumerator ruleDocumentLevelSpecification() throws RecognitionException {
13023 Enumerator current = null;
13024
13025 Token enumLiteral_0=null;
13026 Token enumLiteral_1=null;
13027 Token enumLiteral_2=null;
13028
13029
13030 enterRule();
13031
13032 try {
13033 // InternalApplicationConfiguration.g:4872:2: ( ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) )
13034 // InternalApplicationConfiguration.g:4873:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) )
13035 {
13036 // InternalApplicationConfiguration.g:4873:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) )
13037 int alt61=3;
13038 switch ( input.LA(1) ) {
13039 case 58:
13040 {
13041 alt61=1;
13042 }
13043 break;
13044 case 59:
13045 {
13046 alt61=2;
13047 }
13048 break;
13049 case 60:
13050 {
13051 alt61=3;
13052 }
13053 break;
13054 default:
13055 NoViableAltException nvae =
13056 new NoViableAltException("", 61, 0, input);
13057
13058 throw nvae;
13059 }
13060
13061 switch (alt61) {
13062 case 1 :
13063 // InternalApplicationConfiguration.g:4874:3: (enumLiteral_0= 'none' )
13064 {
13065 // InternalApplicationConfiguration.g:4874:3: (enumLiteral_0= 'none' )
13066 // InternalApplicationConfiguration.g:4875:4: enumLiteral_0= 'none'
13067 {
13068 enumLiteral_0=(Token)match(input,58,FOLLOW_2);
13069
13070 current = grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
13071 newLeafNode(enumLiteral_0, grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0());
13072
13073
13074 }
13075
13076
13077 }
13078 break;
13079 case 2 :
13080 // InternalApplicationConfiguration.g:4882:3: (enumLiteral_1= 'normal' )
13081 {
13082 // InternalApplicationConfiguration.g:4882:3: (enumLiteral_1= 'normal' )
13083 // InternalApplicationConfiguration.g:4883:4: enumLiteral_1= 'normal'
13084 {
13085 enumLiteral_1=(Token)match(input,59,FOLLOW_2);
13086
13087 current = grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
13088 newLeafNode(enumLiteral_1, grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1());
13089
13090
13091 }
13092
13093
13094 }
13095 break;
13096 case 3 :
13097 // InternalApplicationConfiguration.g:4890:3: (enumLiteral_2= 'full' )
13098 {
13099 // InternalApplicationConfiguration.g:4890:3: (enumLiteral_2= 'full' )
13100 // InternalApplicationConfiguration.g:4891:4: enumLiteral_2= 'full'
13101 {
13102 enumLiteral_2=(Token)match(input,60,FOLLOW_2);
13103
13104 current = grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
13105 newLeafNode(enumLiteral_2, grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2());
13106
13107
13108 }
13109
13110
13111 }
13112 break;
13113
13114 }
13115
13116
13117 }
13118
13119
13120 leaveRule();
13121
13122 }
13123
13124 catch (RecognitionException re) {
13125 recover(input,re);
13126 appendSkippedTokens();
13127 }
13128 finally {
13129 }
13130 return current;
13131 }
13132 // $ANTLR end "ruleDocumentLevelSpecification"
13133
13134
13135 // $ANTLR start "ruleSolver"
13136 // InternalApplicationConfiguration.g:4901:1: ruleSolver returns [Enumerator current=null] : ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ;
13137 public final Enumerator ruleSolver() throws RecognitionException {
13138 Enumerator current = null;
13139
13140 Token enumLiteral_0=null;
13141 Token enumLiteral_1=null;
13142 Token enumLiteral_2=null;
13143
13144
13145 enterRule();
13146
13147 try {
13148 // InternalApplicationConfiguration.g:4907:2: ( ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) )
13149 // InternalApplicationConfiguration.g:4908:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) )
13150 {
13151 // InternalApplicationConfiguration.g:4908:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) )
13152 int alt62=3;
13153 switch ( input.LA(1) ) {
13154 case 61:
13155 {
13156 alt62=1;
13157 }
13158 break;
13159 case 62:
13160 {
13161 alt62=2;
13162 }
13163 break;
13164 case 63:
13165 {
13166 alt62=3;
13167 }
13168 break;
13169 default:
13170 NoViableAltException nvae =
13171 new NoViableAltException("", 62, 0, input);
13172
13173 throw nvae;
13174 }
13175
13176 switch (alt62) {
13177 case 1 :
13178 // InternalApplicationConfiguration.g:4909:3: (enumLiteral_0= 'SMTSolver' )
13179 {
13180 // InternalApplicationConfiguration.g:4909:3: (enumLiteral_0= 'SMTSolver' )
13181 // InternalApplicationConfiguration.g:4910:4: enumLiteral_0= 'SMTSolver'
13182 {
13183 enumLiteral_0=(Token)match(input,61,FOLLOW_2);
13184
13185 current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
13186 newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0());
13187
13188
13189 }
13190
13191
13192 }
13193 break;
13194 case 2 :
13195 // InternalApplicationConfiguration.g:4917:3: (enumLiteral_1= 'AlloySolver' )
13196 {
13197 // InternalApplicationConfiguration.g:4917:3: (enumLiteral_1= 'AlloySolver' )
13198 // InternalApplicationConfiguration.g:4918:4: enumLiteral_1= 'AlloySolver'
13199 {
13200 enumLiteral_1=(Token)match(input,62,FOLLOW_2);
13201
13202 current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
13203 newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1());
13204
13205
13206 }
13207
13208
13209 }
13210 break;
13211 case 3 :
13212 // InternalApplicationConfiguration.g:4925:3: (enumLiteral_2= 'ViatraSolver' )
13213 {
13214 // InternalApplicationConfiguration.g:4925:3: (enumLiteral_2= 'ViatraSolver' )
13215 // InternalApplicationConfiguration.g:4926:4: enumLiteral_2= 'ViatraSolver'
13216 {
13217 enumLiteral_2=(Token)match(input,63,FOLLOW_2);
13218
13219 current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
13220 newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2());
13221
13222
13223 }
13224
13225
13226 }
13227 break;
13228
13229 }
13230
13231
13232 }
13233
13234
13235 leaveRule();
13236
13237 }
13238
13239 catch (RecognitionException re) {
13240 recover(input,re);
13241 appendSkippedTokens();
13242 }
13243 finally {
13244 }
13245 return current;
13246 }
13247 // $ANTLR end "ruleSolver"
13248
13249 // Delegated rules
13250
13251
13252 protected DFA58 dfa58 = new DFA58(this);
13253 static final String dfa_1s = "\17\uffff";
13254 static final String dfa_2s = "\1\24\16\uffff";
13255 static final String dfa_3s = "\1\65\16\uffff";
13256 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";
13257 static final String dfa_5s = "\1\0\16\uffff}>";
13258 static final String[] dfa_6s = {
13259 "\1\1\3\uffff\1\2\2\uffff\1\4\1\uffff\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",
13260 "",
13261 "",
13262 "",
13263 "",
13264 "",
13265 "",
13266 "",
13267 "",
13268 "",
13269 "",
13270 "",
13271 "",
13272 "",
13273 ""
13274 };
13275
13276 static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s);
13277 static final char[] dfa_2 = DFA.unpackEncodedStringToUnsignedChars(dfa_2s);
13278 static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s);
13279 static final short[] dfa_4 = DFA.unpackEncodedString(dfa_4s);
13280 static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s);
13281 static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s);
13282
13283 class DFA58 extends DFA {
13284
13285 public DFA58(BaseRecognizer recognizer) {
13286 this.recognizer = recognizer;
13287 this.decisionNumber = 58;
13288 this.eot = dfa_1;
13289 this.eof = dfa_1;
13290 this.min = dfa_2;
13291 this.max = dfa_3;
13292 this.accept = dfa_4;
13293 this.special = dfa_5;
13294 this.transition = dfa_6;
13295 }
13296 public String getDescription() {
13297 return "()* loopback of 4268: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 ) ) ) ) ) ) )*";
13298 }
13299 public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
13300 TokenStream input = (TokenStream)_input;
13301 int _s = s;
13302 switch ( s ) {
13303 case 0 :
13304 int LA58_0 = input.LA(1);
13305
13306
13307 int index58_0 = input.index();
13308 input.rewind();
13309 s = -1;
13310 if ( (LA58_0==20) ) {s = 1;}
13311
13312 else if ( LA58_0 == 24 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 2;}
13313
13314 else if ( LA58_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 3;}
13315
13316 else if ( LA58_0 == 27 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 4;}
13317
13318 else if ( LA58_0 == 29 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 5;}
13319
13320 else if ( LA58_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 6;}
13321
13322 else if ( LA58_0 == 47 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 7;}
13323
13324 else if ( LA58_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 8;}
13325
13326 else if ( LA58_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 9;}
13327
13328 else if ( LA58_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 10;}
13329
13330 else if ( LA58_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 11;}
13331
13332 else if ( LA58_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 12;}
13333
13334 else if ( LA58_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 13;}
13335
13336 else if ( LA58_0 == 53 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 14;}
13337
13338
13339 input.seek(index58_0);
13340 if ( s>=0 ) return s;
13341 break;
13342 }
13343 NoViableAltException nvae =
13344 new NoViableAltException(getDescription(), 58, _s, input);
13345 error(nvae);
13346 throw nvae;
13347 }
13348 }
13349
13350
13351 public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L});
13352 public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L});
13353 public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x000030006D012002L});
13354 public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x000030006D010002L});
13355 public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000802L});
13356 public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000000010L});
13357 public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000000020L});
13358 public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000800L});
13359 public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000004000L});
13360 public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000000040L});
13361 public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000008000L});
13362 public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000020000L});
13363 public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000200010L});
13364 public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000180000L});
13365 public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000400002L});
13366 public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000040000L});
13367 public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000800000L});
13368 public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000002000050L});
13369 public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000100000L});
13370 public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000000050L});
13371 public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x00C0000010000000L});
13372 public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0300003000000000L});
13373 public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000000001020L});
13374 public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000380100040L});
13375 public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000380000040L});
13376 public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x1C00000000000000L});
13377 public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000400100000L});
13378 public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000400000000L});
13379 public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000001000000000L});
13380 public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000800020000L});
13381 public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000040000000020L});
13382 public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000004000000000L});
13383 public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000008000000000L});
13384 public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000040000040020L});
13385 public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000010000000000L});
13386 public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000020000000000L});
13387 public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000002000000000L});
13388 public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000080000000000L});
13389 public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000000000101020L});
13390 public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000000100040L});
13391 public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x003FD00069100000L});
13392 public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000000040010L});
13393 public static final BitSet FOLLOW_43 = new BitSet(new long[]{0xE000000000000000L});
13394
13395}