aboutsummaryrefslogtreecommitdiffstats
path: root/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g
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/InternalApplicationConfiguration.g')
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g9250
1 files changed, 4947 insertions, 4303 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g
index 455e7054..3f9f5b26 100644
--- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g
+++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g
@@ -1,4303 +1,4947 @@
1/* 1/*
2 * generated by Xtext 2.12.0 2 * generated by Xtext 2.21.0
3 */ 3 */
4grammar InternalApplicationConfiguration; 4grammar InternalApplicationConfiguration;
5 5
6options { 6options {
7 superClass=AbstractInternalAntlrParser; 7 superClass=AbstractInternalAntlrParser;
8} 8}
9 9
10@lexer::header { 10@lexer::header {
11package hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal; 11package hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal;
12 12
13// Hack: Use our own Lexer superclass by means of import. 13// Hack: Use our own Lexer superclass by means of import.
14// Currently there is no other way to specify the superclass for the lexer. 14// Currently there is no other way to specify the superclass for the lexer.
15import org.eclipse.xtext.parser.antlr.Lexer; 15import org.eclipse.xtext.parser.antlr.Lexer;
16} 16}
17 17
18@parser::header { 18@parser::header {
19package hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal; 19package hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal;
20 20
21import org.eclipse.xtext.*; 21import org.eclipse.xtext.*;
22import org.eclipse.xtext.parser.*; 22import org.eclipse.xtext.parser.*;
23import org.eclipse.xtext.parser.impl.*; 23import org.eclipse.xtext.parser.impl.*;
24import org.eclipse.emf.ecore.util.EcoreUtil; 24import org.eclipse.emf.ecore.util.EcoreUtil;
25import org.eclipse.emf.ecore.EObject; 25import org.eclipse.emf.ecore.EObject;
26import org.eclipse.emf.common.util.Enumerator; 26import org.eclipse.emf.common.util.Enumerator;
27import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; 27import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
28import org.eclipse.xtext.parser.antlr.XtextTokenStream; 28import org.eclipse.xtext.parser.antlr.XtextTokenStream;
29import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; 29import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
30import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; 30import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
31import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; 31import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess;
32 32
33} 33}
34 34
35@parser::members { 35@parser::members {
36 36
37 private ApplicationConfigurationGrammarAccess grammarAccess; 37 private ApplicationConfigurationGrammarAccess grammarAccess;
38 38
39 public InternalApplicationConfigurationParser(TokenStream input, ApplicationConfigurationGrammarAccess grammarAccess) { 39 public InternalApplicationConfigurationParser(TokenStream input, ApplicationConfigurationGrammarAccess grammarAccess) {
40 this(input); 40 this(input);
41 this.grammarAccess = grammarAccess; 41 this.grammarAccess = grammarAccess;
42 registerRules(grammarAccess.getGrammar()); 42 registerRules(grammarAccess.getGrammar());
43 } 43 }
44 44
45 @Override 45 @Override
46 protected String getFirstRuleName() { 46 protected String getFirstRuleName() {
47 return "ConfigurationScript"; 47 return "ConfigurationScript";
48 } 48 }
49 49
50 @Override 50 @Override
51 protected ApplicationConfigurationGrammarAccess getGrammarAccess() { 51 protected ApplicationConfigurationGrammarAccess getGrammarAccess() {
52 return grammarAccess; 52 return grammarAccess;
53 } 53 }
54 54
55} 55}
56 56
57@rulecatch { 57@rulecatch {
58 catch (RecognitionException re) { 58 catch (RecognitionException re) {
59 recover(input,re); 59 recover(input,re);
60 appendSkippedTokens(); 60 appendSkippedTokens();
61 } 61 }
62} 62}
63 63
64// Entry rule entryRuleConfigurationScript 64// Entry rule entryRuleConfigurationScript
65entryRuleConfigurationScript returns [EObject current=null]: 65entryRuleConfigurationScript returns [EObject current=null]:
66 { newCompositeNode(grammarAccess.getConfigurationScriptRule()); } 66 { newCompositeNode(grammarAccess.getConfigurationScriptRule()); }
67 iv_ruleConfigurationScript=ruleConfigurationScript 67 iv_ruleConfigurationScript=ruleConfigurationScript
68 { $current=$iv_ruleConfigurationScript.current; } 68 { $current=$iv_ruleConfigurationScript.current; }
69 EOF; 69 EOF;
70 70
71// Rule ConfigurationScript 71// Rule ConfigurationScript
72ruleConfigurationScript returns [EObject current=null] 72ruleConfigurationScript returns [EObject current=null]
73@init { 73@init {
74 enterRule(); 74 enterRule();
75} 75}
76@after { 76@after {
77 leaveRule(); 77 leaveRule();
78}: 78}:
79 ( 79 (
80 ( 80 (
81 ( 81 (
82 { 82 {
83 newCompositeNode(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); 83 newCompositeNode(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0());
84 } 84 }
85 lv_imports_0_0=ruleImport 85 lv_imports_0_0=ruleImport
86 { 86 {
87 if ($current==null) { 87 if ($current==null) {
88 $current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); 88 $current = createModelElementForParent(grammarAccess.getConfigurationScriptRule());
89 } 89 }
90 add( 90 add(
91 $current, 91 $current,
92 "imports", 92 "imports",
93 lv_imports_0_0, 93 lv_imports_0_0,
94 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import"); 94 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import");
95 afterParserOrEnumRuleCall(); 95 afterParserOrEnumRuleCall();
96 } 96 }
97 ) 97 )
98 )* 98 )*
99 ( 99 (
100 ( 100 (
101 { 101 {
102 newCompositeNode(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); 102 newCompositeNode(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0());
103 } 103 }
104 lv_commands_1_0=ruleCommand 104 lv_commands_1_0=ruleCommand
105 { 105 {
106 if ($current==null) { 106 if ($current==null) {
107 $current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); 107 $current = createModelElementForParent(grammarAccess.getConfigurationScriptRule());
108 } 108 }
109 add( 109 add(
110 $current, 110 $current,
111 "commands", 111 "commands",
112 lv_commands_1_0, 112 lv_commands_1_0,
113 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Command"); 113 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Command");
114 afterParserOrEnumRuleCall(); 114 afterParserOrEnumRuleCall();
115 } 115 }
116 ) 116 )
117 )* 117 )*
118 ) 118 )
119; 119;
120 120
121// Entry rule entryRuleCommand 121// Entry rule entryRuleCommand
122entryRuleCommand returns [EObject current=null]: 122entryRuleCommand returns [EObject current=null]:
123 { newCompositeNode(grammarAccess.getCommandRule()); } 123 { newCompositeNode(grammarAccess.getCommandRule()); }
124 iv_ruleCommand=ruleCommand 124 iv_ruleCommand=ruleCommand
125 { $current=$iv_ruleCommand.current; } 125 { $current=$iv_ruleCommand.current; }
126 EOF; 126 EOF;
127 127
128// Rule Command 128// Rule Command
129ruleCommand returns [EObject current=null] 129ruleCommand returns [EObject current=null]
130@init { 130@init {
131 enterRule(); 131 enterRule();
132} 132}
133@after { 133@after {
134 leaveRule(); 134 leaveRule();
135}: 135}:
136 ( 136 (
137 { 137 {
138 newCompositeNode(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0()); 138 newCompositeNode(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0());
139 } 139 }
140 this_Declaration_0=ruleDeclaration 140 this_Declaration_0=ruleDeclaration
141 { 141 {
142 $current = $this_Declaration_0.current; 142 $current = $this_Declaration_0.current;
143 afterParserOrEnumRuleCall(); 143 afterParserOrEnumRuleCall();
144 } 144 }
145 | 145 |
146 { 146 {
147 newCompositeNode(grammarAccess.getCommandAccess().getTaskParserRuleCall_1()); 147 newCompositeNode(grammarAccess.getCommandAccess().getTaskParserRuleCall_1());
148 } 148 }
149 this_Task_1=ruleTask 149 this_Task_1=ruleTask
150 { 150 {
151 $current = $this_Task_1.current; 151 $current = $this_Task_1.current;
152 afterParserOrEnumRuleCall(); 152 afterParserOrEnumRuleCall();
153 } 153 }
154 ) 154 )
155; 155;
156 156
157// Entry rule entryRuleQualifiedName 157// Entry rule entryRuleQualifiedName
158entryRuleQualifiedName returns [String current=null]: 158entryRuleQualifiedName returns [String current=null]:
159 { newCompositeNode(grammarAccess.getQualifiedNameRule()); } 159 { newCompositeNode(grammarAccess.getQualifiedNameRule()); }
160 iv_ruleQualifiedName=ruleQualifiedName 160 iv_ruleQualifiedName=ruleQualifiedName
161 { $current=$iv_ruleQualifiedName.current.getText(); } 161 { $current=$iv_ruleQualifiedName.current.getText(); }
162 EOF; 162 EOF;
163 163
164// Rule QualifiedName 164// Rule QualifiedName
165ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] 165ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
166@init { 166@init {
167 enterRule(); 167 enterRule();
168} 168}
169@after { 169@after {
170 leaveRule(); 170 leaveRule();
171}: 171}:
172 ( 172 (
173 this_ID_0=RULE_ID 173 this_ID_0=RULE_ID
174 { 174 {
175 $current.merge(this_ID_0); 175 $current.merge(this_ID_0);
176 } 176 }
177 { 177 {
178 newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); 178 newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0());
179 } 179 }
180 ( 180 (
181 kw='.' 181 kw='.'
182 { 182 {
183 $current.merge(kw); 183 $current.merge(kw);
184 newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); 184 newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0());
185 } 185 }
186 this_ID_2=RULE_ID 186 this_ID_2=RULE_ID
187 { 187 {
188 $current.merge(this_ID_2); 188 $current.merge(this_ID_2);
189 } 189 }
190 { 190 {
191 newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); 191 newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1());
192 } 192 }
193 )* 193 )*
194 ) 194 )
195; 195;
196 196
197// Entry rule entryRuleREALLiteral 197// Entry rule entryRuleREALLiteral
198entryRuleREALLiteral returns [String current=null]: 198entryRuleREALLiteral returns [String current=null]:
199 { newCompositeNode(grammarAccess.getREALLiteralRule()); } 199 { newCompositeNode(grammarAccess.getREALLiteralRule()); }
200 iv_ruleREALLiteral=ruleREALLiteral 200 iv_ruleREALLiteral=ruleREALLiteral
201 { $current=$iv_ruleREALLiteral.current.getText(); } 201 { $current=$iv_ruleREALLiteral.current.getText(); }
202 EOF; 202 EOF;
203 203
204// Rule REALLiteral 204// Rule REALLiteral
205ruleREALLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] 205ruleREALLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
206@init { 206@init {
207 enterRule(); 207 enterRule();
208} 208}
209@after { 209@after {
210 leaveRule(); 210 leaveRule();
211}: 211}:
212 ( 212 (
213 ( 213 (
214 kw='-' 214 kw='-'
215 { 215 {
216 $current.merge(kw); 216 $current.merge(kw);
217 newLeafNode(kw, grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0()); 217 newLeafNode(kw, grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0());
218 } 218 }
219 )? 219 )?
220 this_INT_1=RULE_INT 220 this_INT_1=RULE_INT
221 { 221 {
222 $current.merge(this_INT_1); 222 $current.merge(this_INT_1);
223 } 223 }
224 { 224 {
225 newLeafNode(this_INT_1, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1()); 225 newLeafNode(this_INT_1, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1());
226 } 226 }
227 kw='.' 227 kw='.'
228 { 228 {
229 $current.merge(kw); 229 $current.merge(kw);
230 newLeafNode(kw, grammarAccess.getREALLiteralAccess().getFullStopKeyword_2()); 230 newLeafNode(kw, grammarAccess.getREALLiteralAccess().getFullStopKeyword_2());
231 } 231 }
232 this_INT_3=RULE_INT 232 this_INT_3=RULE_INT
233 { 233 {
234 $current.merge(this_INT_3); 234 $current.merge(this_INT_3);
235 } 235 }
236 { 236 {
237 newLeafNode(this_INT_3, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3()); 237 newLeafNode(this_INT_3, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3());
238 } 238 }
239 ) 239 )
240; 240;
241 241
242// Entry rule entryRuleINTLiteral 242// Entry rule entryRuleINTLiteral
243entryRuleINTLiteral returns [String current=null]: 243entryRuleINTLiteral returns [String current=null]:
244 { newCompositeNode(grammarAccess.getINTLiteralRule()); } 244 { newCompositeNode(grammarAccess.getINTLiteralRule()); }
245 iv_ruleINTLiteral=ruleINTLiteral 245 iv_ruleINTLiteral=ruleINTLiteral
246 { $current=$iv_ruleINTLiteral.current.getText(); } 246 { $current=$iv_ruleINTLiteral.current.getText(); }
247 EOF; 247 EOF;
248 248
249// Rule INTLiteral 249// Rule INTLiteral
250ruleINTLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] 250ruleINTLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
251@init { 251@init {
252 enterRule(); 252 enterRule();
253} 253}
254@after { 254@after {
255 leaveRule(); 255 leaveRule();
256}: 256}:
257 ( 257 (
258 ( 258 (
259 kw='-' 259 kw='-'
260 { 260 {
261 $current.merge(kw); 261 $current.merge(kw);
262 newLeafNode(kw, grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0()); 262 newLeafNode(kw, grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0());
263 } 263 }
264 )? 264 )?
265 this_INT_1=RULE_INT 265 this_INT_1=RULE_INT
266 { 266 {
267 $current.merge(this_INT_1); 267 $current.merge(this_INT_1);
268 } 268 }
269 { 269 {
270 newLeafNode(this_INT_1, grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1()); 270 newLeafNode(this_INT_1, grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1());
271 } 271 }
272 ) 272 )
273; 273;
274 274
275// Entry rule entryRuleImport 275// Entry rule entryRuleImport
276entryRuleImport returns [EObject current=null]: 276entryRuleImport returns [EObject current=null]:
277 { newCompositeNode(grammarAccess.getImportRule()); } 277 { newCompositeNode(grammarAccess.getImportRule()); }
278 iv_ruleImport=ruleImport 278 iv_ruleImport=ruleImport
279 { $current=$iv_ruleImport.current; } 279 { $current=$iv_ruleImport.current; }
280 EOF; 280 EOF;
281 281
282// Rule Import 282// Rule Import
283ruleImport returns [EObject current=null] 283ruleImport returns [EObject current=null]
284@init { 284@init {
285 enterRule(); 285 enterRule();
286} 286}
287@after { 287@after {
288 leaveRule(); 288 leaveRule();
289}: 289}:
290 ( 290 (
291 { 291 {
292 newCompositeNode(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); 292 newCompositeNode(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0());
293 } 293 }
294 this_EPackageImport_0=ruleEPackageImport 294 this_EPackageImport_0=ruleEPackageImport
295 { 295 {
296 $current = $this_EPackageImport_0.current; 296 $current = $this_EPackageImport_0.current;
297 afterParserOrEnumRuleCall(); 297 afterParserOrEnumRuleCall();
298 } 298 }
299 | 299 |
300 { 300 {
301 newCompositeNode(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); 301 newCompositeNode(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1());
302 } 302 }
303 this_ViatraImport_1=ruleViatraImport 303 this_ViatraImport_1=ruleViatraImport
304 { 304 {
305 $current = $this_ViatraImport_1.current; 305 $current = $this_ViatraImport_1.current;
306 afterParserOrEnumRuleCall(); 306 afterParserOrEnumRuleCall();
307 } 307 }
308 ) 308 )
309; 309;
310 310
311// Entry rule entryRuleEPackageImport 311// Entry rule entryRuleEPackageImport
312entryRuleEPackageImport returns [EObject current=null]: 312entryRuleEPackageImport returns [EObject current=null]:
313 { newCompositeNode(grammarAccess.getEPackageImportRule()); } 313 { newCompositeNode(grammarAccess.getEPackageImportRule()); }
314 iv_ruleEPackageImport=ruleEPackageImport 314 iv_ruleEPackageImport=ruleEPackageImport
315 { $current=$iv_ruleEPackageImport.current; } 315 { $current=$iv_ruleEPackageImport.current; }
316 EOF; 316 EOF;
317 317
318// Rule EPackageImport 318// Rule EPackageImport
319ruleEPackageImport returns [EObject current=null] 319ruleEPackageImport returns [EObject current=null]
320@init { 320@init {
321 enterRule(); 321 enterRule();
322} 322}
323@after { 323@after {
324 leaveRule(); 324 leaveRule();
325}: 325}:
326 ( 326 (
327 otherlv_0='import' 327 otherlv_0='import'
328 { 328 {
329 newLeafNode(otherlv_0, grammarAccess.getEPackageImportAccess().getImportKeyword_0()); 329 newLeafNode(otherlv_0, grammarAccess.getEPackageImportAccess().getImportKeyword_0());
330 } 330 }
331 otherlv_1='epackage' 331 otherlv_1='epackage'
332 { 332 {
333 newLeafNode(otherlv_1, grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); 333 newLeafNode(otherlv_1, grammarAccess.getEPackageImportAccess().getEpackageKeyword_1());
334 } 334 }
335 ( 335 (
336 ( 336 (
337 { 337 {
338 if ($current==null) { 338 if ($current==null) {
339 $current = createModelElement(grammarAccess.getEPackageImportRule()); 339 $current = createModelElement(grammarAccess.getEPackageImportRule());
340 } 340 }
341 } 341 }
342 otherlv_2=RULE_STRING 342 otherlv_2=RULE_STRING
343 { 343 {
344 newLeafNode(otherlv_2, grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); 344 newLeafNode(otherlv_2, grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0());
345 } 345 }
346 ) 346 )
347 ) 347 )
348 ) 348 )
349; 349;
350 350
351// Entry rule entryRuleViatraImport 351// Entry rule entryRuleViatraImport
352entryRuleViatraImport returns [EObject current=null]: 352entryRuleViatraImport returns [EObject current=null]:
353 { newCompositeNode(grammarAccess.getViatraImportRule()); } 353 { newCompositeNode(grammarAccess.getViatraImportRule()); }
354 iv_ruleViatraImport=ruleViatraImport 354 iv_ruleViatraImport=ruleViatraImport
355 { $current=$iv_ruleViatraImport.current; } 355 { $current=$iv_ruleViatraImport.current; }
356 EOF; 356 EOF;
357 357
358// Rule ViatraImport 358// Rule ViatraImport
359ruleViatraImport returns [EObject current=null] 359ruleViatraImport returns [EObject current=null]
360@init { 360@init {
361 enterRule(); 361 enterRule();
362} 362}
363@after { 363@after {
364 leaveRule(); 364 leaveRule();
365}: 365}:
366 ( 366 (
367 otherlv_0='import' 367 otherlv_0='import'
368 { 368 {
369 newLeafNode(otherlv_0, grammarAccess.getViatraImportAccess().getImportKeyword_0()); 369 newLeafNode(otherlv_0, grammarAccess.getViatraImportAccess().getImportKeyword_0());
370 } 370 }
371 otherlv_1='viatra' 371 otherlv_1='viatra'
372 { 372 {
373 newLeafNode(otherlv_1, grammarAccess.getViatraImportAccess().getViatraKeyword_1()); 373 newLeafNode(otherlv_1, grammarAccess.getViatraImportAccess().getViatraKeyword_1());
374 } 374 }
375 ( 375 (
376 ( 376 (
377 { 377 {
378 if ($current==null) { 378 if ($current==null) {
379 $current = createModelElement(grammarAccess.getViatraImportRule()); 379 $current = createModelElement(grammarAccess.getViatraImportRule());
380 } 380 }
381 } 381 }
382 otherlv_2=RULE_STRING 382 otherlv_2=RULE_STRING
383 { 383 {
384 newLeafNode(otherlv_2, grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); 384 newLeafNode(otherlv_2, grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0());
385 } 385 }
386 ) 386 )
387 ) 387 )
388 ) 388 )
389; 389;
390 390
391// Entry rule entryRuleDeclaration 391// Entry rule entryRuleDeclaration
392entryRuleDeclaration returns [EObject current=null]: 392entryRuleDeclaration returns [EObject current=null]:
393 { newCompositeNode(grammarAccess.getDeclarationRule()); } 393 { newCompositeNode(grammarAccess.getDeclarationRule()); }
394 iv_ruleDeclaration=ruleDeclaration 394 iv_ruleDeclaration=ruleDeclaration
395 { $current=$iv_ruleDeclaration.current; } 395 { $current=$iv_ruleDeclaration.current; }
396 EOF; 396 EOF;
397 397
398// Rule Declaration 398// Rule Declaration
399ruleDeclaration returns [EObject current=null] 399ruleDeclaration returns [EObject current=null]
400@init { 400@init {
401 enterRule(); 401 enterRule();
402} 402}
403@after { 403@after {
404 leaveRule(); 404 leaveRule();
405}: 405}:
406 ( 406 (
407 { 407 {
408 newCompositeNode(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); 408 newCompositeNode(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0());
409 } 409 }
410 this_FileDeclaration_0=ruleFileDeclaration 410 this_FileDeclaration_0=ruleFileDeclaration
411 { 411 {
412 $current = $this_FileDeclaration_0.current; 412 $current = $this_FileDeclaration_0.current;
413 afterParserOrEnumRuleCall(); 413 afterParserOrEnumRuleCall();
414 } 414 }
415 | 415 |
416 { 416 {
417 newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); 417 newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1());
418 } 418 }
419 this_MetamodelDeclaration_1=ruleMetamodelDeclaration 419 this_MetamodelDeclaration_1=ruleMetamodelDeclaration
420 { 420 {
421 $current = $this_MetamodelDeclaration_1.current; 421 $current = $this_MetamodelDeclaration_1.current;
422 afterParserOrEnumRuleCall(); 422 afterParserOrEnumRuleCall();
423 } 423 }
424 | 424 |
425 { 425 {
426 newCompositeNode(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); 426 newCompositeNode(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2());
427 } 427 }
428 this_PartialModelDeclaration_2=rulePartialModelDeclaration 428 this_PartialModelDeclaration_2=rulePartialModelDeclaration
429 { 429 {
430 $current = $this_PartialModelDeclaration_2.current; 430 $current = $this_PartialModelDeclaration_2.current;
431 afterParserOrEnumRuleCall(); 431 afterParserOrEnumRuleCall();
432 } 432 }
433 | 433 |
434 { 434 {
435 newCompositeNode(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); 435 newCompositeNode(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3());
436 } 436 }
437 this_GraphPatternDeclaration_3=ruleGraphPatternDeclaration 437 this_GraphPatternDeclaration_3=ruleGraphPatternDeclaration
438 { 438 {
439 $current = $this_GraphPatternDeclaration_3.current; 439 $current = $this_GraphPatternDeclaration_3.current;
440 afterParserOrEnumRuleCall(); 440 afterParserOrEnumRuleCall();
441 } 441 }
442 | 442 |
443 { 443 {
444 newCompositeNode(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); 444 newCompositeNode(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4());
445 } 445 }
446 this_ConfigDeclaration_4=ruleConfigDeclaration 446 this_ConfigDeclaration_4=ruleConfigDeclaration
447 { 447 {
448 $current = $this_ConfigDeclaration_4.current; 448 $current = $this_ConfigDeclaration_4.current;
449 afterParserOrEnumRuleCall(); 449 afterParserOrEnumRuleCall();
450 } 450 }
451 | 451 |
452 { 452 {
453 newCompositeNode(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); 453 newCompositeNode(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5());
454 } 454 }
455 this_ScopeDeclaration_5=ruleScopeDeclaration 455 this_ScopeDeclaration_5=ruleScopeDeclaration
456 { 456 {
457 $current = $this_ScopeDeclaration_5.current; 457 $current = $this_ScopeDeclaration_5.current;
458 afterParserOrEnumRuleCall(); 458 afterParserOrEnumRuleCall();
459 } 459 }
460 ) 460 |
461; 461 {
462 462 newCompositeNode(grammarAccess.getDeclarationAccess().getObjectiveDeclarationParserRuleCall_6());
463// Entry rule entryRuleFileSpecification 463 }
464entryRuleFileSpecification returns [EObject current=null]: 464 this_ObjectiveDeclaration_6=ruleObjectiveDeclaration
465 { newCompositeNode(grammarAccess.getFileSpecificationRule()); } 465 {
466 iv_ruleFileSpecification=ruleFileSpecification 466 $current = $this_ObjectiveDeclaration_6.current;
467 { $current=$iv_ruleFileSpecification.current; } 467 afterParserOrEnumRuleCall();
468 EOF; 468 }
469 469 )
470// Rule FileSpecification 470;
471ruleFileSpecification returns [EObject current=null] 471
472@init { 472// Entry rule entryRuleFileSpecification
473 enterRule(); 473entryRuleFileSpecification returns [EObject current=null]:
474} 474 { newCompositeNode(grammarAccess.getFileSpecificationRule()); }
475@after { 475 iv_ruleFileSpecification=ruleFileSpecification
476 leaveRule(); 476 { $current=$iv_ruleFileSpecification.current; }
477}: 477 EOF;
478 ( 478
479 ( 479// Rule FileSpecification
480 lv_path_0_0=RULE_STRING 480ruleFileSpecification returns [EObject current=null]
481 { 481@init {
482 newLeafNode(lv_path_0_0, grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0()); 482 enterRule();
483 } 483}
484 { 484@after {
485 if ($current==null) { 485 leaveRule();
486 $current = createModelElement(grammarAccess.getFileSpecificationRule()); 486}:
487 } 487 (
488 setWithLastConsumed( 488 (
489 $current, 489 lv_path_0_0=RULE_STRING
490 "path", 490 {
491 lv_path_0_0, 491 newLeafNode(lv_path_0_0, grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0());
492 "org.eclipse.xtext.common.Terminals.STRING"); 492 }
493 } 493 {
494 ) 494 if ($current==null) {
495 ) 495 $current = createModelElement(grammarAccess.getFileSpecificationRule());
496; 496 }
497 497 setWithLastConsumed(
498// Entry rule entryRuleFileDeclaration 498 $current,
499entryRuleFileDeclaration returns [EObject current=null]: 499 "path",
500 { newCompositeNode(grammarAccess.getFileDeclarationRule()); } 500 lv_path_0_0,
501 iv_ruleFileDeclaration=ruleFileDeclaration 501 "org.eclipse.xtext.common.Terminals.STRING");
502 { $current=$iv_ruleFileDeclaration.current; } 502 }
503 EOF; 503 )
504 504 )
505// Rule FileDeclaration 505;
506ruleFileDeclaration returns [EObject current=null] 506
507@init { 507// Entry rule entryRuleFileDeclaration
508 enterRule(); 508entryRuleFileDeclaration returns [EObject current=null]:
509} 509 { newCompositeNode(grammarAccess.getFileDeclarationRule()); }
510@after { 510 iv_ruleFileDeclaration=ruleFileDeclaration
511 leaveRule(); 511 { $current=$iv_ruleFileDeclaration.current; }
512}: 512 EOF;
513 ( 513
514 otherlv_0='file' 514// Rule FileDeclaration
515 { 515ruleFileDeclaration returns [EObject current=null]
516 newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); 516@init {
517 } 517 enterRule();
518 ( 518}
519 ( 519@after {
520 lv_name_1_0=RULE_ID 520 leaveRule();
521 { 521}:
522 newLeafNode(lv_name_1_0, grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 522 (
523 } 523 otherlv_0='file'
524 { 524 {
525 if ($current==null) { 525 newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0());
526 $current = createModelElement(grammarAccess.getFileDeclarationRule()); 526 }
527 } 527 (
528 setWithLastConsumed( 528 (
529 $current, 529 lv_name_1_0=RULE_ID
530 "name", 530 {
531 lv_name_1_0, 531 newLeafNode(lv_name_1_0, grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0());
532 "org.eclipse.xtext.common.Terminals.ID"); 532 }
533 } 533 {
534 ) 534 if ($current==null) {
535 ) 535 $current = createModelElement(grammarAccess.getFileDeclarationRule());
536 otherlv_2='=' 536 }
537 { 537 setWithLastConsumed(
538 newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); 538 $current,
539 } 539 "name",
540 ( 540 lv_name_1_0,
541 ( 541 "org.eclipse.xtext.common.Terminals.ID");
542 { 542 }
543 newCompositeNode(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); 543 )
544 } 544 )
545 lv_specification_3_0=ruleFileSpecification 545 otherlv_2='='
546 { 546 {
547 if ($current==null) { 547 newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2());
548 $current = createModelElementForParent(grammarAccess.getFileDeclarationRule()); 548 }
549 } 549 (
550 set( 550 (
551 $current, 551 {
552 "specification", 552 newCompositeNode(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0());
553 lv_specification_3_0, 553 }
554 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification"); 554 lv_specification_3_0=ruleFileSpecification
555 afterParserOrEnumRuleCall(); 555 {
556 } 556 if ($current==null) {
557 ) 557 $current = createModelElementForParent(grammarAccess.getFileDeclarationRule());
558 ) 558 }
559 ) 559 set(
560; 560 $current,
561 561 "specification",
562// Entry rule entryRuleFileReference 562 lv_specification_3_0,
563entryRuleFileReference returns [EObject current=null]: 563 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification");
564 { newCompositeNode(grammarAccess.getFileReferenceRule()); } 564 afterParserOrEnumRuleCall();
565 iv_ruleFileReference=ruleFileReference 565 }
566 { $current=$iv_ruleFileReference.current; } 566 )
567 EOF; 567 )
568 568 )
569// Rule FileReference 569;
570ruleFileReference returns [EObject current=null] 570
571@init { 571// Entry rule entryRuleFileReference
572 enterRule(); 572entryRuleFileReference returns [EObject current=null]:
573} 573 { newCompositeNode(grammarAccess.getFileReferenceRule()); }
574@after { 574 iv_ruleFileReference=ruleFileReference
575 leaveRule(); 575 { $current=$iv_ruleFileReference.current; }
576}: 576 EOF;
577 ( 577
578 ( 578// Rule FileReference
579 { 579ruleFileReference returns [EObject current=null]
580 if ($current==null) { 580@init {
581 $current = createModelElement(grammarAccess.getFileReferenceRule()); 581 enterRule();
582 } 582}
583 } 583@after {
584 otherlv_0=RULE_ID 584 leaveRule();
585 { 585}:
586 newLeafNode(otherlv_0, grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); 586 (
587 } 587 (
588 ) 588 {
589 ) 589 if ($current==null) {
590; 590 $current = createModelElement(grammarAccess.getFileReferenceRule());
591 591 }
592// Entry rule entryRuleFile 592 }
593entryRuleFile returns [EObject current=null]: 593 otherlv_0=RULE_ID
594 { newCompositeNode(grammarAccess.getFileRule()); } 594 {
595 iv_ruleFile=ruleFile 595 newLeafNode(otherlv_0, grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0());
596 { $current=$iv_ruleFile.current; } 596 }
597 EOF; 597 )
598 598 )
599// Rule File 599;
600ruleFile returns [EObject current=null] 600
601@init { 601// Entry rule entryRuleFile
602 enterRule(); 602entryRuleFile returns [EObject current=null]:
603} 603 { newCompositeNode(grammarAccess.getFileRule()); }
604@after { 604 iv_ruleFile=ruleFile
605 leaveRule(); 605 { $current=$iv_ruleFile.current; }
606}: 606 EOF;
607 ( 607
608 { 608// Rule File
609 newCompositeNode(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); 609ruleFile returns [EObject current=null]
610 } 610@init {
611 this_FileSpecification_0=ruleFileSpecification 611 enterRule();
612 { 612}
613 $current = $this_FileSpecification_0.current; 613@after {
614 afterParserOrEnumRuleCall(); 614 leaveRule();
615 } 615}:
616 | 616 (
617 { 617 {
618 newCompositeNode(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); 618 newCompositeNode(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0());
619 } 619 }
620 this_FileReference_1=ruleFileReference 620 this_FileSpecification_0=ruleFileSpecification
621 { 621 {
622 $current = $this_FileReference_1.current; 622 $current = $this_FileSpecification_0.current;
623 afterParserOrEnumRuleCall(); 623 afterParserOrEnumRuleCall();
624 } 624 }
625 ) 625 |
626; 626 {
627 627 newCompositeNode(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1());
628// Entry rule entryRuleMetamodelSpecification 628 }
629entryRuleMetamodelSpecification returns [EObject current=null]: 629 this_FileReference_1=ruleFileReference
630 { newCompositeNode(grammarAccess.getMetamodelSpecificationRule()); } 630 {
631 iv_ruleMetamodelSpecification=ruleMetamodelSpecification 631 $current = $this_FileReference_1.current;
632 { $current=$iv_ruleMetamodelSpecification.current; } 632 afterParserOrEnumRuleCall();
633 EOF; 633 }
634 634 )
635// Rule MetamodelSpecification 635;
636ruleMetamodelSpecification returns [EObject current=null] 636
637@init { 637// Entry rule entryRuleMetamodelSpecification
638 enterRule(); 638entryRuleMetamodelSpecification returns [EObject current=null]:
639} 639 { newCompositeNode(grammarAccess.getMetamodelSpecificationRule()); }
640@after { 640 iv_ruleMetamodelSpecification=ruleMetamodelSpecification
641 leaveRule(); 641 { $current=$iv_ruleMetamodelSpecification.current; }
642}: 642 EOF;
643 ( 643
644 otherlv_0='{' 644// Rule MetamodelSpecification
645 { 645ruleMetamodelSpecification returns [EObject current=null]
646 newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); 646@init {
647 } 647 enterRule();
648 ( 648}
649 ( 649@after {
650 { 650 leaveRule();
651 newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); 651}:
652 } 652 (
653 lv_entries_1_0=ruleMetamodelEntry 653 otherlv_0='{'
654 { 654 {
655 if ($current==null) { 655 newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0());
656 $current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); 656 }
657 } 657 (
658 add( 658 (
659 $current, 659 {
660 "entries", 660 newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0());
661 lv_entries_1_0, 661 }
662 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); 662 lv_entries_1_0=ruleMetamodelEntry
663 afterParserOrEnumRuleCall(); 663 {
664 } 664 if ($current==null) {
665 ) 665 $current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule());
666 ) 666 }
667 ( 667 add(
668 otherlv_2=',' 668 $current,
669 { 669 "entries",
670 newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); 670 lv_entries_1_0,
671 } 671 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry");
672 ( 672 afterParserOrEnumRuleCall();
673 ( 673 }
674 { 674 )
675 newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); 675 )
676 } 676 (
677 lv_entries_3_0=ruleMetamodelEntry 677 otherlv_2=','
678 { 678 {
679 if ($current==null) { 679 newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0());
680 $current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); 680 }
681 } 681 (
682 add( 682 (
683 $current, 683 {
684 "entries", 684 newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0());
685 lv_entries_3_0, 685 }
686 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); 686 lv_entries_3_0=ruleMetamodelEntry
687 afterParserOrEnumRuleCall(); 687 {
688 } 688 if ($current==null) {
689 ) 689 $current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule());
690 ) 690 }
691 )* 691 add(
692 otherlv_4='}' 692 $current,
693 { 693 "entries",
694 newLeafNode(otherlv_4, grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); 694 lv_entries_3_0,
695 } 695 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry");
696 ) 696 afterParserOrEnumRuleCall();
697; 697 }
698 698 )
699// Entry rule entryRuleMetamodelEntry 699 )
700entryRuleMetamodelEntry returns [EObject current=null]: 700 )*
701 { newCompositeNode(grammarAccess.getMetamodelEntryRule()); } 701 otherlv_4='}'
702 iv_ruleMetamodelEntry=ruleMetamodelEntry 702 {
703 { $current=$iv_ruleMetamodelEntry.current; } 703 newLeafNode(otherlv_4, grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3());
704 EOF; 704 }
705 705 )
706// Rule MetamodelEntry 706;
707ruleMetamodelEntry returns [EObject current=null] 707
708@init { 708// Entry rule entryRuleMetamodelEntry
709 enterRule(); 709entryRuleMetamodelEntry returns [EObject current=null]:
710} 710 { newCompositeNode(grammarAccess.getMetamodelEntryRule()); }
711@after { 711 iv_ruleMetamodelEntry=ruleMetamodelEntry
712 leaveRule(); 712 { $current=$iv_ruleMetamodelEntry.current; }
713}: 713 EOF;
714 ( 714
715 { 715// Rule MetamodelEntry
716 newCompositeNode(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); 716ruleMetamodelEntry returns [EObject current=null]
717 } 717@init {
718 this_MetamodelElement_0=ruleMetamodelElement 718 enterRule();
719 { 719}
720 $current = $this_MetamodelElement_0.current; 720@after {
721 afterParserOrEnumRuleCall(); 721 leaveRule();
722 } 722}:
723 | 723 (
724 { 724 {
725 newCompositeNode(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); 725 newCompositeNode(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0());
726 } 726 }
727 this_AllPackageEntry_1=ruleAllPackageEntry 727 this_MetamodelElement_0=ruleMetamodelElement
728 { 728 {
729 $current = $this_AllPackageEntry_1.current; 729 $current = $this_MetamodelElement_0.current;
730 afterParserOrEnumRuleCall(); 730 afterParserOrEnumRuleCall();
731 } 731 }
732 ) 732 |
733; 733 {
734 734 newCompositeNode(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1());
735// Entry rule entryRuleAllPackageEntry 735 }
736entryRuleAllPackageEntry returns [EObject current=null]: 736 this_AllPackageEntry_1=ruleAllPackageEntry
737 { newCompositeNode(grammarAccess.getAllPackageEntryRule()); } 737 {
738 iv_ruleAllPackageEntry=ruleAllPackageEntry 738 $current = $this_AllPackageEntry_1.current;
739 { $current=$iv_ruleAllPackageEntry.current; } 739 afterParserOrEnumRuleCall();
740 EOF; 740 }
741 741 )
742// Rule AllPackageEntry 742;
743ruleAllPackageEntry returns [EObject current=null] 743
744@init { 744// Entry rule entryRuleAllPackageEntry
745 enterRule(); 745entryRuleAllPackageEntry returns [EObject current=null]:
746} 746 { newCompositeNode(grammarAccess.getAllPackageEntryRule()); }
747@after { 747 iv_ruleAllPackageEntry=ruleAllPackageEntry
748 leaveRule(); 748 { $current=$iv_ruleAllPackageEntry.current; }
749}: 749 EOF;
750 ( 750
751 otherlv_0='package' 751// Rule AllPackageEntry
752 { 752ruleAllPackageEntry returns [EObject current=null]
753 newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); 753@init {
754 } 754 enterRule();
755 ( 755}
756 ( 756@after {
757 { 757 leaveRule();
758 if ($current==null) { 758}:
759 $current = createModelElement(grammarAccess.getAllPackageEntryRule()); 759 (
760 } 760 otherlv_0='package'
761 } 761 {
762 { 762 newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0());
763 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); 763 }
764 } 764 (
765 ruleQualifiedName 765 (
766 { 766 {
767 afterParserOrEnumRuleCall(); 767 if ($current==null) {
768 } 768 $current = createModelElement(grammarAccess.getAllPackageEntryRule());
769 ) 769 }
770 ) 770 }
771 ( 771 {
772 otherlv_2='excluding' 772 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0());
773 { 773 }
774 newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); 774 ruleQualifiedName
775 } 775 {
776 otherlv_3='{' 776 afterParserOrEnumRuleCall();
777 { 777 }
778 newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); 778 )
779 } 779 )
780 ( 780 (
781 ( 781 otherlv_2='excluding'
782 { 782 {
783 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); 783 newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0());
784 } 784 }
785 lv_exclusion_4_0=ruleMetamodelElement 785 otherlv_3='{'
786 { 786 {
787 if ($current==null) { 787 newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1());
788 $current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); 788 }
789 } 789 (
790 add( 790 (
791 $current, 791 {
792 "exclusion", 792 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0());
793 lv_exclusion_4_0, 793 }
794 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); 794 lv_exclusion_4_0=ruleMetamodelElement
795 afterParserOrEnumRuleCall(); 795 {
796 } 796 if ($current==null) {
797 ) 797 $current = createModelElementForParent(grammarAccess.getAllPackageEntryRule());
798 ) 798 }
799 ( 799 add(
800 otherlv_5=',' 800 $current,
801 { 801 "exclusion",
802 newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); 802 lv_exclusion_4_0,
803 } 803 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement");
804 ( 804 afterParserOrEnumRuleCall();
805 ( 805 }
806 { 806 )
807 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); 807 )
808 } 808 (
809 lv_exclusion_6_0=ruleMetamodelElement 809 otherlv_5=','
810 { 810 {
811 if ($current==null) { 811 newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0());
812 $current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); 812 }
813 } 813 (
814 add( 814 (
815 $current, 815 {
816 "exclusion", 816 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0());
817 lv_exclusion_6_0, 817 }
818 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); 818 lv_exclusion_6_0=ruleMetamodelElement
819 afterParserOrEnumRuleCall(); 819 {
820 } 820 if ($current==null) {
821 ) 821 $current = createModelElementForParent(grammarAccess.getAllPackageEntryRule());
822 ) 822 }
823 )* 823 add(
824 otherlv_7='}' 824 $current,
825 { 825 "exclusion",
826 newLeafNode(otherlv_7, grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); 826 lv_exclusion_6_0,
827 } 827 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement");
828 )? 828 afterParserOrEnumRuleCall();
829 ) 829 }
830; 830 )
831 831 )
832// Entry rule entryRuleMetamodelElement 832 )*
833entryRuleMetamodelElement returns [EObject current=null]: 833 otherlv_7='}'
834 { newCompositeNode(grammarAccess.getMetamodelElementRule()); } 834 {
835 iv_ruleMetamodelElement=ruleMetamodelElement 835 newLeafNode(otherlv_7, grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4());
836 { $current=$iv_ruleMetamodelElement.current; } 836 }
837 EOF; 837 )?
838 838 )
839// Rule MetamodelElement 839;
840ruleMetamodelElement returns [EObject current=null] 840
841@init { 841// Entry rule entryRuleMetamodelElement
842 enterRule(); 842entryRuleMetamodelElement returns [EObject current=null]:
843} 843 { newCompositeNode(grammarAccess.getMetamodelElementRule()); }
844@after { 844 iv_ruleMetamodelElement=ruleMetamodelElement
845 leaveRule(); 845 { $current=$iv_ruleMetamodelElement.current; }
846}: 846 EOF;
847 ( 847
848 ( 848// Rule MetamodelElement
849 ( 849ruleMetamodelElement returns [EObject current=null]
850 ( 850@init {
851 { 851 enterRule();
852 if ($current==null) { 852}
853 $current = createModelElement(grammarAccess.getMetamodelElementRule()); 853@after {
854 } 854 leaveRule();
855 } 855}:
856 { 856 (
857 newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); 857 (
858 } 858 (
859 ruleQualifiedName 859 (
860 { 860 {
861 afterParserOrEnumRuleCall(); 861 if ($current==null) {
862 } 862 $current = createModelElement(grammarAccess.getMetamodelElementRule());
863 ) 863 }
864 ) 864 }
865 otherlv_1='::' 865 {
866 { 866 newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0());
867 newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); 867 }
868 } 868 ruleQualifiedName
869 )? 869 {
870 ( 870 afterParserOrEnumRuleCall();
871 ( 871 }
872 { 872 )
873 if ($current==null) { 873 )
874 $current = createModelElement(grammarAccess.getMetamodelElementRule()); 874 otherlv_1='::'
875 } 875 {
876 } 876 newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1());
877 otherlv_2=RULE_ID 877 }
878 { 878 )?
879 newLeafNode(otherlv_2, grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); 879 (
880 } 880 (
881 ) 881 {
882 ) 882 if ($current==null) {
883 ( 883 $current = createModelElement(grammarAccess.getMetamodelElementRule());
884 otherlv_3='.' 884 }
885 { 885 }
886 newLeafNode(otherlv_3, grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); 886 otherlv_2=RULE_ID
887 } 887 {
888 ( 888 newLeafNode(otherlv_2, grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0());
889 ( 889 }
890 { 890 )
891 if ($current==null) { 891 )
892 $current = createModelElement(grammarAccess.getMetamodelElementRule()); 892 (
893 } 893 otherlv_3='.'
894 } 894 {
895 otherlv_4=RULE_ID 895 newLeafNode(otherlv_3, grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0());
896 { 896 }
897 newLeafNode(otherlv_4, grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); 897 (
898 } 898 (
899 ) 899 {
900 ) 900 if ($current==null) {
901 )? 901 $current = createModelElement(grammarAccess.getMetamodelElementRule());
902 ) 902 }
903; 903 }
904 904 otherlv_4=RULE_ID
905// Entry rule entryRuleMetamodelDeclaration 905 {
906entryRuleMetamodelDeclaration returns [EObject current=null]: 906 newLeafNode(otherlv_4, grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0());
907 { newCompositeNode(grammarAccess.getMetamodelDeclarationRule()); } 907 }
908 iv_ruleMetamodelDeclaration=ruleMetamodelDeclaration 908 )
909 { $current=$iv_ruleMetamodelDeclaration.current; } 909 )
910 EOF; 910 )?
911 911 )
912// Rule MetamodelDeclaration 912;
913ruleMetamodelDeclaration returns [EObject current=null] 913
914@init { 914// Entry rule entryRuleMetamodelDeclaration
915 enterRule(); 915entryRuleMetamodelDeclaration returns [EObject current=null]:
916} 916 { newCompositeNode(grammarAccess.getMetamodelDeclarationRule()); }
917@after { 917 iv_ruleMetamodelDeclaration=ruleMetamodelDeclaration
918 leaveRule(); 918 { $current=$iv_ruleMetamodelDeclaration.current; }
919}: 919 EOF;
920 ( 920
921 otherlv_0='metamodel' 921// Rule MetamodelDeclaration
922 { 922ruleMetamodelDeclaration returns [EObject current=null]
923 newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); 923@init {
924 } 924 enterRule();
925 ( 925}
926 ( 926@after {
927 lv_name_1_0=RULE_ID 927 leaveRule();
928 { 928}:
929 newLeafNode(lv_name_1_0, grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 929 (
930 } 930 otherlv_0='metamodel'
931 { 931 {
932 if ($current==null) { 932 newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0());
933 $current = createModelElement(grammarAccess.getMetamodelDeclarationRule()); 933 }
934 } 934 (
935 setWithLastConsumed( 935 (
936 $current, 936 lv_name_1_0=RULE_ID
937 "name", 937 {
938 lv_name_1_0, 938 newLeafNode(lv_name_1_0, grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0());
939 "org.eclipse.xtext.common.Terminals.ID"); 939 }
940 } 940 {
941 ) 941 if ($current==null) {
942 ) 942 $current = createModelElement(grammarAccess.getMetamodelDeclarationRule());
943 ( 943 }
944 ( 944 setWithLastConsumed(
945 { 945 $current,
946 newCompositeNode(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); 946 "name",
947 } 947 lv_name_1_0,
948 lv_specification_2_0=ruleMetamodelSpecification 948 "org.eclipse.xtext.common.Terminals.ID");
949 { 949 }
950 if ($current==null) { 950 )
951 $current = createModelElementForParent(grammarAccess.getMetamodelDeclarationRule()); 951 )
952 } 952 (
953 set( 953 (
954 $current, 954 {
955 "specification", 955 newCompositeNode(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0());
956 lv_specification_2_0, 956 }
957 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification"); 957 lv_specification_2_0=ruleMetamodelSpecification
958 afterParserOrEnumRuleCall(); 958 {
959 } 959 if ($current==null) {
960 ) 960 $current = createModelElementForParent(grammarAccess.getMetamodelDeclarationRule());
961 ) 961 }
962 ) 962 set(
963; 963 $current,
964 964 "specification",
965// Entry rule entryRuleMetamodelReference 965 lv_specification_2_0,
966entryRuleMetamodelReference returns [EObject current=null]: 966 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification");
967 { newCompositeNode(grammarAccess.getMetamodelReferenceRule()); } 967 afterParserOrEnumRuleCall();
968 iv_ruleMetamodelReference=ruleMetamodelReference 968 }
969 { $current=$iv_ruleMetamodelReference.current; } 969 )
970 EOF; 970 )
971 971 )
972// Rule MetamodelReference 972;
973ruleMetamodelReference returns [EObject current=null] 973
974@init { 974// Entry rule entryRuleMetamodelReference
975 enterRule(); 975entryRuleMetamodelReference returns [EObject current=null]:
976} 976 { newCompositeNode(grammarAccess.getMetamodelReferenceRule()); }
977@after { 977 iv_ruleMetamodelReference=ruleMetamodelReference
978 leaveRule(); 978 { $current=$iv_ruleMetamodelReference.current; }
979}: 979 EOF;
980 ( 980
981 ( 981// Rule MetamodelReference
982 { 982ruleMetamodelReference returns [EObject current=null]
983 if ($current==null) { 983@init {
984 $current = createModelElement(grammarAccess.getMetamodelReferenceRule()); 984 enterRule();
985 } 985}
986 } 986@after {
987 otherlv_0=RULE_ID 987 leaveRule();
988 { 988}:
989 newLeafNode(otherlv_0, grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); 989 (
990 } 990 (
991 ) 991 {
992 ) 992 if ($current==null) {
993; 993 $current = createModelElement(grammarAccess.getMetamodelReferenceRule());
994 994 }
995// Entry rule entryRuleMetamodel 995 }
996entryRuleMetamodel returns [EObject current=null]: 996 otherlv_0=RULE_ID
997 { newCompositeNode(grammarAccess.getMetamodelRule()); } 997 {
998 iv_ruleMetamodel=ruleMetamodel 998 newLeafNode(otherlv_0, grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0());
999 { $current=$iv_ruleMetamodel.current; } 999 }
1000 EOF; 1000 )
1001 1001 )
1002// Rule Metamodel 1002;
1003ruleMetamodel returns [EObject current=null] 1003
1004@init { 1004// Entry rule entryRuleMetamodel
1005 enterRule(); 1005entryRuleMetamodel returns [EObject current=null]:
1006} 1006 { newCompositeNode(grammarAccess.getMetamodelRule()); }
1007@after { 1007 iv_ruleMetamodel=ruleMetamodel
1008 leaveRule(); 1008 { $current=$iv_ruleMetamodel.current; }
1009}: 1009 EOF;
1010 ( 1010
1011 { 1011// Rule Metamodel
1012 newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); 1012ruleMetamodel returns [EObject current=null]
1013 } 1013@init {
1014 this_MetamodelReference_0=ruleMetamodelReference 1014 enterRule();
1015 { 1015}
1016 $current = $this_MetamodelReference_0.current; 1016@after {
1017 afterParserOrEnumRuleCall(); 1017 leaveRule();
1018 } 1018}:
1019 | 1019 (
1020 { 1020 {
1021 newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); 1021 newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0());
1022 } 1022 }
1023 this_MetamodelSpecification_1=ruleMetamodelSpecification 1023 this_MetamodelReference_0=ruleMetamodelReference
1024 { 1024 {
1025 $current = $this_MetamodelSpecification_1.current; 1025 $current = $this_MetamodelReference_0.current;
1026 afterParserOrEnumRuleCall(); 1026 afterParserOrEnumRuleCall();
1027 } 1027 }
1028 ) 1028 |
1029; 1029 {
1030 1030 newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1());
1031// Entry rule entryRulePartialModelSpecification 1031 }
1032entryRulePartialModelSpecification returns [EObject current=null]: 1032 this_MetamodelSpecification_1=ruleMetamodelSpecification
1033 { newCompositeNode(grammarAccess.getPartialModelSpecificationRule()); } 1033 {
1034 iv_rulePartialModelSpecification=rulePartialModelSpecification 1034 $current = $this_MetamodelSpecification_1.current;
1035 { $current=$iv_rulePartialModelSpecification.current; } 1035 afterParserOrEnumRuleCall();
1036 EOF; 1036 }
1037 1037 )
1038// Rule PartialModelSpecification 1038;
1039rulePartialModelSpecification returns [EObject current=null] 1039
1040@init { 1040// Entry rule entryRulePartialModelSpecification
1041 enterRule(); 1041entryRulePartialModelSpecification returns [EObject current=null]:
1042} 1042 { newCompositeNode(grammarAccess.getPartialModelSpecificationRule()); }
1043@after { 1043 iv_rulePartialModelSpecification=rulePartialModelSpecification
1044 leaveRule(); 1044 { $current=$iv_rulePartialModelSpecification.current; }
1045}: 1045 EOF;
1046 ( 1046
1047 otherlv_0='{' 1047// Rule PartialModelSpecification
1048 { 1048rulePartialModelSpecification returns [EObject current=null]
1049 newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); 1049@init {
1050 } 1050 enterRule();
1051 ( 1051}
1052 ( 1052@after {
1053 { 1053 leaveRule();
1054 newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); 1054}:
1055 } 1055 (
1056 lv_entry_1_0=rulePartialModelEntry 1056 otherlv_0='{'
1057 { 1057 {
1058 if ($current==null) { 1058 newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0());
1059 $current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); 1059 }
1060 } 1060 (
1061 add( 1061 (
1062 $current, 1062 {
1063 "entry", 1063 newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0());
1064 lv_entry_1_0, 1064 }
1065 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); 1065 lv_entry_1_0=rulePartialModelEntry
1066 afterParserOrEnumRuleCall(); 1066 {
1067 } 1067 if ($current==null) {
1068 ) 1068 $current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule());
1069 ) 1069 }
1070 ( 1070 add(
1071 otherlv_2=',' 1071 $current,
1072 { 1072 "entry",
1073 newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); 1073 lv_entry_1_0,
1074 } 1074 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry");
1075 ( 1075 afterParserOrEnumRuleCall();
1076 ( 1076 }
1077 { 1077 )
1078 newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); 1078 )
1079 } 1079 (
1080 lv_entry_3_0=rulePartialModelEntry 1080 otherlv_2=','
1081 { 1081 {
1082 if ($current==null) { 1082 newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0());
1083 $current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); 1083 }
1084 } 1084 (
1085 add( 1085 (
1086 $current, 1086 {
1087 "entry", 1087 newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0());
1088 lv_entry_3_0, 1088 }
1089 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); 1089 lv_entry_3_0=rulePartialModelEntry
1090 afterParserOrEnumRuleCall(); 1090 {
1091 } 1091 if ($current==null) {
1092 ) 1092 $current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule());
1093 ) 1093 }
1094 )? 1094 add(
1095 otherlv_4='}' 1095 $current,
1096 { 1096 "entry",
1097 newLeafNode(otherlv_4, grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); 1097 lv_entry_3_0,
1098 } 1098 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry");
1099 ) 1099 afterParserOrEnumRuleCall();
1100; 1100 }
1101 1101 )
1102// Entry rule entryRulePartialModelEntry 1102 )
1103entryRulePartialModelEntry returns [EObject current=null]: 1103 )?
1104 { newCompositeNode(grammarAccess.getPartialModelEntryRule()); } 1104 otherlv_4='}'
1105 iv_rulePartialModelEntry=rulePartialModelEntry 1105 {
1106 { $current=$iv_rulePartialModelEntry.current; } 1106 newLeafNode(otherlv_4, grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3());
1107 EOF; 1107 }
1108 1108 )
1109// Rule PartialModelEntry 1109;
1110rulePartialModelEntry returns [EObject current=null] 1110
1111@init { 1111// Entry rule entryRulePartialModelEntry
1112 enterRule(); 1112entryRulePartialModelEntry returns [EObject current=null]:
1113} 1113 { newCompositeNode(grammarAccess.getPartialModelEntryRule()); }
1114@after { 1114 iv_rulePartialModelEntry=rulePartialModelEntry
1115 leaveRule(); 1115 { $current=$iv_rulePartialModelEntry.current; }
1116}: 1116 EOF;
1117 ( 1117
1118 { 1118// Rule PartialModelEntry
1119 newCompositeNode(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); 1119rulePartialModelEntry returns [EObject current=null]
1120 } 1120@init {
1121 this_ModelEntry_0=ruleModelEntry 1121 enterRule();
1122 { 1122}
1123 $current = $this_ModelEntry_0.current; 1123@after {
1124 afterParserOrEnumRuleCall(); 1124 leaveRule();
1125 } 1125}:
1126 | 1126 (
1127 { 1127 {
1128 newCompositeNode(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); 1128 newCompositeNode(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0());
1129 } 1129 }
1130 this_FolderEntry_1=ruleFolderEntry 1130 this_ModelEntry_0=ruleModelEntry
1131 { 1131 {
1132 $current = $this_FolderEntry_1.current; 1132 $current = $this_ModelEntry_0.current;
1133 afterParserOrEnumRuleCall(); 1133 afterParserOrEnumRuleCall();
1134 } 1134 }
1135 ) 1135 |
1136; 1136 {
1137 1137 newCompositeNode(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1());
1138// Entry rule entryRuleModelEntry 1138 }
1139entryRuleModelEntry returns [EObject current=null]: 1139 this_FolderEntry_1=ruleFolderEntry
1140 { newCompositeNode(grammarAccess.getModelEntryRule()); } 1140 {
1141 iv_ruleModelEntry=ruleModelEntry 1141 $current = $this_FolderEntry_1.current;
1142 { $current=$iv_ruleModelEntry.current; } 1142 afterParserOrEnumRuleCall();
1143 EOF; 1143 }
1144 1144 )
1145// Rule ModelEntry 1145;
1146ruleModelEntry returns [EObject current=null] 1146
1147@init { 1147// Entry rule entryRuleModelEntry
1148 enterRule(); 1148entryRuleModelEntry returns [EObject current=null]:
1149} 1149 { newCompositeNode(grammarAccess.getModelEntryRule()); }
1150@after { 1150 iv_ruleModelEntry=ruleModelEntry
1151 leaveRule(); 1151 { $current=$iv_ruleModelEntry.current; }
1152}: 1152 EOF;
1153 ( 1153
1154 ( 1154// Rule ModelEntry
1155 { 1155ruleModelEntry returns [EObject current=null]
1156 newCompositeNode(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); 1156@init {
1157 } 1157 enterRule();
1158 lv_path_0_0=ruleFile 1158}
1159 { 1159@after {
1160 if ($current==null) { 1160 leaveRule();
1161 $current = createModelElementForParent(grammarAccess.getModelEntryRule()); 1161}:
1162 } 1162 (
1163 set( 1163 (
1164 $current, 1164 {
1165 "path", 1165 newCompositeNode(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0());
1166 lv_path_0_0, 1166 }
1167 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 1167 lv_path_0_0=ruleFile
1168 afterParserOrEnumRuleCall(); 1168 {
1169 } 1169 if ($current==null) {
1170 ) 1170 $current = createModelElementForParent(grammarAccess.getModelEntryRule());
1171 ) 1171 }
1172; 1172 set(
1173 1173 $current,
1174// Entry rule entryRuleFolderEntry 1174 "path",
1175entryRuleFolderEntry returns [EObject current=null]: 1175 lv_path_0_0,
1176 { newCompositeNode(grammarAccess.getFolderEntryRule()); } 1176 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
1177 iv_ruleFolderEntry=ruleFolderEntry 1177 afterParserOrEnumRuleCall();
1178 { $current=$iv_ruleFolderEntry.current; } 1178 }
1179 EOF; 1179 )
1180 1180 )
1181// Rule FolderEntry 1181;
1182ruleFolderEntry returns [EObject current=null] 1182
1183@init { 1183// Entry rule entryRuleFolderEntry
1184 enterRule(); 1184entryRuleFolderEntry returns [EObject current=null]:
1185} 1185 { newCompositeNode(grammarAccess.getFolderEntryRule()); }
1186@after { 1186 iv_ruleFolderEntry=ruleFolderEntry
1187 leaveRule(); 1187 { $current=$iv_ruleFolderEntry.current; }
1188}: 1188 EOF;
1189 ( 1189
1190 otherlv_0='folder' 1190// Rule FolderEntry
1191 { 1191ruleFolderEntry returns [EObject current=null]
1192 newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); 1192@init {
1193 } 1193 enterRule();
1194 ( 1194}
1195 ( 1195@after {
1196 { 1196 leaveRule();
1197 newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); 1197}:
1198 } 1198 (
1199 lv_path_1_0=ruleFile 1199 otherlv_0='folder'
1200 { 1200 {
1201 if ($current==null) { 1201 newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0());
1202 $current = createModelElementForParent(grammarAccess.getFolderEntryRule()); 1202 }
1203 } 1203 (
1204 set( 1204 (
1205 $current, 1205 {
1206 "path", 1206 newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0());
1207 lv_path_1_0, 1207 }
1208 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 1208 lv_path_1_0=ruleFile
1209 afterParserOrEnumRuleCall(); 1209 {
1210 } 1210 if ($current==null) {
1211 ) 1211 $current = createModelElementForParent(grammarAccess.getFolderEntryRule());
1212 ) 1212 }
1213 ( 1213 set(
1214 otherlv_2='excluding' 1214 $current,
1215 { 1215 "path",
1216 newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); 1216 lv_path_1_0,
1217 } 1217 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
1218 otherlv_3='{' 1218 afterParserOrEnumRuleCall();
1219 { 1219 }
1220 newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); 1220 )
1221 } 1221 )
1222 ( 1222 (
1223 ( 1223 otherlv_2='excluding'
1224 { 1224 {
1225 newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); 1225 newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0());
1226 } 1226 }
1227 lv_exclusion_4_0=ruleModelEntry 1227 otherlv_3='{'
1228 { 1228 {
1229 if ($current==null) { 1229 newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1());
1230 $current = createModelElementForParent(grammarAccess.getFolderEntryRule()); 1230 }
1231 } 1231 (
1232 add( 1232 (
1233 $current, 1233 {
1234 "exclusion", 1234 newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0());
1235 lv_exclusion_4_0, 1235 }
1236 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); 1236 lv_exclusion_4_0=ruleModelEntry
1237 afterParserOrEnumRuleCall(); 1237 {
1238 } 1238 if ($current==null) {
1239 ) 1239 $current = createModelElementForParent(grammarAccess.getFolderEntryRule());
1240 ) 1240 }
1241 ( 1241 add(
1242 otherlv_5=',' 1242 $current,
1243 { 1243 "exclusion",
1244 newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); 1244 lv_exclusion_4_0,
1245 } 1245 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry");
1246 ( 1246 afterParserOrEnumRuleCall();
1247 ( 1247 }
1248 { 1248 )
1249 newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); 1249 )
1250 } 1250 (
1251 lv_exclusion_6_0=ruleModelEntry 1251 otherlv_5=','
1252 { 1252 {
1253 if ($current==null) { 1253 newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0());
1254 $current = createModelElementForParent(grammarAccess.getFolderEntryRule()); 1254 }
1255 } 1255 (
1256 add( 1256 (
1257 $current, 1257 {
1258 "exclusion", 1258 newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0());
1259 lv_exclusion_6_0, 1259 }
1260 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); 1260 lv_exclusion_6_0=ruleModelEntry
1261 afterParserOrEnumRuleCall(); 1261 {
1262 } 1262 if ($current==null) {
1263 ) 1263 $current = createModelElementForParent(grammarAccess.getFolderEntryRule());
1264 ) 1264 }
1265 )* 1265 add(
1266 otherlv_7='}' 1266 $current,
1267 { 1267 "exclusion",
1268 newLeafNode(otherlv_7, grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); 1268 lv_exclusion_6_0,
1269 } 1269 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry");
1270 )? 1270 afterParserOrEnumRuleCall();
1271 ) 1271 }
1272; 1272 )
1273 1273 )
1274// Entry rule entryRulePartialModelDeclaration 1274 )*
1275entryRulePartialModelDeclaration returns [EObject current=null]: 1275 otherlv_7='}'
1276 { newCompositeNode(grammarAccess.getPartialModelDeclarationRule()); } 1276 {
1277 iv_rulePartialModelDeclaration=rulePartialModelDeclaration 1277 newLeafNode(otherlv_7, grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4());
1278 { $current=$iv_rulePartialModelDeclaration.current; } 1278 }
1279 EOF; 1279 )?
1280 1280 )
1281// Rule PartialModelDeclaration 1281;
1282rulePartialModelDeclaration returns [EObject current=null] 1282
1283@init { 1283// Entry rule entryRulePartialModelDeclaration
1284 enterRule(); 1284entryRulePartialModelDeclaration returns [EObject current=null]:
1285} 1285 { newCompositeNode(grammarAccess.getPartialModelDeclarationRule()); }
1286@after { 1286 iv_rulePartialModelDeclaration=rulePartialModelDeclaration
1287 leaveRule(); 1287 { $current=$iv_rulePartialModelDeclaration.current; }
1288}: 1288 EOF;
1289 ( 1289
1290 otherlv_0='models' 1290// Rule PartialModelDeclaration
1291 { 1291rulePartialModelDeclaration returns [EObject current=null]
1292 newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); 1292@init {
1293 } 1293 enterRule();
1294 ( 1294}
1295 ( 1295@after {
1296 lv_name_1_0=RULE_ID 1296 leaveRule();
1297 { 1297}:
1298 newLeafNode(lv_name_1_0, grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 1298 (
1299 } 1299 otherlv_0='models'
1300 { 1300 {
1301 if ($current==null) { 1301 newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0());
1302 $current = createModelElement(grammarAccess.getPartialModelDeclarationRule()); 1302 }
1303 } 1303 (
1304 setWithLastConsumed( 1304 (
1305 $current, 1305 lv_name_1_0=RULE_ID
1306 "name", 1306 {
1307 lv_name_1_0, 1307 newLeafNode(lv_name_1_0, grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0());
1308 "org.eclipse.xtext.common.Terminals.ID"); 1308 }
1309 } 1309 {
1310 ) 1310 if ($current==null) {
1311 ) 1311 $current = createModelElement(grammarAccess.getPartialModelDeclarationRule());
1312 ( 1312 }
1313 ( 1313 setWithLastConsumed(
1314 { 1314 $current,
1315 newCompositeNode(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); 1315 "name",
1316 } 1316 lv_name_1_0,
1317 lv_specification_2_0=rulePartialModelSpecification 1317 "org.eclipse.xtext.common.Terminals.ID");
1318 { 1318 }
1319 if ($current==null) { 1319 )
1320 $current = createModelElementForParent(grammarAccess.getPartialModelDeclarationRule()); 1320 )
1321 } 1321 (
1322 set( 1322 (
1323 $current, 1323 {
1324 "specification", 1324 newCompositeNode(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0());
1325 lv_specification_2_0, 1325 }
1326 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification"); 1326 lv_specification_2_0=rulePartialModelSpecification
1327 afterParserOrEnumRuleCall(); 1327 {
1328 } 1328 if ($current==null) {
1329 ) 1329 $current = createModelElementForParent(grammarAccess.getPartialModelDeclarationRule());
1330 ) 1330 }
1331 ) 1331 set(
1332; 1332 $current,
1333 1333 "specification",
1334// Entry rule entryRulePartialModelReference 1334 lv_specification_2_0,
1335entryRulePartialModelReference returns [EObject current=null]: 1335 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification");
1336 { newCompositeNode(grammarAccess.getPartialModelReferenceRule()); } 1336 afterParserOrEnumRuleCall();
1337 iv_rulePartialModelReference=rulePartialModelReference 1337 }
1338 { $current=$iv_rulePartialModelReference.current; } 1338 )
1339 EOF; 1339 )
1340 1340 )
1341// Rule PartialModelReference 1341;
1342rulePartialModelReference returns [EObject current=null] 1342
1343@init { 1343// Entry rule entryRulePartialModelReference
1344 enterRule(); 1344entryRulePartialModelReference returns [EObject current=null]:
1345} 1345 { newCompositeNode(grammarAccess.getPartialModelReferenceRule()); }
1346@after { 1346 iv_rulePartialModelReference=rulePartialModelReference
1347 leaveRule(); 1347 { $current=$iv_rulePartialModelReference.current; }
1348}: 1348 EOF;
1349 ( 1349
1350 ( 1350// Rule PartialModelReference
1351 { 1351rulePartialModelReference returns [EObject current=null]
1352 if ($current==null) { 1352@init {
1353 $current = createModelElement(grammarAccess.getPartialModelReferenceRule()); 1353 enterRule();
1354 } 1354}
1355 } 1355@after {
1356 otherlv_0=RULE_ID 1356 leaveRule();
1357 { 1357}:
1358 newLeafNode(otherlv_0, grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); 1358 (
1359 } 1359 (
1360 ) 1360 {
1361 ) 1361 if ($current==null) {
1362; 1362 $current = createModelElement(grammarAccess.getPartialModelReferenceRule());
1363 1363 }
1364// Entry rule entryRulePartialModel 1364 }
1365entryRulePartialModel returns [EObject current=null]: 1365 otherlv_0=RULE_ID
1366 { newCompositeNode(grammarAccess.getPartialModelRule()); } 1366 {
1367 iv_rulePartialModel=rulePartialModel 1367 newLeafNode(otherlv_0, grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0());
1368 { $current=$iv_rulePartialModel.current; } 1368 }
1369 EOF; 1369 )
1370 1370 )
1371// Rule PartialModel 1371;
1372rulePartialModel returns [EObject current=null] 1372
1373@init { 1373// Entry rule entryRulePartialModel
1374 enterRule(); 1374entryRulePartialModel returns [EObject current=null]:
1375} 1375 { newCompositeNode(grammarAccess.getPartialModelRule()); }
1376@after { 1376 iv_rulePartialModel=rulePartialModel
1377 leaveRule(); 1377 { $current=$iv_rulePartialModel.current; }
1378}: 1378 EOF;
1379 ( 1379
1380 { 1380// Rule PartialModel
1381 newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); 1381rulePartialModel returns [EObject current=null]
1382 } 1382@init {
1383 this_PartialModelSpecification_0=rulePartialModelSpecification 1383 enterRule();
1384 { 1384}
1385 $current = $this_PartialModelSpecification_0.current; 1385@after {
1386 afterParserOrEnumRuleCall(); 1386 leaveRule();
1387 } 1387}:
1388 | 1388 (
1389 { 1389 {
1390 newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); 1390 newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0());
1391 } 1391 }
1392 this_PartialModelReference_1=rulePartialModelReference 1392 this_PartialModelSpecification_0=rulePartialModelSpecification
1393 { 1393 {
1394 $current = $this_PartialModelReference_1.current; 1394 $current = $this_PartialModelSpecification_0.current;
1395 afterParserOrEnumRuleCall(); 1395 afterParserOrEnumRuleCall();
1396 } 1396 }
1397 ) 1397 |
1398; 1398 {
1399 1399 newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1());
1400// Entry rule entryRulePatternSpecification 1400 }
1401entryRulePatternSpecification returns [EObject current=null]: 1401 this_PartialModelReference_1=rulePartialModelReference
1402 { newCompositeNode(grammarAccess.getPatternSpecificationRule()); } 1402 {
1403 iv_rulePatternSpecification=rulePatternSpecification 1403 $current = $this_PartialModelReference_1.current;
1404 { $current=$iv_rulePatternSpecification.current; } 1404 afterParserOrEnumRuleCall();
1405 EOF; 1405 }
1406 1406 )
1407// Rule PatternSpecification 1407;
1408rulePatternSpecification returns [EObject current=null] 1408
1409@init { 1409// Entry rule entryRulePatternSpecification
1410 enterRule(); 1410entryRulePatternSpecification returns [EObject current=null]:
1411} 1411 { newCompositeNode(grammarAccess.getPatternSpecificationRule()); }
1412@after { 1412 iv_rulePatternSpecification=rulePatternSpecification
1413 leaveRule(); 1413 { $current=$iv_rulePatternSpecification.current; }
1414}: 1414 EOF;
1415 ( 1415
1416 otherlv_0='{' 1416// Rule PatternSpecification
1417 { 1417rulePatternSpecification returns [EObject current=null]
1418 newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); 1418@init {
1419 } 1419 enterRule();
1420 ( 1420}
1421 ( 1421@after {
1422 { 1422 leaveRule();
1423 newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); 1423}:
1424 } 1424 (
1425 lv_entries_1_0=rulePatternEntry 1425 otherlv_0='{'
1426 { 1426 {
1427 if ($current==null) { 1427 newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0());
1428 $current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); 1428 }
1429 } 1429 (
1430 add( 1430 (
1431 $current, 1431 {
1432 "entries", 1432 newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0());
1433 lv_entries_1_0, 1433 }
1434 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); 1434 lv_entries_1_0=rulePatternEntry
1435 afterParserOrEnumRuleCall(); 1435 {
1436 } 1436 if ($current==null) {
1437 ) 1437 $current = createModelElementForParent(grammarAccess.getPatternSpecificationRule());
1438 ) 1438 }
1439 ( 1439 add(
1440 otherlv_2=',' 1440 $current,
1441 { 1441 "entries",
1442 newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); 1442 lv_entries_1_0,
1443 } 1443 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry");
1444 ( 1444 afterParserOrEnumRuleCall();
1445 ( 1445 }
1446 { 1446 )
1447 newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); 1447 )
1448 } 1448 (
1449 lv_entries_3_0=rulePatternEntry 1449 otherlv_2=','
1450 { 1450 {
1451 if ($current==null) { 1451 newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0());
1452 $current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); 1452 }
1453 } 1453 (
1454 add( 1454 (
1455 $current, 1455 {
1456 "entries", 1456 newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0());
1457 lv_entries_3_0, 1457 }
1458 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); 1458 lv_entries_3_0=rulePatternEntry
1459 afterParserOrEnumRuleCall(); 1459 {
1460 } 1460 if ($current==null) {
1461 ) 1461 $current = createModelElementForParent(grammarAccess.getPatternSpecificationRule());
1462 ) 1462 }
1463 )* 1463 add(
1464 otherlv_4='}' 1464 $current,
1465 { 1465 "entries",
1466 newLeafNode(otherlv_4, grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); 1466 lv_entries_3_0,
1467 } 1467 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry");
1468 ) 1468 afterParserOrEnumRuleCall();
1469; 1469 }
1470 1470 )
1471// Entry rule entryRulePatternEntry 1471 )
1472entryRulePatternEntry returns [EObject current=null]: 1472 )*
1473 { newCompositeNode(grammarAccess.getPatternEntryRule()); } 1473 otherlv_4='}'
1474 iv_rulePatternEntry=rulePatternEntry 1474 {
1475 { $current=$iv_rulePatternEntry.current; } 1475 newLeafNode(otherlv_4, grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3());
1476 EOF; 1476 }
1477 1477 )
1478// Rule PatternEntry 1478;
1479rulePatternEntry returns [EObject current=null] 1479
1480@init { 1480// Entry rule entryRulePatternEntry
1481 enterRule(); 1481entryRulePatternEntry returns [EObject current=null]:
1482} 1482 { newCompositeNode(grammarAccess.getPatternEntryRule()); }
1483@after { 1483 iv_rulePatternEntry=rulePatternEntry
1484 leaveRule(); 1484 { $current=$iv_rulePatternEntry.current; }
1485}: 1485 EOF;
1486 ( 1486
1487 { 1487// Rule PatternEntry
1488 newCompositeNode(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); 1488rulePatternEntry returns [EObject current=null]
1489 } 1489@init {
1490 this_PatternElement_0=rulePatternElement 1490 enterRule();
1491 { 1491}
1492 $current = $this_PatternElement_0.current; 1492@after {
1493 afterParserOrEnumRuleCall(); 1493 leaveRule();
1494 } 1494}:
1495 | 1495 (
1496 { 1496 {
1497 newCompositeNode(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); 1497 newCompositeNode(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0());
1498 } 1498 }
1499 this_AllPatternEntry_1=ruleAllPatternEntry 1499 this_PatternElement_0=rulePatternElement
1500 { 1500 {
1501 $current = $this_AllPatternEntry_1.current; 1501 $current = $this_PatternElement_0.current;
1502 afterParserOrEnumRuleCall(); 1502 afterParserOrEnumRuleCall();
1503 } 1503 }
1504 ) 1504 |
1505; 1505 {
1506 1506 newCompositeNode(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1());
1507// Entry rule entryRuleAllPatternEntry 1507 }
1508entryRuleAllPatternEntry returns [EObject current=null]: 1508 this_AllPatternEntry_1=ruleAllPatternEntry
1509 { newCompositeNode(grammarAccess.getAllPatternEntryRule()); } 1509 {
1510 iv_ruleAllPatternEntry=ruleAllPatternEntry 1510 $current = $this_AllPatternEntry_1.current;
1511 { $current=$iv_ruleAllPatternEntry.current; } 1511 afterParserOrEnumRuleCall();
1512 EOF; 1512 }
1513 1513 )
1514// Rule AllPatternEntry 1514;
1515ruleAllPatternEntry returns [EObject current=null] 1515
1516@init { 1516// Entry rule entryRuleAllPatternEntry
1517 enterRule(); 1517entryRuleAllPatternEntry returns [EObject current=null]:
1518} 1518 { newCompositeNode(grammarAccess.getAllPatternEntryRule()); }
1519@after { 1519 iv_ruleAllPatternEntry=ruleAllPatternEntry
1520 leaveRule(); 1520 { $current=$iv_ruleAllPatternEntry.current; }
1521}: 1521 EOF;
1522 ( 1522
1523 otherlv_0='package' 1523// Rule AllPatternEntry
1524 { 1524ruleAllPatternEntry returns [EObject current=null]
1525 newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); 1525@init {
1526 } 1526 enterRule();
1527 ( 1527}
1528 ( 1528@after {
1529 { 1529 leaveRule();
1530 if ($current==null) { 1530}:
1531 $current = createModelElement(grammarAccess.getAllPatternEntryRule()); 1531 (
1532 } 1532 otherlv_0='package'
1533 } 1533 {
1534 { 1534 newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0());
1535 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); 1535 }
1536 } 1536 (
1537 ruleQualifiedName 1537 (
1538 { 1538 {
1539 afterParserOrEnumRuleCall(); 1539 if ($current==null) {
1540 } 1540 $current = createModelElement(grammarAccess.getAllPatternEntryRule());
1541 ) 1541 }
1542 ) 1542 }
1543 ( 1543 {
1544 otherlv_2='excluding' 1544 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0());
1545 { 1545 }
1546 newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); 1546 ruleQualifiedName
1547 } 1547 {
1548 otherlv_3='{' 1548 afterParserOrEnumRuleCall();
1549 { 1549 }
1550 newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); 1550 )
1551 } 1551 )
1552 ( 1552 (
1553 ( 1553 otherlv_2='excluding'
1554 { 1554 {
1555 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); 1555 newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0());
1556 } 1556 }
1557 lv_exclusuion_4_0=rulePatternElement 1557 otherlv_3='{'
1558 { 1558 {
1559 if ($current==null) { 1559 newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1());
1560 $current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); 1560 }
1561 } 1561 (
1562 add( 1562 (
1563 $current, 1563 {
1564 "exclusuion", 1564 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0());
1565 lv_exclusuion_4_0, 1565 }
1566 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); 1566 lv_exclusuion_4_0=rulePatternElement
1567 afterParserOrEnumRuleCall(); 1567 {
1568 } 1568 if ($current==null) {
1569 ) 1569 $current = createModelElementForParent(grammarAccess.getAllPatternEntryRule());
1570 ) 1570 }
1571 ( 1571 add(
1572 otherlv_5=',' 1572 $current,
1573 { 1573 "exclusuion",
1574 newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); 1574 lv_exclusuion_4_0,
1575 } 1575 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement");
1576 ( 1576 afterParserOrEnumRuleCall();
1577 ( 1577 }
1578 { 1578 )
1579 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); 1579 )
1580 } 1580 (
1581 lv_exclusuion_6_0=rulePatternElement 1581 otherlv_5=','
1582 { 1582 {
1583 if ($current==null) { 1583 newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0());
1584 $current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); 1584 }
1585 } 1585 (
1586 add( 1586 (
1587 $current, 1587 {
1588 "exclusuion", 1588 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0());
1589 lv_exclusuion_6_0, 1589 }
1590 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); 1590 lv_exclusuion_6_0=rulePatternElement
1591 afterParserOrEnumRuleCall(); 1591 {
1592 } 1592 if ($current==null) {
1593 ) 1593 $current = createModelElementForParent(grammarAccess.getAllPatternEntryRule());
1594 ) 1594 }
1595 )* 1595 add(
1596 otherlv_7='}' 1596 $current,
1597 { 1597 "exclusuion",
1598 newLeafNode(otherlv_7, grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); 1598 lv_exclusuion_6_0,
1599 } 1599 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement");
1600 )? 1600 afterParserOrEnumRuleCall();
1601 ) 1601 }
1602; 1602 )
1603 1603 )
1604// Entry rule entryRulePatternElement 1604 )*
1605entryRulePatternElement returns [EObject current=null]: 1605 otherlv_7='}'
1606 { newCompositeNode(grammarAccess.getPatternElementRule()); } 1606 {
1607 iv_rulePatternElement=rulePatternElement 1607 newLeafNode(otherlv_7, grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4());
1608 { $current=$iv_rulePatternElement.current; } 1608 }
1609 EOF; 1609 )?
1610 1610 )
1611// Rule PatternElement 1611;
1612rulePatternElement returns [EObject current=null] 1612
1613@init { 1613// Entry rule entryRulePatternElement
1614 enterRule(); 1614entryRulePatternElement returns [EObject current=null]:
1615} 1615 { newCompositeNode(grammarAccess.getPatternElementRule()); }
1616@after { 1616 iv_rulePatternElement=rulePatternElement
1617 leaveRule(); 1617 { $current=$iv_rulePatternElement.current; }
1618}: 1618 EOF;
1619 ( 1619
1620 ( 1620// Rule PatternElement
1621 ( 1621rulePatternElement returns [EObject current=null]
1622 ( 1622@init {
1623 { 1623 enterRule();
1624 if ($current==null) { 1624}
1625 $current = createModelElement(grammarAccess.getPatternElementRule()); 1625@after {
1626 } 1626 leaveRule();
1627 } 1627}:
1628 { 1628 (
1629 newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); 1629 (
1630 } 1630 (
1631 ruleQualifiedName 1631 (
1632 { 1632 {
1633 afterParserOrEnumRuleCall(); 1633 if ($current==null) {
1634 } 1634 $current = createModelElement(grammarAccess.getPatternElementRule());
1635 ) 1635 }
1636 ) 1636 }
1637 otherlv_1='::' 1637 {
1638 { 1638 newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0());
1639 newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); 1639 }
1640 } 1640 ruleQualifiedName
1641 )? 1641 {
1642 ( 1642 afterParserOrEnumRuleCall();
1643 ( 1643 }
1644 { 1644 )
1645 if ($current==null) { 1645 )
1646 $current = createModelElement(grammarAccess.getPatternElementRule()); 1646 otherlv_1='::'
1647 } 1647 {
1648 } 1648 newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1());
1649 otherlv_2=RULE_ID 1649 }
1650 { 1650 )?
1651 newLeafNode(otherlv_2, grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); 1651 (
1652 } 1652 (
1653 ) 1653 {
1654 ) 1654 if ($current==null) {
1655 ) 1655 $current = createModelElement(grammarAccess.getPatternElementRule());
1656; 1656 }
1657 1657 }
1658// Entry rule entryRuleGraphPatternDeclaration 1658 otherlv_2=RULE_ID
1659entryRuleGraphPatternDeclaration returns [EObject current=null]: 1659 {
1660 { newCompositeNode(grammarAccess.getGraphPatternDeclarationRule()); } 1660 newLeafNode(otherlv_2, grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0());
1661 iv_ruleGraphPatternDeclaration=ruleGraphPatternDeclaration 1661 }
1662 { $current=$iv_ruleGraphPatternDeclaration.current; } 1662 )
1663 EOF; 1663 )
1664 1664 )
1665// Rule GraphPatternDeclaration 1665;
1666ruleGraphPatternDeclaration returns [EObject current=null] 1666
1667@init { 1667// Entry rule entryRuleGraphPatternDeclaration
1668 enterRule(); 1668entryRuleGraphPatternDeclaration returns [EObject current=null]:
1669} 1669 { newCompositeNode(grammarAccess.getGraphPatternDeclarationRule()); }
1670@after { 1670 iv_ruleGraphPatternDeclaration=ruleGraphPatternDeclaration
1671 leaveRule(); 1671 { $current=$iv_ruleGraphPatternDeclaration.current; }
1672}: 1672 EOF;
1673 ( 1673
1674 otherlv_0='constraints' 1674// Rule GraphPatternDeclaration
1675 { 1675ruleGraphPatternDeclaration returns [EObject current=null]
1676 newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0()); 1676@init {
1677 } 1677 enterRule();
1678 ( 1678}
1679 ( 1679@after {
1680 lv_name_1_0=RULE_ID 1680 leaveRule();
1681 { 1681}:
1682 newLeafNode(lv_name_1_0, grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 1682 (
1683 } 1683 otherlv_0='constraints'
1684 { 1684 {
1685 if ($current==null) { 1685 newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0());
1686 $current = createModelElement(grammarAccess.getGraphPatternDeclarationRule()); 1686 }
1687 } 1687 (
1688 setWithLastConsumed( 1688 (
1689 $current, 1689 lv_name_1_0=RULE_ID
1690 "name", 1690 {
1691 lv_name_1_0, 1691 newLeafNode(lv_name_1_0, grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0());
1692 "org.eclipse.xtext.common.Terminals.ID"); 1692 }
1693 } 1693 {
1694 ) 1694 if ($current==null) {
1695 ) 1695 $current = createModelElement(grammarAccess.getGraphPatternDeclarationRule());
1696 ( 1696 }
1697 ( 1697 setWithLastConsumed(
1698 { 1698 $current,
1699 newCompositeNode(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); 1699 "name",
1700 } 1700 lv_name_1_0,
1701 lv_specification_2_0=rulePatternSpecification 1701 "org.eclipse.xtext.common.Terminals.ID");
1702 { 1702 }
1703 if ($current==null) { 1703 )
1704 $current = createModelElementForParent(grammarAccess.getGraphPatternDeclarationRule()); 1704 )
1705 } 1705 (
1706 set( 1706 (
1707 $current, 1707 {
1708 "specification", 1708 newCompositeNode(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0());
1709 lv_specification_2_0, 1709 }
1710 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification"); 1710 lv_specification_2_0=rulePatternSpecification
1711 afterParserOrEnumRuleCall(); 1711 {
1712 } 1712 if ($current==null) {
1713 ) 1713 $current = createModelElementForParent(grammarAccess.getGraphPatternDeclarationRule());
1714 ) 1714 }
1715 ) 1715 set(
1716; 1716 $current,
1717 1717 "specification",
1718// Entry rule entryRuleGraphPatternReference 1718 lv_specification_2_0,
1719entryRuleGraphPatternReference returns [EObject current=null]: 1719 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification");
1720 { newCompositeNode(grammarAccess.getGraphPatternReferenceRule()); } 1720 afterParserOrEnumRuleCall();
1721 iv_ruleGraphPatternReference=ruleGraphPatternReference 1721 }
1722 { $current=$iv_ruleGraphPatternReference.current; } 1722 )
1723 EOF; 1723 )
1724 1724 )
1725// Rule GraphPatternReference 1725;
1726ruleGraphPatternReference returns [EObject current=null] 1726
1727@init { 1727// Entry rule entryRuleGraphPatternReference
1728 enterRule(); 1728entryRuleGraphPatternReference returns [EObject current=null]:
1729} 1729 { newCompositeNode(grammarAccess.getGraphPatternReferenceRule()); }
1730@after { 1730 iv_ruleGraphPatternReference=ruleGraphPatternReference
1731 leaveRule(); 1731 { $current=$iv_ruleGraphPatternReference.current; }
1732}: 1732 EOF;
1733 ( 1733
1734 ( 1734// Rule GraphPatternReference
1735 { 1735ruleGraphPatternReference returns [EObject current=null]
1736 if ($current==null) { 1736@init {
1737 $current = createModelElement(grammarAccess.getGraphPatternReferenceRule()); 1737 enterRule();
1738 } 1738}
1739 } 1739@after {
1740 otherlv_0=RULE_ID 1740 leaveRule();
1741 { 1741}:
1742 newLeafNode(otherlv_0, grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); 1742 (
1743 } 1743 (
1744 ) 1744 {
1745 ) 1745 if ($current==null) {
1746; 1746 $current = createModelElement(grammarAccess.getGraphPatternReferenceRule());
1747 1747 }
1748// Entry rule entryRuleGraphPattern 1748 }
1749entryRuleGraphPattern returns [EObject current=null]: 1749 otherlv_0=RULE_ID
1750 { newCompositeNode(grammarAccess.getGraphPatternRule()); } 1750 {
1751 iv_ruleGraphPattern=ruleGraphPattern 1751 newLeafNode(otherlv_0, grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0());
1752 { $current=$iv_ruleGraphPattern.current; } 1752 }
1753 EOF; 1753 )
1754 1754 )
1755// Rule GraphPattern 1755;
1756ruleGraphPattern returns [EObject current=null] 1756
1757@init { 1757// Entry rule entryRuleGraphPattern
1758 enterRule(); 1758entryRuleGraphPattern returns [EObject current=null]:
1759} 1759 { newCompositeNode(grammarAccess.getGraphPatternRule()); }
1760@after { 1760 iv_ruleGraphPattern=ruleGraphPattern
1761 leaveRule(); 1761 { $current=$iv_ruleGraphPattern.current; }
1762}: 1762 EOF;
1763 ( 1763
1764 { 1764// Rule GraphPattern
1765 newCompositeNode(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); 1765ruleGraphPattern returns [EObject current=null]
1766 } 1766@init {
1767 this_GraphPatternReference_0=ruleGraphPatternReference 1767 enterRule();
1768 { 1768}
1769 $current = $this_GraphPatternReference_0.current; 1769@after {
1770 afterParserOrEnumRuleCall(); 1770 leaveRule();
1771 } 1771}:
1772 | 1772 (
1773 { 1773 {
1774 newCompositeNode(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); 1774 newCompositeNode(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0());
1775 } 1775 }
1776 this_PatternSpecification_1=rulePatternSpecification 1776 this_GraphPatternReference_0=ruleGraphPatternReference
1777 { 1777 {
1778 $current = $this_PatternSpecification_1.current; 1778 $current = $this_GraphPatternReference_0.current;
1779 afterParserOrEnumRuleCall(); 1779 afterParserOrEnumRuleCall();
1780 } 1780 }
1781 ) 1781 |
1782; 1782 {
1783 1783 newCompositeNode(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1());
1784// Entry rule entryRuleConfigSpecification 1784 }
1785entryRuleConfigSpecification returns [EObject current=null]: 1785 this_PatternSpecification_1=rulePatternSpecification
1786 { newCompositeNode(grammarAccess.getConfigSpecificationRule()); } 1786 {
1787 iv_ruleConfigSpecification=ruleConfigSpecification 1787 $current = $this_PatternSpecification_1.current;
1788 { $current=$iv_ruleConfigSpecification.current; } 1788 afterParserOrEnumRuleCall();
1789 EOF; 1789 }
1790 1790 )
1791// Rule ConfigSpecification 1791;
1792ruleConfigSpecification returns [EObject current=null] 1792
1793@init { 1793// Entry rule entryRuleObjectiveSpecification
1794 enterRule(); 1794entryRuleObjectiveSpecification returns [EObject current=null]:
1795} 1795 { newCompositeNode(grammarAccess.getObjectiveSpecificationRule()); }
1796@after { 1796 iv_ruleObjectiveSpecification=ruleObjectiveSpecification
1797 leaveRule(); 1797 { $current=$iv_ruleObjectiveSpecification.current; }
1798}: 1798 EOF;
1799 ( 1799
1800 ( 1800// Rule ObjectiveSpecification
1801 { 1801ruleObjectiveSpecification returns [EObject current=null]
1802 $current = forceCreateModelElement( 1802@init {
1803 grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(), 1803 enterRule();
1804 $current); 1804}
1805 } 1805@after {
1806 ) 1806 leaveRule();
1807 otherlv_1='{' 1807}:
1808 { 1808 (
1809 newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); 1809 otherlv_0='{'
1810 } 1810 {
1811 ( 1811 newLeafNode(otherlv_0, grammarAccess.getObjectiveSpecificationAccess().getLeftCurlyBracketKeyword_0());
1812 ( 1812 }
1813 ( 1813 (
1814 { 1814 (
1815 newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); 1815 {
1816 } 1816 newCompositeNode(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_1_0());
1817 lv_entries_2_0=ruleConfigEntry 1817 }
1818 { 1818 lv_entries_1_0=ruleObjectiveEntry
1819 if ($current==null) { 1819 {
1820 $current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); 1820 if ($current==null) {
1821 } 1821 $current = createModelElementForParent(grammarAccess.getObjectiveSpecificationRule());
1822 add( 1822 }
1823 $current, 1823 add(
1824 "entries", 1824 $current,
1825 lv_entries_2_0, 1825 "entries",
1826 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); 1826 lv_entries_1_0,
1827 afterParserOrEnumRuleCall(); 1827 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveEntry");
1828 } 1828 afterParserOrEnumRuleCall();
1829 ) 1829 }
1830 ) 1830 )
1831 ( 1831 )
1832 otherlv_3=',' 1832 (
1833 { 1833 otherlv_2=','
1834 newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); 1834 {
1835 } 1835 newLeafNode(otherlv_2, grammarAccess.getObjectiveSpecificationAccess().getCommaKeyword_2_0());
1836 ( 1836 }
1837 ( 1837 (
1838 { 1838 (
1839 newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); 1839 {
1840 } 1840 newCompositeNode(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_2_1_0());
1841 lv_entries_4_0=ruleConfigEntry 1841 }
1842 { 1842 lv_entries_3_0=ruleObjectiveEntry
1843 if ($current==null) { 1843 {
1844 $current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); 1844 if ($current==null) {
1845 } 1845 $current = createModelElementForParent(grammarAccess.getObjectiveSpecificationRule());
1846 add( 1846 }
1847 $current, 1847 add(
1848 "entries", 1848 $current,
1849 lv_entries_4_0, 1849 "entries",
1850 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); 1850 lv_entries_3_0,
1851 afterParserOrEnumRuleCall(); 1851 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveEntry");
1852 } 1852 afterParserOrEnumRuleCall();
1853 ) 1853 }
1854 ) 1854 )
1855 )* 1855 )
1856 )? 1856 )*
1857 otherlv_5='}' 1857 otherlv_4='}'
1858 { 1858 {
1859 newLeafNode(otherlv_5, grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); 1859 newLeafNode(otherlv_4, grammarAccess.getObjectiveSpecificationAccess().getRightCurlyBracketKeyword_3());
1860 } 1860 }
1861 ) 1861 )
1862; 1862;
1863 1863
1864// Entry rule entryRuleConfigDeclaration 1864// Entry rule entryRuleObjectiveEntry
1865entryRuleConfigDeclaration returns [EObject current=null]: 1865entryRuleObjectiveEntry returns [EObject current=null]:
1866 { newCompositeNode(grammarAccess.getConfigDeclarationRule()); } 1866 { newCompositeNode(grammarAccess.getObjectiveEntryRule()); }
1867 iv_ruleConfigDeclaration=ruleConfigDeclaration 1867 iv_ruleObjectiveEntry=ruleObjectiveEntry
1868 { $current=$iv_ruleConfigDeclaration.current; } 1868 { $current=$iv_ruleObjectiveEntry.current; }
1869 EOF; 1869 EOF;
1870 1870
1871// Rule ConfigDeclaration 1871// Rule ObjectiveEntry
1872ruleConfigDeclaration returns [EObject current=null] 1872ruleObjectiveEntry returns [EObject current=null]
1873@init { 1873@init {
1874 enterRule(); 1874 enterRule();
1875} 1875}
1876@after { 1876@after {
1877 leaveRule(); 1877 leaveRule();
1878}: 1878}:
1879 ( 1879 (
1880 otherlv_0='config' 1880 {
1881 { 1881 newCompositeNode(grammarAccess.getObjectiveEntryAccess().getOptimizationEntryParserRuleCall_0());
1882 newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); 1882 }
1883 } 1883 this_OptimizationEntry_0=ruleOptimizationEntry
1884 ( 1884 {
1885 ( 1885 $current = $this_OptimizationEntry_0.current;
1886 lv_name_1_0=RULE_ID 1886 afterParserOrEnumRuleCall();
1887 { 1887 }
1888 newLeafNode(lv_name_1_0, grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 1888 |
1889 } 1889 {
1890 { 1890 newCompositeNode(grammarAccess.getObjectiveEntryAccess().getThresholdEntryParserRuleCall_1());
1891 if ($current==null) { 1891 }
1892 $current = createModelElement(grammarAccess.getConfigDeclarationRule()); 1892 this_ThresholdEntry_1=ruleThresholdEntry
1893 } 1893 {
1894 setWithLastConsumed( 1894 $current = $this_ThresholdEntry_1.current;
1895 $current, 1895 afterParserOrEnumRuleCall();
1896 "name", 1896 }
1897 lv_name_1_0, 1897 )
1898 "org.eclipse.xtext.common.Terminals.ID"); 1898;
1899 } 1899
1900 ) 1900// Entry rule entryRuleOptimizationEntry
1901 ) 1901entryRuleOptimizationEntry returns [EObject current=null]:
1902 ( 1902 { newCompositeNode(grammarAccess.getOptimizationEntryRule()); }
1903 ( 1903 iv_ruleOptimizationEntry=ruleOptimizationEntry
1904 { 1904 { $current=$iv_ruleOptimizationEntry.current; }
1905 newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); 1905 EOF;
1906 } 1906
1907 lv_specification_2_0=ruleConfigSpecification 1907// Rule OptimizationEntry
1908 { 1908ruleOptimizationEntry returns [EObject current=null]
1909 if ($current==null) { 1909@init {
1910 $current = createModelElementForParent(grammarAccess.getConfigDeclarationRule()); 1910 enterRule();
1911 } 1911}
1912 set( 1912@after {
1913 $current, 1913 leaveRule();
1914 "specification", 1914}:
1915 lv_specification_2_0, 1915 (
1916 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification"); 1916 (
1917 afterParserOrEnumRuleCall(); 1917 (
1918 } 1918 {
1919 ) 1919 newCompositeNode(grammarAccess.getOptimizationEntryAccess().getDirectionOptimizationDirectionEnumRuleCall_0_0());
1920 ) 1920 }
1921 ) 1921 lv_direction_0_0=ruleOptimizationDirection
1922; 1922 {
1923 1923 if ($current==null) {
1924// Entry rule entryRuleConfigEntry 1924 $current = createModelElementForParent(grammarAccess.getOptimizationEntryRule());
1925entryRuleConfigEntry returns [EObject current=null]: 1925 }
1926 { newCompositeNode(grammarAccess.getConfigEntryRule()); } 1926 set(
1927 iv_ruleConfigEntry=ruleConfigEntry 1927 $current,
1928 { $current=$iv_ruleConfigEntry.current; } 1928 "direction",
1929 EOF; 1929 lv_direction_0_0,
1930 1930 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.OptimizationDirection");
1931// Rule ConfigEntry 1931 afterParserOrEnumRuleCall();
1932ruleConfigEntry returns [EObject current=null] 1932 }
1933@init { 1933 )
1934 enterRule(); 1934 )
1935} 1935 (
1936@after { 1936 (
1937 leaveRule(); 1937 {
1938}: 1938 newCompositeNode(grammarAccess.getOptimizationEntryAccess().getFunctionObjectiveFunctionParserRuleCall_1_0());
1939 ( 1939 }
1940 { 1940 lv_function_1_0=ruleObjectiveFunction
1941 newCompositeNode(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0()); 1941 {
1942 } 1942 if ($current==null) {
1943 this_DocumentationEntry_0=ruleDocumentationEntry 1943 $current = createModelElementForParent(grammarAccess.getOptimizationEntryRule());
1944 { 1944 }
1945 $current = $this_DocumentationEntry_0.current; 1945 set(
1946 afterParserOrEnumRuleCall(); 1946 $current,
1947 } 1947 "function",
1948 | 1948 lv_function_1_0,
1949 { 1949 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveFunction");
1950 newCompositeNode(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1()); 1950 afterParserOrEnumRuleCall();
1951 } 1951 }
1952 this_RuntimeEntry_1=ruleRuntimeEntry 1952 )
1953 { 1953 )
1954 $current = $this_RuntimeEntry_1.current; 1954 )
1955 afterParserOrEnumRuleCall(); 1955;
1956 } 1956
1957 | 1957// Entry rule entryRuleThresholdEntry
1958 { 1958entryRuleThresholdEntry returns [EObject current=null]:
1959 newCompositeNode(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2()); 1959 { newCompositeNode(grammarAccess.getThresholdEntryRule()); }
1960 } 1960 iv_ruleThresholdEntry=ruleThresholdEntry
1961 this_MemoryEntry_2=ruleMemoryEntry 1961 { $current=$iv_ruleThresholdEntry.current; }
1962 { 1962 EOF;
1963 $current = $this_MemoryEntry_2.current; 1963
1964 afterParserOrEnumRuleCall(); 1964// Rule ThresholdEntry
1965 } 1965ruleThresholdEntry returns [EObject current=null]
1966 | 1966@init {
1967 { 1967 enterRule();
1968 newCompositeNode(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3()); 1968}
1969 } 1969@after {
1970 this_CustomEntry_3=ruleCustomEntry 1970 leaveRule();
1971 { 1971}:
1972 $current = $this_CustomEntry_3.current; 1972 (
1973 afterParserOrEnumRuleCall(); 1973 (
1974 } 1974 (
1975 ) 1975 {
1976; 1976 newCompositeNode(grammarAccess.getThresholdEntryAccess().getFunctionObjectiveFunctionParserRuleCall_0_0());
1977 1977 }
1978// Entry rule entryRuleDocumentationEntry 1978 lv_function_0_0=ruleObjectiveFunction
1979entryRuleDocumentationEntry returns [EObject current=null]: 1979 {
1980 { newCompositeNode(grammarAccess.getDocumentationEntryRule()); } 1980 if ($current==null) {
1981 iv_ruleDocumentationEntry=ruleDocumentationEntry 1981 $current = createModelElementForParent(grammarAccess.getThresholdEntryRule());
1982 { $current=$iv_ruleDocumentationEntry.current; } 1982 }
1983 EOF; 1983 set(
1984 1984 $current,
1985// Rule DocumentationEntry 1985 "function",
1986ruleDocumentationEntry returns [EObject current=null] 1986 lv_function_0_0,
1987@init { 1987 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveFunction");
1988 enterRule(); 1988 afterParserOrEnumRuleCall();
1989} 1989 }
1990@after { 1990 )
1991 leaveRule(); 1991 )
1992}: 1992 (
1993 ( 1993 (
1994 otherlv_0='log-level' 1994 {
1995 { 1995 newCompositeNode(grammarAccess.getThresholdEntryAccess().getOperatorComparisonOperatorEnumRuleCall_1_0());
1996 newLeafNode(otherlv_0, grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); 1996 }
1997 } 1997 lv_operator_1_0=ruleComparisonOperator
1998 otherlv_1='=' 1998 {
1999 { 1999 if ($current==null) {
2000 newLeafNode(otherlv_1, grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1()); 2000 $current = createModelElementForParent(grammarAccess.getThresholdEntryRule());
2001 } 2001 }
2002 ( 2002 set(
2003 ( 2003 $current,
2004 { 2004 "operator",
2005 newCompositeNode(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0()); 2005 lv_operator_1_0,
2006 } 2006 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ComparisonOperator");
2007 lv_level_2_0=ruleDocumentLevelSpecification 2007 afterParserOrEnumRuleCall();
2008 { 2008 }
2009 if ($current==null) { 2009 )
2010 $current = createModelElementForParent(grammarAccess.getDocumentationEntryRule()); 2010 )
2011 } 2011 (
2012 set( 2012 (
2013 $current, 2013 {
2014 "level", 2014 newCompositeNode(grammarAccess.getThresholdEntryAccess().getThresholdREALLiteralParserRuleCall_2_0());
2015 lv_level_2_0, 2015 }
2016 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentLevelSpecification"); 2016 lv_threshold_2_0=ruleREALLiteral
2017 afterParserOrEnumRuleCall(); 2017 {
2018 } 2018 if ($current==null) {
2019 ) 2019 $current = createModelElementForParent(grammarAccess.getThresholdEntryRule());
2020 ) 2020 }
2021 ) 2021 set(
2022; 2022 $current,
2023 2023 "threshold",
2024// Entry rule entryRuleRuntimeEntry 2024 lv_threshold_2_0,
2025entryRuleRuntimeEntry returns [EObject current=null]: 2025 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral");
2026 { newCompositeNode(grammarAccess.getRuntimeEntryRule()); } 2026 afterParserOrEnumRuleCall();
2027 iv_ruleRuntimeEntry=ruleRuntimeEntry 2027 }
2028 { $current=$iv_ruleRuntimeEntry.current; } 2028 )
2029 EOF; 2029 )
2030 2030 )
2031// Rule RuntimeEntry 2031;
2032ruleRuntimeEntry returns [EObject current=null] 2032
2033@init { 2033// Entry rule entryRuleObjectiveFunction
2034 enterRule(); 2034entryRuleObjectiveFunction returns [EObject current=null]:
2035} 2035 { newCompositeNode(grammarAccess.getObjectiveFunctionRule()); }
2036@after { 2036 iv_ruleObjectiveFunction=ruleObjectiveFunction
2037 leaveRule(); 2037 { $current=$iv_ruleObjectiveFunction.current; }
2038}: 2038 EOF;
2039 ( 2039
2040 otherlv_0='runtime' 2040// Rule ObjectiveFunction
2041 { 2041ruleObjectiveFunction returns [EObject current=null]
2042 newLeafNode(otherlv_0, grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0()); 2042@init {
2043 } 2043 enterRule();
2044 otherlv_1='=' 2044}
2045 { 2045@after {
2046 newLeafNode(otherlv_1, grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1()); 2046 leaveRule();
2047 } 2047}:
2048 ( 2048 {
2049 ( 2049 newCompositeNode(grammarAccess.getObjectiveFunctionAccess().getCostObjectiveFunctionParserRuleCall());
2050 lv_millisecLimit_2_0=RULE_INT 2050 }
2051 { 2051 this_CostObjectiveFunction_0=ruleCostObjectiveFunction
2052 newLeafNode(lv_millisecLimit_2_0, grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0()); 2052 {
2053 } 2053 $current = $this_CostObjectiveFunction_0.current;
2054 { 2054 afterParserOrEnumRuleCall();
2055 if ($current==null) { 2055 }
2056 $current = createModelElement(grammarAccess.getRuntimeEntryRule()); 2056;
2057 } 2057
2058 setWithLastConsumed( 2058// Entry rule entryRuleCostObjectiveFunction
2059 $current, 2059entryRuleCostObjectiveFunction returns [EObject current=null]:
2060 "millisecLimit", 2060 { newCompositeNode(grammarAccess.getCostObjectiveFunctionRule()); }
2061 lv_millisecLimit_2_0, 2061 iv_ruleCostObjectiveFunction=ruleCostObjectiveFunction
2062 "org.eclipse.xtext.common.Terminals.INT"); 2062 { $current=$iv_ruleCostObjectiveFunction.current; }
2063 } 2063 EOF;
2064 ) 2064
2065 ) 2065// Rule CostObjectiveFunction
2066 ) 2066ruleCostObjectiveFunction returns [EObject current=null]
2067; 2067@init {
2068 2068 enterRule();
2069// Entry rule entryRuleMemoryEntry 2069}
2070entryRuleMemoryEntry returns [EObject current=null]: 2070@after {
2071 { newCompositeNode(grammarAccess.getMemoryEntryRule()); } 2071 leaveRule();
2072 iv_ruleMemoryEntry=ruleMemoryEntry 2072}:
2073 { $current=$iv_ruleMemoryEntry.current; } 2073 (
2074 EOF; 2074 otherlv_0='cost'
2075 2075 {
2076// Rule MemoryEntry 2076 newLeafNode(otherlv_0, grammarAccess.getCostObjectiveFunctionAccess().getCostKeyword_0());
2077ruleMemoryEntry returns [EObject current=null] 2077 }
2078@init { 2078 otherlv_1='{'
2079 enterRule(); 2079 {
2080} 2080 newLeafNode(otherlv_1, grammarAccess.getCostObjectiveFunctionAccess().getLeftCurlyBracketKeyword_1());
2081@after { 2081 }
2082 leaveRule(); 2082 (
2083}: 2083 (
2084 ( 2084 {
2085 otherlv_0='memory' 2085 newCompositeNode(grammarAccess.getCostObjectiveFunctionAccess().getEntriesCostEntryParserRuleCall_2_0());
2086 { 2086 }
2087 newLeafNode(otherlv_0, grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0()); 2087 lv_entries_2_0=ruleCostEntry
2088 } 2088 {
2089 otherlv_1='=' 2089 if ($current==null) {
2090 { 2090 $current = createModelElementForParent(grammarAccess.getCostObjectiveFunctionRule());
2091 newLeafNode(otherlv_1, grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1()); 2091 }
2092 } 2092 add(
2093 ( 2093 $current,
2094 ( 2094 "entries",
2095 lv_megabyteLimit_2_0=RULE_INT 2095 lv_entries_2_0,
2096 { 2096 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.CostEntry");
2097 newLeafNode(lv_megabyteLimit_2_0, grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0()); 2097 afterParserOrEnumRuleCall();
2098 } 2098 }
2099 { 2099 )
2100 if ($current==null) { 2100 )
2101 $current = createModelElement(grammarAccess.getMemoryEntryRule()); 2101 (
2102 } 2102 otherlv_3=','
2103 setWithLastConsumed( 2103 {
2104 $current, 2104 newLeafNode(otherlv_3, grammarAccess.getCostObjectiveFunctionAccess().getCommaKeyword_3_0());
2105 "megabyteLimit", 2105 }
2106 lv_megabyteLimit_2_0, 2106 (
2107 "org.eclipse.xtext.common.Terminals.INT"); 2107 (
2108 } 2108 {
2109 ) 2109 newCompositeNode(grammarAccess.getCostObjectiveFunctionAccess().getEntriesCostEntryParserRuleCall_3_1_0());
2110 ) 2110 }
2111 ) 2111 lv_entries_4_0=ruleCostEntry
2112; 2112 {
2113 2113 if ($current==null) {
2114// Entry rule entryRuleCustomEntry 2114 $current = createModelElementForParent(grammarAccess.getCostObjectiveFunctionRule());
2115entryRuleCustomEntry returns [EObject current=null]: 2115 }
2116 { newCompositeNode(grammarAccess.getCustomEntryRule()); } 2116 add(
2117 iv_ruleCustomEntry=ruleCustomEntry 2117 $current,
2118 { $current=$iv_ruleCustomEntry.current; } 2118 "entries",
2119 EOF; 2119 lv_entries_4_0,
2120 2120 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.CostEntry");
2121// Rule CustomEntry 2121 afterParserOrEnumRuleCall();
2122ruleCustomEntry returns [EObject current=null] 2122 }
2123@init { 2123 )
2124 enterRule(); 2124 )
2125} 2125 )*
2126@after { 2126 otherlv_5='}'
2127 leaveRule(); 2127 {
2128}: 2128 newLeafNode(otherlv_5, grammarAccess.getCostObjectiveFunctionAccess().getRightCurlyBracketKeyword_4());
2129 ( 2129 }
2130 ( 2130 )
2131 ( 2131;
2132 lv_key_0_0=RULE_STRING 2132
2133 { 2133// Entry rule entryRuleCostEntry
2134 newLeafNode(lv_key_0_0, grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); 2134entryRuleCostEntry returns [EObject current=null]:
2135 } 2135 { newCompositeNode(grammarAccess.getCostEntryRule()); }
2136 { 2136 iv_ruleCostEntry=ruleCostEntry
2137 if ($current==null) { 2137 { $current=$iv_ruleCostEntry.current; }
2138 $current = createModelElement(grammarAccess.getCustomEntryRule()); 2138 EOF;
2139 } 2139
2140 setWithLastConsumed( 2140// Rule CostEntry
2141 $current, 2141ruleCostEntry returns [EObject current=null]
2142 "key", 2142@init {
2143 lv_key_0_0, 2143 enterRule();
2144 "org.eclipse.xtext.common.Terminals.STRING"); 2144}
2145 } 2145@after {
2146 ) 2146 leaveRule();
2147 ) 2147}:
2148 otherlv_1='=' 2148 (
2149 { 2149 (
2150 newLeafNode(otherlv_1, grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1()); 2150 (
2151 } 2151 {
2152 ( 2152 newCompositeNode(grammarAccess.getCostEntryAccess().getPatternElementPatternElementParserRuleCall_0_0());
2153 ( 2153 }
2154 lv_value_2_0=RULE_STRING 2154 lv_patternElement_0_0=rulePatternElement
2155 { 2155 {
2156 newLeafNode(lv_value_2_0, grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); 2156 if ($current==null) {
2157 } 2157 $current = createModelElementForParent(grammarAccess.getCostEntryRule());
2158 { 2158 }
2159 if ($current==null) { 2159 set(
2160 $current = createModelElement(grammarAccess.getCustomEntryRule()); 2160 $current,
2161 } 2161 "patternElement",
2162 setWithLastConsumed( 2162 lv_patternElement_0_0,
2163 $current, 2163 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement");
2164 "value", 2164 afterParserOrEnumRuleCall();
2165 lv_value_2_0, 2165 }
2166 "org.eclipse.xtext.common.Terminals.STRING"); 2166 )
2167 } 2167 )
2168 ) 2168 otherlv_1='='
2169 ) 2169 {
2170 ) 2170 newLeafNode(otherlv_1, grammarAccess.getCostEntryAccess().getEqualsSignKeyword_1());
2171; 2171 }
2172 2172 (
2173// Entry rule entryRuleConfigReference 2173 (
2174entryRuleConfigReference returns [EObject current=null]: 2174 {
2175 { newCompositeNode(grammarAccess.getConfigReferenceRule()); } 2175 newCompositeNode(grammarAccess.getCostEntryAccess().getWeightINTLiteralParserRuleCall_2_0());
2176 iv_ruleConfigReference=ruleConfigReference 2176 }
2177 { $current=$iv_ruleConfigReference.current; } 2177 lv_weight_2_0=ruleINTLiteral
2178 EOF; 2178 {
2179 2179 if ($current==null) {
2180// Rule ConfigReference 2180 $current = createModelElementForParent(grammarAccess.getCostEntryRule());
2181ruleConfigReference returns [EObject current=null] 2181 }
2182@init { 2182 set(
2183 enterRule(); 2183 $current,
2184} 2184 "weight",
2185@after { 2185 lv_weight_2_0,
2186 leaveRule(); 2186 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral");
2187}: 2187 afterParserOrEnumRuleCall();
2188 ( 2188 }
2189 ( 2189 )
2190 { 2190 )
2191 if ($current==null) { 2191 )
2192 $current = createModelElement(grammarAccess.getConfigReferenceRule()); 2192;
2193 } 2193
2194 } 2194// Entry rule entryRuleObjectiveDeclaration
2195 otherlv_0=RULE_ID 2195entryRuleObjectiveDeclaration returns [EObject current=null]:
2196 { 2196 { newCompositeNode(grammarAccess.getObjectiveDeclarationRule()); }
2197 newLeafNode(otherlv_0, grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); 2197 iv_ruleObjectiveDeclaration=ruleObjectiveDeclaration
2198 } 2198 { $current=$iv_ruleObjectiveDeclaration.current; }
2199 ) 2199 EOF;
2200 ) 2200
2201; 2201// Rule ObjectiveDeclaration
2202 2202ruleObjectiveDeclaration returns [EObject current=null]
2203// Entry rule entryRuleConfig 2203@init {
2204entryRuleConfig returns [EObject current=null]: 2204 enterRule();
2205 { newCompositeNode(grammarAccess.getConfigRule()); } 2205}
2206 iv_ruleConfig=ruleConfig 2206@after {
2207 { $current=$iv_ruleConfig.current; } 2207 leaveRule();
2208 EOF; 2208}:
2209 2209 (
2210// Rule Config 2210 otherlv_0='objectives'
2211ruleConfig returns [EObject current=null] 2211 {
2212@init { 2212 newLeafNode(otherlv_0, grammarAccess.getObjectiveDeclarationAccess().getObjectivesKeyword_0());
2213 enterRule(); 2213 }
2214} 2214 (
2215@after { 2215 (
2216 leaveRule(); 2216 lv_name_1_0=RULE_ID
2217}: 2217 {
2218 ( 2218 newLeafNode(lv_name_1_0, grammarAccess.getObjectiveDeclarationAccess().getNameIDTerminalRuleCall_1_0());
2219 { 2219 }
2220 newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); 2220 {
2221 } 2221 if ($current==null) {
2222 this_ConfigSpecification_0=ruleConfigSpecification 2222 $current = createModelElement(grammarAccess.getObjectiveDeclarationRule());
2223 { 2223 }
2224 $current = $this_ConfigSpecification_0.current; 2224 setWithLastConsumed(
2225 afterParserOrEnumRuleCall(); 2225 $current,
2226 } 2226 "name",
2227 | 2227 lv_name_1_0,
2228 { 2228 "org.eclipse.xtext.common.Terminals.ID");
2229 newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); 2229 }
2230 } 2230 )
2231 this_ConfigReference_1=ruleConfigReference 2231 )
2232 { 2232 (
2233 $current = $this_ConfigReference_1.current; 2233 (
2234 afterParserOrEnumRuleCall(); 2234 {
2235 } 2235 newCompositeNode(grammarAccess.getObjectiveDeclarationAccess().getSpecificationObjectiveSpecificationParserRuleCall_2_0());
2236 ) 2236 }
2237; 2237 lv_specification_2_0=ruleObjectiveSpecification
2238 2238 {
2239// Entry rule entryRuleScopeSpecification 2239 if ($current==null) {
2240entryRuleScopeSpecification returns [EObject current=null]: 2240 $current = createModelElementForParent(grammarAccess.getObjectiveDeclarationRule());
2241 { newCompositeNode(grammarAccess.getScopeSpecificationRule()); } 2241 }
2242 iv_ruleScopeSpecification=ruleScopeSpecification 2242 set(
2243 { $current=$iv_ruleScopeSpecification.current; } 2243 $current,
2244 EOF; 2244 "specification",
2245 2245 lv_specification_2_0,
2246// Rule ScopeSpecification 2246 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveSpecification");
2247ruleScopeSpecification returns [EObject current=null] 2247 afterParserOrEnumRuleCall();
2248@init { 2248 }
2249 enterRule(); 2249 )
2250} 2250 )
2251@after { 2251 )
2252 leaveRule(); 2252;
2253}: 2253
2254 ( 2254// Entry rule entryRuleObjectiveReference
2255 ( 2255entryRuleObjectiveReference returns [EObject current=null]:
2256 { 2256 { newCompositeNode(grammarAccess.getObjectiveReferenceRule()); }
2257 $current = forceCreateModelElement( 2257 iv_ruleObjectiveReference=ruleObjectiveReference
2258 grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(), 2258 { $current=$iv_ruleObjectiveReference.current; }
2259 $current); 2259 EOF;
2260 } 2260
2261 ) 2261// Rule ObjectiveReference
2262 otherlv_1='{' 2262ruleObjectiveReference returns [EObject current=null]
2263 { 2263@init {
2264 newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); 2264 enterRule();
2265 } 2265}
2266 ( 2266@after {
2267 ( 2267 leaveRule();
2268 ( 2268}:
2269 { 2269 (
2270 newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); 2270 (
2271 } 2271 {
2272 lv_scopes_2_0=ruleTypeScope 2272 if ($current==null) {
2273 { 2273 $current = createModelElement(grammarAccess.getObjectiveReferenceRule());
2274 if ($current==null) { 2274 }
2275 $current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); 2275 }
2276 } 2276 otherlv_0=RULE_ID
2277 add( 2277 {
2278 $current, 2278 newLeafNode(otherlv_0, grammarAccess.getObjectiveReferenceAccess().getReferredObjectiveDeclarationCrossReference_0());
2279 "scopes", 2279 }
2280 lv_scopes_2_0, 2280 )
2281 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); 2281 )
2282 afterParserOrEnumRuleCall(); 2282;
2283 } 2283
2284 ) 2284// Entry rule entryRuleObjective
2285 ) 2285entryRuleObjective returns [EObject current=null]:
2286 ( 2286 { newCompositeNode(grammarAccess.getObjectiveRule()); }
2287 otherlv_3=',' 2287 iv_ruleObjective=ruleObjective
2288 { 2288 { $current=$iv_ruleObjective.current; }
2289 newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); 2289 EOF;
2290 } 2290
2291 ( 2291// Rule Objective
2292 ( 2292ruleObjective returns [EObject current=null]
2293 { 2293@init {
2294 newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); 2294 enterRule();
2295 } 2295}
2296 lv_scopes_4_0=ruleTypeScope 2296@after {
2297 { 2297 leaveRule();
2298 if ($current==null) { 2298}:
2299 $current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); 2299 (
2300 } 2300 {
2301 add( 2301 newCompositeNode(grammarAccess.getObjectiveAccess().getObjectiveReferenceParserRuleCall_0());
2302 $current, 2302 }
2303 "scopes", 2303 this_ObjectiveReference_0=ruleObjectiveReference
2304 lv_scopes_4_0, 2304 {
2305 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); 2305 $current = $this_ObjectiveReference_0.current;
2306 afterParserOrEnumRuleCall(); 2306 afterParserOrEnumRuleCall();
2307 } 2307 }
2308 ) 2308 |
2309 ) 2309 {
2310 )* 2310 newCompositeNode(grammarAccess.getObjectiveAccess().getObjectiveSpecificationParserRuleCall_1());
2311 )? 2311 }
2312 otherlv_5='}' 2312 this_ObjectiveSpecification_1=ruleObjectiveSpecification
2313 { 2313 {
2314 newLeafNode(otherlv_5, grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); 2314 $current = $this_ObjectiveSpecification_1.current;
2315 } 2315 afterParserOrEnumRuleCall();
2316 ) 2316 }
2317; 2317 )
2318 2318;
2319// Entry rule entryRuleTypeScope 2319
2320entryRuleTypeScope returns [EObject current=null]: 2320// Entry rule entryRuleConfigSpecification
2321 { newCompositeNode(grammarAccess.getTypeScopeRule()); } 2321entryRuleConfigSpecification returns [EObject current=null]:
2322 iv_ruleTypeScope=ruleTypeScope 2322 { newCompositeNode(grammarAccess.getConfigSpecificationRule()); }
2323 { $current=$iv_ruleTypeScope.current; } 2323 iv_ruleConfigSpecification=ruleConfigSpecification
2324 EOF; 2324 { $current=$iv_ruleConfigSpecification.current; }
2325 2325 EOF;
2326// Rule TypeScope 2326
2327ruleTypeScope returns [EObject current=null] 2327// Rule ConfigSpecification
2328@init { 2328ruleConfigSpecification returns [EObject current=null]
2329 enterRule(); 2329@init {
2330} 2330 enterRule();
2331@after { 2331}
2332 leaveRule(); 2332@after {
2333}: 2333 leaveRule();
2334 ( 2334}:
2335 { 2335 (
2336 newCompositeNode(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0()); 2336 (
2337 } 2337 {
2338 this_ClassTypeScope_0=ruleClassTypeScope 2338 $current = forceCreateModelElement(
2339 { 2339 grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(),
2340 $current = $this_ClassTypeScope_0.current; 2340 $current);
2341 afterParserOrEnumRuleCall(); 2341 }
2342 } 2342 )
2343 | 2343 otherlv_1='{'
2344 { 2344 {
2345 newCompositeNode(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1()); 2345 newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1());
2346 } 2346 }
2347 this_ObjectTypeScope_1=ruleObjectTypeScope 2347 (
2348 { 2348 (
2349 $current = $this_ObjectTypeScope_1.current; 2349 (
2350 afterParserOrEnumRuleCall(); 2350 {
2351 } 2351 newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0());
2352 | 2352 }
2353 { 2353 lv_entries_2_0=ruleConfigEntry
2354 newCompositeNode(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2()); 2354 {
2355 } 2355 if ($current==null) {
2356 this_IntegerTypeScope_2=ruleIntegerTypeScope 2356 $current = createModelElementForParent(grammarAccess.getConfigSpecificationRule());
2357 { 2357 }
2358 $current = $this_IntegerTypeScope_2.current; 2358 add(
2359 afterParserOrEnumRuleCall(); 2359 $current,
2360 } 2360 "entries",
2361 | 2361 lv_entries_2_0,
2362 { 2362 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry");
2363 newCompositeNode(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3()); 2363 afterParserOrEnumRuleCall();
2364 } 2364 }
2365 this_RealTypeScope_3=ruleRealTypeScope 2365 )
2366 { 2366 )
2367 $current = $this_RealTypeScope_3.current; 2367 (
2368 afterParserOrEnumRuleCall(); 2368 otherlv_3=','
2369 } 2369 {
2370 | 2370 newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0());
2371 { 2371 }
2372 newCompositeNode(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4()); 2372 (
2373 } 2373 (
2374 this_StringTypeScope_4=ruleStringTypeScope 2374 {
2375 { 2375 newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0());
2376 $current = $this_StringTypeScope_4.current; 2376 }
2377 afterParserOrEnumRuleCall(); 2377 lv_entries_4_0=ruleConfigEntry
2378 } 2378 {
2379 ) 2379 if ($current==null) {
2380; 2380 $current = createModelElementForParent(grammarAccess.getConfigSpecificationRule());
2381 2381 }
2382// Entry rule entryRuleClassTypeScope 2382 add(
2383entryRuleClassTypeScope returns [EObject current=null]: 2383 $current,
2384 { newCompositeNode(grammarAccess.getClassTypeScopeRule()); } 2384 "entries",
2385 iv_ruleClassTypeScope=ruleClassTypeScope 2385 lv_entries_4_0,
2386 { $current=$iv_ruleClassTypeScope.current; } 2386 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry");
2387 EOF; 2387 afterParserOrEnumRuleCall();
2388 2388 }
2389// Rule ClassTypeScope 2389 )
2390ruleClassTypeScope returns [EObject current=null] 2390 )
2391@init { 2391 )*
2392 enterRule(); 2392 )?
2393} 2393 otherlv_5='}'
2394@after { 2394 {
2395 leaveRule(); 2395 newLeafNode(otherlv_5, grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3());
2396}: 2396 }
2397 ( 2397 )
2398 otherlv_0='#' 2398;
2399 { 2399
2400 newLeafNode(otherlv_0, grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0()); 2400// Entry rule entryRuleConfigDeclaration
2401 } 2401entryRuleConfigDeclaration returns [EObject current=null]:
2402 ( 2402 { newCompositeNode(grammarAccess.getConfigDeclarationRule()); }
2403 ( 2403 iv_ruleConfigDeclaration=ruleConfigDeclaration
2404 { 2404 { $current=$iv_ruleConfigDeclaration.current; }
2405 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0()); 2405 EOF;
2406 } 2406
2407 lv_type_1_0=ruleClassReference 2407// Rule ConfigDeclaration
2408 { 2408ruleConfigDeclaration returns [EObject current=null]
2409 if ($current==null) { 2409@init {
2410 $current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); 2410 enterRule();
2411 } 2411}
2412 set( 2412@after {
2413 $current, 2413 leaveRule();
2414 "type", 2414}:
2415 lv_type_1_0, 2415 (
2416 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassReference"); 2416 otherlv_0='config'
2417 afterParserOrEnumRuleCall(); 2417 {
2418 } 2418 newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0());
2419 ) 2419 }
2420 ) 2420 (
2421 ( 2421 (
2422 ( 2422 lv_name_1_0=RULE_ID
2423 ( 2423 {
2424 lv_setsNew_2_0='+=' 2424 newLeafNode(lv_name_1_0, grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0());
2425 { 2425 }
2426 newLeafNode(lv_setsNew_2_0, grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 2426 {
2427 } 2427 if ($current==null) {
2428 { 2428 $current = createModelElement(grammarAccess.getConfigDeclarationRule());
2429 if ($current==null) { 2429 }
2430 $current = createModelElement(grammarAccess.getClassTypeScopeRule()); 2430 setWithLastConsumed(
2431 } 2431 $current,
2432 setWithLastConsumed($current, "setsNew", true, "+="); 2432 "name",
2433 } 2433 lv_name_1_0,
2434 ) 2434 "org.eclipse.xtext.common.Terminals.ID");
2435 ) 2435 }
2436 | 2436 )
2437 ( 2437 )
2438 ( 2438 (
2439 lv_setsSum_3_0='=' 2439 (
2440 { 2440 {
2441 newLeafNode(lv_setsSum_3_0, grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 2441 newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0());
2442 } 2442 }
2443 { 2443 lv_specification_2_0=ruleConfigSpecification
2444 if ($current==null) { 2444 {
2445 $current = createModelElement(grammarAccess.getClassTypeScopeRule()); 2445 if ($current==null) {
2446 } 2446 $current = createModelElementForParent(grammarAccess.getConfigDeclarationRule());
2447 setWithLastConsumed($current, "setsSum", true, "="); 2447 }
2448 } 2448 set(
2449 ) 2449 $current,
2450 ) 2450 "specification",
2451 ) 2451 lv_specification_2_0,
2452 ( 2452 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification");
2453 ( 2453 afterParserOrEnumRuleCall();
2454 ( 2454 }
2455 { 2455 )
2456 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 2456 )
2457 } 2457 )
2458 lv_number_4_0=ruleExactNumber 2458;
2459 { 2459
2460 if ($current==null) { 2460// Entry rule entryRuleConfigEntry
2461 $current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); 2461entryRuleConfigEntry returns [EObject current=null]:
2462 } 2462 { newCompositeNode(grammarAccess.getConfigEntryRule()); }
2463 set( 2463 iv_ruleConfigEntry=ruleConfigEntry
2464 $current, 2464 { $current=$iv_ruleConfigEntry.current; }
2465 "number", 2465 EOF;
2466 lv_number_4_0, 2466
2467 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 2467// Rule ConfigEntry
2468 afterParserOrEnumRuleCall(); 2468ruleConfigEntry returns [EObject current=null]
2469 } 2469@init {
2470 ) 2470 enterRule();
2471 ) 2471}
2472 | 2472@after {
2473 ( 2473 leaveRule();
2474 ( 2474}:
2475 { 2475 (
2476 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 2476 {
2477 } 2477 newCompositeNode(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0());
2478 lv_number_5_0=ruleIntervallNumber 2478 }
2479 { 2479 this_DocumentationEntry_0=ruleDocumentationEntry
2480 if ($current==null) { 2480 {
2481 $current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); 2481 $current = $this_DocumentationEntry_0.current;
2482 } 2482 afterParserOrEnumRuleCall();
2483 set( 2483 }
2484 $current, 2484 |
2485 "number", 2485 {
2486 lv_number_5_0, 2486 newCompositeNode(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1());
2487 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 2487 }
2488 afterParserOrEnumRuleCall(); 2488 this_RuntimeEntry_1=ruleRuntimeEntry
2489 } 2489 {
2490 ) 2490 $current = $this_RuntimeEntry_1.current;
2491 ) 2491 afterParserOrEnumRuleCall();
2492 ) 2492 }
2493 ) 2493 |
2494; 2494 {
2495 2495 newCompositeNode(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2());
2496// Entry rule entryRuleObjectTypeScope 2496 }
2497entryRuleObjectTypeScope returns [EObject current=null]: 2497 this_MemoryEntry_2=ruleMemoryEntry
2498 { newCompositeNode(grammarAccess.getObjectTypeScopeRule()); } 2498 {
2499 iv_ruleObjectTypeScope=ruleObjectTypeScope 2499 $current = $this_MemoryEntry_2.current;
2500 { $current=$iv_ruleObjectTypeScope.current; } 2500 afterParserOrEnumRuleCall();
2501 EOF; 2501 }
2502 2502 |
2503// Rule ObjectTypeScope 2503 {
2504ruleObjectTypeScope returns [EObject current=null] 2504 newCompositeNode(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3());
2505@init { 2505 }
2506 enterRule(); 2506 this_CustomEntry_3=ruleCustomEntry
2507} 2507 {
2508@after { 2508 $current = $this_CustomEntry_3.current;
2509 leaveRule(); 2509 afterParserOrEnumRuleCall();
2510}: 2510 }
2511 ( 2511 )
2512 otherlv_0='#' 2512;
2513 { 2513
2514 newLeafNode(otherlv_0, grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); 2514// Entry rule entryRuleDocumentationEntry
2515 } 2515entryRuleDocumentationEntry returns [EObject current=null]:
2516 ( 2516 { newCompositeNode(grammarAccess.getDocumentationEntryRule()); }
2517 ( 2517 iv_ruleDocumentationEntry=ruleDocumentationEntry
2518 { 2518 { $current=$iv_ruleDocumentationEntry.current; }
2519 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0()); 2519 EOF;
2520 } 2520
2521 lv_type_1_0=ruleObjectReference 2521// Rule DocumentationEntry
2522 { 2522ruleDocumentationEntry returns [EObject current=null]
2523 if ($current==null) { 2523@init {
2524 $current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); 2524 enterRule();
2525 } 2525}
2526 set( 2526@after {
2527 $current, 2527 leaveRule();
2528 "type", 2528}:
2529 lv_type_1_0, 2529 (
2530 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectReference"); 2530 otherlv_0='log-level'
2531 afterParserOrEnumRuleCall(); 2531 {
2532 } 2532 newLeafNode(otherlv_0, grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0());
2533 ) 2533 }
2534 ) 2534 otherlv_1='='
2535 ( 2535 {
2536 ( 2536 newLeafNode(otherlv_1, grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1());
2537 ( 2537 }
2538 lv_setsNew_2_0='+=' 2538 (
2539 { 2539 (
2540 newLeafNode(lv_setsNew_2_0, grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 2540 {
2541 } 2541 newCompositeNode(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0());
2542 { 2542 }
2543 if ($current==null) { 2543 lv_level_2_0=ruleDocumentLevelSpecification
2544 $current = createModelElement(grammarAccess.getObjectTypeScopeRule()); 2544 {
2545 } 2545 if ($current==null) {
2546 setWithLastConsumed($current, "setsNew", true, "+="); 2546 $current = createModelElementForParent(grammarAccess.getDocumentationEntryRule());
2547 } 2547 }
2548 ) 2548 set(
2549 ) 2549 $current,
2550 | 2550 "level",
2551 ( 2551 lv_level_2_0,
2552 ( 2552 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentLevelSpecification");
2553 lv_setsSum_3_0='=' 2553 afterParserOrEnumRuleCall();
2554 { 2554 }
2555 newLeafNode(lv_setsSum_3_0, grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 2555 )
2556 } 2556 )
2557 { 2557 )
2558 if ($current==null) { 2558;
2559 $current = createModelElement(grammarAccess.getObjectTypeScopeRule()); 2559
2560 } 2560// Entry rule entryRuleRuntimeEntry
2561 setWithLastConsumed($current, "setsSum", true, "="); 2561entryRuleRuntimeEntry returns [EObject current=null]:
2562 } 2562 { newCompositeNode(grammarAccess.getRuntimeEntryRule()); }
2563 ) 2563 iv_ruleRuntimeEntry=ruleRuntimeEntry
2564 ) 2564 { $current=$iv_ruleRuntimeEntry.current; }
2565 ) 2565 EOF;
2566 ( 2566
2567 ( 2567// Rule RuntimeEntry
2568 ( 2568ruleRuntimeEntry returns [EObject current=null]
2569 { 2569@init {
2570 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 2570 enterRule();
2571 } 2571}
2572 lv_number_4_0=ruleExactNumber 2572@after {
2573 { 2573 leaveRule();
2574 if ($current==null) { 2574}:
2575 $current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); 2575 (
2576 } 2576 otherlv_0='runtime'
2577 set( 2577 {
2578 $current, 2578 newLeafNode(otherlv_0, grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0());
2579 "number", 2579 }
2580 lv_number_4_0, 2580 otherlv_1='='
2581 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 2581 {
2582 afterParserOrEnumRuleCall(); 2582 newLeafNode(otherlv_1, grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1());
2583 } 2583 }
2584 ) 2584 (
2585 ) 2585 (
2586 | 2586 lv_millisecLimit_2_0=RULE_INT
2587 ( 2587 {
2588 ( 2588 newLeafNode(lv_millisecLimit_2_0, grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0());
2589 { 2589 }
2590 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 2590 {
2591 } 2591 if ($current==null) {
2592 lv_number_5_0=ruleIntervallNumber 2592 $current = createModelElement(grammarAccess.getRuntimeEntryRule());
2593 { 2593 }
2594 if ($current==null) { 2594 setWithLastConsumed(
2595 $current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); 2595 $current,
2596 } 2596 "millisecLimit",
2597 set( 2597 lv_millisecLimit_2_0,
2598 $current, 2598 "org.eclipse.xtext.common.Terminals.INT");
2599 "number", 2599 }
2600 lv_number_5_0, 2600 )
2601 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 2601 )
2602 afterParserOrEnumRuleCall(); 2602 )
2603 } 2603;
2604 ) 2604
2605 ) 2605// Entry rule entryRuleMemoryEntry
2606 ) 2606entryRuleMemoryEntry returns [EObject current=null]:
2607 ) 2607 { newCompositeNode(grammarAccess.getMemoryEntryRule()); }
2608; 2608 iv_ruleMemoryEntry=ruleMemoryEntry
2609 2609 { $current=$iv_ruleMemoryEntry.current; }
2610// Entry rule entryRuleIntegerTypeScope 2610 EOF;
2611entryRuleIntegerTypeScope returns [EObject current=null]: 2611
2612 { newCompositeNode(grammarAccess.getIntegerTypeScopeRule()); } 2612// Rule MemoryEntry
2613 iv_ruleIntegerTypeScope=ruleIntegerTypeScope 2613ruleMemoryEntry returns [EObject current=null]
2614 { $current=$iv_ruleIntegerTypeScope.current; } 2614@init {
2615 EOF; 2615 enterRule();
2616 2616}
2617// Rule IntegerTypeScope 2617@after {
2618ruleIntegerTypeScope returns [EObject current=null] 2618 leaveRule();
2619@init { 2619}:
2620 enterRule(); 2620 (
2621} 2621 otherlv_0='memory'
2622@after { 2622 {
2623 leaveRule(); 2623 newLeafNode(otherlv_0, grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0());
2624}: 2624 }
2625 ( 2625 otherlv_1='='
2626 otherlv_0='#' 2626 {
2627 { 2627 newLeafNode(otherlv_1, grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1());
2628 newLeafNode(otherlv_0, grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); 2628 }
2629 } 2629 (
2630 ( 2630 (
2631 ( 2631 lv_megabyteLimit_2_0=RULE_INT
2632 { 2632 {
2633 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0()); 2633 newLeafNode(lv_megabyteLimit_2_0, grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0());
2634 } 2634 }
2635 lv_type_1_0=ruleIntegerReference 2635 {
2636 { 2636 if ($current==null) {
2637 if ($current==null) { 2637 $current = createModelElement(grammarAccess.getMemoryEntryRule());
2638 $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); 2638 }
2639 } 2639 setWithLastConsumed(
2640 set( 2640 $current,
2641 $current, 2641 "megabyteLimit",
2642 "type", 2642 lv_megabyteLimit_2_0,
2643 lv_type_1_0, 2643 "org.eclipse.xtext.common.Terminals.INT");
2644 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerReference"); 2644 }
2645 afterParserOrEnumRuleCall(); 2645 )
2646 } 2646 )
2647 ) 2647 )
2648 ) 2648;
2649 ( 2649
2650 ( 2650// Entry rule entryRuleCustomEntry
2651 ( 2651entryRuleCustomEntry returns [EObject current=null]:
2652 lv_setsNew_2_0='+=' 2652 { newCompositeNode(grammarAccess.getCustomEntryRule()); }
2653 { 2653 iv_ruleCustomEntry=ruleCustomEntry
2654 newLeafNode(lv_setsNew_2_0, grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 2654 { $current=$iv_ruleCustomEntry.current; }
2655 } 2655 EOF;
2656 { 2656
2657 if ($current==null) { 2657// Rule CustomEntry
2658 $current = createModelElement(grammarAccess.getIntegerTypeScopeRule()); 2658ruleCustomEntry returns [EObject current=null]
2659 } 2659@init {
2660 setWithLastConsumed($current, "setsNew", true, "+="); 2660 enterRule();
2661 } 2661}
2662 ) 2662@after {
2663 ) 2663 leaveRule();
2664 | 2664}:
2665 ( 2665 (
2666 ( 2666 (
2667 lv_setsSum_3_0='=' 2667 (
2668 { 2668 lv_key_0_0=RULE_STRING
2669 newLeafNode(lv_setsSum_3_0, grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 2669 {
2670 } 2670 newLeafNode(lv_key_0_0, grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0());
2671 { 2671 }
2672 if ($current==null) { 2672 {
2673 $current = createModelElement(grammarAccess.getIntegerTypeScopeRule()); 2673 if ($current==null) {
2674 } 2674 $current = createModelElement(grammarAccess.getCustomEntryRule());
2675 setWithLastConsumed($current, "setsSum", true, "="); 2675 }
2676 } 2676 setWithLastConsumed(
2677 ) 2677 $current,
2678 ) 2678 "key",
2679 ) 2679 lv_key_0_0,
2680 ( 2680 "org.eclipse.xtext.common.Terminals.STRING");
2681 ( 2681 }
2682 ( 2682 )
2683 { 2683 )
2684 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 2684 otherlv_1='='
2685 } 2685 {
2686 lv_number_4_0=ruleExactNumber 2686 newLeafNode(otherlv_1, grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1());
2687 { 2687 }
2688 if ($current==null) { 2688 (
2689 $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); 2689 (
2690 } 2690 lv_value_2_0=RULE_STRING
2691 set( 2691 {
2692 $current, 2692 newLeafNode(lv_value_2_0, grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0());
2693 "number", 2693 }
2694 lv_number_4_0, 2694 {
2695 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 2695 if ($current==null) {
2696 afterParserOrEnumRuleCall(); 2696 $current = createModelElement(grammarAccess.getCustomEntryRule());
2697 } 2697 }
2698 ) 2698 setWithLastConsumed(
2699 ) 2699 $current,
2700 | 2700 "value",
2701 ( 2701 lv_value_2_0,
2702 ( 2702 "org.eclipse.xtext.common.Terminals.STRING");
2703 { 2703 }
2704 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 2704 )
2705 } 2705 )
2706 lv_number_5_0=ruleIntervallNumber 2706 )
2707 { 2707;
2708 if ($current==null) { 2708
2709 $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); 2709// Entry rule entryRuleConfigReference
2710 } 2710entryRuleConfigReference returns [EObject current=null]:
2711 set( 2711 { newCompositeNode(grammarAccess.getConfigReferenceRule()); }
2712 $current, 2712 iv_ruleConfigReference=ruleConfigReference
2713 "number", 2713 { $current=$iv_ruleConfigReference.current; }
2714 lv_number_5_0, 2714 EOF;
2715 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 2715
2716 afterParserOrEnumRuleCall(); 2716// Rule ConfigReference
2717 } 2717ruleConfigReference returns [EObject current=null]
2718 ) 2718@init {
2719 ) 2719 enterRule();
2720 | 2720}
2721 ( 2721@after {
2722 ( 2722 leaveRule();
2723 { 2723}:
2724 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0()); 2724 (
2725 } 2725 (
2726 lv_number_6_0=ruleIntEnumberation 2726 {
2727 { 2727 if ($current==null) {
2728 if ($current==null) { 2728 $current = createModelElement(grammarAccess.getConfigReferenceRule());
2729 $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); 2729 }
2730 } 2730 }
2731 set( 2731 otherlv_0=RULE_ID
2732 $current, 2732 {
2733 "number", 2733 newLeafNode(otherlv_0, grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0());
2734 lv_number_6_0, 2734 }
2735 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntEnumberation"); 2735 )
2736 afterParserOrEnumRuleCall(); 2736 )
2737 } 2737;
2738 ) 2738
2739 ) 2739// Entry rule entryRuleConfig
2740 ) 2740entryRuleConfig returns [EObject current=null]:
2741 ) 2741 { newCompositeNode(grammarAccess.getConfigRule()); }
2742; 2742 iv_ruleConfig=ruleConfig
2743 2743 { $current=$iv_ruleConfig.current; }
2744// Entry rule entryRuleRealTypeScope 2744 EOF;
2745entryRuleRealTypeScope returns [EObject current=null]: 2745
2746 { newCompositeNode(grammarAccess.getRealTypeScopeRule()); } 2746// Rule Config
2747 iv_ruleRealTypeScope=ruleRealTypeScope 2747ruleConfig returns [EObject current=null]
2748 { $current=$iv_ruleRealTypeScope.current; } 2748@init {
2749 EOF; 2749 enterRule();
2750 2750}
2751// Rule RealTypeScope 2751@after {
2752ruleRealTypeScope returns [EObject current=null] 2752 leaveRule();
2753@init { 2753}:
2754 enterRule(); 2754 (
2755} 2755 {
2756@after { 2756 newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0());
2757 leaveRule(); 2757 }
2758}: 2758 this_ConfigSpecification_0=ruleConfigSpecification
2759 ( 2759 {
2760 otherlv_0='#' 2760 $current = $this_ConfigSpecification_0.current;
2761 { 2761 afterParserOrEnumRuleCall();
2762 newLeafNode(otherlv_0, grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); 2762 }
2763 } 2763 |
2764 ( 2764 {
2765 ( 2765 newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1());
2766 { 2766 }
2767 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0()); 2767 this_ConfigReference_1=ruleConfigReference
2768 } 2768 {
2769 lv_type_1_0=ruleRealReference 2769 $current = $this_ConfigReference_1.current;
2770 { 2770 afterParserOrEnumRuleCall();
2771 if ($current==null) { 2771 }
2772 $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); 2772 )
2773 } 2773;
2774 set( 2774
2775 $current, 2775// Entry rule entryRuleScopeSpecification
2776 "type", 2776entryRuleScopeSpecification returns [EObject current=null]:
2777 lv_type_1_0, 2777 { newCompositeNode(grammarAccess.getScopeSpecificationRule()); }
2778 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealReference"); 2778 iv_ruleScopeSpecification=ruleScopeSpecification
2779 afterParserOrEnumRuleCall(); 2779 { $current=$iv_ruleScopeSpecification.current; }
2780 } 2780 EOF;
2781 ) 2781
2782 ) 2782// Rule ScopeSpecification
2783 ( 2783ruleScopeSpecification returns [EObject current=null]
2784 ( 2784@init {
2785 ( 2785 enterRule();
2786 lv_setsNew_2_0='+=' 2786}
2787 { 2787@after {
2788 newLeafNode(lv_setsNew_2_0, grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 2788 leaveRule();
2789 } 2789}:
2790 { 2790 (
2791 if ($current==null) { 2791 (
2792 $current = createModelElement(grammarAccess.getRealTypeScopeRule()); 2792 {
2793 } 2793 $current = forceCreateModelElement(
2794 setWithLastConsumed($current, "setsNew", true, "+="); 2794 grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(),
2795 } 2795 $current);
2796 ) 2796 }
2797 ) 2797 )
2798 | 2798 otherlv_1='{'
2799 ( 2799 {
2800 ( 2800 newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1());
2801 lv_setsSum_3_0='=' 2801 }
2802 { 2802 (
2803 newLeafNode(lv_setsSum_3_0, grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 2803 (
2804 } 2804 (
2805 { 2805 {
2806 if ($current==null) { 2806 newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0());
2807 $current = createModelElement(grammarAccess.getRealTypeScopeRule()); 2807 }
2808 } 2808 lv_scopes_2_0=ruleTypeScope
2809 setWithLastConsumed($current, "setsSum", true, "="); 2809 {
2810 } 2810 if ($current==null) {
2811 ) 2811 $current = createModelElementForParent(grammarAccess.getScopeSpecificationRule());
2812 ) 2812 }
2813 ) 2813 add(
2814 ( 2814 $current,
2815 ( 2815 "scopes",
2816 ( 2816 lv_scopes_2_0,
2817 { 2817 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope");
2818 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 2818 afterParserOrEnumRuleCall();
2819 } 2819 }
2820 lv_number_4_0=ruleExactNumber 2820 )
2821 { 2821 )
2822 if ($current==null) { 2822 (
2823 $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); 2823 otherlv_3=','
2824 } 2824 {
2825 set( 2825 newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0());
2826 $current, 2826 }
2827 "number", 2827 (
2828 lv_number_4_0, 2828 (
2829 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 2829 {
2830 afterParserOrEnumRuleCall(); 2830 newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0());
2831 } 2831 }
2832 ) 2832 lv_scopes_4_0=ruleTypeScope
2833 ) 2833 {
2834 | 2834 if ($current==null) {
2835 ( 2835 $current = createModelElementForParent(grammarAccess.getScopeSpecificationRule());
2836 ( 2836 }
2837 { 2837 add(
2838 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 2838 $current,
2839 } 2839 "scopes",
2840 lv_number_5_0=ruleIntervallNumber 2840 lv_scopes_4_0,
2841 { 2841 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope");
2842 if ($current==null) { 2842 afterParserOrEnumRuleCall();
2843 $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); 2843 }
2844 } 2844 )
2845 set( 2845 )
2846 $current, 2846 )*
2847 "number", 2847 )?
2848 lv_number_5_0, 2848 otherlv_5='}'
2849 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 2849 {
2850 afterParserOrEnumRuleCall(); 2850 newLeafNode(otherlv_5, grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3());
2851 } 2851 }
2852 ) 2852 )
2853 ) 2853;
2854 | 2854
2855 ( 2855// Entry rule entryRuleTypeScope
2856 ( 2856entryRuleTypeScope returns [EObject current=null]:
2857 { 2857 { newCompositeNode(grammarAccess.getTypeScopeRule()); }
2858 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0()); 2858 iv_ruleTypeScope=ruleTypeScope
2859 } 2859 { $current=$iv_ruleTypeScope.current; }
2860 lv_number_6_0=ruleRealEnumeration 2860 EOF;
2861 { 2861
2862 if ($current==null) { 2862// Rule TypeScope
2863 $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); 2863ruleTypeScope returns [EObject current=null]
2864 } 2864@init {
2865 set( 2865 enterRule();
2866 $current, 2866}
2867 "number", 2867@after {
2868 lv_number_6_0, 2868 leaveRule();
2869 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealEnumeration"); 2869}:
2870 afterParserOrEnumRuleCall(); 2870 (
2871 } 2871 {
2872 ) 2872 newCompositeNode(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0());
2873 ) 2873 }
2874 ) 2874 this_ClassTypeScope_0=ruleClassTypeScope
2875 ) 2875 {
2876; 2876 $current = $this_ClassTypeScope_0.current;
2877 2877 afterParserOrEnumRuleCall();
2878// Entry rule entryRuleStringTypeScope 2878 }
2879entryRuleStringTypeScope returns [EObject current=null]: 2879 |
2880 { newCompositeNode(grammarAccess.getStringTypeScopeRule()); } 2880 {
2881 iv_ruleStringTypeScope=ruleStringTypeScope 2881 newCompositeNode(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1());
2882 { $current=$iv_ruleStringTypeScope.current; } 2882 }
2883 EOF; 2883 this_ObjectTypeScope_1=ruleObjectTypeScope
2884 2884 {
2885// Rule StringTypeScope 2885 $current = $this_ObjectTypeScope_1.current;
2886ruleStringTypeScope returns [EObject current=null] 2886 afterParserOrEnumRuleCall();
2887@init { 2887 }
2888 enterRule(); 2888 |
2889} 2889 {
2890@after { 2890 newCompositeNode(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2());
2891 leaveRule(); 2891 }
2892}: 2892 this_IntegerTypeScope_2=ruleIntegerTypeScope
2893 ( 2893 {
2894 otherlv_0='#' 2894 $current = $this_IntegerTypeScope_2.current;
2895 { 2895 afterParserOrEnumRuleCall();
2896 newLeafNode(otherlv_0, grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); 2896 }
2897 } 2897 |
2898 ( 2898 {
2899 ( 2899 newCompositeNode(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3());
2900 { 2900 }
2901 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0()); 2901 this_RealTypeScope_3=ruleRealTypeScope
2902 } 2902 {
2903 lv_type_1_0=ruleStringReference 2903 $current = $this_RealTypeScope_3.current;
2904 { 2904 afterParserOrEnumRuleCall();
2905 if ($current==null) { 2905 }
2906 $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); 2906 |
2907 } 2907 {
2908 set( 2908 newCompositeNode(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4());
2909 $current, 2909 }
2910 "type", 2910 this_StringTypeScope_4=ruleStringTypeScope
2911 lv_type_1_0, 2911 {
2912 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringReference"); 2912 $current = $this_StringTypeScope_4.current;
2913 afterParserOrEnumRuleCall(); 2913 afterParserOrEnumRuleCall();
2914 } 2914 }
2915 ) 2915 )
2916 ) 2916;
2917 ( 2917
2918 ( 2918// Entry rule entryRuleClassTypeScope
2919 ( 2919entryRuleClassTypeScope returns [EObject current=null]:
2920 lv_setsNew_2_0='+=' 2920 { newCompositeNode(grammarAccess.getClassTypeScopeRule()); }
2921 { 2921 iv_ruleClassTypeScope=ruleClassTypeScope
2922 newLeafNode(lv_setsNew_2_0, grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 2922 { $current=$iv_ruleClassTypeScope.current; }
2923 } 2923 EOF;
2924 { 2924
2925 if ($current==null) { 2925// Rule ClassTypeScope
2926 $current = createModelElement(grammarAccess.getStringTypeScopeRule()); 2926ruleClassTypeScope returns [EObject current=null]
2927 } 2927@init {
2928 setWithLastConsumed($current, "setsNew", true, "+="); 2928 enterRule();
2929 } 2929}
2930 ) 2930@after {
2931 ) 2931 leaveRule();
2932 | 2932}:
2933 ( 2933 (
2934 ( 2934 otherlv_0='#'
2935 lv_setsSum_3_0='=' 2935 {
2936 { 2936 newLeafNode(otherlv_0, grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0());
2937 newLeafNode(lv_setsSum_3_0, grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 2937 }
2938 } 2938 (
2939 { 2939 (
2940 if ($current==null) { 2940 {
2941 $current = createModelElement(grammarAccess.getStringTypeScopeRule()); 2941 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0());
2942 } 2942 }
2943 setWithLastConsumed($current, "setsSum", true, "="); 2943 lv_type_1_0=ruleClassReference
2944 } 2944 {
2945 ) 2945 if ($current==null) {
2946 ) 2946 $current = createModelElementForParent(grammarAccess.getClassTypeScopeRule());
2947 ) 2947 }
2948 ( 2948 set(
2949 ( 2949 $current,
2950 ( 2950 "type",
2951 { 2951 lv_type_1_0,
2952 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 2952 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassReference");
2953 } 2953 afterParserOrEnumRuleCall();
2954 lv_number_4_0=ruleExactNumber 2954 }
2955 { 2955 )
2956 if ($current==null) { 2956 )
2957 $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); 2957 (
2958 } 2958 (
2959 set( 2959 (
2960 $current, 2960 lv_setsNew_2_0='+='
2961 "number", 2961 {
2962 lv_number_4_0, 2962 newLeafNode(lv_setsNew_2_0, grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
2963 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 2963 }
2964 afterParserOrEnumRuleCall(); 2964 {
2965 } 2965 if ($current==null) {
2966 ) 2966 $current = createModelElement(grammarAccess.getClassTypeScopeRule());
2967 ) 2967 }
2968 | 2968 setWithLastConsumed($current, "setsNew", true, "+=");
2969 ( 2969 }
2970 ( 2970 )
2971 { 2971 )
2972 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 2972 |
2973 } 2973 (
2974 lv_number_5_0=ruleIntervallNumber 2974 (
2975 { 2975 lv_setsSum_3_0='='
2976 if ($current==null) { 2976 {
2977 $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); 2977 newLeafNode(lv_setsSum_3_0, grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
2978 } 2978 }
2979 set( 2979 {
2980 $current, 2980 if ($current==null) {
2981 "number", 2981 $current = createModelElement(grammarAccess.getClassTypeScopeRule());
2982 lv_number_5_0, 2982 }
2983 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 2983 setWithLastConsumed($current, "setsSum", true, "=");
2984 afterParserOrEnumRuleCall(); 2984 }
2985 } 2985 )
2986 ) 2986 )
2987 ) 2987 )
2988 | 2988 (
2989 ( 2989 (
2990 ( 2990 (
2991 { 2991 {
2992 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0()); 2992 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
2993 } 2993 }
2994 lv_number_6_0=ruleStringEnumeration 2994 lv_number_4_0=ruleExactNumber
2995 { 2995 {
2996 if ($current==null) { 2996 if ($current==null) {
2997 $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); 2997 $current = createModelElementForParent(grammarAccess.getClassTypeScopeRule());
2998 } 2998 }
2999 set( 2999 set(
3000 $current, 3000 $current,
3001 "number", 3001 "number",
3002 lv_number_6_0, 3002 lv_number_4_0,
3003 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringEnumeration"); 3003 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
3004 afterParserOrEnumRuleCall(); 3004 afterParserOrEnumRuleCall();
3005 } 3005 }
3006 ) 3006 )
3007 ) 3007 )
3008 ) 3008 |
3009 ) 3009 (
3010; 3010 (
3011 3011 {
3012// Entry rule entryRuleClassReference 3012 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
3013entryRuleClassReference returns [EObject current=null]: 3013 }
3014 { newCompositeNode(grammarAccess.getClassReferenceRule()); } 3014 lv_number_5_0=ruleIntervallNumber
3015 iv_ruleClassReference=ruleClassReference 3015 {
3016 { $current=$iv_ruleClassReference.current; } 3016 if ($current==null) {
3017 EOF; 3017 $current = createModelElementForParent(grammarAccess.getClassTypeScopeRule());
3018 3018 }
3019// Rule ClassReference 3019 set(
3020ruleClassReference returns [EObject current=null] 3020 $current,
3021@init { 3021 "number",
3022 enterRule(); 3022 lv_number_5_0,
3023} 3023 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
3024@after { 3024 afterParserOrEnumRuleCall();
3025 leaveRule(); 3025 }
3026}: 3026 )
3027 ( 3027 )
3028 otherlv_0='<' 3028 )
3029 { 3029 )
3030 newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0()); 3030;
3031 } 3031
3032 ( 3032// Entry rule entryRuleObjectTypeScope
3033 ( 3033entryRuleObjectTypeScope returns [EObject current=null]:
3034 { 3034 { newCompositeNode(grammarAccess.getObjectTypeScopeRule()); }
3035 newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); 3035 iv_ruleObjectTypeScope=ruleObjectTypeScope
3036 } 3036 { $current=$iv_ruleObjectTypeScope.current; }
3037 lv_element_1_0=ruleMetamodelElement 3037 EOF;
3038 { 3038
3039 if ($current==null) { 3039// Rule ObjectTypeScope
3040 $current = createModelElementForParent(grammarAccess.getClassReferenceRule()); 3040ruleObjectTypeScope returns [EObject current=null]
3041 } 3041@init {
3042 set( 3042 enterRule();
3043 $current, 3043}
3044 "element", 3044@after {
3045 lv_element_1_0, 3045 leaveRule();
3046 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); 3046}:
3047 afterParserOrEnumRuleCall(); 3047 (
3048 } 3048 otherlv_0='#'
3049 ) 3049 {
3050 ) 3050 newLeafNode(otherlv_0, grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0());
3051 otherlv_2='>' 3051 }
3052 { 3052 (
3053 newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2()); 3053 (
3054 } 3054 {
3055 ) 3055 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0());
3056; 3056 }
3057 3057 lv_type_1_0=ruleObjectReference
3058// Entry rule entryRuleObjectReference 3058 {
3059entryRuleObjectReference returns [EObject current=null]: 3059 if ($current==null) {
3060 { newCompositeNode(grammarAccess.getObjectReferenceRule()); } 3060 $current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule());
3061 iv_ruleObjectReference=ruleObjectReference 3061 }
3062 { $current=$iv_ruleObjectReference.current; } 3062 set(
3063 EOF; 3063 $current,
3064 3064 "type",
3065// Rule ObjectReference 3065 lv_type_1_0,
3066ruleObjectReference returns [EObject current=null] 3066 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectReference");
3067@init { 3067 afterParserOrEnumRuleCall();
3068 enterRule(); 3068 }
3069} 3069 )
3070@after { 3070 )
3071 leaveRule(); 3071 (
3072}: 3072 (
3073 ( 3073 (
3074 ( 3074 lv_setsNew_2_0='+='
3075 { 3075 {
3076 $current = forceCreateModelElement( 3076 newLeafNode(lv_setsNew_2_0, grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
3077 grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(), 3077 }
3078 $current); 3078 {
3079 } 3079 if ($current==null) {
3080 ) 3080 $current = createModelElement(grammarAccess.getObjectTypeScopeRule());
3081 otherlv_1='node' 3081 }
3082 { 3082 setWithLastConsumed($current, "setsNew", true, "+=");
3083 newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); 3083 }
3084 } 3084 )
3085 ) 3085 )
3086; 3086 |
3087 3087 (
3088// Entry rule entryRuleIntegerReference 3088 (
3089entryRuleIntegerReference returns [EObject current=null]: 3089 lv_setsSum_3_0='='
3090 { newCompositeNode(grammarAccess.getIntegerReferenceRule()); } 3090 {
3091 iv_ruleIntegerReference=ruleIntegerReference 3091 newLeafNode(lv_setsSum_3_0, grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
3092 { $current=$iv_ruleIntegerReference.current; } 3092 }
3093 EOF; 3093 {
3094 3094 if ($current==null) {
3095// Rule IntegerReference 3095 $current = createModelElement(grammarAccess.getObjectTypeScopeRule());
3096ruleIntegerReference returns [EObject current=null] 3096 }
3097@init { 3097 setWithLastConsumed($current, "setsSum", true, "=");
3098 enterRule(); 3098 }
3099} 3099 )
3100@after { 3100 )
3101 leaveRule(); 3101 )
3102}: 3102 (
3103 ( 3103 (
3104 ( 3104 (
3105 { 3105 {
3106 $current = forceCreateModelElement( 3106 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
3107 grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(), 3107 }
3108 $current); 3108 lv_number_4_0=ruleExactNumber
3109 } 3109 {
3110 ) 3110 if ($current==null) {
3111 otherlv_1='int' 3111 $current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule());
3112 { 3112 }
3113 newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); 3113 set(
3114 } 3114 $current,
3115 ) 3115 "number",
3116; 3116 lv_number_4_0,
3117 3117 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
3118// Entry rule entryRuleRealReference 3118 afterParserOrEnumRuleCall();
3119entryRuleRealReference returns [EObject current=null]: 3119 }
3120 { newCompositeNode(grammarAccess.getRealReferenceRule()); } 3120 )
3121 iv_ruleRealReference=ruleRealReference 3121 )
3122 { $current=$iv_ruleRealReference.current; } 3122 |
3123 EOF; 3123 (
3124 3124 (
3125// Rule RealReference 3125 {
3126ruleRealReference returns [EObject current=null] 3126 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
3127@init { 3127 }
3128 enterRule(); 3128 lv_number_5_0=ruleIntervallNumber
3129} 3129 {
3130@after { 3130 if ($current==null) {
3131 leaveRule(); 3131 $current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule());
3132}: 3132 }
3133 ( 3133 set(
3134 ( 3134 $current,
3135 { 3135 "number",
3136 $current = forceCreateModelElement( 3136 lv_number_5_0,
3137 grammarAccess.getRealReferenceAccess().getRealScopeAction_0(), 3137 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
3138 $current); 3138 afterParserOrEnumRuleCall();
3139 } 3139 }
3140 ) 3140 )
3141 otherlv_1='real' 3141 )
3142 { 3142 )
3143 newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1()); 3143 )
3144 } 3144;
3145 ) 3145
3146; 3146// Entry rule entryRuleIntegerTypeScope
3147 3147entryRuleIntegerTypeScope returns [EObject current=null]:
3148// Entry rule entryRuleStringReference 3148 { newCompositeNode(grammarAccess.getIntegerTypeScopeRule()); }
3149entryRuleStringReference returns [EObject current=null]: 3149 iv_ruleIntegerTypeScope=ruleIntegerTypeScope
3150 { newCompositeNode(grammarAccess.getStringReferenceRule()); } 3150 { $current=$iv_ruleIntegerTypeScope.current; }
3151 iv_ruleStringReference=ruleStringReference 3151 EOF;
3152 { $current=$iv_ruleStringReference.current; } 3152
3153 EOF; 3153// Rule IntegerTypeScope
3154 3154ruleIntegerTypeScope returns [EObject current=null]
3155// Rule StringReference 3155@init {
3156ruleStringReference returns [EObject current=null] 3156 enterRule();
3157@init { 3157}
3158 enterRule(); 3158@after {
3159} 3159 leaveRule();
3160@after { 3160}:
3161 leaveRule(); 3161 (
3162}: 3162 otherlv_0='#'
3163 ( 3163 {
3164 ( 3164 newLeafNode(otherlv_0, grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0());
3165 { 3165 }
3166 $current = forceCreateModelElement( 3166 (
3167 grammarAccess.getStringReferenceAccess().getStringScopeAction_0(), 3167 (
3168 $current); 3168 {
3169 } 3169 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0());
3170 ) 3170 }
3171 otherlv_1='string' 3171 lv_type_1_0=ruleIntegerReference
3172 { 3172 {
3173 newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1()); 3173 if ($current==null) {
3174 } 3174 $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule());
3175 ) 3175 }
3176; 3176 set(
3177 3177 $current,
3178// Entry rule entryRuleExactNumber 3178 "type",
3179entryRuleExactNumber returns [EObject current=null]: 3179 lv_type_1_0,
3180 { newCompositeNode(grammarAccess.getExactNumberRule()); } 3180 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerReference");
3181 iv_ruleExactNumber=ruleExactNumber 3181 afterParserOrEnumRuleCall();
3182 { $current=$iv_ruleExactNumber.current; } 3182 }
3183 EOF; 3183 )
3184 3184 )
3185// Rule ExactNumber 3185 (
3186ruleExactNumber returns [EObject current=null] 3186 (
3187@init { 3187 (
3188 enterRule(); 3188 lv_setsNew_2_0='+='
3189} 3189 {
3190@after { 3190 newLeafNode(lv_setsNew_2_0, grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
3191 leaveRule(); 3191 }
3192}: 3192 {
3193 ( 3193 if ($current==null) {
3194 ( 3194 $current = createModelElement(grammarAccess.getIntegerTypeScopeRule());
3195 ( 3195 }
3196 lv_exactNumber_0_0=RULE_INT 3196 setWithLastConsumed($current, "setsNew", true, "+=");
3197 { 3197 }
3198 newLeafNode(lv_exactNumber_0_0, grammarAccess.getExactNumberAccess().getExactNumberINTTerminalRuleCall_0_0()); 3198 )
3199 } 3199 )
3200 { 3200 |
3201 if ($current==null) { 3201 (
3202 $current = createModelElement(grammarAccess.getExactNumberRule()); 3202 (
3203 } 3203 lv_setsSum_3_0='='
3204 setWithLastConsumed( 3204 {
3205 $current, 3205 newLeafNode(lv_setsSum_3_0, grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
3206 "exactNumber", 3206 }
3207 lv_exactNumber_0_0, 3207 {
3208 "org.eclipse.xtext.common.Terminals.INT"); 3208 if ($current==null) {
3209 } 3209 $current = createModelElement(grammarAccess.getIntegerTypeScopeRule());
3210 ) 3210 }
3211 ) 3211 setWithLastConsumed($current, "setsSum", true, "=");
3212 | 3212 }
3213 ( 3213 )
3214 ( 3214 )
3215 lv_exactUnlimited_1_0='*' 3215 )
3216 { 3216 (
3217 newLeafNode(lv_exactUnlimited_1_0, grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); 3217 (
3218 } 3218 (
3219 { 3219 {
3220 if ($current==null) { 3220 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
3221 $current = createModelElement(grammarAccess.getExactNumberRule()); 3221 }
3222 } 3222 lv_number_4_0=ruleExactNumber
3223 setWithLastConsumed($current, "exactUnlimited", true, "*"); 3223 {
3224 } 3224 if ($current==null) {
3225 ) 3225 $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule());
3226 ) 3226 }
3227 ) 3227 set(
3228; 3228 $current,
3229 3229 "number",
3230// Entry rule entryRuleIntervallNumber 3230 lv_number_4_0,
3231entryRuleIntervallNumber returns [EObject current=null]: 3231 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
3232 { newCompositeNode(grammarAccess.getIntervallNumberRule()); } 3232 afterParserOrEnumRuleCall();
3233 iv_ruleIntervallNumber=ruleIntervallNumber 3233 }
3234 { $current=$iv_ruleIntervallNumber.current; } 3234 )
3235 EOF; 3235 )
3236 3236 |
3237// Rule IntervallNumber 3237 (
3238ruleIntervallNumber returns [EObject current=null] 3238 (
3239@init { 3239 {
3240 enterRule(); 3240 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
3241} 3241 }
3242@after { 3242 lv_number_5_0=ruleIntervallNumber
3243 leaveRule(); 3243 {
3244}: 3244 if ($current==null) {
3245 ( 3245 $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule());
3246 ( 3246 }
3247 ( 3247 set(
3248 lv_min_0_0=RULE_INT 3248 $current,
3249 { 3249 "number",
3250 newLeafNode(lv_min_0_0, grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0()); 3250 lv_number_5_0,
3251 } 3251 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
3252 { 3252 afterParserOrEnumRuleCall();
3253 if ($current==null) { 3253 }
3254 $current = createModelElement(grammarAccess.getIntervallNumberRule()); 3254 )
3255 } 3255 )
3256 setWithLastConsumed( 3256 |
3257 $current, 3257 (
3258 "min", 3258 (
3259 lv_min_0_0, 3259 {
3260 "org.eclipse.xtext.common.Terminals.INT"); 3260 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0());
3261 } 3261 }
3262 ) 3262 lv_number_6_0=ruleIntEnumberation
3263 ) 3263 {
3264 otherlv_1='..' 3264 if ($current==null) {
3265 { 3265 $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule());
3266 newLeafNode(otherlv_1, grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); 3266 }
3267 } 3267 set(
3268 ( 3268 $current,
3269 ( 3269 "number",
3270 ( 3270 lv_number_6_0,
3271 lv_maxNumber_2_0=RULE_INT 3271 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntEnumberation");
3272 { 3272 afterParserOrEnumRuleCall();
3273 newLeafNode(lv_maxNumber_2_0, grammarAccess.getIntervallNumberAccess().getMaxNumberINTTerminalRuleCall_2_0_0()); 3273 }
3274 } 3274 )
3275 { 3275 )
3276 if ($current==null) { 3276 )
3277 $current = createModelElement(grammarAccess.getIntervallNumberRule()); 3277 )
3278 } 3278;
3279 setWithLastConsumed( 3279
3280 $current, 3280// Entry rule entryRuleRealTypeScope
3281 "maxNumber", 3281entryRuleRealTypeScope returns [EObject current=null]:
3282 lv_maxNumber_2_0, 3282 { newCompositeNode(grammarAccess.getRealTypeScopeRule()); }
3283 "org.eclipse.xtext.common.Terminals.INT"); 3283 iv_ruleRealTypeScope=ruleRealTypeScope
3284 } 3284 { $current=$iv_ruleRealTypeScope.current; }
3285 ) 3285 EOF;
3286 ) 3286
3287 | 3287// Rule RealTypeScope
3288 ( 3288ruleRealTypeScope returns [EObject current=null]
3289 ( 3289@init {
3290 lv_maxUnlimited_3_0='*' 3290 enterRule();
3291 { 3291}
3292 newLeafNode(lv_maxUnlimited_3_0, grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); 3292@after {
3293 } 3293 leaveRule();
3294 { 3294}:
3295 if ($current==null) { 3295 (
3296 $current = createModelElement(grammarAccess.getIntervallNumberRule()); 3296 otherlv_0='#'
3297 } 3297 {
3298 setWithLastConsumed($current, "maxUnlimited", true, "*"); 3298 newLeafNode(otherlv_0, grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0());
3299 } 3299 }
3300 ) 3300 (
3301 ) 3301 (
3302 ) 3302 {
3303 ) 3303 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0());
3304; 3304 }
3305 3305 lv_type_1_0=ruleRealReference
3306// Entry rule entryRuleIntEnumberation 3306 {
3307entryRuleIntEnumberation returns [EObject current=null]: 3307 if ($current==null) {
3308 { newCompositeNode(grammarAccess.getIntEnumberationRule()); } 3308 $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule());
3309 iv_ruleIntEnumberation=ruleIntEnumberation 3309 }
3310 { $current=$iv_ruleIntEnumberation.current; } 3310 set(
3311 EOF; 3311 $current,
3312 3312 "type",
3313// Rule IntEnumberation 3313 lv_type_1_0,
3314ruleIntEnumberation returns [EObject current=null] 3314 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealReference");
3315@init { 3315 afterParserOrEnumRuleCall();
3316 enterRule(); 3316 }
3317} 3317 )
3318@after { 3318 )
3319 leaveRule(); 3319 (
3320}: 3320 (
3321 ( 3321 (
3322 ( 3322 lv_setsNew_2_0='+='
3323 { 3323 {
3324 $current = forceCreateModelElement( 3324 newLeafNode(lv_setsNew_2_0, grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
3325 grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0(), 3325 }
3326 $current); 3326 {
3327 } 3327 if ($current==null) {
3328 ) 3328 $current = createModelElement(grammarAccess.getRealTypeScopeRule());
3329 otherlv_1='{' 3329 }
3330 { 3330 setWithLastConsumed($current, "setsNew", true, "+=");
3331 newLeafNode(otherlv_1, grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1()); 3331 }
3332 } 3332 )
3333 ( 3333 )
3334 ( 3334 |
3335 ( 3335 (
3336 { 3336 (
3337 newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0()); 3337 lv_setsSum_3_0='='
3338 } 3338 {
3339 lv_entry_2_0=ruleINTLiteral 3339 newLeafNode(lv_setsSum_3_0, grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
3340 { 3340 }
3341 if ($current==null) { 3341 {
3342 $current = createModelElementForParent(grammarAccess.getIntEnumberationRule()); 3342 if ($current==null) {
3343 } 3343 $current = createModelElement(grammarAccess.getRealTypeScopeRule());
3344 add( 3344 }
3345 $current, 3345 setWithLastConsumed($current, "setsSum", true, "=");
3346 "entry", 3346 }
3347 lv_entry_2_0, 3347 )
3348 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); 3348 )
3349 afterParserOrEnumRuleCall(); 3349 )
3350 } 3350 (
3351 ) 3351 (
3352 ) 3352 (
3353 ( 3353 {
3354 otherlv_3=',' 3354 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
3355 { 3355 }
3356 newLeafNode(otherlv_3, grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0()); 3356 lv_number_4_0=ruleExactNumber
3357 } 3357 {
3358 ( 3358 if ($current==null) {
3359 ( 3359 $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule());
3360 { 3360 }
3361 newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0()); 3361 set(
3362 } 3362 $current,
3363 lv_entry_4_0=ruleINTLiteral 3363 "number",
3364 { 3364 lv_number_4_0,
3365 if ($current==null) { 3365 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
3366 $current = createModelElementForParent(grammarAccess.getIntEnumberationRule()); 3366 afterParserOrEnumRuleCall();
3367 } 3367 }
3368 add( 3368 )
3369 $current, 3369 )
3370 "entry", 3370 |
3371 lv_entry_4_0, 3371 (
3372 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); 3372 (
3373 afterParserOrEnumRuleCall(); 3373 {
3374 } 3374 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
3375 ) 3375 }
3376 ) 3376 lv_number_5_0=ruleIntervallNumber
3377 )* 3377 {
3378 )? 3378 if ($current==null) {
3379 otherlv_5='}' 3379 $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule());
3380 { 3380 }
3381 newLeafNode(otherlv_5, grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3()); 3381 set(
3382 } 3382 $current,
3383 ) 3383 "number",
3384; 3384 lv_number_5_0,
3385 3385 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
3386// Entry rule entryRuleRealEnumeration 3386 afterParserOrEnumRuleCall();
3387entryRuleRealEnumeration returns [EObject current=null]: 3387 }
3388 { newCompositeNode(grammarAccess.getRealEnumerationRule()); } 3388 )
3389 iv_ruleRealEnumeration=ruleRealEnumeration 3389 )
3390 { $current=$iv_ruleRealEnumeration.current; } 3390 |
3391 EOF; 3391 (
3392 3392 (
3393// Rule RealEnumeration 3393 {
3394ruleRealEnumeration returns [EObject current=null] 3394 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0());
3395@init { 3395 }
3396 enterRule(); 3396 lv_number_6_0=ruleRealEnumeration
3397} 3397 {
3398@after { 3398 if ($current==null) {
3399 leaveRule(); 3399 $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule());
3400}: 3400 }
3401 ( 3401 set(
3402 ( 3402 $current,
3403 { 3403 "number",
3404 $current = forceCreateModelElement( 3404 lv_number_6_0,
3405 grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0(), 3405 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealEnumeration");
3406 $current); 3406 afterParserOrEnumRuleCall();
3407 } 3407 }
3408 ) 3408 )
3409 otherlv_1='{' 3409 )
3410 { 3410 )
3411 newLeafNode(otherlv_1, grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1()); 3411 )
3412 } 3412;
3413 ( 3413
3414 ( 3414// Entry rule entryRuleStringTypeScope
3415 ( 3415entryRuleStringTypeScope returns [EObject current=null]:
3416 { 3416 { newCompositeNode(grammarAccess.getStringTypeScopeRule()); }
3417 newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0()); 3417 iv_ruleStringTypeScope=ruleStringTypeScope
3418 } 3418 { $current=$iv_ruleStringTypeScope.current; }
3419 lv_entry_2_0=ruleREALLiteral 3419 EOF;
3420 { 3420
3421 if ($current==null) { 3421// Rule StringTypeScope
3422 $current = createModelElementForParent(grammarAccess.getRealEnumerationRule()); 3422ruleStringTypeScope returns [EObject current=null]
3423 } 3423@init {
3424 add( 3424 enterRule();
3425 $current, 3425}
3426 "entry", 3426@after {
3427 lv_entry_2_0, 3427 leaveRule();
3428 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); 3428}:
3429 afterParserOrEnumRuleCall(); 3429 (
3430 } 3430 otherlv_0='#'
3431 ) 3431 {
3432 ) 3432 newLeafNode(otherlv_0, grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0());
3433 ( 3433 }
3434 otherlv_3=',' 3434 (
3435 { 3435 (
3436 newLeafNode(otherlv_3, grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0()); 3436 {
3437 } 3437 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0());
3438 ( 3438 }
3439 ( 3439 lv_type_1_0=ruleStringReference
3440 { 3440 {
3441 newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0()); 3441 if ($current==null) {
3442 } 3442 $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule());
3443 lv_entry_4_0=ruleREALLiteral 3443 }
3444 { 3444 set(
3445 if ($current==null) { 3445 $current,
3446 $current = createModelElementForParent(grammarAccess.getRealEnumerationRule()); 3446 "type",
3447 } 3447 lv_type_1_0,
3448 add( 3448 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringReference");
3449 $current, 3449 afterParserOrEnumRuleCall();
3450 "entry", 3450 }
3451 lv_entry_4_0, 3451 )
3452 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); 3452 )
3453 afterParserOrEnumRuleCall(); 3453 (
3454 } 3454 (
3455 ) 3455 (
3456 ) 3456 lv_setsNew_2_0='+='
3457 )* 3457 {
3458 )? 3458 newLeafNode(lv_setsNew_2_0, grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
3459 otherlv_5='}' 3459 }
3460 { 3460 {
3461 newLeafNode(otherlv_5, grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3()); 3461 if ($current==null) {
3462 } 3462 $current = createModelElement(grammarAccess.getStringTypeScopeRule());
3463 ) 3463 }
3464; 3464 setWithLastConsumed($current, "setsNew", true, "+=");
3465 3465 }
3466// Entry rule entryRuleStringEnumeration 3466 )
3467entryRuleStringEnumeration returns [EObject current=null]: 3467 )
3468 { newCompositeNode(grammarAccess.getStringEnumerationRule()); } 3468 |
3469 iv_ruleStringEnumeration=ruleStringEnumeration 3469 (
3470 { $current=$iv_ruleStringEnumeration.current; } 3470 (
3471 EOF; 3471 lv_setsSum_3_0='='
3472 3472 {
3473// Rule StringEnumeration 3473 newLeafNode(lv_setsSum_3_0, grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
3474ruleStringEnumeration returns [EObject current=null] 3474 }
3475@init { 3475 {
3476 enterRule(); 3476 if ($current==null) {
3477} 3477 $current = createModelElement(grammarAccess.getStringTypeScopeRule());
3478@after { 3478 }
3479 leaveRule(); 3479 setWithLastConsumed($current, "setsSum", true, "=");
3480}: 3480 }
3481 ( 3481 )
3482 ( 3482 )
3483 { 3483 )
3484 $current = forceCreateModelElement( 3484 (
3485 grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0(), 3485 (
3486 $current); 3486 (
3487 } 3487 {
3488 ) 3488 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
3489 otherlv_1='{' 3489 }
3490 { 3490 lv_number_4_0=ruleExactNumber
3491 newLeafNode(otherlv_1, grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1()); 3491 {
3492 } 3492 if ($current==null) {
3493 ( 3493 $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule());
3494 ( 3494 }
3495 ( 3495 set(
3496 lv_entry_2_0=RULE_STRING 3496 $current,
3497 { 3497 "number",
3498 newLeafNode(lv_entry_2_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_0_0()); 3498 lv_number_4_0,
3499 } 3499 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
3500 { 3500 afterParserOrEnumRuleCall();
3501 if ($current==null) { 3501 }
3502 $current = createModelElement(grammarAccess.getStringEnumerationRule()); 3502 )
3503 } 3503 )
3504 addWithLastConsumed( 3504 |
3505 $current, 3505 (
3506 "entry", 3506 (
3507 lv_entry_2_0, 3507 {
3508 "org.eclipse.xtext.common.Terminals.STRING"); 3508 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
3509 } 3509 }
3510 ) 3510 lv_number_5_0=ruleIntervallNumber
3511 ) 3511 {
3512 ( 3512 if ($current==null) {
3513 otherlv_3=',' 3513 $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule());
3514 { 3514 }
3515 newLeafNode(otherlv_3, grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0()); 3515 set(
3516 } 3516 $current,
3517 ( 3517 "number",
3518 ( 3518 lv_number_5_0,
3519 lv_entry_4_0=RULE_STRING 3519 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
3520 { 3520 afterParserOrEnumRuleCall();
3521 newLeafNode(lv_entry_4_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_1_1_0()); 3521 }
3522 } 3522 )
3523 { 3523 )
3524 if ($current==null) { 3524 |
3525 $current = createModelElement(grammarAccess.getStringEnumerationRule()); 3525 (
3526 } 3526 (
3527 addWithLastConsumed( 3527 {
3528 $current, 3528 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0());
3529 "entry", 3529 }
3530 lv_entry_4_0, 3530 lv_number_6_0=ruleStringEnumeration
3531 "org.eclipse.xtext.common.Terminals.STRING"); 3531 {
3532 } 3532 if ($current==null) {
3533 ) 3533 $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule());
3534 ) 3534 }
3535 )* 3535 set(
3536 )? 3536 $current,
3537 otherlv_5='}' 3537 "number",
3538 { 3538 lv_number_6_0,
3539 newLeafNode(otherlv_5, grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3()); 3539 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringEnumeration");
3540 } 3540 afterParserOrEnumRuleCall();
3541 ) 3541 }
3542; 3542 )
3543 3543 )
3544// Entry rule entryRuleScopeDeclaration 3544 )
3545entryRuleScopeDeclaration returns [EObject current=null]: 3545 )
3546 { newCompositeNode(grammarAccess.getScopeDeclarationRule()); } 3546;
3547 iv_ruleScopeDeclaration=ruleScopeDeclaration 3547
3548 { $current=$iv_ruleScopeDeclaration.current; } 3548// Entry rule entryRuleClassReference
3549 EOF; 3549entryRuleClassReference returns [EObject current=null]:
3550 3550 { newCompositeNode(grammarAccess.getClassReferenceRule()); }
3551// Rule ScopeDeclaration 3551 iv_ruleClassReference=ruleClassReference
3552ruleScopeDeclaration returns [EObject current=null] 3552 { $current=$iv_ruleClassReference.current; }
3553@init { 3553 EOF;
3554 enterRule(); 3554
3555} 3555// Rule ClassReference
3556@after { 3556ruleClassReference returns [EObject current=null]
3557 leaveRule(); 3557@init {
3558}: 3558 enterRule();
3559 ( 3559}
3560 otherlv_0='scope' 3560@after {
3561 { 3561 leaveRule();
3562 newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); 3562}:
3563 } 3563 (
3564 ( 3564 otherlv_0='<'
3565 ( 3565 {
3566 lv_name_1_0=RULE_ID 3566 newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0());
3567 { 3567 }
3568 newLeafNode(lv_name_1_0, grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 3568 (
3569 } 3569 (
3570 { 3570 {
3571 if ($current==null) { 3571 newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0());
3572 $current = createModelElement(grammarAccess.getScopeDeclarationRule()); 3572 }
3573 } 3573 lv_element_1_0=ruleMetamodelElement
3574 setWithLastConsumed( 3574 {
3575 $current, 3575 if ($current==null) {
3576 "name", 3576 $current = createModelElementForParent(grammarAccess.getClassReferenceRule());
3577 lv_name_1_0, 3577 }
3578 "org.eclipse.xtext.common.Terminals.ID"); 3578 set(
3579 } 3579 $current,
3580 ) 3580 "element",
3581 ) 3581 lv_element_1_0,
3582 ( 3582 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement");
3583 ( 3583 afterParserOrEnumRuleCall();
3584 { 3584 }
3585 newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); 3585 )
3586 } 3586 )
3587 lv_specification_2_0=ruleScopeSpecification 3587 otherlv_2='>'
3588 { 3588 {
3589 if ($current==null) { 3589 newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2());
3590 $current = createModelElementForParent(grammarAccess.getScopeDeclarationRule()); 3590 }
3591 } 3591 )
3592 set( 3592;
3593 $current, 3593
3594 "specification", 3594// Entry rule entryRuleObjectReference
3595 lv_specification_2_0, 3595entryRuleObjectReference returns [EObject current=null]:
3596 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification"); 3596 { newCompositeNode(grammarAccess.getObjectReferenceRule()); }
3597 afterParserOrEnumRuleCall(); 3597 iv_ruleObjectReference=ruleObjectReference
3598 } 3598 { $current=$iv_ruleObjectReference.current; }
3599 ) 3599 EOF;
3600 ) 3600
3601 ) 3601// Rule ObjectReference
3602; 3602ruleObjectReference returns [EObject current=null]
3603 3603@init {
3604// Entry rule entryRuleScopeReference 3604 enterRule();
3605entryRuleScopeReference returns [EObject current=null]: 3605}
3606 { newCompositeNode(grammarAccess.getScopeReferenceRule()); } 3606@after {
3607 iv_ruleScopeReference=ruleScopeReference 3607 leaveRule();
3608 { $current=$iv_ruleScopeReference.current; } 3608}:
3609 EOF; 3609 (
3610 3610 (
3611// Rule ScopeReference 3611 {
3612ruleScopeReference returns [EObject current=null] 3612 $current = forceCreateModelElement(
3613@init { 3613 grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(),
3614 enterRule(); 3614 $current);
3615} 3615 }
3616@after { 3616 )
3617 leaveRule(); 3617 otherlv_1='node'
3618}: 3618 {
3619 ( 3619 newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getNodeKeyword_1());
3620 ( 3620 }
3621 { 3621 )
3622 if ($current==null) { 3622;
3623 $current = createModelElement(grammarAccess.getScopeReferenceRule()); 3623
3624 } 3624// Entry rule entryRuleIntegerReference
3625 } 3625entryRuleIntegerReference returns [EObject current=null]:
3626 otherlv_0=RULE_ID 3626 { newCompositeNode(grammarAccess.getIntegerReferenceRule()); }
3627 { 3627 iv_ruleIntegerReference=ruleIntegerReference
3628 newLeafNode(otherlv_0, grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); 3628 { $current=$iv_ruleIntegerReference.current; }
3629 } 3629 EOF;
3630 ) 3630
3631 ) 3631// Rule IntegerReference
3632; 3632ruleIntegerReference returns [EObject current=null]
3633 3633@init {
3634// Entry rule entryRuleScope 3634 enterRule();
3635entryRuleScope returns [EObject current=null]: 3635}
3636 { newCompositeNode(grammarAccess.getScopeRule()); } 3636@after {
3637 iv_ruleScope=ruleScope 3637 leaveRule();
3638 { $current=$iv_ruleScope.current; } 3638}:
3639 EOF; 3639 (
3640 3640 (
3641// Rule Scope 3641 {
3642ruleScope returns [EObject current=null] 3642 $current = forceCreateModelElement(
3643@init { 3643 grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(),
3644 enterRule(); 3644 $current);
3645} 3645 }
3646@after { 3646 )
3647 leaveRule(); 3647 otherlv_1='int'
3648}: 3648 {
3649 ( 3649 newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1());
3650 { 3650 }
3651 newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); 3651 )
3652 } 3652;
3653 this_ScopeSpecification_0=ruleScopeSpecification 3653
3654 { 3654// Entry rule entryRuleRealReference
3655 $current = $this_ScopeSpecification_0.current; 3655entryRuleRealReference returns [EObject current=null]:
3656 afterParserOrEnumRuleCall(); 3656 { newCompositeNode(grammarAccess.getRealReferenceRule()); }
3657 } 3657 iv_ruleRealReference=ruleRealReference
3658 | 3658 { $current=$iv_ruleRealReference.current; }
3659 { 3659 EOF;
3660 newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); 3660
3661 } 3661// Rule RealReference
3662 this_ScopeReference_1=ruleScopeReference 3662ruleRealReference returns [EObject current=null]
3663 { 3663@init {
3664 $current = $this_ScopeReference_1.current; 3664 enterRule();
3665 afterParserOrEnumRuleCall(); 3665}
3666 } 3666@after {
3667 ) 3667 leaveRule();
3668; 3668}:
3669 3669 (
3670// Entry rule entryRuleTask 3670 (
3671entryRuleTask returns [EObject current=null]: 3671 {
3672 { newCompositeNode(grammarAccess.getTaskRule()); } 3672 $current = forceCreateModelElement(
3673 iv_ruleTask=ruleTask 3673 grammarAccess.getRealReferenceAccess().getRealScopeAction_0(),
3674 { $current=$iv_ruleTask.current; } 3674 $current);
3675 EOF; 3675 }
3676 3676 )
3677// Rule Task 3677 otherlv_1='real'
3678ruleTask returns [EObject current=null] 3678 {
3679@init { 3679 newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1());
3680 enterRule(); 3680 }
3681} 3681 )
3682@after { 3682;
3683 leaveRule(); 3683
3684}: 3684// Entry rule entryRuleStringReference
3685 { 3685entryRuleStringReference returns [EObject current=null]:
3686 newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); 3686 { newCompositeNode(grammarAccess.getStringReferenceRule()); }
3687 } 3687 iv_ruleStringReference=ruleStringReference
3688 this_GenerationTask_0=ruleGenerationTask 3688 { $current=$iv_ruleStringReference.current; }
3689 { 3689 EOF;
3690 $current = $this_GenerationTask_0.current; 3690
3691 afterParserOrEnumRuleCall(); 3691// Rule StringReference
3692 } 3692ruleStringReference returns [EObject current=null]
3693; 3693@init {
3694 3694 enterRule();
3695// Entry rule entryRuleGenerationTask 3695}
3696entryRuleGenerationTask returns [EObject current=null]: 3696@after {
3697 { newCompositeNode(grammarAccess.getGenerationTaskRule()); } 3697 leaveRule();
3698 iv_ruleGenerationTask=ruleGenerationTask 3698}:
3699 { $current=$iv_ruleGenerationTask.current; } 3699 (
3700 EOF; 3700 (
3701 3701 {
3702// Rule GenerationTask 3702 $current = forceCreateModelElement(
3703ruleGenerationTask returns [EObject current=null] 3703 grammarAccess.getStringReferenceAccess().getStringScopeAction_0(),
3704@init { 3704 $current);
3705 enterRule(); 3705 }
3706} 3706 )
3707@after { 3707 otherlv_1='string'
3708 leaveRule(); 3708 {
3709}: 3709 newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1());
3710 ( 3710 }
3711 otherlv_0='generate' 3711 )
3712 { 3712;
3713 newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); 3713
3714 } 3714// Entry rule entryRuleExactNumber
3715 ( 3715entryRuleExactNumber returns [EObject current=null]:
3716 { 3716 { newCompositeNode(grammarAccess.getExactNumberRule()); }
3717 $current = forceCreateModelElement( 3717 iv_ruleExactNumber=ruleExactNumber
3718 grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(), 3718 { $current=$iv_ruleExactNumber.current; }
3719 $current); 3719 EOF;
3720 } 3720
3721 ) 3721// Rule ExactNumber
3722 otherlv_2='{' 3722ruleExactNumber returns [EObject current=null]
3723 { 3723@init {
3724 newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); 3724 enterRule();
3725 } 3725}
3726 ( 3726@after {
3727 ( 3727 leaveRule();
3728 { 3728}:
3729 getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 3729 (
3730 } 3730 (
3731 ( 3731 (
3732 ( 3732 lv_exactNumber_0_0=RULE_INT
3733 ( 3733 {
3734 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)}?=>( 3734 newLeafNode(lv_exactNumber_0_0, grammarAccess.getExactNumberAccess().getExactNumberINTTerminalRuleCall_0_0());
3735 { 3735 }
3736 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); 3736 {
3737 } 3737 if ($current==null) {
3738 ({true}?=>(otherlv_4='metamodel' 3738 $current = createModelElement(grammarAccess.getExactNumberRule());
3739 { 3739 }
3740 newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); 3740 setWithLastConsumed(
3741 } 3741 $current,
3742 otherlv_5='=' 3742 "exactNumber",
3743 { 3743 lv_exactNumber_0_0,
3744 newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); 3744 "org.eclipse.xtext.common.Terminals.INT");
3745 } 3745 }
3746 ( 3746 )
3747 ( 3747 )
3748 { 3748 |
3749 newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); 3749 (
3750 } 3750 (
3751 lv_metamodel_6_0=ruleMetamodel 3751 lv_exactUnlimited_1_0='*'
3752 { 3752 {
3753 if ($current==null) { 3753 newLeafNode(lv_exactUnlimited_1_0, grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0());
3754 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 3754 }
3755 } 3755 {
3756 set( 3756 if ($current==null) {
3757 $current, 3757 $current = createModelElement(grammarAccess.getExactNumberRule());
3758 "metamodel", 3758 }
3759 lv_metamodel_6_0, 3759 setWithLastConsumed($current, "exactUnlimited", true, "*");
3760 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel"); 3760 }
3761 afterParserOrEnumRuleCall(); 3761 )
3762 } 3762 )
3763 ) 3763 )
3764 ) 3764;
3765 )) 3765
3766 { 3766// Entry rule entryRuleIntervallNumber
3767 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 3767entryRuleIntervallNumber returns [EObject current=null]:
3768 } 3768 { newCompositeNode(grammarAccess.getIntervallNumberRule()); }
3769 ) 3769 iv_ruleIntervallNumber=ruleIntervallNumber
3770 )| 3770 { $current=$iv_ruleIntervallNumber.current; }
3771 ( 3771 EOF;
3772 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)}?=>( 3772
3773 { 3773// Rule IntervallNumber
3774 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); 3774ruleIntervallNumber returns [EObject current=null]
3775 } 3775@init {
3776 ({true}?=>(otherlv_7='partial-model' 3776 enterRule();
3777 { 3777}
3778 newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); 3778@after {
3779 } 3779 leaveRule();
3780 otherlv_8='=' 3780}:
3781 { 3781 (
3782 newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); 3782 (
3783 } 3783 (
3784 ( 3784 lv_min_0_0=RULE_INT
3785 ( 3785 {
3786 { 3786 newLeafNode(lv_min_0_0, grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0());
3787 newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); 3787 }
3788 } 3788 {
3789 lv_partialModel_9_0=rulePartialModel 3789 if ($current==null) {
3790 { 3790 $current = createModelElement(grammarAccess.getIntervallNumberRule());
3791 if ($current==null) { 3791 }
3792 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 3792 setWithLastConsumed(
3793 } 3793 $current,
3794 set( 3794 "min",
3795 $current, 3795 lv_min_0_0,
3796 "partialModel", 3796 "org.eclipse.xtext.common.Terminals.INT");
3797 lv_partialModel_9_0, 3797 }
3798 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel"); 3798 )
3799 afterParserOrEnumRuleCall(); 3799 )
3800 } 3800 otherlv_1='..'
3801 ) 3801 {
3802 ) 3802 newLeafNode(otherlv_1, grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1());
3803 )) 3803 }
3804 { 3804 (
3805 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 3805 (
3806 } 3806 (
3807 ) 3807 lv_maxNumber_2_0=RULE_INT
3808 )| 3808 {
3809 ( 3809 newLeafNode(lv_maxNumber_2_0, grammarAccess.getIntervallNumberAccess().getMaxNumberINTTerminalRuleCall_2_0_0());
3810 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)}?=>( 3810 }
3811 { 3811 {
3812 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); 3812 if ($current==null) {
3813 } 3813 $current = createModelElement(grammarAccess.getIntervallNumberRule());
3814 ({true}?=>(otherlv_10='constraints' 3814 }
3815 { 3815 setWithLastConsumed(
3816 newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0()); 3816 $current,
3817 } 3817 "maxNumber",
3818 otherlv_11='=' 3818 lv_maxNumber_2_0,
3819 { 3819 "org.eclipse.xtext.common.Terminals.INT");
3820 newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); 3820 }
3821 } 3821 )
3822 ( 3822 )
3823 ( 3823 |
3824 { 3824 (
3825 newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); 3825 (
3826 } 3826 lv_maxUnlimited_3_0='*'
3827 lv_patterns_12_0=ruleGraphPattern 3827 {
3828 { 3828 newLeafNode(lv_maxUnlimited_3_0, grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0());
3829 if ($current==null) { 3829 }
3830 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 3830 {
3831 } 3831 if ($current==null) {
3832 set( 3832 $current = createModelElement(grammarAccess.getIntervallNumberRule());
3833 $current, 3833 }
3834 "patterns", 3834 setWithLastConsumed($current, "maxUnlimited", true, "*");
3835 lv_patterns_12_0, 3835 }
3836 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern"); 3836 )
3837 afterParserOrEnumRuleCall(); 3837 )
3838 } 3838 )
3839 ) 3839 )
3840 ) 3840;
3841 )) 3841
3842 { 3842// Entry rule entryRuleIntEnumberation
3843 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 3843entryRuleIntEnumberation returns [EObject current=null]:
3844 } 3844 { newCompositeNode(grammarAccess.getIntEnumberationRule()); }
3845 ) 3845 iv_ruleIntEnumberation=ruleIntEnumberation
3846 )| 3846 { $current=$iv_ruleIntEnumberation.current; }
3847 ( 3847 EOF;
3848 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)}?=>( 3848
3849 { 3849// Rule IntEnumberation
3850 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); 3850ruleIntEnumberation returns [EObject current=null]
3851 } 3851@init {
3852 ({true}?=>(otherlv_13='scope' 3852 enterRule();
3853 { 3853}
3854 newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_3_0()); 3854@after {
3855 } 3855 leaveRule();
3856 otherlv_14='=' 3856}:
3857 { 3857 (
3858 newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); 3858 (
3859 } 3859 {
3860 ( 3860 $current = forceCreateModelElement(
3861 ( 3861 grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0(),
3862 { 3862 $current);
3863 newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_3_2_0()); 3863 }
3864 } 3864 )
3865 lv_scope_15_0=ruleScope 3865 otherlv_1='{'
3866 { 3866 {
3867 if ($current==null) { 3867 newLeafNode(otherlv_1, grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1());
3868 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 3868 }
3869 } 3869 (
3870 set( 3870 (
3871 $current, 3871 (
3872 "scope", 3872 {
3873 lv_scope_15_0, 3873 newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0());
3874 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope"); 3874 }
3875 afterParserOrEnumRuleCall(); 3875 lv_entry_2_0=ruleINTLiteral
3876 } 3876 {
3877 ) 3877 if ($current==null) {
3878 ) 3878 $current = createModelElementForParent(grammarAccess.getIntEnumberationRule());
3879 )) 3879 }
3880 { 3880 add(
3881 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 3881 $current,
3882 } 3882 "entry",
3883 ) 3883 lv_entry_2_0,
3884 )| 3884 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral");
3885 ( 3885 afterParserOrEnumRuleCall();
3886 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)}?=>( 3886 }
3887 { 3887 )
3888 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); 3888 )
3889 } 3889 (
3890 ({true}?=>(( 3890 otherlv_3=','
3891 ( 3891 {
3892 lv_numberSpecified_16_0='number' 3892 newLeafNode(otherlv_3, grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0());
3893 { 3893 }
3894 newLeafNode(lv_numberSpecified_16_0, grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_4_0_0()); 3894 (
3895 } 3895 (
3896 { 3896 {
3897 if ($current==null) { 3897 newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0());
3898 $current = createModelElement(grammarAccess.getGenerationTaskRule()); 3898 }
3899 } 3899 lv_entry_4_0=ruleINTLiteral
3900 setWithLastConsumed($current, "numberSpecified", true, "number"); 3900 {
3901 } 3901 if ($current==null) {
3902 ) 3902 $current = createModelElementForParent(grammarAccess.getIntEnumberationRule());
3903 ) 3903 }
3904 otherlv_17='=' 3904 add(
3905 { 3905 $current,
3906 newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); 3906 "entry",
3907 } 3907 lv_entry_4_0,
3908 ( 3908 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral");
3909 ( 3909 afterParserOrEnumRuleCall();
3910 lv_number_18_0=RULE_INT 3910 }
3911 { 3911 )
3912 newLeafNode(lv_number_18_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_4_2_0()); 3912 )
3913 } 3913 )*
3914 { 3914 )?
3915 if ($current==null) { 3915 otherlv_5='}'
3916 $current = createModelElement(grammarAccess.getGenerationTaskRule()); 3916 {
3917 } 3917 newLeafNode(otherlv_5, grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3());
3918 setWithLastConsumed( 3918 }
3919 $current, 3919 )
3920 "number", 3920;
3921 lv_number_18_0, 3921
3922 "org.eclipse.xtext.common.Terminals.INT"); 3922// Entry rule entryRuleRealEnumeration
3923 } 3923entryRuleRealEnumeration returns [EObject current=null]:
3924 ) 3924 { newCompositeNode(grammarAccess.getRealEnumerationRule()); }
3925 ) 3925 iv_ruleRealEnumeration=ruleRealEnumeration
3926 )) 3926 { $current=$iv_ruleRealEnumeration.current; }
3927 { 3927 EOF;
3928 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 3928
3929 } 3929// Rule RealEnumeration
3930 ) 3930ruleRealEnumeration returns [EObject current=null]
3931 )| 3931@init {
3932 ( 3932 enterRule();
3933 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)}?=>( 3933}
3934 { 3934@after {
3935 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); 3935 leaveRule();
3936 } 3936}:
3937 ({true}?=>(( 3937 (
3938 ( 3938 (
3939 lv_runSpecified_19_0='runs' 3939 {
3940 { 3940 $current = forceCreateModelElement(
3941 newLeafNode(lv_runSpecified_19_0, grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_5_0_0()); 3941 grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0(),
3942 } 3942 $current);
3943 { 3943 }
3944 if ($current==null) { 3944 )
3945 $current = createModelElement(grammarAccess.getGenerationTaskRule()); 3945 otherlv_1='{'
3946 } 3946 {
3947 setWithLastConsumed($current, "runSpecified", true, "runs"); 3947 newLeafNode(otherlv_1, grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1());
3948 } 3948 }
3949 ) 3949 (
3950 ) 3950 (
3951 otherlv_20='=' 3951 (
3952 { 3952 {
3953 newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); 3953 newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0());
3954 } 3954 }
3955 ( 3955 lv_entry_2_0=ruleREALLiteral
3956 ( 3956 {
3957 lv_runs_21_0=RULE_INT 3957 if ($current==null) {
3958 { 3958 $current = createModelElementForParent(grammarAccess.getRealEnumerationRule());
3959 newLeafNode(lv_runs_21_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_5_2_0()); 3959 }
3960 } 3960 add(
3961 { 3961 $current,
3962 if ($current==null) { 3962 "entry",
3963 $current = createModelElement(grammarAccess.getGenerationTaskRule()); 3963 lv_entry_2_0,
3964 } 3964 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral");
3965 setWithLastConsumed( 3965 afterParserOrEnumRuleCall();
3966 $current, 3966 }
3967 "runs", 3967 )
3968 lv_runs_21_0, 3968 )
3969 "org.eclipse.xtext.common.Terminals.INT"); 3969 (
3970 } 3970 otherlv_3=','
3971 ) 3971 {
3972 ) 3972 newLeafNode(otherlv_3, grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0());
3973 )) 3973 }
3974 { 3974 (
3975 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 3975 (
3976 } 3976 {
3977 ) 3977 newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0());
3978 )| 3978 }
3979 ( 3979 lv_entry_4_0=ruleREALLiteral
3980 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)}?=>( 3980 {
3981 { 3981 if ($current==null) {
3982 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); 3982 $current = createModelElementForParent(grammarAccess.getRealEnumerationRule());
3983 } 3983 }
3984 ({true}?=>(otherlv_22='solver' 3984 add(
3985 { 3985 $current,
3986 newLeafNode(otherlv_22, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_6_0()); 3986 "entry",
3987 } 3987 lv_entry_4_0,
3988 otherlv_23='=' 3988 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral");
3989 { 3989 afterParserOrEnumRuleCall();
3990 newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); 3990 }
3991 } 3991 )
3992 ( 3992 )
3993 ( 3993 )*
3994 { 3994 )?
3995 newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_6_2_0()); 3995 otherlv_5='}'
3996 } 3996 {
3997 lv_solver_24_0=ruleSolver 3997 newLeafNode(otherlv_5, grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3());
3998 { 3998 }
3999 if ($current==null) { 3999 )
4000 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 4000;
4001 } 4001
4002 set( 4002// Entry rule entryRuleStringEnumeration
4003 $current, 4003entryRuleStringEnumeration returns [EObject current=null]:
4004 "solver", 4004 { newCompositeNode(grammarAccess.getStringEnumerationRule()); }
4005 lv_solver_24_0, 4005 iv_ruleStringEnumeration=ruleStringEnumeration
4006 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver"); 4006 { $current=$iv_ruleStringEnumeration.current; }
4007 afterParserOrEnumRuleCall(); 4007 EOF;
4008 } 4008
4009 ) 4009// Rule StringEnumeration
4010 ) 4010ruleStringEnumeration returns [EObject current=null]
4011 )) 4011@init {
4012 { 4012 enterRule();
4013 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 4013}
4014 } 4014@after {
4015 ) 4015 leaveRule();
4016 )| 4016}:
4017 ( 4017 (
4018 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)}?=>( 4018 (
4019 { 4019 {
4020 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); 4020 $current = forceCreateModelElement(
4021 } 4021 grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0(),
4022 ({true}?=>(otherlv_25='config' 4022 $current);
4023 { 4023 }
4024 newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_7_0()); 4024 )
4025 } 4025 otherlv_1='{'
4026 otherlv_26='=' 4026 {
4027 { 4027 newLeafNode(otherlv_1, grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1());
4028 newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); 4028 }
4029 } 4029 (
4030 ( 4030 (
4031 ( 4031 (
4032 { 4032 lv_entry_2_0=RULE_STRING
4033 newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_7_2_0()); 4033 {
4034 } 4034 newLeafNode(lv_entry_2_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_0_0());
4035 lv_config_27_0=ruleConfig 4035 }
4036 { 4036 {
4037 if ($current==null) { 4037 if ($current==null) {
4038 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 4038 $current = createModelElement(grammarAccess.getStringEnumerationRule());
4039 } 4039 }
4040 set( 4040 addWithLastConsumed(
4041 $current, 4041 $current,
4042 "config", 4042 "entry",
4043 lv_config_27_0, 4043 lv_entry_2_0,
4044 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config"); 4044 "org.eclipse.xtext.common.Terminals.STRING");
4045 afterParserOrEnumRuleCall(); 4045 }
4046 } 4046 )
4047 ) 4047 )
4048 ) 4048 (
4049 )) 4049 otherlv_3=','
4050 { 4050 {
4051 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 4051 newLeafNode(otherlv_3, grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0());
4052 } 4052 }
4053 ) 4053 (
4054 )| 4054 (
4055 ( 4055 lv_entry_4_0=RULE_STRING
4056 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)}?=>( 4056 {
4057 { 4057 newLeafNode(lv_entry_4_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_1_1_0());
4058 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); 4058 }
4059 } 4059 {
4060 ({true}?=>(otherlv_28='debug' 4060 if ($current==null) {
4061 { 4061 $current = createModelElement(grammarAccess.getStringEnumerationRule());
4062 newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_8_0()); 4062 }
4063 } 4063 addWithLastConsumed(
4064 otherlv_29='=' 4064 $current,
4065 { 4065 "entry",
4066 newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); 4066 lv_entry_4_0,
4067 } 4067 "org.eclipse.xtext.common.Terminals.STRING");
4068 ( 4068 }
4069 ( 4069 )
4070 { 4070 )
4071 newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_8_2_0()); 4071 )*
4072 } 4072 )?
4073 lv_debugFolder_30_0=ruleFile 4073 otherlv_5='}'
4074 { 4074 {
4075 if ($current==null) { 4075 newLeafNode(otherlv_5, grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3());
4076 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 4076 }
4077 } 4077 )
4078 set( 4078;
4079 $current, 4079
4080 "debugFolder", 4080// Entry rule entryRuleScopeDeclaration
4081 lv_debugFolder_30_0, 4081entryRuleScopeDeclaration returns [EObject current=null]:
4082 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 4082 { newCompositeNode(grammarAccess.getScopeDeclarationRule()); }
4083 afterParserOrEnumRuleCall(); 4083 iv_ruleScopeDeclaration=ruleScopeDeclaration
4084 } 4084 { $current=$iv_ruleScopeDeclaration.current; }
4085 ) 4085 EOF;
4086 ) 4086
4087 )) 4087// Rule ScopeDeclaration
4088 { 4088ruleScopeDeclaration returns [EObject current=null]
4089 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 4089@init {
4090 } 4090 enterRule();
4091 ) 4091}
4092 )| 4092@after {
4093 ( 4093 leaveRule();
4094 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)}?=>( 4094}:
4095 { 4095 (
4096 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); 4096 otherlv_0='scope'
4097 } 4097 {
4098 ({true}?=>(otherlv_31='log' 4098 newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0());
4099 { 4099 }
4100 newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_9_0()); 4100 (
4101 } 4101 (
4102 otherlv_32='=' 4102 lv_name_1_0=RULE_ID
4103 { 4103 {
4104 newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); 4104 newLeafNode(lv_name_1_0, grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0());
4105 } 4105 }
4106 ( 4106 {
4107 ( 4107 if ($current==null) {
4108 { 4108 $current = createModelElement(grammarAccess.getScopeDeclarationRule());
4109 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_9_2_0()); 4109 }
4110 } 4110 setWithLastConsumed(
4111 lv_targetLogFile_33_0=ruleFile 4111 $current,
4112 { 4112 "name",
4113 if ($current==null) { 4113 lv_name_1_0,
4114 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 4114 "org.eclipse.xtext.common.Terminals.ID");
4115 } 4115 }
4116 set( 4116 )
4117 $current, 4117 )
4118 "targetLogFile", 4118 (
4119 lv_targetLogFile_33_0, 4119 (
4120 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 4120 {
4121 afterParserOrEnumRuleCall(); 4121 newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0());
4122 } 4122 }
4123 ) 4123 lv_specification_2_0=ruleScopeSpecification
4124 ) 4124 {
4125 )) 4125 if ($current==null) {
4126 { 4126 $current = createModelElementForParent(grammarAccess.getScopeDeclarationRule());
4127 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 4127 }
4128 } 4128 set(
4129 ) 4129 $current,
4130 )| 4130 "specification",
4131 ( 4131 lv_specification_2_0,
4132 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)}?=>( 4132 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification");
4133 { 4133 afterParserOrEnumRuleCall();
4134 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); 4134 }
4135 } 4135 )
4136 ({true}?=>(otherlv_34='statistics' 4136 )
4137 { 4137 )
4138 newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_10_0()); 4138;
4139 } 4139
4140 otherlv_35='=' 4140// Entry rule entryRuleScopeReference
4141 { 4141entryRuleScopeReference returns [EObject current=null]:
4142 newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); 4142 { newCompositeNode(grammarAccess.getScopeReferenceRule()); }
4143 } 4143 iv_ruleScopeReference=ruleScopeReference
4144 ( 4144 { $current=$iv_ruleScopeReference.current; }
4145 ( 4145 EOF;
4146 { 4146
4147 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_10_2_0()); 4147// Rule ScopeReference
4148 } 4148ruleScopeReference returns [EObject current=null]
4149 lv_targetStatisticsFile_36_0=ruleFile 4149@init {
4150 { 4150 enterRule();
4151 if ($current==null) { 4151}
4152 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 4152@after {
4153 } 4153 leaveRule();
4154 set( 4154}:
4155 $current, 4155 (
4156 "targetStatisticsFile", 4156 (
4157 lv_targetStatisticsFile_36_0, 4157 {
4158 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 4158 if ($current==null) {
4159 afterParserOrEnumRuleCall(); 4159 $current = createModelElement(grammarAccess.getScopeReferenceRule());
4160 } 4160 }
4161 ) 4161 }
4162 ) 4162 otherlv_0=RULE_ID
4163 )) 4163 {
4164 { 4164 newLeafNode(otherlv_0, grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0());
4165 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 4165 }
4166 } 4166 )
4167 ) 4167 )
4168 )| 4168;
4169 ( 4169
4170 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)}?=>( 4170// Entry rule entryRuleScope
4171 { 4171entryRuleScope returns [EObject current=null]:
4172 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); 4172 { newCompositeNode(grammarAccess.getScopeRule()); }
4173 } 4173 iv_ruleScope=ruleScope
4174 ({true}?=>(otherlv_37='output' 4174 { $current=$iv_ruleScope.current; }
4175 { 4175 EOF;
4176 newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_11_0()); 4176
4177 } 4177// Rule Scope
4178 otherlv_38='=' 4178ruleScope returns [EObject current=null]
4179 { 4179@init {
4180 newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); 4180 enterRule();
4181 } 4181}
4182 ( 4182@after {
4183 ( 4183 leaveRule();
4184 { 4184}:
4185 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_11_2_0()); 4185 (
4186 } 4186 {
4187 lv_tagetFolder_39_0=ruleFile 4187 newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0());
4188 { 4188 }
4189 if ($current==null) { 4189 this_ScopeSpecification_0=ruleScopeSpecification
4190 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 4190 {
4191 } 4191 $current = $this_ScopeSpecification_0.current;
4192 set( 4192 afterParserOrEnumRuleCall();
4193 $current, 4193 }
4194 "tagetFolder", 4194 |
4195 lv_tagetFolder_39_0, 4195 {
4196 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 4196 newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1());
4197 afterParserOrEnumRuleCall(); 4197 }
4198 } 4198 this_ScopeReference_1=ruleScopeReference
4199 ) 4199 {
4200 ) 4200 $current = $this_ScopeReference_1.current;
4201 )) 4201 afterParserOrEnumRuleCall();
4202 { 4202 }
4203 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 4203 )
4204 } 4204;
4205 ) 4205
4206 ) 4206// Entry rule entryRuleTask
4207 )* 4207entryRuleTask returns [EObject current=null]:
4208 ) 4208 { newCompositeNode(grammarAccess.getTaskRule()); }
4209 ) 4209 iv_ruleTask=ruleTask
4210 { 4210 { $current=$iv_ruleTask.current; }
4211 getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 4211 EOF;
4212 } 4212
4213 ) 4213// Rule Task
4214 otherlv_40='}' 4214ruleTask returns [EObject current=null]
4215 { 4215@init {
4216 newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); 4216 enterRule();
4217 } 4217}
4218 ) 4218@after {
4219; 4219 leaveRule();
4220 4220}:
4221// Rule DocumentLevelSpecification 4221 {
4222ruleDocumentLevelSpecification returns [Enumerator current=null] 4222 newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall());
4223@init { 4223 }
4224 enterRule(); 4224 this_GenerationTask_0=ruleGenerationTask
4225} 4225 {
4226@after { 4226 $current = $this_GenerationTask_0.current;
4227 leaveRule(); 4227 afterParserOrEnumRuleCall();
4228}: 4228 }
4229 ( 4229;
4230 ( 4230
4231 enumLiteral_0='none' 4231// Entry rule entryRuleGenerationTask
4232 { 4232entryRuleGenerationTask returns [EObject current=null]:
4233 $current = grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); 4233 { newCompositeNode(grammarAccess.getGenerationTaskRule()); }
4234 newLeafNode(enumLiteral_0, grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0()); 4234 iv_ruleGenerationTask=ruleGenerationTask
4235 } 4235 { $current=$iv_ruleGenerationTask.current; }
4236 ) 4236 EOF;
4237 | 4237
4238 ( 4238// Rule GenerationTask
4239 enumLiteral_1='normal' 4239ruleGenerationTask returns [EObject current=null]
4240 { 4240@init {
4241 $current = grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); 4241 enterRule();
4242 newLeafNode(enumLiteral_1, grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1()); 4242}
4243 } 4243@after {
4244 ) 4244 leaveRule();
4245 | 4245}:
4246 ( 4246 (
4247 enumLiteral_2='full' 4247 otherlv_0='generate'
4248 { 4248 {
4249 $current = grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); 4249 newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0());
4250 newLeafNode(enumLiteral_2, grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2()); 4250 }
4251 } 4251 (
4252 ) 4252 {
4253 ) 4253 $current = forceCreateModelElement(
4254; 4254 grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(),
4255 4255 $current);
4256// Rule Solver 4256 }
4257ruleSolver returns [Enumerator current=null] 4257 )
4258@init { 4258 otherlv_2='{'
4259 enterRule(); 4259 {
4260} 4260 newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2());
4261@after { 4261 }
4262 leaveRule(); 4262 (
4263}: 4263 (
4264 ( 4264 {
4265 ( 4265 getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4266 enumLiteral_0='SMTSolver' 4266 }
4267 { 4267 (
4268 $current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); 4268 (
4269 newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); 4269 (
4270 } 4270 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)}?=>(
4271 ) 4271 {
4272 | 4272 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0);
4273 ( 4273 }
4274 enumLiteral_1='AlloySolver' 4274 ({true}?=>(otherlv_4='metamodel'
4275 { 4275 {
4276 $current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); 4276 newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0());
4277 newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); 4277 }
4278 } 4278 otherlv_5='='
4279 ) 4279 {
4280 | 4280 newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1());
4281 ( 4281 }
4282 enumLiteral_2='ViatraSolver' 4282 (
4283 { 4283 (
4284 $current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); 4284 {
4285 newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); 4285 newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0());
4286 } 4286 }
4287 ) 4287 lv_metamodel_6_0=ruleMetamodel
4288 ) 4288 {
4289; 4289 if ($current==null) {
4290 4290 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
4291RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; 4291 }
4292 4292 set(
4293RULE_INT : ('0'..'9')+; 4293 $current,
4294 4294 "metamodel",
4295RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'|'\'' ('\\' .|~(('\\'|'\'')))* '\''); 4295 lv_metamodel_6_0,
4296 4296 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel");
4297RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; 4297 afterParserOrEnumRuleCall();
4298 4298 }
4299RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; 4299 )
4300 4300 )
4301RULE_WS : (' '|'\t'|'\r'|'\n')+; 4301 ))
4302 4302 {
4303RULE_ANY_OTHER : .; 4303 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4304 }
4305 )
4306 )|
4307 (
4308 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)}?=>(
4309 {
4310 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1);
4311 }
4312 ({true}?=>(otherlv_7='partial-model'
4313 {
4314 newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0());
4315 }
4316 otherlv_8='='
4317 {
4318 newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1());
4319 }
4320 (
4321 (
4322 {
4323 newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0());
4324 }
4325 lv_partialModel_9_0=rulePartialModel
4326 {
4327 if ($current==null) {
4328 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
4329 }
4330 set(
4331 $current,
4332 "partialModel",
4333 lv_partialModel_9_0,
4334 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel");
4335 afterParserOrEnumRuleCall();
4336 }
4337 )
4338 )
4339 ))
4340 {
4341 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4342 }
4343 )
4344 )|
4345 (
4346 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)}?=>(
4347 {
4348 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2);
4349 }
4350 ({true}?=>(otherlv_10='constraints'
4351 {
4352 newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0());
4353 }
4354 otherlv_11='='
4355 {
4356 newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1());
4357 }
4358 (
4359 (
4360 {
4361 newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0());
4362 }
4363 lv_patterns_12_0=ruleGraphPattern
4364 {
4365 if ($current==null) {
4366 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
4367 }
4368 set(
4369 $current,
4370 "patterns",
4371 lv_patterns_12_0,
4372 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern");
4373 afterParserOrEnumRuleCall();
4374 }
4375 )
4376 )
4377 ))
4378 {
4379 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4380 }
4381 )
4382 )|
4383 (
4384 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)}?=>(
4385 {
4386 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3);
4387 }
4388 ({true}?=>(otherlv_13='objectives'
4389 {
4390 newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getObjectivesKeyword_3_3_0());
4391 }
4392 otherlv_14='='
4393 {
4394 newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1());
4395 }
4396 (
4397 (
4398 {
4399 newCompositeNode(grammarAccess.getGenerationTaskAccess().getObjectivesObjectiveParserRuleCall_3_3_2_0());
4400 }
4401 lv_objectives_15_0=ruleObjective
4402 {
4403 if ($current==null) {
4404 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
4405 }
4406 set(
4407 $current,
4408 "objectives",
4409 lv_objectives_15_0,
4410 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Objective");
4411 afterParserOrEnumRuleCall();
4412 }
4413 )
4414 )
4415 ))
4416 {
4417 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4418 }
4419 )
4420 )|
4421 (
4422 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)}?=>(
4423 {
4424 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4);
4425 }
4426 ({true}?=>(otherlv_16='scope'
4427 {
4428 newLeafNode(otherlv_16, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_4_0());
4429 }
4430 otherlv_17='='
4431 {
4432 newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1());
4433 }
4434 (
4435 (
4436 {
4437 newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_4_2_0());
4438 }
4439 lv_scope_18_0=ruleScope
4440 {
4441 if ($current==null) {
4442 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
4443 }
4444 set(
4445 $current,
4446 "scope",
4447 lv_scope_18_0,
4448 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope");
4449 afterParserOrEnumRuleCall();
4450 }
4451 )
4452 )
4453 ))
4454 {
4455 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4456 }
4457 )
4458 )|
4459 (
4460 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)}?=>(
4461 {
4462 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5);
4463 }
4464 ({true}?=>((
4465 (
4466 lv_numberSpecified_19_0='number'
4467 {
4468 newLeafNode(lv_numberSpecified_19_0, grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_5_0_0());
4469 }
4470 {
4471 if ($current==null) {
4472 $current = createModelElement(grammarAccess.getGenerationTaskRule());
4473 }
4474 setWithLastConsumed($current, "numberSpecified", true, "number");
4475 }
4476 )
4477 )
4478 otherlv_20='='
4479 {
4480 newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1());
4481 }
4482 (
4483 (
4484 lv_number_21_0=RULE_INT
4485 {
4486 newLeafNode(lv_number_21_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_5_2_0());
4487 }
4488 {
4489 if ($current==null) {
4490 $current = createModelElement(grammarAccess.getGenerationTaskRule());
4491 }
4492 setWithLastConsumed(
4493 $current,
4494 "number",
4495 lv_number_21_0,
4496 "org.eclipse.xtext.common.Terminals.INT");
4497 }
4498 )
4499 )
4500 ))
4501 {
4502 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4503 }
4504 )
4505 )|
4506 (
4507 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)}?=>(
4508 {
4509 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6);
4510 }
4511 ({true}?=>((
4512 (
4513 lv_runSpecified_22_0='runs'
4514 {
4515 newLeafNode(lv_runSpecified_22_0, grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_6_0_0());
4516 }
4517 {
4518 if ($current==null) {
4519 $current = createModelElement(grammarAccess.getGenerationTaskRule());
4520 }
4521 setWithLastConsumed($current, "runSpecified", true, "runs");
4522 }
4523 )
4524 )
4525 otherlv_23='='
4526 {
4527 newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1());
4528 }
4529 (
4530 (
4531 lv_runs_24_0=RULE_INT
4532 {
4533 newLeafNode(lv_runs_24_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_6_2_0());
4534 }
4535 {
4536 if ($current==null) {
4537 $current = createModelElement(grammarAccess.getGenerationTaskRule());
4538 }
4539 setWithLastConsumed(
4540 $current,
4541 "runs",
4542 lv_runs_24_0,
4543 "org.eclipse.xtext.common.Terminals.INT");
4544 }
4545 )
4546 )
4547 ))
4548 {
4549 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4550 }
4551 )
4552 )|
4553 (
4554 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)}?=>(
4555 {
4556 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7);
4557 }
4558 ({true}?=>(otherlv_25='solver'
4559 {
4560 newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_7_0());
4561 }
4562 otherlv_26='='
4563 {
4564 newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1());
4565 }
4566 (
4567 (
4568 {
4569 newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_7_2_0());
4570 }
4571 lv_solver_27_0=ruleSolver
4572 {
4573 if ($current==null) {
4574 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
4575 }
4576 set(
4577 $current,
4578 "solver",
4579 lv_solver_27_0,
4580 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver");
4581 afterParserOrEnumRuleCall();
4582 }
4583 )
4584 )
4585 ))
4586 {
4587 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4588 }
4589 )
4590 )|
4591 (
4592 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)}?=>(
4593 {
4594 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8);
4595 }
4596 ({true}?=>(otherlv_28='config'
4597 {
4598 newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_8_0());
4599 }
4600 otherlv_29='='
4601 {
4602 newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1());
4603 }
4604 (
4605 (
4606 {
4607 newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_8_2_0());
4608 }
4609 lv_config_30_0=ruleConfig
4610 {
4611 if ($current==null) {
4612 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
4613 }
4614 set(
4615 $current,
4616 "config",
4617 lv_config_30_0,
4618 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config");
4619 afterParserOrEnumRuleCall();
4620 }
4621 )
4622 )
4623 ))
4624 {
4625 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4626 }
4627 )
4628 )|
4629 (
4630 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)}?=>(
4631 {
4632 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9);
4633 }
4634 ({true}?=>(otherlv_31='debug'
4635 {
4636 newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0());
4637 }
4638 otherlv_32='='
4639 {
4640 newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1());
4641 }
4642 (
4643 (
4644 {
4645 newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_9_2_0());
4646 }
4647 lv_debugFolder_33_0=ruleFile
4648 {
4649 if ($current==null) {
4650 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
4651 }
4652 set(
4653 $current,
4654 "debugFolder",
4655 lv_debugFolder_33_0,
4656 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
4657 afterParserOrEnumRuleCall();
4658 }
4659 )
4660 )
4661 ))
4662 {
4663 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4664 }
4665 )
4666 )|
4667 (
4668 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)}?=>(
4669 {
4670 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10);
4671 }
4672 ({true}?=>(otherlv_34='log'
4673 {
4674 newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0());
4675 }
4676 otherlv_35='='
4677 {
4678 newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1());
4679 }
4680 (
4681 (
4682 {
4683 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_10_2_0());
4684 }
4685 lv_targetLogFile_36_0=ruleFile
4686 {
4687 if ($current==null) {
4688 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
4689 }
4690 set(
4691 $current,
4692 "targetLogFile",
4693 lv_targetLogFile_36_0,
4694 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
4695 afterParserOrEnumRuleCall();
4696 }
4697 )
4698 )
4699 ))
4700 {
4701 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4702 }
4703 )
4704 )|
4705 (
4706 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)}?=>(
4707 {
4708 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11);
4709 }
4710 ({true}?=>(otherlv_37='statistics'
4711 {
4712 newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0());
4713 }
4714 otherlv_38='='
4715 {
4716 newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1());
4717 }
4718 (
4719 (
4720 {
4721 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_11_2_0());
4722 }
4723 lv_targetStatisticsFile_39_0=ruleFile
4724 {
4725 if ($current==null) {
4726 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
4727 }
4728 set(
4729 $current,
4730 "targetStatisticsFile",
4731 lv_targetStatisticsFile_39_0,
4732 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
4733 afterParserOrEnumRuleCall();
4734 }
4735 )
4736 )
4737 ))
4738 {
4739 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4740 }
4741 )
4742 )|
4743 (
4744 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12)}?=>(
4745 {
4746 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12);
4747 }
4748 ({true}?=>(otherlv_40='output'
4749 {
4750 newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_12_0());
4751 }
4752 otherlv_41='='
4753 {
4754 newLeafNode(otherlv_41, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_12_1());
4755 }
4756 (
4757 (
4758 {
4759 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_12_2_0());
4760 }
4761 lv_tagetFolder_42_0=ruleFile
4762 {
4763 if ($current==null) {
4764 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
4765 }
4766 set(
4767 $current,
4768 "tagetFolder",
4769 lv_tagetFolder_42_0,
4770 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
4771 afterParserOrEnumRuleCall();
4772 }
4773 )
4774 )
4775 ))
4776 {
4777 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4778 }
4779 )
4780 )
4781 )*
4782 )
4783 )
4784 {
4785 getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4786 }
4787 )
4788 otherlv_43='}'
4789 {
4790 newLeafNode(otherlv_43, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4());
4791 }
4792 )
4793;
4794
4795// Rule OptimizationDirection
4796ruleOptimizationDirection returns [Enumerator current=null]
4797@init {
4798 enterRule();
4799}
4800@after {
4801 leaveRule();
4802}:
4803 (
4804 (
4805 enumLiteral_0='minimize'
4806 {
4807 $current = grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
4808 newLeafNode(enumLiteral_0, grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0());
4809 }
4810 )
4811 |
4812 (
4813 enumLiteral_1='maximize'
4814 {
4815 $current = grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
4816 newLeafNode(enumLiteral_1, grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1());
4817 }
4818 )
4819 )
4820;
4821
4822// Rule ComparisonOperator
4823ruleComparisonOperator returns [Enumerator current=null]
4824@init {
4825 enterRule();
4826}
4827@after {
4828 leaveRule();
4829}:
4830 (
4831 (
4832 enumLiteral_0='<'
4833 {
4834 $current = grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
4835 newLeafNode(enumLiteral_0, grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_0());
4836 }
4837 )
4838 |
4839 (
4840 enumLiteral_1='>'
4841 {
4842 $current = grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_1().getEnumLiteral().getInstance();
4843 newLeafNode(enumLiteral_1, grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_1());
4844 }
4845 )
4846 |
4847 (
4848 enumLiteral_2='<='
4849 {
4850 $current = grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
4851 newLeafNode(enumLiteral_2, grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_2());
4852 }
4853 )
4854 |
4855 (
4856 enumLiteral_3='>='
4857 {
4858 $current = grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
4859 newLeafNode(enumLiteral_3, grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_3());
4860 }
4861 )
4862 )
4863;
4864
4865// Rule DocumentLevelSpecification
4866ruleDocumentLevelSpecification returns [Enumerator current=null]
4867@init {
4868 enterRule();
4869}
4870@after {
4871 leaveRule();
4872}:
4873 (
4874 (
4875 enumLiteral_0='none'
4876 {
4877 $current = grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
4878 newLeafNode(enumLiteral_0, grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0());
4879 }
4880 )
4881 |
4882 (
4883 enumLiteral_1='normal'
4884 {
4885 $current = grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
4886 newLeafNode(enumLiteral_1, grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1());
4887 }
4888 )
4889 |
4890 (
4891 enumLiteral_2='full'
4892 {
4893 $current = grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
4894 newLeafNode(enumLiteral_2, grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2());
4895 }
4896 )
4897 )
4898;
4899
4900// Rule Solver
4901ruleSolver returns [Enumerator current=null]
4902@init {
4903 enterRule();
4904}
4905@after {
4906 leaveRule();
4907}:
4908 (
4909 (
4910 enumLiteral_0='SMTSolver'
4911 {
4912 $current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
4913 newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0());
4914 }
4915 )
4916 |
4917 (
4918 enumLiteral_1='AlloySolver'
4919 {
4920 $current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
4921 newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1());
4922 }
4923 )
4924 |
4925 (
4926 enumLiteral_2='ViatraSolver'
4927 {
4928 $current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
4929 newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2());
4930 }
4931 )
4932 )
4933;
4934
4935RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
4936
4937RULE_INT : ('0'..'9')+;
4938
4939RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'|'\'' ('\\' .|~(('\\'|'\'')))* '\'');
4940
4941RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
4942
4943RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?;
4944
4945RULE_WS : (' '|'\t'|'\r'|'\n')+;
4946
4947RULE_ANY_OTHER : .;