aboutsummaryrefslogtreecommitdiffstats
path: root/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser
diff options
context:
space:
mode:
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser')
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationAntlrTokenFileProvider.java32
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationParser.java80
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g9250
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens214
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationLexer.java4947
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java25055
6 files changed, 21087 insertions, 18491 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationAntlrTokenFileProvider.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationAntlrTokenFileProvider.java
index 725ca8fb..fa0418a1 100644
--- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationAntlrTokenFileProvider.java
+++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationAntlrTokenFileProvider.java
@@ -1,16 +1,16 @@
1/* 1/*
2 * generated by Xtext 2.12.0 2 * generated by Xtext 2.21.0
3 */ 3 */
4package hu.bme.mit.inf.dslreasoner.application.parser.antlr; 4package hu.bme.mit.inf.dslreasoner.application.parser.antlr;
5 5
6import java.io.InputStream; 6import java.io.InputStream;
7import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; 7import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
8 8
9public class ApplicationConfigurationAntlrTokenFileProvider implements IAntlrTokenFileProvider { 9public class ApplicationConfigurationAntlrTokenFileProvider implements IAntlrTokenFileProvider {
10 10
11 @Override 11 @Override
12 public InputStream getAntlrTokenFile() { 12 public InputStream getAntlrTokenFile() {
13 ClassLoader classLoader = getClass().getClassLoader(); 13 ClassLoader classLoader = getClass().getClassLoader();
14 return classLoader.getResourceAsStream("hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens"); 14 return classLoader.getResourceAsStream("hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens");
15 } 15 }
16} 16}
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationParser.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationParser.java
index fa6ff883..e579d249 100644
--- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationParser.java
+++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/ApplicationConfigurationParser.java
@@ -1,40 +1,40 @@
1/* 1/*
2 * generated by Xtext 2.12.0 2 * generated by Xtext 2.21.0
3 */ 3 */
4package hu.bme.mit.inf.dslreasoner.application.parser.antlr; 4package hu.bme.mit.inf.dslreasoner.application.parser.antlr;
5 5
6import com.google.inject.Inject; 6import com.google.inject.Inject;
7import hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal.InternalApplicationConfigurationParser; 7import hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal.InternalApplicationConfigurationParser;
8import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; 8import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess;
9import org.eclipse.xtext.parser.antlr.AbstractAntlrParser; 9import org.eclipse.xtext.parser.antlr.AbstractAntlrParser;
10import org.eclipse.xtext.parser.antlr.XtextTokenStream; 10import org.eclipse.xtext.parser.antlr.XtextTokenStream;
11 11
12public class ApplicationConfigurationParser extends AbstractAntlrParser { 12public class ApplicationConfigurationParser extends AbstractAntlrParser {
13 13
14 @Inject 14 @Inject
15 private ApplicationConfigurationGrammarAccess grammarAccess; 15 private ApplicationConfigurationGrammarAccess grammarAccess;
16 16
17 @Override 17 @Override
18 protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { 18 protected void setInitialHiddenTokens(XtextTokenStream tokenStream) {
19 tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); 19 tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
20 } 20 }
21 21
22 22
23 @Override 23 @Override
24 protected InternalApplicationConfigurationParser createParser(XtextTokenStream stream) { 24 protected InternalApplicationConfigurationParser createParser(XtextTokenStream stream) {
25 return new InternalApplicationConfigurationParser(stream, getGrammarAccess()); 25 return new InternalApplicationConfigurationParser(stream, getGrammarAccess());
26 } 26 }
27 27
28 @Override 28 @Override
29 protected String getDefaultRuleName() { 29 protected String getDefaultRuleName() {
30 return "ConfigurationScript"; 30 return "ConfigurationScript";
31 } 31 }
32 32
33 public ApplicationConfigurationGrammarAccess getGrammarAccess() { 33 public ApplicationConfigurationGrammarAccess getGrammarAccess() {
34 return this.grammarAccess; 34 return this.grammarAccess;
35 } 35 }
36 36
37 public void setGrammarAccess(ApplicationConfigurationGrammarAccess grammarAccess) { 37 public void setGrammarAccess(ApplicationConfigurationGrammarAccess grammarAccess) {
38 this.grammarAccess = grammarAccess; 38 this.grammarAccess = grammarAccess;
39 } 39 }
40} 40}
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 : .;
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens
index 96730dbf..84404119 100644
--- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens
+++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens
@@ -1,101 +1,113 @@
1'#'=32 1'#'=34
2'*'=40 2'*'=42
3'+='=33 3'+='=35
4','=19 4','=19
5'-'=12 5'-'=12
6'.'=11 6'.'=11
7'..'=41 7'..'=43
8'::'=23 8'::'=23
9'<'=34 9'<'=36
10'='=17 10'<='=56
11'>'=35 11'='=17
12'AlloySolver'=56 12'>'=37
13'SMTSolver'=55 13'>='=57
14'ViatraSolver'=57 14'AlloySolver'=62
15'config'=28 15'SMTSolver'=61
16'constraints'=27 16'ViatraSolver'=63
17'debug'=48 17'config'=30
18'epackage'=14 18'constraints'=27
19'excluding'=22 19'cost'=28
20'file'=16 20'debug'=50
21'folder'=25 21'epackage'=14
22'full'=54 22'excluding'=22
23'generate'=43 23'file'=16
24'import'=13 24'folder'=25
25'int'=37 25'full'=60
26'log'=49 26'generate'=45
27'log-level'=29 27'import'=13
28'memory'=31 28'int'=39
29'metamodel'=24 29'log'=51
30'models'=26 30'log-level'=31
31'node'=36 31'maximize'=55
32'none'=52 32'memory'=33
33'normal'=53 33'metamodel'=24
34'number'=45 34'minimize'=54
35'output'=51 35'models'=26
36'package'=21 36'node'=38
37'partial-model'=44 37'none'=58
38'real'=38 38'normal'=59
39'runs'=46 39'number'=47
40'runtime'=30 40'objectives'=29
41'scope'=42 41'output'=53
42'solver'=47 42'package'=21
43'statistics'=50 43'partial-model'=46
44'string'=39 44'real'=40
45'viatra'=15 45'runs'=48
46'{'=18 46'runtime'=32
47'}'=20 47'scope'=44
48RULE_ANY_OTHER=10 48'solver'=49
49RULE_ID=4 49'statistics'=52
50RULE_INT=5 50'string'=41
51RULE_ML_COMMENT=7 51'viatra'=15
52RULE_SL_COMMENT=8 52'{'=18
53RULE_STRING=6 53'}'=20
54RULE_WS=9 54RULE_ANY_OTHER=10
55T__11=11 55RULE_ID=4
56T__12=12 56RULE_INT=5
57T__13=13 57RULE_ML_COMMENT=7
58T__14=14 58RULE_SL_COMMENT=8
59T__15=15 59RULE_STRING=6
60T__16=16 60RULE_WS=9
61T__17=17 61T__11=11
62T__18=18 62T__12=12
63T__19=19 63T__13=13
64T__20=20 64T__14=14
65T__21=21 65T__15=15
66T__22=22 66T__16=16
67T__23=23 67T__17=17
68T__24=24 68T__18=18
69T__25=25 69T__19=19
70T__26=26 70T__20=20
71T__27=27 71T__21=21
72T__28=28 72T__22=22
73T__29=29 73T__23=23
74T__30=30 74T__24=24
75T__31=31 75T__25=25
76T__32=32 76T__26=26
77T__33=33 77T__27=27
78T__34=34 78T__28=28
79T__35=35 79T__29=29
80T__36=36 80T__30=30
81T__37=37 81T__31=31
82T__38=38 82T__32=32
83T__39=39 83T__33=33
84T__40=40 84T__34=34
85T__41=41 85T__35=35
86T__42=42 86T__36=36
87T__43=43 87T__37=37
88T__44=44 88T__38=38
89T__45=45 89T__39=39
90T__46=46 90T__40=40
91T__47=47 91T__41=41
92T__48=48 92T__42=42
93T__49=49 93T__43=43
94T__50=50 94T__44=44
95T__51=51 95T__45=45
96T__52=52 96T__46=46
97T__53=53 97T__47=47
98T__54=54 98T__48=48
99T__55=55 99T__49=49
100T__56=56 100T__50=50
101T__57=57 101T__51=51
102T__52=52
103T__53=53
104T__54=54
105T__55=55
106T__56=56
107T__57=57
108T__58=58
109T__59=59
110T__60=60
111T__61=61
112T__62=62
113T__63=63
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationLexer.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationLexer.java
index 6e214569..da879d2a 100644
--- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationLexer.java
+++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationLexer.java
@@ -1,2372 +1,2577 @@
1package hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal; 1package hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal;
2 2
3// Hack: Use our own Lexer superclass by means of import. 3// Hack: Use our own Lexer superclass by means of import.
4// Currently there is no other way to specify the superclass for the lexer. 4// Currently there is no other way to specify the superclass for the lexer.
5import org.eclipse.xtext.parser.antlr.Lexer; 5import org.eclipse.xtext.parser.antlr.Lexer;
6 6
7 7
8import org.antlr.runtime.*; 8import org.antlr.runtime.*;
9import java.util.Stack; 9import java.util.Stack;
10import java.util.List; 10import java.util.List;
11import java.util.ArrayList; 11import java.util.ArrayList;
12 12
13@SuppressWarnings("all") 13@SuppressWarnings("all")
14public class InternalApplicationConfigurationLexer extends Lexer { 14public class InternalApplicationConfigurationLexer extends Lexer {
15 public static final int T__50=50; 15 public static final int T__50=50;
16 public static final int T__19=19; 16 public static final int T__19=19;
17 public static final int T__15=15; 17 public static final int T__15=15;
18 public static final int T__16=16; 18 public static final int T__59=59;
19 public static final int T__17=17; 19 public static final int T__16=16;
20 public static final int T__18=18; 20 public static final int T__17=17;
21 public static final int T__11=11; 21 public static final int T__18=18;
22 public static final int T__55=55; 22 public static final int T__11=11;
23 public static final int T__12=12; 23 public static final int T__55=55;
24 public static final int T__56=56; 24 public static final int T__12=12;
25 public static final int T__13=13; 25 public static final int T__56=56;
26 public static final int T__57=57; 26 public static final int T__13=13;
27 public static final int T__14=14; 27 public static final int T__57=57;
28 public static final int T__51=51; 28 public static final int T__14=14;
29 public static final int T__52=52; 29 public static final int T__58=58;
30 public static final int T__53=53; 30 public static final int T__51=51;
31 public static final int T__54=54; 31 public static final int T__52=52;
32 public static final int RULE_ID=4; 32 public static final int T__53=53;
33 public static final int T__26=26; 33 public static final int T__54=54;
34 public static final int T__27=27; 34 public static final int T__60=60;
35 public static final int T__28=28; 35 public static final int T__61=61;
36 public static final int RULE_INT=5; 36 public static final int RULE_ID=4;
37 public static final int T__29=29; 37 public static final int T__26=26;
38 public static final int T__22=22; 38 public static final int T__27=27;
39 public static final int RULE_ML_COMMENT=7; 39 public static final int T__28=28;
40 public static final int T__23=23; 40 public static final int RULE_INT=5;
41 public static final int T__24=24; 41 public static final int T__29=29;
42 public static final int T__25=25; 42 public static final int T__22=22;
43 public static final int T__20=20; 43 public static final int RULE_ML_COMMENT=7;
44 public static final int T__21=21; 44 public static final int T__23=23;
45 public static final int RULE_STRING=6; 45 public static final int T__24=24;
46 public static final int RULE_SL_COMMENT=8; 46 public static final int T__25=25;
47 public static final int T__37=37; 47 public static final int T__62=62;
48 public static final int T__38=38; 48 public static final int T__63=63;
49 public static final int T__39=39; 49 public static final int T__20=20;
50 public static final int T__33=33; 50 public static final int T__21=21;
51 public static final int T__34=34; 51 public static final int RULE_STRING=6;
52 public static final int T__35=35; 52 public static final int RULE_SL_COMMENT=8;
53 public static final int T__36=36; 53 public static final int T__37=37;
54 public static final int EOF=-1; 54 public static final int T__38=38;
55 public static final int T__30=30; 55 public static final int T__39=39;
56 public static final int T__31=31; 56 public static final int T__33=33;
57 public static final int T__32=32; 57 public static final int T__34=34;
58 public static final int RULE_WS=9; 58 public static final int T__35=35;
59 public static final int RULE_ANY_OTHER=10; 59 public static final int T__36=36;
60 public static final int T__48=48; 60 public static final int EOF=-1;
61 public static final int T__49=49; 61 public static final int T__30=30;
62 public static final int T__44=44; 62 public static final int T__31=31;
63 public static final int T__45=45; 63 public static final int T__32=32;
64 public static final int T__46=46; 64 public static final int RULE_WS=9;
65 public static final int T__47=47; 65 public static final int RULE_ANY_OTHER=10;
66 public static final int T__40=40; 66 public static final int T__48=48;
67 public static final int T__41=41; 67 public static final int T__49=49;
68 public static final int T__42=42; 68 public static final int T__44=44;
69 public static final int T__43=43; 69 public static final int T__45=45;
70 70 public static final int T__46=46;
71 // delegates 71 public static final int T__47=47;
72 // delegators 72 public static final int T__40=40;
73 73 public static final int T__41=41;
74 public InternalApplicationConfigurationLexer() {;} 74 public static final int T__42=42;
75 public InternalApplicationConfigurationLexer(CharStream input) { 75 public static final int T__43=43;
76 this(input, new RecognizerSharedState()); 76
77 } 77 // delegates
78 public InternalApplicationConfigurationLexer(CharStream input, RecognizerSharedState state) { 78 // delegators
79 super(input,state); 79
80 80 public InternalApplicationConfigurationLexer() {;}
81 } 81 public InternalApplicationConfigurationLexer(CharStream input) {
82 public String getGrammarFileName() { return "InternalApplicationConfiguration.g"; } 82 this(input, new RecognizerSharedState());
83 83 }
84 // $ANTLR start "T__11" 84 public InternalApplicationConfigurationLexer(CharStream input, RecognizerSharedState state) {
85 public final void mT__11() throws RecognitionException { 85 super(input,state);
86 try { 86
87 int _type = T__11; 87 }
88 int _channel = DEFAULT_TOKEN_CHANNEL; 88 public String getGrammarFileName() { return "InternalApplicationConfiguration.g"; }
89 // InternalApplicationConfiguration.g:11:7: ( '.' ) 89
90 // InternalApplicationConfiguration.g:11:9: '.' 90 // $ANTLR start "T__11"
91 { 91 public final void mT__11() throws RecognitionException {
92 match('.'); 92 try {
93 93 int _type = T__11;
94 } 94 int _channel = DEFAULT_TOKEN_CHANNEL;
95 95 // InternalApplicationConfiguration.g:11:7: ( '.' )
96 state.type = _type; 96 // InternalApplicationConfiguration.g:11:9: '.'
97 state.channel = _channel; 97 {
98 } 98 match('.');
99 finally { 99
100 } 100 }
101 } 101
102 // $ANTLR end "T__11" 102 state.type = _type;
103 103 state.channel = _channel;
104 // $ANTLR start "T__12" 104 }
105 public final void mT__12() throws RecognitionException { 105 finally {
106 try { 106 }
107 int _type = T__12; 107 }
108 int _channel = DEFAULT_TOKEN_CHANNEL; 108 // $ANTLR end "T__11"
109 // InternalApplicationConfiguration.g:12:7: ( '-' ) 109
110 // InternalApplicationConfiguration.g:12:9: '-' 110 // $ANTLR start "T__12"
111 { 111 public final void mT__12() throws RecognitionException {
112 match('-'); 112 try {
113 113 int _type = T__12;
114 } 114 int _channel = DEFAULT_TOKEN_CHANNEL;
115 115 // InternalApplicationConfiguration.g:12:7: ( '-' )
116 state.type = _type; 116 // InternalApplicationConfiguration.g:12:9: '-'
117 state.channel = _channel; 117 {
118 } 118 match('-');
119 finally { 119
120 } 120 }
121 } 121
122 // $ANTLR end "T__12" 122 state.type = _type;
123 123 state.channel = _channel;
124 // $ANTLR start "T__13" 124 }
125 public final void mT__13() throws RecognitionException { 125 finally {
126 try { 126 }
127 int _type = T__13; 127 }
128 int _channel = DEFAULT_TOKEN_CHANNEL; 128 // $ANTLR end "T__12"
129 // InternalApplicationConfiguration.g:13:7: ( 'import' ) 129
130 // InternalApplicationConfiguration.g:13:9: 'import' 130 // $ANTLR start "T__13"
131 { 131 public final void mT__13() throws RecognitionException {
132 match("import"); 132 try {
133 133 int _type = T__13;
134 134 int _channel = DEFAULT_TOKEN_CHANNEL;
135 } 135 // InternalApplicationConfiguration.g:13:7: ( 'import' )
136 136 // InternalApplicationConfiguration.g:13:9: 'import'
137 state.type = _type; 137 {
138 state.channel = _channel; 138 match("import");
139 } 139
140 finally { 140
141 } 141 }
142 } 142
143 // $ANTLR end "T__13" 143 state.type = _type;
144 144 state.channel = _channel;
145 // $ANTLR start "T__14" 145 }
146 public final void mT__14() throws RecognitionException { 146 finally {
147 try { 147 }
148 int _type = T__14; 148 }
149 int _channel = DEFAULT_TOKEN_CHANNEL; 149 // $ANTLR end "T__13"
150 // InternalApplicationConfiguration.g:14:7: ( 'epackage' ) 150
151 // InternalApplicationConfiguration.g:14:9: 'epackage' 151 // $ANTLR start "T__14"
152 { 152 public final void mT__14() throws RecognitionException {
153 match("epackage"); 153 try {
154 154 int _type = T__14;
155 155 int _channel = DEFAULT_TOKEN_CHANNEL;
156 } 156 // InternalApplicationConfiguration.g:14:7: ( 'epackage' )
157 157 // InternalApplicationConfiguration.g:14:9: 'epackage'
158 state.type = _type; 158 {
159 state.channel = _channel; 159 match("epackage");
160 } 160
161 finally { 161
162 } 162 }
163 } 163
164 // $ANTLR end "T__14" 164 state.type = _type;
165 165 state.channel = _channel;
166 // $ANTLR start "T__15" 166 }
167 public final void mT__15() throws RecognitionException { 167 finally {
168 try { 168 }
169 int _type = T__15; 169 }
170 int _channel = DEFAULT_TOKEN_CHANNEL; 170 // $ANTLR end "T__14"
171 // InternalApplicationConfiguration.g:15:7: ( 'viatra' ) 171
172 // InternalApplicationConfiguration.g:15:9: 'viatra' 172 // $ANTLR start "T__15"
173 { 173 public final void mT__15() throws RecognitionException {
174 match("viatra"); 174 try {
175 175 int _type = T__15;
176 176 int _channel = DEFAULT_TOKEN_CHANNEL;
177 } 177 // InternalApplicationConfiguration.g:15:7: ( 'viatra' )
178 178 // InternalApplicationConfiguration.g:15:9: 'viatra'
179 state.type = _type; 179 {
180 state.channel = _channel; 180 match("viatra");
181 } 181
182 finally { 182
183 } 183 }
184 } 184
185 // $ANTLR end "T__15" 185 state.type = _type;
186 186 state.channel = _channel;
187 // $ANTLR start "T__16" 187 }
188 public final void mT__16() throws RecognitionException { 188 finally {
189 try { 189 }
190 int _type = T__16; 190 }
191 int _channel = DEFAULT_TOKEN_CHANNEL; 191 // $ANTLR end "T__15"
192 // InternalApplicationConfiguration.g:16:7: ( 'file' ) 192
193 // InternalApplicationConfiguration.g:16:9: 'file' 193 // $ANTLR start "T__16"
194 { 194 public final void mT__16() throws RecognitionException {
195 match("file"); 195 try {
196 196 int _type = T__16;
197 197 int _channel = DEFAULT_TOKEN_CHANNEL;
198 } 198 // InternalApplicationConfiguration.g:16:7: ( 'file' )
199 199 // InternalApplicationConfiguration.g:16:9: 'file'
200 state.type = _type; 200 {
201 state.channel = _channel; 201 match("file");
202 } 202
203 finally { 203
204 } 204 }
205 } 205
206 // $ANTLR end "T__16" 206 state.type = _type;
207 207 state.channel = _channel;
208 // $ANTLR start "T__17" 208 }
209 public final void mT__17() throws RecognitionException { 209 finally {
210 try { 210 }
211 int _type = T__17; 211 }
212 int _channel = DEFAULT_TOKEN_CHANNEL; 212 // $ANTLR end "T__16"
213 // InternalApplicationConfiguration.g:17:7: ( '=' ) 213
214 // InternalApplicationConfiguration.g:17:9: '=' 214 // $ANTLR start "T__17"
215 { 215 public final void mT__17() throws RecognitionException {
216 match('='); 216 try {
217 217 int _type = T__17;
218 } 218 int _channel = DEFAULT_TOKEN_CHANNEL;
219 219 // InternalApplicationConfiguration.g:17:7: ( '=' )
220 state.type = _type; 220 // InternalApplicationConfiguration.g:17:9: '='
221 state.channel = _channel; 221 {
222 } 222 match('=');
223 finally { 223
224 } 224 }
225 } 225
226 // $ANTLR end "T__17" 226 state.type = _type;
227 227 state.channel = _channel;
228 // $ANTLR start "T__18" 228 }
229 public final void mT__18() throws RecognitionException { 229 finally {
230 try { 230 }
231 int _type = T__18; 231 }
232 int _channel = DEFAULT_TOKEN_CHANNEL; 232 // $ANTLR end "T__17"
233 // InternalApplicationConfiguration.g:18:7: ( '{' ) 233
234 // InternalApplicationConfiguration.g:18:9: '{' 234 // $ANTLR start "T__18"
235 { 235 public final void mT__18() throws RecognitionException {
236 match('{'); 236 try {
237 237 int _type = T__18;
238 } 238 int _channel = DEFAULT_TOKEN_CHANNEL;
239 239 // InternalApplicationConfiguration.g:18:7: ( '{' )
240 state.type = _type; 240 // InternalApplicationConfiguration.g:18:9: '{'
241 state.channel = _channel; 241 {
242 } 242 match('{');
243 finally { 243
244 } 244 }
245 } 245
246 // $ANTLR end "T__18" 246 state.type = _type;
247 247 state.channel = _channel;
248 // $ANTLR start "T__19" 248 }
249 public final void mT__19() throws RecognitionException { 249 finally {
250 try { 250 }
251 int _type = T__19; 251 }
252 int _channel = DEFAULT_TOKEN_CHANNEL; 252 // $ANTLR end "T__18"
253 // InternalApplicationConfiguration.g:19:7: ( ',' ) 253
254 // InternalApplicationConfiguration.g:19:9: ',' 254 // $ANTLR start "T__19"
255 { 255 public final void mT__19() throws RecognitionException {
256 match(','); 256 try {
257 257 int _type = T__19;
258 } 258 int _channel = DEFAULT_TOKEN_CHANNEL;
259 259 // InternalApplicationConfiguration.g:19:7: ( ',' )
260 state.type = _type; 260 // InternalApplicationConfiguration.g:19:9: ','
261 state.channel = _channel; 261 {
262 } 262 match(',');
263 finally { 263
264 } 264 }
265 } 265
266 // $ANTLR end "T__19" 266 state.type = _type;
267 267 state.channel = _channel;
268 // $ANTLR start "T__20" 268 }
269 public final void mT__20() throws RecognitionException { 269 finally {
270 try { 270 }
271 int _type = T__20; 271 }
272 int _channel = DEFAULT_TOKEN_CHANNEL; 272 // $ANTLR end "T__19"
273 // InternalApplicationConfiguration.g:20:7: ( '}' ) 273
274 // InternalApplicationConfiguration.g:20:9: '}' 274 // $ANTLR start "T__20"
275 { 275 public final void mT__20() throws RecognitionException {
276 match('}'); 276 try {
277 277 int _type = T__20;
278 } 278 int _channel = DEFAULT_TOKEN_CHANNEL;
279 279 // InternalApplicationConfiguration.g:20:7: ( '}' )
280 state.type = _type; 280 // InternalApplicationConfiguration.g:20:9: '}'
281 state.channel = _channel; 281 {
282 } 282 match('}');
283 finally { 283
284 } 284 }
285 } 285
286 // $ANTLR end "T__20" 286 state.type = _type;
287 287 state.channel = _channel;
288 // $ANTLR start "T__21" 288 }
289 public final void mT__21() throws RecognitionException { 289 finally {
290 try { 290 }
291 int _type = T__21; 291 }
292 int _channel = DEFAULT_TOKEN_CHANNEL; 292 // $ANTLR end "T__20"
293 // InternalApplicationConfiguration.g:21:7: ( 'package' ) 293
294 // InternalApplicationConfiguration.g:21:9: 'package' 294 // $ANTLR start "T__21"
295 { 295 public final void mT__21() throws RecognitionException {
296 match("package"); 296 try {
297 297 int _type = T__21;
298 298 int _channel = DEFAULT_TOKEN_CHANNEL;
299 } 299 // InternalApplicationConfiguration.g:21:7: ( 'package' )
300 300 // InternalApplicationConfiguration.g:21:9: 'package'
301 state.type = _type; 301 {
302 state.channel = _channel; 302 match("package");
303 } 303
304 finally { 304
305 } 305 }
306 } 306
307 // $ANTLR end "T__21" 307 state.type = _type;
308 308 state.channel = _channel;
309 // $ANTLR start "T__22" 309 }
310 public final void mT__22() throws RecognitionException { 310 finally {
311 try { 311 }
312 int _type = T__22; 312 }
313 int _channel = DEFAULT_TOKEN_CHANNEL; 313 // $ANTLR end "T__21"
314 // InternalApplicationConfiguration.g:22:7: ( 'excluding' ) 314
315 // InternalApplicationConfiguration.g:22:9: 'excluding' 315 // $ANTLR start "T__22"
316 { 316 public final void mT__22() throws RecognitionException {
317 match("excluding"); 317 try {
318 318 int _type = T__22;
319 319 int _channel = DEFAULT_TOKEN_CHANNEL;
320 } 320 // InternalApplicationConfiguration.g:22:7: ( 'excluding' )
321 321 // InternalApplicationConfiguration.g:22:9: 'excluding'
322 state.type = _type; 322 {
323 state.channel = _channel; 323 match("excluding");
324 } 324
325 finally { 325
326 } 326 }
327 } 327
328 // $ANTLR end "T__22" 328 state.type = _type;
329 329 state.channel = _channel;
330 // $ANTLR start "T__23" 330 }
331 public final void mT__23() throws RecognitionException { 331 finally {
332 try { 332 }
333 int _type = T__23; 333 }
334 int _channel = DEFAULT_TOKEN_CHANNEL; 334 // $ANTLR end "T__22"
335 // InternalApplicationConfiguration.g:23:7: ( '::' ) 335
336 // InternalApplicationConfiguration.g:23:9: '::' 336 // $ANTLR start "T__23"
337 { 337 public final void mT__23() throws RecognitionException {
338 match("::"); 338 try {
339 339 int _type = T__23;
340 340 int _channel = DEFAULT_TOKEN_CHANNEL;
341 } 341 // InternalApplicationConfiguration.g:23:7: ( '::' )
342 342 // InternalApplicationConfiguration.g:23:9: '::'
343 state.type = _type; 343 {
344 state.channel = _channel; 344 match("::");
345 } 345
346 finally { 346
347 } 347 }
348 } 348
349 // $ANTLR end "T__23" 349 state.type = _type;
350 350 state.channel = _channel;
351 // $ANTLR start "T__24" 351 }
352 public final void mT__24() throws RecognitionException { 352 finally {
353 try { 353 }
354 int _type = T__24; 354 }
355 int _channel = DEFAULT_TOKEN_CHANNEL; 355 // $ANTLR end "T__23"
356 // InternalApplicationConfiguration.g:24:7: ( 'metamodel' ) 356
357 // InternalApplicationConfiguration.g:24:9: 'metamodel' 357 // $ANTLR start "T__24"
358 { 358 public final void mT__24() throws RecognitionException {
359 match("metamodel"); 359 try {
360 360 int _type = T__24;
361 361 int _channel = DEFAULT_TOKEN_CHANNEL;
362 } 362 // InternalApplicationConfiguration.g:24:7: ( 'metamodel' )
363 363 // InternalApplicationConfiguration.g:24:9: 'metamodel'
364 state.type = _type; 364 {
365 state.channel = _channel; 365 match("metamodel");
366 } 366
367 finally { 367
368 } 368 }
369 } 369
370 // $ANTLR end "T__24" 370 state.type = _type;
371 371 state.channel = _channel;
372 // $ANTLR start "T__25" 372 }
373 public final void mT__25() throws RecognitionException { 373 finally {
374 try { 374 }
375 int _type = T__25; 375 }
376 int _channel = DEFAULT_TOKEN_CHANNEL; 376 // $ANTLR end "T__24"
377 // InternalApplicationConfiguration.g:25:7: ( 'folder' ) 377
378 // InternalApplicationConfiguration.g:25:9: 'folder' 378 // $ANTLR start "T__25"
379 { 379 public final void mT__25() throws RecognitionException {
380 match("folder"); 380 try {
381 381 int _type = T__25;
382 382 int _channel = DEFAULT_TOKEN_CHANNEL;
383 } 383 // InternalApplicationConfiguration.g:25:7: ( 'folder' )
384 384 // InternalApplicationConfiguration.g:25:9: 'folder'
385 state.type = _type; 385 {
386 state.channel = _channel; 386 match("folder");
387 } 387
388 finally { 388
389 } 389 }
390 } 390
391 // $ANTLR end "T__25" 391 state.type = _type;
392 392 state.channel = _channel;
393 // $ANTLR start "T__26" 393 }
394 public final void mT__26() throws RecognitionException { 394 finally {
395 try { 395 }
396 int _type = T__26; 396 }
397 int _channel = DEFAULT_TOKEN_CHANNEL; 397 // $ANTLR end "T__25"
398 // InternalApplicationConfiguration.g:26:7: ( 'models' ) 398
399 // InternalApplicationConfiguration.g:26:9: 'models' 399 // $ANTLR start "T__26"
400 { 400 public final void mT__26() throws RecognitionException {
401 match("models"); 401 try {
402 402 int _type = T__26;
403 403 int _channel = DEFAULT_TOKEN_CHANNEL;
404 } 404 // InternalApplicationConfiguration.g:26:7: ( 'models' )
405 405 // InternalApplicationConfiguration.g:26:9: 'models'
406 state.type = _type; 406 {
407 state.channel = _channel; 407 match("models");
408 } 408
409 finally { 409
410 } 410 }
411 } 411
412 // $ANTLR end "T__26" 412 state.type = _type;
413 413 state.channel = _channel;
414 // $ANTLR start "T__27" 414 }
415 public final void mT__27() throws RecognitionException { 415 finally {
416 try { 416 }
417 int _type = T__27; 417 }
418 int _channel = DEFAULT_TOKEN_CHANNEL; 418 // $ANTLR end "T__26"
419 // InternalApplicationConfiguration.g:27:7: ( 'constraints' ) 419
420 // InternalApplicationConfiguration.g:27:9: 'constraints' 420 // $ANTLR start "T__27"
421 { 421 public final void mT__27() throws RecognitionException {
422 match("constraints"); 422 try {
423 423 int _type = T__27;
424 424 int _channel = DEFAULT_TOKEN_CHANNEL;
425 } 425 // InternalApplicationConfiguration.g:27:7: ( 'constraints' )
426 426 // InternalApplicationConfiguration.g:27:9: 'constraints'
427 state.type = _type; 427 {
428 state.channel = _channel; 428 match("constraints");
429 } 429
430 finally { 430
431 } 431 }
432 } 432
433 // $ANTLR end "T__27" 433 state.type = _type;
434 434 state.channel = _channel;
435 // $ANTLR start "T__28" 435 }
436 public final void mT__28() throws RecognitionException { 436 finally {
437 try { 437 }
438 int _type = T__28; 438 }
439 int _channel = DEFAULT_TOKEN_CHANNEL; 439 // $ANTLR end "T__27"
440 // InternalApplicationConfiguration.g:28:7: ( 'config' ) 440
441 // InternalApplicationConfiguration.g:28:9: 'config' 441 // $ANTLR start "T__28"
442 { 442 public final void mT__28() throws RecognitionException {
443 match("config"); 443 try {
444 444 int _type = T__28;
445 445 int _channel = DEFAULT_TOKEN_CHANNEL;
446 } 446 // InternalApplicationConfiguration.g:28:7: ( 'cost' )
447 447 // InternalApplicationConfiguration.g:28:9: 'cost'
448 state.type = _type; 448 {
449 state.channel = _channel; 449 match("cost");
450 } 450
451 finally { 451
452 } 452 }
453 } 453
454 // $ANTLR end "T__28" 454 state.type = _type;
455 455 state.channel = _channel;
456 // $ANTLR start "T__29" 456 }
457 public final void mT__29() throws RecognitionException { 457 finally {
458 try { 458 }
459 int _type = T__29; 459 }
460 int _channel = DEFAULT_TOKEN_CHANNEL; 460 // $ANTLR end "T__28"
461 // InternalApplicationConfiguration.g:29:7: ( 'log-level' ) 461
462 // InternalApplicationConfiguration.g:29:9: 'log-level' 462 // $ANTLR start "T__29"
463 { 463 public final void mT__29() throws RecognitionException {
464 match("log-level"); 464 try {
465 465 int _type = T__29;
466 466 int _channel = DEFAULT_TOKEN_CHANNEL;
467 } 467 // InternalApplicationConfiguration.g:29:7: ( 'objectives' )
468 468 // InternalApplicationConfiguration.g:29:9: 'objectives'
469 state.type = _type; 469 {
470 state.channel = _channel; 470 match("objectives");
471 } 471
472 finally { 472
473 } 473 }
474 } 474
475 // $ANTLR end "T__29" 475 state.type = _type;
476 476 state.channel = _channel;
477 // $ANTLR start "T__30" 477 }
478 public final void mT__30() throws RecognitionException { 478 finally {
479 try { 479 }
480 int _type = T__30; 480 }
481 int _channel = DEFAULT_TOKEN_CHANNEL; 481 // $ANTLR end "T__29"
482 // InternalApplicationConfiguration.g:30:7: ( 'runtime' ) 482
483 // InternalApplicationConfiguration.g:30:9: 'runtime' 483 // $ANTLR start "T__30"
484 { 484 public final void mT__30() throws RecognitionException {
485 match("runtime"); 485 try {
486 486 int _type = T__30;
487 487 int _channel = DEFAULT_TOKEN_CHANNEL;
488 } 488 // InternalApplicationConfiguration.g:30:7: ( 'config' )
489 489 // InternalApplicationConfiguration.g:30:9: 'config'
490 state.type = _type; 490 {
491 state.channel = _channel; 491 match("config");
492 } 492
493 finally { 493
494 } 494 }
495 } 495
496 // $ANTLR end "T__30" 496 state.type = _type;
497 497 state.channel = _channel;
498 // $ANTLR start "T__31" 498 }
499 public final void mT__31() throws RecognitionException { 499 finally {
500 try { 500 }
501 int _type = T__31; 501 }
502 int _channel = DEFAULT_TOKEN_CHANNEL; 502 // $ANTLR end "T__30"
503 // InternalApplicationConfiguration.g:31:7: ( 'memory' ) 503
504 // InternalApplicationConfiguration.g:31:9: 'memory' 504 // $ANTLR start "T__31"
505 { 505 public final void mT__31() throws RecognitionException {
506 match("memory"); 506 try {
507 507 int _type = T__31;
508 508 int _channel = DEFAULT_TOKEN_CHANNEL;
509 } 509 // InternalApplicationConfiguration.g:31:7: ( 'log-level' )
510 510 // InternalApplicationConfiguration.g:31:9: 'log-level'
511 state.type = _type; 511 {
512 state.channel = _channel; 512 match("log-level");
513 } 513
514 finally { 514
515 } 515 }
516 } 516
517 // $ANTLR end "T__31" 517 state.type = _type;
518 518 state.channel = _channel;
519 // $ANTLR start "T__32" 519 }
520 public final void mT__32() throws RecognitionException { 520 finally {
521 try { 521 }
522 int _type = T__32; 522 }
523 int _channel = DEFAULT_TOKEN_CHANNEL; 523 // $ANTLR end "T__31"
524 // InternalApplicationConfiguration.g:32:7: ( '#' ) 524
525 // InternalApplicationConfiguration.g:32:9: '#' 525 // $ANTLR start "T__32"
526 { 526 public final void mT__32() throws RecognitionException {
527 match('#'); 527 try {
528 528 int _type = T__32;
529 } 529 int _channel = DEFAULT_TOKEN_CHANNEL;
530 530 // InternalApplicationConfiguration.g:32:7: ( 'runtime' )
531 state.type = _type; 531 // InternalApplicationConfiguration.g:32:9: 'runtime'
532 state.channel = _channel; 532 {
533 } 533 match("runtime");
534 finally { 534
535 } 535
536 } 536 }
537 // $ANTLR end "T__32" 537
538 538 state.type = _type;
539 // $ANTLR start "T__33" 539 state.channel = _channel;
540 public final void mT__33() throws RecognitionException { 540 }
541 try { 541 finally {
542 int _type = T__33; 542 }
543 int _channel = DEFAULT_TOKEN_CHANNEL; 543 }
544 // InternalApplicationConfiguration.g:33:7: ( '+=' ) 544 // $ANTLR end "T__32"
545 // InternalApplicationConfiguration.g:33:9: '+=' 545
546 { 546 // $ANTLR start "T__33"
547 match("+="); 547 public final void mT__33() throws RecognitionException {
548 548 try {
549 549 int _type = T__33;
550 } 550 int _channel = DEFAULT_TOKEN_CHANNEL;
551 551 // InternalApplicationConfiguration.g:33:7: ( 'memory' )
552 state.type = _type; 552 // InternalApplicationConfiguration.g:33:9: 'memory'
553 state.channel = _channel; 553 {
554 } 554 match("memory");
555 finally { 555
556 } 556
557 } 557 }
558 // $ANTLR end "T__33" 558
559 559 state.type = _type;
560 // $ANTLR start "T__34" 560 state.channel = _channel;
561 public final void mT__34() throws RecognitionException { 561 }
562 try { 562 finally {
563 int _type = T__34; 563 }
564 int _channel = DEFAULT_TOKEN_CHANNEL; 564 }
565 // InternalApplicationConfiguration.g:34:7: ( '<' ) 565 // $ANTLR end "T__33"
566 // InternalApplicationConfiguration.g:34:9: '<' 566
567 { 567 // $ANTLR start "T__34"
568 match('<'); 568 public final void mT__34() throws RecognitionException {
569 569 try {
570 } 570 int _type = T__34;
571 571 int _channel = DEFAULT_TOKEN_CHANNEL;
572 state.type = _type; 572 // InternalApplicationConfiguration.g:34:7: ( '#' )
573 state.channel = _channel; 573 // InternalApplicationConfiguration.g:34:9: '#'
574 } 574 {
575 finally { 575 match('#');
576 } 576
577 } 577 }
578 // $ANTLR end "T__34" 578
579 579 state.type = _type;
580 // $ANTLR start "T__35" 580 state.channel = _channel;
581 public final void mT__35() throws RecognitionException { 581 }
582 try { 582 finally {
583 int _type = T__35; 583 }
584 int _channel = DEFAULT_TOKEN_CHANNEL; 584 }
585 // InternalApplicationConfiguration.g:35:7: ( '>' ) 585 // $ANTLR end "T__34"
586 // InternalApplicationConfiguration.g:35:9: '>' 586
587 { 587 // $ANTLR start "T__35"
588 match('>'); 588 public final void mT__35() throws RecognitionException {
589 589 try {
590 } 590 int _type = T__35;
591 591 int _channel = DEFAULT_TOKEN_CHANNEL;
592 state.type = _type; 592 // InternalApplicationConfiguration.g:35:7: ( '+=' )
593 state.channel = _channel; 593 // InternalApplicationConfiguration.g:35:9: '+='
594 } 594 {
595 finally { 595 match("+=");
596 } 596
597 } 597
598 // $ANTLR end "T__35" 598 }
599 599
600 // $ANTLR start "T__36" 600 state.type = _type;
601 public final void mT__36() throws RecognitionException { 601 state.channel = _channel;
602 try { 602 }
603 int _type = T__36; 603 finally {
604 int _channel = DEFAULT_TOKEN_CHANNEL; 604 }
605 // InternalApplicationConfiguration.g:36:7: ( 'node' ) 605 }
606 // InternalApplicationConfiguration.g:36:9: 'node' 606 // $ANTLR end "T__35"
607 { 607
608 match("node"); 608 // $ANTLR start "T__36"
609 609 public final void mT__36() throws RecognitionException {
610 610 try {
611 } 611 int _type = T__36;
612 612 int _channel = DEFAULT_TOKEN_CHANNEL;
613 state.type = _type; 613 // InternalApplicationConfiguration.g:36:7: ( '<' )
614 state.channel = _channel; 614 // InternalApplicationConfiguration.g:36:9: '<'
615 } 615 {
616 finally { 616 match('<');
617 } 617
618 } 618 }
619 // $ANTLR end "T__36" 619
620 620 state.type = _type;
621 // $ANTLR start "T__37" 621 state.channel = _channel;
622 public final void mT__37() throws RecognitionException { 622 }
623 try { 623 finally {
624 int _type = T__37; 624 }
625 int _channel = DEFAULT_TOKEN_CHANNEL; 625 }
626 // InternalApplicationConfiguration.g:37:7: ( 'int' ) 626 // $ANTLR end "T__36"
627 // InternalApplicationConfiguration.g:37:9: 'int' 627
628 { 628 // $ANTLR start "T__37"
629 match("int"); 629 public final void mT__37() throws RecognitionException {
630 630 try {
631 631 int _type = T__37;
632 } 632 int _channel = DEFAULT_TOKEN_CHANNEL;
633 633 // InternalApplicationConfiguration.g:37:7: ( '>' )
634 state.type = _type; 634 // InternalApplicationConfiguration.g:37:9: '>'
635 state.channel = _channel; 635 {
636 } 636 match('>');
637 finally { 637
638 } 638 }
639 } 639
640 // $ANTLR end "T__37" 640 state.type = _type;
641 641 state.channel = _channel;
642 // $ANTLR start "T__38" 642 }
643 public final void mT__38() throws RecognitionException { 643 finally {
644 try { 644 }
645 int _type = T__38; 645 }
646 int _channel = DEFAULT_TOKEN_CHANNEL; 646 // $ANTLR end "T__37"
647 // InternalApplicationConfiguration.g:38:7: ( 'real' ) 647
648 // InternalApplicationConfiguration.g:38:9: 'real' 648 // $ANTLR start "T__38"
649 { 649 public final void mT__38() throws RecognitionException {
650 match("real"); 650 try {
651 651 int _type = T__38;
652 652 int _channel = DEFAULT_TOKEN_CHANNEL;
653 } 653 // InternalApplicationConfiguration.g:38:7: ( 'node' )
654 654 // InternalApplicationConfiguration.g:38:9: 'node'
655 state.type = _type; 655 {
656 state.channel = _channel; 656 match("node");
657 } 657
658 finally { 658
659 } 659 }
660 } 660
661 // $ANTLR end "T__38" 661 state.type = _type;
662 662 state.channel = _channel;
663 // $ANTLR start "T__39" 663 }
664 public final void mT__39() throws RecognitionException { 664 finally {
665 try { 665 }
666 int _type = T__39; 666 }
667 int _channel = DEFAULT_TOKEN_CHANNEL; 667 // $ANTLR end "T__38"
668 // InternalApplicationConfiguration.g:39:7: ( 'string' ) 668
669 // InternalApplicationConfiguration.g:39:9: 'string' 669 // $ANTLR start "T__39"
670 { 670 public final void mT__39() throws RecognitionException {
671 match("string"); 671 try {
672 672 int _type = T__39;
673 673 int _channel = DEFAULT_TOKEN_CHANNEL;
674 } 674 // InternalApplicationConfiguration.g:39:7: ( 'int' )
675 675 // InternalApplicationConfiguration.g:39:9: 'int'
676 state.type = _type; 676 {
677 state.channel = _channel; 677 match("int");
678 } 678
679 finally { 679
680 } 680 }
681 } 681
682 // $ANTLR end "T__39" 682 state.type = _type;
683 683 state.channel = _channel;
684 // $ANTLR start "T__40" 684 }
685 public final void mT__40() throws RecognitionException { 685 finally {
686 try { 686 }
687 int _type = T__40; 687 }
688 int _channel = DEFAULT_TOKEN_CHANNEL; 688 // $ANTLR end "T__39"
689 // InternalApplicationConfiguration.g:40:7: ( '*' ) 689
690 // InternalApplicationConfiguration.g:40:9: '*' 690 // $ANTLR start "T__40"
691 { 691 public final void mT__40() throws RecognitionException {
692 match('*'); 692 try {
693 693 int _type = T__40;
694 } 694 int _channel = DEFAULT_TOKEN_CHANNEL;
695 695 // InternalApplicationConfiguration.g:40:7: ( 'real' )
696 state.type = _type; 696 // InternalApplicationConfiguration.g:40:9: 'real'
697 state.channel = _channel; 697 {
698 } 698 match("real");
699 finally { 699
700 } 700
701 } 701 }
702 // $ANTLR end "T__40" 702
703 703 state.type = _type;
704 // $ANTLR start "T__41" 704 state.channel = _channel;
705 public final void mT__41() throws RecognitionException { 705 }
706 try { 706 finally {
707 int _type = T__41; 707 }
708 int _channel = DEFAULT_TOKEN_CHANNEL; 708 }
709 // InternalApplicationConfiguration.g:41:7: ( '..' ) 709 // $ANTLR end "T__40"
710 // InternalApplicationConfiguration.g:41:9: '..' 710
711 { 711 // $ANTLR start "T__41"
712 match(".."); 712 public final void mT__41() throws RecognitionException {
713 713 try {
714 714 int _type = T__41;
715 } 715 int _channel = DEFAULT_TOKEN_CHANNEL;
716 716 // InternalApplicationConfiguration.g:41:7: ( 'string' )
717 state.type = _type; 717 // InternalApplicationConfiguration.g:41:9: 'string'
718 state.channel = _channel; 718 {
719 } 719 match("string");
720 finally { 720
721 } 721
722 } 722 }
723 // $ANTLR end "T__41" 723
724 724 state.type = _type;
725 // $ANTLR start "T__42" 725 state.channel = _channel;
726 public final void mT__42() throws RecognitionException { 726 }
727 try { 727 finally {
728 int _type = T__42; 728 }
729 int _channel = DEFAULT_TOKEN_CHANNEL; 729 }
730 // InternalApplicationConfiguration.g:42:7: ( 'scope' ) 730 // $ANTLR end "T__41"
731 // InternalApplicationConfiguration.g:42:9: 'scope' 731
732 { 732 // $ANTLR start "T__42"
733 match("scope"); 733 public final void mT__42() throws RecognitionException {
734 734 try {
735 735 int _type = T__42;
736 } 736 int _channel = DEFAULT_TOKEN_CHANNEL;
737 737 // InternalApplicationConfiguration.g:42:7: ( '*' )
738 state.type = _type; 738 // InternalApplicationConfiguration.g:42:9: '*'
739 state.channel = _channel; 739 {
740 } 740 match('*');
741 finally { 741
742 } 742 }
743 } 743
744 // $ANTLR end "T__42" 744 state.type = _type;
745 745 state.channel = _channel;
746 // $ANTLR start "T__43" 746 }
747 public final void mT__43() throws RecognitionException { 747 finally {
748 try { 748 }
749 int _type = T__43; 749 }
750 int _channel = DEFAULT_TOKEN_CHANNEL; 750 // $ANTLR end "T__42"
751 // InternalApplicationConfiguration.g:43:7: ( 'generate' ) 751
752 // InternalApplicationConfiguration.g:43:9: 'generate' 752 // $ANTLR start "T__43"
753 { 753 public final void mT__43() throws RecognitionException {
754 match("generate"); 754 try {
755 755 int _type = T__43;
756 756 int _channel = DEFAULT_TOKEN_CHANNEL;
757 } 757 // InternalApplicationConfiguration.g:43:7: ( '..' )
758 758 // InternalApplicationConfiguration.g:43:9: '..'
759 state.type = _type; 759 {
760 state.channel = _channel; 760 match("..");
761 } 761
762 finally { 762
763 } 763 }
764 } 764
765 // $ANTLR end "T__43" 765 state.type = _type;
766 766 state.channel = _channel;
767 // $ANTLR start "T__44" 767 }
768 public final void mT__44() throws RecognitionException { 768 finally {
769 try { 769 }
770 int _type = T__44; 770 }
771 int _channel = DEFAULT_TOKEN_CHANNEL; 771 // $ANTLR end "T__43"
772 // InternalApplicationConfiguration.g:44:7: ( 'partial-model' ) 772
773 // InternalApplicationConfiguration.g:44:9: 'partial-model' 773 // $ANTLR start "T__44"
774 { 774 public final void mT__44() throws RecognitionException {
775 match("partial-model"); 775 try {
776 776 int _type = T__44;
777 777 int _channel = DEFAULT_TOKEN_CHANNEL;
778 } 778 // InternalApplicationConfiguration.g:44:7: ( 'scope' )
779 779 // InternalApplicationConfiguration.g:44:9: 'scope'
780 state.type = _type; 780 {
781 state.channel = _channel; 781 match("scope");
782 } 782
783 finally { 783
784 } 784 }
785 } 785
786 // $ANTLR end "T__44" 786 state.type = _type;
787 787 state.channel = _channel;
788 // $ANTLR start "T__45" 788 }
789 public final void mT__45() throws RecognitionException { 789 finally {
790 try { 790 }
791 int _type = T__45; 791 }
792 int _channel = DEFAULT_TOKEN_CHANNEL; 792 // $ANTLR end "T__44"
793 // InternalApplicationConfiguration.g:45:7: ( 'number' ) 793
794 // InternalApplicationConfiguration.g:45:9: 'number' 794 // $ANTLR start "T__45"
795 { 795 public final void mT__45() throws RecognitionException {
796 match("number"); 796 try {
797 797 int _type = T__45;
798 798 int _channel = DEFAULT_TOKEN_CHANNEL;
799 } 799 // InternalApplicationConfiguration.g:45:7: ( 'generate' )
800 800 // InternalApplicationConfiguration.g:45:9: 'generate'
801 state.type = _type; 801 {
802 state.channel = _channel; 802 match("generate");
803 } 803
804 finally { 804
805 } 805 }
806 } 806
807 // $ANTLR end "T__45" 807 state.type = _type;
808 808 state.channel = _channel;
809 // $ANTLR start "T__46" 809 }
810 public final void mT__46() throws RecognitionException { 810 finally {
811 try { 811 }
812 int _type = T__46; 812 }
813 int _channel = DEFAULT_TOKEN_CHANNEL; 813 // $ANTLR end "T__45"
814 // InternalApplicationConfiguration.g:46:7: ( 'runs' ) 814
815 // InternalApplicationConfiguration.g:46:9: 'runs' 815 // $ANTLR start "T__46"
816 { 816 public final void mT__46() throws RecognitionException {
817 match("runs"); 817 try {
818 818 int _type = T__46;
819 819 int _channel = DEFAULT_TOKEN_CHANNEL;
820 } 820 // InternalApplicationConfiguration.g:46:7: ( 'partial-model' )
821 821 // InternalApplicationConfiguration.g:46:9: 'partial-model'
822 state.type = _type; 822 {
823 state.channel = _channel; 823 match("partial-model");
824 } 824
825 finally { 825
826 } 826 }
827 } 827
828 // $ANTLR end "T__46" 828 state.type = _type;
829 829 state.channel = _channel;
830 // $ANTLR start "T__47" 830 }
831 public final void mT__47() throws RecognitionException { 831 finally {
832 try { 832 }
833 int _type = T__47; 833 }
834 int _channel = DEFAULT_TOKEN_CHANNEL; 834 // $ANTLR end "T__46"
835 // InternalApplicationConfiguration.g:47:7: ( 'solver' ) 835
836 // InternalApplicationConfiguration.g:47:9: 'solver' 836 // $ANTLR start "T__47"
837 { 837 public final void mT__47() throws RecognitionException {
838 match("solver"); 838 try {
839 839 int _type = T__47;
840 840 int _channel = DEFAULT_TOKEN_CHANNEL;
841 } 841 // InternalApplicationConfiguration.g:47:7: ( 'number' )
842 842 // InternalApplicationConfiguration.g:47:9: 'number'
843 state.type = _type; 843 {
844 state.channel = _channel; 844 match("number");
845 } 845
846 finally { 846
847 } 847 }
848 } 848
849 // $ANTLR end "T__47" 849 state.type = _type;
850 850 state.channel = _channel;
851 // $ANTLR start "T__48" 851 }
852 public final void mT__48() throws RecognitionException { 852 finally {
853 try { 853 }
854 int _type = T__48; 854 }
855 int _channel = DEFAULT_TOKEN_CHANNEL; 855 // $ANTLR end "T__47"
856 // InternalApplicationConfiguration.g:48:7: ( 'debug' ) 856
857 // InternalApplicationConfiguration.g:48:9: 'debug' 857 // $ANTLR start "T__48"
858 { 858 public final void mT__48() throws RecognitionException {
859 match("debug"); 859 try {
860 860 int _type = T__48;
861 861 int _channel = DEFAULT_TOKEN_CHANNEL;
862 } 862 // InternalApplicationConfiguration.g:48:7: ( 'runs' )
863 863 // InternalApplicationConfiguration.g:48:9: 'runs'
864 state.type = _type; 864 {
865 state.channel = _channel; 865 match("runs");
866 } 866
867 finally { 867
868 } 868 }
869 } 869
870 // $ANTLR end "T__48" 870 state.type = _type;
871 871 state.channel = _channel;
872 // $ANTLR start "T__49" 872 }
873 public final void mT__49() throws RecognitionException { 873 finally {
874 try { 874 }
875 int _type = T__49; 875 }
876 int _channel = DEFAULT_TOKEN_CHANNEL; 876 // $ANTLR end "T__48"
877 // InternalApplicationConfiguration.g:49:7: ( 'log' ) 877
878 // InternalApplicationConfiguration.g:49:9: 'log' 878 // $ANTLR start "T__49"
879 { 879 public final void mT__49() throws RecognitionException {
880 match("log"); 880 try {
881 881 int _type = T__49;
882 882 int _channel = DEFAULT_TOKEN_CHANNEL;
883 } 883 // InternalApplicationConfiguration.g:49:7: ( 'solver' )
884 884 // InternalApplicationConfiguration.g:49:9: 'solver'
885 state.type = _type; 885 {
886 state.channel = _channel; 886 match("solver");
887 } 887
888 finally { 888
889 } 889 }
890 } 890
891 // $ANTLR end "T__49" 891 state.type = _type;
892 892 state.channel = _channel;
893 // $ANTLR start "T__50" 893 }
894 public final void mT__50() throws RecognitionException { 894 finally {
895 try { 895 }
896 int _type = T__50; 896 }
897 int _channel = DEFAULT_TOKEN_CHANNEL; 897 // $ANTLR end "T__49"
898 // InternalApplicationConfiguration.g:50:7: ( 'statistics' ) 898
899 // InternalApplicationConfiguration.g:50:9: 'statistics' 899 // $ANTLR start "T__50"
900 { 900 public final void mT__50() throws RecognitionException {
901 match("statistics"); 901 try {
902 902 int _type = T__50;
903 903 int _channel = DEFAULT_TOKEN_CHANNEL;
904 } 904 // InternalApplicationConfiguration.g:50:7: ( 'debug' )
905 905 // InternalApplicationConfiguration.g:50:9: 'debug'
906 state.type = _type; 906 {
907 state.channel = _channel; 907 match("debug");
908 } 908
909 finally { 909
910 } 910 }
911 } 911
912 // $ANTLR end "T__50" 912 state.type = _type;
913 913 state.channel = _channel;
914 // $ANTLR start "T__51" 914 }
915 public final void mT__51() throws RecognitionException { 915 finally {
916 try { 916 }
917 int _type = T__51; 917 }
918 int _channel = DEFAULT_TOKEN_CHANNEL; 918 // $ANTLR end "T__50"
919 // InternalApplicationConfiguration.g:51:7: ( 'output' ) 919
920 // InternalApplicationConfiguration.g:51:9: 'output' 920 // $ANTLR start "T__51"
921 { 921 public final void mT__51() throws RecognitionException {
922 match("output"); 922 try {
923 923 int _type = T__51;
924 924 int _channel = DEFAULT_TOKEN_CHANNEL;
925 } 925 // InternalApplicationConfiguration.g:51:7: ( 'log' )
926 926 // InternalApplicationConfiguration.g:51:9: 'log'
927 state.type = _type; 927 {
928 state.channel = _channel; 928 match("log");
929 } 929
930 finally { 930
931 } 931 }
932 } 932
933 // $ANTLR end "T__51" 933 state.type = _type;
934 934 state.channel = _channel;
935 // $ANTLR start "T__52" 935 }
936 public final void mT__52() throws RecognitionException { 936 finally {
937 try { 937 }
938 int _type = T__52; 938 }
939 int _channel = DEFAULT_TOKEN_CHANNEL; 939 // $ANTLR end "T__51"
940 // InternalApplicationConfiguration.g:52:7: ( 'none' ) 940
941 // InternalApplicationConfiguration.g:52:9: 'none' 941 // $ANTLR start "T__52"
942 { 942 public final void mT__52() throws RecognitionException {
943 match("none"); 943 try {
944 944 int _type = T__52;
945 945 int _channel = DEFAULT_TOKEN_CHANNEL;
946 } 946 // InternalApplicationConfiguration.g:52:7: ( 'statistics' )
947 947 // InternalApplicationConfiguration.g:52:9: 'statistics'
948 state.type = _type; 948 {
949 state.channel = _channel; 949 match("statistics");
950 } 950
951 finally { 951
952 } 952 }
953 } 953
954 // $ANTLR end "T__52" 954 state.type = _type;
955 955 state.channel = _channel;
956 // $ANTLR start "T__53" 956 }
957 public final void mT__53() throws RecognitionException { 957 finally {
958 try { 958 }
959 int _type = T__53; 959 }
960 int _channel = DEFAULT_TOKEN_CHANNEL; 960 // $ANTLR end "T__52"
961 // InternalApplicationConfiguration.g:53:7: ( 'normal' ) 961
962 // InternalApplicationConfiguration.g:53:9: 'normal' 962 // $ANTLR start "T__53"
963 { 963 public final void mT__53() throws RecognitionException {
964 match("normal"); 964 try {
965 965 int _type = T__53;
966 966 int _channel = DEFAULT_TOKEN_CHANNEL;
967 } 967 // InternalApplicationConfiguration.g:53:7: ( 'output' )
968 968 // InternalApplicationConfiguration.g:53:9: 'output'
969 state.type = _type; 969 {
970 state.channel = _channel; 970 match("output");
971 } 971
972 finally { 972
973 } 973 }
974 } 974
975 // $ANTLR end "T__53" 975 state.type = _type;
976 976 state.channel = _channel;
977 // $ANTLR start "T__54" 977 }
978 public final void mT__54() throws RecognitionException { 978 finally {
979 try { 979 }
980 int _type = T__54; 980 }
981 int _channel = DEFAULT_TOKEN_CHANNEL; 981 // $ANTLR end "T__53"
982 // InternalApplicationConfiguration.g:54:7: ( 'full' ) 982
983 // InternalApplicationConfiguration.g:54:9: 'full' 983 // $ANTLR start "T__54"
984 { 984 public final void mT__54() throws RecognitionException {
985 match("full"); 985 try {
986 986 int _type = T__54;
987 987 int _channel = DEFAULT_TOKEN_CHANNEL;
988 } 988 // InternalApplicationConfiguration.g:54:7: ( 'minimize' )
989 989 // InternalApplicationConfiguration.g:54:9: 'minimize'
990 state.type = _type; 990 {
991 state.channel = _channel; 991 match("minimize");
992 } 992
993 finally { 993
994 } 994 }
995 } 995
996 // $ANTLR end "T__54" 996 state.type = _type;
997 997 state.channel = _channel;
998 // $ANTLR start "T__55" 998 }
999 public final void mT__55() throws RecognitionException { 999 finally {
1000 try { 1000 }
1001 int _type = T__55; 1001 }
1002 int _channel = DEFAULT_TOKEN_CHANNEL; 1002 // $ANTLR end "T__54"
1003 // InternalApplicationConfiguration.g:55:7: ( 'SMTSolver' ) 1003
1004 // InternalApplicationConfiguration.g:55:9: 'SMTSolver' 1004 // $ANTLR start "T__55"
1005 { 1005 public final void mT__55() throws RecognitionException {
1006 match("SMTSolver"); 1006 try {
1007 1007 int _type = T__55;
1008 1008 int _channel = DEFAULT_TOKEN_CHANNEL;
1009 } 1009 // InternalApplicationConfiguration.g:55:7: ( 'maximize' )
1010 1010 // InternalApplicationConfiguration.g:55:9: 'maximize'
1011 state.type = _type; 1011 {
1012 state.channel = _channel; 1012 match("maximize");
1013 } 1013
1014 finally { 1014
1015 } 1015 }
1016 } 1016
1017 // $ANTLR end "T__55" 1017 state.type = _type;
1018 1018 state.channel = _channel;
1019 // $ANTLR start "T__56" 1019 }
1020 public final void mT__56() throws RecognitionException { 1020 finally {
1021 try { 1021 }
1022 int _type = T__56; 1022 }
1023 int _channel = DEFAULT_TOKEN_CHANNEL; 1023 // $ANTLR end "T__55"
1024 // InternalApplicationConfiguration.g:56:7: ( 'AlloySolver' ) 1024
1025 // InternalApplicationConfiguration.g:56:9: 'AlloySolver' 1025 // $ANTLR start "T__56"
1026 { 1026 public final void mT__56() throws RecognitionException {
1027 match("AlloySolver"); 1027 try {
1028 1028 int _type = T__56;
1029 1029 int _channel = DEFAULT_TOKEN_CHANNEL;
1030 } 1030 // InternalApplicationConfiguration.g:56:7: ( '<=' )
1031 1031 // InternalApplicationConfiguration.g:56:9: '<='
1032 state.type = _type; 1032 {
1033 state.channel = _channel; 1033 match("<=");
1034 } 1034
1035 finally { 1035
1036 } 1036 }
1037 } 1037
1038 // $ANTLR end "T__56" 1038 state.type = _type;
1039 1039 state.channel = _channel;
1040 // $ANTLR start "T__57" 1040 }
1041 public final void mT__57() throws RecognitionException { 1041 finally {
1042 try { 1042 }
1043 int _type = T__57; 1043 }
1044 int _channel = DEFAULT_TOKEN_CHANNEL; 1044 // $ANTLR end "T__56"
1045 // InternalApplicationConfiguration.g:57:7: ( 'ViatraSolver' ) 1045
1046 // InternalApplicationConfiguration.g:57:9: 'ViatraSolver' 1046 // $ANTLR start "T__57"
1047 { 1047 public final void mT__57() throws RecognitionException {
1048 match("ViatraSolver"); 1048 try {
1049 1049 int _type = T__57;
1050 1050 int _channel = DEFAULT_TOKEN_CHANNEL;
1051 } 1051 // InternalApplicationConfiguration.g:57:7: ( '>=' )
1052 1052 // InternalApplicationConfiguration.g:57:9: '>='
1053 state.type = _type; 1053 {
1054 state.channel = _channel; 1054 match(">=");
1055 } 1055
1056 finally { 1056
1057 } 1057 }
1058 } 1058
1059 // $ANTLR end "T__57" 1059 state.type = _type;
1060 1060 state.channel = _channel;
1061 // $ANTLR start "RULE_ID" 1061 }
1062 public final void mRULE_ID() throws RecognitionException { 1062 finally {
1063 try { 1063 }
1064 int _type = RULE_ID; 1064 }
1065 int _channel = DEFAULT_TOKEN_CHANNEL; 1065 // $ANTLR end "T__57"
1066 // InternalApplicationConfiguration.g:4291:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) 1066
1067 // InternalApplicationConfiguration.g:4291:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* 1067 // $ANTLR start "T__58"
1068 { 1068 public final void mT__58() throws RecognitionException {
1069 // InternalApplicationConfiguration.g:4291:11: ( '^' )? 1069 try {
1070 int alt1=2; 1070 int _type = T__58;
1071 int LA1_0 = input.LA(1); 1071 int _channel = DEFAULT_TOKEN_CHANNEL;
1072 1072 // InternalApplicationConfiguration.g:58:7: ( 'none' )
1073 if ( (LA1_0=='^') ) { 1073 // InternalApplicationConfiguration.g:58:9: 'none'
1074 alt1=1; 1074 {
1075 } 1075 match("none");
1076 switch (alt1) { 1076
1077 case 1 : 1077
1078 // InternalApplicationConfiguration.g:4291:11: '^' 1078 }
1079 { 1079
1080 match('^'); 1080 state.type = _type;
1081 1081 state.channel = _channel;
1082 } 1082 }
1083 break; 1083 finally {
1084 1084 }
1085 } 1085 }
1086 1086 // $ANTLR end "T__58"
1087 if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { 1087
1088 input.consume(); 1088 // $ANTLR start "T__59"
1089 1089 public final void mT__59() throws RecognitionException {
1090 } 1090 try {
1091 else { 1091 int _type = T__59;
1092 MismatchedSetException mse = new MismatchedSetException(null,input); 1092 int _channel = DEFAULT_TOKEN_CHANNEL;
1093 recover(mse); 1093 // InternalApplicationConfiguration.g:59:7: ( 'normal' )
1094 throw mse;} 1094 // InternalApplicationConfiguration.g:59:9: 'normal'
1095 1095 {
1096 // InternalApplicationConfiguration.g:4291:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* 1096 match("normal");
1097 loop2: 1097
1098 do { 1098
1099 int alt2=2; 1099 }
1100 int LA2_0 = input.LA(1); 1100
1101 1101 state.type = _type;
1102 if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) { 1102 state.channel = _channel;
1103 alt2=1; 1103 }
1104 } 1104 finally {
1105 1105 }
1106 1106 }
1107 switch (alt2) { 1107 // $ANTLR end "T__59"
1108 case 1 : 1108
1109 // InternalApplicationConfiguration.g: 1109 // $ANTLR start "T__60"
1110 { 1110 public final void mT__60() throws RecognitionException {
1111 if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { 1111 try {
1112 input.consume(); 1112 int _type = T__60;
1113 1113 int _channel = DEFAULT_TOKEN_CHANNEL;
1114 } 1114 // InternalApplicationConfiguration.g:60:7: ( 'full' )
1115 else { 1115 // InternalApplicationConfiguration.g:60:9: 'full'
1116 MismatchedSetException mse = new MismatchedSetException(null,input); 1116 {
1117 recover(mse); 1117 match("full");
1118 throw mse;} 1118
1119 1119
1120 1120 }
1121 } 1121
1122 break; 1122 state.type = _type;
1123 1123 state.channel = _channel;
1124 default : 1124 }
1125 break loop2; 1125 finally {
1126 } 1126 }
1127 } while (true); 1127 }
1128 1128 // $ANTLR end "T__60"
1129 1129
1130 } 1130 // $ANTLR start "T__61"
1131 1131 public final void mT__61() throws RecognitionException {
1132 state.type = _type; 1132 try {
1133 state.channel = _channel; 1133 int _type = T__61;
1134 } 1134 int _channel = DEFAULT_TOKEN_CHANNEL;
1135 finally { 1135 // InternalApplicationConfiguration.g:61:7: ( 'SMTSolver' )
1136 } 1136 // InternalApplicationConfiguration.g:61:9: 'SMTSolver'
1137 } 1137 {
1138 // $ANTLR end "RULE_ID" 1138 match("SMTSolver");
1139 1139
1140 // $ANTLR start "RULE_INT" 1140
1141 public final void mRULE_INT() throws RecognitionException { 1141 }
1142 try { 1142
1143 int _type = RULE_INT; 1143 state.type = _type;
1144 int _channel = DEFAULT_TOKEN_CHANNEL; 1144 state.channel = _channel;
1145 // InternalApplicationConfiguration.g:4293:10: ( ( '0' .. '9' )+ ) 1145 }
1146 // InternalApplicationConfiguration.g:4293:12: ( '0' .. '9' )+ 1146 finally {
1147 { 1147 }
1148 // InternalApplicationConfiguration.g:4293:12: ( '0' .. '9' )+ 1148 }
1149 int cnt3=0; 1149 // $ANTLR end "T__61"
1150 loop3: 1150
1151 do { 1151 // $ANTLR start "T__62"
1152 int alt3=2; 1152 public final void mT__62() throws RecognitionException {
1153 int LA3_0 = input.LA(1); 1153 try {
1154 1154 int _type = T__62;
1155 if ( ((LA3_0>='0' && LA3_0<='9')) ) { 1155 int _channel = DEFAULT_TOKEN_CHANNEL;
1156 alt3=1; 1156 // InternalApplicationConfiguration.g:62:7: ( 'AlloySolver' )
1157 } 1157 // InternalApplicationConfiguration.g:62:9: 'AlloySolver'
1158 1158 {
1159 1159 match("AlloySolver");
1160 switch (alt3) { 1160
1161 case 1 : 1161
1162 // InternalApplicationConfiguration.g:4293:13: '0' .. '9' 1162 }
1163 { 1163
1164 matchRange('0','9'); 1164 state.type = _type;
1165 1165 state.channel = _channel;
1166 } 1166 }
1167 break; 1167 finally {
1168 1168 }
1169 default : 1169 }
1170 if ( cnt3 >= 1 ) break loop3; 1170 // $ANTLR end "T__62"
1171 EarlyExitException eee = 1171
1172 new EarlyExitException(3, input); 1172 // $ANTLR start "T__63"
1173 throw eee; 1173 public final void mT__63() throws RecognitionException {
1174 } 1174 try {
1175 cnt3++; 1175 int _type = T__63;
1176 } while (true); 1176 int _channel = DEFAULT_TOKEN_CHANNEL;
1177 1177 // InternalApplicationConfiguration.g:63:7: ( 'ViatraSolver' )
1178 1178 // InternalApplicationConfiguration.g:63:9: 'ViatraSolver'
1179 } 1179 {
1180 1180 match("ViatraSolver");
1181 state.type = _type; 1181
1182 state.channel = _channel; 1182
1183 } 1183 }
1184 finally { 1184
1185 } 1185 state.type = _type;
1186 } 1186 state.channel = _channel;
1187 // $ANTLR end "RULE_INT" 1187 }
1188 1188 finally {
1189 // $ANTLR start "RULE_STRING" 1189 }
1190 public final void mRULE_STRING() throws RecognitionException { 1190 }
1191 try { 1191 // $ANTLR end "T__63"
1192 int _type = RULE_STRING; 1192
1193 int _channel = DEFAULT_TOKEN_CHANNEL; 1193 // $ANTLR start "RULE_ID"
1194 // InternalApplicationConfiguration.g:4295:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) 1194 public final void mRULE_ID() throws RecognitionException {
1195 // InternalApplicationConfiguration.g:4295:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) 1195 try {
1196 { 1196 int _type = RULE_ID;
1197 // InternalApplicationConfiguration.g:4295:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) 1197 int _channel = DEFAULT_TOKEN_CHANNEL;
1198 int alt6=2; 1198 // InternalApplicationConfiguration.g:4935:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
1199 int LA6_0 = input.LA(1); 1199 // InternalApplicationConfiguration.g:4935:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
1200 1200 {
1201 if ( (LA6_0=='\"') ) { 1201 // InternalApplicationConfiguration.g:4935:11: ( '^' )?
1202 alt6=1; 1202 int alt1=2;
1203 } 1203 int LA1_0 = input.LA(1);
1204 else if ( (LA6_0=='\'') ) { 1204
1205 alt6=2; 1205 if ( (LA1_0=='^') ) {
1206 } 1206 alt1=1;
1207 else { 1207 }
1208 NoViableAltException nvae = 1208 switch (alt1) {
1209 new NoViableAltException("", 6, 0, input); 1209 case 1 :
1210 1210 // InternalApplicationConfiguration.g:4935:11: '^'
1211 throw nvae; 1211 {
1212 } 1212 match('^');
1213 switch (alt6) { 1213
1214 case 1 : 1214 }
1215 // InternalApplicationConfiguration.g:4295:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' 1215 break;
1216 { 1216
1217 match('\"'); 1217 }
1218 // InternalApplicationConfiguration.g:4295:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* 1218
1219 loop4: 1219 if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
1220 do { 1220 input.consume();
1221 int alt4=3; 1221
1222 int LA4_0 = input.LA(1); 1222 }
1223 1223 else {
1224 if ( (LA4_0=='\\') ) { 1224 MismatchedSetException mse = new MismatchedSetException(null,input);
1225 alt4=1; 1225 recover(mse);
1226 } 1226 throw mse;}
1227 else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) { 1227
1228 alt4=2; 1228 // InternalApplicationConfiguration.g:4935:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
1229 } 1229 loop2:
1230 1230 do {
1231 1231 int alt2=2;
1232 switch (alt4) { 1232 int LA2_0 = input.LA(1);
1233 case 1 : 1233
1234 // InternalApplicationConfiguration.g:4295:21: '\\\\' . 1234 if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) {
1235 { 1235 alt2=1;
1236 match('\\'); 1236 }
1237 matchAny(); 1237
1238 1238
1239 } 1239 switch (alt2) {
1240 break; 1240 case 1 :
1241 case 2 : 1241 // InternalApplicationConfiguration.g:
1242 // InternalApplicationConfiguration.g:4295:28: ~ ( ( '\\\\' | '\"' ) ) 1242 {
1243 { 1243 if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
1244 if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { 1244 input.consume();
1245 input.consume(); 1245
1246 1246 }
1247 } 1247 else {
1248 else { 1248 MismatchedSetException mse = new MismatchedSetException(null,input);
1249 MismatchedSetException mse = new MismatchedSetException(null,input); 1249 recover(mse);
1250 recover(mse); 1250 throw mse;}
1251 throw mse;} 1251
1252 1252
1253 1253 }
1254 } 1254 break;
1255 break; 1255
1256 1256 default :
1257 default : 1257 break loop2;
1258 break loop4; 1258 }
1259 } 1259 } while (true);
1260 } while (true); 1260
1261 1261
1262 match('\"'); 1262 }
1263 1263
1264 } 1264 state.type = _type;
1265 break; 1265 state.channel = _channel;
1266 case 2 : 1266 }
1267 // InternalApplicationConfiguration.g:4295:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' 1267 finally {
1268 { 1268 }
1269 match('\''); 1269 }
1270 // InternalApplicationConfiguration.g:4295:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* 1270 // $ANTLR end "RULE_ID"
1271 loop5: 1271
1272 do { 1272 // $ANTLR start "RULE_INT"
1273 int alt5=3; 1273 public final void mRULE_INT() throws RecognitionException {
1274 int LA5_0 = input.LA(1); 1274 try {
1275 1275 int _type = RULE_INT;
1276 if ( (LA5_0=='\\') ) { 1276 int _channel = DEFAULT_TOKEN_CHANNEL;
1277 alt5=1; 1277 // InternalApplicationConfiguration.g:4937:10: ( ( '0' .. '9' )+ )
1278 } 1278 // InternalApplicationConfiguration.g:4937:12: ( '0' .. '9' )+
1279 else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) { 1279 {
1280 alt5=2; 1280 // InternalApplicationConfiguration.g:4937:12: ( '0' .. '9' )+
1281 } 1281 int cnt3=0;
1282 1282 loop3:
1283 1283 do {
1284 switch (alt5) { 1284 int alt3=2;
1285 case 1 : 1285 int LA3_0 = input.LA(1);
1286 // InternalApplicationConfiguration.g:4295:54: '\\\\' . 1286
1287 { 1287 if ( ((LA3_0>='0' && LA3_0<='9')) ) {
1288 match('\\'); 1288 alt3=1;
1289 matchAny(); 1289 }
1290 1290
1291 } 1291
1292 break; 1292 switch (alt3) {
1293 case 2 : 1293 case 1 :
1294 // InternalApplicationConfiguration.g:4295:61: ~ ( ( '\\\\' | '\\'' ) ) 1294 // InternalApplicationConfiguration.g:4937:13: '0' .. '9'
1295 { 1295 {
1296 if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { 1296 matchRange('0','9');
1297 input.consume(); 1297
1298 1298 }
1299 } 1299 break;
1300 else { 1300
1301 MismatchedSetException mse = new MismatchedSetException(null,input); 1301 default :
1302 recover(mse); 1302 if ( cnt3 >= 1 ) break loop3;
1303 throw mse;} 1303 EarlyExitException eee =
1304 1304 new EarlyExitException(3, input);
1305 1305 throw eee;
1306 } 1306 }
1307 break; 1307 cnt3++;
1308 1308 } while (true);
1309 default : 1309
1310 break loop5; 1310
1311 } 1311 }
1312 } while (true); 1312
1313 1313 state.type = _type;
1314 match('\''); 1314 state.channel = _channel;
1315 1315 }
1316 } 1316 finally {
1317 break; 1317 }
1318 1318 }
1319 } 1319 // $ANTLR end "RULE_INT"
1320 1320
1321 1321 // $ANTLR start "RULE_STRING"
1322 } 1322 public final void mRULE_STRING() throws RecognitionException {
1323 1323 try {
1324 state.type = _type; 1324 int _type = RULE_STRING;
1325 state.channel = _channel; 1325 int _channel = DEFAULT_TOKEN_CHANNEL;
1326 } 1326 // InternalApplicationConfiguration.g:4939:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
1327 finally { 1327 // InternalApplicationConfiguration.g:4939:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
1328 } 1328 {
1329 } 1329 // InternalApplicationConfiguration.g:4939:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
1330 // $ANTLR end "RULE_STRING" 1330 int alt6=2;
1331 1331 int LA6_0 = input.LA(1);
1332 // $ANTLR start "RULE_ML_COMMENT" 1332
1333 public final void mRULE_ML_COMMENT() throws RecognitionException { 1333 if ( (LA6_0=='\"') ) {
1334 try { 1334 alt6=1;
1335 int _type = RULE_ML_COMMENT; 1335 }
1336 int _channel = DEFAULT_TOKEN_CHANNEL; 1336 else if ( (LA6_0=='\'') ) {
1337 // InternalApplicationConfiguration.g:4297:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) 1337 alt6=2;
1338 // InternalApplicationConfiguration.g:4297:19: '/*' ( options {greedy=false; } : . )* '*/' 1338 }
1339 { 1339 else {
1340 match("/*"); 1340 NoViableAltException nvae =
1341 1341 new NoViableAltException("", 6, 0, input);
1342 // InternalApplicationConfiguration.g:4297:24: ( options {greedy=false; } : . )* 1342
1343 loop7: 1343 throw nvae;
1344 do { 1344 }
1345 int alt7=2; 1345 switch (alt6) {
1346 int LA7_0 = input.LA(1); 1346 case 1 :
1347 1347 // InternalApplicationConfiguration.g:4939:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
1348 if ( (LA7_0=='*') ) { 1348 {
1349 int LA7_1 = input.LA(2); 1349 match('\"');
1350 1350 // InternalApplicationConfiguration.g:4939:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
1351 if ( (LA7_1=='/') ) { 1351 loop4:
1352 alt7=2; 1352 do {
1353 } 1353 int alt4=3;
1354 else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFF')) ) { 1354 int LA4_0 = input.LA(1);
1355 alt7=1; 1355
1356 } 1356 if ( (LA4_0=='\\') ) {
1357 1357 alt4=1;
1358 1358 }
1359 } 1359 else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) {
1360 else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFF')) ) { 1360 alt4=2;
1361 alt7=1; 1361 }
1362 } 1362
1363 1363
1364 1364 switch (alt4) {
1365 switch (alt7) { 1365 case 1 :
1366 case 1 : 1366 // InternalApplicationConfiguration.g:4939:21: '\\\\' .
1367 // InternalApplicationConfiguration.g:4297:52: . 1367 {
1368 { 1368 match('\\');
1369 matchAny(); 1369 matchAny();
1370 1370
1371 } 1371 }
1372 break; 1372 break;
1373 1373 case 2 :
1374 default : 1374 // InternalApplicationConfiguration.g:4939:28: ~ ( ( '\\\\' | '\"' ) )
1375 break loop7; 1375 {
1376 } 1376 if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
1377 } while (true); 1377 input.consume();
1378 1378
1379 match("*/"); 1379 }
1380 1380 else {
1381 1381 MismatchedSetException mse = new MismatchedSetException(null,input);
1382 } 1382 recover(mse);
1383 1383 throw mse;}
1384 state.type = _type; 1384
1385 state.channel = _channel; 1385
1386 } 1386 }
1387 finally { 1387 break;
1388 } 1388
1389 } 1389 default :
1390 // $ANTLR end "RULE_ML_COMMENT" 1390 break loop4;
1391 1391 }
1392 // $ANTLR start "RULE_SL_COMMENT" 1392 } while (true);
1393 public final void mRULE_SL_COMMENT() throws RecognitionException { 1393
1394 try { 1394 match('\"');
1395 int _type = RULE_SL_COMMENT; 1395
1396 int _channel = DEFAULT_TOKEN_CHANNEL; 1396 }
1397 // InternalApplicationConfiguration.g:4299:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) 1397 break;
1398 // InternalApplicationConfiguration.g:4299:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? 1398 case 2 :
1399 { 1399 // InternalApplicationConfiguration.g:4939:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
1400 match("//"); 1400 {
1401 1401 match('\'');
1402 // InternalApplicationConfiguration.g:4299:24: (~ ( ( '\\n' | '\\r' ) ) )* 1402 // InternalApplicationConfiguration.g:4939:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )*
1403 loop8: 1403 loop5:
1404 do { 1404 do {
1405 int alt8=2; 1405 int alt5=3;
1406 int LA8_0 = input.LA(1); 1406 int LA5_0 = input.LA(1);
1407 1407
1408 if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFF')) ) { 1408 if ( (LA5_0=='\\') ) {
1409 alt8=1; 1409 alt5=1;
1410 } 1410 }
1411 1411 else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) {
1412 1412 alt5=2;
1413 switch (alt8) { 1413 }
1414 case 1 : 1414
1415 // InternalApplicationConfiguration.g:4299:24: ~ ( ( '\\n' | '\\r' ) ) 1415
1416 { 1416 switch (alt5) {
1417 if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { 1417 case 1 :
1418 input.consume(); 1418 // InternalApplicationConfiguration.g:4939:54: '\\\\' .
1419 1419 {
1420 } 1420 match('\\');
1421 else { 1421 matchAny();
1422 MismatchedSetException mse = new MismatchedSetException(null,input); 1422
1423 recover(mse); 1423 }
1424 throw mse;} 1424 break;
1425 1425 case 2 :
1426 1426 // InternalApplicationConfiguration.g:4939:61: ~ ( ( '\\\\' | '\\'' ) )
1427 } 1427 {
1428 break; 1428 if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
1429 1429 input.consume();
1430 default : 1430
1431 break loop8; 1431 }
1432 } 1432 else {
1433 } while (true); 1433 MismatchedSetException mse = new MismatchedSetException(null,input);
1434 1434 recover(mse);
1435 // InternalApplicationConfiguration.g:4299:40: ( ( '\\r' )? '\\n' )? 1435 throw mse;}
1436 int alt10=2; 1436
1437 int LA10_0 = input.LA(1); 1437
1438 1438 }
1439 if ( (LA10_0=='\n'||LA10_0=='\r') ) { 1439 break;
1440 alt10=1; 1440
1441 } 1441 default :
1442 switch (alt10) { 1442 break loop5;
1443 case 1 : 1443 }
1444 // InternalApplicationConfiguration.g:4299:41: ( '\\r' )? '\\n' 1444 } while (true);
1445 { 1445
1446 // InternalApplicationConfiguration.g:4299:41: ( '\\r' )? 1446 match('\'');
1447 int alt9=2; 1447
1448 int LA9_0 = input.LA(1); 1448 }
1449 1449 break;
1450 if ( (LA9_0=='\r') ) { 1450
1451 alt9=1; 1451 }
1452 } 1452
1453 switch (alt9) { 1453
1454 case 1 : 1454 }
1455 // InternalApplicationConfiguration.g:4299:41: '\\r' 1455
1456 { 1456 state.type = _type;
1457 match('\r'); 1457 state.channel = _channel;
1458 1458 }
1459 } 1459 finally {
1460 break; 1460 }
1461 1461 }
1462 } 1462 // $ANTLR end "RULE_STRING"
1463 1463
1464 match('\n'); 1464 // $ANTLR start "RULE_ML_COMMENT"
1465 1465 public final void mRULE_ML_COMMENT() throws RecognitionException {
1466 } 1466 try {
1467 break; 1467 int _type = RULE_ML_COMMENT;
1468 1468 int _channel = DEFAULT_TOKEN_CHANNEL;
1469 } 1469 // InternalApplicationConfiguration.g:4941:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
1470 1470 // InternalApplicationConfiguration.g:4941:19: '/*' ( options {greedy=false; } : . )* '*/'
1471 1471 {
1472 } 1472 match("/*");
1473 1473
1474 state.type = _type; 1474 // InternalApplicationConfiguration.g:4941:24: ( options {greedy=false; } : . )*
1475 state.channel = _channel; 1475 loop7:
1476 } 1476 do {
1477 finally { 1477 int alt7=2;
1478 } 1478 int LA7_0 = input.LA(1);
1479 } 1479
1480 // $ANTLR end "RULE_SL_COMMENT" 1480 if ( (LA7_0=='*') ) {
1481 1481 int LA7_1 = input.LA(2);
1482 // $ANTLR start "RULE_WS" 1482
1483 public final void mRULE_WS() throws RecognitionException { 1483 if ( (LA7_1=='/') ) {
1484 try { 1484 alt7=2;
1485 int _type = RULE_WS; 1485 }
1486 int _channel = DEFAULT_TOKEN_CHANNEL; 1486 else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFF')) ) {
1487 // InternalApplicationConfiguration.g:4301:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) 1487 alt7=1;
1488 // InternalApplicationConfiguration.g:4301:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ 1488 }
1489 { 1489
1490 // InternalApplicationConfiguration.g:4301:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ 1490
1491 int cnt11=0; 1491 }
1492 loop11: 1492 else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFF')) ) {
1493 do { 1493 alt7=1;
1494 int alt11=2; 1494 }
1495 int LA11_0 = input.LA(1); 1495
1496 1496
1497 if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) { 1497 switch (alt7) {
1498 alt11=1; 1498 case 1 :
1499 } 1499 // InternalApplicationConfiguration.g:4941:52: .
1500 1500 {
1501 1501 matchAny();
1502 switch (alt11) { 1502
1503 case 1 : 1503 }
1504 // InternalApplicationConfiguration.g: 1504 break;
1505 { 1505
1506 if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { 1506 default :
1507 input.consume(); 1507 break loop7;
1508 1508 }
1509 } 1509 } while (true);
1510 else { 1510
1511 MismatchedSetException mse = new MismatchedSetException(null,input); 1511 match("*/");
1512 recover(mse); 1512
1513 throw mse;} 1513
1514 1514 }
1515 1515
1516 } 1516 state.type = _type;
1517 break; 1517 state.channel = _channel;
1518 1518 }
1519 default : 1519 finally {
1520 if ( cnt11 >= 1 ) break loop11; 1520 }
1521 EarlyExitException eee = 1521 }
1522 new EarlyExitException(11, input); 1522 // $ANTLR end "RULE_ML_COMMENT"
1523 throw eee; 1523
1524 } 1524 // $ANTLR start "RULE_SL_COMMENT"
1525 cnt11++; 1525 public final void mRULE_SL_COMMENT() throws RecognitionException {
1526 } while (true); 1526 try {
1527 1527 int _type = RULE_SL_COMMENT;
1528 1528 int _channel = DEFAULT_TOKEN_CHANNEL;
1529 } 1529 // InternalApplicationConfiguration.g:4943:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
1530 1530 // InternalApplicationConfiguration.g:4943:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
1531 state.type = _type; 1531 {
1532 state.channel = _channel; 1532 match("//");
1533 } 1533
1534 finally { 1534 // InternalApplicationConfiguration.g:4943:24: (~ ( ( '\\n' | '\\r' ) ) )*
1535 } 1535 loop8:
1536 } 1536 do {
1537 // $ANTLR end "RULE_WS" 1537 int alt8=2;
1538 1538 int LA8_0 = input.LA(1);
1539 // $ANTLR start "RULE_ANY_OTHER" 1539
1540 public final void mRULE_ANY_OTHER() throws RecognitionException { 1540 if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFF')) ) {
1541 try { 1541 alt8=1;
1542 int _type = RULE_ANY_OTHER; 1542 }
1543 int _channel = DEFAULT_TOKEN_CHANNEL; 1543
1544 // InternalApplicationConfiguration.g:4303:16: ( . ) 1544
1545 // InternalApplicationConfiguration.g:4303:18: . 1545 switch (alt8) {
1546 { 1546 case 1 :
1547 matchAny(); 1547 // InternalApplicationConfiguration.g:4943:24: ~ ( ( '\\n' | '\\r' ) )
1548 1548 {
1549 } 1549 if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
1550 1550 input.consume();
1551 state.type = _type; 1551
1552 state.channel = _channel; 1552 }
1553 } 1553 else {
1554 finally { 1554 MismatchedSetException mse = new MismatchedSetException(null,input);
1555 } 1555 recover(mse);
1556 } 1556 throw mse;}
1557 // $ANTLR end "RULE_ANY_OTHER" 1557
1558 1558
1559 public void mTokens() throws RecognitionException { 1559 }
1560 // InternalApplicationConfiguration.g:1:8: ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) 1560 break;
1561 int alt12=54; 1561
1562 alt12 = dfa12.predict(input); 1562 default :
1563 switch (alt12) { 1563 break loop8;
1564 case 1 : 1564 }
1565 // InternalApplicationConfiguration.g:1:10: T__11 1565 } while (true);
1566 { 1566
1567 mT__11(); 1567 // InternalApplicationConfiguration.g:4943:40: ( ( '\\r' )? '\\n' )?
1568 1568 int alt10=2;
1569 } 1569 int LA10_0 = input.LA(1);
1570 break; 1570
1571 case 2 : 1571 if ( (LA10_0=='\n'||LA10_0=='\r') ) {
1572 // InternalApplicationConfiguration.g:1:16: T__12 1572 alt10=1;
1573 { 1573 }
1574 mT__12(); 1574 switch (alt10) {
1575 1575 case 1 :
1576 } 1576 // InternalApplicationConfiguration.g:4943:41: ( '\\r' )? '\\n'
1577 break; 1577 {
1578 case 3 : 1578 // InternalApplicationConfiguration.g:4943:41: ( '\\r' )?
1579 // InternalApplicationConfiguration.g:1:22: T__13 1579 int alt9=2;
1580 { 1580 int LA9_0 = input.LA(1);
1581 mT__13(); 1581
1582 1582 if ( (LA9_0=='\r') ) {
1583 } 1583 alt9=1;
1584 break; 1584 }
1585 case 4 : 1585 switch (alt9) {
1586 // InternalApplicationConfiguration.g:1:28: T__14 1586 case 1 :
1587 { 1587 // InternalApplicationConfiguration.g:4943:41: '\\r'
1588 mT__14(); 1588 {
1589 1589 match('\r');
1590 } 1590
1591 break; 1591 }
1592 case 5 : 1592 break;
1593 // InternalApplicationConfiguration.g:1:34: T__15 1593
1594 { 1594 }
1595 mT__15(); 1595
1596 1596 match('\n');
1597 } 1597
1598 break; 1598 }
1599 case 6 : 1599 break;
1600 // InternalApplicationConfiguration.g:1:40: T__16 1600
1601 { 1601 }
1602 mT__16(); 1602
1603 1603
1604 } 1604 }
1605 break; 1605
1606 case 7 : 1606 state.type = _type;
1607 // InternalApplicationConfiguration.g:1:46: T__17 1607 state.channel = _channel;
1608 { 1608 }
1609 mT__17(); 1609 finally {
1610 1610 }
1611 } 1611 }
1612 break; 1612 // $ANTLR end "RULE_SL_COMMENT"
1613 case 8 : 1613
1614 // InternalApplicationConfiguration.g:1:52: T__18 1614 // $ANTLR start "RULE_WS"
1615 { 1615 public final void mRULE_WS() throws RecognitionException {
1616 mT__18(); 1616 try {
1617 1617 int _type = RULE_WS;
1618 } 1618 int _channel = DEFAULT_TOKEN_CHANNEL;
1619 break; 1619 // InternalApplicationConfiguration.g:4945:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
1620 case 9 : 1620 // InternalApplicationConfiguration.g:4945:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
1621 // InternalApplicationConfiguration.g:1:58: T__19 1621 {
1622 { 1622 // InternalApplicationConfiguration.g:4945:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
1623 mT__19(); 1623 int cnt11=0;
1624 1624 loop11:
1625 } 1625 do {
1626 break; 1626 int alt11=2;
1627 case 10 : 1627 int LA11_0 = input.LA(1);
1628 // InternalApplicationConfiguration.g:1:64: T__20 1628
1629 { 1629 if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) {
1630 mT__20(); 1630 alt11=1;
1631 1631 }
1632 } 1632
1633 break; 1633
1634 case 11 : 1634 switch (alt11) {
1635 // InternalApplicationConfiguration.g:1:70: T__21 1635 case 1 :
1636 { 1636 // InternalApplicationConfiguration.g:
1637 mT__21(); 1637 {
1638 1638 if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
1639 } 1639 input.consume();
1640 break; 1640
1641 case 12 : 1641 }
1642 // InternalApplicationConfiguration.g:1:76: T__22 1642 else {
1643 { 1643 MismatchedSetException mse = new MismatchedSetException(null,input);
1644 mT__22(); 1644 recover(mse);
1645 1645 throw mse;}
1646 } 1646
1647 break; 1647
1648 case 13 : 1648 }
1649 // InternalApplicationConfiguration.g:1:82: T__23 1649 break;
1650 { 1650
1651 mT__23(); 1651 default :
1652 1652 if ( cnt11 >= 1 ) break loop11;
1653 } 1653 EarlyExitException eee =
1654 break; 1654 new EarlyExitException(11, input);
1655 case 14 : 1655 throw eee;
1656 // InternalApplicationConfiguration.g:1:88: T__24 1656 }
1657 { 1657 cnt11++;
1658 mT__24(); 1658 } while (true);
1659 1659
1660 } 1660
1661 break; 1661 }
1662 case 15 : 1662
1663 // InternalApplicationConfiguration.g:1:94: T__25 1663 state.type = _type;
1664 { 1664 state.channel = _channel;
1665 mT__25(); 1665 }
1666 1666 finally {
1667 } 1667 }
1668 break; 1668 }
1669 case 16 : 1669 // $ANTLR end "RULE_WS"
1670 // InternalApplicationConfiguration.g:1:100: T__26 1670
1671 { 1671 // $ANTLR start "RULE_ANY_OTHER"
1672 mT__26(); 1672 public final void mRULE_ANY_OTHER() throws RecognitionException {
1673 1673 try {
1674 } 1674 int _type = RULE_ANY_OTHER;
1675 break; 1675 int _channel = DEFAULT_TOKEN_CHANNEL;
1676 case 17 : 1676 // InternalApplicationConfiguration.g:4947:16: ( . )
1677 // InternalApplicationConfiguration.g:1:106: T__27 1677 // InternalApplicationConfiguration.g:4947:18: .
1678 { 1678 {
1679 mT__27(); 1679 matchAny();
1680 1680
1681 } 1681 }
1682 break; 1682
1683 case 18 : 1683 state.type = _type;
1684 // InternalApplicationConfiguration.g:1:112: T__28 1684 state.channel = _channel;
1685 { 1685 }
1686 mT__28(); 1686 finally {
1687 1687 }
1688 } 1688 }
1689 break; 1689 // $ANTLR end "RULE_ANY_OTHER"
1690 case 19 : 1690
1691 // InternalApplicationConfiguration.g:1:118: T__29 1691 public void mTokens() throws RecognitionException {
1692 { 1692 // InternalApplicationConfiguration.g:1:8: ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
1693 mT__29(); 1693 int alt12=60;
1694 1694 alt12 = dfa12.predict(input);
1695 } 1695 switch (alt12) {
1696 break; 1696 case 1 :
1697 case 20 : 1697 // InternalApplicationConfiguration.g:1:10: T__11
1698 // InternalApplicationConfiguration.g:1:124: T__30 1698 {
1699 { 1699 mT__11();
1700 mT__30(); 1700
1701 1701 }
1702 } 1702 break;
1703 break; 1703 case 2 :
1704 case 21 : 1704 // InternalApplicationConfiguration.g:1:16: T__12
1705 // InternalApplicationConfiguration.g:1:130: T__31 1705 {
1706 { 1706 mT__12();
1707 mT__31(); 1707
1708 1708 }
1709 } 1709 break;
1710 break; 1710 case 3 :
1711 case 22 : 1711 // InternalApplicationConfiguration.g:1:22: T__13
1712 // InternalApplicationConfiguration.g:1:136: T__32 1712 {
1713 { 1713 mT__13();
1714 mT__32(); 1714
1715 1715 }
1716 } 1716 break;
1717 break; 1717 case 4 :
1718 case 23 : 1718 // InternalApplicationConfiguration.g:1:28: T__14
1719 // InternalApplicationConfiguration.g:1:142: T__33 1719 {
1720 { 1720 mT__14();
1721 mT__33(); 1721
1722 1722 }
1723 } 1723 break;
1724 break; 1724 case 5 :
1725 case 24 : 1725 // InternalApplicationConfiguration.g:1:34: T__15
1726 // InternalApplicationConfiguration.g:1:148: T__34 1726 {
1727 { 1727 mT__15();
1728 mT__34(); 1728
1729 1729 }
1730 } 1730 break;
1731 break; 1731 case 6 :
1732 case 25 : 1732 // InternalApplicationConfiguration.g:1:40: T__16
1733 // InternalApplicationConfiguration.g:1:154: T__35 1733 {
1734 { 1734 mT__16();
1735 mT__35(); 1735
1736 1736 }
1737 } 1737 break;
1738 break; 1738 case 7 :
1739 case 26 : 1739 // InternalApplicationConfiguration.g:1:46: T__17
1740 // InternalApplicationConfiguration.g:1:160: T__36 1740 {
1741 { 1741 mT__17();
1742 mT__36(); 1742
1743 1743 }
1744 } 1744 break;
1745 break; 1745 case 8 :
1746 case 27 : 1746 // InternalApplicationConfiguration.g:1:52: T__18
1747 // InternalApplicationConfiguration.g:1:166: T__37 1747 {
1748 { 1748 mT__18();
1749 mT__37(); 1749
1750 1750 }
1751 } 1751 break;
1752 break; 1752 case 9 :
1753 case 28 : 1753 // InternalApplicationConfiguration.g:1:58: T__19
1754 // InternalApplicationConfiguration.g:1:172: T__38 1754 {
1755 { 1755 mT__19();
1756 mT__38(); 1756
1757 1757 }
1758 } 1758 break;
1759 break; 1759 case 10 :
1760 case 29 : 1760 // InternalApplicationConfiguration.g:1:64: T__20
1761 // InternalApplicationConfiguration.g:1:178: T__39 1761 {
1762 { 1762 mT__20();
1763 mT__39(); 1763
1764 1764 }
1765 } 1765 break;
1766 break; 1766 case 11 :
1767 case 30 : 1767 // InternalApplicationConfiguration.g:1:70: T__21
1768 // InternalApplicationConfiguration.g:1:184: T__40 1768 {
1769 { 1769 mT__21();
1770 mT__40(); 1770
1771 1771 }
1772 } 1772 break;
1773 break; 1773 case 12 :
1774 case 31 : 1774 // InternalApplicationConfiguration.g:1:76: T__22
1775 // InternalApplicationConfiguration.g:1:190: T__41 1775 {
1776 { 1776 mT__22();
1777 mT__41(); 1777
1778 1778 }
1779 } 1779 break;
1780 break; 1780 case 13 :
1781 case 32 : 1781 // InternalApplicationConfiguration.g:1:82: T__23
1782 // InternalApplicationConfiguration.g:1:196: T__42 1782 {
1783 { 1783 mT__23();
1784 mT__42(); 1784
1785 1785 }
1786 } 1786 break;
1787 break; 1787 case 14 :
1788 case 33 : 1788 // InternalApplicationConfiguration.g:1:88: T__24
1789 // InternalApplicationConfiguration.g:1:202: T__43 1789 {
1790 { 1790 mT__24();
1791 mT__43(); 1791
1792 1792 }
1793 } 1793 break;
1794 break; 1794 case 15 :
1795 case 34 : 1795 // InternalApplicationConfiguration.g:1:94: T__25
1796 // InternalApplicationConfiguration.g:1:208: T__44 1796 {
1797 { 1797 mT__25();
1798 mT__44(); 1798
1799 1799 }
1800 } 1800 break;
1801 break; 1801 case 16 :
1802 case 35 : 1802 // InternalApplicationConfiguration.g:1:100: T__26
1803 // InternalApplicationConfiguration.g:1:214: T__45 1803 {
1804 { 1804 mT__26();
1805 mT__45(); 1805
1806 1806 }
1807 } 1807 break;
1808 break; 1808 case 17 :
1809 case 36 : 1809 // InternalApplicationConfiguration.g:1:106: T__27
1810 // InternalApplicationConfiguration.g:1:220: T__46 1810 {
1811 { 1811 mT__27();
1812 mT__46(); 1812
1813 1813 }
1814 } 1814 break;
1815 break; 1815 case 18 :
1816 case 37 : 1816 // InternalApplicationConfiguration.g:1:112: T__28
1817 // InternalApplicationConfiguration.g:1:226: T__47 1817 {
1818 { 1818 mT__28();
1819 mT__47(); 1819
1820 1820 }
1821 } 1821 break;
1822 break; 1822 case 19 :
1823 case 38 : 1823 // InternalApplicationConfiguration.g:1:118: T__29
1824 // InternalApplicationConfiguration.g:1:232: T__48 1824 {
1825 { 1825 mT__29();
1826 mT__48(); 1826
1827 1827 }
1828 } 1828 break;
1829 break; 1829 case 20 :
1830 case 39 : 1830 // InternalApplicationConfiguration.g:1:124: T__30
1831 // InternalApplicationConfiguration.g:1:238: T__49 1831 {
1832 { 1832 mT__30();
1833 mT__49(); 1833
1834 1834 }
1835 } 1835 break;
1836 break; 1836 case 21 :
1837 case 40 : 1837 // InternalApplicationConfiguration.g:1:130: T__31
1838 // InternalApplicationConfiguration.g:1:244: T__50 1838 {
1839 { 1839 mT__31();
1840 mT__50(); 1840
1841 1841 }
1842 } 1842 break;
1843 break; 1843 case 22 :
1844 case 41 : 1844 // InternalApplicationConfiguration.g:1:136: T__32
1845 // InternalApplicationConfiguration.g:1:250: T__51 1845 {
1846 { 1846 mT__32();
1847 mT__51(); 1847
1848 1848 }
1849 } 1849 break;
1850 break; 1850 case 23 :
1851 case 42 : 1851 // InternalApplicationConfiguration.g:1:142: T__33
1852 // InternalApplicationConfiguration.g:1:256: T__52 1852 {
1853 { 1853 mT__33();
1854 mT__52(); 1854
1855 1855 }
1856 } 1856 break;
1857 break; 1857 case 24 :
1858 case 43 : 1858 // InternalApplicationConfiguration.g:1:148: T__34
1859 // InternalApplicationConfiguration.g:1:262: T__53 1859 {
1860 { 1860 mT__34();
1861 mT__53(); 1861
1862 1862 }
1863 } 1863 break;
1864 break; 1864 case 25 :
1865 case 44 : 1865 // InternalApplicationConfiguration.g:1:154: T__35
1866 // InternalApplicationConfiguration.g:1:268: T__54 1866 {
1867 { 1867 mT__35();
1868 mT__54(); 1868
1869 1869 }
1870 } 1870 break;
1871 break; 1871 case 26 :
1872 case 45 : 1872 // InternalApplicationConfiguration.g:1:160: T__36
1873 // InternalApplicationConfiguration.g:1:274: T__55 1873 {
1874 { 1874 mT__36();
1875 mT__55(); 1875
1876 1876 }
1877 } 1877 break;
1878 break; 1878 case 27 :
1879 case 46 : 1879 // InternalApplicationConfiguration.g:1:166: T__37
1880 // InternalApplicationConfiguration.g:1:280: T__56 1880 {
1881 { 1881 mT__37();
1882 mT__56(); 1882
1883 1883 }
1884 } 1884 break;
1885 break; 1885 case 28 :
1886 case 47 : 1886 // InternalApplicationConfiguration.g:1:172: T__38
1887 // InternalApplicationConfiguration.g:1:286: T__57 1887 {
1888 { 1888 mT__38();
1889 mT__57(); 1889
1890 1890 }
1891 } 1891 break;
1892 break; 1892 case 29 :
1893 case 48 : 1893 // InternalApplicationConfiguration.g:1:178: T__39
1894 // InternalApplicationConfiguration.g:1:292: RULE_ID 1894 {
1895 { 1895 mT__39();
1896 mRULE_ID(); 1896
1897 1897 }
1898 } 1898 break;
1899 break; 1899 case 30 :
1900 case 49 : 1900 // InternalApplicationConfiguration.g:1:184: T__40
1901 // InternalApplicationConfiguration.g:1:300: RULE_INT 1901 {
1902 { 1902 mT__40();
1903 mRULE_INT(); 1903
1904 1904 }
1905 } 1905 break;
1906 break; 1906 case 31 :
1907 case 50 : 1907 // InternalApplicationConfiguration.g:1:190: T__41
1908 // InternalApplicationConfiguration.g:1:309: RULE_STRING 1908 {
1909 { 1909 mT__41();
1910 mRULE_STRING(); 1910
1911 1911 }
1912 } 1912 break;
1913 break; 1913 case 32 :
1914 case 51 : 1914 // InternalApplicationConfiguration.g:1:196: T__42
1915 // InternalApplicationConfiguration.g:1:321: RULE_ML_COMMENT 1915 {
1916 { 1916 mT__42();
1917 mRULE_ML_COMMENT(); 1917
1918 1918 }
1919 } 1919 break;
1920 break; 1920 case 33 :
1921 case 52 : 1921 // InternalApplicationConfiguration.g:1:202: T__43
1922 // InternalApplicationConfiguration.g:1:337: RULE_SL_COMMENT 1922 {
1923 { 1923 mT__43();
1924 mRULE_SL_COMMENT(); 1924
1925 1925 }
1926 } 1926 break;
1927 break; 1927 case 34 :
1928 case 53 : 1928 // InternalApplicationConfiguration.g:1:208: T__44
1929 // InternalApplicationConfiguration.g:1:353: RULE_WS 1929 {
1930 { 1930 mT__44();
1931 mRULE_WS(); 1931
1932 1932 }
1933 } 1933 break;
1934 break; 1934 case 35 :
1935 case 54 : 1935 // InternalApplicationConfiguration.g:1:214: T__45
1936 // InternalApplicationConfiguration.g:1:361: RULE_ANY_OTHER 1936 {
1937 { 1937 mT__45();
1938 mRULE_ANY_OTHER(); 1938
1939 1939 }
1940 } 1940 break;
1941 break; 1941 case 36 :
1942 1942 // InternalApplicationConfiguration.g:1:220: T__46
1943 } 1943 {
1944 1944 mT__46();
1945 } 1945
1946 1946 }
1947 1947 break;
1948 protected DFA12 dfa12 = new DFA12(this); 1948 case 37 :
1949 static final String DFA12_eotS = 1949 // InternalApplicationConfiguration.g:1:226: T__47
1950 "\1\uffff\1\47\1\uffff\4\53\4\uffff\1\53\1\45\4\53\1\uffff\1\45\2\uffff\2\53\1\uffff\6\53\1\45\2\uffff\3\45\5\uffff\2\53\1\uffff\6\53\4\uffff\1\53\1\uffff\6\53\4\uffff\5\53\1\uffff\6\53\5\uffff\1\53\1\163\14\53\1\u0082\21\53\1\uffff\3\53\1\u0098\1\53\1\u009a\7\53\2\uffff\1\53\1\u00a3\1\u00a4\1\u00a5\1\u00a6\20\53\1\uffff\1\53\1\uffff\10\53\4\uffff\4\53\1\u00c4\2\53\1\u00c7\4\53\1\u00cc\2\53\1\u00cf\1\u00d0\3\53\1\u00d4\1\u00d5\1\53\1\u00d7\1\53\1\u00d9\1\u00da\1\u00db\1\53\1\uffff\1\u00dd\1\53\1\uffff\1\u00df\3\53\1\uffff\2\53\2\uffff\1\u00e5\2\53\2\uffff\1\53\1\uffff\1\u00e9\3\uffff\1\53\1\uffff\1\53\1\uffff\3\53\1\u00ef\1\53\2\uffff\2\53\1\uffff\1\53\1\u00f4\3\53\1\uffff\1\u00f8\1\u00f9\2\53\1\uffff\1\u00fc\2\53\2\uffff\1\53\1\u0100\1\uffff\2\53\1\u0103\1\uffff\1\u0104\1\53\2\uffff\1\u0106\1\uffff"; 1950 {
1951 static final String DFA12_eofS = 1951 mT__47();
1952 "\u0107\uffff"; 1952
1953 static final String DFA12_minS = 1953 }
1954 "\1\0\1\56\1\uffff\1\155\1\160\2\151\4\uffff\1\141\1\72\1\145\2\157\1\145\1\uffff\1\75\2\uffff\1\157\1\143\1\uffff\2\145\1\165\1\115\1\154\1\151\1\101\2\uffff\2\0\1\52\5\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\3\154\4\uffff\1\143\1\uffff\1\155\1\144\1\156\1\147\1\156\1\141\4\uffff\1\144\1\155\1\141\1\157\1\154\1\uffff\1\156\1\142\1\164\1\124\1\154\1\141\5\uffff\1\157\1\60\1\143\1\154\1\164\1\145\1\144\1\154\1\153\1\164\1\141\1\157\1\145\1\146\1\55\1\163\1\154\2\145\1\155\1\142\1\151\1\164\1\160\1\166\1\145\1\165\1\160\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\60\1\145\1\60\1\141\1\151\1\155\1\162\1\154\1\164\1\151\2\uffff\1\151\4\60\1\141\1\145\1\156\1\151\2\145\1\162\1\147\1\165\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\uffff\1\162\1\uffff\1\147\1\141\1\157\1\171\1\163\1\162\1\147\1\155\4\uffff\1\154\1\162\1\147\1\163\1\60\1\162\1\141\1\60\1\164\1\154\1\123\1\141\1\60\1\147\1\151\2\60\1\145\1\154\1\144\2\60\1\141\1\60\1\145\3\60\1\164\1\uffff\1\60\1\164\1\uffff\1\60\1\166\1\157\1\123\1\uffff\1\145\1\156\2\uffff\1\60\1\55\1\145\2\uffff\1\151\1\uffff\1\60\3\uffff\1\151\1\uffff\1\145\1\uffff\1\145\1\154\1\157\1\60\1\147\2\uffff\1\154\1\156\1\uffff\1\143\1\60\1\162\1\166\1\154\1\uffff\2\60\1\164\1\163\1\uffff\1\60\1\145\1\166\2\uffff\1\163\1\60\1\uffff\1\162\1\145\1\60\1\uffff\1\60\1\162\2\uffff\1\60\1\uffff"; 1954 break;
1955 static final String DFA12_maxS = 1955 case 38 :
1956 "\1\uffff\1\56\1\uffff\1\156\1\170\1\151\1\165\4\uffff\1\141\1\72\3\157\1\165\1\uffff\1\75\2\uffff\1\165\1\164\1\uffff\2\145\1\165\1\115\1\154\1\151\1\172\2\uffff\2\uffff\1\57\5\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\3\154\4\uffff\1\162\1\uffff\1\164\1\144\1\156\1\147\1\156\1\141\4\uffff\1\162\1\155\1\162\1\157\1\154\1\uffff\1\156\1\142\1\164\1\124\1\154\1\141\5\uffff\1\157\1\172\1\143\1\154\1\164\1\145\1\144\1\154\1\153\1\164\1\141\1\157\1\145\1\163\1\172\1\164\1\154\2\145\1\155\1\142\1\151\1\164\1\160\1\166\1\145\1\165\1\160\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\172\1\145\1\172\1\141\1\151\1\155\1\162\1\154\1\164\1\151\2\uffff\1\151\4\172\1\141\1\145\1\156\1\151\2\145\1\162\1\147\1\165\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\uffff\1\162\1\uffff\1\147\1\141\1\157\1\171\1\163\1\162\1\147\1\155\4\uffff\1\154\1\162\1\147\1\163\1\172\1\162\1\141\1\172\1\164\1\154\1\123\1\141\1\172\1\147\1\151\2\172\1\145\1\154\1\144\2\172\1\141\1\172\1\145\3\172\1\164\1\uffff\1\172\1\164\1\uffff\1\172\1\166\1\157\1\123\1\uffff\1\145\1\156\2\uffff\1\172\1\55\1\145\2\uffff\1\151\1\uffff\1\172\3\uffff\1\151\1\uffff\1\145\1\uffff\1\145\1\154\1\157\1\172\1\147\2\uffff\1\154\1\156\1\uffff\1\143\1\172\1\162\1\166\1\154\1\uffff\2\172\1\164\1\163\1\uffff\1\172\1\145\1\166\2\uffff\1\163\1\172\1\uffff\1\162\1\145\1\172\1\uffff\1\172\1\162\2\uffff\1\172\1\uffff"; 1956 // InternalApplicationConfiguration.g:1:232: T__48
1957 static final String DFA12_acceptS = 1957 {
1958 "\2\uffff\1\2\4\uffff\1\7\1\10\1\11\1\12\6\uffff\1\26\1\uffff\1\30\1\31\2\uffff\1\36\7\uffff\1\60\1\61\3\uffff\1\65\1\66\1\37\1\1\1\2\2\uffff\1\60\6\uffff\1\7\1\10\1\11\1\12\1\uffff\1\15\6\uffff\1\26\1\27\1\30\1\31\5\uffff\1\36\6\uffff\1\61\1\62\1\63\1\64\1\65\40\uffff\1\33\15\uffff\1\23\1\47\25\uffff\1\6\1\uffff\1\54\10\uffff\1\44\1\34\1\32\1\52\35\uffff\1\40\2\uffff\1\46\4\uffff\1\3\2\uffff\1\5\1\17\3\uffff\1\25\1\20\1\uffff\1\22\1\uffff\1\53\1\43\1\35\1\uffff\1\45\1\uffff\1\51\5\uffff\1\13\1\42\2\uffff\1\24\5\uffff\1\4\4\uffff\1\41\3\uffff\1\14\1\16\2\uffff\1\55\3\uffff\1\50\2\uffff\1\21\1\56\1\uffff\1\57"; 1958 mT__48();
1959 static final String DFA12_specialS = 1959
1960 "\1\1\40\uffff\1\2\1\0\u00e4\uffff}>"; 1960 }
1961 static final String[] DFA12_transitionS = { 1961 break;
1962 "\11\45\2\44\2\45\1\44\22\45\1\44\1\45\1\41\1\21\3\45\1\42\2\45\1\27\1\22\1\11\1\2\1\1\1\43\12\40\1\14\1\45\1\23\1\7\1\24\2\45\1\34\21\37\1\33\2\37\1\35\4\37\3\45\1\36\1\37\1\45\2\37\1\16\1\31\1\4\1\6\1\30\1\37\1\3\2\37\1\17\1\15\1\25\1\32\1\13\1\37\1\20\1\26\2\37\1\5\4\37\1\10\1\45\1\12\uff82\45", 1962 case 39 :
1963 "\1\46", 1963 // InternalApplicationConfiguration.g:1:238: T__49
1964 "", 1964 {
1965 "\1\51\1\52", 1965 mT__49();
1966 "\1\54\7\uffff\1\55", 1966
1967 "\1\56", 1967 }
1968 "\1\57\5\uffff\1\60\5\uffff\1\61", 1968 break;
1969 "", 1969 case 40 :
1970 "", 1970 // InternalApplicationConfiguration.g:1:244: T__50
1971 "", 1971 {
1972 "", 1972 mT__50();
1973 "\1\66", 1973
1974 "\1\67", 1974 }
1975 "\1\70\11\uffff\1\71", 1975 break;
1976 "\1\72", 1976 case 41 :
1977 "\1\73", 1977 // InternalApplicationConfiguration.g:1:250: T__51
1978 "\1\75\17\uffff\1\74", 1978 {
1979 "", 1979 mT__51();
1980 "\1\77", 1980
1981 "", 1981 }
1982 "", 1982 break;
1983 "\1\102\5\uffff\1\103", 1983 case 42 :
1984 "\1\105\13\uffff\1\106\4\uffff\1\104", 1984 // InternalApplicationConfiguration.g:1:256: T__52
1985 "", 1985 {
1986 "\1\110", 1986 mT__52();
1987 "\1\111", 1987
1988 "\1\112", 1988 }
1989 "\1\113", 1989 break;
1990 "\1\114", 1990 case 43 :
1991 "\1\115", 1991 // InternalApplicationConfiguration.g:1:262: T__53
1992 "\32\53\4\uffff\1\53\1\uffff\32\53", 1992 {
1993 "", 1993 mT__53();
1994 "", 1994
1995 "\0\117", 1995 }
1996 "\0\117", 1996 break;
1997 "\1\120\4\uffff\1\121", 1997 case 44 :
1998 "", 1998 // InternalApplicationConfiguration.g:1:268: T__54
1999 "", 1999 {
2000 "", 2000 mT__54();
2001 "", 2001
2002 "", 2002 }
2003 "\1\123", 2003 break;
2004 "\1\124", 2004 case 45 :
2005 "", 2005 // InternalApplicationConfiguration.g:1:274: T__55
2006 "\1\125", 2006 {
2007 "\1\126", 2007 mT__55();
2008 "\1\127", 2008
2009 "\1\130", 2009 }
2010 "\1\131", 2010 break;
2011 "\1\132", 2011 case 46 :
2012 "", 2012 // InternalApplicationConfiguration.g:1:280: T__56
2013 "", 2013 {
2014 "", 2014 mT__56();
2015 "", 2015
2016 "\1\133\16\uffff\1\134", 2016 }
2017 "", 2017 break;
2018 "\1\136\6\uffff\1\135", 2018 case 47 :
2019 "\1\137", 2019 // InternalApplicationConfiguration.g:1:286: T__57
2020 "\1\140", 2020 {
2021 "\1\141", 2021 mT__57();
2022 "\1\142", 2022
2023 "\1\143", 2023 }
2024 "", 2024 break;
2025 "", 2025 case 48 :
2026 "", 2026 // InternalApplicationConfiguration.g:1:292: T__58
2027 "", 2027 {
2028 "\1\144\11\uffff\1\145\3\uffff\1\146", 2028 mT__58();
2029 "\1\147", 2029
2030 "\1\151\20\uffff\1\150", 2030 }
2031 "\1\152", 2031 break;
2032 "\1\153", 2032 case 49 :
2033 "", 2033 // InternalApplicationConfiguration.g:1:298: T__59
2034 "\1\154", 2034 {
2035 "\1\155", 2035 mT__59();
2036 "\1\156", 2036
2037 "\1\157", 2037 }
2038 "\1\160", 2038 break;
2039 "\1\161", 2039 case 50 :
2040 "", 2040 // InternalApplicationConfiguration.g:1:304: T__60
2041 "", 2041 {
2042 "", 2042 mT__60();
2043 "", 2043
2044 "", 2044 }
2045 "\1\162", 2045 break;
2046 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2046 case 51 :
2047 "\1\164", 2047 // InternalApplicationConfiguration.g:1:310: T__61
2048 "\1\165", 2048 {
2049 "\1\166", 2049 mT__61();
2050 "\1\167", 2050
2051 "\1\170", 2051 }
2052 "\1\171", 2052 break;
2053 "\1\172", 2053 case 52 :
2054 "\1\173", 2054 // InternalApplicationConfiguration.g:1:316: T__62
2055 "\1\174", 2055 {
2056 "\1\175", 2056 mT__62();
2057 "\1\176", 2057
2058 "\1\u0080\14\uffff\1\177", 2058 }
2059 "\1\u0081\2\uffff\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2059 break;
2060 "\1\u0084\1\u0083", 2060 case 53 :
2061 "\1\u0085", 2061 // InternalApplicationConfiguration.g:1:322: T__63
2062 "\1\u0086", 2062 {
2063 "\1\u0087", 2063 mT__63();
2064 "\1\u0088", 2064
2065 "\1\u0089", 2065 }
2066 "\1\u008a", 2066 break;
2067 "\1\u008b", 2067 case 54 :
2068 "\1\u008c", 2068 // InternalApplicationConfiguration.g:1:328: RULE_ID
2069 "\1\u008d", 2069 {
2070 "\1\u008e", 2070 mRULE_ID();
2071 "\1\u008f", 2071
2072 "\1\u0090", 2072 }
2073 "\1\u0091", 2073 break;
2074 "\1\u0092", 2074 case 55 :
2075 "\1\u0093", 2075 // InternalApplicationConfiguration.g:1:336: RULE_INT
2076 "\1\u0094", 2076 {
2077 "", 2077 mRULE_INT();
2078 "\1\u0095", 2078
2079 "\1\u0096", 2079 }
2080 "\1\u0097", 2080 break;
2081 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2081 case 56 :
2082 "\1\u0099", 2082 // InternalApplicationConfiguration.g:1:345: RULE_STRING
2083 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2083 {
2084 "\1\u009b", 2084 mRULE_STRING();
2085 "\1\u009c", 2085
2086 "\1\u009d", 2086 }
2087 "\1\u009e", 2087 break;
2088 "\1\u009f", 2088 case 57 :
2089 "\1\u00a0", 2089 // InternalApplicationConfiguration.g:1:357: RULE_ML_COMMENT
2090 "\1\u00a1", 2090 {
2091 "", 2091 mRULE_ML_COMMENT();
2092 "", 2092
2093 "\1\u00a2", 2093 }
2094 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2094 break;
2095 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2095 case 58 :
2096 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2096 // InternalApplicationConfiguration.g:1:373: RULE_SL_COMMENT
2097 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2097 {
2098 "\1\u00a7", 2098 mRULE_SL_COMMENT();
2099 "\1\u00a8", 2099
2100 "\1\u00a9", 2100 }
2101 "\1\u00aa", 2101 break;
2102 "\1\u00ab", 2102 case 59 :
2103 "\1\u00ac", 2103 // InternalApplicationConfiguration.g:1:389: RULE_WS
2104 "\1\u00ad", 2104 {
2105 "\1\u00ae", 2105 mRULE_WS();
2106 "\1\u00af", 2106
2107 "\1\u00b0", 2107 }
2108 "\1\u00b1", 2108 break;
2109 "\1\u00b2", 2109 case 60 :
2110 "\1\u00b3", 2110 // InternalApplicationConfiguration.g:1:397: RULE_ANY_OTHER
2111 "\1\u00b4", 2111 {
2112 "\1\u00b5", 2112 mRULE_ANY_OTHER();
2113 "\1\u00b6", 2113
2114 "", 2114 }
2115 "\1\u00b7", 2115 break;
2116 "", 2116
2117 "\1\u00b8", 2117 }
2118 "\1\u00b9", 2118
2119 "\1\u00ba", 2119 }
2120 "\1\u00bb", 2120
2121 "\1\u00bc", 2121
2122 "\1\u00bd", 2122 protected DFA12 dfa12 = new DFA12(this);
2123 "\1\u00be", 2123 static final String DFA12_eotS =
2124 "\1\u00bf", 2124 "\1\uffff\1\47\1\uffff\4\53\4\uffff\1\53\1\45\5\53\1\uffff\1\45\1\105\1\107\2\53\1\uffff\5\53\1\45\2\uffff\3\45\5\uffff\2\53\1\uffff\6\53\4\uffff\1\53\1\uffff\12\53\6\uffff\5\53\1\uffff\5\53\5\uffff\1\53\1\174\21\53\1\u0090\20\53\1\uffff\3\53\1\u00a5\1\53\1\u00a7\11\53\1\u00b1\2\53\2\uffff\1\53\1\u00b5\1\u00b6\1\u00b7\1\u00b8\17\53\1\uffff\1\53\1\uffff\11\53\1\uffff\3\53\4\uffff\4\53\1\u00d9\2\53\1\u00dc\3\53\1\u00e0\2\53\1\u00e3\1\u00e4\3\53\1\u00e8\1\u00e9\3\53\1\u00ed\1\53\1\u00ef\1\53\1\u00f1\1\u00f2\1\u00f3\1\53\1\uffff\1\u00f5\1\53\1\uffff\3\53\1\uffff\2\53\2\uffff\1\u00fc\2\53\2\uffff\3\53\1\uffff\1\53\1\uffff\1\u0103\3\uffff\1\53\1\uffff\4\53\1\u0109\1\53\2\uffff\1\53\1\u010c\1\u010d\2\53\1\uffff\1\53\1\u0111\3\53\1\uffff\1\u0115\1\u0116\2\uffff\3\53\1\uffff\1\u011a\2\53\2\uffff\1\53\1\u011e\1\u011f\1\uffff\2\53\1\u0122\2\uffff\1\u0123\1\53\2\uffff\1\u0125\1\uffff";
2125 "", 2125 static final String DFA12_eofS =
2126 "", 2126 "\u0126\uffff";
2127 "", 2127 static final String DFA12_minS =
2128 "", 2128 "\1\0\1\56\1\uffff\1\155\1\160\2\151\4\uffff\1\141\1\72\1\141\1\157\1\142\1\157\1\145\1\uffff\3\75\1\157\1\143\1\uffff\2\145\1\115\1\154\1\151\1\101\2\uffff\2\0\1\52\5\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\3\154\4\uffff\1\143\1\uffff\1\155\1\144\1\156\1\170\1\156\1\152\1\164\1\147\1\156\1\141\6\uffff\1\144\1\155\1\141\1\157\1\154\1\uffff\1\156\1\142\1\124\1\154\1\141\5\uffff\1\157\1\60\1\143\1\154\1\164\1\145\1\144\1\154\1\153\1\164\1\141\1\157\1\145\2\151\1\146\1\164\1\145\1\160\1\55\1\163\1\154\2\145\1\155\1\142\1\151\1\164\1\160\1\166\1\145\1\165\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\60\1\145\1\60\1\141\1\151\1\155\1\162\1\154\2\155\1\164\1\151\1\60\1\143\1\165\2\uffff\1\151\4\60\1\141\1\145\1\156\1\151\2\145\1\162\1\147\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\uffff\1\162\1\uffff\1\147\1\141\1\157\1\171\1\163\2\151\1\162\1\147\1\uffff\2\164\1\155\4\uffff\1\154\1\162\1\147\1\163\1\60\1\162\1\141\1\60\1\154\1\123\1\141\1\60\1\147\1\151\2\60\1\145\1\154\1\144\2\60\2\172\1\141\1\60\1\151\1\60\1\145\3\60\1\164\1\uffff\1\60\1\164\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\2\uffff\1\60\1\55\1\145\2\uffff\2\145\1\151\1\uffff\1\166\1\uffff\1\60\3\uffff\1\151\1\uffff\2\145\1\154\1\157\1\60\1\147\2\uffff\1\154\2\60\1\156\1\145\1\uffff\1\143\1\60\1\162\1\166\1\154\1\uffff\2\60\2\uffff\1\164\2\163\1\uffff\1\60\1\145\1\166\2\uffff\1\163\2\60\1\uffff\1\162\1\145\1\60\2\uffff\1\60\1\162\2\uffff\1\60\1\uffff";
2129 "\1\u00c0", 2129 static final String DFA12_maxS =
2130 "\1\u00c1", 2130 "\1\uffff\1\56\1\uffff\1\156\1\170\1\151\1\165\4\uffff\1\141\1\72\2\157\1\165\1\157\1\165\1\uffff\3\75\1\165\1\164\1\uffff\2\145\1\115\1\154\1\151\1\172\2\uffff\2\uffff\1\57\5\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\3\154\4\uffff\1\162\1\uffff\1\164\1\144\1\156\1\170\1\163\1\152\1\164\1\147\1\156\1\141\6\uffff\1\162\1\155\1\162\1\157\1\154\1\uffff\1\156\1\142\1\124\1\154\1\141\5\uffff\1\157\1\172\1\143\1\154\1\164\1\145\1\144\1\154\1\153\1\164\1\141\1\157\1\145\2\151\1\163\1\164\1\145\1\160\1\172\1\164\1\154\2\145\1\155\1\142\1\151\1\164\1\160\1\166\1\145\1\165\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\172\1\145\1\172\1\141\1\151\1\155\1\162\1\154\2\155\1\164\1\151\1\172\1\143\1\165\2\uffff\1\151\4\172\1\141\1\145\1\156\1\151\2\145\1\162\1\147\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\uffff\1\162\1\uffff\1\147\1\141\1\157\1\171\1\163\2\151\1\162\1\147\1\uffff\2\164\1\155\4\uffff\1\154\1\162\1\147\1\163\1\172\1\162\1\141\1\172\1\154\1\123\1\141\1\172\1\147\1\151\2\172\1\145\1\154\1\144\4\172\1\141\1\172\1\151\1\172\1\145\3\172\1\164\1\uffff\1\172\1\164\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\2\uffff\1\172\1\55\1\145\2\uffff\2\145\1\151\1\uffff\1\166\1\uffff\1\172\3\uffff\1\151\1\uffff\2\145\1\154\1\157\1\172\1\147\2\uffff\1\154\2\172\1\156\1\145\1\uffff\1\143\1\172\1\162\1\166\1\154\1\uffff\2\172\2\uffff\1\164\2\163\1\uffff\1\172\1\145\1\166\2\uffff\1\163\2\172\1\uffff\1\162\1\145\1\172\2\uffff\1\172\1\162\2\uffff\1\172\1\uffff";
2131 "\1\u00c2", 2131 static final String DFA12_acceptS =
2132 "\1\u00c3", 2132 "\2\uffff\1\2\4\uffff\1\7\1\10\1\11\1\12\7\uffff\1\30\5\uffff\1\40\6\uffff\1\66\1\67\3\uffff\1\73\1\74\1\41\1\1\1\2\2\uffff\1\66\6\uffff\1\7\1\10\1\11\1\12\1\uffff\1\15\12\uffff\1\30\1\31\1\56\1\32\1\57\1\33\5\uffff\1\40\5\uffff\1\67\1\70\1\71\1\72\1\73\44\uffff\1\35\22\uffff\1\25\1\51\24\uffff\1\6\1\uffff\1\62\11\uffff\1\22\3\uffff\1\46\1\36\1\34\1\60\40\uffff\1\42\2\uffff\1\50\3\uffff\1\3\2\uffff\1\5\1\17\3\uffff\1\27\1\20\3\uffff\1\24\1\uffff\1\53\1\uffff\1\61\1\45\1\37\1\uffff\1\47\6\uffff\1\13\1\44\5\uffff\1\26\5\uffff\1\4\2\uffff\1\54\1\55\3\uffff\1\43\3\uffff\1\14\1\16\3\uffff\1\63\3\uffff\1\23\1\52\2\uffff\1\21\1\64\1\uffff\1\65";
2133 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2133 static final String DFA12_specialS =
2134 "\1\u00c5", 2134 "\1\0\40\uffff\1\1\1\2\u0103\uffff}>";
2135 "\1\u00c6", 2135 static final String[] DFA12_transitionS = {
2136 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2136 "\11\45\2\44\2\45\1\44\22\45\1\44\1\45\1\41\1\22\3\45\1\42\2\45\1\30\1\23\1\11\1\2\1\1\1\43\12\40\1\14\1\45\1\24\1\7\1\25\2\45\1\34\21\37\1\33\2\37\1\35\4\37\3\45\1\36\1\37\1\45\2\37\1\16\1\32\1\4\1\6\1\31\1\37\1\3\2\37\1\20\1\15\1\26\1\17\1\13\1\37\1\21\1\27\2\37\1\5\4\37\1\10\1\45\1\12\uff82\45",
2137 "\1\u00c8", 2137 "\1\46",
2138 "\1\u00c9", 2138 "",
2139 "\1\u00ca", 2139 "\1\51\1\52",
2140 "\1\u00cb", 2140 "\1\54\7\uffff\1\55",
2141 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2141 "\1\56",
2142 "\1\u00cd", 2142 "\1\57\5\uffff\1\60\5\uffff\1\61",
2143 "\1\u00ce", 2143 "",
2144 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2144 "",
2145 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2145 "",
2146 "\1\u00d1", 2146 "",
2147 "\1\u00d2", 2147 "\1\66",
2148 "\1\u00d3", 2148 "\1\67",
2149 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2149 "\1\73\3\uffff\1\70\3\uffff\1\72\5\uffff\1\71",
2150 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2150 "\1\74",
2151 "\1\u00d6", 2151 "\1\75\22\uffff\1\76",
2152 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2152 "\1\77",
2153 "\1\u00d8", 2153 "\1\101\17\uffff\1\100",
2154 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2154 "",
2155 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2155 "\1\103",
2156 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2156 "\1\104",
2157 "\1\u00dc", 2157 "\1\106",
2158 "", 2158 "\1\110\5\uffff\1\111",
2159 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2159 "\1\113\13\uffff\1\114\4\uffff\1\112",
2160 "\1\u00de", 2160 "",
2161 "", 2161 "\1\116",
2162 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2162 "\1\117",
2163 "\1\u00e0", 2163 "\1\120",
2164 "\1\u00e1", 2164 "\1\121",
2165 "\1\u00e2", 2165 "\1\122",
2166 "", 2166 "\32\53\4\uffff\1\53\1\uffff\32\53",
2167 "\1\u00e3", 2167 "",
2168 "\1\u00e4", 2168 "",
2169 "", 2169 "\0\124",
2170 "", 2170 "\0\124",
2171 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2171 "\1\125\4\uffff\1\126",
2172 "\1\u00e6", 2172 "",
2173 "\1\u00e7", 2173 "",
2174 "", 2174 "",
2175 "", 2175 "",
2176 "\1\u00e8", 2176 "",
2177 "", 2177 "\1\130",
2178 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2178 "\1\131",
2179 "", 2179 "",
2180 "", 2180 "\1\132",
2181 "", 2181 "\1\133",
2182 "\1\u00ea", 2182 "\1\134",
2183 "", 2183 "\1\135",
2184 "\1\u00eb", 2184 "\1\136",
2185 "", 2185 "\1\137",
2186 "\1\u00ec", 2186 "",
2187 "\1\u00ed", 2187 "",
2188 "\1\u00ee", 2188 "",
2189 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2189 "",
2190 "\1\u00f0", 2190 "\1\140\16\uffff\1\141",
2191 "", 2191 "",
2192 "", 2192 "\1\143\6\uffff\1\142",
2193 "\1\u00f1", 2193 "\1\144",
2194 "\1\u00f2", 2194 "\1\145",
2195 "", 2195 "\1\146",
2196 "\1\u00f3", 2196 "\1\147\4\uffff\1\150",
2197 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2197 "\1\151",
2198 "\1\u00f5", 2198 "\1\152",
2199 "\1\u00f6", 2199 "\1\153",
2200 "\1\u00f7", 2200 "\1\154",
2201 "", 2201 "\1\155",
2202 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2202 "",
2203 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2203 "",
2204 "\1\u00fa", 2204 "",
2205 "\1\u00fb", 2205 "",
2206 "", 2206 "",
2207 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2207 "",
2208 "\1\u00fd", 2208 "\1\156\11\uffff\1\157\3\uffff\1\160",
2209 "\1\u00fe", 2209 "\1\161",
2210 "", 2210 "\1\163\20\uffff\1\162",
2211 "", 2211 "\1\164",
2212 "\1\u00ff", 2212 "\1\165",
2213 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2213 "",
2214 "", 2214 "\1\166",
2215 "\1\u0101", 2215 "\1\167",
2216 "\1\u0102", 2216 "\1\170",
2217 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2217 "\1\171",
2218 "", 2218 "\1\172",
2219 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2219 "",
2220 "\1\u0105", 2220 "",
2221 "", 2221 "",
2222 "", 2222 "",
2223 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2223 "",
2224 "" 2224 "\1\173",
2225 }; 2225 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2226 2226 "\1\175",
2227 static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS); 2227 "\1\176",
2228 static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS); 2228 "\1\177",
2229 static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS); 2229 "\1\u0080",
2230 static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS); 2230 "\1\u0081",
2231 static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS); 2231 "\1\u0082",
2232 static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS); 2232 "\1\u0083",
2233 static final short[][] DFA12_transition; 2233 "\1\u0084",
2234 2234 "\1\u0085",
2235 static { 2235 "\1\u0086",
2236 int numStates = DFA12_transitionS.length; 2236 "\1\u0087",
2237 DFA12_transition = new short[numStates][]; 2237 "\1\u0088",
2238 for (int i=0; i<numStates; i++) { 2238 "\1\u0089",
2239 DFA12_transition[i] = DFA.unpackEncodedString(DFA12_transitionS[i]); 2239 "\1\u008b\14\uffff\1\u008a",
2240 } 2240 "\1\u008c",
2241 } 2241 "\1\u008d",
2242 2242 "\1\u008e",
2243 class DFA12 extends DFA { 2243 "\1\u008f\2\uffff\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2244 2244 "\1\u0092\1\u0091",
2245 public DFA12(BaseRecognizer recognizer) { 2245 "\1\u0093",
2246 this.recognizer = recognizer; 2246 "\1\u0094",
2247 this.decisionNumber = 12; 2247 "\1\u0095",
2248 this.eot = DFA12_eot; 2248 "\1\u0096",
2249 this.eof = DFA12_eof; 2249 "\1\u0097",
2250 this.min = DFA12_min; 2250 "\1\u0098",
2251 this.max = DFA12_max; 2251 "\1\u0099",
2252 this.accept = DFA12_accept; 2252 "\1\u009a",
2253 this.special = DFA12_special; 2253 "\1\u009b",
2254 this.transition = DFA12_transition; 2254 "\1\u009c",
2255 } 2255 "\1\u009d",
2256 public String getDescription() { 2256 "\1\u009e",
2257 return "1:1: Tokens : ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; 2257 "\1\u009f",
2258 } 2258 "\1\u00a0",
2259 public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { 2259 "\1\u00a1",
2260 IntStream input = _input; 2260 "",
2261 int _s = s; 2261 "\1\u00a2",
2262 switch ( s ) { 2262 "\1\u00a3",
2263 case 0 : 2263 "\1\u00a4",
2264 int LA12_34 = input.LA(1); 2264 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2265 2265 "\1\u00a6",
2266 s = -1; 2266 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2267 if ( ((LA12_34>='\u0000' && LA12_34<='\uFFFF')) ) {s = 79;} 2267 "\1\u00a8",
2268 2268 "\1\u00a9",
2269 else s = 37; 2269 "\1\u00aa",
2270 2270 "\1\u00ab",
2271 if ( s>=0 ) return s; 2271 "\1\u00ac",
2272 break; 2272 "\1\u00ad",
2273 case 1 : 2273 "\1\u00ae",
2274 int LA12_0 = input.LA(1); 2274 "\1\u00af",
2275 2275 "\1\u00b0",
2276 s = -1; 2276 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2277 if ( (LA12_0=='.') ) {s = 1;} 2277 "\1\u00b2",
2278 2278 "\1\u00b3",
2279 else if ( (LA12_0=='-') ) {s = 2;} 2279 "",
2280 2280 "",
2281 else if ( (LA12_0=='i') ) {s = 3;} 2281 "\1\u00b4",
2282 2282 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2283 else if ( (LA12_0=='e') ) {s = 4;} 2283 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2284 2284 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2285 else if ( (LA12_0=='v') ) {s = 5;} 2285 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2286 2286 "\1\u00b9",
2287 else if ( (LA12_0=='f') ) {s = 6;} 2287 "\1\u00ba",
2288 2288 "\1\u00bb",
2289 else if ( (LA12_0=='=') ) {s = 7;} 2289 "\1\u00bc",
2290 2290 "\1\u00bd",
2291 else if ( (LA12_0=='{') ) {s = 8;} 2291 "\1\u00be",
2292 2292 "\1\u00bf",
2293 else if ( (LA12_0==',') ) {s = 9;} 2293 "\1\u00c0",
2294 2294 "\1\u00c1",
2295 else if ( (LA12_0=='}') ) {s = 10;} 2295 "\1\u00c2",
2296 2296 "\1\u00c3",
2297 else if ( (LA12_0=='p') ) {s = 11;} 2297 "\1\u00c4",
2298 2298 "\1\u00c5",
2299 else if ( (LA12_0==':') ) {s = 12;} 2299 "\1\u00c6",
2300 2300 "\1\u00c7",
2301 else if ( (LA12_0=='m') ) {s = 13;} 2301 "",
2302 2302 "\1\u00c8",
2303 else if ( (LA12_0=='c') ) {s = 14;} 2303 "",
2304 2304 "\1\u00c9",
2305 else if ( (LA12_0=='l') ) {s = 15;} 2305 "\1\u00ca",
2306 2306 "\1\u00cb",
2307 else if ( (LA12_0=='r') ) {s = 16;} 2307 "\1\u00cc",
2308 2308 "\1\u00cd",
2309 else if ( (LA12_0=='#') ) {s = 17;} 2309 "\1\u00ce",
2310 2310 "\1\u00cf",
2311 else if ( (LA12_0=='+') ) {s = 18;} 2311 "\1\u00d0",
2312 2312 "\1\u00d1",
2313 else if ( (LA12_0=='<') ) {s = 19;} 2313 "",
2314 2314 "\1\u00d2",
2315 else if ( (LA12_0=='>') ) {s = 20;} 2315 "\1\u00d3",
2316 2316 "\1\u00d4",
2317 else if ( (LA12_0=='n') ) {s = 21;} 2317 "",
2318 2318 "",
2319 else if ( (LA12_0=='s') ) {s = 22;} 2319 "",
2320 2320 "",
2321 else if ( (LA12_0=='*') ) {s = 23;} 2321 "\1\u00d5",
2322 2322 "\1\u00d6",
2323 else if ( (LA12_0=='g') ) {s = 24;} 2323 "\1\u00d7",
2324 2324 "\1\u00d8",
2325 else if ( (LA12_0=='d') ) {s = 25;} 2325 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2326 2326 "\1\u00da",
2327 else if ( (LA12_0=='o') ) {s = 26;} 2327 "\1\u00db",
2328 2328 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2329 else if ( (LA12_0=='S') ) {s = 27;} 2329 "\1\u00dd",
2330 2330 "\1\u00de",
2331 else if ( (LA12_0=='A') ) {s = 28;} 2331 "\1\u00df",
2332 2332 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2333 else if ( (LA12_0=='V') ) {s = 29;} 2333 "\1\u00e1",
2334 2334 "\1\u00e2",
2335 else if ( (LA12_0=='^') ) {s = 30;} 2335 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2336 2336 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2337 else if ( ((LA12_0>='B' && LA12_0<='R')||(LA12_0>='T' && LA12_0<='U')||(LA12_0>='W' && LA12_0<='Z')||LA12_0=='_'||(LA12_0>='a' && LA12_0<='b')||LA12_0=='h'||(LA12_0>='j' && LA12_0<='k')||LA12_0=='q'||(LA12_0>='t' && LA12_0<='u')||(LA12_0>='w' && LA12_0<='z')) ) {s = 31;} 2337 "\1\u00e5",
2338 2338 "\1\u00e6",
2339 else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 32;} 2339 "\1\u00e7",
2340 2340 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2341 else if ( (LA12_0=='\"') ) {s = 33;} 2341 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2342 2342 "\1\u00ea",
2343 else if ( (LA12_0=='\'') ) {s = 34;} 2343 "\1\u00eb",
2344 2344 "\1\u00ec",
2345 else if ( (LA12_0=='/') ) {s = 35;} 2345 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2346 2346 "\1\u00ee",
2347 else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 36;} 2347 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2348 2348 "\1\u00f0",
2349 else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='$' && LA12_0<='&')||(LA12_0>='(' && LA12_0<=')')||LA12_0==';'||(LA12_0>='?' && LA12_0<='@')||(LA12_0>='[' && LA12_0<=']')||LA12_0=='`'||LA12_0=='|'||(LA12_0>='~' && LA12_0<='\uFFFF')) ) {s = 37;} 2349 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2350 2350 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2351 if ( s>=0 ) return s; 2351 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2352 break; 2352 "\1\u00f4",
2353 case 2 : 2353 "",
2354 int LA12_33 = input.LA(1); 2354 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2355 2355 "\1\u00f6",
2356 s = -1; 2356 "",
2357 if ( ((LA12_33>='\u0000' && LA12_33<='\uFFFF')) ) {s = 79;} 2357 "\1\u00f7",
2358 2358 "\1\u00f8",
2359 else s = 37; 2359 "\1\u00f9",
2360 2360 "",
2361 if ( s>=0 ) return s; 2361 "\1\u00fa",
2362 break; 2362 "\1\u00fb",
2363 } 2363 "",
2364 NoViableAltException nvae = 2364 "",
2365 new NoViableAltException(getDescription(), 12, _s, input); 2365 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2366 error(nvae); 2366 "\1\u00fd",
2367 throw nvae; 2367 "\1\u00fe",
2368 } 2368 "",
2369 } 2369 "",
2370 2370 "\1\u00ff",
2371 2371 "\1\u0100",
2372 "\1\u0101",
2373 "",
2374 "\1\u0102",
2375 "",
2376 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2377 "",
2378 "",
2379 "",
2380 "\1\u0104",
2381 "",
2382 "\1\u0105",
2383 "\1\u0106",
2384 "\1\u0107",
2385 "\1\u0108",
2386 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2387 "\1\u010a",
2388 "",
2389 "",
2390 "\1\u010b",
2391 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2392 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2393 "\1\u010e",
2394 "\1\u010f",
2395 "",
2396 "\1\u0110",
2397 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2398 "\1\u0112",
2399 "\1\u0113",
2400 "\1\u0114",
2401 "",
2402 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2403 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2404 "",
2405 "",
2406 "\1\u0117",
2407 "\1\u0118",
2408 "\1\u0119",
2409 "",
2410 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2411 "\1\u011b",
2412 "\1\u011c",
2413 "",
2414 "",
2415 "\1\u011d",
2416 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2417 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2418 "",
2419 "\1\u0120",
2420 "\1\u0121",
2421 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2422 "",
2423 "",
2424 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2425 "\1\u0124",
2426 "",
2427 "",
2428 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2429 ""
2430 };
2431
2432 static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS);
2433 static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS);
2434 static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS);
2435 static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS);
2436 static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS);
2437 static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS);
2438 static final short[][] DFA12_transition;
2439
2440 static {
2441 int numStates = DFA12_transitionS.length;
2442 DFA12_transition = new short[numStates][];
2443 for (int i=0; i<numStates; i++) {
2444 DFA12_transition[i] = DFA.unpackEncodedString(DFA12_transitionS[i]);
2445 }
2446 }
2447
2448 class DFA12 extends DFA {
2449
2450 public DFA12(BaseRecognizer recognizer) {
2451 this.recognizer = recognizer;
2452 this.decisionNumber = 12;
2453 this.eot = DFA12_eot;
2454 this.eof = DFA12_eof;
2455 this.min = DFA12_min;
2456 this.max = DFA12_max;
2457 this.accept = DFA12_accept;
2458 this.special = DFA12_special;
2459 this.transition = DFA12_transition;
2460 }
2461 public String getDescription() {
2462 return "1:1: Tokens : ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
2463 }
2464 public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
2465 IntStream input = _input;
2466 int _s = s;
2467 switch ( s ) {
2468 case 0 :
2469 int LA12_0 = input.LA(1);
2470
2471 s = -1;
2472 if ( (LA12_0=='.') ) {s = 1;}
2473
2474 else if ( (LA12_0=='-') ) {s = 2;}
2475
2476 else if ( (LA12_0=='i') ) {s = 3;}
2477
2478 else if ( (LA12_0=='e') ) {s = 4;}
2479
2480 else if ( (LA12_0=='v') ) {s = 5;}
2481
2482 else if ( (LA12_0=='f') ) {s = 6;}
2483
2484 else if ( (LA12_0=='=') ) {s = 7;}
2485
2486 else if ( (LA12_0=='{') ) {s = 8;}
2487
2488 else if ( (LA12_0==',') ) {s = 9;}
2489
2490 else if ( (LA12_0=='}') ) {s = 10;}
2491
2492 else if ( (LA12_0=='p') ) {s = 11;}
2493
2494 else if ( (LA12_0==':') ) {s = 12;}
2495
2496 else if ( (LA12_0=='m') ) {s = 13;}
2497
2498 else if ( (LA12_0=='c') ) {s = 14;}
2499
2500 else if ( (LA12_0=='o') ) {s = 15;}
2501
2502 else if ( (LA12_0=='l') ) {s = 16;}
2503
2504 else if ( (LA12_0=='r') ) {s = 17;}
2505
2506 else if ( (LA12_0=='#') ) {s = 18;}
2507
2508 else if ( (LA12_0=='+') ) {s = 19;}
2509
2510 else if ( (LA12_0=='<') ) {s = 20;}
2511
2512 else if ( (LA12_0=='>') ) {s = 21;}
2513
2514 else if ( (LA12_0=='n') ) {s = 22;}
2515
2516 else if ( (LA12_0=='s') ) {s = 23;}
2517
2518 else if ( (LA12_0=='*') ) {s = 24;}
2519
2520 else if ( (LA12_0=='g') ) {s = 25;}
2521
2522 else if ( (LA12_0=='d') ) {s = 26;}
2523
2524 else if ( (LA12_0=='S') ) {s = 27;}
2525
2526 else if ( (LA12_0=='A') ) {s = 28;}
2527
2528 else if ( (LA12_0=='V') ) {s = 29;}
2529
2530 else if ( (LA12_0=='^') ) {s = 30;}
2531
2532 else if ( ((LA12_0>='B' && LA12_0<='R')||(LA12_0>='T' && LA12_0<='U')||(LA12_0>='W' && LA12_0<='Z')||LA12_0=='_'||(LA12_0>='a' && LA12_0<='b')||LA12_0=='h'||(LA12_0>='j' && LA12_0<='k')||LA12_0=='q'||(LA12_0>='t' && LA12_0<='u')||(LA12_0>='w' && LA12_0<='z')) ) {s = 31;}
2533
2534 else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 32;}
2535
2536 else if ( (LA12_0=='\"') ) {s = 33;}
2537
2538 else if ( (LA12_0=='\'') ) {s = 34;}
2539
2540 else if ( (LA12_0=='/') ) {s = 35;}
2541
2542 else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 36;}
2543
2544 else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='$' && LA12_0<='&')||(LA12_0>='(' && LA12_0<=')')||LA12_0==';'||(LA12_0>='?' && LA12_0<='@')||(LA12_0>='[' && LA12_0<=']')||LA12_0=='`'||LA12_0=='|'||(LA12_0>='~' && LA12_0<='\uFFFF')) ) {s = 37;}
2545
2546 if ( s>=0 ) return s;
2547 break;
2548 case 1 :
2549 int LA12_33 = input.LA(1);
2550
2551 s = -1;
2552 if ( ((LA12_33>='\u0000' && LA12_33<='\uFFFF')) ) {s = 84;}
2553
2554 else s = 37;
2555
2556 if ( s>=0 ) return s;
2557 break;
2558 case 2 :
2559 int LA12_34 = input.LA(1);
2560
2561 s = -1;
2562 if ( ((LA12_34>='\u0000' && LA12_34<='\uFFFF')) ) {s = 84;}
2563
2564 else s = 37;
2565
2566 if ( s>=0 ) return s;
2567 break;
2568 }
2569 NoViableAltException nvae =
2570 new NoViableAltException(getDescription(), 12, _s, input);
2571 error(nvae);
2572 throw nvae;
2573 }
2574 }
2575
2576
2372} \ No newline at end of file 2577} \ No newline at end of file
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java
index 015e5da9..717b4c46 100644
--- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java
+++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java
@@ -1,11660 +1,13395 @@
1package hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal; 1package hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal;
2 2
3import org.eclipse.xtext.*; 3import org.eclipse.xtext.*;
4import org.eclipse.xtext.parser.*; 4import org.eclipse.xtext.parser.*;
5import org.eclipse.xtext.parser.impl.*; 5import org.eclipse.xtext.parser.impl.*;
6import org.eclipse.emf.ecore.util.EcoreUtil; 6import org.eclipse.emf.ecore.util.EcoreUtil;
7import org.eclipse.emf.ecore.EObject; 7import org.eclipse.emf.ecore.EObject;
8import org.eclipse.emf.common.util.Enumerator; 8import org.eclipse.emf.common.util.Enumerator;
9import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; 9import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
10import org.eclipse.xtext.parser.antlr.XtextTokenStream; 10import org.eclipse.xtext.parser.antlr.XtextTokenStream;
11import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; 11import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
12import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; 12import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
13import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; 13import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess;
14 14
15 15
16 16
17import org.antlr.runtime.*; 17import org.antlr.runtime.*;
18import java.util.Stack; 18import java.util.Stack;
19import java.util.List; 19import java.util.List;
20import java.util.ArrayList; 20import java.util.ArrayList;
21 21
22@SuppressWarnings("all") 22@SuppressWarnings("all")
23public class InternalApplicationConfigurationParser extends AbstractInternalAntlrParser { 23public class InternalApplicationConfigurationParser extends AbstractInternalAntlrParser {
24 public static final String[] tokenNames = new String[] { 24 public static final String[] tokenNames = new String[] {
25 "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'.'", "'-'", "'import'", "'epackage'", "'viatra'", "'file'", "'='", "'{'", "','", "'}'", "'package'", "'excluding'", "'::'", "'metamodel'", "'folder'", "'models'", "'constraints'", "'config'", "'log-level'", "'runtime'", "'memory'", "'#'", "'+='", "'<'", "'>'", "'node'", "'int'", "'real'", "'string'", "'*'", "'..'", "'scope'", "'generate'", "'partial-model'", "'number'", "'runs'", "'solver'", "'debug'", "'log'", "'statistics'", "'output'", "'none'", "'normal'", "'full'", "'SMTSolver'", "'AlloySolver'", "'ViatraSolver'" 25 "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'.'", "'-'", "'import'", "'epackage'", "'viatra'", "'file'", "'='", "'{'", "','", "'}'", "'package'", "'excluding'", "'::'", "'metamodel'", "'folder'", "'models'", "'constraints'", "'cost'", "'objectives'", "'config'", "'log-level'", "'runtime'", "'memory'", "'#'", "'+='", "'<'", "'>'", "'node'", "'int'", "'real'", "'string'", "'*'", "'..'", "'scope'", "'generate'", "'partial-model'", "'number'", "'runs'", "'solver'", "'debug'", "'log'", "'statistics'", "'output'", "'minimize'", "'maximize'", "'<='", "'>='", "'none'", "'normal'", "'full'", "'SMTSolver'", "'AlloySolver'", "'ViatraSolver'"
26 }; 26 };
27 public static final int T__50=50; 27 public static final int T__50=50;
28 public static final int T__19=19; 28 public static final int T__19=19;
29 public static final int T__15=15; 29 public static final int T__15=15;
30 public static final int T__16=16; 30 public static final int T__59=59;
31 public static final int T__17=17; 31 public static final int T__16=16;
32 public static final int T__18=18; 32 public static final int T__17=17;
33 public static final int T__11=11; 33 public static final int T__18=18;
34 public static final int T__55=55; 34 public static final int T__11=11;
35 public static final int T__12=12; 35 public static final int T__55=55;
36 public static final int T__56=56; 36 public static final int T__12=12;
37 public static final int T__13=13; 37 public static final int T__56=56;
38 public static final int T__57=57; 38 public static final int T__13=13;
39 public static final int T__14=14; 39 public static final int T__57=57;
40 public static final int T__51=51; 40 public static final int T__14=14;
41 public static final int T__52=52; 41 public static final int T__58=58;
42 public static final int T__53=53; 42 public static final int T__51=51;
43 public static final int T__54=54; 43 public static final int T__52=52;
44 public static final int RULE_ID=4; 44 public static final int T__53=53;
45 public static final int T__26=26; 45 public static final int T__54=54;
46 public static final int T__27=27; 46 public static final int T__60=60;
47 public static final int T__28=28; 47 public static final int T__61=61;
48 public static final int RULE_INT=5; 48 public static final int RULE_ID=4;
49 public static final int T__29=29; 49 public static final int T__26=26;
50 public static final int T__22=22; 50 public static final int T__27=27;
51 public static final int RULE_ML_COMMENT=7; 51 public static final int T__28=28;
52 public static final int T__23=23; 52 public static final int RULE_INT=5;
53 public static final int T__24=24; 53 public static final int T__29=29;
54 public static final int T__25=25; 54 public static final int T__22=22;
55 public static final int T__20=20; 55 public static final int RULE_ML_COMMENT=7;
56 public static final int T__21=21; 56 public static final int T__23=23;
57 public static final int RULE_STRING=6; 57 public static final int T__24=24;
58 public static final int RULE_SL_COMMENT=8; 58 public static final int T__25=25;
59 public static final int T__37=37; 59 public static final int T__62=62;
60 public static final int T__38=38; 60 public static final int T__63=63;
61 public static final int T__39=39; 61 public static final int T__20=20;
62 public static final int T__33=33; 62 public static final int T__21=21;
63 public static final int T__34=34; 63 public static final int RULE_STRING=6;
64 public static final int T__35=35; 64 public static final int RULE_SL_COMMENT=8;
65 public static final int T__36=36; 65 public static final int T__37=37;
66 public static final int EOF=-1; 66 public static final int T__38=38;
67 public static final int T__30=30; 67 public static final int T__39=39;
68 public static final int T__31=31; 68 public static final int T__33=33;
69 public static final int T__32=32; 69 public static final int T__34=34;
70 public static final int RULE_WS=9; 70 public static final int T__35=35;
71 public static final int RULE_ANY_OTHER=10; 71 public static final int T__36=36;
72 public static final int T__48=48; 72 public static final int EOF=-1;
73 public static final int T__49=49; 73 public static final int T__30=30;
74 public static final int T__44=44; 74 public static final int T__31=31;
75 public static final int T__45=45; 75 public static final int T__32=32;
76 public static final int T__46=46; 76 public static final int RULE_WS=9;
77 public static final int T__47=47; 77 public static final int RULE_ANY_OTHER=10;
78 public static final int T__40=40; 78 public static final int T__48=48;
79 public static final int T__41=41; 79 public static final int T__49=49;
80 public static final int T__42=42; 80 public static final int T__44=44;
81 public static final int T__43=43; 81 public static final int T__45=45;
82 82 public static final int T__46=46;
83 // delegates 83 public static final int T__47=47;
84 // delegators 84 public static final int T__40=40;
85 85 public static final int T__41=41;
86 86 public static final int T__42=42;
87 public InternalApplicationConfigurationParser(TokenStream input) { 87 public static final int T__43=43;
88 this(input, new RecognizerSharedState()); 88
89 } 89 // delegates
90 public InternalApplicationConfigurationParser(TokenStream input, RecognizerSharedState state) { 90 // delegators
91 super(input, state); 91
92 92
93 } 93 public InternalApplicationConfigurationParser(TokenStream input) {
94 94 this(input, new RecognizerSharedState());
95 95 }
96 public String[] getTokenNames() { return InternalApplicationConfigurationParser.tokenNames; } 96 public InternalApplicationConfigurationParser(TokenStream input, RecognizerSharedState state) {
97 public String getGrammarFileName() { return "InternalApplicationConfiguration.g"; } 97 super(input, state);
98 98
99 99 }
100 100
101 private ApplicationConfigurationGrammarAccess grammarAccess; 101
102 102 public String[] getTokenNames() { return InternalApplicationConfigurationParser.tokenNames; }
103 public InternalApplicationConfigurationParser(TokenStream input, ApplicationConfigurationGrammarAccess grammarAccess) { 103 public String getGrammarFileName() { return "InternalApplicationConfiguration.g"; }
104 this(input); 104
105 this.grammarAccess = grammarAccess; 105
106 registerRules(grammarAccess.getGrammar()); 106
107 } 107 private ApplicationConfigurationGrammarAccess grammarAccess;
108 108
109 @Override 109 public InternalApplicationConfigurationParser(TokenStream input, ApplicationConfigurationGrammarAccess grammarAccess) {
110 protected String getFirstRuleName() { 110 this(input);
111 return "ConfigurationScript"; 111 this.grammarAccess = grammarAccess;
112 } 112 registerRules(grammarAccess.getGrammar());
113 113 }
114 @Override 114
115 protected ApplicationConfigurationGrammarAccess getGrammarAccess() { 115 @Override
116 return grammarAccess; 116 protected String getFirstRuleName() {
117 } 117 return "ConfigurationScript";
118 118 }
119 119
120 120 @Override
121 121 protected ApplicationConfigurationGrammarAccess getGrammarAccess() {
122 // $ANTLR start "entryRuleConfigurationScript" 122 return grammarAccess;
123 // InternalApplicationConfiguration.g:65:1: entryRuleConfigurationScript returns [EObject current=null] : iv_ruleConfigurationScript= ruleConfigurationScript EOF ; 123 }
124 public final EObject entryRuleConfigurationScript() throws RecognitionException { 124
125 EObject current = null; 125
126 126
127 EObject iv_ruleConfigurationScript = null; 127
128 128 // $ANTLR start "entryRuleConfigurationScript"
129 129 // InternalApplicationConfiguration.g:65:1: entryRuleConfigurationScript returns [EObject current=null] : iv_ruleConfigurationScript= ruleConfigurationScript EOF ;
130 try { 130 public final EObject entryRuleConfigurationScript() throws RecognitionException {
131 // InternalApplicationConfiguration.g:65:60: (iv_ruleConfigurationScript= ruleConfigurationScript EOF ) 131 EObject current = null;
132 // InternalApplicationConfiguration.g:66:2: iv_ruleConfigurationScript= ruleConfigurationScript EOF 132
133 { 133 EObject iv_ruleConfigurationScript = null;
134 newCompositeNode(grammarAccess.getConfigurationScriptRule()); 134
135 pushFollow(FOLLOW_1); 135
136 iv_ruleConfigurationScript=ruleConfigurationScript(); 136 try {
137 137 // InternalApplicationConfiguration.g:65:60: (iv_ruleConfigurationScript= ruleConfigurationScript EOF )
138 state._fsp--; 138 // InternalApplicationConfiguration.g:66:2: iv_ruleConfigurationScript= ruleConfigurationScript EOF
139 139 {
140 current =iv_ruleConfigurationScript; 140 newCompositeNode(grammarAccess.getConfigurationScriptRule());
141 match(input,EOF,FOLLOW_2); 141 pushFollow(FOLLOW_1);
142 142 iv_ruleConfigurationScript=ruleConfigurationScript();
143 } 143
144 144 state._fsp--;
145 } 145
146 146 current =iv_ruleConfigurationScript;
147 catch (RecognitionException re) { 147 match(input,EOF,FOLLOW_2);
148 recover(input,re); 148
149 appendSkippedTokens(); 149 }
150 } 150
151 finally { 151 }
152 } 152
153 return current; 153 catch (RecognitionException re) {
154 } 154 recover(input,re);
155 // $ANTLR end "entryRuleConfigurationScript" 155 appendSkippedTokens();
156 156 }
157 157 finally {
158 // $ANTLR start "ruleConfigurationScript" 158 }
159 // InternalApplicationConfiguration.g:72:1: ruleConfigurationScript returns [EObject current=null] : ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) ; 159 return current;
160 public final EObject ruleConfigurationScript() throws RecognitionException { 160 }
161 EObject current = null; 161 // $ANTLR end "entryRuleConfigurationScript"
162 162
163 EObject lv_imports_0_0 = null; 163
164 164 // $ANTLR start "ruleConfigurationScript"
165 EObject lv_commands_1_0 = null; 165 // InternalApplicationConfiguration.g:72:1: ruleConfigurationScript returns [EObject current=null] : ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) ;
166 166 public final EObject ruleConfigurationScript() throws RecognitionException {
167 167 EObject current = null;
168 168
169 enterRule(); 169 EObject lv_imports_0_0 = null;
170 170
171 try { 171 EObject lv_commands_1_0 = null;
172 // InternalApplicationConfiguration.g:78:2: ( ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) ) 172
173 // InternalApplicationConfiguration.g:79:2: ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) 173
174 { 174
175 // InternalApplicationConfiguration.g:79:2: ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) 175 enterRule();
176 // InternalApplicationConfiguration.g:80:3: ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* 176
177 { 177 try {
178 // InternalApplicationConfiguration.g:80:3: ( (lv_imports_0_0= ruleImport ) )* 178 // InternalApplicationConfiguration.g:78:2: ( ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) )
179 loop1: 179 // InternalApplicationConfiguration.g:79:2: ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* )
180 do { 180 {
181 int alt1=2; 181 // InternalApplicationConfiguration.g:79:2: ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* )
182 int LA1_0 = input.LA(1); 182 // InternalApplicationConfiguration.g:80:3: ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )*
183 183 {
184 if ( (LA1_0==13) ) { 184 // InternalApplicationConfiguration.g:80:3: ( (lv_imports_0_0= ruleImport ) )*
185 alt1=1; 185 loop1:
186 } 186 do {
187 187 int alt1=2;
188 188 int LA1_0 = input.LA(1);
189 switch (alt1) { 189
190 case 1 : 190 if ( (LA1_0==13) ) {
191 // InternalApplicationConfiguration.g:81:4: (lv_imports_0_0= ruleImport ) 191 alt1=1;
192 { 192 }
193 // InternalApplicationConfiguration.g:81:4: (lv_imports_0_0= ruleImport ) 193
194 // InternalApplicationConfiguration.g:82:5: lv_imports_0_0= ruleImport 194
195 { 195 switch (alt1) {
196 196 case 1 :
197 newCompositeNode(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); 197 // InternalApplicationConfiguration.g:81:4: (lv_imports_0_0= ruleImport )
198 198 {
199 pushFollow(FOLLOW_3); 199 // InternalApplicationConfiguration.g:81:4: (lv_imports_0_0= ruleImport )
200 lv_imports_0_0=ruleImport(); 200 // InternalApplicationConfiguration.g:82:5: lv_imports_0_0= ruleImport
201 201 {
202 state._fsp--; 202
203 203 newCompositeNode(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0());
204 204
205 if (current==null) { 205 pushFollow(FOLLOW_3);
206 current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); 206 lv_imports_0_0=ruleImport();
207 } 207
208 add( 208 state._fsp--;
209 current, 209
210 "imports", 210
211 lv_imports_0_0, 211 if (current==null) {
212 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import"); 212 current = createModelElementForParent(grammarAccess.getConfigurationScriptRule());
213 afterParserOrEnumRuleCall(); 213 }
214 214 add(
215 215 current,
216 } 216 "imports",
217 217 lv_imports_0_0,
218 218 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import");
219 } 219 afterParserOrEnumRuleCall();
220 break; 220
221 221
222 default : 222 }
223 break loop1; 223
224 } 224
225 } while (true); 225 }
226 226 break;
227 // InternalApplicationConfiguration.g:99:3: ( (lv_commands_1_0= ruleCommand ) )* 227
228 loop2: 228 default :
229 do { 229 break loop1;
230 int alt2=2; 230 }
231 int LA2_0 = input.LA(1); 231 } while (true);
232 232
233 if ( (LA2_0==16||LA2_0==24||(LA2_0>=26 && LA2_0<=28)||(LA2_0>=42 && LA2_0<=43)) ) { 233 // InternalApplicationConfiguration.g:99:3: ( (lv_commands_1_0= ruleCommand ) )*
234 alt2=1; 234 loop2:
235 } 235 do {
236 236 int alt2=2;
237 237 int LA2_0 = input.LA(1);
238 switch (alt2) { 238
239 case 1 : 239 if ( (LA2_0==16||LA2_0==24||(LA2_0>=26 && LA2_0<=27)||(LA2_0>=29 && LA2_0<=30)||(LA2_0>=44 && LA2_0<=45)) ) {
240 // InternalApplicationConfiguration.g:100:4: (lv_commands_1_0= ruleCommand ) 240 alt2=1;
241 { 241 }
242 // InternalApplicationConfiguration.g:100:4: (lv_commands_1_0= ruleCommand ) 242
243 // InternalApplicationConfiguration.g:101:5: lv_commands_1_0= ruleCommand 243
244 { 244 switch (alt2) {
245 245 case 1 :
246 newCompositeNode(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); 246 // InternalApplicationConfiguration.g:100:4: (lv_commands_1_0= ruleCommand )
247 247 {
248 pushFollow(FOLLOW_4); 248 // InternalApplicationConfiguration.g:100:4: (lv_commands_1_0= ruleCommand )
249 lv_commands_1_0=ruleCommand(); 249 // InternalApplicationConfiguration.g:101:5: lv_commands_1_0= ruleCommand
250 250 {
251 state._fsp--; 251
252 252 newCompositeNode(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0());
253 253
254 if (current==null) { 254 pushFollow(FOLLOW_4);
255 current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); 255 lv_commands_1_0=ruleCommand();
256 } 256
257 add( 257 state._fsp--;
258 current, 258
259 "commands", 259
260 lv_commands_1_0, 260 if (current==null) {
261 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Command"); 261 current = createModelElementForParent(grammarAccess.getConfigurationScriptRule());
262 afterParserOrEnumRuleCall(); 262 }
263 263 add(
264 264 current,
265 } 265 "commands",
266 266 lv_commands_1_0,
267 267 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Command");
268 } 268 afterParserOrEnumRuleCall();
269 break; 269
270 270
271 default : 271 }
272 break loop2; 272
273 } 273
274 } while (true); 274 }
275 275 break;
276 276
277 } 277 default :
278 278 break loop2;
279 279 }
280 } 280 } while (true);
281 281
282 282
283 leaveRule(); 283 }
284 284
285 } 285
286 286 }
287 catch (RecognitionException re) { 287
288 recover(input,re); 288
289 appendSkippedTokens(); 289 leaveRule();
290 } 290
291 finally { 291 }
292 } 292
293 return current; 293 catch (RecognitionException re) {
294 } 294 recover(input,re);
295 // $ANTLR end "ruleConfigurationScript" 295 appendSkippedTokens();
296 296 }
297 297 finally {
298 // $ANTLR start "entryRuleCommand" 298 }
299 // InternalApplicationConfiguration.g:122:1: entryRuleCommand returns [EObject current=null] : iv_ruleCommand= ruleCommand EOF ; 299 return current;
300 public final EObject entryRuleCommand() throws RecognitionException { 300 }
301 EObject current = null; 301 // $ANTLR end "ruleConfigurationScript"
302 302
303 EObject iv_ruleCommand = null; 303
304 304 // $ANTLR start "entryRuleCommand"
305 305 // InternalApplicationConfiguration.g:122:1: entryRuleCommand returns [EObject current=null] : iv_ruleCommand= ruleCommand EOF ;
306 try { 306 public final EObject entryRuleCommand() throws RecognitionException {
307 // InternalApplicationConfiguration.g:122:48: (iv_ruleCommand= ruleCommand EOF ) 307 EObject current = null;
308 // InternalApplicationConfiguration.g:123:2: iv_ruleCommand= ruleCommand EOF 308
309 { 309 EObject iv_ruleCommand = null;
310 newCompositeNode(grammarAccess.getCommandRule()); 310
311 pushFollow(FOLLOW_1); 311
312 iv_ruleCommand=ruleCommand(); 312 try {
313 313 // InternalApplicationConfiguration.g:122:48: (iv_ruleCommand= ruleCommand EOF )
314 state._fsp--; 314 // InternalApplicationConfiguration.g:123:2: iv_ruleCommand= ruleCommand EOF
315 315 {
316 current =iv_ruleCommand; 316 newCompositeNode(grammarAccess.getCommandRule());
317 match(input,EOF,FOLLOW_2); 317 pushFollow(FOLLOW_1);
318 318 iv_ruleCommand=ruleCommand();
319 } 319
320 320 state._fsp--;
321 } 321
322 322 current =iv_ruleCommand;
323 catch (RecognitionException re) { 323 match(input,EOF,FOLLOW_2);
324 recover(input,re); 324
325 appendSkippedTokens(); 325 }
326 } 326
327 finally { 327 }
328 } 328
329 return current; 329 catch (RecognitionException re) {
330 } 330 recover(input,re);
331 // $ANTLR end "entryRuleCommand" 331 appendSkippedTokens();
332 332 }
333 333 finally {
334 // $ANTLR start "ruleCommand" 334 }
335 // InternalApplicationConfiguration.g:129:1: ruleCommand returns [EObject current=null] : (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) ; 335 return current;
336 public final EObject ruleCommand() throws RecognitionException { 336 }
337 EObject current = null; 337 // $ANTLR end "entryRuleCommand"
338 338
339 EObject this_Declaration_0 = null; 339
340 340 // $ANTLR start "ruleCommand"
341 EObject this_Task_1 = null; 341 // InternalApplicationConfiguration.g:129:1: ruleCommand returns [EObject current=null] : (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) ;
342 342 public final EObject ruleCommand() throws RecognitionException {
343 343 EObject current = null;
344 344
345 enterRule(); 345 EObject this_Declaration_0 = null;
346 346
347 try { 347 EObject this_Task_1 = null;
348 // InternalApplicationConfiguration.g:135:2: ( (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) ) 348
349 // InternalApplicationConfiguration.g:136:2: (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) 349
350 { 350
351 // InternalApplicationConfiguration.g:136:2: (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) 351 enterRule();
352 int alt3=2; 352
353 int LA3_0 = input.LA(1); 353 try {
354 354 // InternalApplicationConfiguration.g:135:2: ( (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) )
355 if ( (LA3_0==16||LA3_0==24||(LA3_0>=26 && LA3_0<=28)||LA3_0==42) ) { 355 // InternalApplicationConfiguration.g:136:2: (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask )
356 alt3=1; 356 {
357 } 357 // InternalApplicationConfiguration.g:136:2: (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask )
358 else if ( (LA3_0==43) ) { 358 int alt3=2;
359 alt3=2; 359 int LA3_0 = input.LA(1);
360 } 360
361 else { 361 if ( (LA3_0==16||LA3_0==24||(LA3_0>=26 && LA3_0<=27)||(LA3_0>=29 && LA3_0<=30)||LA3_0==44) ) {
362 NoViableAltException nvae = 362 alt3=1;
363 new NoViableAltException("", 3, 0, input); 363 }
364 364 else if ( (LA3_0==45) ) {
365 throw nvae; 365 alt3=2;
366 } 366 }
367 switch (alt3) { 367 else {
368 case 1 : 368 NoViableAltException nvae =
369 // InternalApplicationConfiguration.g:137:3: this_Declaration_0= ruleDeclaration 369 new NoViableAltException("", 3, 0, input);
370 { 370
371 371 throw nvae;
372 newCompositeNode(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0()); 372 }
373 373 switch (alt3) {
374 pushFollow(FOLLOW_2); 374 case 1 :
375 this_Declaration_0=ruleDeclaration(); 375 // InternalApplicationConfiguration.g:137:3: this_Declaration_0= ruleDeclaration
376 376 {
377 state._fsp--; 377
378 378 newCompositeNode(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0());
379 379
380 current = this_Declaration_0; 380 pushFollow(FOLLOW_2);
381 afterParserOrEnumRuleCall(); 381 this_Declaration_0=ruleDeclaration();
382 382
383 383 state._fsp--;
384 } 384
385 break; 385
386 case 2 : 386 current = this_Declaration_0;
387 // InternalApplicationConfiguration.g:146:3: this_Task_1= ruleTask 387 afterParserOrEnumRuleCall();
388 { 388
389 389
390 newCompositeNode(grammarAccess.getCommandAccess().getTaskParserRuleCall_1()); 390 }
391 391 break;
392 pushFollow(FOLLOW_2); 392 case 2 :
393 this_Task_1=ruleTask(); 393 // InternalApplicationConfiguration.g:146:3: this_Task_1= ruleTask
394 394 {
395 state._fsp--; 395
396 396 newCompositeNode(grammarAccess.getCommandAccess().getTaskParserRuleCall_1());
397 397
398 current = this_Task_1; 398 pushFollow(FOLLOW_2);
399 afterParserOrEnumRuleCall(); 399 this_Task_1=ruleTask();
400 400
401 401 state._fsp--;
402 } 402
403 break; 403
404 404 current = this_Task_1;
405 } 405 afterParserOrEnumRuleCall();
406 406
407 407
408 } 408 }
409 409 break;
410 410
411 leaveRule(); 411 }
412 412
413 } 413
414 414 }
415 catch (RecognitionException re) { 415
416 recover(input,re); 416
417 appendSkippedTokens(); 417 leaveRule();
418 } 418
419 finally { 419 }
420 } 420
421 return current; 421 catch (RecognitionException re) {
422 } 422 recover(input,re);
423 // $ANTLR end "ruleCommand" 423 appendSkippedTokens();
424 424 }
425 425 finally {
426 // $ANTLR start "entryRuleQualifiedName" 426 }
427 // InternalApplicationConfiguration.g:158:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ; 427 return current;
428 public final String entryRuleQualifiedName() throws RecognitionException { 428 }
429 String current = null; 429 // $ANTLR end "ruleCommand"
430 430
431 AntlrDatatypeRuleToken iv_ruleQualifiedName = null; 431
432 432 // $ANTLR start "entryRuleQualifiedName"
433 433 // InternalApplicationConfiguration.g:158:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
434 try { 434 public final String entryRuleQualifiedName() throws RecognitionException {
435 // InternalApplicationConfiguration.g:158:53: (iv_ruleQualifiedName= ruleQualifiedName EOF ) 435 String current = null;
436 // InternalApplicationConfiguration.g:159:2: iv_ruleQualifiedName= ruleQualifiedName EOF 436
437 { 437 AntlrDatatypeRuleToken iv_ruleQualifiedName = null;
438 newCompositeNode(grammarAccess.getQualifiedNameRule()); 438
439 pushFollow(FOLLOW_1); 439
440 iv_ruleQualifiedName=ruleQualifiedName(); 440 try {
441 441 // InternalApplicationConfiguration.g:158:53: (iv_ruleQualifiedName= ruleQualifiedName EOF )
442 state._fsp--; 442 // InternalApplicationConfiguration.g:159:2: iv_ruleQualifiedName= ruleQualifiedName EOF
443 443 {
444 current =iv_ruleQualifiedName.getText(); 444 newCompositeNode(grammarAccess.getQualifiedNameRule());
445 match(input,EOF,FOLLOW_2); 445 pushFollow(FOLLOW_1);
446 446 iv_ruleQualifiedName=ruleQualifiedName();
447 } 447
448 448 state._fsp--;
449 } 449
450 450 current =iv_ruleQualifiedName.getText();
451 catch (RecognitionException re) { 451 match(input,EOF,FOLLOW_2);
452 recover(input,re); 452
453 appendSkippedTokens(); 453 }
454 } 454
455 finally { 455 }
456 } 456
457 return current; 457 catch (RecognitionException re) {
458 } 458 recover(input,re);
459 // $ANTLR end "entryRuleQualifiedName" 459 appendSkippedTokens();
460 460 }
461 461 finally {
462 // $ANTLR start "ruleQualifiedName" 462 }
463 // InternalApplicationConfiguration.g:165:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ; 463 return current;
464 public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException { 464 }
465 AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); 465 // $ANTLR end "entryRuleQualifiedName"
466 466
467 Token this_ID_0=null; 467
468 Token kw=null; 468 // $ANTLR start "ruleQualifiedName"
469 Token this_ID_2=null; 469 // InternalApplicationConfiguration.g:165:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ;
470 470 public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException {
471 471 AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
472 enterRule(); 472
473 473 Token this_ID_0=null;
474 try { 474 Token kw=null;
475 // InternalApplicationConfiguration.g:171:2: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ) 475 Token this_ID_2=null;
476 // InternalApplicationConfiguration.g:172:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) 476
477 { 477
478 // InternalApplicationConfiguration.g:172:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) 478 enterRule();
479 // InternalApplicationConfiguration.g:173:3: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* 479
480 { 480 try {
481 this_ID_0=(Token)match(input,RULE_ID,FOLLOW_5); 481 // InternalApplicationConfiguration.g:171:2: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) )
482 482 // InternalApplicationConfiguration.g:172:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
483 current.merge(this_ID_0); 483 {
484 484 // InternalApplicationConfiguration.g:172:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
485 485 // InternalApplicationConfiguration.g:173:3: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )*
486 newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); 486 {
487 487 this_ID_0=(Token)match(input,RULE_ID,FOLLOW_5);
488 // InternalApplicationConfiguration.g:180:3: (kw= '.' this_ID_2= RULE_ID )* 488
489 loop4: 489 current.merge(this_ID_0);
490 do { 490
491 int alt4=2; 491
492 int LA4_0 = input.LA(1); 492 newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0());
493 493
494 if ( (LA4_0==11) ) { 494 // InternalApplicationConfiguration.g:180:3: (kw= '.' this_ID_2= RULE_ID )*
495 alt4=1; 495 loop4:
496 } 496 do {
497 497 int alt4=2;
498 498 int LA4_0 = input.LA(1);
499 switch (alt4) { 499
500 case 1 : 500 if ( (LA4_0==11) ) {
501 // InternalApplicationConfiguration.g:181:4: kw= '.' this_ID_2= RULE_ID 501 alt4=1;
502 { 502 }
503 kw=(Token)match(input,11,FOLLOW_6); 503
504 504
505 current.merge(kw); 505 switch (alt4) {
506 newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); 506 case 1 :
507 507 // InternalApplicationConfiguration.g:181:4: kw= '.' this_ID_2= RULE_ID
508 this_ID_2=(Token)match(input,RULE_ID,FOLLOW_5); 508 {
509 509 kw=(Token)match(input,11,FOLLOW_6);
510 current.merge(this_ID_2); 510
511 511 current.merge(kw);
512 512 newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0());
513 newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); 513
514 514 this_ID_2=(Token)match(input,RULE_ID,FOLLOW_5);
515 515
516 } 516 current.merge(this_ID_2);
517 break; 517
518 518
519 default : 519 newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1());
520 break loop4; 520
521 } 521
522 } while (true); 522 }
523 523 break;
524 524
525 } 525 default :
526 526 break loop4;
527 527 }
528 } 528 } while (true);
529 529
530 530
531 leaveRule(); 531 }
532 532
533 } 533
534 534 }
535 catch (RecognitionException re) { 535
536 recover(input,re); 536
537 appendSkippedTokens(); 537 leaveRule();
538 } 538
539 finally { 539 }
540 } 540
541 return current; 541 catch (RecognitionException re) {
542 } 542 recover(input,re);
543 // $ANTLR end "ruleQualifiedName" 543 appendSkippedTokens();
544 544 }
545 545 finally {
546 // $ANTLR start "entryRuleREALLiteral" 546 }
547 // InternalApplicationConfiguration.g:198:1: entryRuleREALLiteral returns [String current=null] : iv_ruleREALLiteral= ruleREALLiteral EOF ; 547 return current;
548 public final String entryRuleREALLiteral() throws RecognitionException { 548 }
549 String current = null; 549 // $ANTLR end "ruleQualifiedName"
550 550
551 AntlrDatatypeRuleToken iv_ruleREALLiteral = null; 551
552 552 // $ANTLR start "entryRuleREALLiteral"
553 553 // InternalApplicationConfiguration.g:198:1: entryRuleREALLiteral returns [String current=null] : iv_ruleREALLiteral= ruleREALLiteral EOF ;
554 try { 554 public final String entryRuleREALLiteral() throws RecognitionException {
555 // InternalApplicationConfiguration.g:198:51: (iv_ruleREALLiteral= ruleREALLiteral EOF ) 555 String current = null;
556 // InternalApplicationConfiguration.g:199:2: iv_ruleREALLiteral= ruleREALLiteral EOF 556
557 { 557 AntlrDatatypeRuleToken iv_ruleREALLiteral = null;
558 newCompositeNode(grammarAccess.getREALLiteralRule()); 558
559 pushFollow(FOLLOW_1); 559
560 iv_ruleREALLiteral=ruleREALLiteral(); 560 try {
561 561 // InternalApplicationConfiguration.g:198:51: (iv_ruleREALLiteral= ruleREALLiteral EOF )
562 state._fsp--; 562 // InternalApplicationConfiguration.g:199:2: iv_ruleREALLiteral= ruleREALLiteral EOF
563 563 {
564 current =iv_ruleREALLiteral.getText(); 564 newCompositeNode(grammarAccess.getREALLiteralRule());
565 match(input,EOF,FOLLOW_2); 565 pushFollow(FOLLOW_1);
566 566 iv_ruleREALLiteral=ruleREALLiteral();
567 } 567
568 568 state._fsp--;
569 } 569
570 570 current =iv_ruleREALLiteral.getText();
571 catch (RecognitionException re) { 571 match(input,EOF,FOLLOW_2);
572 recover(input,re); 572
573 appendSkippedTokens(); 573 }
574 } 574
575 finally { 575 }
576 } 576
577 return current; 577 catch (RecognitionException re) {
578 } 578 recover(input,re);
579 // $ANTLR end "entryRuleREALLiteral" 579 appendSkippedTokens();
580 580 }
581 581 finally {
582 // $ANTLR start "ruleREALLiteral" 582 }
583 // InternalApplicationConfiguration.g:205:1: ruleREALLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) ; 583 return current;
584 public final AntlrDatatypeRuleToken ruleREALLiteral() throws RecognitionException { 584 }
585 AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); 585 // $ANTLR end "entryRuleREALLiteral"
586 586
587 Token kw=null; 587
588 Token this_INT_1=null; 588 // $ANTLR start "ruleREALLiteral"
589 Token this_INT_3=null; 589 // InternalApplicationConfiguration.g:205:1: ruleREALLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) ;
590 590 public final AntlrDatatypeRuleToken ruleREALLiteral() throws RecognitionException {
591 591 AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
592 enterRule(); 592
593 593 Token kw=null;
594 try { 594 Token this_INT_1=null;
595 // InternalApplicationConfiguration.g:211:2: ( ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) ) 595 Token this_INT_3=null;
596 // InternalApplicationConfiguration.g:212:2: ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) 596
597 { 597
598 // InternalApplicationConfiguration.g:212:2: ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) 598 enterRule();
599 // InternalApplicationConfiguration.g:213:3: (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT 599
600 { 600 try {
601 // InternalApplicationConfiguration.g:213:3: (kw= '-' )? 601 // InternalApplicationConfiguration.g:211:2: ( ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) )
602 int alt5=2; 602 // InternalApplicationConfiguration.g:212:2: ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT )
603 int LA5_0 = input.LA(1); 603 {
604 604 // InternalApplicationConfiguration.g:212:2: ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT )
605 if ( (LA5_0==12) ) { 605 // InternalApplicationConfiguration.g:213:3: (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT
606 alt5=1; 606 {
607 } 607 // InternalApplicationConfiguration.g:213:3: (kw= '-' )?
608 switch (alt5) { 608 int alt5=2;
609 case 1 : 609 int LA5_0 = input.LA(1);
610 // InternalApplicationConfiguration.g:214:4: kw= '-' 610
611 { 611 if ( (LA5_0==12) ) {
612 kw=(Token)match(input,12,FOLLOW_7); 612 alt5=1;
613 613 }
614 current.merge(kw); 614 switch (alt5) {
615 newLeafNode(kw, grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0()); 615 case 1 :
616 616 // InternalApplicationConfiguration.g:214:4: kw= '-'
617 617 {
618 } 618 kw=(Token)match(input,12,FOLLOW_7);
619 break; 619
620 620 current.merge(kw);
621 } 621 newLeafNode(kw, grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0());
622 622
623 this_INT_1=(Token)match(input,RULE_INT,FOLLOW_8); 623
624 624 }
625 current.merge(this_INT_1); 625 break;
626 626
627 627 }
628 newLeafNode(this_INT_1, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1()); 628
629 629 this_INT_1=(Token)match(input,RULE_INT,FOLLOW_8);
630 kw=(Token)match(input,11,FOLLOW_7); 630
631 631 current.merge(this_INT_1);
632 current.merge(kw); 632
633 newLeafNode(kw, grammarAccess.getREALLiteralAccess().getFullStopKeyword_2()); 633
634 634 newLeafNode(this_INT_1, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1());
635 this_INT_3=(Token)match(input,RULE_INT,FOLLOW_2); 635
636 636 kw=(Token)match(input,11,FOLLOW_7);
637 current.merge(this_INT_3); 637
638 638 current.merge(kw);
639 639 newLeafNode(kw, grammarAccess.getREALLiteralAccess().getFullStopKeyword_2());
640 newLeafNode(this_INT_3, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3()); 640
641 641 this_INT_3=(Token)match(input,RULE_INT,FOLLOW_2);
642 642
643 } 643 current.merge(this_INT_3);
644 644
645 645
646 } 646 newLeafNode(this_INT_3, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3());
647 647
648 648
649 leaveRule(); 649 }
650 650
651 } 651
652 652 }
653 catch (RecognitionException re) { 653
654 recover(input,re); 654
655 appendSkippedTokens(); 655 leaveRule();
656 } 656
657 finally { 657 }
658 } 658
659 return current; 659 catch (RecognitionException re) {
660 } 660 recover(input,re);
661 // $ANTLR end "ruleREALLiteral" 661 appendSkippedTokens();
662 662 }
663 663 finally {
664 // $ANTLR start "entryRuleINTLiteral" 664 }
665 // InternalApplicationConfiguration.g:243:1: entryRuleINTLiteral returns [String current=null] : iv_ruleINTLiteral= ruleINTLiteral EOF ; 665 return current;
666 public final String entryRuleINTLiteral() throws RecognitionException { 666 }
667 String current = null; 667 // $ANTLR end "ruleREALLiteral"
668 668
669 AntlrDatatypeRuleToken iv_ruleINTLiteral = null; 669
670 670 // $ANTLR start "entryRuleINTLiteral"
671 671 // InternalApplicationConfiguration.g:243:1: entryRuleINTLiteral returns [String current=null] : iv_ruleINTLiteral= ruleINTLiteral EOF ;
672 try { 672 public final String entryRuleINTLiteral() throws RecognitionException {
673 // InternalApplicationConfiguration.g:243:50: (iv_ruleINTLiteral= ruleINTLiteral EOF ) 673 String current = null;
674 // InternalApplicationConfiguration.g:244:2: iv_ruleINTLiteral= ruleINTLiteral EOF 674
675 { 675 AntlrDatatypeRuleToken iv_ruleINTLiteral = null;
676 newCompositeNode(grammarAccess.getINTLiteralRule()); 676
677 pushFollow(FOLLOW_1); 677
678 iv_ruleINTLiteral=ruleINTLiteral(); 678 try {
679 679 // InternalApplicationConfiguration.g:243:50: (iv_ruleINTLiteral= ruleINTLiteral EOF )
680 state._fsp--; 680 // InternalApplicationConfiguration.g:244:2: iv_ruleINTLiteral= ruleINTLiteral EOF
681 681 {
682 current =iv_ruleINTLiteral.getText(); 682 newCompositeNode(grammarAccess.getINTLiteralRule());
683 match(input,EOF,FOLLOW_2); 683 pushFollow(FOLLOW_1);
684 684 iv_ruleINTLiteral=ruleINTLiteral();
685 } 685
686 686 state._fsp--;
687 } 687
688 688 current =iv_ruleINTLiteral.getText();
689 catch (RecognitionException re) { 689 match(input,EOF,FOLLOW_2);
690 recover(input,re); 690
691 appendSkippedTokens(); 691 }
692 } 692
693 finally { 693 }
694 } 694
695 return current; 695 catch (RecognitionException re) {
696 } 696 recover(input,re);
697 // $ANTLR end "entryRuleINTLiteral" 697 appendSkippedTokens();
698 698 }
699 699 finally {
700 // $ANTLR start "ruleINTLiteral" 700 }
701 // InternalApplicationConfiguration.g:250:1: ruleINTLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT ) ; 701 return current;
702 public final AntlrDatatypeRuleToken ruleINTLiteral() throws RecognitionException { 702 }
703 AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); 703 // $ANTLR end "entryRuleINTLiteral"
704 704
705 Token kw=null; 705
706 Token this_INT_1=null; 706 // $ANTLR start "ruleINTLiteral"
707 707 // InternalApplicationConfiguration.g:250:1: ruleINTLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT ) ;
708 708 public final AntlrDatatypeRuleToken ruleINTLiteral() throws RecognitionException {
709 enterRule(); 709 AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
710 710
711 try { 711 Token kw=null;
712 // InternalApplicationConfiguration.g:256:2: ( ( (kw= '-' )? this_INT_1= RULE_INT ) ) 712 Token this_INT_1=null;
713 // InternalApplicationConfiguration.g:257:2: ( (kw= '-' )? this_INT_1= RULE_INT ) 713
714 { 714
715 // InternalApplicationConfiguration.g:257:2: ( (kw= '-' )? this_INT_1= RULE_INT ) 715 enterRule();
716 // InternalApplicationConfiguration.g:258:3: (kw= '-' )? this_INT_1= RULE_INT 716
717 { 717 try {
718 // InternalApplicationConfiguration.g:258:3: (kw= '-' )? 718 // InternalApplicationConfiguration.g:256:2: ( ( (kw= '-' )? this_INT_1= RULE_INT ) )
719 int alt6=2; 719 // InternalApplicationConfiguration.g:257:2: ( (kw= '-' )? this_INT_1= RULE_INT )
720 int LA6_0 = input.LA(1); 720 {
721 721 // InternalApplicationConfiguration.g:257:2: ( (kw= '-' )? this_INT_1= RULE_INT )
722 if ( (LA6_0==12) ) { 722 // InternalApplicationConfiguration.g:258:3: (kw= '-' )? this_INT_1= RULE_INT
723 alt6=1; 723 {
724 } 724 // InternalApplicationConfiguration.g:258:3: (kw= '-' )?
725 switch (alt6) { 725 int alt6=2;
726 case 1 : 726 int LA6_0 = input.LA(1);
727 // InternalApplicationConfiguration.g:259:4: kw= '-' 727
728 { 728 if ( (LA6_0==12) ) {
729 kw=(Token)match(input,12,FOLLOW_7); 729 alt6=1;
730 730 }
731 current.merge(kw); 731 switch (alt6) {
732 newLeafNode(kw, grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0()); 732 case 1 :
733 733 // InternalApplicationConfiguration.g:259:4: kw= '-'
734 734 {
735 } 735 kw=(Token)match(input,12,FOLLOW_7);
736 break; 736
737 737 current.merge(kw);
738 } 738 newLeafNode(kw, grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0());
739 739
740 this_INT_1=(Token)match(input,RULE_INT,FOLLOW_2); 740
741 741 }
742 current.merge(this_INT_1); 742 break;
743 743
744 744 }
745 newLeafNode(this_INT_1, grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1()); 745
746 746 this_INT_1=(Token)match(input,RULE_INT,FOLLOW_2);
747 747
748 } 748 current.merge(this_INT_1);
749 749
750 750
751 } 751 newLeafNode(this_INT_1, grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1());
752 752
753 753
754 leaveRule(); 754 }
755 755
756 } 756
757 757 }
758 catch (RecognitionException re) { 758
759 recover(input,re); 759
760 appendSkippedTokens(); 760 leaveRule();
761 } 761
762 finally { 762 }
763 } 763
764 return current; 764 catch (RecognitionException re) {
765 } 765 recover(input,re);
766 // $ANTLR end "ruleINTLiteral" 766 appendSkippedTokens();
767 767 }
768 768 finally {
769 // $ANTLR start "entryRuleImport" 769 }
770 // InternalApplicationConfiguration.g:276:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ; 770 return current;
771 public final EObject entryRuleImport() throws RecognitionException { 771 }
772 EObject current = null; 772 // $ANTLR end "ruleINTLiteral"
773 773
774 EObject iv_ruleImport = null; 774
775 775 // $ANTLR start "entryRuleImport"
776 776 // InternalApplicationConfiguration.g:276:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ;
777 try { 777 public final EObject entryRuleImport() throws RecognitionException {
778 // InternalApplicationConfiguration.g:276:47: (iv_ruleImport= ruleImport EOF ) 778 EObject current = null;
779 // InternalApplicationConfiguration.g:277:2: iv_ruleImport= ruleImport EOF 779
780 { 780 EObject iv_ruleImport = null;
781 newCompositeNode(grammarAccess.getImportRule()); 781
782 pushFollow(FOLLOW_1); 782
783 iv_ruleImport=ruleImport(); 783 try {
784 784 // InternalApplicationConfiguration.g:276:47: (iv_ruleImport= ruleImport EOF )
785 state._fsp--; 785 // InternalApplicationConfiguration.g:277:2: iv_ruleImport= ruleImport EOF
786 786 {
787 current =iv_ruleImport; 787 newCompositeNode(grammarAccess.getImportRule());
788 match(input,EOF,FOLLOW_2); 788 pushFollow(FOLLOW_1);
789 789 iv_ruleImport=ruleImport();
790 } 790
791 791 state._fsp--;
792 } 792
793 793 current =iv_ruleImport;
794 catch (RecognitionException re) { 794 match(input,EOF,FOLLOW_2);
795 recover(input,re); 795
796 appendSkippedTokens(); 796 }
797 } 797
798 finally { 798 }
799 } 799
800 return current; 800 catch (RecognitionException re) {
801 } 801 recover(input,re);
802 // $ANTLR end "entryRuleImport" 802 appendSkippedTokens();
803 803 }
804 804 finally {
805 // $ANTLR start "ruleImport" 805 }
806 // InternalApplicationConfiguration.g:283:1: ruleImport returns [EObject current=null] : (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) ; 806 return current;
807 public final EObject ruleImport() throws RecognitionException { 807 }
808 EObject current = null; 808 // $ANTLR end "entryRuleImport"
809 809
810 EObject this_EPackageImport_0 = null; 810
811 811 // $ANTLR start "ruleImport"
812 EObject this_ViatraImport_1 = null; 812 // InternalApplicationConfiguration.g:283:1: ruleImport returns [EObject current=null] : (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) ;
813 813 public final EObject ruleImport() throws RecognitionException {
814 814 EObject current = null;
815 815
816 enterRule(); 816 EObject this_EPackageImport_0 = null;
817 817
818 try { 818 EObject this_ViatraImport_1 = null;
819 // InternalApplicationConfiguration.g:289:2: ( (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) ) 819
820 // InternalApplicationConfiguration.g:290:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) 820
821 { 821
822 // InternalApplicationConfiguration.g:290:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) 822 enterRule();
823 int alt7=2; 823
824 int LA7_0 = input.LA(1); 824 try {
825 825 // InternalApplicationConfiguration.g:289:2: ( (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) )
826 if ( (LA7_0==13) ) { 826 // InternalApplicationConfiguration.g:290:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport )
827 int LA7_1 = input.LA(2); 827 {
828 828 // InternalApplicationConfiguration.g:290:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport )
829 if ( (LA7_1==14) ) { 829 int alt7=2;
830 alt7=1; 830 int LA7_0 = input.LA(1);
831 } 831
832 else if ( (LA7_1==15) ) { 832 if ( (LA7_0==13) ) {
833 alt7=2; 833 int LA7_1 = input.LA(2);
834 } 834
835 else { 835 if ( (LA7_1==14) ) {
836 NoViableAltException nvae = 836 alt7=1;
837 new NoViableAltException("", 7, 1, input); 837 }
838 838 else if ( (LA7_1==15) ) {
839 throw nvae; 839 alt7=2;
840 } 840 }
841 } 841 else {
842 else { 842 NoViableAltException nvae =
843 NoViableAltException nvae = 843 new NoViableAltException("", 7, 1, input);
844 new NoViableAltException("", 7, 0, input); 844
845 845 throw nvae;
846 throw nvae; 846 }
847 } 847 }
848 switch (alt7) { 848 else {
849 case 1 : 849 NoViableAltException nvae =
850 // InternalApplicationConfiguration.g:291:3: this_EPackageImport_0= ruleEPackageImport 850 new NoViableAltException("", 7, 0, input);
851 { 851
852 852 throw nvae;
853 newCompositeNode(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); 853 }
854 854 switch (alt7) {
855 pushFollow(FOLLOW_2); 855 case 1 :
856 this_EPackageImport_0=ruleEPackageImport(); 856 // InternalApplicationConfiguration.g:291:3: this_EPackageImport_0= ruleEPackageImport
857 857 {
858 state._fsp--; 858
859 859 newCompositeNode(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0());
860 860
861 current = this_EPackageImport_0; 861 pushFollow(FOLLOW_2);
862 afterParserOrEnumRuleCall(); 862 this_EPackageImport_0=ruleEPackageImport();
863 863
864 864 state._fsp--;
865 } 865
866 break; 866
867 case 2 : 867 current = this_EPackageImport_0;
868 // InternalApplicationConfiguration.g:300:3: this_ViatraImport_1= ruleViatraImport 868 afterParserOrEnumRuleCall();
869 { 869
870 870
871 newCompositeNode(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); 871 }
872 872 break;
873 pushFollow(FOLLOW_2); 873 case 2 :
874 this_ViatraImport_1=ruleViatraImport(); 874 // InternalApplicationConfiguration.g:300:3: this_ViatraImport_1= ruleViatraImport
875 875 {
876 state._fsp--; 876
877 877 newCompositeNode(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1());
878 878
879 current = this_ViatraImport_1; 879 pushFollow(FOLLOW_2);
880 afterParserOrEnumRuleCall(); 880 this_ViatraImport_1=ruleViatraImport();
881 881
882 882 state._fsp--;
883 } 883
884 break; 884
885 885 current = this_ViatraImport_1;
886 } 886 afterParserOrEnumRuleCall();
887 887
888 888
889 } 889 }
890 890 break;
891 891
892 leaveRule(); 892 }
893 893
894 } 894
895 895 }
896 catch (RecognitionException re) { 896
897 recover(input,re); 897
898 appendSkippedTokens(); 898 leaveRule();
899 } 899
900 finally { 900 }
901 } 901
902 return current; 902 catch (RecognitionException re) {
903 } 903 recover(input,re);
904 // $ANTLR end "ruleImport" 904 appendSkippedTokens();
905 905 }
906 906 finally {
907 // $ANTLR start "entryRuleEPackageImport" 907 }
908 // InternalApplicationConfiguration.g:312:1: entryRuleEPackageImport returns [EObject current=null] : iv_ruleEPackageImport= ruleEPackageImport EOF ; 908 return current;
909 public final EObject entryRuleEPackageImport() throws RecognitionException { 909 }
910 EObject current = null; 910 // $ANTLR end "ruleImport"
911 911
912 EObject iv_ruleEPackageImport = null; 912
913 913 // $ANTLR start "entryRuleEPackageImport"
914 914 // InternalApplicationConfiguration.g:312:1: entryRuleEPackageImport returns [EObject current=null] : iv_ruleEPackageImport= ruleEPackageImport EOF ;
915 try { 915 public final EObject entryRuleEPackageImport() throws RecognitionException {
916 // InternalApplicationConfiguration.g:312:55: (iv_ruleEPackageImport= ruleEPackageImport EOF ) 916 EObject current = null;
917 // InternalApplicationConfiguration.g:313:2: iv_ruleEPackageImport= ruleEPackageImport EOF 917
918 { 918 EObject iv_ruleEPackageImport = null;
919 newCompositeNode(grammarAccess.getEPackageImportRule()); 919
920 pushFollow(FOLLOW_1); 920
921 iv_ruleEPackageImport=ruleEPackageImport(); 921 try {
922 922 // InternalApplicationConfiguration.g:312:55: (iv_ruleEPackageImport= ruleEPackageImport EOF )
923 state._fsp--; 923 // InternalApplicationConfiguration.g:313:2: iv_ruleEPackageImport= ruleEPackageImport EOF
924 924 {
925 current =iv_ruleEPackageImport; 925 newCompositeNode(grammarAccess.getEPackageImportRule());
926 match(input,EOF,FOLLOW_2); 926 pushFollow(FOLLOW_1);
927 927 iv_ruleEPackageImport=ruleEPackageImport();
928 } 928
929 929 state._fsp--;
930 } 930
931 931 current =iv_ruleEPackageImport;
932 catch (RecognitionException re) { 932 match(input,EOF,FOLLOW_2);
933 recover(input,re); 933
934 appendSkippedTokens(); 934 }
935 } 935
936 finally { 936 }
937 } 937
938 return current; 938 catch (RecognitionException re) {
939 } 939 recover(input,re);
940 // $ANTLR end "entryRuleEPackageImport" 940 appendSkippedTokens();
941 941 }
942 942 finally {
943 // $ANTLR start "ruleEPackageImport" 943 }
944 // InternalApplicationConfiguration.g:319:1: ruleEPackageImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ; 944 return current;
945 public final EObject ruleEPackageImport() throws RecognitionException { 945 }
946 EObject current = null; 946 // $ANTLR end "entryRuleEPackageImport"
947 947
948 Token otherlv_0=null; 948
949 Token otherlv_1=null; 949 // $ANTLR start "ruleEPackageImport"
950 Token otherlv_2=null; 950 // InternalApplicationConfiguration.g:319:1: ruleEPackageImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ;
951 951 public final EObject ruleEPackageImport() throws RecognitionException {
952 952 EObject current = null;
953 enterRule(); 953
954 954 Token otherlv_0=null;
955 try { 955 Token otherlv_1=null;
956 // InternalApplicationConfiguration.g:325:2: ( (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ) 956 Token otherlv_2=null;
957 // InternalApplicationConfiguration.g:326:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) 957
958 { 958
959 // InternalApplicationConfiguration.g:326:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) 959 enterRule();
960 // InternalApplicationConfiguration.g:327:3: otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) 960
961 { 961 try {
962 otherlv_0=(Token)match(input,13,FOLLOW_9); 962 // InternalApplicationConfiguration.g:325:2: ( (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) )
963 963 // InternalApplicationConfiguration.g:326:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) )
964 newLeafNode(otherlv_0, grammarAccess.getEPackageImportAccess().getImportKeyword_0()); 964 {
965 965 // InternalApplicationConfiguration.g:326:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) )
966 otherlv_1=(Token)match(input,14,FOLLOW_10); 966 // InternalApplicationConfiguration.g:327:3: otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) )
967 967 {
968 newLeafNode(otherlv_1, grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); 968 otherlv_0=(Token)match(input,13,FOLLOW_9);
969 969
970 // InternalApplicationConfiguration.g:335:3: ( (otherlv_2= RULE_STRING ) ) 970 newLeafNode(otherlv_0, grammarAccess.getEPackageImportAccess().getImportKeyword_0());
971 // InternalApplicationConfiguration.g:336:4: (otherlv_2= RULE_STRING ) 971
972 { 972 otherlv_1=(Token)match(input,14,FOLLOW_10);
973 // InternalApplicationConfiguration.g:336:4: (otherlv_2= RULE_STRING ) 973
974 // InternalApplicationConfiguration.g:337:5: otherlv_2= RULE_STRING 974 newLeafNode(otherlv_1, grammarAccess.getEPackageImportAccess().getEpackageKeyword_1());
975 { 975
976 976 // InternalApplicationConfiguration.g:335:3: ( (otherlv_2= RULE_STRING ) )
977 if (current==null) { 977 // InternalApplicationConfiguration.g:336:4: (otherlv_2= RULE_STRING )
978 current = createModelElement(grammarAccess.getEPackageImportRule()); 978 {
979 } 979 // InternalApplicationConfiguration.g:336:4: (otherlv_2= RULE_STRING )
980 980 // InternalApplicationConfiguration.g:337:5: otherlv_2= RULE_STRING
981 otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); 981 {
982 982
983 newLeafNode(otherlv_2, grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); 983 if (current==null) {
984 984 current = createModelElement(grammarAccess.getEPackageImportRule());
985 985 }
986 } 986
987 987 otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2);
988 988
989 } 989 newLeafNode(otherlv_2, grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0());
990 990
991 991
992 } 992 }
993 993
994 994
995 } 995 }
996 996
997 997
998 leaveRule(); 998 }
999 999
1000 } 1000
1001 1001 }
1002 catch (RecognitionException re) { 1002
1003 recover(input,re); 1003
1004 appendSkippedTokens(); 1004 leaveRule();
1005 } 1005
1006 finally { 1006 }
1007 } 1007
1008 return current; 1008 catch (RecognitionException re) {
1009 } 1009 recover(input,re);
1010 // $ANTLR end "ruleEPackageImport" 1010 appendSkippedTokens();
1011 1011 }
1012 1012 finally {
1013 // $ANTLR start "entryRuleViatraImport" 1013 }
1014 // InternalApplicationConfiguration.g:352:1: entryRuleViatraImport returns [EObject current=null] : iv_ruleViatraImport= ruleViatraImport EOF ; 1014 return current;
1015 public final EObject entryRuleViatraImport() throws RecognitionException { 1015 }
1016 EObject current = null; 1016 // $ANTLR end "ruleEPackageImport"
1017 1017
1018 EObject iv_ruleViatraImport = null; 1018
1019 1019 // $ANTLR start "entryRuleViatraImport"
1020 1020 // InternalApplicationConfiguration.g:352:1: entryRuleViatraImport returns [EObject current=null] : iv_ruleViatraImport= ruleViatraImport EOF ;
1021 try { 1021 public final EObject entryRuleViatraImport() throws RecognitionException {
1022 // InternalApplicationConfiguration.g:352:53: (iv_ruleViatraImport= ruleViatraImport EOF ) 1022 EObject current = null;
1023 // InternalApplicationConfiguration.g:353:2: iv_ruleViatraImport= ruleViatraImport EOF 1023
1024 { 1024 EObject iv_ruleViatraImport = null;
1025 newCompositeNode(grammarAccess.getViatraImportRule()); 1025
1026 pushFollow(FOLLOW_1); 1026
1027 iv_ruleViatraImport=ruleViatraImport(); 1027 try {
1028 1028 // InternalApplicationConfiguration.g:352:53: (iv_ruleViatraImport= ruleViatraImport EOF )
1029 state._fsp--; 1029 // InternalApplicationConfiguration.g:353:2: iv_ruleViatraImport= ruleViatraImport EOF
1030 1030 {
1031 current =iv_ruleViatraImport; 1031 newCompositeNode(grammarAccess.getViatraImportRule());
1032 match(input,EOF,FOLLOW_2); 1032 pushFollow(FOLLOW_1);
1033 1033 iv_ruleViatraImport=ruleViatraImport();
1034 } 1034
1035 1035 state._fsp--;
1036 } 1036
1037 1037 current =iv_ruleViatraImport;
1038 catch (RecognitionException re) { 1038 match(input,EOF,FOLLOW_2);
1039 recover(input,re); 1039
1040 appendSkippedTokens(); 1040 }
1041 } 1041
1042 finally { 1042 }
1043 } 1043
1044 return current; 1044 catch (RecognitionException re) {
1045 } 1045 recover(input,re);
1046 // $ANTLR end "entryRuleViatraImport" 1046 appendSkippedTokens();
1047 1047 }
1048 1048 finally {
1049 // $ANTLR start "ruleViatraImport" 1049 }
1050 // InternalApplicationConfiguration.g:359:1: ruleViatraImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ; 1050 return current;
1051 public final EObject ruleViatraImport() throws RecognitionException { 1051 }
1052 EObject current = null; 1052 // $ANTLR end "entryRuleViatraImport"
1053 1053
1054 Token otherlv_0=null; 1054
1055 Token otherlv_1=null; 1055 // $ANTLR start "ruleViatraImport"
1056 Token otherlv_2=null; 1056 // InternalApplicationConfiguration.g:359:1: ruleViatraImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ;
1057 1057 public final EObject ruleViatraImport() throws RecognitionException {
1058 1058 EObject current = null;
1059 enterRule(); 1059
1060 1060 Token otherlv_0=null;
1061 try { 1061 Token otherlv_1=null;
1062 // InternalApplicationConfiguration.g:365:2: ( (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ) 1062 Token otherlv_2=null;
1063 // InternalApplicationConfiguration.g:366:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) 1063
1064 { 1064
1065 // InternalApplicationConfiguration.g:366:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) 1065 enterRule();
1066 // InternalApplicationConfiguration.g:367:3: otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) 1066
1067 { 1067 try {
1068 otherlv_0=(Token)match(input,13,FOLLOW_11); 1068 // InternalApplicationConfiguration.g:365:2: ( (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) )
1069 1069 // InternalApplicationConfiguration.g:366:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) )
1070 newLeafNode(otherlv_0, grammarAccess.getViatraImportAccess().getImportKeyword_0()); 1070 {
1071 1071 // InternalApplicationConfiguration.g:366:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) )
1072 otherlv_1=(Token)match(input,15,FOLLOW_10); 1072 // InternalApplicationConfiguration.g:367:3: otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) )
1073 1073 {
1074 newLeafNode(otherlv_1, grammarAccess.getViatraImportAccess().getViatraKeyword_1()); 1074 otherlv_0=(Token)match(input,13,FOLLOW_11);
1075 1075
1076 // InternalApplicationConfiguration.g:375:3: ( (otherlv_2= RULE_STRING ) ) 1076 newLeafNode(otherlv_0, grammarAccess.getViatraImportAccess().getImportKeyword_0());
1077 // InternalApplicationConfiguration.g:376:4: (otherlv_2= RULE_STRING ) 1077
1078 { 1078 otherlv_1=(Token)match(input,15,FOLLOW_10);
1079 // InternalApplicationConfiguration.g:376:4: (otherlv_2= RULE_STRING ) 1079
1080 // InternalApplicationConfiguration.g:377:5: otherlv_2= RULE_STRING 1080 newLeafNode(otherlv_1, grammarAccess.getViatraImportAccess().getViatraKeyword_1());
1081 { 1081
1082 1082 // InternalApplicationConfiguration.g:375:3: ( (otherlv_2= RULE_STRING ) )
1083 if (current==null) { 1083 // InternalApplicationConfiguration.g:376:4: (otherlv_2= RULE_STRING )
1084 current = createModelElement(grammarAccess.getViatraImportRule()); 1084 {
1085 } 1085 // InternalApplicationConfiguration.g:376:4: (otherlv_2= RULE_STRING )
1086 1086 // InternalApplicationConfiguration.g:377:5: otherlv_2= RULE_STRING
1087 otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); 1087 {
1088 1088
1089 newLeafNode(otherlv_2, grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); 1089 if (current==null) {
1090 1090 current = createModelElement(grammarAccess.getViatraImportRule());
1091 1091 }
1092 } 1092
1093 1093 otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2);
1094 1094
1095 } 1095 newLeafNode(otherlv_2, grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0());
1096 1096
1097 1097
1098 } 1098 }
1099 1099
1100 1100
1101 } 1101 }
1102 1102
1103 1103
1104 leaveRule(); 1104 }
1105 1105
1106 } 1106
1107 1107 }
1108 catch (RecognitionException re) { 1108
1109 recover(input,re); 1109
1110 appendSkippedTokens(); 1110 leaveRule();
1111 } 1111
1112 finally { 1112 }
1113 } 1113
1114 return current; 1114 catch (RecognitionException re) {
1115 } 1115 recover(input,re);
1116 // $ANTLR end "ruleViatraImport" 1116 appendSkippedTokens();
1117 1117 }
1118 1118 finally {
1119 // $ANTLR start "entryRuleDeclaration" 1119 }
1120 // InternalApplicationConfiguration.g:392:1: entryRuleDeclaration returns [EObject current=null] : iv_ruleDeclaration= ruleDeclaration EOF ; 1120 return current;
1121 public final EObject entryRuleDeclaration() throws RecognitionException { 1121 }
1122 EObject current = null; 1122 // $ANTLR end "ruleViatraImport"
1123 1123
1124 EObject iv_ruleDeclaration = null; 1124
1125 1125 // $ANTLR start "entryRuleDeclaration"
1126 1126 // InternalApplicationConfiguration.g:392:1: entryRuleDeclaration returns [EObject current=null] : iv_ruleDeclaration= ruleDeclaration EOF ;
1127 try { 1127 public final EObject entryRuleDeclaration() throws RecognitionException {
1128 // InternalApplicationConfiguration.g:392:52: (iv_ruleDeclaration= ruleDeclaration EOF ) 1128 EObject current = null;
1129 // InternalApplicationConfiguration.g:393:2: iv_ruleDeclaration= ruleDeclaration EOF 1129
1130 { 1130 EObject iv_ruleDeclaration = null;
1131 newCompositeNode(grammarAccess.getDeclarationRule()); 1131
1132 pushFollow(FOLLOW_1); 1132
1133 iv_ruleDeclaration=ruleDeclaration(); 1133 try {
1134 1134 // InternalApplicationConfiguration.g:392:52: (iv_ruleDeclaration= ruleDeclaration EOF )
1135 state._fsp--; 1135 // InternalApplicationConfiguration.g:393:2: iv_ruleDeclaration= ruleDeclaration EOF
1136 1136 {
1137 current =iv_ruleDeclaration; 1137 newCompositeNode(grammarAccess.getDeclarationRule());
1138 match(input,EOF,FOLLOW_2); 1138 pushFollow(FOLLOW_1);
1139 1139 iv_ruleDeclaration=ruleDeclaration();
1140 } 1140
1141 1141 state._fsp--;
1142 } 1142
1143 1143 current =iv_ruleDeclaration;
1144 catch (RecognitionException re) { 1144 match(input,EOF,FOLLOW_2);
1145 recover(input,re); 1145
1146 appendSkippedTokens(); 1146 }
1147 } 1147
1148 finally { 1148 }
1149 } 1149
1150 return current; 1150 catch (RecognitionException re) {
1151 } 1151 recover(input,re);
1152 // $ANTLR end "entryRuleDeclaration" 1152 appendSkippedTokens();
1153 1153 }
1154 1154 finally {
1155 // $ANTLR start "ruleDeclaration" 1155 }
1156 // InternalApplicationConfiguration.g:399:1: ruleDeclaration returns [EObject current=null] : (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) ; 1156 return current;
1157 public final EObject ruleDeclaration() throws RecognitionException { 1157 }
1158 EObject current = null; 1158 // $ANTLR end "entryRuleDeclaration"
1159 1159
1160 EObject this_FileDeclaration_0 = null; 1160
1161 1161 // $ANTLR start "ruleDeclaration"
1162 EObject this_MetamodelDeclaration_1 = null; 1162 // InternalApplicationConfiguration.g:399:1: ruleDeclaration returns [EObject current=null] : (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration ) ;
1163 1163 public final EObject ruleDeclaration() throws RecognitionException {
1164 EObject this_PartialModelDeclaration_2 = null; 1164 EObject current = null;
1165 1165
1166 EObject this_GraphPatternDeclaration_3 = null; 1166 EObject this_FileDeclaration_0 = null;
1167 1167
1168 EObject this_ConfigDeclaration_4 = null; 1168 EObject this_MetamodelDeclaration_1 = null;
1169 1169
1170 EObject this_ScopeDeclaration_5 = null; 1170 EObject this_PartialModelDeclaration_2 = null;
1171 1171
1172 1172 EObject this_GraphPatternDeclaration_3 = null;
1173 1173
1174 enterRule(); 1174 EObject this_ConfigDeclaration_4 = null;
1175 1175
1176 try { 1176 EObject this_ScopeDeclaration_5 = null;
1177 // InternalApplicationConfiguration.g:405:2: ( (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) ) 1177
1178 // InternalApplicationConfiguration.g:406:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) 1178 EObject this_ObjectiveDeclaration_6 = null;
1179 { 1179
1180 // InternalApplicationConfiguration.g:406:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) 1180
1181 int alt8=6; 1181
1182 switch ( input.LA(1) ) { 1182 enterRule();
1183 case 16: 1183
1184 { 1184 try {
1185 alt8=1; 1185 // InternalApplicationConfiguration.g:405:2: ( (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration ) )
1186 } 1186 // InternalApplicationConfiguration.g:406:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration )
1187 break; 1187 {
1188 case 24: 1188 // InternalApplicationConfiguration.g:406:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration )
1189 { 1189 int alt8=7;
1190 alt8=2; 1190 switch ( input.LA(1) ) {
1191 } 1191 case 16:
1192 break; 1192 {
1193 case 26: 1193 alt8=1;
1194 { 1194 }
1195 alt8=3; 1195 break;
1196 } 1196 case 24:
1197 break; 1197 {
1198 case 27: 1198 alt8=2;
1199 { 1199 }
1200 alt8=4; 1200 break;
1201 } 1201 case 26:
1202 break; 1202 {
1203 case 28: 1203 alt8=3;
1204 { 1204 }
1205 alt8=5; 1205 break;
1206 } 1206 case 27:
1207 break; 1207 {
1208 case 42: 1208 alt8=4;
1209 { 1209 }
1210 alt8=6; 1210 break;
1211 } 1211 case 30:
1212 break; 1212 {
1213 default: 1213 alt8=5;
1214 NoViableAltException nvae = 1214 }
1215 new NoViableAltException("", 8, 0, input); 1215 break;
1216 1216 case 44:
1217 throw nvae; 1217 {
1218 } 1218 alt8=6;
1219 1219 }
1220 switch (alt8) { 1220 break;
1221 case 1 : 1221 case 29:
1222 // InternalApplicationConfiguration.g:407:3: this_FileDeclaration_0= ruleFileDeclaration 1222 {
1223 { 1223 alt8=7;
1224 1224 }
1225 newCompositeNode(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); 1225 break;
1226 1226 default:
1227 pushFollow(FOLLOW_2); 1227 NoViableAltException nvae =
1228 this_FileDeclaration_0=ruleFileDeclaration(); 1228 new NoViableAltException("", 8, 0, input);
1229 1229
1230 state._fsp--; 1230 throw nvae;
1231 1231 }
1232 1232
1233 current = this_FileDeclaration_0; 1233 switch (alt8) {
1234 afterParserOrEnumRuleCall(); 1234 case 1 :
1235 1235 // InternalApplicationConfiguration.g:407:3: this_FileDeclaration_0= ruleFileDeclaration
1236 1236 {
1237 } 1237
1238 break; 1238 newCompositeNode(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0());
1239 case 2 : 1239
1240 // InternalApplicationConfiguration.g:416:3: this_MetamodelDeclaration_1= ruleMetamodelDeclaration 1240 pushFollow(FOLLOW_2);
1241 { 1241 this_FileDeclaration_0=ruleFileDeclaration();
1242 1242
1243 newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); 1243 state._fsp--;
1244 1244
1245 pushFollow(FOLLOW_2); 1245
1246 this_MetamodelDeclaration_1=ruleMetamodelDeclaration(); 1246 current = this_FileDeclaration_0;
1247 1247 afterParserOrEnumRuleCall();
1248 state._fsp--; 1248
1249 1249
1250 1250 }
1251 current = this_MetamodelDeclaration_1; 1251 break;
1252 afterParserOrEnumRuleCall(); 1252 case 2 :
1253 1253 // InternalApplicationConfiguration.g:416:3: this_MetamodelDeclaration_1= ruleMetamodelDeclaration
1254 1254 {
1255 } 1255
1256 break; 1256 newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1());
1257 case 3 : 1257
1258 // InternalApplicationConfiguration.g:425:3: this_PartialModelDeclaration_2= rulePartialModelDeclaration 1258 pushFollow(FOLLOW_2);
1259 { 1259 this_MetamodelDeclaration_1=ruleMetamodelDeclaration();
1260 1260
1261 newCompositeNode(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); 1261 state._fsp--;
1262 1262
1263 pushFollow(FOLLOW_2); 1263
1264 this_PartialModelDeclaration_2=rulePartialModelDeclaration(); 1264 current = this_MetamodelDeclaration_1;
1265 1265 afterParserOrEnumRuleCall();
1266 state._fsp--; 1266
1267 1267
1268 1268 }
1269 current = this_PartialModelDeclaration_2; 1269 break;
1270 afterParserOrEnumRuleCall(); 1270 case 3 :
1271 1271 // InternalApplicationConfiguration.g:425:3: this_PartialModelDeclaration_2= rulePartialModelDeclaration
1272 1272 {
1273 } 1273
1274 break; 1274 newCompositeNode(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2());
1275 case 4 : 1275
1276 // InternalApplicationConfiguration.g:434:3: this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration 1276 pushFollow(FOLLOW_2);
1277 { 1277 this_PartialModelDeclaration_2=rulePartialModelDeclaration();
1278 1278
1279 newCompositeNode(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); 1279 state._fsp--;
1280 1280
1281 pushFollow(FOLLOW_2); 1281
1282 this_GraphPatternDeclaration_3=ruleGraphPatternDeclaration(); 1282 current = this_PartialModelDeclaration_2;
1283 1283 afterParserOrEnumRuleCall();
1284 state._fsp--; 1284
1285 1285
1286 1286 }
1287 current = this_GraphPatternDeclaration_3; 1287 break;
1288 afterParserOrEnumRuleCall(); 1288 case 4 :
1289 1289 // InternalApplicationConfiguration.g:434:3: this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration
1290 1290 {
1291 } 1291
1292 break; 1292 newCompositeNode(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3());
1293 case 5 : 1293
1294 // InternalApplicationConfiguration.g:443:3: this_ConfigDeclaration_4= ruleConfigDeclaration 1294 pushFollow(FOLLOW_2);
1295 { 1295 this_GraphPatternDeclaration_3=ruleGraphPatternDeclaration();
1296 1296
1297 newCompositeNode(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); 1297 state._fsp--;
1298 1298
1299 pushFollow(FOLLOW_2); 1299
1300 this_ConfigDeclaration_4=ruleConfigDeclaration(); 1300 current = this_GraphPatternDeclaration_3;
1301 1301 afterParserOrEnumRuleCall();
1302 state._fsp--; 1302
1303 1303
1304 1304 }
1305 current = this_ConfigDeclaration_4; 1305 break;
1306 afterParserOrEnumRuleCall(); 1306 case 5 :
1307 1307 // InternalApplicationConfiguration.g:443:3: this_ConfigDeclaration_4= ruleConfigDeclaration
1308 1308 {
1309 } 1309
1310 break; 1310 newCompositeNode(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4());
1311 case 6 : 1311
1312 // InternalApplicationConfiguration.g:452:3: this_ScopeDeclaration_5= ruleScopeDeclaration 1312 pushFollow(FOLLOW_2);
1313 { 1313 this_ConfigDeclaration_4=ruleConfigDeclaration();
1314 1314
1315 newCompositeNode(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); 1315 state._fsp--;
1316 1316
1317 pushFollow(FOLLOW_2); 1317
1318 this_ScopeDeclaration_5=ruleScopeDeclaration(); 1318 current = this_ConfigDeclaration_4;
1319 1319 afterParserOrEnumRuleCall();
1320 state._fsp--; 1320
1321 1321
1322 1322 }
1323 current = this_ScopeDeclaration_5; 1323 break;
1324 afterParserOrEnumRuleCall(); 1324 case 6 :
1325 1325 // InternalApplicationConfiguration.g:452:3: this_ScopeDeclaration_5= ruleScopeDeclaration
1326 1326 {
1327 } 1327
1328 break; 1328 newCompositeNode(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5());
1329 1329
1330 } 1330 pushFollow(FOLLOW_2);
1331 1331 this_ScopeDeclaration_5=ruleScopeDeclaration();
1332 1332
1333 } 1333 state._fsp--;
1334 1334
1335 1335
1336 leaveRule(); 1336 current = this_ScopeDeclaration_5;
1337 1337 afterParserOrEnumRuleCall();
1338 } 1338
1339 1339
1340 catch (RecognitionException re) { 1340 }
1341 recover(input,re); 1341 break;
1342 appendSkippedTokens(); 1342 case 7 :
1343 } 1343 // InternalApplicationConfiguration.g:461:3: this_ObjectiveDeclaration_6= ruleObjectiveDeclaration
1344 finally { 1344 {
1345 } 1345
1346 return current; 1346 newCompositeNode(grammarAccess.getDeclarationAccess().getObjectiveDeclarationParserRuleCall_6());
1347 } 1347
1348 // $ANTLR end "ruleDeclaration" 1348 pushFollow(FOLLOW_2);
1349 1349 this_ObjectiveDeclaration_6=ruleObjectiveDeclaration();
1350 1350
1351 // $ANTLR start "entryRuleFileSpecification" 1351 state._fsp--;
1352 // InternalApplicationConfiguration.g:464:1: entryRuleFileSpecification returns [EObject current=null] : iv_ruleFileSpecification= ruleFileSpecification EOF ; 1352
1353 public final EObject entryRuleFileSpecification() throws RecognitionException { 1353
1354 EObject current = null; 1354 current = this_ObjectiveDeclaration_6;
1355 1355 afterParserOrEnumRuleCall();
1356 EObject iv_ruleFileSpecification = null; 1356
1357 1357
1358 1358 }
1359 try { 1359 break;
1360 // InternalApplicationConfiguration.g:464:58: (iv_ruleFileSpecification= ruleFileSpecification EOF ) 1360
1361 // InternalApplicationConfiguration.g:465:2: iv_ruleFileSpecification= ruleFileSpecification EOF 1361 }
1362 { 1362
1363 newCompositeNode(grammarAccess.getFileSpecificationRule()); 1363
1364 pushFollow(FOLLOW_1); 1364 }
1365 iv_ruleFileSpecification=ruleFileSpecification(); 1365
1366 1366
1367 state._fsp--; 1367 leaveRule();
1368 1368
1369 current =iv_ruleFileSpecification; 1369 }
1370 match(input,EOF,FOLLOW_2); 1370
1371 1371 catch (RecognitionException re) {
1372 } 1372 recover(input,re);
1373 1373 appendSkippedTokens();
1374 } 1374 }
1375 1375 finally {
1376 catch (RecognitionException re) { 1376 }
1377 recover(input,re); 1377 return current;
1378 appendSkippedTokens(); 1378 }
1379 } 1379 // $ANTLR end "ruleDeclaration"
1380 finally { 1380
1381 } 1381
1382 return current; 1382 // $ANTLR start "entryRuleFileSpecification"
1383 } 1383 // InternalApplicationConfiguration.g:473:1: entryRuleFileSpecification returns [EObject current=null] : iv_ruleFileSpecification= ruleFileSpecification EOF ;
1384 // $ANTLR end "entryRuleFileSpecification" 1384 public final EObject entryRuleFileSpecification() throws RecognitionException {
1385 1385 EObject current = null;
1386 1386
1387 // $ANTLR start "ruleFileSpecification" 1387 EObject iv_ruleFileSpecification = null;
1388 // InternalApplicationConfiguration.g:471:1: ruleFileSpecification returns [EObject current=null] : ( (lv_path_0_0= RULE_STRING ) ) ; 1388
1389 public final EObject ruleFileSpecification() throws RecognitionException { 1389
1390 EObject current = null; 1390 try {
1391 1391 // InternalApplicationConfiguration.g:473:58: (iv_ruleFileSpecification= ruleFileSpecification EOF )
1392 Token lv_path_0_0=null; 1392 // InternalApplicationConfiguration.g:474:2: iv_ruleFileSpecification= ruleFileSpecification EOF
1393 1393 {
1394 1394 newCompositeNode(grammarAccess.getFileSpecificationRule());
1395 enterRule(); 1395 pushFollow(FOLLOW_1);
1396 1396 iv_ruleFileSpecification=ruleFileSpecification();
1397 try { 1397
1398 // InternalApplicationConfiguration.g:477:2: ( ( (lv_path_0_0= RULE_STRING ) ) ) 1398 state._fsp--;
1399 // InternalApplicationConfiguration.g:478:2: ( (lv_path_0_0= RULE_STRING ) ) 1399
1400 { 1400 current =iv_ruleFileSpecification;
1401 // InternalApplicationConfiguration.g:478:2: ( (lv_path_0_0= RULE_STRING ) ) 1401 match(input,EOF,FOLLOW_2);
1402 // InternalApplicationConfiguration.g:479:3: (lv_path_0_0= RULE_STRING ) 1402
1403 { 1403 }
1404 // InternalApplicationConfiguration.g:479:3: (lv_path_0_0= RULE_STRING ) 1404
1405 // InternalApplicationConfiguration.g:480:4: lv_path_0_0= RULE_STRING 1405 }
1406 { 1406
1407 lv_path_0_0=(Token)match(input,RULE_STRING,FOLLOW_2); 1407 catch (RecognitionException re) {
1408 1408 recover(input,re);
1409 newLeafNode(lv_path_0_0, grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0()); 1409 appendSkippedTokens();
1410 1410 }
1411 1411 finally {
1412 if (current==null) { 1412 }
1413 current = createModelElement(grammarAccess.getFileSpecificationRule()); 1413 return current;
1414 } 1414 }
1415 setWithLastConsumed( 1415 // $ANTLR end "entryRuleFileSpecification"
1416 current, 1416
1417 "path", 1417
1418 lv_path_0_0, 1418 // $ANTLR start "ruleFileSpecification"
1419 "org.eclipse.xtext.common.Terminals.STRING"); 1419 // InternalApplicationConfiguration.g:480:1: ruleFileSpecification returns [EObject current=null] : ( (lv_path_0_0= RULE_STRING ) ) ;
1420 1420 public final EObject ruleFileSpecification() throws RecognitionException {
1421 1421 EObject current = null;
1422 } 1422
1423 1423 Token lv_path_0_0=null;
1424 1424
1425 } 1425
1426 1426 enterRule();
1427 1427
1428 } 1428 try {
1429 1429 // InternalApplicationConfiguration.g:486:2: ( ( (lv_path_0_0= RULE_STRING ) ) )
1430 1430 // InternalApplicationConfiguration.g:487:2: ( (lv_path_0_0= RULE_STRING ) )
1431 leaveRule(); 1431 {
1432 1432 // InternalApplicationConfiguration.g:487:2: ( (lv_path_0_0= RULE_STRING ) )
1433 } 1433 // InternalApplicationConfiguration.g:488:3: (lv_path_0_0= RULE_STRING )
1434 1434 {
1435 catch (RecognitionException re) { 1435 // InternalApplicationConfiguration.g:488:3: (lv_path_0_0= RULE_STRING )
1436 recover(input,re); 1436 // InternalApplicationConfiguration.g:489:4: lv_path_0_0= RULE_STRING
1437 appendSkippedTokens(); 1437 {
1438 } 1438 lv_path_0_0=(Token)match(input,RULE_STRING,FOLLOW_2);
1439 finally { 1439
1440 } 1440 newLeafNode(lv_path_0_0, grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0());
1441 return current; 1441
1442 } 1442
1443 // $ANTLR end "ruleFileSpecification" 1443 if (current==null) {
1444 1444 current = createModelElement(grammarAccess.getFileSpecificationRule());
1445 1445 }
1446 // $ANTLR start "entryRuleFileDeclaration" 1446 setWithLastConsumed(
1447 // InternalApplicationConfiguration.g:499:1: entryRuleFileDeclaration returns [EObject current=null] : iv_ruleFileDeclaration= ruleFileDeclaration EOF ; 1447 current,
1448 public final EObject entryRuleFileDeclaration() throws RecognitionException { 1448 "path",
1449 EObject current = null; 1449 lv_path_0_0,
1450 1450 "org.eclipse.xtext.common.Terminals.STRING");
1451 EObject iv_ruleFileDeclaration = null; 1451
1452 1452
1453 1453 }
1454 try { 1454
1455 // InternalApplicationConfiguration.g:499:56: (iv_ruleFileDeclaration= ruleFileDeclaration EOF ) 1455
1456 // InternalApplicationConfiguration.g:500:2: iv_ruleFileDeclaration= ruleFileDeclaration EOF 1456 }
1457 { 1457
1458 newCompositeNode(grammarAccess.getFileDeclarationRule()); 1458
1459 pushFollow(FOLLOW_1); 1459 }
1460 iv_ruleFileDeclaration=ruleFileDeclaration(); 1460
1461 1461
1462 state._fsp--; 1462 leaveRule();
1463 1463
1464 current =iv_ruleFileDeclaration; 1464 }
1465 match(input,EOF,FOLLOW_2); 1465
1466 1466 catch (RecognitionException re) {
1467 } 1467 recover(input,re);
1468 1468 appendSkippedTokens();
1469 } 1469 }
1470 1470 finally {
1471 catch (RecognitionException re) { 1471 }
1472 recover(input,re); 1472 return current;
1473 appendSkippedTokens(); 1473 }
1474 } 1474 // $ANTLR end "ruleFileSpecification"
1475 finally { 1475
1476 } 1476
1477 return current; 1477 // $ANTLR start "entryRuleFileDeclaration"
1478 } 1478 // InternalApplicationConfiguration.g:508:1: entryRuleFileDeclaration returns [EObject current=null] : iv_ruleFileDeclaration= ruleFileDeclaration EOF ;
1479 // $ANTLR end "entryRuleFileDeclaration" 1479 public final EObject entryRuleFileDeclaration() throws RecognitionException {
1480 1480 EObject current = null;
1481 1481
1482 // $ANTLR start "ruleFileDeclaration" 1482 EObject iv_ruleFileDeclaration = null;
1483 // InternalApplicationConfiguration.g:506:1: ruleFileDeclaration returns [EObject current=null] : (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ; 1483
1484 public final EObject ruleFileDeclaration() throws RecognitionException { 1484
1485 EObject current = null; 1485 try {
1486 1486 // InternalApplicationConfiguration.g:508:56: (iv_ruleFileDeclaration= ruleFileDeclaration EOF )
1487 Token otherlv_0=null; 1487 // InternalApplicationConfiguration.g:509:2: iv_ruleFileDeclaration= ruleFileDeclaration EOF
1488 Token lv_name_1_0=null; 1488 {
1489 Token otherlv_2=null; 1489 newCompositeNode(grammarAccess.getFileDeclarationRule());
1490 EObject lv_specification_3_0 = null; 1490 pushFollow(FOLLOW_1);
1491 1491 iv_ruleFileDeclaration=ruleFileDeclaration();
1492 1492
1493 1493 state._fsp--;
1494 enterRule(); 1494
1495 1495 current =iv_ruleFileDeclaration;
1496 try { 1496 match(input,EOF,FOLLOW_2);
1497 // InternalApplicationConfiguration.g:512:2: ( (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ) 1497
1498 // InternalApplicationConfiguration.g:513:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) 1498 }
1499 { 1499
1500 // InternalApplicationConfiguration.g:513:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) 1500 }
1501 // InternalApplicationConfiguration.g:514:3: otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) 1501
1502 { 1502 catch (RecognitionException re) {
1503 otherlv_0=(Token)match(input,16,FOLLOW_6); 1503 recover(input,re);
1504 1504 appendSkippedTokens();
1505 newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); 1505 }
1506 1506 finally {
1507 // InternalApplicationConfiguration.g:518:3: ( (lv_name_1_0= RULE_ID ) ) 1507 }
1508 // InternalApplicationConfiguration.g:519:4: (lv_name_1_0= RULE_ID ) 1508 return current;
1509 { 1509 }
1510 // InternalApplicationConfiguration.g:519:4: (lv_name_1_0= RULE_ID ) 1510 // $ANTLR end "entryRuleFileDeclaration"
1511 // InternalApplicationConfiguration.g:520:5: lv_name_1_0= RULE_ID 1511
1512 { 1512
1513 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_12); 1513 // $ANTLR start "ruleFileDeclaration"
1514 1514 // InternalApplicationConfiguration.g:515:1: ruleFileDeclaration returns [EObject current=null] : (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ;
1515 newLeafNode(lv_name_1_0, grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 1515 public final EObject ruleFileDeclaration() throws RecognitionException {
1516 1516 EObject current = null;
1517 1517
1518 if (current==null) { 1518 Token otherlv_0=null;
1519 current = createModelElement(grammarAccess.getFileDeclarationRule()); 1519 Token lv_name_1_0=null;
1520 } 1520 Token otherlv_2=null;
1521 setWithLastConsumed( 1521 EObject lv_specification_3_0 = null;
1522 current, 1522
1523 "name", 1523
1524 lv_name_1_0, 1524
1525 "org.eclipse.xtext.common.Terminals.ID"); 1525 enterRule();
1526 1526
1527 1527 try {
1528 } 1528 // InternalApplicationConfiguration.g:521:2: ( (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) )
1529 1529 // InternalApplicationConfiguration.g:522:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) )
1530 1530 {
1531 } 1531 // InternalApplicationConfiguration.g:522:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) )
1532 1532 // InternalApplicationConfiguration.g:523:3: otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) )
1533 otherlv_2=(Token)match(input,17,FOLLOW_10); 1533 {
1534 1534 otherlv_0=(Token)match(input,16,FOLLOW_6);
1535 newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); 1535
1536 1536 newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0());
1537 // InternalApplicationConfiguration.g:540:3: ( (lv_specification_3_0= ruleFileSpecification ) ) 1537
1538 // InternalApplicationConfiguration.g:541:4: (lv_specification_3_0= ruleFileSpecification ) 1538 // InternalApplicationConfiguration.g:527:3: ( (lv_name_1_0= RULE_ID ) )
1539 { 1539 // InternalApplicationConfiguration.g:528:4: (lv_name_1_0= RULE_ID )
1540 // InternalApplicationConfiguration.g:541:4: (lv_specification_3_0= ruleFileSpecification ) 1540 {
1541 // InternalApplicationConfiguration.g:542:5: lv_specification_3_0= ruleFileSpecification 1541 // InternalApplicationConfiguration.g:528:4: (lv_name_1_0= RULE_ID )
1542 { 1542 // InternalApplicationConfiguration.g:529:5: lv_name_1_0= RULE_ID
1543 1543 {
1544 newCompositeNode(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); 1544 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_12);
1545 1545
1546 pushFollow(FOLLOW_2); 1546 newLeafNode(lv_name_1_0, grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0());
1547 lv_specification_3_0=ruleFileSpecification(); 1547
1548 1548
1549 state._fsp--; 1549 if (current==null) {
1550 1550 current = createModelElement(grammarAccess.getFileDeclarationRule());
1551 1551 }
1552 if (current==null) { 1552 setWithLastConsumed(
1553 current = createModelElementForParent(grammarAccess.getFileDeclarationRule()); 1553 current,
1554 } 1554 "name",
1555 set( 1555 lv_name_1_0,
1556 current, 1556 "org.eclipse.xtext.common.Terminals.ID");
1557 "specification", 1557
1558 lv_specification_3_0, 1558
1559 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification"); 1559 }
1560 afterParserOrEnumRuleCall(); 1560
1561 1561
1562 1562 }
1563 } 1563
1564 1564 otherlv_2=(Token)match(input,17,FOLLOW_10);
1565 1565
1566 } 1566 newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2());
1567 1567
1568 1568 // InternalApplicationConfiguration.g:549:3: ( (lv_specification_3_0= ruleFileSpecification ) )
1569 } 1569 // InternalApplicationConfiguration.g:550:4: (lv_specification_3_0= ruleFileSpecification )
1570 1570 {
1571 1571 // InternalApplicationConfiguration.g:550:4: (lv_specification_3_0= ruleFileSpecification )
1572 } 1572 // InternalApplicationConfiguration.g:551:5: lv_specification_3_0= ruleFileSpecification
1573 1573 {
1574 1574
1575 leaveRule(); 1575 newCompositeNode(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0());
1576 1576
1577 } 1577 pushFollow(FOLLOW_2);
1578 1578 lv_specification_3_0=ruleFileSpecification();
1579 catch (RecognitionException re) { 1579
1580 recover(input,re); 1580 state._fsp--;
1581 appendSkippedTokens(); 1581
1582 } 1582
1583 finally { 1583 if (current==null) {
1584 } 1584 current = createModelElementForParent(grammarAccess.getFileDeclarationRule());
1585 return current; 1585 }
1586 } 1586 set(
1587 // $ANTLR end "ruleFileDeclaration" 1587 current,
1588 1588 "specification",
1589 1589 lv_specification_3_0,
1590 // $ANTLR start "entryRuleFileReference" 1590 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification");
1591 // InternalApplicationConfiguration.g:563:1: entryRuleFileReference returns [EObject current=null] : iv_ruleFileReference= ruleFileReference EOF ; 1591 afterParserOrEnumRuleCall();
1592 public final EObject entryRuleFileReference() throws RecognitionException { 1592
1593 EObject current = null; 1593
1594 1594 }
1595 EObject iv_ruleFileReference = null; 1595
1596 1596
1597 1597 }
1598 try { 1598
1599 // InternalApplicationConfiguration.g:563:54: (iv_ruleFileReference= ruleFileReference EOF ) 1599
1600 // InternalApplicationConfiguration.g:564:2: iv_ruleFileReference= ruleFileReference EOF 1600 }
1601 { 1601
1602 newCompositeNode(grammarAccess.getFileReferenceRule()); 1602
1603 pushFollow(FOLLOW_1); 1603 }
1604 iv_ruleFileReference=ruleFileReference(); 1604
1605 1605
1606 state._fsp--; 1606 leaveRule();
1607 1607
1608 current =iv_ruleFileReference; 1608 }
1609 match(input,EOF,FOLLOW_2); 1609
1610 1610 catch (RecognitionException re) {
1611 } 1611 recover(input,re);
1612 1612 appendSkippedTokens();
1613 } 1613 }
1614 1614 finally {
1615 catch (RecognitionException re) { 1615 }
1616 recover(input,re); 1616 return current;
1617 appendSkippedTokens(); 1617 }
1618 } 1618 // $ANTLR end "ruleFileDeclaration"
1619 finally { 1619
1620 } 1620
1621 return current; 1621 // $ANTLR start "entryRuleFileReference"
1622 } 1622 // InternalApplicationConfiguration.g:572:1: entryRuleFileReference returns [EObject current=null] : iv_ruleFileReference= ruleFileReference EOF ;
1623 // $ANTLR end "entryRuleFileReference" 1623 public final EObject entryRuleFileReference() throws RecognitionException {
1624 1624 EObject current = null;
1625 1625
1626 // $ANTLR start "ruleFileReference" 1626 EObject iv_ruleFileReference = null;
1627 // InternalApplicationConfiguration.g:570:1: ruleFileReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; 1627
1628 public final EObject ruleFileReference() throws RecognitionException { 1628
1629 EObject current = null; 1629 try {
1630 1630 // InternalApplicationConfiguration.g:572:54: (iv_ruleFileReference= ruleFileReference EOF )
1631 Token otherlv_0=null; 1631 // InternalApplicationConfiguration.g:573:2: iv_ruleFileReference= ruleFileReference EOF
1632 1632 {
1633 1633 newCompositeNode(grammarAccess.getFileReferenceRule());
1634 enterRule(); 1634 pushFollow(FOLLOW_1);
1635 1635 iv_ruleFileReference=ruleFileReference();
1636 try { 1636
1637 // InternalApplicationConfiguration.g:576:2: ( ( (otherlv_0= RULE_ID ) ) ) 1637 state._fsp--;
1638 // InternalApplicationConfiguration.g:577:2: ( (otherlv_0= RULE_ID ) ) 1638
1639 { 1639 current =iv_ruleFileReference;
1640 // InternalApplicationConfiguration.g:577:2: ( (otherlv_0= RULE_ID ) ) 1640 match(input,EOF,FOLLOW_2);
1641 // InternalApplicationConfiguration.g:578:3: (otherlv_0= RULE_ID ) 1641
1642 { 1642 }
1643 // InternalApplicationConfiguration.g:578:3: (otherlv_0= RULE_ID ) 1643
1644 // InternalApplicationConfiguration.g:579:4: otherlv_0= RULE_ID 1644 }
1645 { 1645
1646 1646 catch (RecognitionException re) {
1647 if (current==null) { 1647 recover(input,re);
1648 current = createModelElement(grammarAccess.getFileReferenceRule()); 1648 appendSkippedTokens();
1649 } 1649 }
1650 1650 finally {
1651 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); 1651 }
1652 1652 return current;
1653 newLeafNode(otherlv_0, grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); 1653 }
1654 1654 // $ANTLR end "entryRuleFileReference"
1655 1655
1656 } 1656
1657 1657 // $ANTLR start "ruleFileReference"
1658 1658 // InternalApplicationConfiguration.g:579:1: ruleFileReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
1659 } 1659 public final EObject ruleFileReference() throws RecognitionException {
1660 1660 EObject current = null;
1661 1661
1662 } 1662 Token otherlv_0=null;
1663 1663
1664 1664
1665 leaveRule(); 1665 enterRule();
1666 1666
1667 } 1667 try {
1668 1668 // InternalApplicationConfiguration.g:585:2: ( ( (otherlv_0= RULE_ID ) ) )
1669 catch (RecognitionException re) { 1669 // InternalApplicationConfiguration.g:586:2: ( (otherlv_0= RULE_ID ) )
1670 recover(input,re); 1670 {
1671 appendSkippedTokens(); 1671 // InternalApplicationConfiguration.g:586:2: ( (otherlv_0= RULE_ID ) )
1672 } 1672 // InternalApplicationConfiguration.g:587:3: (otherlv_0= RULE_ID )
1673 finally { 1673 {
1674 } 1674 // InternalApplicationConfiguration.g:587:3: (otherlv_0= RULE_ID )
1675 return current; 1675 // InternalApplicationConfiguration.g:588:4: otherlv_0= RULE_ID
1676 } 1676 {
1677 // $ANTLR end "ruleFileReference" 1677
1678 1678 if (current==null) {
1679 1679 current = createModelElement(grammarAccess.getFileReferenceRule());
1680 // $ANTLR start "entryRuleFile" 1680 }
1681 // InternalApplicationConfiguration.g:593:1: entryRuleFile returns [EObject current=null] : iv_ruleFile= ruleFile EOF ; 1681
1682 public final EObject entryRuleFile() throws RecognitionException { 1682 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2);
1683 EObject current = null; 1683
1684 1684 newLeafNode(otherlv_0, grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0());
1685 EObject iv_ruleFile = null; 1685
1686 1686
1687 1687 }
1688 try { 1688
1689 // InternalApplicationConfiguration.g:593:45: (iv_ruleFile= ruleFile EOF ) 1689
1690 // InternalApplicationConfiguration.g:594:2: iv_ruleFile= ruleFile EOF 1690 }
1691 { 1691
1692 newCompositeNode(grammarAccess.getFileRule()); 1692
1693 pushFollow(FOLLOW_1); 1693 }
1694 iv_ruleFile=ruleFile(); 1694
1695 1695
1696 state._fsp--; 1696 leaveRule();
1697 1697
1698 current =iv_ruleFile; 1698 }
1699 match(input,EOF,FOLLOW_2); 1699
1700 1700 catch (RecognitionException re) {
1701 } 1701 recover(input,re);
1702 1702 appendSkippedTokens();
1703 } 1703 }
1704 1704 finally {
1705 catch (RecognitionException re) { 1705 }
1706 recover(input,re); 1706 return current;
1707 appendSkippedTokens(); 1707 }
1708 } 1708 // $ANTLR end "ruleFileReference"
1709 finally { 1709
1710 } 1710
1711 return current; 1711 // $ANTLR start "entryRuleFile"
1712 } 1712 // InternalApplicationConfiguration.g:602:1: entryRuleFile returns [EObject current=null] : iv_ruleFile= ruleFile EOF ;
1713 // $ANTLR end "entryRuleFile" 1713 public final EObject entryRuleFile() throws RecognitionException {
1714 1714 EObject current = null;
1715 1715
1716 // $ANTLR start "ruleFile" 1716 EObject iv_ruleFile = null;
1717 // InternalApplicationConfiguration.g:600:1: ruleFile returns [EObject current=null] : (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ; 1717
1718 public final EObject ruleFile() throws RecognitionException { 1718
1719 EObject current = null; 1719 try {
1720 1720 // InternalApplicationConfiguration.g:602:45: (iv_ruleFile= ruleFile EOF )
1721 EObject this_FileSpecification_0 = null; 1721 // InternalApplicationConfiguration.g:603:2: iv_ruleFile= ruleFile EOF
1722 1722 {
1723 EObject this_FileReference_1 = null; 1723 newCompositeNode(grammarAccess.getFileRule());
1724 1724 pushFollow(FOLLOW_1);
1725 1725 iv_ruleFile=ruleFile();
1726 1726
1727 enterRule(); 1727 state._fsp--;
1728 1728
1729 try { 1729 current =iv_ruleFile;
1730 // InternalApplicationConfiguration.g:606:2: ( (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ) 1730 match(input,EOF,FOLLOW_2);
1731 // InternalApplicationConfiguration.g:607:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) 1731
1732 { 1732 }
1733 // InternalApplicationConfiguration.g:607:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) 1733
1734 int alt9=2; 1734 }
1735 int LA9_0 = input.LA(1); 1735
1736 1736 catch (RecognitionException re) {
1737 if ( (LA9_0==RULE_STRING) ) { 1737 recover(input,re);
1738 alt9=1; 1738 appendSkippedTokens();
1739 } 1739 }
1740 else if ( (LA9_0==RULE_ID) ) { 1740 finally {
1741 alt9=2; 1741 }
1742 } 1742 return current;
1743 else { 1743 }
1744 NoViableAltException nvae = 1744 // $ANTLR end "entryRuleFile"
1745 new NoViableAltException("", 9, 0, input); 1745
1746 1746
1747 throw nvae; 1747 // $ANTLR start "ruleFile"
1748 } 1748 // InternalApplicationConfiguration.g:609:1: ruleFile returns [EObject current=null] : (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ;
1749 switch (alt9) { 1749 public final EObject ruleFile() throws RecognitionException {
1750 case 1 : 1750 EObject current = null;
1751 // InternalApplicationConfiguration.g:608:3: this_FileSpecification_0= ruleFileSpecification 1751
1752 { 1752 EObject this_FileSpecification_0 = null;
1753 1753
1754 newCompositeNode(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); 1754 EObject this_FileReference_1 = null;
1755 1755
1756 pushFollow(FOLLOW_2); 1756
1757 this_FileSpecification_0=ruleFileSpecification(); 1757
1758 1758 enterRule();
1759 state._fsp--; 1759
1760 1760 try {
1761 1761 // InternalApplicationConfiguration.g:615:2: ( (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) )
1762 current = this_FileSpecification_0; 1762 // InternalApplicationConfiguration.g:616:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference )
1763 afterParserOrEnumRuleCall(); 1763 {
1764 1764 // InternalApplicationConfiguration.g:616:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference )
1765 1765 int alt9=2;
1766 } 1766 int LA9_0 = input.LA(1);
1767 break; 1767
1768 case 2 : 1768 if ( (LA9_0==RULE_STRING) ) {
1769 // InternalApplicationConfiguration.g:617:3: this_FileReference_1= ruleFileReference 1769 alt9=1;
1770 { 1770 }
1771 1771 else if ( (LA9_0==RULE_ID) ) {
1772 newCompositeNode(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); 1772 alt9=2;
1773 1773 }
1774 pushFollow(FOLLOW_2); 1774 else {
1775 this_FileReference_1=ruleFileReference(); 1775 NoViableAltException nvae =
1776 1776 new NoViableAltException("", 9, 0, input);
1777 state._fsp--; 1777
1778 1778 throw nvae;
1779 1779 }
1780 current = this_FileReference_1; 1780 switch (alt9) {
1781 afterParserOrEnumRuleCall(); 1781 case 1 :
1782 1782 // InternalApplicationConfiguration.g:617:3: this_FileSpecification_0= ruleFileSpecification
1783 1783 {
1784 } 1784
1785 break; 1785 newCompositeNode(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0());
1786 1786
1787 } 1787 pushFollow(FOLLOW_2);
1788 1788 this_FileSpecification_0=ruleFileSpecification();
1789 1789
1790 } 1790 state._fsp--;
1791 1791
1792 1792
1793 leaveRule(); 1793 current = this_FileSpecification_0;
1794 1794 afterParserOrEnumRuleCall();
1795 } 1795
1796 1796
1797 catch (RecognitionException re) { 1797 }
1798 recover(input,re); 1798 break;
1799 appendSkippedTokens(); 1799 case 2 :
1800 } 1800 // InternalApplicationConfiguration.g:626:3: this_FileReference_1= ruleFileReference
1801 finally { 1801 {
1802 } 1802
1803 return current; 1803 newCompositeNode(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1());
1804 } 1804
1805 // $ANTLR end "ruleFile" 1805 pushFollow(FOLLOW_2);
1806 1806 this_FileReference_1=ruleFileReference();
1807 1807
1808 // $ANTLR start "entryRuleMetamodelSpecification" 1808 state._fsp--;
1809 // InternalApplicationConfiguration.g:629:1: entryRuleMetamodelSpecification returns [EObject current=null] : iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ; 1809
1810 public final EObject entryRuleMetamodelSpecification() throws RecognitionException { 1810
1811 EObject current = null; 1811 current = this_FileReference_1;
1812 1812 afterParserOrEnumRuleCall();
1813 EObject iv_ruleMetamodelSpecification = null; 1813
1814 1814
1815 1815 }
1816 try { 1816 break;
1817 // InternalApplicationConfiguration.g:629:63: (iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ) 1817
1818 // InternalApplicationConfiguration.g:630:2: iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF 1818 }
1819 { 1819
1820 newCompositeNode(grammarAccess.getMetamodelSpecificationRule()); 1820
1821 pushFollow(FOLLOW_1); 1821 }
1822 iv_ruleMetamodelSpecification=ruleMetamodelSpecification(); 1822
1823 1823
1824 state._fsp--; 1824 leaveRule();
1825 1825
1826 current =iv_ruleMetamodelSpecification; 1826 }
1827 match(input,EOF,FOLLOW_2); 1827
1828 1828 catch (RecognitionException re) {
1829 } 1829 recover(input,re);
1830 1830 appendSkippedTokens();
1831 } 1831 }
1832 1832 finally {
1833 catch (RecognitionException re) { 1833 }
1834 recover(input,re); 1834 return current;
1835 appendSkippedTokens(); 1835 }
1836 } 1836 // $ANTLR end "ruleFile"
1837 finally { 1837
1838 } 1838
1839 return current; 1839 // $ANTLR start "entryRuleMetamodelSpecification"
1840 } 1840 // InternalApplicationConfiguration.g:638:1: entryRuleMetamodelSpecification returns [EObject current=null] : iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ;
1841 // $ANTLR end "entryRuleMetamodelSpecification" 1841 public final EObject entryRuleMetamodelSpecification() throws RecognitionException {
1842 1842 EObject current = null;
1843 1843
1844 // $ANTLR start "ruleMetamodelSpecification" 1844 EObject iv_ruleMetamodelSpecification = null;
1845 // InternalApplicationConfiguration.g:636:1: ruleMetamodelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ; 1845
1846 public final EObject ruleMetamodelSpecification() throws RecognitionException { 1846
1847 EObject current = null; 1847 try {
1848 1848 // InternalApplicationConfiguration.g:638:63: (iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF )
1849 Token otherlv_0=null; 1849 // InternalApplicationConfiguration.g:639:2: iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF
1850 Token otherlv_2=null; 1850 {
1851 Token otherlv_4=null; 1851 newCompositeNode(grammarAccess.getMetamodelSpecificationRule());
1852 EObject lv_entries_1_0 = null; 1852 pushFollow(FOLLOW_1);
1853 1853 iv_ruleMetamodelSpecification=ruleMetamodelSpecification();
1854 EObject lv_entries_3_0 = null; 1854
1855 1855 state._fsp--;
1856 1856
1857 1857 current =iv_ruleMetamodelSpecification;
1858 enterRule(); 1858 match(input,EOF,FOLLOW_2);
1859 1859
1860 try { 1860 }
1861 // InternalApplicationConfiguration.g:642:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ) 1861
1862 // InternalApplicationConfiguration.g:643:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) 1862 }
1863 { 1863
1864 // InternalApplicationConfiguration.g:643:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) 1864 catch (RecognitionException re) {
1865 // InternalApplicationConfiguration.g:644:3: otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' 1865 recover(input,re);
1866 { 1866 appendSkippedTokens();
1867 otherlv_0=(Token)match(input,18,FOLLOW_13); 1867 }
1868 1868 finally {
1869 newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); 1869 }
1870 1870 return current;
1871 // InternalApplicationConfiguration.g:648:3: ( (lv_entries_1_0= ruleMetamodelEntry ) ) 1871 }
1872 // InternalApplicationConfiguration.g:649:4: (lv_entries_1_0= ruleMetamodelEntry ) 1872 // $ANTLR end "entryRuleMetamodelSpecification"
1873 { 1873
1874 // InternalApplicationConfiguration.g:649:4: (lv_entries_1_0= ruleMetamodelEntry ) 1874
1875 // InternalApplicationConfiguration.g:650:5: lv_entries_1_0= ruleMetamodelEntry 1875 // $ANTLR start "ruleMetamodelSpecification"
1876 { 1876 // InternalApplicationConfiguration.g:645:1: ruleMetamodelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ;
1877 1877 public final EObject ruleMetamodelSpecification() throws RecognitionException {
1878 newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); 1878 EObject current = null;
1879 1879
1880 pushFollow(FOLLOW_14); 1880 Token otherlv_0=null;
1881 lv_entries_1_0=ruleMetamodelEntry(); 1881 Token otherlv_2=null;
1882 1882 Token otherlv_4=null;
1883 state._fsp--; 1883 EObject lv_entries_1_0 = null;
1884 1884
1885 1885 EObject lv_entries_3_0 = null;
1886 if (current==null) { 1886
1887 current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); 1887
1888 } 1888
1889 add( 1889 enterRule();
1890 current, 1890
1891 "entries", 1891 try {
1892 lv_entries_1_0, 1892 // InternalApplicationConfiguration.g:651:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) )
1893 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); 1893 // InternalApplicationConfiguration.g:652:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' )
1894 afterParserOrEnumRuleCall(); 1894 {
1895 1895 // InternalApplicationConfiguration.g:652:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' )
1896 1896 // InternalApplicationConfiguration.g:653:3: otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}'
1897 } 1897 {
1898 1898 otherlv_0=(Token)match(input,18,FOLLOW_13);
1899 1899
1900 } 1900 newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0());
1901 1901
1902 // InternalApplicationConfiguration.g:667:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* 1902 // InternalApplicationConfiguration.g:657:3: ( (lv_entries_1_0= ruleMetamodelEntry ) )
1903 loop10: 1903 // InternalApplicationConfiguration.g:658:4: (lv_entries_1_0= ruleMetamodelEntry )
1904 do { 1904 {
1905 int alt10=2; 1905 // InternalApplicationConfiguration.g:658:4: (lv_entries_1_0= ruleMetamodelEntry )
1906 int LA10_0 = input.LA(1); 1906 // InternalApplicationConfiguration.g:659:5: lv_entries_1_0= ruleMetamodelEntry
1907 1907 {
1908 if ( (LA10_0==19) ) { 1908
1909 alt10=1; 1909 newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0());
1910 } 1910
1911 1911 pushFollow(FOLLOW_14);
1912 1912 lv_entries_1_0=ruleMetamodelEntry();
1913 switch (alt10) { 1913
1914 case 1 : 1914 state._fsp--;
1915 // InternalApplicationConfiguration.g:668:4: otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) 1915
1916 { 1916
1917 otherlv_2=(Token)match(input,19,FOLLOW_13); 1917 if (current==null) {
1918 1918 current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule());
1919 newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); 1919 }
1920 1920 add(
1921 // InternalApplicationConfiguration.g:672:4: ( (lv_entries_3_0= ruleMetamodelEntry ) ) 1921 current,
1922 // InternalApplicationConfiguration.g:673:5: (lv_entries_3_0= ruleMetamodelEntry ) 1922 "entries",
1923 { 1923 lv_entries_1_0,
1924 // InternalApplicationConfiguration.g:673:5: (lv_entries_3_0= ruleMetamodelEntry ) 1924 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry");
1925 // InternalApplicationConfiguration.g:674:6: lv_entries_3_0= ruleMetamodelEntry 1925 afterParserOrEnumRuleCall();
1926 { 1926
1927 1927
1928 newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); 1928 }
1929 1929
1930 pushFollow(FOLLOW_14); 1930
1931 lv_entries_3_0=ruleMetamodelEntry(); 1931 }
1932 1932
1933 state._fsp--; 1933 // InternalApplicationConfiguration.g:676:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )*
1934 1934 loop10:
1935 1935 do {
1936 if (current==null) { 1936 int alt10=2;
1937 current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); 1937 int LA10_0 = input.LA(1);
1938 } 1938
1939 add( 1939 if ( (LA10_0==19) ) {
1940 current, 1940 alt10=1;
1941 "entries", 1941 }
1942 lv_entries_3_0, 1942
1943 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); 1943
1944 afterParserOrEnumRuleCall(); 1944 switch (alt10) {
1945 1945 case 1 :
1946 1946 // InternalApplicationConfiguration.g:677:4: otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) )
1947 } 1947 {
1948 1948 otherlv_2=(Token)match(input,19,FOLLOW_13);
1949 1949
1950 } 1950 newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0());
1951 1951
1952 1952 // InternalApplicationConfiguration.g:681:4: ( (lv_entries_3_0= ruleMetamodelEntry ) )
1953 } 1953 // InternalApplicationConfiguration.g:682:5: (lv_entries_3_0= ruleMetamodelEntry )
1954 break; 1954 {
1955 1955 // InternalApplicationConfiguration.g:682:5: (lv_entries_3_0= ruleMetamodelEntry )
1956 default : 1956 // InternalApplicationConfiguration.g:683:6: lv_entries_3_0= ruleMetamodelEntry
1957 break loop10; 1957 {
1958 } 1958
1959 } while (true); 1959 newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0());
1960 1960
1961 otherlv_4=(Token)match(input,20,FOLLOW_2); 1961 pushFollow(FOLLOW_14);
1962 1962 lv_entries_3_0=ruleMetamodelEntry();
1963 newLeafNode(otherlv_4, grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); 1963
1964 1964 state._fsp--;
1965 1965
1966 } 1966
1967 1967 if (current==null) {
1968 1968 current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule());
1969 } 1969 }
1970 1970 add(
1971 1971 current,
1972 leaveRule(); 1972 "entries",
1973 1973 lv_entries_3_0,
1974 } 1974 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry");
1975 1975 afterParserOrEnumRuleCall();
1976 catch (RecognitionException re) { 1976
1977 recover(input,re); 1977
1978 appendSkippedTokens(); 1978 }
1979 } 1979
1980 finally { 1980
1981 } 1981 }
1982 return current; 1982
1983 } 1983
1984 // $ANTLR end "ruleMetamodelSpecification" 1984 }
1985 1985 break;
1986 1986
1987 // $ANTLR start "entryRuleMetamodelEntry" 1987 default :
1988 // InternalApplicationConfiguration.g:700:1: entryRuleMetamodelEntry returns [EObject current=null] : iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ; 1988 break loop10;
1989 public final EObject entryRuleMetamodelEntry() throws RecognitionException { 1989 }
1990 EObject current = null; 1990 } while (true);
1991 1991
1992 EObject iv_ruleMetamodelEntry = null; 1992 otherlv_4=(Token)match(input,20,FOLLOW_2);
1993 1993
1994 1994 newLeafNode(otherlv_4, grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3());
1995 try { 1995
1996 // InternalApplicationConfiguration.g:700:55: (iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ) 1996
1997 // InternalApplicationConfiguration.g:701:2: iv_ruleMetamodelEntry= ruleMetamodelEntry EOF 1997 }
1998 { 1998
1999 newCompositeNode(grammarAccess.getMetamodelEntryRule()); 1999
2000 pushFollow(FOLLOW_1); 2000 }
2001 iv_ruleMetamodelEntry=ruleMetamodelEntry(); 2001
2002 2002
2003 state._fsp--; 2003 leaveRule();
2004 2004
2005 current =iv_ruleMetamodelEntry; 2005 }
2006 match(input,EOF,FOLLOW_2); 2006
2007 2007 catch (RecognitionException re) {
2008 } 2008 recover(input,re);
2009 2009 appendSkippedTokens();
2010 } 2010 }
2011 2011 finally {
2012 catch (RecognitionException re) { 2012 }
2013 recover(input,re); 2013 return current;
2014 appendSkippedTokens(); 2014 }
2015 } 2015 // $ANTLR end "ruleMetamodelSpecification"
2016 finally { 2016
2017 } 2017
2018 return current; 2018 // $ANTLR start "entryRuleMetamodelEntry"
2019 } 2019 // InternalApplicationConfiguration.g:709:1: entryRuleMetamodelEntry returns [EObject current=null] : iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ;
2020 // $ANTLR end "entryRuleMetamodelEntry" 2020 public final EObject entryRuleMetamodelEntry() throws RecognitionException {
2021 2021 EObject current = null;
2022 2022
2023 // $ANTLR start "ruleMetamodelEntry" 2023 EObject iv_ruleMetamodelEntry = null;
2024 // InternalApplicationConfiguration.g:707:1: ruleMetamodelEntry returns [EObject current=null] : (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ; 2024
2025 public final EObject ruleMetamodelEntry() throws RecognitionException { 2025
2026 EObject current = null; 2026 try {
2027 2027 // InternalApplicationConfiguration.g:709:55: (iv_ruleMetamodelEntry= ruleMetamodelEntry EOF )
2028 EObject this_MetamodelElement_0 = null; 2028 // InternalApplicationConfiguration.g:710:2: iv_ruleMetamodelEntry= ruleMetamodelEntry EOF
2029 2029 {
2030 EObject this_AllPackageEntry_1 = null; 2030 newCompositeNode(grammarAccess.getMetamodelEntryRule());
2031 2031 pushFollow(FOLLOW_1);
2032 2032 iv_ruleMetamodelEntry=ruleMetamodelEntry();
2033 2033
2034 enterRule(); 2034 state._fsp--;
2035 2035
2036 try { 2036 current =iv_ruleMetamodelEntry;
2037 // InternalApplicationConfiguration.g:713:2: ( (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ) 2037 match(input,EOF,FOLLOW_2);
2038 // InternalApplicationConfiguration.g:714:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) 2038
2039 { 2039 }
2040 // InternalApplicationConfiguration.g:714:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) 2040
2041 int alt11=2; 2041 }
2042 int LA11_0 = input.LA(1); 2042
2043 2043 catch (RecognitionException re) {
2044 if ( (LA11_0==RULE_ID) ) { 2044 recover(input,re);
2045 alt11=1; 2045 appendSkippedTokens();
2046 } 2046 }
2047 else if ( (LA11_0==21) ) { 2047 finally {
2048 alt11=2; 2048 }
2049 } 2049 return current;
2050 else { 2050 }
2051 NoViableAltException nvae = 2051 // $ANTLR end "entryRuleMetamodelEntry"
2052 new NoViableAltException("", 11, 0, input); 2052
2053 2053
2054 throw nvae; 2054 // $ANTLR start "ruleMetamodelEntry"
2055 } 2055 // InternalApplicationConfiguration.g:716:1: ruleMetamodelEntry returns [EObject current=null] : (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ;
2056 switch (alt11) { 2056 public final EObject ruleMetamodelEntry() throws RecognitionException {
2057 case 1 : 2057 EObject current = null;
2058 // InternalApplicationConfiguration.g:715:3: this_MetamodelElement_0= ruleMetamodelElement 2058
2059 { 2059 EObject this_MetamodelElement_0 = null;
2060 2060
2061 newCompositeNode(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); 2061 EObject this_AllPackageEntry_1 = null;
2062 2062
2063 pushFollow(FOLLOW_2); 2063
2064 this_MetamodelElement_0=ruleMetamodelElement(); 2064
2065 2065 enterRule();
2066 state._fsp--; 2066
2067 2067 try {
2068 2068 // InternalApplicationConfiguration.g:722:2: ( (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) )
2069 current = this_MetamodelElement_0; 2069 // InternalApplicationConfiguration.g:723:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry )
2070 afterParserOrEnumRuleCall(); 2070 {
2071 2071 // InternalApplicationConfiguration.g:723:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry )
2072 2072 int alt11=2;
2073 } 2073 int LA11_0 = input.LA(1);
2074 break; 2074
2075 case 2 : 2075 if ( (LA11_0==RULE_ID) ) {
2076 // InternalApplicationConfiguration.g:724:3: this_AllPackageEntry_1= ruleAllPackageEntry 2076 alt11=1;
2077 { 2077 }
2078 2078 else if ( (LA11_0==21) ) {
2079 newCompositeNode(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); 2079 alt11=2;
2080 2080 }
2081 pushFollow(FOLLOW_2); 2081 else {
2082 this_AllPackageEntry_1=ruleAllPackageEntry(); 2082 NoViableAltException nvae =
2083 2083 new NoViableAltException("", 11, 0, input);
2084 state._fsp--; 2084
2085 2085 throw nvae;
2086 2086 }
2087 current = this_AllPackageEntry_1; 2087 switch (alt11) {
2088 afterParserOrEnumRuleCall(); 2088 case 1 :
2089 2089 // InternalApplicationConfiguration.g:724:3: this_MetamodelElement_0= ruleMetamodelElement
2090 2090 {
2091 } 2091
2092 break; 2092 newCompositeNode(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0());
2093 2093
2094 } 2094 pushFollow(FOLLOW_2);
2095 2095 this_MetamodelElement_0=ruleMetamodelElement();
2096 2096
2097 } 2097 state._fsp--;
2098 2098
2099 2099
2100 leaveRule(); 2100 current = this_MetamodelElement_0;
2101 2101 afterParserOrEnumRuleCall();
2102 } 2102
2103 2103
2104 catch (RecognitionException re) { 2104 }
2105 recover(input,re); 2105 break;
2106 appendSkippedTokens(); 2106 case 2 :
2107 } 2107 // InternalApplicationConfiguration.g:733:3: this_AllPackageEntry_1= ruleAllPackageEntry
2108 finally { 2108 {
2109 } 2109
2110 return current; 2110 newCompositeNode(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1());
2111 } 2111
2112 // $ANTLR end "ruleMetamodelEntry" 2112 pushFollow(FOLLOW_2);
2113 2113 this_AllPackageEntry_1=ruleAllPackageEntry();
2114 2114
2115 // $ANTLR start "entryRuleAllPackageEntry" 2115 state._fsp--;
2116 // InternalApplicationConfiguration.g:736:1: entryRuleAllPackageEntry returns [EObject current=null] : iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ; 2116
2117 public final EObject entryRuleAllPackageEntry() throws RecognitionException { 2117
2118 EObject current = null; 2118 current = this_AllPackageEntry_1;
2119 2119 afterParserOrEnumRuleCall();
2120 EObject iv_ruleAllPackageEntry = null; 2120
2121 2121
2122 2122 }
2123 try { 2123 break;
2124 // InternalApplicationConfiguration.g:736:56: (iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ) 2124
2125 // InternalApplicationConfiguration.g:737:2: iv_ruleAllPackageEntry= ruleAllPackageEntry EOF 2125 }
2126 { 2126
2127 newCompositeNode(grammarAccess.getAllPackageEntryRule()); 2127
2128 pushFollow(FOLLOW_1); 2128 }
2129 iv_ruleAllPackageEntry=ruleAllPackageEntry(); 2129
2130 2130
2131 state._fsp--; 2131 leaveRule();
2132 2132
2133 current =iv_ruleAllPackageEntry; 2133 }
2134 match(input,EOF,FOLLOW_2); 2134
2135 2135 catch (RecognitionException re) {
2136 } 2136 recover(input,re);
2137 2137 appendSkippedTokens();
2138 } 2138 }
2139 2139 finally {
2140 catch (RecognitionException re) { 2140 }
2141 recover(input,re); 2141 return current;
2142 appendSkippedTokens(); 2142 }
2143 } 2143 // $ANTLR end "ruleMetamodelEntry"
2144 finally { 2144
2145 } 2145
2146 return current; 2146 // $ANTLR start "entryRuleAllPackageEntry"
2147 } 2147 // InternalApplicationConfiguration.g:745:1: entryRuleAllPackageEntry returns [EObject current=null] : iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ;
2148 // $ANTLR end "entryRuleAllPackageEntry" 2148 public final EObject entryRuleAllPackageEntry() throws RecognitionException {
2149 2149 EObject current = null;
2150 2150
2151 // $ANTLR start "ruleAllPackageEntry" 2151 EObject iv_ruleAllPackageEntry = null;
2152 // InternalApplicationConfiguration.g:743:1: ruleAllPackageEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ; 2152
2153 public final EObject ruleAllPackageEntry() throws RecognitionException { 2153
2154 EObject current = null; 2154 try {
2155 2155 // InternalApplicationConfiguration.g:745:56: (iv_ruleAllPackageEntry= ruleAllPackageEntry EOF )
2156 Token otherlv_0=null; 2156 // InternalApplicationConfiguration.g:746:2: iv_ruleAllPackageEntry= ruleAllPackageEntry EOF
2157 Token otherlv_2=null; 2157 {
2158 Token otherlv_3=null; 2158 newCompositeNode(grammarAccess.getAllPackageEntryRule());
2159 Token otherlv_5=null; 2159 pushFollow(FOLLOW_1);
2160 Token otherlv_7=null; 2160 iv_ruleAllPackageEntry=ruleAllPackageEntry();
2161 EObject lv_exclusion_4_0 = null; 2161
2162 2162 state._fsp--;
2163 EObject lv_exclusion_6_0 = null; 2163
2164 2164 current =iv_ruleAllPackageEntry;
2165 2165 match(input,EOF,FOLLOW_2);
2166 2166
2167 enterRule(); 2167 }
2168 2168
2169 try { 2169 }
2170 // InternalApplicationConfiguration.g:749:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ) 2170
2171 // InternalApplicationConfiguration.g:750:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) 2171 catch (RecognitionException re) {
2172 { 2172 recover(input,re);
2173 // InternalApplicationConfiguration.g:750:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) 2173 appendSkippedTokens();
2174 // InternalApplicationConfiguration.g:751:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? 2174 }
2175 { 2175 finally {
2176 otherlv_0=(Token)match(input,21,FOLLOW_6); 2176 }
2177 2177 return current;
2178 newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); 2178 }
2179 2179 // $ANTLR end "entryRuleAllPackageEntry"
2180 // InternalApplicationConfiguration.g:755:3: ( ( ruleQualifiedName ) ) 2180
2181 // InternalApplicationConfiguration.g:756:4: ( ruleQualifiedName ) 2181
2182 { 2182 // $ANTLR start "ruleAllPackageEntry"
2183 // InternalApplicationConfiguration.g:756:4: ( ruleQualifiedName ) 2183 // InternalApplicationConfiguration.g:752:1: ruleAllPackageEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ;
2184 // InternalApplicationConfiguration.g:757:5: ruleQualifiedName 2184 public final EObject ruleAllPackageEntry() throws RecognitionException {
2185 { 2185 EObject current = null;
2186 2186
2187 if (current==null) { 2187 Token otherlv_0=null;
2188 current = createModelElement(grammarAccess.getAllPackageEntryRule()); 2188 Token otherlv_2=null;
2189 } 2189 Token otherlv_3=null;
2190 2190 Token otherlv_5=null;
2191 2191 Token otherlv_7=null;
2192 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); 2192 EObject lv_exclusion_4_0 = null;
2193 2193
2194 pushFollow(FOLLOW_15); 2194 EObject lv_exclusion_6_0 = null;
2195 ruleQualifiedName(); 2195
2196 2196
2197 state._fsp--; 2197
2198 2198 enterRule();
2199 2199
2200 afterParserOrEnumRuleCall(); 2200 try {
2201 2201 // InternalApplicationConfiguration.g:758:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) )
2202 2202 // InternalApplicationConfiguration.g:759:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? )
2203 } 2203 {
2204 2204 // InternalApplicationConfiguration.g:759:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? )
2205 2205 // InternalApplicationConfiguration.g:760:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )?
2206 } 2206 {
2207 2207 otherlv_0=(Token)match(input,21,FOLLOW_6);
2208 // InternalApplicationConfiguration.g:771:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? 2208
2209 int alt13=2; 2209 newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0());
2210 int LA13_0 = input.LA(1); 2210
2211 2211 // InternalApplicationConfiguration.g:764:3: ( ( ruleQualifiedName ) )
2212 if ( (LA13_0==22) ) { 2212 // InternalApplicationConfiguration.g:765:4: ( ruleQualifiedName )
2213 alt13=1; 2213 {
2214 } 2214 // InternalApplicationConfiguration.g:765:4: ( ruleQualifiedName )
2215 switch (alt13) { 2215 // InternalApplicationConfiguration.g:766:5: ruleQualifiedName
2216 case 1 : 2216 {
2217 // InternalApplicationConfiguration.g:772:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' 2217
2218 { 2218 if (current==null) {
2219 otherlv_2=(Token)match(input,22,FOLLOW_16); 2219 current = createModelElement(grammarAccess.getAllPackageEntryRule());
2220 2220 }
2221 newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); 2221
2222 2222
2223 otherlv_3=(Token)match(input,18,FOLLOW_6); 2223 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0());
2224 2224
2225 newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); 2225 pushFollow(FOLLOW_15);
2226 2226 ruleQualifiedName();
2227 // InternalApplicationConfiguration.g:780:4: ( (lv_exclusion_4_0= ruleMetamodelElement ) ) 2227
2228 // InternalApplicationConfiguration.g:781:5: (lv_exclusion_4_0= ruleMetamodelElement ) 2228 state._fsp--;
2229 { 2229
2230 // InternalApplicationConfiguration.g:781:5: (lv_exclusion_4_0= ruleMetamodelElement ) 2230
2231 // InternalApplicationConfiguration.g:782:6: lv_exclusion_4_0= ruleMetamodelElement 2231 afterParserOrEnumRuleCall();
2232 { 2232
2233 2233
2234 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); 2234 }
2235 2235
2236 pushFollow(FOLLOW_14); 2236
2237 lv_exclusion_4_0=ruleMetamodelElement(); 2237 }
2238 2238
2239 state._fsp--; 2239 // InternalApplicationConfiguration.g:780:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )?
2240 2240 int alt13=2;
2241 2241 int LA13_0 = input.LA(1);
2242 if (current==null) { 2242
2243 current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); 2243 if ( (LA13_0==22) ) {
2244 } 2244 alt13=1;
2245 add( 2245 }
2246 current, 2246 switch (alt13) {
2247 "exclusion", 2247 case 1 :
2248 lv_exclusion_4_0, 2248 // InternalApplicationConfiguration.g:781:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}'
2249 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); 2249 {
2250 afterParserOrEnumRuleCall(); 2250 otherlv_2=(Token)match(input,22,FOLLOW_16);
2251 2251
2252 2252 newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0());
2253 } 2253
2254 2254 otherlv_3=(Token)match(input,18,FOLLOW_6);
2255 2255
2256 } 2256 newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1());
2257 2257
2258 // InternalApplicationConfiguration.g:799:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* 2258 // InternalApplicationConfiguration.g:789:4: ( (lv_exclusion_4_0= ruleMetamodelElement ) )
2259 loop12: 2259 // InternalApplicationConfiguration.g:790:5: (lv_exclusion_4_0= ruleMetamodelElement )
2260 do { 2260 {
2261 int alt12=2; 2261 // InternalApplicationConfiguration.g:790:5: (lv_exclusion_4_0= ruleMetamodelElement )
2262 int LA12_0 = input.LA(1); 2262 // InternalApplicationConfiguration.g:791:6: lv_exclusion_4_0= ruleMetamodelElement
2263 2263 {
2264 if ( (LA12_0==19) ) { 2264
2265 alt12=1; 2265 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0());
2266 } 2266
2267 2267 pushFollow(FOLLOW_14);
2268 2268 lv_exclusion_4_0=ruleMetamodelElement();
2269 switch (alt12) { 2269
2270 case 1 : 2270 state._fsp--;
2271 // InternalApplicationConfiguration.g:800:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) 2271
2272 { 2272
2273 otherlv_5=(Token)match(input,19,FOLLOW_6); 2273 if (current==null) {
2274 2274 current = createModelElementForParent(grammarAccess.getAllPackageEntryRule());
2275 newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); 2275 }
2276 2276 add(
2277 // InternalApplicationConfiguration.g:804:5: ( (lv_exclusion_6_0= ruleMetamodelElement ) ) 2277 current,
2278 // InternalApplicationConfiguration.g:805:6: (lv_exclusion_6_0= ruleMetamodelElement ) 2278 "exclusion",
2279 { 2279 lv_exclusion_4_0,
2280 // InternalApplicationConfiguration.g:805:6: (lv_exclusion_6_0= ruleMetamodelElement ) 2280 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement");
2281 // InternalApplicationConfiguration.g:806:7: lv_exclusion_6_0= ruleMetamodelElement 2281 afterParserOrEnumRuleCall();
2282 { 2282
2283 2283
2284 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); 2284 }
2285 2285
2286 pushFollow(FOLLOW_14); 2286
2287 lv_exclusion_6_0=ruleMetamodelElement(); 2287 }
2288 2288
2289 state._fsp--; 2289 // InternalApplicationConfiguration.g:808:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )*
2290 2290 loop12:
2291 2291 do {
2292 if (current==null) { 2292 int alt12=2;
2293 current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); 2293 int LA12_0 = input.LA(1);
2294 } 2294
2295 add( 2295 if ( (LA12_0==19) ) {
2296 current, 2296 alt12=1;
2297 "exclusion", 2297 }
2298 lv_exclusion_6_0, 2298
2299 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); 2299
2300 afterParserOrEnumRuleCall(); 2300 switch (alt12) {
2301 2301 case 1 :
2302 2302 // InternalApplicationConfiguration.g:809:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) )
2303 } 2303 {
2304 2304 otherlv_5=(Token)match(input,19,FOLLOW_6);
2305 2305
2306 } 2306 newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0());
2307 2307
2308 2308 // InternalApplicationConfiguration.g:813:5: ( (lv_exclusion_6_0= ruleMetamodelElement ) )
2309 } 2309 // InternalApplicationConfiguration.g:814:6: (lv_exclusion_6_0= ruleMetamodelElement )
2310 break; 2310 {
2311 2311 // InternalApplicationConfiguration.g:814:6: (lv_exclusion_6_0= ruleMetamodelElement )
2312 default : 2312 // InternalApplicationConfiguration.g:815:7: lv_exclusion_6_0= ruleMetamodelElement
2313 break loop12; 2313 {
2314 } 2314
2315 } while (true); 2315 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0());
2316 2316
2317 otherlv_7=(Token)match(input,20,FOLLOW_2); 2317 pushFollow(FOLLOW_14);
2318 2318 lv_exclusion_6_0=ruleMetamodelElement();
2319 newLeafNode(otherlv_7, grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); 2319
2320 2320 state._fsp--;
2321 2321
2322 } 2322
2323 break; 2323 if (current==null) {
2324 2324 current = createModelElementForParent(grammarAccess.getAllPackageEntryRule());
2325 } 2325 }
2326 2326 add(
2327 2327 current,
2328 } 2328 "exclusion",
2329 2329 lv_exclusion_6_0,
2330 2330 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement");
2331 } 2331 afterParserOrEnumRuleCall();
2332 2332
2333 2333
2334 leaveRule(); 2334 }
2335 2335
2336 } 2336
2337 2337 }
2338 catch (RecognitionException re) { 2338
2339 recover(input,re); 2339
2340 appendSkippedTokens(); 2340 }
2341 } 2341 break;
2342 finally { 2342
2343 } 2343 default :
2344 return current; 2344 break loop12;
2345 } 2345 }
2346 // $ANTLR end "ruleAllPackageEntry" 2346 } while (true);
2347 2347
2348 2348 otherlv_7=(Token)match(input,20,FOLLOW_2);
2349 // $ANTLR start "entryRuleMetamodelElement" 2349
2350 // InternalApplicationConfiguration.g:833:1: entryRuleMetamodelElement returns [EObject current=null] : iv_ruleMetamodelElement= ruleMetamodelElement EOF ; 2350 newLeafNode(otherlv_7, grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4());
2351 public final EObject entryRuleMetamodelElement() throws RecognitionException { 2351
2352 EObject current = null; 2352
2353 2353 }
2354 EObject iv_ruleMetamodelElement = null; 2354 break;
2355 2355
2356 2356 }
2357 try { 2357
2358 // InternalApplicationConfiguration.g:833:57: (iv_ruleMetamodelElement= ruleMetamodelElement EOF ) 2358
2359 // InternalApplicationConfiguration.g:834:2: iv_ruleMetamodelElement= ruleMetamodelElement EOF 2359 }
2360 { 2360
2361 newCompositeNode(grammarAccess.getMetamodelElementRule()); 2361
2362 pushFollow(FOLLOW_1); 2362 }
2363 iv_ruleMetamodelElement=ruleMetamodelElement(); 2363
2364 2364
2365 state._fsp--; 2365 leaveRule();
2366 2366
2367 current =iv_ruleMetamodelElement; 2367 }
2368 match(input,EOF,FOLLOW_2); 2368
2369 2369 catch (RecognitionException re) {
2370 } 2370 recover(input,re);
2371 2371 appendSkippedTokens();
2372 } 2372 }
2373 2373 finally {
2374 catch (RecognitionException re) { 2374 }
2375 recover(input,re); 2375 return current;
2376 appendSkippedTokens(); 2376 }
2377 } 2377 // $ANTLR end "ruleAllPackageEntry"
2378 finally { 2378
2379 } 2379
2380 return current; 2380 // $ANTLR start "entryRuleMetamodelElement"
2381 } 2381 // InternalApplicationConfiguration.g:842:1: entryRuleMetamodelElement returns [EObject current=null] : iv_ruleMetamodelElement= ruleMetamodelElement EOF ;
2382 // $ANTLR end "entryRuleMetamodelElement" 2382 public final EObject entryRuleMetamodelElement() throws RecognitionException {
2383 2383 EObject current = null;
2384 2384
2385 // $ANTLR start "ruleMetamodelElement" 2385 EObject iv_ruleMetamodelElement = null;
2386 // InternalApplicationConfiguration.g:840:1: ruleMetamodelElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ; 2386
2387 public final EObject ruleMetamodelElement() throws RecognitionException { 2387
2388 EObject current = null; 2388 try {
2389 2389 // InternalApplicationConfiguration.g:842:57: (iv_ruleMetamodelElement= ruleMetamodelElement EOF )
2390 Token otherlv_1=null; 2390 // InternalApplicationConfiguration.g:843:2: iv_ruleMetamodelElement= ruleMetamodelElement EOF
2391 Token otherlv_2=null; 2391 {
2392 Token otherlv_3=null; 2392 newCompositeNode(grammarAccess.getMetamodelElementRule());
2393 Token otherlv_4=null; 2393 pushFollow(FOLLOW_1);
2394 2394 iv_ruleMetamodelElement=ruleMetamodelElement();
2395 2395
2396 enterRule(); 2396 state._fsp--;
2397 2397
2398 try { 2398 current =iv_ruleMetamodelElement;
2399 // InternalApplicationConfiguration.g:846:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ) 2399 match(input,EOF,FOLLOW_2);
2400 // InternalApplicationConfiguration.g:847:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) 2400
2401 { 2401 }
2402 // InternalApplicationConfiguration.g:847:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) 2402
2403 // InternalApplicationConfiguration.g:848:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? 2403 }
2404 { 2404
2405 // InternalApplicationConfiguration.g:848:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? 2405 catch (RecognitionException re) {
2406 int alt14=2; 2406 recover(input,re);
2407 int LA14_0 = input.LA(1); 2407 appendSkippedTokens();
2408 2408 }
2409 if ( (LA14_0==RULE_ID) ) { 2409 finally {
2410 int LA14_1 = input.LA(2); 2410 }
2411 2411 return current;
2412 if ( (LA14_1==11) ) { 2412 }
2413 int LA14_2 = input.LA(3); 2413 // $ANTLR end "entryRuleMetamodelElement"
2414 2414
2415 if ( (LA14_2==RULE_ID) ) { 2415
2416 int LA14_5 = input.LA(4); 2416 // $ANTLR start "ruleMetamodelElement"
2417 2417 // InternalApplicationConfiguration.g:849:1: ruleMetamodelElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ;
2418 if ( (LA14_5==11||LA14_5==23) ) { 2418 public final EObject ruleMetamodelElement() throws RecognitionException {
2419 alt14=1; 2419 EObject current = null;
2420 } 2420
2421 } 2421 Token otherlv_1=null;
2422 } 2422 Token otherlv_2=null;
2423 else if ( (LA14_1==23) ) { 2423 Token otherlv_3=null;
2424 alt14=1; 2424 Token otherlv_4=null;
2425 } 2425
2426 } 2426
2427 switch (alt14) { 2427 enterRule();
2428 case 1 : 2428
2429 // InternalApplicationConfiguration.g:849:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' 2429 try {
2430 { 2430 // InternalApplicationConfiguration.g:855:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) )
2431 // InternalApplicationConfiguration.g:849:4: ( ( ruleQualifiedName ) ) 2431 // InternalApplicationConfiguration.g:856:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? )
2432 // InternalApplicationConfiguration.g:850:5: ( ruleQualifiedName ) 2432 {
2433 { 2433 // InternalApplicationConfiguration.g:856:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? )
2434 // InternalApplicationConfiguration.g:850:5: ( ruleQualifiedName ) 2434 // InternalApplicationConfiguration.g:857:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )?
2435 // InternalApplicationConfiguration.g:851:6: ruleQualifiedName 2435 {
2436 { 2436 // InternalApplicationConfiguration.g:857:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )?
2437 2437 int alt14=2;
2438 if (current==null) { 2438 int LA14_0 = input.LA(1);
2439 current = createModelElement(grammarAccess.getMetamodelElementRule()); 2439
2440 } 2440 if ( (LA14_0==RULE_ID) ) {
2441 2441 int LA14_1 = input.LA(2);
2442 2442
2443 newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); 2443 if ( (LA14_1==11) ) {
2444 2444 int LA14_2 = input.LA(3);
2445 pushFollow(FOLLOW_17); 2445
2446 ruleQualifiedName(); 2446 if ( (LA14_2==RULE_ID) ) {
2447 2447 int LA14_5 = input.LA(4);
2448 state._fsp--; 2448
2449 2449 if ( (LA14_5==11||LA14_5==23) ) {
2450 2450 alt14=1;
2451 afterParserOrEnumRuleCall(); 2451 }
2452 2452 }
2453 2453 }
2454 } 2454 else if ( (LA14_1==23) ) {
2455 2455 alt14=1;
2456 2456 }
2457 } 2457 }
2458 2458 switch (alt14) {
2459 otherlv_1=(Token)match(input,23,FOLLOW_6); 2459 case 1 :
2460 2460 // InternalApplicationConfiguration.g:858:4: ( ( ruleQualifiedName ) ) otherlv_1= '::'
2461 newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); 2461 {
2462 2462 // InternalApplicationConfiguration.g:858:4: ( ( ruleQualifiedName ) )
2463 2463 // InternalApplicationConfiguration.g:859:5: ( ruleQualifiedName )
2464 } 2464 {
2465 break; 2465 // InternalApplicationConfiguration.g:859:5: ( ruleQualifiedName )
2466 2466 // InternalApplicationConfiguration.g:860:6: ruleQualifiedName
2467 } 2467 {
2468 2468
2469 // InternalApplicationConfiguration.g:870:3: ( (otherlv_2= RULE_ID ) ) 2469 if (current==null) {
2470 // InternalApplicationConfiguration.g:871:4: (otherlv_2= RULE_ID ) 2470 current = createModelElement(grammarAccess.getMetamodelElementRule());
2471 { 2471 }
2472 // InternalApplicationConfiguration.g:871:4: (otherlv_2= RULE_ID ) 2472
2473 // InternalApplicationConfiguration.g:872:5: otherlv_2= RULE_ID 2473
2474 { 2474 newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0());
2475 2475
2476 if (current==null) { 2476 pushFollow(FOLLOW_17);
2477 current = createModelElement(grammarAccess.getMetamodelElementRule()); 2477 ruleQualifiedName();
2478 } 2478
2479 2479 state._fsp--;
2480 otherlv_2=(Token)match(input,RULE_ID,FOLLOW_5); 2480
2481 2481
2482 newLeafNode(otherlv_2, grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); 2482 afterParserOrEnumRuleCall();
2483 2483
2484 2484
2485 } 2485 }
2486 2486
2487 2487
2488 } 2488 }
2489 2489
2490 // InternalApplicationConfiguration.g:883:3: (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? 2490 otherlv_1=(Token)match(input,23,FOLLOW_6);
2491 int alt15=2; 2491
2492 int LA15_0 = input.LA(1); 2492 newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1());
2493 2493
2494 if ( (LA15_0==11) ) { 2494
2495 alt15=1; 2495 }
2496 } 2496 break;
2497 switch (alt15) { 2497
2498 case 1 : 2498 }
2499 // InternalApplicationConfiguration.g:884:4: otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) 2499
2500 { 2500 // InternalApplicationConfiguration.g:879:3: ( (otherlv_2= RULE_ID ) )
2501 otherlv_3=(Token)match(input,11,FOLLOW_6); 2501 // InternalApplicationConfiguration.g:880:4: (otherlv_2= RULE_ID )
2502 2502 {
2503 newLeafNode(otherlv_3, grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); 2503 // InternalApplicationConfiguration.g:880:4: (otherlv_2= RULE_ID )
2504 2504 // InternalApplicationConfiguration.g:881:5: otherlv_2= RULE_ID
2505 // InternalApplicationConfiguration.g:888:4: ( (otherlv_4= RULE_ID ) ) 2505 {
2506 // InternalApplicationConfiguration.g:889:5: (otherlv_4= RULE_ID ) 2506
2507 { 2507 if (current==null) {
2508 // InternalApplicationConfiguration.g:889:5: (otherlv_4= RULE_ID ) 2508 current = createModelElement(grammarAccess.getMetamodelElementRule());
2509 // InternalApplicationConfiguration.g:890:6: otherlv_4= RULE_ID 2509 }
2510 { 2510
2511 2511 otherlv_2=(Token)match(input,RULE_ID,FOLLOW_5);
2512 if (current==null) { 2512
2513 current = createModelElement(grammarAccess.getMetamodelElementRule()); 2513 newLeafNode(otherlv_2, grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0());
2514 } 2514
2515 2515
2516 otherlv_4=(Token)match(input,RULE_ID,FOLLOW_2); 2516 }
2517 2517
2518 newLeafNode(otherlv_4, grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); 2518
2519 2519 }
2520 2520
2521 } 2521 // InternalApplicationConfiguration.g:892:3: (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )?
2522 2522 int alt15=2;
2523 2523 int LA15_0 = input.LA(1);
2524 } 2524
2525 2525 if ( (LA15_0==11) ) {
2526 2526 alt15=1;
2527 } 2527 }
2528 break; 2528 switch (alt15) {
2529 2529 case 1 :
2530 } 2530 // InternalApplicationConfiguration.g:893:4: otherlv_3= '.' ( (otherlv_4= RULE_ID ) )
2531 2531 {
2532 2532 otherlv_3=(Token)match(input,11,FOLLOW_6);
2533 } 2533
2534 2534 newLeafNode(otherlv_3, grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0());
2535 2535
2536 } 2536 // InternalApplicationConfiguration.g:897:4: ( (otherlv_4= RULE_ID ) )
2537 2537 // InternalApplicationConfiguration.g:898:5: (otherlv_4= RULE_ID )
2538 2538 {
2539 leaveRule(); 2539 // InternalApplicationConfiguration.g:898:5: (otherlv_4= RULE_ID )
2540 2540 // InternalApplicationConfiguration.g:899:6: otherlv_4= RULE_ID
2541 } 2541 {
2542 2542
2543 catch (RecognitionException re) { 2543 if (current==null) {
2544 recover(input,re); 2544 current = createModelElement(grammarAccess.getMetamodelElementRule());
2545 appendSkippedTokens(); 2545 }
2546 } 2546
2547 finally { 2547 otherlv_4=(Token)match(input,RULE_ID,FOLLOW_2);
2548 } 2548
2549 return current; 2549 newLeafNode(otherlv_4, grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0());
2550 } 2550
2551 // $ANTLR end "ruleMetamodelElement" 2551
2552 2552 }
2553 2553
2554 // $ANTLR start "entryRuleMetamodelDeclaration" 2554
2555 // InternalApplicationConfiguration.g:906:1: entryRuleMetamodelDeclaration returns [EObject current=null] : iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ; 2555 }
2556 public final EObject entryRuleMetamodelDeclaration() throws RecognitionException { 2556
2557 EObject current = null; 2557
2558 2558 }
2559 EObject iv_ruleMetamodelDeclaration = null; 2559 break;
2560 2560
2561 2561 }
2562 try { 2562
2563 // InternalApplicationConfiguration.g:906:61: (iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ) 2563
2564 // InternalApplicationConfiguration.g:907:2: iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF 2564 }
2565 { 2565
2566 newCompositeNode(grammarAccess.getMetamodelDeclarationRule()); 2566
2567 pushFollow(FOLLOW_1); 2567 }
2568 iv_ruleMetamodelDeclaration=ruleMetamodelDeclaration(); 2568
2569 2569
2570 state._fsp--; 2570 leaveRule();
2571 2571
2572 current =iv_ruleMetamodelDeclaration; 2572 }
2573 match(input,EOF,FOLLOW_2); 2573
2574 2574 catch (RecognitionException re) {
2575 } 2575 recover(input,re);
2576 2576 appendSkippedTokens();
2577 } 2577 }
2578 2578 finally {
2579 catch (RecognitionException re) { 2579 }
2580 recover(input,re); 2580 return current;
2581 appendSkippedTokens(); 2581 }
2582 } 2582 // $ANTLR end "ruleMetamodelElement"
2583 finally { 2583
2584 } 2584
2585 return current; 2585 // $ANTLR start "entryRuleMetamodelDeclaration"
2586 } 2586 // InternalApplicationConfiguration.g:915:1: entryRuleMetamodelDeclaration returns [EObject current=null] : iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ;
2587 // $ANTLR end "entryRuleMetamodelDeclaration" 2587 public final EObject entryRuleMetamodelDeclaration() throws RecognitionException {
2588 2588 EObject current = null;
2589 2589
2590 // $ANTLR start "ruleMetamodelDeclaration" 2590 EObject iv_ruleMetamodelDeclaration = null;
2591 // InternalApplicationConfiguration.g:913:1: ruleMetamodelDeclaration returns [EObject current=null] : (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ; 2591
2592 public final EObject ruleMetamodelDeclaration() throws RecognitionException { 2592
2593 EObject current = null; 2593 try {
2594 2594 // InternalApplicationConfiguration.g:915:61: (iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF )
2595 Token otherlv_0=null; 2595 // InternalApplicationConfiguration.g:916:2: iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF
2596 Token lv_name_1_0=null; 2596 {
2597 EObject lv_specification_2_0 = null; 2597 newCompositeNode(grammarAccess.getMetamodelDeclarationRule());
2598 2598 pushFollow(FOLLOW_1);
2599 2599 iv_ruleMetamodelDeclaration=ruleMetamodelDeclaration();
2600 2600
2601 enterRule(); 2601 state._fsp--;
2602 2602
2603 try { 2603 current =iv_ruleMetamodelDeclaration;
2604 // InternalApplicationConfiguration.g:919:2: ( (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ) 2604 match(input,EOF,FOLLOW_2);
2605 // InternalApplicationConfiguration.g:920:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) 2605
2606 { 2606 }
2607 // InternalApplicationConfiguration.g:920:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) 2607
2608 // InternalApplicationConfiguration.g:921:3: otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) 2608 }
2609 { 2609
2610 otherlv_0=(Token)match(input,24,FOLLOW_6); 2610 catch (RecognitionException re) {
2611 2611 recover(input,re);
2612 newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); 2612 appendSkippedTokens();
2613 2613 }
2614 // InternalApplicationConfiguration.g:925:3: ( (lv_name_1_0= RULE_ID ) ) 2614 finally {
2615 // InternalApplicationConfiguration.g:926:4: (lv_name_1_0= RULE_ID ) 2615 }
2616 { 2616 return current;
2617 // InternalApplicationConfiguration.g:926:4: (lv_name_1_0= RULE_ID ) 2617 }
2618 // InternalApplicationConfiguration.g:927:5: lv_name_1_0= RULE_ID 2618 // $ANTLR end "entryRuleMetamodelDeclaration"
2619 { 2619
2620 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); 2620
2621 2621 // $ANTLR start "ruleMetamodelDeclaration"
2622 newLeafNode(lv_name_1_0, grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 2622 // InternalApplicationConfiguration.g:922:1: ruleMetamodelDeclaration returns [EObject current=null] : (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ;
2623 2623 public final EObject ruleMetamodelDeclaration() throws RecognitionException {
2624 2624 EObject current = null;
2625 if (current==null) { 2625
2626 current = createModelElement(grammarAccess.getMetamodelDeclarationRule()); 2626 Token otherlv_0=null;
2627 } 2627 Token lv_name_1_0=null;
2628 setWithLastConsumed( 2628 EObject lv_specification_2_0 = null;
2629 current, 2629
2630 "name", 2630
2631 lv_name_1_0, 2631
2632 "org.eclipse.xtext.common.Terminals.ID"); 2632 enterRule();
2633 2633
2634 2634 try {
2635 } 2635 // InternalApplicationConfiguration.g:928:2: ( (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) )
2636 2636 // InternalApplicationConfiguration.g:929:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) )
2637 2637 {
2638 } 2638 // InternalApplicationConfiguration.g:929:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) )
2639 2639 // InternalApplicationConfiguration.g:930:3: otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) )
2640 // InternalApplicationConfiguration.g:943:3: ( (lv_specification_2_0= ruleMetamodelSpecification ) ) 2640 {
2641 // InternalApplicationConfiguration.g:944:4: (lv_specification_2_0= ruleMetamodelSpecification ) 2641 otherlv_0=(Token)match(input,24,FOLLOW_6);
2642 { 2642
2643 // InternalApplicationConfiguration.g:944:4: (lv_specification_2_0= ruleMetamodelSpecification ) 2643 newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0());
2644 // InternalApplicationConfiguration.g:945:5: lv_specification_2_0= ruleMetamodelSpecification 2644
2645 { 2645 // InternalApplicationConfiguration.g:934:3: ( (lv_name_1_0= RULE_ID ) )
2646 2646 // InternalApplicationConfiguration.g:935:4: (lv_name_1_0= RULE_ID )
2647 newCompositeNode(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); 2647 {
2648 2648 // InternalApplicationConfiguration.g:935:4: (lv_name_1_0= RULE_ID )
2649 pushFollow(FOLLOW_2); 2649 // InternalApplicationConfiguration.g:936:5: lv_name_1_0= RULE_ID
2650 lv_specification_2_0=ruleMetamodelSpecification(); 2650 {
2651 2651 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16);
2652 state._fsp--; 2652
2653 2653 newLeafNode(lv_name_1_0, grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0());
2654 2654
2655 if (current==null) { 2655
2656 current = createModelElementForParent(grammarAccess.getMetamodelDeclarationRule()); 2656 if (current==null) {
2657 } 2657 current = createModelElement(grammarAccess.getMetamodelDeclarationRule());
2658 set( 2658 }
2659 current, 2659 setWithLastConsumed(
2660 "specification", 2660 current,
2661 lv_specification_2_0, 2661 "name",
2662 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification"); 2662 lv_name_1_0,
2663 afterParserOrEnumRuleCall(); 2663 "org.eclipse.xtext.common.Terminals.ID");
2664 2664
2665 2665
2666 } 2666 }
2667 2667
2668 2668
2669 } 2669 }
2670 2670
2671 2671 // InternalApplicationConfiguration.g:952:3: ( (lv_specification_2_0= ruleMetamodelSpecification ) )
2672 } 2672 // InternalApplicationConfiguration.g:953:4: (lv_specification_2_0= ruleMetamodelSpecification )
2673 2673 {
2674 2674 // InternalApplicationConfiguration.g:953:4: (lv_specification_2_0= ruleMetamodelSpecification )
2675 } 2675 // InternalApplicationConfiguration.g:954:5: lv_specification_2_0= ruleMetamodelSpecification
2676 2676 {
2677 2677
2678 leaveRule(); 2678 newCompositeNode(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0());
2679 2679
2680 } 2680 pushFollow(FOLLOW_2);
2681 2681 lv_specification_2_0=ruleMetamodelSpecification();
2682 catch (RecognitionException re) { 2682
2683 recover(input,re); 2683 state._fsp--;
2684 appendSkippedTokens(); 2684
2685 } 2685
2686 finally { 2686 if (current==null) {
2687 } 2687 current = createModelElementForParent(grammarAccess.getMetamodelDeclarationRule());
2688 return current; 2688 }
2689 } 2689 set(
2690 // $ANTLR end "ruleMetamodelDeclaration" 2690 current,
2691 2691 "specification",
2692 2692 lv_specification_2_0,
2693 // $ANTLR start "entryRuleMetamodelReference" 2693 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification");
2694 // InternalApplicationConfiguration.g:966:1: entryRuleMetamodelReference returns [EObject current=null] : iv_ruleMetamodelReference= ruleMetamodelReference EOF ; 2694 afterParserOrEnumRuleCall();
2695 public final EObject entryRuleMetamodelReference() throws RecognitionException { 2695
2696 EObject current = null; 2696
2697 2697 }
2698 EObject iv_ruleMetamodelReference = null; 2698
2699 2699
2700 2700 }
2701 try { 2701
2702 // InternalApplicationConfiguration.g:966:59: (iv_ruleMetamodelReference= ruleMetamodelReference EOF ) 2702
2703 // InternalApplicationConfiguration.g:967:2: iv_ruleMetamodelReference= ruleMetamodelReference EOF 2703 }
2704 { 2704
2705 newCompositeNode(grammarAccess.getMetamodelReferenceRule()); 2705
2706 pushFollow(FOLLOW_1); 2706 }
2707 iv_ruleMetamodelReference=ruleMetamodelReference(); 2707
2708 2708
2709 state._fsp--; 2709 leaveRule();
2710 2710
2711 current =iv_ruleMetamodelReference; 2711 }
2712 match(input,EOF,FOLLOW_2); 2712
2713 2713 catch (RecognitionException re) {
2714 } 2714 recover(input,re);
2715 2715 appendSkippedTokens();
2716 } 2716 }
2717 2717 finally {
2718 catch (RecognitionException re) { 2718 }
2719 recover(input,re); 2719 return current;
2720 appendSkippedTokens(); 2720 }
2721 } 2721 // $ANTLR end "ruleMetamodelDeclaration"
2722 finally { 2722
2723 } 2723
2724 return current; 2724 // $ANTLR start "entryRuleMetamodelReference"
2725 } 2725 // InternalApplicationConfiguration.g:975:1: entryRuleMetamodelReference returns [EObject current=null] : iv_ruleMetamodelReference= ruleMetamodelReference EOF ;
2726 // $ANTLR end "entryRuleMetamodelReference" 2726 public final EObject entryRuleMetamodelReference() throws RecognitionException {
2727 2727 EObject current = null;
2728 2728
2729 // $ANTLR start "ruleMetamodelReference" 2729 EObject iv_ruleMetamodelReference = null;
2730 // InternalApplicationConfiguration.g:973:1: ruleMetamodelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; 2730
2731 public final EObject ruleMetamodelReference() throws RecognitionException { 2731
2732 EObject current = null; 2732 try {
2733 2733 // InternalApplicationConfiguration.g:975:59: (iv_ruleMetamodelReference= ruleMetamodelReference EOF )
2734 Token otherlv_0=null; 2734 // InternalApplicationConfiguration.g:976:2: iv_ruleMetamodelReference= ruleMetamodelReference EOF
2735 2735 {
2736 2736 newCompositeNode(grammarAccess.getMetamodelReferenceRule());
2737 enterRule(); 2737 pushFollow(FOLLOW_1);
2738 2738 iv_ruleMetamodelReference=ruleMetamodelReference();
2739 try { 2739
2740 // InternalApplicationConfiguration.g:979:2: ( ( (otherlv_0= RULE_ID ) ) ) 2740 state._fsp--;
2741 // InternalApplicationConfiguration.g:980:2: ( (otherlv_0= RULE_ID ) ) 2741
2742 { 2742 current =iv_ruleMetamodelReference;
2743 // InternalApplicationConfiguration.g:980:2: ( (otherlv_0= RULE_ID ) ) 2743 match(input,EOF,FOLLOW_2);
2744 // InternalApplicationConfiguration.g:981:3: (otherlv_0= RULE_ID ) 2744
2745 { 2745 }
2746 // InternalApplicationConfiguration.g:981:3: (otherlv_0= RULE_ID ) 2746
2747 // InternalApplicationConfiguration.g:982:4: otherlv_0= RULE_ID 2747 }
2748 { 2748
2749 2749 catch (RecognitionException re) {
2750 if (current==null) { 2750 recover(input,re);
2751 current = createModelElement(grammarAccess.getMetamodelReferenceRule()); 2751 appendSkippedTokens();
2752 } 2752 }
2753 2753 finally {
2754 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); 2754 }
2755 2755 return current;
2756 newLeafNode(otherlv_0, grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); 2756 }
2757 2757 // $ANTLR end "entryRuleMetamodelReference"
2758 2758
2759 } 2759
2760 2760 // $ANTLR start "ruleMetamodelReference"
2761 2761 // InternalApplicationConfiguration.g:982:1: ruleMetamodelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
2762 } 2762 public final EObject ruleMetamodelReference() throws RecognitionException {
2763 2763 EObject current = null;
2764 2764
2765 } 2765 Token otherlv_0=null;
2766 2766
2767 2767
2768 leaveRule(); 2768 enterRule();
2769 2769
2770 } 2770 try {
2771 2771 // InternalApplicationConfiguration.g:988:2: ( ( (otherlv_0= RULE_ID ) ) )
2772 catch (RecognitionException re) { 2772 // InternalApplicationConfiguration.g:989:2: ( (otherlv_0= RULE_ID ) )
2773 recover(input,re); 2773 {
2774 appendSkippedTokens(); 2774 // InternalApplicationConfiguration.g:989:2: ( (otherlv_0= RULE_ID ) )
2775 } 2775 // InternalApplicationConfiguration.g:990:3: (otherlv_0= RULE_ID )
2776 finally { 2776 {
2777 } 2777 // InternalApplicationConfiguration.g:990:3: (otherlv_0= RULE_ID )
2778 return current; 2778 // InternalApplicationConfiguration.g:991:4: otherlv_0= RULE_ID
2779 } 2779 {
2780 // $ANTLR end "ruleMetamodelReference" 2780
2781 2781 if (current==null) {
2782 2782 current = createModelElement(grammarAccess.getMetamodelReferenceRule());
2783 // $ANTLR start "entryRuleMetamodel" 2783 }
2784 // InternalApplicationConfiguration.g:996:1: entryRuleMetamodel returns [EObject current=null] : iv_ruleMetamodel= ruleMetamodel EOF ; 2784
2785 public final EObject entryRuleMetamodel() throws RecognitionException { 2785 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2);
2786 EObject current = null; 2786
2787 2787 newLeafNode(otherlv_0, grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0());
2788 EObject iv_ruleMetamodel = null; 2788
2789 2789
2790 2790 }
2791 try { 2791
2792 // InternalApplicationConfiguration.g:996:50: (iv_ruleMetamodel= ruleMetamodel EOF ) 2792
2793 // InternalApplicationConfiguration.g:997:2: iv_ruleMetamodel= ruleMetamodel EOF 2793 }
2794 { 2794
2795 newCompositeNode(grammarAccess.getMetamodelRule()); 2795
2796 pushFollow(FOLLOW_1); 2796 }
2797 iv_ruleMetamodel=ruleMetamodel(); 2797
2798 2798
2799 state._fsp--; 2799 leaveRule();
2800 2800
2801 current =iv_ruleMetamodel; 2801 }
2802 match(input,EOF,FOLLOW_2); 2802
2803 2803 catch (RecognitionException re) {
2804 } 2804 recover(input,re);
2805 2805 appendSkippedTokens();
2806 } 2806 }
2807 2807 finally {
2808 catch (RecognitionException re) { 2808 }
2809 recover(input,re); 2809 return current;
2810 appendSkippedTokens(); 2810 }
2811 } 2811 // $ANTLR end "ruleMetamodelReference"
2812 finally { 2812
2813 } 2813
2814 return current; 2814 // $ANTLR start "entryRuleMetamodel"
2815 } 2815 // InternalApplicationConfiguration.g:1005:1: entryRuleMetamodel returns [EObject current=null] : iv_ruleMetamodel= ruleMetamodel EOF ;
2816 // $ANTLR end "entryRuleMetamodel" 2816 public final EObject entryRuleMetamodel() throws RecognitionException {
2817 2817 EObject current = null;
2818 2818
2819 // $ANTLR start "ruleMetamodel" 2819 EObject iv_ruleMetamodel = null;
2820 // InternalApplicationConfiguration.g:1003:1: ruleMetamodel returns [EObject current=null] : (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ; 2820
2821 public final EObject ruleMetamodel() throws RecognitionException { 2821
2822 EObject current = null; 2822 try {
2823 2823 // InternalApplicationConfiguration.g:1005:50: (iv_ruleMetamodel= ruleMetamodel EOF )
2824 EObject this_MetamodelReference_0 = null; 2824 // InternalApplicationConfiguration.g:1006:2: iv_ruleMetamodel= ruleMetamodel EOF
2825 2825 {
2826 EObject this_MetamodelSpecification_1 = null; 2826 newCompositeNode(grammarAccess.getMetamodelRule());
2827 2827 pushFollow(FOLLOW_1);
2828 2828 iv_ruleMetamodel=ruleMetamodel();
2829 2829
2830 enterRule(); 2830 state._fsp--;
2831 2831
2832 try { 2832 current =iv_ruleMetamodel;
2833 // InternalApplicationConfiguration.g:1009:2: ( (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ) 2833 match(input,EOF,FOLLOW_2);
2834 // InternalApplicationConfiguration.g:1010:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) 2834
2835 { 2835 }
2836 // InternalApplicationConfiguration.g:1010:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) 2836
2837 int alt16=2; 2837 }
2838 int LA16_0 = input.LA(1); 2838
2839 2839 catch (RecognitionException re) {
2840 if ( (LA16_0==RULE_ID) ) { 2840 recover(input,re);
2841 alt16=1; 2841 appendSkippedTokens();
2842 } 2842 }
2843 else if ( (LA16_0==18) ) { 2843 finally {
2844 alt16=2; 2844 }
2845 } 2845 return current;
2846 else { 2846 }
2847 NoViableAltException nvae = 2847 // $ANTLR end "entryRuleMetamodel"
2848 new NoViableAltException("", 16, 0, input); 2848
2849 2849
2850 throw nvae; 2850 // $ANTLR start "ruleMetamodel"
2851 } 2851 // InternalApplicationConfiguration.g:1012:1: ruleMetamodel returns [EObject current=null] : (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ;
2852 switch (alt16) { 2852 public final EObject ruleMetamodel() throws RecognitionException {
2853 case 1 : 2853 EObject current = null;
2854 // InternalApplicationConfiguration.g:1011:3: this_MetamodelReference_0= ruleMetamodelReference 2854
2855 { 2855 EObject this_MetamodelReference_0 = null;
2856 2856
2857 newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); 2857 EObject this_MetamodelSpecification_1 = null;
2858 2858
2859 pushFollow(FOLLOW_2); 2859
2860 this_MetamodelReference_0=ruleMetamodelReference(); 2860
2861 2861 enterRule();
2862 state._fsp--; 2862
2863 2863 try {
2864 2864 // InternalApplicationConfiguration.g:1018:2: ( (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) )
2865 current = this_MetamodelReference_0; 2865 // InternalApplicationConfiguration.g:1019:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification )
2866 afterParserOrEnumRuleCall(); 2866 {
2867 2867 // InternalApplicationConfiguration.g:1019:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification )
2868 2868 int alt16=2;
2869 } 2869 int LA16_0 = input.LA(1);
2870 break; 2870
2871 case 2 : 2871 if ( (LA16_0==RULE_ID) ) {
2872 // InternalApplicationConfiguration.g:1020:3: this_MetamodelSpecification_1= ruleMetamodelSpecification 2872 alt16=1;
2873 { 2873 }
2874 2874 else if ( (LA16_0==18) ) {
2875 newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); 2875 alt16=2;
2876 2876 }
2877 pushFollow(FOLLOW_2); 2877 else {
2878 this_MetamodelSpecification_1=ruleMetamodelSpecification(); 2878 NoViableAltException nvae =
2879 2879 new NoViableAltException("", 16, 0, input);
2880 state._fsp--; 2880
2881 2881 throw nvae;
2882 2882 }
2883 current = this_MetamodelSpecification_1; 2883 switch (alt16) {
2884 afterParserOrEnumRuleCall(); 2884 case 1 :
2885 2885 // InternalApplicationConfiguration.g:1020:3: this_MetamodelReference_0= ruleMetamodelReference
2886 2886 {
2887 } 2887
2888 break; 2888 newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0());
2889 2889
2890 } 2890 pushFollow(FOLLOW_2);
2891 2891 this_MetamodelReference_0=ruleMetamodelReference();
2892 2892
2893 } 2893 state._fsp--;
2894 2894
2895 2895
2896 leaveRule(); 2896 current = this_MetamodelReference_0;
2897 2897 afterParserOrEnumRuleCall();
2898 } 2898
2899 2899
2900 catch (RecognitionException re) { 2900 }
2901 recover(input,re); 2901 break;
2902 appendSkippedTokens(); 2902 case 2 :
2903 } 2903 // InternalApplicationConfiguration.g:1029:3: this_MetamodelSpecification_1= ruleMetamodelSpecification
2904 finally { 2904 {
2905 } 2905
2906 return current; 2906 newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1());
2907 } 2907
2908 // $ANTLR end "ruleMetamodel" 2908 pushFollow(FOLLOW_2);
2909 2909 this_MetamodelSpecification_1=ruleMetamodelSpecification();
2910 2910
2911 // $ANTLR start "entryRulePartialModelSpecification" 2911 state._fsp--;
2912 // InternalApplicationConfiguration.g:1032:1: entryRulePartialModelSpecification returns [EObject current=null] : iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ; 2912
2913 public final EObject entryRulePartialModelSpecification() throws RecognitionException { 2913
2914 EObject current = null; 2914 current = this_MetamodelSpecification_1;
2915 2915 afterParserOrEnumRuleCall();
2916 EObject iv_rulePartialModelSpecification = null; 2916
2917 2917
2918 2918 }
2919 try { 2919 break;
2920 // InternalApplicationConfiguration.g:1032:66: (iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ) 2920
2921 // InternalApplicationConfiguration.g:1033:2: iv_rulePartialModelSpecification= rulePartialModelSpecification EOF 2921 }
2922 { 2922
2923 newCompositeNode(grammarAccess.getPartialModelSpecificationRule()); 2923
2924 pushFollow(FOLLOW_1); 2924 }
2925 iv_rulePartialModelSpecification=rulePartialModelSpecification(); 2925
2926 2926
2927 state._fsp--; 2927 leaveRule();
2928 2928
2929 current =iv_rulePartialModelSpecification; 2929 }
2930 match(input,EOF,FOLLOW_2); 2930
2931 2931 catch (RecognitionException re) {
2932 } 2932 recover(input,re);
2933 2933 appendSkippedTokens();
2934 } 2934 }
2935 2935 finally {
2936 catch (RecognitionException re) { 2936 }
2937 recover(input,re); 2937 return current;
2938 appendSkippedTokens(); 2938 }
2939 } 2939 // $ANTLR end "ruleMetamodel"
2940 finally { 2940
2941 } 2941
2942 return current; 2942 // $ANTLR start "entryRulePartialModelSpecification"
2943 } 2943 // InternalApplicationConfiguration.g:1041:1: entryRulePartialModelSpecification returns [EObject current=null] : iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ;
2944 // $ANTLR end "entryRulePartialModelSpecification" 2944 public final EObject entryRulePartialModelSpecification() throws RecognitionException {
2945 2945 EObject current = null;
2946 2946
2947 // $ANTLR start "rulePartialModelSpecification" 2947 EObject iv_rulePartialModelSpecification = null;
2948 // InternalApplicationConfiguration.g:1039:1: rulePartialModelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ; 2948
2949 public final EObject rulePartialModelSpecification() throws RecognitionException { 2949
2950 EObject current = null; 2950 try {
2951 2951 // InternalApplicationConfiguration.g:1041:66: (iv_rulePartialModelSpecification= rulePartialModelSpecification EOF )
2952 Token otherlv_0=null; 2952 // InternalApplicationConfiguration.g:1042:2: iv_rulePartialModelSpecification= rulePartialModelSpecification EOF
2953 Token otherlv_2=null; 2953 {
2954 Token otherlv_4=null; 2954 newCompositeNode(grammarAccess.getPartialModelSpecificationRule());
2955 EObject lv_entry_1_0 = null; 2955 pushFollow(FOLLOW_1);
2956 2956 iv_rulePartialModelSpecification=rulePartialModelSpecification();
2957 EObject lv_entry_3_0 = null; 2957
2958 2958 state._fsp--;
2959 2959
2960 2960 current =iv_rulePartialModelSpecification;
2961 enterRule(); 2961 match(input,EOF,FOLLOW_2);
2962 2962
2963 try { 2963 }
2964 // InternalApplicationConfiguration.g:1045:2: ( (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ) 2964
2965 // InternalApplicationConfiguration.g:1046:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) 2965 }
2966 { 2966
2967 // InternalApplicationConfiguration.g:1046:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) 2967 catch (RecognitionException re) {
2968 // InternalApplicationConfiguration.g:1047:3: otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' 2968 recover(input,re);
2969 { 2969 appendSkippedTokens();
2970 otherlv_0=(Token)match(input,18,FOLLOW_18); 2970 }
2971 2971 finally {
2972 newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); 2972 }
2973 2973 return current;
2974 // InternalApplicationConfiguration.g:1051:3: ( (lv_entry_1_0= rulePartialModelEntry ) ) 2974 }
2975 // InternalApplicationConfiguration.g:1052:4: (lv_entry_1_0= rulePartialModelEntry ) 2975 // $ANTLR end "entryRulePartialModelSpecification"
2976 { 2976
2977 // InternalApplicationConfiguration.g:1052:4: (lv_entry_1_0= rulePartialModelEntry ) 2977
2978 // InternalApplicationConfiguration.g:1053:5: lv_entry_1_0= rulePartialModelEntry 2978 // $ANTLR start "rulePartialModelSpecification"
2979 { 2979 // InternalApplicationConfiguration.g:1048:1: rulePartialModelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ;
2980 2980 public final EObject rulePartialModelSpecification() throws RecognitionException {
2981 newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); 2981 EObject current = null;
2982 2982
2983 pushFollow(FOLLOW_14); 2983 Token otherlv_0=null;
2984 lv_entry_1_0=rulePartialModelEntry(); 2984 Token otherlv_2=null;
2985 2985 Token otherlv_4=null;
2986 state._fsp--; 2986 EObject lv_entry_1_0 = null;
2987 2987
2988 2988 EObject lv_entry_3_0 = null;
2989 if (current==null) { 2989
2990 current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); 2990
2991 } 2991
2992 add( 2992 enterRule();
2993 current, 2993
2994 "entry", 2994 try {
2995 lv_entry_1_0, 2995 // InternalApplicationConfiguration.g:1054:2: ( (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) )
2996 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); 2996 // InternalApplicationConfiguration.g:1055:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' )
2997 afterParserOrEnumRuleCall(); 2997 {
2998 2998 // InternalApplicationConfiguration.g:1055:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' )
2999 2999 // InternalApplicationConfiguration.g:1056:3: otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}'
3000 } 3000 {
3001 3001 otherlv_0=(Token)match(input,18,FOLLOW_18);
3002 3002
3003 } 3003 newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0());
3004 3004
3005 // InternalApplicationConfiguration.g:1070:3: (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? 3005 // InternalApplicationConfiguration.g:1060:3: ( (lv_entry_1_0= rulePartialModelEntry ) )
3006 int alt17=2; 3006 // InternalApplicationConfiguration.g:1061:4: (lv_entry_1_0= rulePartialModelEntry )
3007 int LA17_0 = input.LA(1); 3007 {
3008 3008 // InternalApplicationConfiguration.g:1061:4: (lv_entry_1_0= rulePartialModelEntry )
3009 if ( (LA17_0==19) ) { 3009 // InternalApplicationConfiguration.g:1062:5: lv_entry_1_0= rulePartialModelEntry
3010 alt17=1; 3010 {
3011 } 3011
3012 switch (alt17) { 3012 newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0());
3013 case 1 : 3013
3014 // InternalApplicationConfiguration.g:1071:4: otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) 3014 pushFollow(FOLLOW_14);
3015 { 3015 lv_entry_1_0=rulePartialModelEntry();
3016 otherlv_2=(Token)match(input,19,FOLLOW_18); 3016
3017 3017 state._fsp--;
3018 newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); 3018
3019 3019
3020 // InternalApplicationConfiguration.g:1075:4: ( (lv_entry_3_0= rulePartialModelEntry ) ) 3020 if (current==null) {
3021 // InternalApplicationConfiguration.g:1076:5: (lv_entry_3_0= rulePartialModelEntry ) 3021 current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule());
3022 { 3022 }
3023 // InternalApplicationConfiguration.g:1076:5: (lv_entry_3_0= rulePartialModelEntry ) 3023 add(
3024 // InternalApplicationConfiguration.g:1077:6: lv_entry_3_0= rulePartialModelEntry 3024 current,
3025 { 3025 "entry",
3026 3026 lv_entry_1_0,
3027 newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); 3027 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry");
3028 3028 afterParserOrEnumRuleCall();
3029 pushFollow(FOLLOW_19); 3029
3030 lv_entry_3_0=rulePartialModelEntry(); 3030
3031 3031 }
3032 state._fsp--; 3032
3033 3033
3034 3034 }
3035 if (current==null) { 3035
3036 current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); 3036 // InternalApplicationConfiguration.g:1079:3: (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )?
3037 } 3037 int alt17=2;
3038 add( 3038 int LA17_0 = input.LA(1);
3039 current, 3039
3040 "entry", 3040 if ( (LA17_0==19) ) {
3041 lv_entry_3_0, 3041 alt17=1;
3042 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); 3042 }
3043 afterParserOrEnumRuleCall(); 3043 switch (alt17) {
3044 3044 case 1 :
3045 3045 // InternalApplicationConfiguration.g:1080:4: otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) )
3046 } 3046 {
3047 3047 otherlv_2=(Token)match(input,19,FOLLOW_18);
3048 3048
3049 } 3049 newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0());
3050 3050
3051 3051 // InternalApplicationConfiguration.g:1084:4: ( (lv_entry_3_0= rulePartialModelEntry ) )
3052 } 3052 // InternalApplicationConfiguration.g:1085:5: (lv_entry_3_0= rulePartialModelEntry )
3053 break; 3053 {
3054 3054 // InternalApplicationConfiguration.g:1085:5: (lv_entry_3_0= rulePartialModelEntry )
3055 } 3055 // InternalApplicationConfiguration.g:1086:6: lv_entry_3_0= rulePartialModelEntry
3056 3056 {
3057 otherlv_4=(Token)match(input,20,FOLLOW_2); 3057
3058 3058 newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0());
3059 newLeafNode(otherlv_4, grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); 3059
3060 3060 pushFollow(FOLLOW_19);
3061 3061 lv_entry_3_0=rulePartialModelEntry();
3062 } 3062
3063 3063 state._fsp--;
3064 3064
3065 } 3065
3066 3066 if (current==null) {
3067 3067 current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule());
3068 leaveRule(); 3068 }
3069 3069 add(
3070 } 3070 current,
3071 3071 "entry",
3072 catch (RecognitionException re) { 3072 lv_entry_3_0,
3073 recover(input,re); 3073 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry");
3074 appendSkippedTokens(); 3074 afterParserOrEnumRuleCall();
3075 } 3075
3076 finally { 3076
3077 } 3077 }
3078 return current; 3078
3079 } 3079
3080 // $ANTLR end "rulePartialModelSpecification" 3080 }
3081 3081
3082 3082
3083 // $ANTLR start "entryRulePartialModelEntry" 3083 }
3084 // InternalApplicationConfiguration.g:1103:1: entryRulePartialModelEntry returns [EObject current=null] : iv_rulePartialModelEntry= rulePartialModelEntry EOF ; 3084 break;
3085 public final EObject entryRulePartialModelEntry() throws RecognitionException { 3085
3086 EObject current = null; 3086 }
3087 3087
3088 EObject iv_rulePartialModelEntry = null; 3088 otherlv_4=(Token)match(input,20,FOLLOW_2);
3089 3089
3090 3090 newLeafNode(otherlv_4, grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3());
3091 try { 3091
3092 // InternalApplicationConfiguration.g:1103:58: (iv_rulePartialModelEntry= rulePartialModelEntry EOF ) 3092
3093 // InternalApplicationConfiguration.g:1104:2: iv_rulePartialModelEntry= rulePartialModelEntry EOF 3093 }
3094 { 3094
3095 newCompositeNode(grammarAccess.getPartialModelEntryRule()); 3095
3096 pushFollow(FOLLOW_1); 3096 }
3097 iv_rulePartialModelEntry=rulePartialModelEntry(); 3097
3098 3098
3099 state._fsp--; 3099 leaveRule();
3100 3100
3101 current =iv_rulePartialModelEntry; 3101 }
3102 match(input,EOF,FOLLOW_2); 3102
3103 3103 catch (RecognitionException re) {
3104 } 3104 recover(input,re);
3105 3105 appendSkippedTokens();
3106 } 3106 }
3107 3107 finally {
3108 catch (RecognitionException re) { 3108 }
3109 recover(input,re); 3109 return current;
3110 appendSkippedTokens(); 3110 }
3111 } 3111 // $ANTLR end "rulePartialModelSpecification"
3112 finally { 3112
3113 } 3113
3114 return current; 3114 // $ANTLR start "entryRulePartialModelEntry"
3115 } 3115 // InternalApplicationConfiguration.g:1112:1: entryRulePartialModelEntry returns [EObject current=null] : iv_rulePartialModelEntry= rulePartialModelEntry EOF ;
3116 // $ANTLR end "entryRulePartialModelEntry" 3116 public final EObject entryRulePartialModelEntry() throws RecognitionException {
3117 3117 EObject current = null;
3118 3118
3119 // $ANTLR start "rulePartialModelEntry" 3119 EObject iv_rulePartialModelEntry = null;
3120 // InternalApplicationConfiguration.g:1110:1: rulePartialModelEntry returns [EObject current=null] : (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ; 3120
3121 public final EObject rulePartialModelEntry() throws RecognitionException { 3121
3122 EObject current = null; 3122 try {
3123 3123 // InternalApplicationConfiguration.g:1112:58: (iv_rulePartialModelEntry= rulePartialModelEntry EOF )
3124 EObject this_ModelEntry_0 = null; 3124 // InternalApplicationConfiguration.g:1113:2: iv_rulePartialModelEntry= rulePartialModelEntry EOF
3125 3125 {
3126 EObject this_FolderEntry_1 = null; 3126 newCompositeNode(grammarAccess.getPartialModelEntryRule());
3127 3127 pushFollow(FOLLOW_1);
3128 3128 iv_rulePartialModelEntry=rulePartialModelEntry();
3129 3129
3130 enterRule(); 3130 state._fsp--;
3131 3131
3132 try { 3132 current =iv_rulePartialModelEntry;
3133 // InternalApplicationConfiguration.g:1116:2: ( (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ) 3133 match(input,EOF,FOLLOW_2);
3134 // InternalApplicationConfiguration.g:1117:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) 3134
3135 { 3135 }
3136 // InternalApplicationConfiguration.g:1117:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) 3136
3137 int alt18=2; 3137 }
3138 int LA18_0 = input.LA(1); 3138
3139 3139 catch (RecognitionException re) {
3140 if ( (LA18_0==RULE_ID||LA18_0==RULE_STRING) ) { 3140 recover(input,re);
3141 alt18=1; 3141 appendSkippedTokens();
3142 } 3142 }
3143 else if ( (LA18_0==25) ) { 3143 finally {
3144 alt18=2; 3144 }
3145 } 3145 return current;
3146 else { 3146 }
3147 NoViableAltException nvae = 3147 // $ANTLR end "entryRulePartialModelEntry"
3148 new NoViableAltException("", 18, 0, input); 3148
3149 3149
3150 throw nvae; 3150 // $ANTLR start "rulePartialModelEntry"
3151 } 3151 // InternalApplicationConfiguration.g:1119:1: rulePartialModelEntry returns [EObject current=null] : (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ;
3152 switch (alt18) { 3152 public final EObject rulePartialModelEntry() throws RecognitionException {
3153 case 1 : 3153 EObject current = null;
3154 // InternalApplicationConfiguration.g:1118:3: this_ModelEntry_0= ruleModelEntry 3154
3155 { 3155 EObject this_ModelEntry_0 = null;
3156 3156
3157 newCompositeNode(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); 3157 EObject this_FolderEntry_1 = null;
3158 3158
3159 pushFollow(FOLLOW_2); 3159
3160 this_ModelEntry_0=ruleModelEntry(); 3160
3161 3161 enterRule();
3162 state._fsp--; 3162
3163 3163 try {
3164 3164 // InternalApplicationConfiguration.g:1125:2: ( (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) )
3165 current = this_ModelEntry_0; 3165 // InternalApplicationConfiguration.g:1126:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry )
3166 afterParserOrEnumRuleCall(); 3166 {
3167 3167 // InternalApplicationConfiguration.g:1126:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry )
3168 3168 int alt18=2;
3169 } 3169 int LA18_0 = input.LA(1);
3170 break; 3170
3171 case 2 : 3171 if ( (LA18_0==RULE_ID||LA18_0==RULE_STRING) ) {
3172 // InternalApplicationConfiguration.g:1127:3: this_FolderEntry_1= ruleFolderEntry 3172 alt18=1;
3173 { 3173 }
3174 3174 else if ( (LA18_0==25) ) {
3175 newCompositeNode(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); 3175 alt18=2;
3176 3176 }
3177 pushFollow(FOLLOW_2); 3177 else {
3178 this_FolderEntry_1=ruleFolderEntry(); 3178 NoViableAltException nvae =
3179 3179 new NoViableAltException("", 18, 0, input);
3180 state._fsp--; 3180
3181 3181 throw nvae;
3182 3182 }
3183 current = this_FolderEntry_1; 3183 switch (alt18) {
3184 afterParserOrEnumRuleCall(); 3184 case 1 :
3185 3185 // InternalApplicationConfiguration.g:1127:3: this_ModelEntry_0= ruleModelEntry
3186 3186 {
3187 } 3187
3188 break; 3188 newCompositeNode(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0());
3189 3189
3190 } 3190 pushFollow(FOLLOW_2);
3191 3191 this_ModelEntry_0=ruleModelEntry();
3192 3192
3193 } 3193 state._fsp--;
3194 3194
3195 3195
3196 leaveRule(); 3196 current = this_ModelEntry_0;
3197 3197 afterParserOrEnumRuleCall();
3198 } 3198
3199 3199
3200 catch (RecognitionException re) { 3200 }
3201 recover(input,re); 3201 break;
3202 appendSkippedTokens(); 3202 case 2 :
3203 } 3203 // InternalApplicationConfiguration.g:1136:3: this_FolderEntry_1= ruleFolderEntry
3204 finally { 3204 {
3205 } 3205
3206 return current; 3206 newCompositeNode(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1());
3207 } 3207
3208 // $ANTLR end "rulePartialModelEntry" 3208 pushFollow(FOLLOW_2);
3209 3209 this_FolderEntry_1=ruleFolderEntry();
3210 3210
3211 // $ANTLR start "entryRuleModelEntry" 3211 state._fsp--;
3212 // InternalApplicationConfiguration.g:1139:1: entryRuleModelEntry returns [EObject current=null] : iv_ruleModelEntry= ruleModelEntry EOF ; 3212
3213 public final EObject entryRuleModelEntry() throws RecognitionException { 3213
3214 EObject current = null; 3214 current = this_FolderEntry_1;
3215 3215 afterParserOrEnumRuleCall();
3216 EObject iv_ruleModelEntry = null; 3216
3217 3217
3218 3218 }
3219 try { 3219 break;
3220 // InternalApplicationConfiguration.g:1139:51: (iv_ruleModelEntry= ruleModelEntry EOF ) 3220
3221 // InternalApplicationConfiguration.g:1140:2: iv_ruleModelEntry= ruleModelEntry EOF 3221 }
3222 { 3222
3223 newCompositeNode(grammarAccess.getModelEntryRule()); 3223
3224 pushFollow(FOLLOW_1); 3224 }
3225 iv_ruleModelEntry=ruleModelEntry(); 3225
3226 3226
3227 state._fsp--; 3227 leaveRule();
3228 3228
3229 current =iv_ruleModelEntry; 3229 }
3230 match(input,EOF,FOLLOW_2); 3230
3231 3231 catch (RecognitionException re) {
3232 } 3232 recover(input,re);
3233 3233 appendSkippedTokens();
3234 } 3234 }
3235 3235 finally {
3236 catch (RecognitionException re) { 3236 }
3237 recover(input,re); 3237 return current;
3238 appendSkippedTokens(); 3238 }
3239 } 3239 // $ANTLR end "rulePartialModelEntry"
3240 finally { 3240
3241 } 3241
3242 return current; 3242 // $ANTLR start "entryRuleModelEntry"
3243 } 3243 // InternalApplicationConfiguration.g:1148:1: entryRuleModelEntry returns [EObject current=null] : iv_ruleModelEntry= ruleModelEntry EOF ;
3244 // $ANTLR end "entryRuleModelEntry" 3244 public final EObject entryRuleModelEntry() throws RecognitionException {
3245 3245 EObject current = null;
3246 3246
3247 // $ANTLR start "ruleModelEntry" 3247 EObject iv_ruleModelEntry = null;
3248 // InternalApplicationConfiguration.g:1146:1: ruleModelEntry returns [EObject current=null] : ( (lv_path_0_0= ruleFile ) ) ; 3248
3249 public final EObject ruleModelEntry() throws RecognitionException { 3249
3250 EObject current = null; 3250 try {
3251 3251 // InternalApplicationConfiguration.g:1148:51: (iv_ruleModelEntry= ruleModelEntry EOF )
3252 EObject lv_path_0_0 = null; 3252 // InternalApplicationConfiguration.g:1149:2: iv_ruleModelEntry= ruleModelEntry EOF
3253 3253 {
3254 3254 newCompositeNode(grammarAccess.getModelEntryRule());
3255 3255 pushFollow(FOLLOW_1);
3256 enterRule(); 3256 iv_ruleModelEntry=ruleModelEntry();
3257 3257
3258 try { 3258 state._fsp--;
3259 // InternalApplicationConfiguration.g:1152:2: ( ( (lv_path_0_0= ruleFile ) ) ) 3259
3260 // InternalApplicationConfiguration.g:1153:2: ( (lv_path_0_0= ruleFile ) ) 3260 current =iv_ruleModelEntry;
3261 { 3261 match(input,EOF,FOLLOW_2);
3262 // InternalApplicationConfiguration.g:1153:2: ( (lv_path_0_0= ruleFile ) ) 3262
3263 // InternalApplicationConfiguration.g:1154:3: (lv_path_0_0= ruleFile ) 3263 }
3264 { 3264
3265 // InternalApplicationConfiguration.g:1154:3: (lv_path_0_0= ruleFile ) 3265 }
3266 // InternalApplicationConfiguration.g:1155:4: lv_path_0_0= ruleFile 3266
3267 { 3267 catch (RecognitionException re) {
3268 3268 recover(input,re);
3269 newCompositeNode(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); 3269 appendSkippedTokens();
3270 3270 }
3271 pushFollow(FOLLOW_2); 3271 finally {
3272 lv_path_0_0=ruleFile(); 3272 }
3273 3273 return current;
3274 state._fsp--; 3274 }
3275 3275 // $ANTLR end "entryRuleModelEntry"
3276 3276
3277 if (current==null) { 3277
3278 current = createModelElementForParent(grammarAccess.getModelEntryRule()); 3278 // $ANTLR start "ruleModelEntry"
3279 } 3279 // InternalApplicationConfiguration.g:1155:1: ruleModelEntry returns [EObject current=null] : ( (lv_path_0_0= ruleFile ) ) ;
3280 set( 3280 public final EObject ruleModelEntry() throws RecognitionException {
3281 current, 3281 EObject current = null;
3282 "path", 3282
3283 lv_path_0_0, 3283 EObject lv_path_0_0 = null;
3284 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 3284
3285 afterParserOrEnumRuleCall(); 3285
3286 3286
3287 3287 enterRule();
3288 } 3288
3289 3289 try {
3290 3290 // InternalApplicationConfiguration.g:1161:2: ( ( (lv_path_0_0= ruleFile ) ) )
3291 } 3291 // InternalApplicationConfiguration.g:1162:2: ( (lv_path_0_0= ruleFile ) )
3292 3292 {
3293 3293 // InternalApplicationConfiguration.g:1162:2: ( (lv_path_0_0= ruleFile ) )
3294 } 3294 // InternalApplicationConfiguration.g:1163:3: (lv_path_0_0= ruleFile )
3295 3295 {
3296 3296 // InternalApplicationConfiguration.g:1163:3: (lv_path_0_0= ruleFile )
3297 leaveRule(); 3297 // InternalApplicationConfiguration.g:1164:4: lv_path_0_0= ruleFile
3298 3298 {
3299 } 3299
3300 3300 newCompositeNode(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0());
3301 catch (RecognitionException re) { 3301
3302 recover(input,re); 3302 pushFollow(FOLLOW_2);
3303 appendSkippedTokens(); 3303 lv_path_0_0=ruleFile();
3304 } 3304
3305 finally { 3305 state._fsp--;
3306 } 3306
3307 return current; 3307
3308 } 3308 if (current==null) {
3309 // $ANTLR end "ruleModelEntry" 3309 current = createModelElementForParent(grammarAccess.getModelEntryRule());
3310 3310 }
3311 3311 set(
3312 // $ANTLR start "entryRuleFolderEntry" 3312 current,
3313 // InternalApplicationConfiguration.g:1175:1: entryRuleFolderEntry returns [EObject current=null] : iv_ruleFolderEntry= ruleFolderEntry EOF ; 3313 "path",
3314 public final EObject entryRuleFolderEntry() throws RecognitionException { 3314 lv_path_0_0,
3315 EObject current = null; 3315 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
3316 3316 afterParserOrEnumRuleCall();
3317 EObject iv_ruleFolderEntry = null; 3317
3318 3318
3319 3319 }
3320 try { 3320
3321 // InternalApplicationConfiguration.g:1175:52: (iv_ruleFolderEntry= ruleFolderEntry EOF ) 3321
3322 // InternalApplicationConfiguration.g:1176:2: iv_ruleFolderEntry= ruleFolderEntry EOF 3322 }
3323 { 3323
3324 newCompositeNode(grammarAccess.getFolderEntryRule()); 3324
3325 pushFollow(FOLLOW_1); 3325 }
3326 iv_ruleFolderEntry=ruleFolderEntry(); 3326
3327 3327
3328 state._fsp--; 3328 leaveRule();
3329 3329
3330 current =iv_ruleFolderEntry; 3330 }
3331 match(input,EOF,FOLLOW_2); 3331
3332 3332 catch (RecognitionException re) {
3333 } 3333 recover(input,re);
3334 3334 appendSkippedTokens();
3335 } 3335 }
3336 3336 finally {
3337 catch (RecognitionException re) { 3337 }
3338 recover(input,re); 3338 return current;
3339 appendSkippedTokens(); 3339 }
3340 } 3340 // $ANTLR end "ruleModelEntry"
3341 finally { 3341
3342 } 3342
3343 return current; 3343 // $ANTLR start "entryRuleFolderEntry"
3344 } 3344 // InternalApplicationConfiguration.g:1184:1: entryRuleFolderEntry returns [EObject current=null] : iv_ruleFolderEntry= ruleFolderEntry EOF ;
3345 // $ANTLR end "entryRuleFolderEntry" 3345 public final EObject entryRuleFolderEntry() throws RecognitionException {
3346 3346 EObject current = null;
3347 3347
3348 // $ANTLR start "ruleFolderEntry" 3348 EObject iv_ruleFolderEntry = null;
3349 // InternalApplicationConfiguration.g:1182:1: ruleFolderEntry returns [EObject current=null] : (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) ; 3349
3350 public final EObject ruleFolderEntry() throws RecognitionException { 3350
3351 EObject current = null; 3351 try {
3352 3352 // InternalApplicationConfiguration.g:1184:52: (iv_ruleFolderEntry= ruleFolderEntry EOF )
3353 Token otherlv_0=null; 3353 // InternalApplicationConfiguration.g:1185:2: iv_ruleFolderEntry= ruleFolderEntry EOF
3354 Token otherlv_2=null; 3354 {
3355 Token otherlv_3=null; 3355 newCompositeNode(grammarAccess.getFolderEntryRule());
3356 Token otherlv_5=null; 3356 pushFollow(FOLLOW_1);
3357 Token otherlv_7=null; 3357 iv_ruleFolderEntry=ruleFolderEntry();
3358 EObject lv_path_1_0 = null; 3358
3359 3359 state._fsp--;
3360 EObject lv_exclusion_4_0 = null; 3360
3361 3361 current =iv_ruleFolderEntry;
3362 EObject lv_exclusion_6_0 = null; 3362 match(input,EOF,FOLLOW_2);
3363 3363
3364 3364 }
3365 3365
3366 enterRule(); 3366 }
3367 3367
3368 try { 3368 catch (RecognitionException re) {
3369 // InternalApplicationConfiguration.g:1188:2: ( (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) ) 3369 recover(input,re);
3370 // InternalApplicationConfiguration.g:1189:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) 3370 appendSkippedTokens();
3371 { 3371 }
3372 // InternalApplicationConfiguration.g:1189:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) 3372 finally {
3373 // InternalApplicationConfiguration.g:1190:3: otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? 3373 }
3374 { 3374 return current;
3375 otherlv_0=(Token)match(input,25,FOLLOW_20); 3375 }
3376 3376 // $ANTLR end "entryRuleFolderEntry"
3377 newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); 3377
3378 3378
3379 // InternalApplicationConfiguration.g:1194:3: ( (lv_path_1_0= ruleFile ) ) 3379 // $ANTLR start "ruleFolderEntry"
3380 // InternalApplicationConfiguration.g:1195:4: (lv_path_1_0= ruleFile ) 3380 // InternalApplicationConfiguration.g:1191:1: ruleFolderEntry returns [EObject current=null] : (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) ;
3381 { 3381 public final EObject ruleFolderEntry() throws RecognitionException {
3382 // InternalApplicationConfiguration.g:1195:4: (lv_path_1_0= ruleFile ) 3382 EObject current = null;
3383 // InternalApplicationConfiguration.g:1196:5: lv_path_1_0= ruleFile 3383
3384 { 3384 Token otherlv_0=null;
3385 3385 Token otherlv_2=null;
3386 newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); 3386 Token otherlv_3=null;
3387 3387 Token otherlv_5=null;
3388 pushFollow(FOLLOW_15); 3388 Token otherlv_7=null;
3389 lv_path_1_0=ruleFile(); 3389 EObject lv_path_1_0 = null;
3390 3390
3391 state._fsp--; 3391 EObject lv_exclusion_4_0 = null;
3392 3392
3393 3393 EObject lv_exclusion_6_0 = null;
3394 if (current==null) { 3394
3395 current = createModelElementForParent(grammarAccess.getFolderEntryRule()); 3395
3396 } 3396
3397 set( 3397 enterRule();
3398 current, 3398
3399 "path", 3399 try {
3400 lv_path_1_0, 3400 // InternalApplicationConfiguration.g:1197:2: ( (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) )
3401 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 3401 // InternalApplicationConfiguration.g:1198:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? )
3402 afterParserOrEnumRuleCall(); 3402 {
3403 3403 // InternalApplicationConfiguration.g:1198:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? )
3404 3404 // InternalApplicationConfiguration.g:1199:3: otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )?
3405 } 3405 {
3406 3406 otherlv_0=(Token)match(input,25,FOLLOW_20);
3407 3407
3408 } 3408 newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0());
3409 3409
3410 // InternalApplicationConfiguration.g:1213:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? 3410 // InternalApplicationConfiguration.g:1203:3: ( (lv_path_1_0= ruleFile ) )
3411 int alt20=2; 3411 // InternalApplicationConfiguration.g:1204:4: (lv_path_1_0= ruleFile )
3412 int LA20_0 = input.LA(1); 3412 {
3413 3413 // InternalApplicationConfiguration.g:1204:4: (lv_path_1_0= ruleFile )
3414 if ( (LA20_0==22) ) { 3414 // InternalApplicationConfiguration.g:1205:5: lv_path_1_0= ruleFile
3415 alt20=1; 3415 {
3416 } 3416
3417 switch (alt20) { 3417 newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0());
3418 case 1 : 3418
3419 // InternalApplicationConfiguration.g:1214:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' 3419 pushFollow(FOLLOW_15);
3420 { 3420 lv_path_1_0=ruleFile();
3421 otherlv_2=(Token)match(input,22,FOLLOW_16); 3421
3422 3422 state._fsp--;
3423 newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); 3423
3424 3424
3425 otherlv_3=(Token)match(input,18,FOLLOW_20); 3425 if (current==null) {
3426 3426 current = createModelElementForParent(grammarAccess.getFolderEntryRule());
3427 newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); 3427 }
3428 3428 set(
3429 // InternalApplicationConfiguration.g:1222:4: ( (lv_exclusion_4_0= ruleModelEntry ) ) 3429 current,
3430 // InternalApplicationConfiguration.g:1223:5: (lv_exclusion_4_0= ruleModelEntry ) 3430 "path",
3431 { 3431 lv_path_1_0,
3432 // InternalApplicationConfiguration.g:1223:5: (lv_exclusion_4_0= ruleModelEntry ) 3432 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
3433 // InternalApplicationConfiguration.g:1224:6: lv_exclusion_4_0= ruleModelEntry 3433 afterParserOrEnumRuleCall();
3434 { 3434
3435 3435
3436 newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); 3436 }
3437 3437
3438 pushFollow(FOLLOW_14); 3438
3439 lv_exclusion_4_0=ruleModelEntry(); 3439 }
3440 3440
3441 state._fsp--; 3441 // InternalApplicationConfiguration.g:1222:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )?
3442 3442 int alt20=2;
3443 3443 int LA20_0 = input.LA(1);
3444 if (current==null) { 3444
3445 current = createModelElementForParent(grammarAccess.getFolderEntryRule()); 3445 if ( (LA20_0==22) ) {
3446 } 3446 alt20=1;
3447 add( 3447 }
3448 current, 3448 switch (alt20) {
3449 "exclusion", 3449 case 1 :
3450 lv_exclusion_4_0, 3450 // InternalApplicationConfiguration.g:1223:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}'
3451 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); 3451 {
3452 afterParserOrEnumRuleCall(); 3452 otherlv_2=(Token)match(input,22,FOLLOW_16);
3453 3453
3454 3454 newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0());
3455 } 3455
3456 3456 otherlv_3=(Token)match(input,18,FOLLOW_20);
3457 3457
3458 } 3458 newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1());
3459 3459
3460 // InternalApplicationConfiguration.g:1241:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* 3460 // InternalApplicationConfiguration.g:1231:4: ( (lv_exclusion_4_0= ruleModelEntry ) )
3461 loop19: 3461 // InternalApplicationConfiguration.g:1232:5: (lv_exclusion_4_0= ruleModelEntry )
3462 do { 3462 {
3463 int alt19=2; 3463 // InternalApplicationConfiguration.g:1232:5: (lv_exclusion_4_0= ruleModelEntry )
3464 int LA19_0 = input.LA(1); 3464 // InternalApplicationConfiguration.g:1233:6: lv_exclusion_4_0= ruleModelEntry
3465 3465 {
3466 if ( (LA19_0==19) ) { 3466
3467 alt19=1; 3467 newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0());
3468 } 3468
3469 3469 pushFollow(FOLLOW_14);
3470 3470 lv_exclusion_4_0=ruleModelEntry();
3471 switch (alt19) { 3471
3472 case 1 : 3472 state._fsp--;
3473 // InternalApplicationConfiguration.g:1242:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) 3473
3474 { 3474
3475 otherlv_5=(Token)match(input,19,FOLLOW_20); 3475 if (current==null) {
3476 3476 current = createModelElementForParent(grammarAccess.getFolderEntryRule());
3477 newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); 3477 }
3478 3478 add(
3479 // InternalApplicationConfiguration.g:1246:5: ( (lv_exclusion_6_0= ruleModelEntry ) ) 3479 current,
3480 // InternalApplicationConfiguration.g:1247:6: (lv_exclusion_6_0= ruleModelEntry ) 3480 "exclusion",
3481 { 3481 lv_exclusion_4_0,
3482 // InternalApplicationConfiguration.g:1247:6: (lv_exclusion_6_0= ruleModelEntry ) 3482 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry");
3483 // InternalApplicationConfiguration.g:1248:7: lv_exclusion_6_0= ruleModelEntry 3483 afterParserOrEnumRuleCall();
3484 { 3484
3485 3485
3486 newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); 3486 }
3487 3487
3488 pushFollow(FOLLOW_14); 3488
3489 lv_exclusion_6_0=ruleModelEntry(); 3489 }
3490 3490
3491 state._fsp--; 3491 // InternalApplicationConfiguration.g:1250:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )*
3492 3492 loop19:
3493 3493 do {
3494 if (current==null) { 3494 int alt19=2;
3495 current = createModelElementForParent(grammarAccess.getFolderEntryRule()); 3495 int LA19_0 = input.LA(1);
3496 } 3496
3497 add( 3497 if ( (LA19_0==19) ) {
3498 current, 3498 alt19=1;
3499 "exclusion", 3499 }
3500 lv_exclusion_6_0, 3500
3501 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); 3501
3502 afterParserOrEnumRuleCall(); 3502 switch (alt19) {
3503 3503 case 1 :
3504 3504 // InternalApplicationConfiguration.g:1251:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) )
3505 } 3505 {
3506 3506 otherlv_5=(Token)match(input,19,FOLLOW_20);
3507 3507
3508 } 3508 newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0());
3509 3509
3510 3510 // InternalApplicationConfiguration.g:1255:5: ( (lv_exclusion_6_0= ruleModelEntry ) )
3511 } 3511 // InternalApplicationConfiguration.g:1256:6: (lv_exclusion_6_0= ruleModelEntry )
3512 break; 3512 {
3513 3513 // InternalApplicationConfiguration.g:1256:6: (lv_exclusion_6_0= ruleModelEntry )
3514 default : 3514 // InternalApplicationConfiguration.g:1257:7: lv_exclusion_6_0= ruleModelEntry
3515 break loop19; 3515 {
3516 } 3516
3517 } while (true); 3517 newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0());
3518 3518
3519 otherlv_7=(Token)match(input,20,FOLLOW_2); 3519 pushFollow(FOLLOW_14);
3520 3520 lv_exclusion_6_0=ruleModelEntry();
3521 newLeafNode(otherlv_7, grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); 3521
3522 3522 state._fsp--;
3523 3523
3524 } 3524
3525 break; 3525 if (current==null) {
3526 3526 current = createModelElementForParent(grammarAccess.getFolderEntryRule());
3527 } 3527 }
3528 3528 add(
3529 3529 current,
3530 } 3530 "exclusion",
3531 3531 lv_exclusion_6_0,
3532 3532 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry");
3533 } 3533 afterParserOrEnumRuleCall();
3534 3534
3535 3535
3536 leaveRule(); 3536 }
3537 3537
3538 } 3538
3539 3539 }
3540 catch (RecognitionException re) { 3540
3541 recover(input,re); 3541
3542 appendSkippedTokens(); 3542 }
3543 } 3543 break;
3544 finally { 3544
3545 } 3545 default :
3546 return current; 3546 break loop19;
3547 } 3547 }
3548 // $ANTLR end "ruleFolderEntry" 3548 } while (true);
3549 3549
3550 3550 otherlv_7=(Token)match(input,20,FOLLOW_2);
3551 // $ANTLR start "entryRulePartialModelDeclaration" 3551
3552 // InternalApplicationConfiguration.g:1275:1: entryRulePartialModelDeclaration returns [EObject current=null] : iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ; 3552 newLeafNode(otherlv_7, grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4());
3553 public final EObject entryRulePartialModelDeclaration() throws RecognitionException { 3553
3554 EObject current = null; 3554
3555 3555 }
3556 EObject iv_rulePartialModelDeclaration = null; 3556 break;
3557 3557
3558 3558 }
3559 try { 3559
3560 // InternalApplicationConfiguration.g:1275:64: (iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ) 3560
3561 // InternalApplicationConfiguration.g:1276:2: iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF 3561 }
3562 { 3562
3563 newCompositeNode(grammarAccess.getPartialModelDeclarationRule()); 3563
3564 pushFollow(FOLLOW_1); 3564 }
3565 iv_rulePartialModelDeclaration=rulePartialModelDeclaration(); 3565
3566 3566
3567 state._fsp--; 3567 leaveRule();
3568 3568
3569 current =iv_rulePartialModelDeclaration; 3569 }
3570 match(input,EOF,FOLLOW_2); 3570
3571 3571 catch (RecognitionException re) {
3572 } 3572 recover(input,re);
3573 3573 appendSkippedTokens();
3574 } 3574 }
3575 3575 finally {
3576 catch (RecognitionException re) { 3576 }
3577 recover(input,re); 3577 return current;
3578 appendSkippedTokens(); 3578 }
3579 } 3579 // $ANTLR end "ruleFolderEntry"
3580 finally { 3580
3581 } 3581
3582 return current; 3582 // $ANTLR start "entryRulePartialModelDeclaration"
3583 } 3583 // InternalApplicationConfiguration.g:1284:1: entryRulePartialModelDeclaration returns [EObject current=null] : iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ;
3584 // $ANTLR end "entryRulePartialModelDeclaration" 3584 public final EObject entryRulePartialModelDeclaration() throws RecognitionException {
3585 3585 EObject current = null;
3586 3586
3587 // $ANTLR start "rulePartialModelDeclaration" 3587 EObject iv_rulePartialModelDeclaration = null;
3588 // InternalApplicationConfiguration.g:1282:1: rulePartialModelDeclaration returns [EObject current=null] : (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ; 3588
3589 public final EObject rulePartialModelDeclaration() throws RecognitionException { 3589
3590 EObject current = null; 3590 try {
3591 3591 // InternalApplicationConfiguration.g:1284:64: (iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF )
3592 Token otherlv_0=null; 3592 // InternalApplicationConfiguration.g:1285:2: iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF
3593 Token lv_name_1_0=null; 3593 {
3594 EObject lv_specification_2_0 = null; 3594 newCompositeNode(grammarAccess.getPartialModelDeclarationRule());
3595 3595 pushFollow(FOLLOW_1);
3596 3596 iv_rulePartialModelDeclaration=rulePartialModelDeclaration();
3597 3597
3598 enterRule(); 3598 state._fsp--;
3599 3599
3600 try { 3600 current =iv_rulePartialModelDeclaration;
3601 // InternalApplicationConfiguration.g:1288:2: ( (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ) 3601 match(input,EOF,FOLLOW_2);
3602 // InternalApplicationConfiguration.g:1289:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) 3602
3603 { 3603 }
3604 // InternalApplicationConfiguration.g:1289:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) 3604
3605 // InternalApplicationConfiguration.g:1290:3: otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) 3605 }
3606 { 3606
3607 otherlv_0=(Token)match(input,26,FOLLOW_6); 3607 catch (RecognitionException re) {
3608 3608 recover(input,re);
3609 newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); 3609 appendSkippedTokens();
3610 3610 }
3611 // InternalApplicationConfiguration.g:1294:3: ( (lv_name_1_0= RULE_ID ) ) 3611 finally {
3612 // InternalApplicationConfiguration.g:1295:4: (lv_name_1_0= RULE_ID ) 3612 }
3613 { 3613 return current;
3614 // InternalApplicationConfiguration.g:1295:4: (lv_name_1_0= RULE_ID ) 3614 }
3615 // InternalApplicationConfiguration.g:1296:5: lv_name_1_0= RULE_ID 3615 // $ANTLR end "entryRulePartialModelDeclaration"
3616 { 3616
3617 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); 3617
3618 3618 // $ANTLR start "rulePartialModelDeclaration"
3619 newLeafNode(lv_name_1_0, grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 3619 // InternalApplicationConfiguration.g:1291:1: rulePartialModelDeclaration returns [EObject current=null] : (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ;
3620 3620 public final EObject rulePartialModelDeclaration() throws RecognitionException {
3621 3621 EObject current = null;
3622 if (current==null) { 3622
3623 current = createModelElement(grammarAccess.getPartialModelDeclarationRule()); 3623 Token otherlv_0=null;
3624 } 3624 Token lv_name_1_0=null;
3625 setWithLastConsumed( 3625 EObject lv_specification_2_0 = null;
3626 current, 3626
3627 "name", 3627
3628 lv_name_1_0, 3628
3629 "org.eclipse.xtext.common.Terminals.ID"); 3629 enterRule();
3630 3630
3631 3631 try {
3632 } 3632 // InternalApplicationConfiguration.g:1297:2: ( (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) )
3633 3633 // InternalApplicationConfiguration.g:1298:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) )
3634 3634 {
3635 } 3635 // InternalApplicationConfiguration.g:1298:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) )
3636 3636 // InternalApplicationConfiguration.g:1299:3: otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) )
3637 // InternalApplicationConfiguration.g:1312:3: ( (lv_specification_2_0= rulePartialModelSpecification ) ) 3637 {
3638 // InternalApplicationConfiguration.g:1313:4: (lv_specification_2_0= rulePartialModelSpecification ) 3638 otherlv_0=(Token)match(input,26,FOLLOW_6);
3639 { 3639
3640 // InternalApplicationConfiguration.g:1313:4: (lv_specification_2_0= rulePartialModelSpecification ) 3640 newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0());
3641 // InternalApplicationConfiguration.g:1314:5: lv_specification_2_0= rulePartialModelSpecification 3641
3642 { 3642 // InternalApplicationConfiguration.g:1303:3: ( (lv_name_1_0= RULE_ID ) )
3643 3643 // InternalApplicationConfiguration.g:1304:4: (lv_name_1_0= RULE_ID )
3644 newCompositeNode(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); 3644 {
3645 3645 // InternalApplicationConfiguration.g:1304:4: (lv_name_1_0= RULE_ID )
3646 pushFollow(FOLLOW_2); 3646 // InternalApplicationConfiguration.g:1305:5: lv_name_1_0= RULE_ID
3647 lv_specification_2_0=rulePartialModelSpecification(); 3647 {
3648 3648 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16);
3649 state._fsp--; 3649
3650 3650 newLeafNode(lv_name_1_0, grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0());
3651 3651
3652 if (current==null) { 3652
3653 current = createModelElementForParent(grammarAccess.getPartialModelDeclarationRule()); 3653 if (current==null) {
3654 } 3654 current = createModelElement(grammarAccess.getPartialModelDeclarationRule());
3655 set( 3655 }
3656 current, 3656 setWithLastConsumed(
3657 "specification", 3657 current,
3658 lv_specification_2_0, 3658 "name",
3659 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification"); 3659 lv_name_1_0,
3660 afterParserOrEnumRuleCall(); 3660 "org.eclipse.xtext.common.Terminals.ID");
3661 3661
3662 3662
3663 } 3663 }
3664 3664
3665 3665
3666 } 3666 }
3667 3667
3668 3668 // InternalApplicationConfiguration.g:1321:3: ( (lv_specification_2_0= rulePartialModelSpecification ) )
3669 } 3669 // InternalApplicationConfiguration.g:1322:4: (lv_specification_2_0= rulePartialModelSpecification )
3670 3670 {
3671 3671 // InternalApplicationConfiguration.g:1322:4: (lv_specification_2_0= rulePartialModelSpecification )
3672 } 3672 // InternalApplicationConfiguration.g:1323:5: lv_specification_2_0= rulePartialModelSpecification
3673 3673 {
3674 3674
3675 leaveRule(); 3675 newCompositeNode(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0());
3676 3676
3677 } 3677 pushFollow(FOLLOW_2);
3678 3678 lv_specification_2_0=rulePartialModelSpecification();
3679 catch (RecognitionException re) { 3679
3680 recover(input,re); 3680 state._fsp--;
3681 appendSkippedTokens(); 3681
3682 } 3682
3683 finally { 3683 if (current==null) {
3684 } 3684 current = createModelElementForParent(grammarAccess.getPartialModelDeclarationRule());
3685 return current; 3685 }
3686 } 3686 set(
3687 // $ANTLR end "rulePartialModelDeclaration" 3687 current,
3688 3688 "specification",
3689 3689 lv_specification_2_0,
3690 // $ANTLR start "entryRulePartialModelReference" 3690 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification");
3691 // InternalApplicationConfiguration.g:1335:1: entryRulePartialModelReference returns [EObject current=null] : iv_rulePartialModelReference= rulePartialModelReference EOF ; 3691 afterParserOrEnumRuleCall();
3692 public final EObject entryRulePartialModelReference() throws RecognitionException { 3692
3693 EObject current = null; 3693
3694 3694 }
3695 EObject iv_rulePartialModelReference = null; 3695
3696 3696
3697 3697 }
3698 try { 3698
3699 // InternalApplicationConfiguration.g:1335:62: (iv_rulePartialModelReference= rulePartialModelReference EOF ) 3699
3700 // InternalApplicationConfiguration.g:1336:2: iv_rulePartialModelReference= rulePartialModelReference EOF 3700 }
3701 { 3701
3702 newCompositeNode(grammarAccess.getPartialModelReferenceRule()); 3702
3703 pushFollow(FOLLOW_1); 3703 }
3704 iv_rulePartialModelReference=rulePartialModelReference(); 3704
3705 3705
3706 state._fsp--; 3706 leaveRule();
3707 3707
3708 current =iv_rulePartialModelReference; 3708 }
3709 match(input,EOF,FOLLOW_2); 3709
3710 3710 catch (RecognitionException re) {
3711 } 3711 recover(input,re);
3712 3712 appendSkippedTokens();
3713 } 3713 }
3714 3714 finally {
3715 catch (RecognitionException re) { 3715 }
3716 recover(input,re); 3716 return current;
3717 appendSkippedTokens(); 3717 }
3718 } 3718 // $ANTLR end "rulePartialModelDeclaration"
3719 finally { 3719
3720 } 3720
3721 return current; 3721 // $ANTLR start "entryRulePartialModelReference"
3722 } 3722 // InternalApplicationConfiguration.g:1344:1: entryRulePartialModelReference returns [EObject current=null] : iv_rulePartialModelReference= rulePartialModelReference EOF ;
3723 // $ANTLR end "entryRulePartialModelReference" 3723 public final EObject entryRulePartialModelReference() throws RecognitionException {
3724 3724 EObject current = null;
3725 3725
3726 // $ANTLR start "rulePartialModelReference" 3726 EObject iv_rulePartialModelReference = null;
3727 // InternalApplicationConfiguration.g:1342:1: rulePartialModelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; 3727
3728 public final EObject rulePartialModelReference() throws RecognitionException { 3728
3729 EObject current = null; 3729 try {
3730 3730 // InternalApplicationConfiguration.g:1344:62: (iv_rulePartialModelReference= rulePartialModelReference EOF )
3731 Token otherlv_0=null; 3731 // InternalApplicationConfiguration.g:1345:2: iv_rulePartialModelReference= rulePartialModelReference EOF
3732 3732 {
3733 3733 newCompositeNode(grammarAccess.getPartialModelReferenceRule());
3734 enterRule(); 3734 pushFollow(FOLLOW_1);
3735 3735 iv_rulePartialModelReference=rulePartialModelReference();
3736 try { 3736
3737 // InternalApplicationConfiguration.g:1348:2: ( ( (otherlv_0= RULE_ID ) ) ) 3737 state._fsp--;
3738 // InternalApplicationConfiguration.g:1349:2: ( (otherlv_0= RULE_ID ) ) 3738
3739 { 3739 current =iv_rulePartialModelReference;
3740 // InternalApplicationConfiguration.g:1349:2: ( (otherlv_0= RULE_ID ) ) 3740 match(input,EOF,FOLLOW_2);
3741 // InternalApplicationConfiguration.g:1350:3: (otherlv_0= RULE_ID ) 3741
3742 { 3742 }
3743 // InternalApplicationConfiguration.g:1350:3: (otherlv_0= RULE_ID ) 3743
3744 // InternalApplicationConfiguration.g:1351:4: otherlv_0= RULE_ID 3744 }
3745 { 3745
3746 3746 catch (RecognitionException re) {
3747 if (current==null) { 3747 recover(input,re);
3748 current = createModelElement(grammarAccess.getPartialModelReferenceRule()); 3748 appendSkippedTokens();
3749 } 3749 }
3750 3750 finally {
3751 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); 3751 }
3752 3752 return current;
3753 newLeafNode(otherlv_0, grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); 3753 }
3754 3754 // $ANTLR end "entryRulePartialModelReference"
3755 3755
3756 } 3756
3757 3757 // $ANTLR start "rulePartialModelReference"
3758 3758 // InternalApplicationConfiguration.g:1351:1: rulePartialModelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
3759 } 3759 public final EObject rulePartialModelReference() throws RecognitionException {
3760 3760 EObject current = null;
3761 3761
3762 } 3762 Token otherlv_0=null;
3763 3763
3764 3764
3765 leaveRule(); 3765 enterRule();
3766 3766
3767 } 3767 try {
3768 3768 // InternalApplicationConfiguration.g:1357:2: ( ( (otherlv_0= RULE_ID ) ) )
3769 catch (RecognitionException re) { 3769 // InternalApplicationConfiguration.g:1358:2: ( (otherlv_0= RULE_ID ) )
3770 recover(input,re); 3770 {
3771 appendSkippedTokens(); 3771 // InternalApplicationConfiguration.g:1358:2: ( (otherlv_0= RULE_ID ) )
3772 } 3772 // InternalApplicationConfiguration.g:1359:3: (otherlv_0= RULE_ID )
3773 finally { 3773 {
3774 } 3774 // InternalApplicationConfiguration.g:1359:3: (otherlv_0= RULE_ID )
3775 return current; 3775 // InternalApplicationConfiguration.g:1360:4: otherlv_0= RULE_ID
3776 } 3776 {
3777 // $ANTLR end "rulePartialModelReference" 3777
3778 3778 if (current==null) {
3779 3779 current = createModelElement(grammarAccess.getPartialModelReferenceRule());
3780 // $ANTLR start "entryRulePartialModel" 3780 }
3781 // InternalApplicationConfiguration.g:1365:1: entryRulePartialModel returns [EObject current=null] : iv_rulePartialModel= rulePartialModel EOF ; 3781
3782 public final EObject entryRulePartialModel() throws RecognitionException { 3782 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2);
3783 EObject current = null; 3783
3784 3784 newLeafNode(otherlv_0, grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0());
3785 EObject iv_rulePartialModel = null; 3785
3786 3786
3787 3787 }
3788 try { 3788
3789 // InternalApplicationConfiguration.g:1365:53: (iv_rulePartialModel= rulePartialModel EOF ) 3789
3790 // InternalApplicationConfiguration.g:1366:2: iv_rulePartialModel= rulePartialModel EOF 3790 }
3791 { 3791
3792 newCompositeNode(grammarAccess.getPartialModelRule()); 3792
3793 pushFollow(FOLLOW_1); 3793 }
3794 iv_rulePartialModel=rulePartialModel(); 3794
3795 3795
3796 state._fsp--; 3796 leaveRule();
3797 3797
3798 current =iv_rulePartialModel; 3798 }
3799 match(input,EOF,FOLLOW_2); 3799
3800 3800 catch (RecognitionException re) {
3801 } 3801 recover(input,re);
3802 3802 appendSkippedTokens();
3803 } 3803 }
3804 3804 finally {
3805 catch (RecognitionException re) { 3805 }
3806 recover(input,re); 3806 return current;
3807 appendSkippedTokens(); 3807 }
3808 } 3808 // $ANTLR end "rulePartialModelReference"
3809 finally { 3809
3810 } 3810
3811 return current; 3811 // $ANTLR start "entryRulePartialModel"
3812 } 3812 // InternalApplicationConfiguration.g:1374:1: entryRulePartialModel returns [EObject current=null] : iv_rulePartialModel= rulePartialModel EOF ;
3813 // $ANTLR end "entryRulePartialModel" 3813 public final EObject entryRulePartialModel() throws RecognitionException {
3814 3814 EObject current = null;
3815 3815
3816 // $ANTLR start "rulePartialModel" 3816 EObject iv_rulePartialModel = null;
3817 // InternalApplicationConfiguration.g:1372:1: rulePartialModel returns [EObject current=null] : (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ; 3817
3818 public final EObject rulePartialModel() throws RecognitionException { 3818
3819 EObject current = null; 3819 try {
3820 3820 // InternalApplicationConfiguration.g:1374:53: (iv_rulePartialModel= rulePartialModel EOF )
3821 EObject this_PartialModelSpecification_0 = null; 3821 // InternalApplicationConfiguration.g:1375:2: iv_rulePartialModel= rulePartialModel EOF
3822 3822 {
3823 EObject this_PartialModelReference_1 = null; 3823 newCompositeNode(grammarAccess.getPartialModelRule());
3824 3824 pushFollow(FOLLOW_1);
3825 3825 iv_rulePartialModel=rulePartialModel();
3826 3826
3827 enterRule(); 3827 state._fsp--;
3828 3828
3829 try { 3829 current =iv_rulePartialModel;
3830 // InternalApplicationConfiguration.g:1378:2: ( (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ) 3830 match(input,EOF,FOLLOW_2);
3831 // InternalApplicationConfiguration.g:1379:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) 3831
3832 { 3832 }
3833 // InternalApplicationConfiguration.g:1379:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) 3833
3834 int alt21=2; 3834 }
3835 int LA21_0 = input.LA(1); 3835
3836 3836 catch (RecognitionException re) {
3837 if ( (LA21_0==18) ) { 3837 recover(input,re);
3838 alt21=1; 3838 appendSkippedTokens();
3839 } 3839 }
3840 else if ( (LA21_0==RULE_ID) ) { 3840 finally {
3841 alt21=2; 3841 }
3842 } 3842 return current;
3843 else { 3843 }
3844 NoViableAltException nvae = 3844 // $ANTLR end "entryRulePartialModel"
3845 new NoViableAltException("", 21, 0, input); 3845
3846 3846
3847 throw nvae; 3847 // $ANTLR start "rulePartialModel"
3848 } 3848 // InternalApplicationConfiguration.g:1381:1: rulePartialModel returns [EObject current=null] : (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ;
3849 switch (alt21) { 3849 public final EObject rulePartialModel() throws RecognitionException {
3850 case 1 : 3850 EObject current = null;
3851 // InternalApplicationConfiguration.g:1380:3: this_PartialModelSpecification_0= rulePartialModelSpecification 3851
3852 { 3852 EObject this_PartialModelSpecification_0 = null;
3853 3853
3854 newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); 3854 EObject this_PartialModelReference_1 = null;
3855 3855
3856 pushFollow(FOLLOW_2); 3856
3857 this_PartialModelSpecification_0=rulePartialModelSpecification(); 3857
3858 3858 enterRule();
3859 state._fsp--; 3859
3860 3860 try {
3861 3861 // InternalApplicationConfiguration.g:1387:2: ( (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) )
3862 current = this_PartialModelSpecification_0; 3862 // InternalApplicationConfiguration.g:1388:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference )
3863 afterParserOrEnumRuleCall(); 3863 {
3864 3864 // InternalApplicationConfiguration.g:1388:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference )
3865 3865 int alt21=2;
3866 } 3866 int LA21_0 = input.LA(1);
3867 break; 3867
3868 case 2 : 3868 if ( (LA21_0==18) ) {
3869 // InternalApplicationConfiguration.g:1389:3: this_PartialModelReference_1= rulePartialModelReference 3869 alt21=1;
3870 { 3870 }
3871 3871 else if ( (LA21_0==RULE_ID) ) {
3872 newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); 3872 alt21=2;
3873 3873 }
3874 pushFollow(FOLLOW_2); 3874 else {
3875 this_PartialModelReference_1=rulePartialModelReference(); 3875 NoViableAltException nvae =
3876 3876 new NoViableAltException("", 21, 0, input);
3877 state._fsp--; 3877
3878 3878 throw nvae;
3879 3879 }
3880 current = this_PartialModelReference_1; 3880 switch (alt21) {
3881 afterParserOrEnumRuleCall(); 3881 case 1 :
3882 3882 // InternalApplicationConfiguration.g:1389:3: this_PartialModelSpecification_0= rulePartialModelSpecification
3883 3883 {
3884 } 3884
3885 break; 3885 newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0());
3886 3886
3887 } 3887 pushFollow(FOLLOW_2);
3888 3888 this_PartialModelSpecification_0=rulePartialModelSpecification();
3889 3889
3890 } 3890 state._fsp--;
3891 3891
3892 3892
3893 leaveRule(); 3893 current = this_PartialModelSpecification_0;
3894 3894 afterParserOrEnumRuleCall();
3895 } 3895
3896 3896
3897 catch (RecognitionException re) { 3897 }
3898 recover(input,re); 3898 break;
3899 appendSkippedTokens(); 3899 case 2 :
3900 } 3900 // InternalApplicationConfiguration.g:1398:3: this_PartialModelReference_1= rulePartialModelReference
3901 finally { 3901 {
3902 } 3902
3903 return current; 3903 newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1());
3904 } 3904
3905 // $ANTLR end "rulePartialModel" 3905 pushFollow(FOLLOW_2);
3906 3906 this_PartialModelReference_1=rulePartialModelReference();
3907 3907
3908 // $ANTLR start "entryRulePatternSpecification" 3908 state._fsp--;
3909 // InternalApplicationConfiguration.g:1401:1: entryRulePatternSpecification returns [EObject current=null] : iv_rulePatternSpecification= rulePatternSpecification EOF ; 3909
3910 public final EObject entryRulePatternSpecification() throws RecognitionException { 3910
3911 EObject current = null; 3911 current = this_PartialModelReference_1;
3912 3912 afterParserOrEnumRuleCall();
3913 EObject iv_rulePatternSpecification = null; 3913
3914 3914
3915 3915 }
3916 try { 3916 break;
3917 // InternalApplicationConfiguration.g:1401:61: (iv_rulePatternSpecification= rulePatternSpecification EOF ) 3917
3918 // InternalApplicationConfiguration.g:1402:2: iv_rulePatternSpecification= rulePatternSpecification EOF 3918 }
3919 { 3919
3920 newCompositeNode(grammarAccess.getPatternSpecificationRule()); 3920
3921 pushFollow(FOLLOW_1); 3921 }
3922 iv_rulePatternSpecification=rulePatternSpecification(); 3922
3923 3923
3924 state._fsp--; 3924 leaveRule();
3925 3925
3926 current =iv_rulePatternSpecification; 3926 }
3927 match(input,EOF,FOLLOW_2); 3927
3928 3928 catch (RecognitionException re) {
3929 } 3929 recover(input,re);
3930 3930 appendSkippedTokens();
3931 } 3931 }
3932 3932 finally {
3933 catch (RecognitionException re) { 3933 }
3934 recover(input,re); 3934 return current;
3935 appendSkippedTokens(); 3935 }
3936 } 3936 // $ANTLR end "rulePartialModel"
3937 finally { 3937
3938 } 3938
3939 return current; 3939 // $ANTLR start "entryRulePatternSpecification"
3940 } 3940 // InternalApplicationConfiguration.g:1410:1: entryRulePatternSpecification returns [EObject current=null] : iv_rulePatternSpecification= rulePatternSpecification EOF ;
3941 // $ANTLR end "entryRulePatternSpecification" 3941 public final EObject entryRulePatternSpecification() throws RecognitionException {
3942 3942 EObject current = null;
3943 3943
3944 // $ANTLR start "rulePatternSpecification" 3944 EObject iv_rulePatternSpecification = null;
3945 // InternalApplicationConfiguration.g:1408:1: rulePatternSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ; 3945
3946 public final EObject rulePatternSpecification() throws RecognitionException { 3946
3947 EObject current = null; 3947 try {
3948 3948 // InternalApplicationConfiguration.g:1410:61: (iv_rulePatternSpecification= rulePatternSpecification EOF )
3949 Token otherlv_0=null; 3949 // InternalApplicationConfiguration.g:1411:2: iv_rulePatternSpecification= rulePatternSpecification EOF
3950 Token otherlv_2=null; 3950 {
3951 Token otherlv_4=null; 3951 newCompositeNode(grammarAccess.getPatternSpecificationRule());
3952 EObject lv_entries_1_0 = null; 3952 pushFollow(FOLLOW_1);
3953 3953 iv_rulePatternSpecification=rulePatternSpecification();
3954 EObject lv_entries_3_0 = null; 3954
3955 3955 state._fsp--;
3956 3956
3957 3957 current =iv_rulePatternSpecification;
3958 enterRule(); 3958 match(input,EOF,FOLLOW_2);
3959 3959
3960 try { 3960 }
3961 // InternalApplicationConfiguration.g:1414:2: ( (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ) 3961
3962 // InternalApplicationConfiguration.g:1415:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) 3962 }
3963 { 3963
3964 // InternalApplicationConfiguration.g:1415:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) 3964 catch (RecognitionException re) {
3965 // InternalApplicationConfiguration.g:1416:3: otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' 3965 recover(input,re);
3966 { 3966 appendSkippedTokens();
3967 otherlv_0=(Token)match(input,18,FOLLOW_13); 3967 }
3968 3968 finally {
3969 newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); 3969 }
3970 3970 return current;
3971 // InternalApplicationConfiguration.g:1420:3: ( (lv_entries_1_0= rulePatternEntry ) ) 3971 }
3972 // InternalApplicationConfiguration.g:1421:4: (lv_entries_1_0= rulePatternEntry ) 3972 // $ANTLR end "entryRulePatternSpecification"
3973 { 3973
3974 // InternalApplicationConfiguration.g:1421:4: (lv_entries_1_0= rulePatternEntry ) 3974
3975 // InternalApplicationConfiguration.g:1422:5: lv_entries_1_0= rulePatternEntry 3975 // $ANTLR start "rulePatternSpecification"
3976 { 3976 // InternalApplicationConfiguration.g:1417:1: rulePatternSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ;
3977 3977 public final EObject rulePatternSpecification() throws RecognitionException {
3978 newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); 3978 EObject current = null;
3979 3979
3980 pushFollow(FOLLOW_14); 3980 Token otherlv_0=null;
3981 lv_entries_1_0=rulePatternEntry(); 3981 Token otherlv_2=null;
3982 3982 Token otherlv_4=null;
3983 state._fsp--; 3983 EObject lv_entries_1_0 = null;
3984 3984
3985 3985 EObject lv_entries_3_0 = null;
3986 if (current==null) { 3986
3987 current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); 3987
3988 } 3988
3989 add( 3989 enterRule();
3990 current, 3990
3991 "entries", 3991 try {
3992 lv_entries_1_0, 3992 // InternalApplicationConfiguration.g:1423:2: ( (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) )
3993 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); 3993 // InternalApplicationConfiguration.g:1424:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' )
3994 afterParserOrEnumRuleCall(); 3994 {
3995 3995 // InternalApplicationConfiguration.g:1424:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' )
3996 3996 // InternalApplicationConfiguration.g:1425:3: otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}'
3997 } 3997 {
3998 3998 otherlv_0=(Token)match(input,18,FOLLOW_13);
3999 3999
4000 } 4000 newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0());
4001 4001
4002 // InternalApplicationConfiguration.g:1439:3: (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* 4002 // InternalApplicationConfiguration.g:1429:3: ( (lv_entries_1_0= rulePatternEntry ) )
4003 loop22: 4003 // InternalApplicationConfiguration.g:1430:4: (lv_entries_1_0= rulePatternEntry )
4004 do { 4004 {
4005 int alt22=2; 4005 // InternalApplicationConfiguration.g:1430:4: (lv_entries_1_0= rulePatternEntry )
4006 int LA22_0 = input.LA(1); 4006 // InternalApplicationConfiguration.g:1431:5: lv_entries_1_0= rulePatternEntry
4007 4007 {
4008 if ( (LA22_0==19) ) { 4008
4009 alt22=1; 4009 newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0());
4010 } 4010
4011 4011 pushFollow(FOLLOW_14);
4012 4012 lv_entries_1_0=rulePatternEntry();
4013 switch (alt22) { 4013
4014 case 1 : 4014 state._fsp--;
4015 // InternalApplicationConfiguration.g:1440:4: otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) 4015
4016 { 4016
4017 otherlv_2=(Token)match(input,19,FOLLOW_13); 4017 if (current==null) {
4018 4018 current = createModelElementForParent(grammarAccess.getPatternSpecificationRule());
4019 newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); 4019 }
4020 4020 add(
4021 // InternalApplicationConfiguration.g:1444:4: ( (lv_entries_3_0= rulePatternEntry ) ) 4021 current,
4022 // InternalApplicationConfiguration.g:1445:5: (lv_entries_3_0= rulePatternEntry ) 4022 "entries",
4023 { 4023 lv_entries_1_0,
4024 // InternalApplicationConfiguration.g:1445:5: (lv_entries_3_0= rulePatternEntry ) 4024 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry");
4025 // InternalApplicationConfiguration.g:1446:6: lv_entries_3_0= rulePatternEntry 4025 afterParserOrEnumRuleCall();
4026 { 4026
4027 4027
4028 newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); 4028 }
4029 4029
4030 pushFollow(FOLLOW_14); 4030
4031 lv_entries_3_0=rulePatternEntry(); 4031 }
4032 4032
4033 state._fsp--; 4033 // InternalApplicationConfiguration.g:1448:3: (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )*
4034 4034 loop22:
4035 4035 do {
4036 if (current==null) { 4036 int alt22=2;
4037 current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); 4037 int LA22_0 = input.LA(1);
4038 } 4038
4039 add( 4039 if ( (LA22_0==19) ) {
4040 current, 4040 alt22=1;
4041 "entries", 4041 }
4042 lv_entries_3_0, 4042
4043 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); 4043
4044 afterParserOrEnumRuleCall(); 4044 switch (alt22) {
4045 4045 case 1 :
4046 4046 // InternalApplicationConfiguration.g:1449:4: otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) )
4047 } 4047 {
4048 4048 otherlv_2=(Token)match(input,19,FOLLOW_13);
4049 4049
4050 } 4050 newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0());
4051 4051
4052 4052 // InternalApplicationConfiguration.g:1453:4: ( (lv_entries_3_0= rulePatternEntry ) )
4053 } 4053 // InternalApplicationConfiguration.g:1454:5: (lv_entries_3_0= rulePatternEntry )
4054 break; 4054 {
4055 4055 // InternalApplicationConfiguration.g:1454:5: (lv_entries_3_0= rulePatternEntry )
4056 default : 4056 // InternalApplicationConfiguration.g:1455:6: lv_entries_3_0= rulePatternEntry
4057 break loop22; 4057 {
4058 } 4058
4059 } while (true); 4059 newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0());
4060 4060
4061 otherlv_4=(Token)match(input,20,FOLLOW_2); 4061 pushFollow(FOLLOW_14);
4062 4062 lv_entries_3_0=rulePatternEntry();
4063 newLeafNode(otherlv_4, grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); 4063
4064 4064 state._fsp--;
4065 4065
4066 } 4066
4067 4067 if (current==null) {
4068 4068 current = createModelElementForParent(grammarAccess.getPatternSpecificationRule());
4069 } 4069 }
4070 4070 add(
4071 4071 current,
4072 leaveRule(); 4072 "entries",
4073 4073 lv_entries_3_0,
4074 } 4074 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry");
4075 4075 afterParserOrEnumRuleCall();
4076 catch (RecognitionException re) { 4076
4077 recover(input,re); 4077
4078 appendSkippedTokens(); 4078 }
4079 } 4079
4080 finally { 4080
4081 } 4081 }
4082 return current; 4082
4083 } 4083
4084 // $ANTLR end "rulePatternSpecification" 4084 }
4085 4085 break;
4086 4086
4087 // $ANTLR start "entryRulePatternEntry" 4087 default :
4088 // InternalApplicationConfiguration.g:1472:1: entryRulePatternEntry returns [EObject current=null] : iv_rulePatternEntry= rulePatternEntry EOF ; 4088 break loop22;
4089 public final EObject entryRulePatternEntry() throws RecognitionException { 4089 }
4090 EObject current = null; 4090 } while (true);
4091 4091
4092 EObject iv_rulePatternEntry = null; 4092 otherlv_4=(Token)match(input,20,FOLLOW_2);
4093 4093
4094 4094 newLeafNode(otherlv_4, grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3());
4095 try { 4095
4096 // InternalApplicationConfiguration.g:1472:53: (iv_rulePatternEntry= rulePatternEntry EOF ) 4096
4097 // InternalApplicationConfiguration.g:1473:2: iv_rulePatternEntry= rulePatternEntry EOF 4097 }
4098 { 4098
4099 newCompositeNode(grammarAccess.getPatternEntryRule()); 4099
4100 pushFollow(FOLLOW_1); 4100 }
4101 iv_rulePatternEntry=rulePatternEntry(); 4101
4102 4102
4103 state._fsp--; 4103 leaveRule();
4104 4104
4105 current =iv_rulePatternEntry; 4105 }
4106 match(input,EOF,FOLLOW_2); 4106
4107 4107 catch (RecognitionException re) {
4108 } 4108 recover(input,re);
4109 4109 appendSkippedTokens();
4110 } 4110 }
4111 4111 finally {
4112 catch (RecognitionException re) { 4112 }
4113 recover(input,re); 4113 return current;
4114 appendSkippedTokens(); 4114 }
4115 } 4115 // $ANTLR end "rulePatternSpecification"
4116 finally { 4116
4117 } 4117
4118 return current; 4118 // $ANTLR start "entryRulePatternEntry"
4119 } 4119 // InternalApplicationConfiguration.g:1481:1: entryRulePatternEntry returns [EObject current=null] : iv_rulePatternEntry= rulePatternEntry EOF ;
4120 // $ANTLR end "entryRulePatternEntry" 4120 public final EObject entryRulePatternEntry() throws RecognitionException {
4121 4121 EObject current = null;
4122 4122
4123 // $ANTLR start "rulePatternEntry" 4123 EObject iv_rulePatternEntry = null;
4124 // InternalApplicationConfiguration.g:1479:1: rulePatternEntry returns [EObject current=null] : (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ; 4124
4125 public final EObject rulePatternEntry() throws RecognitionException { 4125
4126 EObject current = null; 4126 try {
4127 4127 // InternalApplicationConfiguration.g:1481:53: (iv_rulePatternEntry= rulePatternEntry EOF )
4128 EObject this_PatternElement_0 = null; 4128 // InternalApplicationConfiguration.g:1482:2: iv_rulePatternEntry= rulePatternEntry EOF
4129 4129 {
4130 EObject this_AllPatternEntry_1 = null; 4130 newCompositeNode(grammarAccess.getPatternEntryRule());
4131 4131 pushFollow(FOLLOW_1);
4132 4132 iv_rulePatternEntry=rulePatternEntry();
4133 4133
4134 enterRule(); 4134 state._fsp--;
4135 4135
4136 try { 4136 current =iv_rulePatternEntry;
4137 // InternalApplicationConfiguration.g:1485:2: ( (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ) 4137 match(input,EOF,FOLLOW_2);
4138 // InternalApplicationConfiguration.g:1486:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) 4138
4139 { 4139 }
4140 // InternalApplicationConfiguration.g:1486:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) 4140
4141 int alt23=2; 4141 }
4142 int LA23_0 = input.LA(1); 4142
4143 4143 catch (RecognitionException re) {
4144 if ( (LA23_0==RULE_ID) ) { 4144 recover(input,re);
4145 alt23=1; 4145 appendSkippedTokens();
4146 } 4146 }
4147 else if ( (LA23_0==21) ) { 4147 finally {
4148 alt23=2; 4148 }
4149 } 4149 return current;
4150 else { 4150 }
4151 NoViableAltException nvae = 4151 // $ANTLR end "entryRulePatternEntry"
4152 new NoViableAltException("", 23, 0, input); 4152
4153 4153
4154 throw nvae; 4154 // $ANTLR start "rulePatternEntry"
4155 } 4155 // InternalApplicationConfiguration.g:1488:1: rulePatternEntry returns [EObject current=null] : (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ;
4156 switch (alt23) { 4156 public final EObject rulePatternEntry() throws RecognitionException {
4157 case 1 : 4157 EObject current = null;
4158 // InternalApplicationConfiguration.g:1487:3: this_PatternElement_0= rulePatternElement 4158
4159 { 4159 EObject this_PatternElement_0 = null;
4160 4160
4161 newCompositeNode(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); 4161 EObject this_AllPatternEntry_1 = null;
4162 4162
4163 pushFollow(FOLLOW_2); 4163
4164 this_PatternElement_0=rulePatternElement(); 4164
4165 4165 enterRule();
4166 state._fsp--; 4166
4167 4167 try {
4168 4168 // InternalApplicationConfiguration.g:1494:2: ( (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) )
4169 current = this_PatternElement_0; 4169 // InternalApplicationConfiguration.g:1495:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry )
4170 afterParserOrEnumRuleCall(); 4170 {
4171 4171 // InternalApplicationConfiguration.g:1495:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry )
4172 4172 int alt23=2;
4173 } 4173 int LA23_0 = input.LA(1);
4174 break; 4174
4175 case 2 : 4175 if ( (LA23_0==RULE_ID) ) {
4176 // InternalApplicationConfiguration.g:1496:3: this_AllPatternEntry_1= ruleAllPatternEntry 4176 alt23=1;
4177 { 4177 }
4178 4178 else if ( (LA23_0==21) ) {
4179 newCompositeNode(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); 4179 alt23=2;
4180 4180 }
4181 pushFollow(FOLLOW_2); 4181 else {
4182 this_AllPatternEntry_1=ruleAllPatternEntry(); 4182 NoViableAltException nvae =
4183 4183 new NoViableAltException("", 23, 0, input);
4184 state._fsp--; 4184
4185 4185 throw nvae;
4186 4186 }
4187 current = this_AllPatternEntry_1; 4187 switch (alt23) {
4188 afterParserOrEnumRuleCall(); 4188 case 1 :
4189 4189 // InternalApplicationConfiguration.g:1496:3: this_PatternElement_0= rulePatternElement
4190 4190 {
4191 } 4191
4192 break; 4192 newCompositeNode(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0());
4193 4193
4194 } 4194 pushFollow(FOLLOW_2);
4195 4195 this_PatternElement_0=rulePatternElement();
4196 4196
4197 } 4197 state._fsp--;
4198 4198
4199 4199
4200 leaveRule(); 4200 current = this_PatternElement_0;
4201 4201 afterParserOrEnumRuleCall();
4202 } 4202
4203 4203
4204 catch (RecognitionException re) { 4204 }
4205 recover(input,re); 4205 break;
4206 appendSkippedTokens(); 4206 case 2 :
4207 } 4207 // InternalApplicationConfiguration.g:1505:3: this_AllPatternEntry_1= ruleAllPatternEntry
4208 finally { 4208 {
4209 } 4209
4210 return current; 4210 newCompositeNode(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1());
4211 } 4211
4212 // $ANTLR end "rulePatternEntry" 4212 pushFollow(FOLLOW_2);
4213 4213 this_AllPatternEntry_1=ruleAllPatternEntry();
4214 4214
4215 // $ANTLR start "entryRuleAllPatternEntry" 4215 state._fsp--;
4216 // InternalApplicationConfiguration.g:1508:1: entryRuleAllPatternEntry returns [EObject current=null] : iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ; 4216
4217 public final EObject entryRuleAllPatternEntry() throws RecognitionException { 4217
4218 EObject current = null; 4218 current = this_AllPatternEntry_1;
4219 4219 afterParserOrEnumRuleCall();
4220 EObject iv_ruleAllPatternEntry = null; 4220
4221 4221
4222 4222 }
4223 try { 4223 break;
4224 // InternalApplicationConfiguration.g:1508:56: (iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ) 4224
4225 // InternalApplicationConfiguration.g:1509:2: iv_ruleAllPatternEntry= ruleAllPatternEntry EOF 4225 }
4226 { 4226
4227 newCompositeNode(grammarAccess.getAllPatternEntryRule()); 4227
4228 pushFollow(FOLLOW_1); 4228 }
4229 iv_ruleAllPatternEntry=ruleAllPatternEntry(); 4229
4230 4230
4231 state._fsp--; 4231 leaveRule();
4232 4232
4233 current =iv_ruleAllPatternEntry; 4233 }
4234 match(input,EOF,FOLLOW_2); 4234
4235 4235 catch (RecognitionException re) {
4236 } 4236 recover(input,re);
4237 4237 appendSkippedTokens();
4238 } 4238 }
4239 4239 finally {
4240 catch (RecognitionException re) { 4240 }
4241 recover(input,re); 4241 return current;
4242 appendSkippedTokens(); 4242 }
4243 } 4243 // $ANTLR end "rulePatternEntry"
4244 finally { 4244
4245 } 4245
4246 return current; 4246 // $ANTLR start "entryRuleAllPatternEntry"
4247 } 4247 // InternalApplicationConfiguration.g:1517:1: entryRuleAllPatternEntry returns [EObject current=null] : iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ;
4248 // $ANTLR end "entryRuleAllPatternEntry" 4248 public final EObject entryRuleAllPatternEntry() throws RecognitionException {
4249 4249 EObject current = null;
4250 4250
4251 // $ANTLR start "ruleAllPatternEntry" 4251 EObject iv_ruleAllPatternEntry = null;
4252 // InternalApplicationConfiguration.g:1515:1: ruleAllPatternEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) ; 4252
4253 public final EObject ruleAllPatternEntry() throws RecognitionException { 4253
4254 EObject current = null; 4254 try {
4255 4255 // InternalApplicationConfiguration.g:1517:56: (iv_ruleAllPatternEntry= ruleAllPatternEntry EOF )
4256 Token otherlv_0=null; 4256 // InternalApplicationConfiguration.g:1518:2: iv_ruleAllPatternEntry= ruleAllPatternEntry EOF
4257 Token otherlv_2=null; 4257 {
4258 Token otherlv_3=null; 4258 newCompositeNode(grammarAccess.getAllPatternEntryRule());
4259 Token otherlv_5=null; 4259 pushFollow(FOLLOW_1);
4260 Token otherlv_7=null; 4260 iv_ruleAllPatternEntry=ruleAllPatternEntry();
4261 EObject lv_exclusuion_4_0 = null; 4261
4262 4262 state._fsp--;
4263 EObject lv_exclusuion_6_0 = null; 4263
4264 4264 current =iv_ruleAllPatternEntry;
4265 4265 match(input,EOF,FOLLOW_2);
4266 4266
4267 enterRule(); 4267 }
4268 4268
4269 try { 4269 }
4270 // InternalApplicationConfiguration.g:1521:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) ) 4270
4271 // InternalApplicationConfiguration.g:1522:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) 4271 catch (RecognitionException re) {
4272 { 4272 recover(input,re);
4273 // InternalApplicationConfiguration.g:1522:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) 4273 appendSkippedTokens();
4274 // InternalApplicationConfiguration.g:1523:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? 4274 }
4275 { 4275 finally {
4276 otherlv_0=(Token)match(input,21,FOLLOW_6); 4276 }
4277 4277 return current;
4278 newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); 4278 }
4279 4279 // $ANTLR end "entryRuleAllPatternEntry"
4280 // InternalApplicationConfiguration.g:1527:3: ( ( ruleQualifiedName ) ) 4280
4281 // InternalApplicationConfiguration.g:1528:4: ( ruleQualifiedName ) 4281
4282 { 4282 // $ANTLR start "ruleAllPatternEntry"
4283 // InternalApplicationConfiguration.g:1528:4: ( ruleQualifiedName ) 4283 // InternalApplicationConfiguration.g:1524:1: ruleAllPatternEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) ;
4284 // InternalApplicationConfiguration.g:1529:5: ruleQualifiedName 4284 public final EObject ruleAllPatternEntry() throws RecognitionException {
4285 { 4285 EObject current = null;
4286 4286
4287 if (current==null) { 4287 Token otherlv_0=null;
4288 current = createModelElement(grammarAccess.getAllPatternEntryRule()); 4288 Token otherlv_2=null;
4289 } 4289 Token otherlv_3=null;
4290 4290 Token otherlv_5=null;
4291 4291 Token otherlv_7=null;
4292 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); 4292 EObject lv_exclusuion_4_0 = null;
4293 4293
4294 pushFollow(FOLLOW_15); 4294 EObject lv_exclusuion_6_0 = null;
4295 ruleQualifiedName(); 4295
4296 4296
4297 state._fsp--; 4297
4298 4298 enterRule();
4299 4299
4300 afterParserOrEnumRuleCall(); 4300 try {
4301 4301 // InternalApplicationConfiguration.g:1530:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) )
4302 4302 // InternalApplicationConfiguration.g:1531:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? )
4303 } 4303 {
4304 4304 // InternalApplicationConfiguration.g:1531:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? )
4305 4305 // InternalApplicationConfiguration.g:1532:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )?
4306 } 4306 {
4307 4307 otherlv_0=(Token)match(input,21,FOLLOW_6);
4308 // InternalApplicationConfiguration.g:1543:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? 4308
4309 int alt25=2; 4309 newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0());
4310 int LA25_0 = input.LA(1); 4310
4311 4311 // InternalApplicationConfiguration.g:1536:3: ( ( ruleQualifiedName ) )
4312 if ( (LA25_0==22) ) { 4312 // InternalApplicationConfiguration.g:1537:4: ( ruleQualifiedName )
4313 alt25=1; 4313 {
4314 } 4314 // InternalApplicationConfiguration.g:1537:4: ( ruleQualifiedName )
4315 switch (alt25) { 4315 // InternalApplicationConfiguration.g:1538:5: ruleQualifiedName
4316 case 1 : 4316 {
4317 // InternalApplicationConfiguration.g:1544:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' 4317
4318 { 4318 if (current==null) {
4319 otherlv_2=(Token)match(input,22,FOLLOW_16); 4319 current = createModelElement(grammarAccess.getAllPatternEntryRule());
4320 4320 }
4321 newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); 4321
4322 4322
4323 otherlv_3=(Token)match(input,18,FOLLOW_6); 4323 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0());
4324 4324
4325 newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); 4325 pushFollow(FOLLOW_15);
4326 4326 ruleQualifiedName();
4327 // InternalApplicationConfiguration.g:1552:4: ( (lv_exclusuion_4_0= rulePatternElement ) ) 4327
4328 // InternalApplicationConfiguration.g:1553:5: (lv_exclusuion_4_0= rulePatternElement ) 4328 state._fsp--;
4329 { 4329
4330 // InternalApplicationConfiguration.g:1553:5: (lv_exclusuion_4_0= rulePatternElement ) 4330
4331 // InternalApplicationConfiguration.g:1554:6: lv_exclusuion_4_0= rulePatternElement 4331 afterParserOrEnumRuleCall();
4332 { 4332
4333 4333
4334 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); 4334 }
4335 4335
4336 pushFollow(FOLLOW_14); 4336
4337 lv_exclusuion_4_0=rulePatternElement(); 4337 }
4338 4338
4339 state._fsp--; 4339 // InternalApplicationConfiguration.g:1552:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )?
4340 4340 int alt25=2;
4341 4341 int LA25_0 = input.LA(1);
4342 if (current==null) { 4342
4343 current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); 4343 if ( (LA25_0==22) ) {
4344 } 4344 alt25=1;
4345 add( 4345 }
4346 current, 4346 switch (alt25) {
4347 "exclusuion", 4347 case 1 :
4348 lv_exclusuion_4_0, 4348 // InternalApplicationConfiguration.g:1553:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}'
4349 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); 4349 {
4350 afterParserOrEnumRuleCall(); 4350 otherlv_2=(Token)match(input,22,FOLLOW_16);
4351 4351
4352 4352 newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0());
4353 } 4353
4354 4354 otherlv_3=(Token)match(input,18,FOLLOW_6);
4355 4355
4356 } 4356 newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1());
4357 4357
4358 // InternalApplicationConfiguration.g:1571:4: (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* 4358 // InternalApplicationConfiguration.g:1561:4: ( (lv_exclusuion_4_0= rulePatternElement ) )
4359 loop24: 4359 // InternalApplicationConfiguration.g:1562:5: (lv_exclusuion_4_0= rulePatternElement )
4360 do { 4360 {
4361 int alt24=2; 4361 // InternalApplicationConfiguration.g:1562:5: (lv_exclusuion_4_0= rulePatternElement )
4362 int LA24_0 = input.LA(1); 4362 // InternalApplicationConfiguration.g:1563:6: lv_exclusuion_4_0= rulePatternElement
4363 4363 {
4364 if ( (LA24_0==19) ) { 4364
4365 alt24=1; 4365 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0());
4366 } 4366
4367 4367 pushFollow(FOLLOW_14);
4368 4368 lv_exclusuion_4_0=rulePatternElement();
4369 switch (alt24) { 4369
4370 case 1 : 4370 state._fsp--;
4371 // InternalApplicationConfiguration.g:1572:5: otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) 4371
4372 { 4372
4373 otherlv_5=(Token)match(input,19,FOLLOW_6); 4373 if (current==null) {
4374 4374 current = createModelElementForParent(grammarAccess.getAllPatternEntryRule());
4375 newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); 4375 }
4376 4376 add(
4377 // InternalApplicationConfiguration.g:1576:5: ( (lv_exclusuion_6_0= rulePatternElement ) ) 4377 current,
4378 // InternalApplicationConfiguration.g:1577:6: (lv_exclusuion_6_0= rulePatternElement ) 4378 "exclusuion",
4379 { 4379 lv_exclusuion_4_0,
4380 // InternalApplicationConfiguration.g:1577:6: (lv_exclusuion_6_0= rulePatternElement ) 4380 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement");
4381 // InternalApplicationConfiguration.g:1578:7: lv_exclusuion_6_0= rulePatternElement 4381 afterParserOrEnumRuleCall();
4382 { 4382
4383 4383
4384 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); 4384 }
4385 4385
4386 pushFollow(FOLLOW_14); 4386
4387 lv_exclusuion_6_0=rulePatternElement(); 4387 }
4388 4388
4389 state._fsp--; 4389 // InternalApplicationConfiguration.g:1580:4: (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )*
4390 4390 loop24:
4391 4391 do {
4392 if (current==null) { 4392 int alt24=2;
4393 current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); 4393 int LA24_0 = input.LA(1);
4394 } 4394
4395 add( 4395 if ( (LA24_0==19) ) {
4396 current, 4396 alt24=1;
4397 "exclusuion", 4397 }
4398 lv_exclusuion_6_0, 4398
4399 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); 4399
4400 afterParserOrEnumRuleCall(); 4400 switch (alt24) {
4401 4401 case 1 :
4402 4402 // InternalApplicationConfiguration.g:1581:5: otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) )
4403 } 4403 {
4404 4404 otherlv_5=(Token)match(input,19,FOLLOW_6);
4405 4405
4406 } 4406 newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0());
4407 4407
4408 4408 // InternalApplicationConfiguration.g:1585:5: ( (lv_exclusuion_6_0= rulePatternElement ) )
4409 } 4409 // InternalApplicationConfiguration.g:1586:6: (lv_exclusuion_6_0= rulePatternElement )
4410 break; 4410 {
4411 4411 // InternalApplicationConfiguration.g:1586:6: (lv_exclusuion_6_0= rulePatternElement )
4412 default : 4412 // InternalApplicationConfiguration.g:1587:7: lv_exclusuion_6_0= rulePatternElement
4413 break loop24; 4413 {
4414 } 4414
4415 } while (true); 4415 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0());
4416 4416
4417 otherlv_7=(Token)match(input,20,FOLLOW_2); 4417 pushFollow(FOLLOW_14);
4418 4418 lv_exclusuion_6_0=rulePatternElement();
4419 newLeafNode(otherlv_7, grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); 4419
4420 4420 state._fsp--;
4421 4421
4422 } 4422
4423 break; 4423 if (current==null) {
4424 4424 current = createModelElementForParent(grammarAccess.getAllPatternEntryRule());
4425 } 4425 }
4426 4426 add(
4427 4427 current,
4428 } 4428 "exclusuion",
4429 4429 lv_exclusuion_6_0,
4430 4430 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement");
4431 } 4431 afterParserOrEnumRuleCall();
4432 4432
4433 4433
4434 leaveRule(); 4434 }
4435 4435
4436 } 4436
4437 4437 }
4438 catch (RecognitionException re) { 4438
4439 recover(input,re); 4439
4440 appendSkippedTokens(); 4440 }
4441 } 4441 break;
4442 finally { 4442
4443 } 4443 default :
4444 return current; 4444 break loop24;
4445 } 4445 }
4446 // $ANTLR end "ruleAllPatternEntry" 4446 } while (true);
4447 4447
4448 4448 otherlv_7=(Token)match(input,20,FOLLOW_2);
4449 // $ANTLR start "entryRulePatternElement" 4449
4450 // InternalApplicationConfiguration.g:1605:1: entryRulePatternElement returns [EObject current=null] : iv_rulePatternElement= rulePatternElement EOF ; 4450 newLeafNode(otherlv_7, grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4());
4451 public final EObject entryRulePatternElement() throws RecognitionException { 4451
4452 EObject current = null; 4452
4453 4453 }
4454 EObject iv_rulePatternElement = null; 4454 break;
4455 4455
4456 4456 }
4457 try { 4457
4458 // InternalApplicationConfiguration.g:1605:55: (iv_rulePatternElement= rulePatternElement EOF ) 4458
4459 // InternalApplicationConfiguration.g:1606:2: iv_rulePatternElement= rulePatternElement EOF 4459 }
4460 { 4460
4461 newCompositeNode(grammarAccess.getPatternElementRule()); 4461
4462 pushFollow(FOLLOW_1); 4462 }
4463 iv_rulePatternElement=rulePatternElement(); 4463
4464 4464
4465 state._fsp--; 4465 leaveRule();
4466 4466
4467 current =iv_rulePatternElement; 4467 }
4468 match(input,EOF,FOLLOW_2); 4468
4469 4469 catch (RecognitionException re) {
4470 } 4470 recover(input,re);
4471 4471 appendSkippedTokens();
4472 } 4472 }
4473 4473 finally {
4474 catch (RecognitionException re) { 4474 }
4475 recover(input,re); 4475 return current;
4476 appendSkippedTokens(); 4476 }
4477 } 4477 // $ANTLR end "ruleAllPatternEntry"
4478 finally { 4478
4479 } 4479
4480 return current; 4480 // $ANTLR start "entryRulePatternElement"
4481 } 4481 // InternalApplicationConfiguration.g:1614:1: entryRulePatternElement returns [EObject current=null] : iv_rulePatternElement= rulePatternElement EOF ;
4482 // $ANTLR end "entryRulePatternElement" 4482 public final EObject entryRulePatternElement() throws RecognitionException {
4483 4483 EObject current = null;
4484 4484
4485 // $ANTLR start "rulePatternElement" 4485 EObject iv_rulePatternElement = null;
4486 // InternalApplicationConfiguration.g:1612:1: rulePatternElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ; 4486
4487 public final EObject rulePatternElement() throws RecognitionException { 4487
4488 EObject current = null; 4488 try {
4489 4489 // InternalApplicationConfiguration.g:1614:55: (iv_rulePatternElement= rulePatternElement EOF )
4490 Token otherlv_1=null; 4490 // InternalApplicationConfiguration.g:1615:2: iv_rulePatternElement= rulePatternElement EOF
4491 Token otherlv_2=null; 4491 {
4492 4492 newCompositeNode(grammarAccess.getPatternElementRule());
4493 4493 pushFollow(FOLLOW_1);
4494 enterRule(); 4494 iv_rulePatternElement=rulePatternElement();
4495 4495
4496 try { 4496 state._fsp--;
4497 // InternalApplicationConfiguration.g:1618:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ) 4497
4498 // InternalApplicationConfiguration.g:1619:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) 4498 current =iv_rulePatternElement;
4499 { 4499 match(input,EOF,FOLLOW_2);
4500 // InternalApplicationConfiguration.g:1619:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) 4500
4501 // InternalApplicationConfiguration.g:1620:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) 4501 }
4502 { 4502
4503 // InternalApplicationConfiguration.g:1620:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? 4503 }
4504 int alt26=2; 4504
4505 int LA26_0 = input.LA(1); 4505 catch (RecognitionException re) {
4506 4506 recover(input,re);
4507 if ( (LA26_0==RULE_ID) ) { 4507 appendSkippedTokens();
4508 int LA26_1 = input.LA(2); 4508 }
4509 4509 finally {
4510 if ( (LA26_1==11||LA26_1==23) ) { 4510 }
4511 alt26=1; 4511 return current;
4512 } 4512 }
4513 } 4513 // $ANTLR end "entryRulePatternElement"
4514 switch (alt26) { 4514
4515 case 1 : 4515
4516 // InternalApplicationConfiguration.g:1621:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' 4516 // $ANTLR start "rulePatternElement"
4517 { 4517 // InternalApplicationConfiguration.g:1621:1: rulePatternElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ;
4518 // InternalApplicationConfiguration.g:1621:4: ( ( ruleQualifiedName ) ) 4518 public final EObject rulePatternElement() throws RecognitionException {
4519 // InternalApplicationConfiguration.g:1622:5: ( ruleQualifiedName ) 4519 EObject current = null;
4520 { 4520
4521 // InternalApplicationConfiguration.g:1622:5: ( ruleQualifiedName ) 4521 Token otherlv_1=null;
4522 // InternalApplicationConfiguration.g:1623:6: ruleQualifiedName 4522 Token otherlv_2=null;
4523 { 4523
4524 4524
4525 if (current==null) { 4525 enterRule();
4526 current = createModelElement(grammarAccess.getPatternElementRule()); 4526
4527 } 4527 try {
4528 4528 // InternalApplicationConfiguration.g:1627:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) )
4529 4529 // InternalApplicationConfiguration.g:1628:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) )
4530 newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); 4530 {
4531 4531 // InternalApplicationConfiguration.g:1628:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) )
4532 pushFollow(FOLLOW_17); 4532 // InternalApplicationConfiguration.g:1629:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) )
4533 ruleQualifiedName(); 4533 {
4534 4534 // InternalApplicationConfiguration.g:1629:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )?
4535 state._fsp--; 4535 int alt26=2;
4536 4536 int LA26_0 = input.LA(1);
4537 4537
4538 afterParserOrEnumRuleCall(); 4538 if ( (LA26_0==RULE_ID) ) {
4539 4539 int LA26_1 = input.LA(2);
4540 4540
4541 } 4541 if ( (LA26_1==11||LA26_1==23) ) {
4542 4542 alt26=1;
4543 4543 }
4544 } 4544 }
4545 4545 switch (alt26) {
4546 otherlv_1=(Token)match(input,23,FOLLOW_6); 4546 case 1 :
4547 4547 // InternalApplicationConfiguration.g:1630:4: ( ( ruleQualifiedName ) ) otherlv_1= '::'
4548 newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); 4548 {
4549 4549 // InternalApplicationConfiguration.g:1630:4: ( ( ruleQualifiedName ) )
4550 4550 // InternalApplicationConfiguration.g:1631:5: ( ruleQualifiedName )
4551 } 4551 {
4552 break; 4552 // InternalApplicationConfiguration.g:1631:5: ( ruleQualifiedName )
4553 4553 // InternalApplicationConfiguration.g:1632:6: ruleQualifiedName
4554 } 4554 {
4555 4555
4556 // InternalApplicationConfiguration.g:1642:3: ( (otherlv_2= RULE_ID ) ) 4556 if (current==null) {
4557 // InternalApplicationConfiguration.g:1643:4: (otherlv_2= RULE_ID ) 4557 current = createModelElement(grammarAccess.getPatternElementRule());
4558 { 4558 }
4559 // InternalApplicationConfiguration.g:1643:4: (otherlv_2= RULE_ID ) 4559
4560 // InternalApplicationConfiguration.g:1644:5: otherlv_2= RULE_ID 4560
4561 { 4561 newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0());
4562 4562
4563 if (current==null) { 4563 pushFollow(FOLLOW_17);
4564 current = createModelElement(grammarAccess.getPatternElementRule()); 4564 ruleQualifiedName();
4565 } 4565
4566 4566 state._fsp--;
4567 otherlv_2=(Token)match(input,RULE_ID,FOLLOW_2); 4567
4568 4568
4569 newLeafNode(otherlv_2, grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); 4569 afterParserOrEnumRuleCall();
4570 4570
4571 4571
4572 } 4572 }
4573 4573
4574 4574
4575 } 4575 }
4576 4576
4577 4577 otherlv_1=(Token)match(input,23,FOLLOW_6);
4578 } 4578
4579 4579 newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1());
4580 4580
4581 } 4581
4582 4582 }
4583 4583 break;
4584 leaveRule(); 4584
4585 4585 }
4586 } 4586
4587 4587 // InternalApplicationConfiguration.g:1651:3: ( (otherlv_2= RULE_ID ) )
4588 catch (RecognitionException re) { 4588 // InternalApplicationConfiguration.g:1652:4: (otherlv_2= RULE_ID )
4589 recover(input,re); 4589 {
4590 appendSkippedTokens(); 4590 // InternalApplicationConfiguration.g:1652:4: (otherlv_2= RULE_ID )
4591 } 4591 // InternalApplicationConfiguration.g:1653:5: otherlv_2= RULE_ID
4592 finally { 4592 {
4593 } 4593
4594 return current; 4594 if (current==null) {
4595 } 4595 current = createModelElement(grammarAccess.getPatternElementRule());
4596 // $ANTLR end "rulePatternElement" 4596 }
4597 4597
4598 4598 otherlv_2=(Token)match(input,RULE_ID,FOLLOW_2);
4599 // $ANTLR start "entryRuleGraphPatternDeclaration" 4599
4600 // InternalApplicationConfiguration.g:1659:1: entryRuleGraphPatternDeclaration returns [EObject current=null] : iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ; 4600 newLeafNode(otherlv_2, grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0());
4601 public final EObject entryRuleGraphPatternDeclaration() throws RecognitionException { 4601
4602 EObject current = null; 4602
4603 4603 }
4604 EObject iv_ruleGraphPatternDeclaration = null; 4604
4605 4605
4606 4606 }
4607 try { 4607
4608 // InternalApplicationConfiguration.g:1659:64: (iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ) 4608
4609 // InternalApplicationConfiguration.g:1660:2: iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF 4609 }
4610 { 4610
4611 newCompositeNode(grammarAccess.getGraphPatternDeclarationRule()); 4611
4612 pushFollow(FOLLOW_1); 4612 }
4613 iv_ruleGraphPatternDeclaration=ruleGraphPatternDeclaration(); 4613
4614 4614
4615 state._fsp--; 4615 leaveRule();
4616 4616
4617 current =iv_ruleGraphPatternDeclaration; 4617 }
4618 match(input,EOF,FOLLOW_2); 4618
4619 4619 catch (RecognitionException re) {
4620 } 4620 recover(input,re);
4621 4621 appendSkippedTokens();
4622 } 4622 }
4623 4623 finally {
4624 catch (RecognitionException re) { 4624 }
4625 recover(input,re); 4625 return current;
4626 appendSkippedTokens(); 4626 }
4627 } 4627 // $ANTLR end "rulePatternElement"
4628 finally { 4628
4629 } 4629
4630 return current; 4630 // $ANTLR start "entryRuleGraphPatternDeclaration"
4631 } 4631 // InternalApplicationConfiguration.g:1668:1: entryRuleGraphPatternDeclaration returns [EObject current=null] : iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ;
4632 // $ANTLR end "entryRuleGraphPatternDeclaration" 4632 public final EObject entryRuleGraphPatternDeclaration() throws RecognitionException {
4633 4633 EObject current = null;
4634 4634
4635 // $ANTLR start "ruleGraphPatternDeclaration" 4635 EObject iv_ruleGraphPatternDeclaration = null;
4636 // InternalApplicationConfiguration.g:1666:1: ruleGraphPatternDeclaration returns [EObject current=null] : (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ; 4636
4637 public final EObject ruleGraphPatternDeclaration() throws RecognitionException { 4637
4638 EObject current = null; 4638 try {
4639 4639 // InternalApplicationConfiguration.g:1668:64: (iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF )
4640 Token otherlv_0=null; 4640 // InternalApplicationConfiguration.g:1669:2: iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF
4641 Token lv_name_1_0=null; 4641 {
4642 EObject lv_specification_2_0 = null; 4642 newCompositeNode(grammarAccess.getGraphPatternDeclarationRule());
4643 4643 pushFollow(FOLLOW_1);
4644 4644 iv_ruleGraphPatternDeclaration=ruleGraphPatternDeclaration();
4645 4645
4646 enterRule(); 4646 state._fsp--;
4647 4647
4648 try { 4648 current =iv_ruleGraphPatternDeclaration;
4649 // InternalApplicationConfiguration.g:1672:2: ( (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ) 4649 match(input,EOF,FOLLOW_2);
4650 // InternalApplicationConfiguration.g:1673:2: (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) 4650
4651 { 4651 }
4652 // InternalApplicationConfiguration.g:1673:2: (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) 4652
4653 // InternalApplicationConfiguration.g:1674:3: otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) 4653 }
4654 { 4654
4655 otherlv_0=(Token)match(input,27,FOLLOW_6); 4655 catch (RecognitionException re) {
4656 4656 recover(input,re);
4657 newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0()); 4657 appendSkippedTokens();
4658 4658 }
4659 // InternalApplicationConfiguration.g:1678:3: ( (lv_name_1_0= RULE_ID ) ) 4659 finally {
4660 // InternalApplicationConfiguration.g:1679:4: (lv_name_1_0= RULE_ID ) 4660 }
4661 { 4661 return current;
4662 // InternalApplicationConfiguration.g:1679:4: (lv_name_1_0= RULE_ID ) 4662 }
4663 // InternalApplicationConfiguration.g:1680:5: lv_name_1_0= RULE_ID 4663 // $ANTLR end "entryRuleGraphPatternDeclaration"
4664 { 4664
4665 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); 4665
4666 4666 // $ANTLR start "ruleGraphPatternDeclaration"
4667 newLeafNode(lv_name_1_0, grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 4667 // InternalApplicationConfiguration.g:1675:1: ruleGraphPatternDeclaration returns [EObject current=null] : (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ;
4668 4668 public final EObject ruleGraphPatternDeclaration() throws RecognitionException {
4669 4669 EObject current = null;
4670 if (current==null) { 4670
4671 current = createModelElement(grammarAccess.getGraphPatternDeclarationRule()); 4671 Token otherlv_0=null;
4672 } 4672 Token lv_name_1_0=null;
4673 setWithLastConsumed( 4673 EObject lv_specification_2_0 = null;
4674 current, 4674
4675 "name", 4675
4676 lv_name_1_0, 4676
4677 "org.eclipse.xtext.common.Terminals.ID"); 4677 enterRule();
4678 4678
4679 4679 try {
4680 } 4680 // InternalApplicationConfiguration.g:1681:2: ( (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) )
4681 4681 // InternalApplicationConfiguration.g:1682:2: (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) )
4682 4682 {
4683 } 4683 // InternalApplicationConfiguration.g:1682:2: (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) )
4684 4684 // InternalApplicationConfiguration.g:1683:3: otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) )
4685 // InternalApplicationConfiguration.g:1696:3: ( (lv_specification_2_0= rulePatternSpecification ) ) 4685 {
4686 // InternalApplicationConfiguration.g:1697:4: (lv_specification_2_0= rulePatternSpecification ) 4686 otherlv_0=(Token)match(input,27,FOLLOW_6);
4687 { 4687
4688 // InternalApplicationConfiguration.g:1697:4: (lv_specification_2_0= rulePatternSpecification ) 4688 newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0());
4689 // InternalApplicationConfiguration.g:1698:5: lv_specification_2_0= rulePatternSpecification 4689
4690 { 4690 // InternalApplicationConfiguration.g:1687:3: ( (lv_name_1_0= RULE_ID ) )
4691 4691 // InternalApplicationConfiguration.g:1688:4: (lv_name_1_0= RULE_ID )
4692 newCompositeNode(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); 4692 {
4693 4693 // InternalApplicationConfiguration.g:1688:4: (lv_name_1_0= RULE_ID )
4694 pushFollow(FOLLOW_2); 4694 // InternalApplicationConfiguration.g:1689:5: lv_name_1_0= RULE_ID
4695 lv_specification_2_0=rulePatternSpecification(); 4695 {
4696 4696 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16);
4697 state._fsp--; 4697
4698 4698 newLeafNode(lv_name_1_0, grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0());
4699 4699
4700 if (current==null) { 4700
4701 current = createModelElementForParent(grammarAccess.getGraphPatternDeclarationRule()); 4701 if (current==null) {
4702 } 4702 current = createModelElement(grammarAccess.getGraphPatternDeclarationRule());
4703 set( 4703 }
4704 current, 4704 setWithLastConsumed(
4705 "specification", 4705 current,
4706 lv_specification_2_0, 4706 "name",
4707 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification"); 4707 lv_name_1_0,
4708 afterParserOrEnumRuleCall(); 4708 "org.eclipse.xtext.common.Terminals.ID");
4709 4709
4710 4710
4711 } 4711 }
4712 4712
4713 4713
4714 } 4714 }
4715 4715
4716 4716 // InternalApplicationConfiguration.g:1705:3: ( (lv_specification_2_0= rulePatternSpecification ) )
4717 } 4717 // InternalApplicationConfiguration.g:1706:4: (lv_specification_2_0= rulePatternSpecification )
4718 4718 {
4719 4719 // InternalApplicationConfiguration.g:1706:4: (lv_specification_2_0= rulePatternSpecification )
4720 } 4720 // InternalApplicationConfiguration.g:1707:5: lv_specification_2_0= rulePatternSpecification
4721 4721 {
4722 4722
4723 leaveRule(); 4723 newCompositeNode(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0());
4724 4724
4725 } 4725 pushFollow(FOLLOW_2);
4726 4726 lv_specification_2_0=rulePatternSpecification();
4727 catch (RecognitionException re) { 4727
4728 recover(input,re); 4728 state._fsp--;
4729 appendSkippedTokens(); 4729
4730 } 4730
4731 finally { 4731 if (current==null) {
4732 } 4732 current = createModelElementForParent(grammarAccess.getGraphPatternDeclarationRule());
4733 return current; 4733 }
4734 } 4734 set(
4735 // $ANTLR end "ruleGraphPatternDeclaration" 4735 current,
4736 4736 "specification",
4737 4737 lv_specification_2_0,
4738 // $ANTLR start "entryRuleGraphPatternReference" 4738 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification");
4739 // InternalApplicationConfiguration.g:1719:1: entryRuleGraphPatternReference returns [EObject current=null] : iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ; 4739 afterParserOrEnumRuleCall();
4740 public final EObject entryRuleGraphPatternReference() throws RecognitionException { 4740
4741 EObject current = null; 4741
4742 4742 }
4743 EObject iv_ruleGraphPatternReference = null; 4743
4744 4744
4745 4745 }
4746 try { 4746
4747 // InternalApplicationConfiguration.g:1719:62: (iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ) 4747
4748 // InternalApplicationConfiguration.g:1720:2: iv_ruleGraphPatternReference= ruleGraphPatternReference EOF 4748 }
4749 { 4749
4750 newCompositeNode(grammarAccess.getGraphPatternReferenceRule()); 4750
4751 pushFollow(FOLLOW_1); 4751 }
4752 iv_ruleGraphPatternReference=ruleGraphPatternReference(); 4752
4753 4753
4754 state._fsp--; 4754 leaveRule();
4755 4755
4756 current =iv_ruleGraphPatternReference; 4756 }
4757 match(input,EOF,FOLLOW_2); 4757
4758 4758 catch (RecognitionException re) {
4759 } 4759 recover(input,re);
4760 4760 appendSkippedTokens();
4761 } 4761 }
4762 4762 finally {
4763 catch (RecognitionException re) { 4763 }
4764 recover(input,re); 4764 return current;
4765 appendSkippedTokens(); 4765 }
4766 } 4766 // $ANTLR end "ruleGraphPatternDeclaration"
4767 finally { 4767
4768 } 4768
4769 return current; 4769 // $ANTLR start "entryRuleGraphPatternReference"
4770 } 4770 // InternalApplicationConfiguration.g:1728:1: entryRuleGraphPatternReference returns [EObject current=null] : iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ;
4771 // $ANTLR end "entryRuleGraphPatternReference" 4771 public final EObject entryRuleGraphPatternReference() throws RecognitionException {
4772 4772 EObject current = null;
4773 4773
4774 // $ANTLR start "ruleGraphPatternReference" 4774 EObject iv_ruleGraphPatternReference = null;
4775 // InternalApplicationConfiguration.g:1726:1: ruleGraphPatternReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; 4775
4776 public final EObject ruleGraphPatternReference() throws RecognitionException { 4776
4777 EObject current = null; 4777 try {
4778 4778 // InternalApplicationConfiguration.g:1728:62: (iv_ruleGraphPatternReference= ruleGraphPatternReference EOF )
4779 Token otherlv_0=null; 4779 // InternalApplicationConfiguration.g:1729:2: iv_ruleGraphPatternReference= ruleGraphPatternReference EOF
4780 4780 {
4781 4781 newCompositeNode(grammarAccess.getGraphPatternReferenceRule());
4782 enterRule(); 4782 pushFollow(FOLLOW_1);
4783 4783 iv_ruleGraphPatternReference=ruleGraphPatternReference();
4784 try { 4784
4785 // InternalApplicationConfiguration.g:1732:2: ( ( (otherlv_0= RULE_ID ) ) ) 4785 state._fsp--;
4786 // InternalApplicationConfiguration.g:1733:2: ( (otherlv_0= RULE_ID ) ) 4786
4787 { 4787 current =iv_ruleGraphPatternReference;
4788 // InternalApplicationConfiguration.g:1733:2: ( (otherlv_0= RULE_ID ) ) 4788 match(input,EOF,FOLLOW_2);
4789 // InternalApplicationConfiguration.g:1734:3: (otherlv_0= RULE_ID ) 4789
4790 { 4790 }
4791 // InternalApplicationConfiguration.g:1734:3: (otherlv_0= RULE_ID ) 4791
4792 // InternalApplicationConfiguration.g:1735:4: otherlv_0= RULE_ID 4792 }
4793 { 4793
4794 4794 catch (RecognitionException re) {
4795 if (current==null) { 4795 recover(input,re);
4796 current = createModelElement(grammarAccess.getGraphPatternReferenceRule()); 4796 appendSkippedTokens();
4797 } 4797 }
4798 4798 finally {
4799 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); 4799 }
4800 4800 return current;
4801 newLeafNode(otherlv_0, grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); 4801 }
4802 4802 // $ANTLR end "entryRuleGraphPatternReference"
4803 4803
4804 } 4804
4805 4805 // $ANTLR start "ruleGraphPatternReference"
4806 4806 // InternalApplicationConfiguration.g:1735:1: ruleGraphPatternReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
4807 } 4807 public final EObject ruleGraphPatternReference() throws RecognitionException {
4808 4808 EObject current = null;
4809 4809
4810 } 4810 Token otherlv_0=null;
4811 4811
4812 4812
4813 leaveRule(); 4813 enterRule();
4814 4814
4815 } 4815 try {
4816 4816 // InternalApplicationConfiguration.g:1741:2: ( ( (otherlv_0= RULE_ID ) ) )
4817 catch (RecognitionException re) { 4817 // InternalApplicationConfiguration.g:1742:2: ( (otherlv_0= RULE_ID ) )
4818 recover(input,re); 4818 {
4819 appendSkippedTokens(); 4819 // InternalApplicationConfiguration.g:1742:2: ( (otherlv_0= RULE_ID ) )
4820 } 4820 // InternalApplicationConfiguration.g:1743:3: (otherlv_0= RULE_ID )
4821 finally { 4821 {
4822 } 4822 // InternalApplicationConfiguration.g:1743:3: (otherlv_0= RULE_ID )
4823 return current; 4823 // InternalApplicationConfiguration.g:1744:4: otherlv_0= RULE_ID
4824 } 4824 {
4825 // $ANTLR end "ruleGraphPatternReference" 4825
4826 4826 if (current==null) {
4827 4827 current = createModelElement(grammarAccess.getGraphPatternReferenceRule());
4828 // $ANTLR start "entryRuleGraphPattern" 4828 }
4829 // InternalApplicationConfiguration.g:1749:1: entryRuleGraphPattern returns [EObject current=null] : iv_ruleGraphPattern= ruleGraphPattern EOF ; 4829
4830 public final EObject entryRuleGraphPattern() throws RecognitionException { 4830 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2);
4831 EObject current = null; 4831
4832 4832 newLeafNode(otherlv_0, grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0());
4833 EObject iv_ruleGraphPattern = null; 4833
4834 4834
4835 4835 }
4836 try { 4836
4837 // InternalApplicationConfiguration.g:1749:53: (iv_ruleGraphPattern= ruleGraphPattern EOF ) 4837
4838 // InternalApplicationConfiguration.g:1750:2: iv_ruleGraphPattern= ruleGraphPattern EOF 4838 }
4839 { 4839
4840 newCompositeNode(grammarAccess.getGraphPatternRule()); 4840
4841 pushFollow(FOLLOW_1); 4841 }
4842 iv_ruleGraphPattern=ruleGraphPattern(); 4842
4843 4843
4844 state._fsp--; 4844 leaveRule();
4845 4845
4846 current =iv_ruleGraphPattern; 4846 }
4847 match(input,EOF,FOLLOW_2); 4847
4848 4848 catch (RecognitionException re) {
4849 } 4849 recover(input,re);
4850 4850 appendSkippedTokens();
4851 } 4851 }
4852 4852 finally {
4853 catch (RecognitionException re) { 4853 }
4854 recover(input,re); 4854 return current;
4855 appendSkippedTokens(); 4855 }
4856 } 4856 // $ANTLR end "ruleGraphPatternReference"
4857 finally { 4857
4858 } 4858
4859 return current; 4859 // $ANTLR start "entryRuleGraphPattern"
4860 } 4860 // InternalApplicationConfiguration.g:1758:1: entryRuleGraphPattern returns [EObject current=null] : iv_ruleGraphPattern= ruleGraphPattern EOF ;
4861 // $ANTLR end "entryRuleGraphPattern" 4861 public final EObject entryRuleGraphPattern() throws RecognitionException {
4862 4862 EObject current = null;
4863 4863
4864 // $ANTLR start "ruleGraphPattern" 4864 EObject iv_ruleGraphPattern = null;
4865 // InternalApplicationConfiguration.g:1756:1: ruleGraphPattern returns [EObject current=null] : (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ; 4865
4866 public final EObject ruleGraphPattern() throws RecognitionException { 4866
4867 EObject current = null; 4867 try {
4868 4868 // InternalApplicationConfiguration.g:1758:53: (iv_ruleGraphPattern= ruleGraphPattern EOF )
4869 EObject this_GraphPatternReference_0 = null; 4869 // InternalApplicationConfiguration.g:1759:2: iv_ruleGraphPattern= ruleGraphPattern EOF
4870 4870 {
4871 EObject this_PatternSpecification_1 = null; 4871 newCompositeNode(grammarAccess.getGraphPatternRule());
4872 4872 pushFollow(FOLLOW_1);
4873 4873 iv_ruleGraphPattern=ruleGraphPattern();
4874 4874
4875 enterRule(); 4875 state._fsp--;
4876 4876
4877 try { 4877 current =iv_ruleGraphPattern;
4878 // InternalApplicationConfiguration.g:1762:2: ( (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ) 4878 match(input,EOF,FOLLOW_2);
4879 // InternalApplicationConfiguration.g:1763:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) 4879
4880 { 4880 }
4881 // InternalApplicationConfiguration.g:1763:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) 4881
4882 int alt27=2; 4882 }
4883 int LA27_0 = input.LA(1); 4883
4884 4884 catch (RecognitionException re) {
4885 if ( (LA27_0==RULE_ID) ) { 4885 recover(input,re);
4886 alt27=1; 4886 appendSkippedTokens();
4887 } 4887 }
4888 else if ( (LA27_0==18) ) { 4888 finally {
4889 alt27=2; 4889 }
4890 } 4890 return current;
4891 else { 4891 }
4892 NoViableAltException nvae = 4892 // $ANTLR end "entryRuleGraphPattern"
4893 new NoViableAltException("", 27, 0, input); 4893
4894 4894
4895 throw nvae; 4895 // $ANTLR start "ruleGraphPattern"
4896 } 4896 // InternalApplicationConfiguration.g:1765:1: ruleGraphPattern returns [EObject current=null] : (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ;
4897 switch (alt27) { 4897 public final EObject ruleGraphPattern() throws RecognitionException {
4898 case 1 : 4898 EObject current = null;
4899 // InternalApplicationConfiguration.g:1764:3: this_GraphPatternReference_0= ruleGraphPatternReference 4899
4900 { 4900 EObject this_GraphPatternReference_0 = null;
4901 4901
4902 newCompositeNode(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); 4902 EObject this_PatternSpecification_1 = null;
4903 4903
4904 pushFollow(FOLLOW_2); 4904
4905 this_GraphPatternReference_0=ruleGraphPatternReference(); 4905
4906 4906 enterRule();
4907 state._fsp--; 4907
4908 4908 try {
4909 4909 // InternalApplicationConfiguration.g:1771:2: ( (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) )
4910 current = this_GraphPatternReference_0; 4910 // InternalApplicationConfiguration.g:1772:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification )
4911 afterParserOrEnumRuleCall(); 4911 {
4912 4912 // InternalApplicationConfiguration.g:1772:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification )
4913 4913 int alt27=2;
4914 } 4914 int LA27_0 = input.LA(1);
4915 break; 4915
4916 case 2 : 4916 if ( (LA27_0==RULE_ID) ) {
4917 // InternalApplicationConfiguration.g:1773:3: this_PatternSpecification_1= rulePatternSpecification 4917 alt27=1;
4918 { 4918 }
4919 4919 else if ( (LA27_0==18) ) {
4920 newCompositeNode(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); 4920 alt27=2;
4921 4921 }
4922 pushFollow(FOLLOW_2); 4922 else {
4923 this_PatternSpecification_1=rulePatternSpecification(); 4923 NoViableAltException nvae =
4924 4924 new NoViableAltException("", 27, 0, input);
4925 state._fsp--; 4925
4926 4926 throw nvae;
4927 4927 }
4928 current = this_PatternSpecification_1; 4928 switch (alt27) {
4929 afterParserOrEnumRuleCall(); 4929 case 1 :
4930 4930 // InternalApplicationConfiguration.g:1773:3: this_GraphPatternReference_0= ruleGraphPatternReference
4931 4931 {
4932 } 4932
4933 break; 4933 newCompositeNode(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0());
4934 4934
4935 } 4935 pushFollow(FOLLOW_2);
4936 4936 this_GraphPatternReference_0=ruleGraphPatternReference();
4937 4937
4938 } 4938 state._fsp--;
4939 4939
4940 4940
4941 leaveRule(); 4941 current = this_GraphPatternReference_0;
4942 4942 afterParserOrEnumRuleCall();
4943 } 4943
4944 4944
4945 catch (RecognitionException re) { 4945 }
4946 recover(input,re); 4946 break;
4947 appendSkippedTokens(); 4947 case 2 :
4948 } 4948 // InternalApplicationConfiguration.g:1782:3: this_PatternSpecification_1= rulePatternSpecification
4949 finally { 4949 {
4950 } 4950
4951 return current; 4951 newCompositeNode(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1());
4952 } 4952
4953 // $ANTLR end "ruleGraphPattern" 4953 pushFollow(FOLLOW_2);
4954 4954 this_PatternSpecification_1=rulePatternSpecification();
4955 4955
4956 // $ANTLR start "entryRuleConfigSpecification" 4956 state._fsp--;
4957 // InternalApplicationConfiguration.g:1785:1: entryRuleConfigSpecification returns [EObject current=null] : iv_ruleConfigSpecification= ruleConfigSpecification EOF ; 4957
4958 public final EObject entryRuleConfigSpecification() throws RecognitionException { 4958
4959 EObject current = null; 4959 current = this_PatternSpecification_1;
4960 4960 afterParserOrEnumRuleCall();
4961 EObject iv_ruleConfigSpecification = null; 4961
4962 4962
4963 4963 }
4964 try { 4964 break;
4965 // InternalApplicationConfiguration.g:1785:60: (iv_ruleConfigSpecification= ruleConfigSpecification EOF ) 4965
4966 // InternalApplicationConfiguration.g:1786:2: iv_ruleConfigSpecification= ruleConfigSpecification EOF 4966 }
4967 { 4967
4968 newCompositeNode(grammarAccess.getConfigSpecificationRule()); 4968
4969 pushFollow(FOLLOW_1); 4969 }
4970 iv_ruleConfigSpecification=ruleConfigSpecification(); 4970
4971 4971
4972 state._fsp--; 4972 leaveRule();
4973 4973
4974 current =iv_ruleConfigSpecification; 4974 }
4975 match(input,EOF,FOLLOW_2); 4975
4976 4976 catch (RecognitionException re) {
4977 } 4977 recover(input,re);
4978 4978 appendSkippedTokens();
4979 } 4979 }
4980 4980 finally {
4981 catch (RecognitionException re) { 4981 }
4982 recover(input,re); 4982 return current;
4983 appendSkippedTokens(); 4983 }
4984 } 4984 // $ANTLR end "ruleGraphPattern"
4985 finally { 4985
4986 } 4986
4987 return current; 4987 // $ANTLR start "entryRuleObjectiveSpecification"
4988 } 4988 // InternalApplicationConfiguration.g:1794:1: entryRuleObjectiveSpecification returns [EObject current=null] : iv_ruleObjectiveSpecification= ruleObjectiveSpecification EOF ;
4989 // $ANTLR end "entryRuleConfigSpecification" 4989 public final EObject entryRuleObjectiveSpecification() throws RecognitionException {
4990 4990 EObject current = null;
4991 4991
4992 // $ANTLR start "ruleConfigSpecification" 4992 EObject iv_ruleObjectiveSpecification = null;
4993 // InternalApplicationConfiguration.g:1792:1: ruleConfigSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ; 4993
4994 public final EObject ruleConfigSpecification() throws RecognitionException { 4994
4995 EObject current = null; 4995 try {
4996 4996 // InternalApplicationConfiguration.g:1794:63: (iv_ruleObjectiveSpecification= ruleObjectiveSpecification EOF )
4997 Token otherlv_1=null; 4997 // InternalApplicationConfiguration.g:1795:2: iv_ruleObjectiveSpecification= ruleObjectiveSpecification EOF
4998 Token otherlv_3=null; 4998 {
4999 Token otherlv_5=null; 4999 newCompositeNode(grammarAccess.getObjectiveSpecificationRule());
5000 EObject lv_entries_2_0 = null; 5000 pushFollow(FOLLOW_1);
5001 5001 iv_ruleObjectiveSpecification=ruleObjectiveSpecification();
5002 EObject lv_entries_4_0 = null; 5002
5003 5003 state._fsp--;
5004 5004
5005 5005 current =iv_ruleObjectiveSpecification;
5006 enterRule(); 5006 match(input,EOF,FOLLOW_2);
5007 5007
5008 try { 5008 }
5009 // InternalApplicationConfiguration.g:1798:2: ( ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ) 5009
5010 // InternalApplicationConfiguration.g:1799:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) 5010 }
5011 { 5011
5012 // InternalApplicationConfiguration.g:1799:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) 5012 catch (RecognitionException re) {
5013 // InternalApplicationConfiguration.g:1800:3: () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' 5013 recover(input,re);
5014 { 5014 appendSkippedTokens();
5015 // InternalApplicationConfiguration.g:1800:3: () 5015 }
5016 // InternalApplicationConfiguration.g:1801:4: 5016 finally {
5017 { 5017 }
5018 5018 return current;
5019 current = forceCreateModelElement( 5019 }
5020 grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(), 5020 // $ANTLR end "entryRuleObjectiveSpecification"
5021 current); 5021
5022 5022
5023 5023 // $ANTLR start "ruleObjectiveSpecification"
5024 } 5024 // InternalApplicationConfiguration.g:1801:1: ruleObjectiveSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' ) ;
5025 5025 public final EObject ruleObjectiveSpecification() throws RecognitionException {
5026 otherlv_1=(Token)match(input,18,FOLLOW_21); 5026 EObject current = null;
5027 5027
5028 newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); 5028 Token otherlv_0=null;
5029 5029 Token otherlv_2=null;
5030 // InternalApplicationConfiguration.g:1811:3: ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? 5030 Token otherlv_4=null;
5031 int alt29=2; 5031 EObject lv_entries_1_0 = null;
5032 int LA29_0 = input.LA(1); 5032
5033 5033 EObject lv_entries_3_0 = null;
5034 if ( (LA29_0==RULE_STRING||(LA29_0>=29 && LA29_0<=31)) ) { 5034
5035 alt29=1; 5035
5036 } 5036
5037 switch (alt29) { 5037 enterRule();
5038 case 1 : 5038
5039 // InternalApplicationConfiguration.g:1812:4: ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* 5039 try {
5040 { 5040 // InternalApplicationConfiguration.g:1807:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' ) )
5041 // InternalApplicationConfiguration.g:1812:4: ( (lv_entries_2_0= ruleConfigEntry ) ) 5041 // InternalApplicationConfiguration.g:1808:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' )
5042 // InternalApplicationConfiguration.g:1813:5: (lv_entries_2_0= ruleConfigEntry ) 5042 {
5043 { 5043 // InternalApplicationConfiguration.g:1808:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' )
5044 // InternalApplicationConfiguration.g:1813:5: (lv_entries_2_0= ruleConfigEntry ) 5044 // InternalApplicationConfiguration.g:1809:3: otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}'
5045 // InternalApplicationConfiguration.g:1814:6: lv_entries_2_0= ruleConfigEntry 5045 {
5046 { 5046 otherlv_0=(Token)match(input,18,FOLLOW_21);
5047 5047
5048 newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); 5048 newLeafNode(otherlv_0, grammarAccess.getObjectiveSpecificationAccess().getLeftCurlyBracketKeyword_0());
5049 5049
5050 pushFollow(FOLLOW_14); 5050 // InternalApplicationConfiguration.g:1813:3: ( (lv_entries_1_0= ruleObjectiveEntry ) )
5051 lv_entries_2_0=ruleConfigEntry(); 5051 // InternalApplicationConfiguration.g:1814:4: (lv_entries_1_0= ruleObjectiveEntry )
5052 5052 {
5053 state._fsp--; 5053 // InternalApplicationConfiguration.g:1814:4: (lv_entries_1_0= ruleObjectiveEntry )
5054 5054 // InternalApplicationConfiguration.g:1815:5: lv_entries_1_0= ruleObjectiveEntry
5055 5055 {
5056 if (current==null) { 5056
5057 current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); 5057 newCompositeNode(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_1_0());
5058 } 5058
5059 add( 5059 pushFollow(FOLLOW_14);
5060 current, 5060 lv_entries_1_0=ruleObjectiveEntry();
5061 "entries", 5061
5062 lv_entries_2_0, 5062 state._fsp--;
5063 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); 5063
5064 afterParserOrEnumRuleCall(); 5064
5065 5065 if (current==null) {
5066 5066 current = createModelElementForParent(grammarAccess.getObjectiveSpecificationRule());
5067 } 5067 }
5068 5068 add(
5069 5069 current,
5070 } 5070 "entries",
5071 5071 lv_entries_1_0,
5072 // InternalApplicationConfiguration.g:1831:4: (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* 5072 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveEntry");
5073 loop28: 5073 afterParserOrEnumRuleCall();
5074 do { 5074
5075 int alt28=2; 5075
5076 int LA28_0 = input.LA(1); 5076 }
5077 5077
5078 if ( (LA28_0==19) ) { 5078
5079 alt28=1; 5079 }
5080 } 5080
5081 5081 // InternalApplicationConfiguration.g:1832:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )*
5082 5082 loop28:
5083 switch (alt28) { 5083 do {
5084 case 1 : 5084 int alt28=2;
5085 // InternalApplicationConfiguration.g:1832:5: otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) 5085 int LA28_0 = input.LA(1);
5086 { 5086
5087 otherlv_3=(Token)match(input,19,FOLLOW_22); 5087 if ( (LA28_0==19) ) {
5088 5088 alt28=1;
5089 newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); 5089 }
5090 5090
5091 // InternalApplicationConfiguration.g:1836:5: ( (lv_entries_4_0= ruleConfigEntry ) ) 5091
5092 // InternalApplicationConfiguration.g:1837:6: (lv_entries_4_0= ruleConfigEntry ) 5092 switch (alt28) {
5093 { 5093 case 1 :
5094 // InternalApplicationConfiguration.g:1837:6: (lv_entries_4_0= ruleConfigEntry ) 5094 // InternalApplicationConfiguration.g:1833:4: otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) )
5095 // InternalApplicationConfiguration.g:1838:7: lv_entries_4_0= ruleConfigEntry 5095 {
5096 { 5096 otherlv_2=(Token)match(input,19,FOLLOW_21);
5097 5097
5098 newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); 5098 newLeafNode(otherlv_2, grammarAccess.getObjectiveSpecificationAccess().getCommaKeyword_2_0());
5099 5099
5100 pushFollow(FOLLOW_14); 5100 // InternalApplicationConfiguration.g:1837:4: ( (lv_entries_3_0= ruleObjectiveEntry ) )
5101 lv_entries_4_0=ruleConfigEntry(); 5101 // InternalApplicationConfiguration.g:1838:5: (lv_entries_3_0= ruleObjectiveEntry )
5102 5102 {
5103 state._fsp--; 5103 // InternalApplicationConfiguration.g:1838:5: (lv_entries_3_0= ruleObjectiveEntry )
5104 5104 // InternalApplicationConfiguration.g:1839:6: lv_entries_3_0= ruleObjectiveEntry
5105 5105 {
5106 if (current==null) { 5106
5107 current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); 5107 newCompositeNode(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_2_1_0());
5108 } 5108
5109 add( 5109 pushFollow(FOLLOW_14);
5110 current, 5110 lv_entries_3_0=ruleObjectiveEntry();
5111 "entries", 5111
5112 lv_entries_4_0, 5112 state._fsp--;
5113 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); 5113
5114 afterParserOrEnumRuleCall(); 5114
5115 5115 if (current==null) {
5116 5116 current = createModelElementForParent(grammarAccess.getObjectiveSpecificationRule());
5117 } 5117 }
5118 5118 add(
5119 5119 current,
5120 } 5120 "entries",
5121 5121 lv_entries_3_0,
5122 5122 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveEntry");
5123 } 5123 afterParserOrEnumRuleCall();
5124 break; 5124
5125 5125
5126 default : 5126 }
5127 break loop28; 5127
5128 } 5128
5129 } while (true); 5129 }
5130 5130
5131 5131
5132 } 5132 }
5133 break; 5133 break;
5134 5134
5135 } 5135 default :
5136 5136 break loop28;
5137 otherlv_5=(Token)match(input,20,FOLLOW_2); 5137 }
5138 5138 } while (true);
5139 newLeafNode(otherlv_5, grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); 5139
5140 5140 otherlv_4=(Token)match(input,20,FOLLOW_2);
5141 5141
5142 } 5142 newLeafNode(otherlv_4, grammarAccess.getObjectiveSpecificationAccess().getRightCurlyBracketKeyword_3());
5143 5143
5144 5144
5145 } 5145 }
5146 5146
5147 5147
5148 leaveRule(); 5148 }
5149 5149
5150 } 5150
5151 5151 leaveRule();
5152 catch (RecognitionException re) { 5152
5153 recover(input,re); 5153 }
5154 appendSkippedTokens(); 5154
5155 } 5155 catch (RecognitionException re) {
5156 finally { 5156 recover(input,re);
5157 } 5157 appendSkippedTokens();
5158 return current; 5158 }
5159 } 5159 finally {
5160 // $ANTLR end "ruleConfigSpecification" 5160 }
5161 5161 return current;
5162 5162 }
5163 // $ANTLR start "entryRuleConfigDeclaration" 5163 // $ANTLR end "ruleObjectiveSpecification"
5164 // InternalApplicationConfiguration.g:1865:1: entryRuleConfigDeclaration returns [EObject current=null] : iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ; 5164
5165 public final EObject entryRuleConfigDeclaration() throws RecognitionException { 5165
5166 EObject current = null; 5166 // $ANTLR start "entryRuleObjectiveEntry"
5167 5167 // InternalApplicationConfiguration.g:1865:1: entryRuleObjectiveEntry returns [EObject current=null] : iv_ruleObjectiveEntry= ruleObjectiveEntry EOF ;
5168 EObject iv_ruleConfigDeclaration = null; 5168 public final EObject entryRuleObjectiveEntry() throws RecognitionException {
5169 5169 EObject current = null;
5170 5170
5171 try { 5171 EObject iv_ruleObjectiveEntry = null;
5172 // InternalApplicationConfiguration.g:1865:58: (iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ) 5172
5173 // InternalApplicationConfiguration.g:1866:2: iv_ruleConfigDeclaration= ruleConfigDeclaration EOF 5173
5174 { 5174 try {
5175 newCompositeNode(grammarAccess.getConfigDeclarationRule()); 5175 // InternalApplicationConfiguration.g:1865:55: (iv_ruleObjectiveEntry= ruleObjectiveEntry EOF )
5176 pushFollow(FOLLOW_1); 5176 // InternalApplicationConfiguration.g:1866:2: iv_ruleObjectiveEntry= ruleObjectiveEntry EOF
5177 iv_ruleConfigDeclaration=ruleConfigDeclaration(); 5177 {
5178 5178 newCompositeNode(grammarAccess.getObjectiveEntryRule());
5179 state._fsp--; 5179 pushFollow(FOLLOW_1);
5180 5180 iv_ruleObjectiveEntry=ruleObjectiveEntry();
5181 current =iv_ruleConfigDeclaration; 5181
5182 match(input,EOF,FOLLOW_2); 5182 state._fsp--;
5183 5183
5184 } 5184 current =iv_ruleObjectiveEntry;
5185 5185 match(input,EOF,FOLLOW_2);
5186 } 5186
5187 5187 }
5188 catch (RecognitionException re) { 5188
5189 recover(input,re); 5189 }
5190 appendSkippedTokens(); 5190
5191 } 5191 catch (RecognitionException re) {
5192 finally { 5192 recover(input,re);
5193 } 5193 appendSkippedTokens();
5194 return current; 5194 }
5195 } 5195 finally {
5196 // $ANTLR end "entryRuleConfigDeclaration" 5196 }
5197 5197 return current;
5198 5198 }
5199 // $ANTLR start "ruleConfigDeclaration" 5199 // $ANTLR end "entryRuleObjectiveEntry"
5200 // InternalApplicationConfiguration.g:1872:1: ruleConfigDeclaration returns [EObject current=null] : (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ; 5200
5201 public final EObject ruleConfigDeclaration() throws RecognitionException { 5201
5202 EObject current = null; 5202 // $ANTLR start "ruleObjectiveEntry"
5203 5203 // InternalApplicationConfiguration.g:1872:1: ruleObjectiveEntry returns [EObject current=null] : (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry ) ;
5204 Token otherlv_0=null; 5204 public final EObject ruleObjectiveEntry() throws RecognitionException {
5205 Token lv_name_1_0=null; 5205 EObject current = null;
5206 EObject lv_specification_2_0 = null; 5206
5207 5207 EObject this_OptimizationEntry_0 = null;
5208 5208
5209 5209 EObject this_ThresholdEntry_1 = null;
5210 enterRule(); 5210
5211 5211
5212 try { 5212
5213 // InternalApplicationConfiguration.g:1878:2: ( (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ) 5213 enterRule();
5214 // InternalApplicationConfiguration.g:1879:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) 5214
5215 { 5215 try {
5216 // InternalApplicationConfiguration.g:1879:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) 5216 // InternalApplicationConfiguration.g:1878:2: ( (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry ) )
5217 // InternalApplicationConfiguration.g:1880:3: otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) 5217 // InternalApplicationConfiguration.g:1879:2: (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry )
5218 { 5218 {
5219 otherlv_0=(Token)match(input,28,FOLLOW_6); 5219 // InternalApplicationConfiguration.g:1879:2: (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry )
5220 5220 int alt29=2;
5221 newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); 5221 int LA29_0 = input.LA(1);
5222 5222
5223 // InternalApplicationConfiguration.g:1884:3: ( (lv_name_1_0= RULE_ID ) ) 5223 if ( ((LA29_0>=54 && LA29_0<=55)) ) {
5224 // InternalApplicationConfiguration.g:1885:4: (lv_name_1_0= RULE_ID ) 5224 alt29=1;
5225 { 5225 }
5226 // InternalApplicationConfiguration.g:1885:4: (lv_name_1_0= RULE_ID ) 5226 else if ( (LA29_0==28) ) {
5227 // InternalApplicationConfiguration.g:1886:5: lv_name_1_0= RULE_ID 5227 alt29=2;
5228 { 5228 }
5229 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); 5229 else {
5230 5230 NoViableAltException nvae =
5231 newLeafNode(lv_name_1_0, grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 5231 new NoViableAltException("", 29, 0, input);
5232 5232
5233 5233 throw nvae;
5234 if (current==null) { 5234 }
5235 current = createModelElement(grammarAccess.getConfigDeclarationRule()); 5235 switch (alt29) {
5236 } 5236 case 1 :
5237 setWithLastConsumed( 5237 // InternalApplicationConfiguration.g:1880:3: this_OptimizationEntry_0= ruleOptimizationEntry
5238 current, 5238 {
5239 "name", 5239
5240 lv_name_1_0, 5240 newCompositeNode(grammarAccess.getObjectiveEntryAccess().getOptimizationEntryParserRuleCall_0());
5241 "org.eclipse.xtext.common.Terminals.ID"); 5241
5242 5242 pushFollow(FOLLOW_2);
5243 5243 this_OptimizationEntry_0=ruleOptimizationEntry();
5244 } 5244
5245 5245 state._fsp--;
5246 5246
5247 } 5247
5248 5248 current = this_OptimizationEntry_0;
5249 // InternalApplicationConfiguration.g:1902:3: ( (lv_specification_2_0= ruleConfigSpecification ) ) 5249 afterParserOrEnumRuleCall();
5250 // InternalApplicationConfiguration.g:1903:4: (lv_specification_2_0= ruleConfigSpecification ) 5250
5251 { 5251
5252 // InternalApplicationConfiguration.g:1903:4: (lv_specification_2_0= ruleConfigSpecification ) 5252 }
5253 // InternalApplicationConfiguration.g:1904:5: lv_specification_2_0= ruleConfigSpecification 5253 break;
5254 { 5254 case 2 :
5255 5255 // InternalApplicationConfiguration.g:1889:3: this_ThresholdEntry_1= ruleThresholdEntry
5256 newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); 5256 {
5257 5257
5258 pushFollow(FOLLOW_2); 5258 newCompositeNode(grammarAccess.getObjectiveEntryAccess().getThresholdEntryParserRuleCall_1());
5259 lv_specification_2_0=ruleConfigSpecification(); 5259
5260 5260 pushFollow(FOLLOW_2);
5261 state._fsp--; 5261 this_ThresholdEntry_1=ruleThresholdEntry();
5262 5262
5263 5263 state._fsp--;
5264 if (current==null) { 5264
5265 current = createModelElementForParent(grammarAccess.getConfigDeclarationRule()); 5265
5266 } 5266 current = this_ThresholdEntry_1;
5267 set( 5267 afterParserOrEnumRuleCall();
5268 current, 5268
5269 "specification", 5269
5270 lv_specification_2_0, 5270 }
5271 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification"); 5271 break;
5272 afterParserOrEnumRuleCall(); 5272
5273 5273 }
5274 5274
5275 } 5275
5276 5276 }
5277 5277
5278 } 5278
5279 5279 leaveRule();
5280 5280
5281 } 5281 }
5282 5282
5283 5283 catch (RecognitionException re) {
5284 } 5284 recover(input,re);
5285 5285 appendSkippedTokens();
5286 5286 }
5287 leaveRule(); 5287 finally {
5288 5288 }
5289 } 5289 return current;
5290 5290 }
5291 catch (RecognitionException re) { 5291 // $ANTLR end "ruleObjectiveEntry"
5292 recover(input,re); 5292
5293 appendSkippedTokens(); 5293
5294 } 5294 // $ANTLR start "entryRuleOptimizationEntry"
5295 finally { 5295 // InternalApplicationConfiguration.g:1901:1: entryRuleOptimizationEntry returns [EObject current=null] : iv_ruleOptimizationEntry= ruleOptimizationEntry EOF ;
5296 } 5296 public final EObject entryRuleOptimizationEntry() throws RecognitionException {
5297 return current; 5297 EObject current = null;
5298 } 5298
5299 // $ANTLR end "ruleConfigDeclaration" 5299 EObject iv_ruleOptimizationEntry = null;
5300 5300
5301 5301
5302 // $ANTLR start "entryRuleConfigEntry" 5302 try {
5303 // InternalApplicationConfiguration.g:1925:1: entryRuleConfigEntry returns [EObject current=null] : iv_ruleConfigEntry= ruleConfigEntry EOF ; 5303 // InternalApplicationConfiguration.g:1901:58: (iv_ruleOptimizationEntry= ruleOptimizationEntry EOF )
5304 public final EObject entryRuleConfigEntry() throws RecognitionException { 5304 // InternalApplicationConfiguration.g:1902:2: iv_ruleOptimizationEntry= ruleOptimizationEntry EOF
5305 EObject current = null; 5305 {
5306 5306 newCompositeNode(grammarAccess.getOptimizationEntryRule());
5307 EObject iv_ruleConfigEntry = null; 5307 pushFollow(FOLLOW_1);
5308 5308 iv_ruleOptimizationEntry=ruleOptimizationEntry();
5309 5309
5310 try { 5310 state._fsp--;
5311 // InternalApplicationConfiguration.g:1925:52: (iv_ruleConfigEntry= ruleConfigEntry EOF ) 5311
5312 // InternalApplicationConfiguration.g:1926:2: iv_ruleConfigEntry= ruleConfigEntry EOF 5312 current =iv_ruleOptimizationEntry;
5313 { 5313 match(input,EOF,FOLLOW_2);
5314 newCompositeNode(grammarAccess.getConfigEntryRule()); 5314
5315 pushFollow(FOLLOW_1); 5315 }
5316 iv_ruleConfigEntry=ruleConfigEntry(); 5316
5317 5317 }
5318 state._fsp--; 5318
5319 5319 catch (RecognitionException re) {
5320 current =iv_ruleConfigEntry; 5320 recover(input,re);
5321 match(input,EOF,FOLLOW_2); 5321 appendSkippedTokens();
5322 5322 }
5323 } 5323 finally {
5324 5324 }
5325 } 5325 return current;
5326 5326 }
5327 catch (RecognitionException re) { 5327 // $ANTLR end "entryRuleOptimizationEntry"
5328 recover(input,re); 5328
5329 appendSkippedTokens(); 5329
5330 } 5330 // $ANTLR start "ruleOptimizationEntry"
5331 finally { 5331 // InternalApplicationConfiguration.g:1908:1: ruleOptimizationEntry returns [EObject current=null] : ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) ) ;
5332 } 5332 public final EObject ruleOptimizationEntry() throws RecognitionException {
5333 return current; 5333 EObject current = null;
5334 } 5334
5335 // $ANTLR end "entryRuleConfigEntry" 5335 Enumerator lv_direction_0_0 = null;
5336 5336
5337 5337 EObject lv_function_1_0 = null;
5338 // $ANTLR start "ruleConfigEntry" 5338
5339 // InternalApplicationConfiguration.g:1932:1: ruleConfigEntry returns [EObject current=null] : (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) ; 5339
5340 public final EObject ruleConfigEntry() throws RecognitionException { 5340
5341 EObject current = null; 5341 enterRule();
5342 5342
5343 EObject this_DocumentationEntry_0 = null; 5343 try {
5344 5344 // InternalApplicationConfiguration.g:1914:2: ( ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) ) )
5345 EObject this_RuntimeEntry_1 = null; 5345 // InternalApplicationConfiguration.g:1915:2: ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) )
5346 5346 {
5347 EObject this_MemoryEntry_2 = null; 5347 // InternalApplicationConfiguration.g:1915:2: ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) )
5348 5348 // InternalApplicationConfiguration.g:1916:3: ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) )
5349 EObject this_CustomEntry_3 = null; 5349 {
5350 5350 // InternalApplicationConfiguration.g:1916:3: ( (lv_direction_0_0= ruleOptimizationDirection ) )
5351 5351 // InternalApplicationConfiguration.g:1917:4: (lv_direction_0_0= ruleOptimizationDirection )
5352 5352 {
5353 enterRule(); 5353 // InternalApplicationConfiguration.g:1917:4: (lv_direction_0_0= ruleOptimizationDirection )
5354 5354 // InternalApplicationConfiguration.g:1918:5: lv_direction_0_0= ruleOptimizationDirection
5355 try { 5355 {
5356 // InternalApplicationConfiguration.g:1938:2: ( (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) ) 5356
5357 // InternalApplicationConfiguration.g:1939:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) 5357 newCompositeNode(grammarAccess.getOptimizationEntryAccess().getDirectionOptimizationDirectionEnumRuleCall_0_0());
5358 { 5358
5359 // InternalApplicationConfiguration.g:1939:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) 5359 pushFollow(FOLLOW_21);
5360 int alt30=4; 5360 lv_direction_0_0=ruleOptimizationDirection();
5361 switch ( input.LA(1) ) { 5361
5362 case 29: 5362 state._fsp--;
5363 { 5363
5364 alt30=1; 5364
5365 } 5365 if (current==null) {
5366 break; 5366 current = createModelElementForParent(grammarAccess.getOptimizationEntryRule());
5367 case 30: 5367 }
5368 { 5368 set(
5369 alt30=2; 5369 current,
5370 } 5370 "direction",
5371 break; 5371 lv_direction_0_0,
5372 case 31: 5372 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.OptimizationDirection");
5373 { 5373 afterParserOrEnumRuleCall();
5374 alt30=3; 5374
5375 } 5375
5376 break; 5376 }
5377 case RULE_STRING: 5377
5378 { 5378
5379 alt30=4; 5379 }
5380 } 5380
5381 break; 5381 // InternalApplicationConfiguration.g:1935:3: ( (lv_function_1_0= ruleObjectiveFunction ) )
5382 default: 5382 // InternalApplicationConfiguration.g:1936:4: (lv_function_1_0= ruleObjectiveFunction )
5383 NoViableAltException nvae = 5383 {
5384 new NoViableAltException("", 30, 0, input); 5384 // InternalApplicationConfiguration.g:1936:4: (lv_function_1_0= ruleObjectiveFunction )
5385 5385 // InternalApplicationConfiguration.g:1937:5: lv_function_1_0= ruleObjectiveFunction
5386 throw nvae; 5386 {
5387 } 5387
5388 5388 newCompositeNode(grammarAccess.getOptimizationEntryAccess().getFunctionObjectiveFunctionParserRuleCall_1_0());
5389 switch (alt30) { 5389
5390 case 1 : 5390 pushFollow(FOLLOW_2);
5391 // InternalApplicationConfiguration.g:1940:3: this_DocumentationEntry_0= ruleDocumentationEntry 5391 lv_function_1_0=ruleObjectiveFunction();
5392 { 5392
5393 5393 state._fsp--;
5394 newCompositeNode(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0()); 5394
5395 5395
5396 pushFollow(FOLLOW_2); 5396 if (current==null) {
5397 this_DocumentationEntry_0=ruleDocumentationEntry(); 5397 current = createModelElementForParent(grammarAccess.getOptimizationEntryRule());
5398 5398 }
5399 state._fsp--; 5399 set(
5400 5400 current,
5401 5401 "function",
5402 current = this_DocumentationEntry_0; 5402 lv_function_1_0,
5403 afterParserOrEnumRuleCall(); 5403 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveFunction");
5404 5404 afterParserOrEnumRuleCall();
5405 5405
5406 } 5406
5407 break; 5407 }
5408 case 2 : 5408
5409 // InternalApplicationConfiguration.g:1949:3: this_RuntimeEntry_1= ruleRuntimeEntry 5409
5410 { 5410 }
5411 5411
5412 newCompositeNode(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1()); 5412
5413 5413 }
5414 pushFollow(FOLLOW_2); 5414
5415 this_RuntimeEntry_1=ruleRuntimeEntry(); 5415
5416 5416 }
5417 state._fsp--; 5417
5418 5418
5419 5419 leaveRule();
5420 current = this_RuntimeEntry_1; 5420
5421 afterParserOrEnumRuleCall(); 5421 }
5422 5422
5423 5423 catch (RecognitionException re) {
5424 } 5424 recover(input,re);
5425 break; 5425 appendSkippedTokens();
5426 case 3 : 5426 }
5427 // InternalApplicationConfiguration.g:1958:3: this_MemoryEntry_2= ruleMemoryEntry 5427 finally {
5428 { 5428 }
5429 5429 return current;
5430 newCompositeNode(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2()); 5430 }
5431 5431 // $ANTLR end "ruleOptimizationEntry"
5432 pushFollow(FOLLOW_2); 5432
5433 this_MemoryEntry_2=ruleMemoryEntry(); 5433
5434 5434 // $ANTLR start "entryRuleThresholdEntry"
5435 state._fsp--; 5435 // InternalApplicationConfiguration.g:1958:1: entryRuleThresholdEntry returns [EObject current=null] : iv_ruleThresholdEntry= ruleThresholdEntry EOF ;
5436 5436 public final EObject entryRuleThresholdEntry() throws RecognitionException {
5437 5437 EObject current = null;
5438 current = this_MemoryEntry_2; 5438
5439 afterParserOrEnumRuleCall(); 5439 EObject iv_ruleThresholdEntry = null;
5440 5440
5441 5441
5442 } 5442 try {
5443 break; 5443 // InternalApplicationConfiguration.g:1958:55: (iv_ruleThresholdEntry= ruleThresholdEntry EOF )
5444 case 4 : 5444 // InternalApplicationConfiguration.g:1959:2: iv_ruleThresholdEntry= ruleThresholdEntry EOF
5445 // InternalApplicationConfiguration.g:1967:3: this_CustomEntry_3= ruleCustomEntry 5445 {
5446 { 5446 newCompositeNode(grammarAccess.getThresholdEntryRule());
5447 5447 pushFollow(FOLLOW_1);
5448 newCompositeNode(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3()); 5448 iv_ruleThresholdEntry=ruleThresholdEntry();
5449 5449
5450 pushFollow(FOLLOW_2); 5450 state._fsp--;
5451 this_CustomEntry_3=ruleCustomEntry(); 5451
5452 5452 current =iv_ruleThresholdEntry;
5453 state._fsp--; 5453 match(input,EOF,FOLLOW_2);
5454 5454
5455 5455 }
5456 current = this_CustomEntry_3; 5456
5457 afterParserOrEnumRuleCall(); 5457 }
5458 5458
5459 5459 catch (RecognitionException re) {
5460 } 5460 recover(input,re);
5461 break; 5461 appendSkippedTokens();
5462 5462 }
5463 } 5463 finally {
5464 5464 }
5465 5465 return current;
5466 } 5466 }
5467 5467 // $ANTLR end "entryRuleThresholdEntry"
5468 5468
5469 leaveRule(); 5469
5470 5470 // $ANTLR start "ruleThresholdEntry"
5471 } 5471 // InternalApplicationConfiguration.g:1965:1: ruleThresholdEntry returns [EObject current=null] : ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) ) ;
5472 5472 public final EObject ruleThresholdEntry() throws RecognitionException {
5473 catch (RecognitionException re) { 5473 EObject current = null;
5474 recover(input,re); 5474
5475 appendSkippedTokens(); 5475 EObject lv_function_0_0 = null;
5476 } 5476
5477 finally { 5477 Enumerator lv_operator_1_0 = null;
5478 } 5478
5479 return current; 5479 AntlrDatatypeRuleToken lv_threshold_2_0 = null;
5480 } 5480
5481 // $ANTLR end "ruleConfigEntry" 5481
5482 5482
5483 5483 enterRule();
5484 // $ANTLR start "entryRuleDocumentationEntry" 5484
5485 // InternalApplicationConfiguration.g:1979:1: entryRuleDocumentationEntry returns [EObject current=null] : iv_ruleDocumentationEntry= ruleDocumentationEntry EOF ; 5485 try {
5486 public final EObject entryRuleDocumentationEntry() throws RecognitionException { 5486 // InternalApplicationConfiguration.g:1971:2: ( ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) ) )
5487 EObject current = null; 5487 // InternalApplicationConfiguration.g:1972:2: ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) )
5488 5488 {
5489 EObject iv_ruleDocumentationEntry = null; 5489 // InternalApplicationConfiguration.g:1972:2: ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) )
5490 5490 // InternalApplicationConfiguration.g:1973:3: ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) )
5491 5491 {
5492 try { 5492 // InternalApplicationConfiguration.g:1973:3: ( (lv_function_0_0= ruleObjectiveFunction ) )
5493 // InternalApplicationConfiguration.g:1979:59: (iv_ruleDocumentationEntry= ruleDocumentationEntry EOF ) 5493 // InternalApplicationConfiguration.g:1974:4: (lv_function_0_0= ruleObjectiveFunction )
5494 // InternalApplicationConfiguration.g:1980:2: iv_ruleDocumentationEntry= ruleDocumentationEntry EOF 5494 {
5495 { 5495 // InternalApplicationConfiguration.g:1974:4: (lv_function_0_0= ruleObjectiveFunction )
5496 newCompositeNode(grammarAccess.getDocumentationEntryRule()); 5496 // InternalApplicationConfiguration.g:1975:5: lv_function_0_0= ruleObjectiveFunction
5497 pushFollow(FOLLOW_1); 5497 {
5498 iv_ruleDocumentationEntry=ruleDocumentationEntry(); 5498
5499 5499 newCompositeNode(grammarAccess.getThresholdEntryAccess().getFunctionObjectiveFunctionParserRuleCall_0_0());
5500 state._fsp--; 5500
5501 5501 pushFollow(FOLLOW_22);
5502 current =iv_ruleDocumentationEntry; 5502 lv_function_0_0=ruleObjectiveFunction();
5503 match(input,EOF,FOLLOW_2); 5503
5504 5504 state._fsp--;
5505 } 5505
5506 5506
5507 } 5507 if (current==null) {
5508 5508 current = createModelElementForParent(grammarAccess.getThresholdEntryRule());
5509 catch (RecognitionException re) { 5509 }
5510 recover(input,re); 5510 set(
5511 appendSkippedTokens(); 5511 current,
5512 } 5512 "function",
5513 finally { 5513 lv_function_0_0,
5514 } 5514 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveFunction");
5515 return current; 5515 afterParserOrEnumRuleCall();
5516 } 5516
5517 // $ANTLR end "entryRuleDocumentationEntry" 5517
5518 5518 }
5519 5519
5520 // $ANTLR start "ruleDocumentationEntry" 5520
5521 // InternalApplicationConfiguration.g:1986:1: ruleDocumentationEntry returns [EObject current=null] : (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) ; 5521 }
5522 public final EObject ruleDocumentationEntry() throws RecognitionException { 5522
5523 EObject current = null; 5523 // InternalApplicationConfiguration.g:1992:3: ( (lv_operator_1_0= ruleComparisonOperator ) )
5524 5524 // InternalApplicationConfiguration.g:1993:4: (lv_operator_1_0= ruleComparisonOperator )
5525 Token otherlv_0=null; 5525 {
5526 Token otherlv_1=null; 5526 // InternalApplicationConfiguration.g:1993:4: (lv_operator_1_0= ruleComparisonOperator )
5527 Enumerator lv_level_2_0 = null; 5527 // InternalApplicationConfiguration.g:1994:5: lv_operator_1_0= ruleComparisonOperator
5528 5528 {
5529 5529
5530 5530 newCompositeNode(grammarAccess.getThresholdEntryAccess().getOperatorComparisonOperatorEnumRuleCall_1_0());
5531 enterRule(); 5531
5532 5532 pushFollow(FOLLOW_23);
5533 try { 5533 lv_operator_1_0=ruleComparisonOperator();
5534 // InternalApplicationConfiguration.g:1992:2: ( (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) ) 5534
5535 // InternalApplicationConfiguration.g:1993:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) 5535 state._fsp--;
5536 { 5536
5537 // InternalApplicationConfiguration.g:1993:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) 5537
5538 // InternalApplicationConfiguration.g:1994:3: otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) 5538 if (current==null) {
5539 { 5539 current = createModelElementForParent(grammarAccess.getThresholdEntryRule());
5540 otherlv_0=(Token)match(input,29,FOLLOW_12); 5540 }
5541 5541 set(
5542 newLeafNode(otherlv_0, grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); 5542 current,
5543 5543 "operator",
5544 otherlv_1=(Token)match(input,17,FOLLOW_23); 5544 lv_operator_1_0,
5545 5545 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ComparisonOperator");
5546 newLeafNode(otherlv_1, grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1()); 5546 afterParserOrEnumRuleCall();
5547 5547
5548 // InternalApplicationConfiguration.g:2002:3: ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) 5548
5549 // InternalApplicationConfiguration.g:2003:4: (lv_level_2_0= ruleDocumentLevelSpecification ) 5549 }
5550 { 5550
5551 // InternalApplicationConfiguration.g:2003:4: (lv_level_2_0= ruleDocumentLevelSpecification ) 5551
5552 // InternalApplicationConfiguration.g:2004:5: lv_level_2_0= ruleDocumentLevelSpecification 5552 }
5553 { 5553
5554 5554 // InternalApplicationConfiguration.g:2011:3: ( (lv_threshold_2_0= ruleREALLiteral ) )
5555 newCompositeNode(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0()); 5555 // InternalApplicationConfiguration.g:2012:4: (lv_threshold_2_0= ruleREALLiteral )
5556 5556 {
5557 pushFollow(FOLLOW_2); 5557 // InternalApplicationConfiguration.g:2012:4: (lv_threshold_2_0= ruleREALLiteral )
5558 lv_level_2_0=ruleDocumentLevelSpecification(); 5558 // InternalApplicationConfiguration.g:2013:5: lv_threshold_2_0= ruleREALLiteral
5559 5559 {
5560 state._fsp--; 5560
5561 5561 newCompositeNode(grammarAccess.getThresholdEntryAccess().getThresholdREALLiteralParserRuleCall_2_0());
5562 5562
5563 if (current==null) { 5563 pushFollow(FOLLOW_2);
5564 current = createModelElementForParent(grammarAccess.getDocumentationEntryRule()); 5564 lv_threshold_2_0=ruleREALLiteral();
5565 } 5565
5566 set( 5566 state._fsp--;
5567 current, 5567
5568 "level", 5568
5569 lv_level_2_0, 5569 if (current==null) {
5570 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentLevelSpecification"); 5570 current = createModelElementForParent(grammarAccess.getThresholdEntryRule());
5571 afterParserOrEnumRuleCall(); 5571 }
5572 5572 set(
5573 5573 current,
5574 } 5574 "threshold",
5575 5575 lv_threshold_2_0,
5576 5576 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral");
5577 } 5577 afterParserOrEnumRuleCall();
5578 5578
5579 5579
5580 } 5580 }
5581 5581
5582 5582
5583 } 5583 }
5584 5584
5585 5585
5586 leaveRule(); 5586 }
5587 5587
5588 } 5588
5589 5589 }
5590 catch (RecognitionException re) { 5590
5591 recover(input,re); 5591
5592 appendSkippedTokens(); 5592 leaveRule();
5593 } 5593
5594 finally { 5594 }
5595 } 5595
5596 return current; 5596 catch (RecognitionException re) {
5597 } 5597 recover(input,re);
5598 // $ANTLR end "ruleDocumentationEntry" 5598 appendSkippedTokens();
5599 5599 }
5600 5600 finally {
5601 // $ANTLR start "entryRuleRuntimeEntry" 5601 }
5602 // InternalApplicationConfiguration.g:2025:1: entryRuleRuntimeEntry returns [EObject current=null] : iv_ruleRuntimeEntry= ruleRuntimeEntry EOF ; 5602 return current;
5603 public final EObject entryRuleRuntimeEntry() throws RecognitionException { 5603 }
5604 EObject current = null; 5604 // $ANTLR end "ruleThresholdEntry"
5605 5605
5606 EObject iv_ruleRuntimeEntry = null; 5606
5607 5607 // $ANTLR start "entryRuleObjectiveFunction"
5608 5608 // InternalApplicationConfiguration.g:2034:1: entryRuleObjectiveFunction returns [EObject current=null] : iv_ruleObjectiveFunction= ruleObjectiveFunction EOF ;
5609 try { 5609 public final EObject entryRuleObjectiveFunction() throws RecognitionException {
5610 // InternalApplicationConfiguration.g:2025:53: (iv_ruleRuntimeEntry= ruleRuntimeEntry EOF ) 5610 EObject current = null;
5611 // InternalApplicationConfiguration.g:2026:2: iv_ruleRuntimeEntry= ruleRuntimeEntry EOF 5611
5612 { 5612 EObject iv_ruleObjectiveFunction = null;
5613 newCompositeNode(grammarAccess.getRuntimeEntryRule()); 5613
5614 pushFollow(FOLLOW_1); 5614
5615 iv_ruleRuntimeEntry=ruleRuntimeEntry(); 5615 try {
5616 5616 // InternalApplicationConfiguration.g:2034:58: (iv_ruleObjectiveFunction= ruleObjectiveFunction EOF )
5617 state._fsp--; 5617 // InternalApplicationConfiguration.g:2035:2: iv_ruleObjectiveFunction= ruleObjectiveFunction EOF
5618 5618 {
5619 current =iv_ruleRuntimeEntry; 5619 newCompositeNode(grammarAccess.getObjectiveFunctionRule());
5620 match(input,EOF,FOLLOW_2); 5620 pushFollow(FOLLOW_1);
5621 5621 iv_ruleObjectiveFunction=ruleObjectiveFunction();
5622 } 5622
5623 5623 state._fsp--;
5624 } 5624
5625 5625 current =iv_ruleObjectiveFunction;
5626 catch (RecognitionException re) { 5626 match(input,EOF,FOLLOW_2);
5627 recover(input,re); 5627
5628 appendSkippedTokens(); 5628 }
5629 } 5629
5630 finally { 5630 }
5631 } 5631
5632 return current; 5632 catch (RecognitionException re) {
5633 } 5633 recover(input,re);
5634 // $ANTLR end "entryRuleRuntimeEntry" 5634 appendSkippedTokens();
5635 5635 }
5636 5636 finally {
5637 // $ANTLR start "ruleRuntimeEntry" 5637 }
5638 // InternalApplicationConfiguration.g:2032:1: ruleRuntimeEntry returns [EObject current=null] : (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) ; 5638 return current;
5639 public final EObject ruleRuntimeEntry() throws RecognitionException { 5639 }
5640 EObject current = null; 5640 // $ANTLR end "entryRuleObjectiveFunction"
5641 5641
5642 Token otherlv_0=null; 5642
5643 Token otherlv_1=null; 5643 // $ANTLR start "ruleObjectiveFunction"
5644 Token lv_millisecLimit_2_0=null; 5644 // InternalApplicationConfiguration.g:2041:1: ruleObjectiveFunction returns [EObject current=null] : this_CostObjectiveFunction_0= ruleCostObjectiveFunction ;
5645 5645 public final EObject ruleObjectiveFunction() throws RecognitionException {
5646 5646 EObject current = null;
5647 enterRule(); 5647
5648 5648 EObject this_CostObjectiveFunction_0 = null;
5649 try { 5649
5650 // InternalApplicationConfiguration.g:2038:2: ( (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) ) 5650
5651 // InternalApplicationConfiguration.g:2039:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) 5651
5652 { 5652 enterRule();
5653 // InternalApplicationConfiguration.g:2039:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) 5653
5654 // InternalApplicationConfiguration.g:2040:3: otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) 5654 try {
5655 { 5655 // InternalApplicationConfiguration.g:2047:2: (this_CostObjectiveFunction_0= ruleCostObjectiveFunction )
5656 otherlv_0=(Token)match(input,30,FOLLOW_12); 5656 // InternalApplicationConfiguration.g:2048:2: this_CostObjectiveFunction_0= ruleCostObjectiveFunction
5657 5657 {
5658 newLeafNode(otherlv_0, grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0()); 5658
5659 5659 newCompositeNode(grammarAccess.getObjectiveFunctionAccess().getCostObjectiveFunctionParserRuleCall());
5660 otherlv_1=(Token)match(input,17,FOLLOW_7); 5660
5661 5661 pushFollow(FOLLOW_2);
5662 newLeafNode(otherlv_1, grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1()); 5662 this_CostObjectiveFunction_0=ruleCostObjectiveFunction();
5663 5663
5664 // InternalApplicationConfiguration.g:2048:3: ( (lv_millisecLimit_2_0= RULE_INT ) ) 5664 state._fsp--;
5665 // InternalApplicationConfiguration.g:2049:4: (lv_millisecLimit_2_0= RULE_INT ) 5665
5666 { 5666
5667 // InternalApplicationConfiguration.g:2049:4: (lv_millisecLimit_2_0= RULE_INT ) 5667 current = this_CostObjectiveFunction_0;
5668 // InternalApplicationConfiguration.g:2050:5: lv_millisecLimit_2_0= RULE_INT 5668 afterParserOrEnumRuleCall();
5669 { 5669
5670 lv_millisecLimit_2_0=(Token)match(input,RULE_INT,FOLLOW_2); 5670
5671 5671 }
5672 newLeafNode(lv_millisecLimit_2_0, grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0()); 5672
5673 5673
5674 5674 leaveRule();
5675 if (current==null) { 5675
5676 current = createModelElement(grammarAccess.getRuntimeEntryRule()); 5676 }
5677 } 5677
5678 setWithLastConsumed( 5678 catch (RecognitionException re) {
5679 current, 5679 recover(input,re);
5680 "millisecLimit", 5680 appendSkippedTokens();
5681 lv_millisecLimit_2_0, 5681 }
5682 "org.eclipse.xtext.common.Terminals.INT"); 5682 finally {
5683 5683 }
5684 5684 return current;
5685 } 5685 }
5686 5686 // $ANTLR end "ruleObjectiveFunction"
5687 5687
5688 } 5688
5689 5689 // $ANTLR start "entryRuleCostObjectiveFunction"
5690 5690 // InternalApplicationConfiguration.g:2059:1: entryRuleCostObjectiveFunction returns [EObject current=null] : iv_ruleCostObjectiveFunction= ruleCostObjectiveFunction EOF ;
5691 } 5691 public final EObject entryRuleCostObjectiveFunction() throws RecognitionException {
5692 5692 EObject current = null;
5693 5693
5694 } 5694 EObject iv_ruleCostObjectiveFunction = null;
5695 5695
5696 5696
5697 leaveRule(); 5697 try {
5698 5698 // InternalApplicationConfiguration.g:2059:62: (iv_ruleCostObjectiveFunction= ruleCostObjectiveFunction EOF )
5699 } 5699 // InternalApplicationConfiguration.g:2060:2: iv_ruleCostObjectiveFunction= ruleCostObjectiveFunction EOF
5700 5700 {
5701 catch (RecognitionException re) { 5701 newCompositeNode(grammarAccess.getCostObjectiveFunctionRule());
5702 recover(input,re); 5702 pushFollow(FOLLOW_1);
5703 appendSkippedTokens(); 5703 iv_ruleCostObjectiveFunction=ruleCostObjectiveFunction();
5704 } 5704
5705 finally { 5705 state._fsp--;
5706 } 5706
5707 return current; 5707 current =iv_ruleCostObjectiveFunction;
5708 } 5708 match(input,EOF,FOLLOW_2);
5709 // $ANTLR end "ruleRuntimeEntry" 5709
5710 5710 }
5711 5711
5712 // $ANTLR start "entryRuleMemoryEntry" 5712 }
5713 // InternalApplicationConfiguration.g:2070:1: entryRuleMemoryEntry returns [EObject current=null] : iv_ruleMemoryEntry= ruleMemoryEntry EOF ; 5713
5714 public final EObject entryRuleMemoryEntry() throws RecognitionException { 5714 catch (RecognitionException re) {
5715 EObject current = null; 5715 recover(input,re);
5716 5716 appendSkippedTokens();
5717 EObject iv_ruleMemoryEntry = null; 5717 }
5718 5718 finally {
5719 5719 }
5720 try { 5720 return current;
5721 // InternalApplicationConfiguration.g:2070:52: (iv_ruleMemoryEntry= ruleMemoryEntry EOF ) 5721 }
5722 // InternalApplicationConfiguration.g:2071:2: iv_ruleMemoryEntry= ruleMemoryEntry EOF 5722 // $ANTLR end "entryRuleCostObjectiveFunction"
5723 { 5723
5724 newCompositeNode(grammarAccess.getMemoryEntryRule()); 5724
5725 pushFollow(FOLLOW_1); 5725 // $ANTLR start "ruleCostObjectiveFunction"
5726 iv_ruleMemoryEntry=ruleMemoryEntry(); 5726 // InternalApplicationConfiguration.g:2066:1: ruleCostObjectiveFunction returns [EObject current=null] : (otherlv_0= 'cost' otherlv_1= '{' ( (lv_entries_2_0= ruleCostEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleCostEntry ) ) )* otherlv_5= '}' ) ;
5727 5727 public final EObject ruleCostObjectiveFunction() throws RecognitionException {
5728 state._fsp--; 5728 EObject current = null;
5729 5729
5730 current =iv_ruleMemoryEntry; 5730 Token otherlv_0=null;
5731 match(input,EOF,FOLLOW_2); 5731 Token otherlv_1=null;
5732 5732 Token otherlv_3=null;
5733 } 5733 Token otherlv_5=null;
5734 5734 EObject lv_entries_2_0 = null;
5735 } 5735
5736 5736 EObject lv_entries_4_0 = null;
5737 catch (RecognitionException re) { 5737
5738 recover(input,re); 5738
5739 appendSkippedTokens(); 5739
5740 } 5740 enterRule();
5741 finally { 5741
5742 } 5742 try {
5743 return current; 5743 // InternalApplicationConfiguration.g:2072:2: ( (otherlv_0= 'cost' otherlv_1= '{' ( (lv_entries_2_0= ruleCostEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleCostEntry ) ) )* otherlv_5= '}' ) )
5744 } 5744 // InternalApplicationConfiguration.g:2073:2: (otherlv_0= 'cost' otherlv_1= '{' ( (lv_entries_2_0= ruleCostEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleCostEntry ) ) )* otherlv_5= '}' )
5745 // $ANTLR end "entryRuleMemoryEntry" 5745 {
5746 5746 // InternalApplicationConfiguration.g:2073:2: (otherlv_0= 'cost' otherlv_1= '{' ( (lv_entries_2_0= ruleCostEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleCostEntry ) ) )* otherlv_5= '}' )
5747 5747 // InternalApplicationConfiguration.g:2074:3: otherlv_0= 'cost' otherlv_1= '{' ( (lv_entries_2_0= ruleCostEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleCostEntry ) ) )* otherlv_5= '}'
5748 // $ANTLR start "ruleMemoryEntry" 5748 {
5749 // InternalApplicationConfiguration.g:2077:1: ruleMemoryEntry returns [EObject current=null] : (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) ; 5749 otherlv_0=(Token)match(input,28,FOLLOW_16);
5750 public final EObject ruleMemoryEntry() throws RecognitionException { 5750
5751 EObject current = null; 5751 newLeafNode(otherlv_0, grammarAccess.getCostObjectiveFunctionAccess().getCostKeyword_0());
5752 5752
5753 Token otherlv_0=null; 5753 otherlv_1=(Token)match(input,18,FOLLOW_6);
5754 Token otherlv_1=null; 5754
5755 Token lv_megabyteLimit_2_0=null; 5755 newLeafNode(otherlv_1, grammarAccess.getCostObjectiveFunctionAccess().getLeftCurlyBracketKeyword_1());
5756 5756
5757 5757 // InternalApplicationConfiguration.g:2082:3: ( (lv_entries_2_0= ruleCostEntry ) )
5758 enterRule(); 5758 // InternalApplicationConfiguration.g:2083:4: (lv_entries_2_0= ruleCostEntry )
5759 5759 {
5760 try { 5760 // InternalApplicationConfiguration.g:2083:4: (lv_entries_2_0= ruleCostEntry )
5761 // InternalApplicationConfiguration.g:2083:2: ( (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) ) 5761 // InternalApplicationConfiguration.g:2084:5: lv_entries_2_0= ruleCostEntry
5762 // InternalApplicationConfiguration.g:2084:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) 5762 {
5763 { 5763
5764 // InternalApplicationConfiguration.g:2084:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) 5764 newCompositeNode(grammarAccess.getCostObjectiveFunctionAccess().getEntriesCostEntryParserRuleCall_2_0());
5765 // InternalApplicationConfiguration.g:2085:3: otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) 5765
5766 { 5766 pushFollow(FOLLOW_14);
5767 otherlv_0=(Token)match(input,31,FOLLOW_12); 5767 lv_entries_2_0=ruleCostEntry();
5768 5768
5769 newLeafNode(otherlv_0, grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0()); 5769 state._fsp--;
5770 5770
5771 otherlv_1=(Token)match(input,17,FOLLOW_7); 5771
5772 5772 if (current==null) {
5773 newLeafNode(otherlv_1, grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1()); 5773 current = createModelElementForParent(grammarAccess.getCostObjectiveFunctionRule());
5774 5774 }
5775 // InternalApplicationConfiguration.g:2093:3: ( (lv_megabyteLimit_2_0= RULE_INT ) ) 5775 add(
5776 // InternalApplicationConfiguration.g:2094:4: (lv_megabyteLimit_2_0= RULE_INT ) 5776 current,
5777 { 5777 "entries",
5778 // InternalApplicationConfiguration.g:2094:4: (lv_megabyteLimit_2_0= RULE_INT ) 5778 lv_entries_2_0,
5779 // InternalApplicationConfiguration.g:2095:5: lv_megabyteLimit_2_0= RULE_INT 5779 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.CostEntry");
5780 { 5780 afterParserOrEnumRuleCall();
5781 lv_megabyteLimit_2_0=(Token)match(input,RULE_INT,FOLLOW_2); 5781
5782 5782
5783 newLeafNode(lv_megabyteLimit_2_0, grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0()); 5783 }
5784 5784
5785 5785
5786 if (current==null) { 5786 }
5787 current = createModelElement(grammarAccess.getMemoryEntryRule()); 5787
5788 } 5788 // InternalApplicationConfiguration.g:2101:3: (otherlv_3= ',' ( (lv_entries_4_0= ruleCostEntry ) ) )*
5789 setWithLastConsumed( 5789 loop30:
5790 current, 5790 do {
5791 "megabyteLimit", 5791 int alt30=2;
5792 lv_megabyteLimit_2_0, 5792 int LA30_0 = input.LA(1);
5793 "org.eclipse.xtext.common.Terminals.INT"); 5793
5794 5794 if ( (LA30_0==19) ) {
5795 5795 alt30=1;
5796 } 5796 }
5797 5797
5798 5798
5799 } 5799 switch (alt30) {
5800 5800 case 1 :
5801 5801 // InternalApplicationConfiguration.g:2102:4: otherlv_3= ',' ( (lv_entries_4_0= ruleCostEntry ) )
5802 } 5802 {
5803 5803 otherlv_3=(Token)match(input,19,FOLLOW_6);
5804 5804
5805 } 5805 newLeafNode(otherlv_3, grammarAccess.getCostObjectiveFunctionAccess().getCommaKeyword_3_0());
5806 5806
5807 5807 // InternalApplicationConfiguration.g:2106:4: ( (lv_entries_4_0= ruleCostEntry ) )
5808 leaveRule(); 5808 // InternalApplicationConfiguration.g:2107:5: (lv_entries_4_0= ruleCostEntry )
5809 5809 {
5810 } 5810 // InternalApplicationConfiguration.g:2107:5: (lv_entries_4_0= ruleCostEntry )
5811 5811 // InternalApplicationConfiguration.g:2108:6: lv_entries_4_0= ruleCostEntry
5812 catch (RecognitionException re) { 5812 {
5813 recover(input,re); 5813
5814 appendSkippedTokens(); 5814 newCompositeNode(grammarAccess.getCostObjectiveFunctionAccess().getEntriesCostEntryParserRuleCall_3_1_0());
5815 } 5815
5816 finally { 5816 pushFollow(FOLLOW_14);
5817 } 5817 lv_entries_4_0=ruleCostEntry();
5818 return current; 5818
5819 } 5819 state._fsp--;
5820 // $ANTLR end "ruleMemoryEntry" 5820
5821 5821
5822 5822 if (current==null) {
5823 // $ANTLR start "entryRuleCustomEntry" 5823 current = createModelElementForParent(grammarAccess.getCostObjectiveFunctionRule());
5824 // InternalApplicationConfiguration.g:2115:1: entryRuleCustomEntry returns [EObject current=null] : iv_ruleCustomEntry= ruleCustomEntry EOF ; 5824 }
5825 public final EObject entryRuleCustomEntry() throws RecognitionException { 5825 add(
5826 EObject current = null; 5826 current,
5827 5827 "entries",
5828 EObject iv_ruleCustomEntry = null; 5828 lv_entries_4_0,
5829 5829 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.CostEntry");
5830 5830 afterParserOrEnumRuleCall();
5831 try { 5831
5832 // InternalApplicationConfiguration.g:2115:52: (iv_ruleCustomEntry= ruleCustomEntry EOF ) 5832
5833 // InternalApplicationConfiguration.g:2116:2: iv_ruleCustomEntry= ruleCustomEntry EOF 5833 }
5834 { 5834
5835 newCompositeNode(grammarAccess.getCustomEntryRule()); 5835
5836 pushFollow(FOLLOW_1); 5836 }
5837 iv_ruleCustomEntry=ruleCustomEntry(); 5837
5838 5838
5839 state._fsp--; 5839 }
5840 5840 break;
5841 current =iv_ruleCustomEntry; 5841
5842 match(input,EOF,FOLLOW_2); 5842 default :
5843 5843 break loop30;
5844 } 5844 }
5845 5845 } while (true);
5846 } 5846
5847 5847 otherlv_5=(Token)match(input,20,FOLLOW_2);
5848 catch (RecognitionException re) { 5848
5849 recover(input,re); 5849 newLeafNode(otherlv_5, grammarAccess.getCostObjectiveFunctionAccess().getRightCurlyBracketKeyword_4());
5850 appendSkippedTokens(); 5850
5851 } 5851
5852 finally { 5852 }
5853 } 5853
5854 return current; 5854
5855 } 5855 }
5856 // $ANTLR end "entryRuleCustomEntry" 5856
5857 5857
5858 5858 leaveRule();
5859 // $ANTLR start "ruleCustomEntry" 5859
5860 // InternalApplicationConfiguration.g:2122:1: ruleCustomEntry returns [EObject current=null] : ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ; 5860 }
5861 public final EObject ruleCustomEntry() throws RecognitionException { 5861
5862 EObject current = null; 5862 catch (RecognitionException re) {
5863 5863 recover(input,re);
5864 Token lv_key_0_0=null; 5864 appendSkippedTokens();
5865 Token otherlv_1=null; 5865 }
5866 Token lv_value_2_0=null; 5866 finally {
5867 5867 }
5868 5868 return current;
5869 enterRule(); 5869 }
5870 5870 // $ANTLR end "ruleCostObjectiveFunction"
5871 try { 5871
5872 // InternalApplicationConfiguration.g:2128:2: ( ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ) 5872
5873 // InternalApplicationConfiguration.g:2129:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) 5873 // $ANTLR start "entryRuleCostEntry"
5874 { 5874 // InternalApplicationConfiguration.g:2134:1: entryRuleCostEntry returns [EObject current=null] : iv_ruleCostEntry= ruleCostEntry EOF ;
5875 // InternalApplicationConfiguration.g:2129:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) 5875 public final EObject entryRuleCostEntry() throws RecognitionException {
5876 // InternalApplicationConfiguration.g:2130:3: ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) 5876 EObject current = null;
5877 { 5877
5878 // InternalApplicationConfiguration.g:2130:3: ( (lv_key_0_0= RULE_STRING ) ) 5878 EObject iv_ruleCostEntry = null;
5879 // InternalApplicationConfiguration.g:2131:4: (lv_key_0_0= RULE_STRING ) 5879
5880 { 5880
5881 // InternalApplicationConfiguration.g:2131:4: (lv_key_0_0= RULE_STRING ) 5881 try {
5882 // InternalApplicationConfiguration.g:2132:5: lv_key_0_0= RULE_STRING 5882 // InternalApplicationConfiguration.g:2134:50: (iv_ruleCostEntry= ruleCostEntry EOF )
5883 { 5883 // InternalApplicationConfiguration.g:2135:2: iv_ruleCostEntry= ruleCostEntry EOF
5884 lv_key_0_0=(Token)match(input,RULE_STRING,FOLLOW_12); 5884 {
5885 5885 newCompositeNode(grammarAccess.getCostEntryRule());
5886 newLeafNode(lv_key_0_0, grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); 5886 pushFollow(FOLLOW_1);
5887 5887 iv_ruleCostEntry=ruleCostEntry();
5888 5888
5889 if (current==null) { 5889 state._fsp--;
5890 current = createModelElement(grammarAccess.getCustomEntryRule()); 5890
5891 } 5891 current =iv_ruleCostEntry;
5892 setWithLastConsumed( 5892 match(input,EOF,FOLLOW_2);
5893 current, 5893
5894 "key", 5894 }
5895 lv_key_0_0, 5895
5896 "org.eclipse.xtext.common.Terminals.STRING"); 5896 }
5897 5897
5898 5898 catch (RecognitionException re) {
5899 } 5899 recover(input,re);
5900 5900 appendSkippedTokens();
5901 5901 }
5902 } 5902 finally {
5903 5903 }
5904 otherlv_1=(Token)match(input,17,FOLLOW_10); 5904 return current;
5905 5905 }
5906 newLeafNode(otherlv_1, grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1()); 5906 // $ANTLR end "entryRuleCostEntry"
5907 5907
5908 // InternalApplicationConfiguration.g:2152:3: ( (lv_value_2_0= RULE_STRING ) ) 5908
5909 // InternalApplicationConfiguration.g:2153:4: (lv_value_2_0= RULE_STRING ) 5909 // $ANTLR start "ruleCostEntry"
5910 { 5910 // InternalApplicationConfiguration.g:2141:1: ruleCostEntry returns [EObject current=null] : ( ( (lv_patternElement_0_0= rulePatternElement ) ) otherlv_1= '=' ( (lv_weight_2_0= ruleINTLiteral ) ) ) ;
5911 // InternalApplicationConfiguration.g:2153:4: (lv_value_2_0= RULE_STRING ) 5911 public final EObject ruleCostEntry() throws RecognitionException {
5912 // InternalApplicationConfiguration.g:2154:5: lv_value_2_0= RULE_STRING 5912 EObject current = null;
5913 { 5913
5914 lv_value_2_0=(Token)match(input,RULE_STRING,FOLLOW_2); 5914 Token otherlv_1=null;
5915 5915 EObject lv_patternElement_0_0 = null;
5916 newLeafNode(lv_value_2_0, grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); 5916
5917 5917 AntlrDatatypeRuleToken lv_weight_2_0 = null;
5918 5918
5919 if (current==null) { 5919
5920 current = createModelElement(grammarAccess.getCustomEntryRule()); 5920
5921 } 5921 enterRule();
5922 setWithLastConsumed( 5922
5923 current, 5923 try {
5924 "value", 5924 // InternalApplicationConfiguration.g:2147:2: ( ( ( (lv_patternElement_0_0= rulePatternElement ) ) otherlv_1= '=' ( (lv_weight_2_0= ruleINTLiteral ) ) ) )
5925 lv_value_2_0, 5925 // InternalApplicationConfiguration.g:2148:2: ( ( (lv_patternElement_0_0= rulePatternElement ) ) otherlv_1= '=' ( (lv_weight_2_0= ruleINTLiteral ) ) )
5926 "org.eclipse.xtext.common.Terminals.STRING"); 5926 {
5927 5927 // InternalApplicationConfiguration.g:2148:2: ( ( (lv_patternElement_0_0= rulePatternElement ) ) otherlv_1= '=' ( (lv_weight_2_0= ruleINTLiteral ) ) )
5928 5928 // InternalApplicationConfiguration.g:2149:3: ( (lv_patternElement_0_0= rulePatternElement ) ) otherlv_1= '=' ( (lv_weight_2_0= ruleINTLiteral ) )
5929 } 5929 {
5930 5930 // InternalApplicationConfiguration.g:2149:3: ( (lv_patternElement_0_0= rulePatternElement ) )
5931 5931 // InternalApplicationConfiguration.g:2150:4: (lv_patternElement_0_0= rulePatternElement )
5932 } 5932 {
5933 5933 // InternalApplicationConfiguration.g:2150:4: (lv_patternElement_0_0= rulePatternElement )
5934 5934 // InternalApplicationConfiguration.g:2151:5: lv_patternElement_0_0= rulePatternElement
5935 } 5935 {
5936 5936
5937 5937 newCompositeNode(grammarAccess.getCostEntryAccess().getPatternElementPatternElementParserRuleCall_0_0());
5938 } 5938
5939 5939 pushFollow(FOLLOW_12);
5940 5940 lv_patternElement_0_0=rulePatternElement();
5941 leaveRule(); 5941
5942 5942 state._fsp--;
5943 } 5943
5944 5944
5945 catch (RecognitionException re) { 5945 if (current==null) {
5946 recover(input,re); 5946 current = createModelElementForParent(grammarAccess.getCostEntryRule());
5947 appendSkippedTokens(); 5947 }
5948 } 5948 set(
5949 finally { 5949 current,
5950 } 5950 "patternElement",
5951 return current; 5951 lv_patternElement_0_0,
5952 } 5952 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement");
5953 // $ANTLR end "ruleCustomEntry" 5953 afterParserOrEnumRuleCall();
5954 5954
5955 5955
5956 // $ANTLR start "entryRuleConfigReference" 5956 }
5957 // InternalApplicationConfiguration.g:2174:1: entryRuleConfigReference returns [EObject current=null] : iv_ruleConfigReference= ruleConfigReference EOF ; 5957
5958 public final EObject entryRuleConfigReference() throws RecognitionException { 5958
5959 EObject current = null; 5959 }
5960 5960
5961 EObject iv_ruleConfigReference = null; 5961 otherlv_1=(Token)match(input,17,FOLLOW_23);
5962 5962
5963 5963 newLeafNode(otherlv_1, grammarAccess.getCostEntryAccess().getEqualsSignKeyword_1());
5964 try { 5964
5965 // InternalApplicationConfiguration.g:2174:56: (iv_ruleConfigReference= ruleConfigReference EOF ) 5965 // InternalApplicationConfiguration.g:2172:3: ( (lv_weight_2_0= ruleINTLiteral ) )
5966 // InternalApplicationConfiguration.g:2175:2: iv_ruleConfigReference= ruleConfigReference EOF 5966 // InternalApplicationConfiguration.g:2173:4: (lv_weight_2_0= ruleINTLiteral )
5967 { 5967 {
5968 newCompositeNode(grammarAccess.getConfigReferenceRule()); 5968 // InternalApplicationConfiguration.g:2173:4: (lv_weight_2_0= ruleINTLiteral )
5969 pushFollow(FOLLOW_1); 5969 // InternalApplicationConfiguration.g:2174:5: lv_weight_2_0= ruleINTLiteral
5970 iv_ruleConfigReference=ruleConfigReference(); 5970 {
5971 5971
5972 state._fsp--; 5972 newCompositeNode(grammarAccess.getCostEntryAccess().getWeightINTLiteralParserRuleCall_2_0());
5973 5973
5974 current =iv_ruleConfigReference; 5974 pushFollow(FOLLOW_2);
5975 match(input,EOF,FOLLOW_2); 5975 lv_weight_2_0=ruleINTLiteral();
5976 5976
5977 } 5977 state._fsp--;
5978 5978
5979 } 5979
5980 5980 if (current==null) {
5981 catch (RecognitionException re) { 5981 current = createModelElementForParent(grammarAccess.getCostEntryRule());
5982 recover(input,re); 5982 }
5983 appendSkippedTokens(); 5983 set(
5984 } 5984 current,
5985 finally { 5985 "weight",
5986 } 5986 lv_weight_2_0,
5987 return current; 5987 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral");
5988 } 5988 afterParserOrEnumRuleCall();
5989 // $ANTLR end "entryRuleConfigReference" 5989
5990 5990
5991 5991 }
5992 // $ANTLR start "ruleConfigReference" 5992
5993 // InternalApplicationConfiguration.g:2181:1: ruleConfigReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; 5993
5994 public final EObject ruleConfigReference() throws RecognitionException { 5994 }
5995 EObject current = null; 5995
5996 5996
5997 Token otherlv_0=null; 5997 }
5998 5998
5999 5999
6000 enterRule(); 6000 }
6001 6001
6002 try { 6002
6003 // InternalApplicationConfiguration.g:2187:2: ( ( (otherlv_0= RULE_ID ) ) ) 6003 leaveRule();
6004 // InternalApplicationConfiguration.g:2188:2: ( (otherlv_0= RULE_ID ) ) 6004
6005 { 6005 }
6006 // InternalApplicationConfiguration.g:2188:2: ( (otherlv_0= RULE_ID ) ) 6006
6007 // InternalApplicationConfiguration.g:2189:3: (otherlv_0= RULE_ID ) 6007 catch (RecognitionException re) {
6008 { 6008 recover(input,re);
6009 // InternalApplicationConfiguration.g:2189:3: (otherlv_0= RULE_ID ) 6009 appendSkippedTokens();
6010 // InternalApplicationConfiguration.g:2190:4: otherlv_0= RULE_ID 6010 }
6011 { 6011 finally {
6012 6012 }
6013 if (current==null) { 6013 return current;
6014 current = createModelElement(grammarAccess.getConfigReferenceRule()); 6014 }
6015 } 6015 // $ANTLR end "ruleCostEntry"
6016 6016
6017 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); 6017
6018 6018 // $ANTLR start "entryRuleObjectiveDeclaration"
6019 newLeafNode(otherlv_0, grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); 6019 // InternalApplicationConfiguration.g:2195:1: entryRuleObjectiveDeclaration returns [EObject current=null] : iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF ;
6020 6020 public final EObject entryRuleObjectiveDeclaration() throws RecognitionException {
6021 6021 EObject current = null;
6022 } 6022
6023 6023 EObject iv_ruleObjectiveDeclaration = null;
6024 6024
6025 } 6025
6026 6026 try {
6027 6027 // InternalApplicationConfiguration.g:2195:61: (iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF )
6028 } 6028 // InternalApplicationConfiguration.g:2196:2: iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF
6029 6029 {
6030 6030 newCompositeNode(grammarAccess.getObjectiveDeclarationRule());
6031 leaveRule(); 6031 pushFollow(FOLLOW_1);
6032 6032 iv_ruleObjectiveDeclaration=ruleObjectiveDeclaration();
6033 } 6033
6034 6034 state._fsp--;
6035 catch (RecognitionException re) { 6035
6036 recover(input,re); 6036 current =iv_ruleObjectiveDeclaration;
6037 appendSkippedTokens(); 6037 match(input,EOF,FOLLOW_2);
6038 } 6038
6039 finally { 6039 }
6040 } 6040
6041 return current; 6041 }
6042 } 6042
6043 // $ANTLR end "ruleConfigReference" 6043 catch (RecognitionException re) {
6044 6044 recover(input,re);
6045 6045 appendSkippedTokens();
6046 // $ANTLR start "entryRuleConfig" 6046 }
6047 // InternalApplicationConfiguration.g:2204:1: entryRuleConfig returns [EObject current=null] : iv_ruleConfig= ruleConfig EOF ; 6047 finally {
6048 public final EObject entryRuleConfig() throws RecognitionException { 6048 }
6049 EObject current = null; 6049 return current;
6050 6050 }
6051 EObject iv_ruleConfig = null; 6051 // $ANTLR end "entryRuleObjectiveDeclaration"
6052 6052
6053 6053
6054 try { 6054 // $ANTLR start "ruleObjectiveDeclaration"
6055 // InternalApplicationConfiguration.g:2204:47: (iv_ruleConfig= ruleConfig EOF ) 6055 // InternalApplicationConfiguration.g:2202:1: ruleObjectiveDeclaration returns [EObject current=null] : (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) ;
6056 // InternalApplicationConfiguration.g:2205:2: iv_ruleConfig= ruleConfig EOF 6056 public final EObject ruleObjectiveDeclaration() throws RecognitionException {
6057 { 6057 EObject current = null;
6058 newCompositeNode(grammarAccess.getConfigRule()); 6058
6059 pushFollow(FOLLOW_1); 6059 Token otherlv_0=null;
6060 iv_ruleConfig=ruleConfig(); 6060 Token lv_name_1_0=null;
6061 6061 EObject lv_specification_2_0 = null;
6062 state._fsp--; 6062
6063 6063
6064 current =iv_ruleConfig; 6064
6065 match(input,EOF,FOLLOW_2); 6065 enterRule();
6066 6066
6067 } 6067 try {
6068 6068 // InternalApplicationConfiguration.g:2208:2: ( (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) )
6069 } 6069 // InternalApplicationConfiguration.g:2209:2: (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) )
6070 6070 {
6071 catch (RecognitionException re) { 6071 // InternalApplicationConfiguration.g:2209:2: (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) )
6072 recover(input,re); 6072 // InternalApplicationConfiguration.g:2210:3: otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) )
6073 appendSkippedTokens(); 6073 {
6074 } 6074 otherlv_0=(Token)match(input,29,FOLLOW_6);
6075 finally { 6075
6076 } 6076 newLeafNode(otherlv_0, grammarAccess.getObjectiveDeclarationAccess().getObjectivesKeyword_0());
6077 return current; 6077
6078 } 6078 // InternalApplicationConfiguration.g:2214:3: ( (lv_name_1_0= RULE_ID ) )
6079 // $ANTLR end "entryRuleConfig" 6079 // InternalApplicationConfiguration.g:2215:4: (lv_name_1_0= RULE_ID )
6080 6080 {
6081 6081 // InternalApplicationConfiguration.g:2215:4: (lv_name_1_0= RULE_ID )
6082 // $ANTLR start "ruleConfig" 6082 // InternalApplicationConfiguration.g:2216:5: lv_name_1_0= RULE_ID
6083 // InternalApplicationConfiguration.g:2211:1: ruleConfig returns [EObject current=null] : (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ; 6083 {
6084 public final EObject ruleConfig() throws RecognitionException { 6084 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16);
6085 EObject current = null; 6085
6086 6086 newLeafNode(lv_name_1_0, grammarAccess.getObjectiveDeclarationAccess().getNameIDTerminalRuleCall_1_0());
6087 EObject this_ConfigSpecification_0 = null; 6087
6088 6088
6089 EObject this_ConfigReference_1 = null; 6089 if (current==null) {
6090 6090 current = createModelElement(grammarAccess.getObjectiveDeclarationRule());
6091 6091 }
6092 6092 setWithLastConsumed(
6093 enterRule(); 6093 current,
6094 6094 "name",
6095 try { 6095 lv_name_1_0,
6096 // InternalApplicationConfiguration.g:2217:2: ( (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ) 6096 "org.eclipse.xtext.common.Terminals.ID");
6097 // InternalApplicationConfiguration.g:2218:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) 6097
6098 { 6098
6099 // InternalApplicationConfiguration.g:2218:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) 6099 }
6100 int alt31=2; 6100
6101 int LA31_0 = input.LA(1); 6101
6102 6102 }
6103 if ( (LA31_0==18) ) { 6103
6104 alt31=1; 6104 // InternalApplicationConfiguration.g:2232:3: ( (lv_specification_2_0= ruleObjectiveSpecification ) )
6105 } 6105 // InternalApplicationConfiguration.g:2233:4: (lv_specification_2_0= ruleObjectiveSpecification )
6106 else if ( (LA31_0==RULE_ID) ) { 6106 {
6107 alt31=2; 6107 // InternalApplicationConfiguration.g:2233:4: (lv_specification_2_0= ruleObjectiveSpecification )
6108 } 6108 // InternalApplicationConfiguration.g:2234:5: lv_specification_2_0= ruleObjectiveSpecification
6109 else { 6109 {
6110 NoViableAltException nvae = 6110
6111 new NoViableAltException("", 31, 0, input); 6111 newCompositeNode(grammarAccess.getObjectiveDeclarationAccess().getSpecificationObjectiveSpecificationParserRuleCall_2_0());
6112 6112
6113 throw nvae; 6113 pushFollow(FOLLOW_2);
6114 } 6114 lv_specification_2_0=ruleObjectiveSpecification();
6115 switch (alt31) { 6115
6116 case 1 : 6116 state._fsp--;
6117 // InternalApplicationConfiguration.g:2219:3: this_ConfigSpecification_0= ruleConfigSpecification 6117
6118 { 6118
6119 6119 if (current==null) {
6120 newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); 6120 current = createModelElementForParent(grammarAccess.getObjectiveDeclarationRule());
6121 6121 }
6122 pushFollow(FOLLOW_2); 6122 set(
6123 this_ConfigSpecification_0=ruleConfigSpecification(); 6123 current,
6124 6124 "specification",
6125 state._fsp--; 6125 lv_specification_2_0,
6126 6126 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveSpecification");
6127 6127 afterParserOrEnumRuleCall();
6128 current = this_ConfigSpecification_0; 6128
6129 afterParserOrEnumRuleCall(); 6129
6130 6130 }
6131 6131
6132 } 6132
6133 break; 6133 }
6134 case 2 : 6134
6135 // InternalApplicationConfiguration.g:2228:3: this_ConfigReference_1= ruleConfigReference 6135
6136 { 6136 }
6137 6137
6138 newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); 6138
6139 6139 }
6140 pushFollow(FOLLOW_2); 6140
6141 this_ConfigReference_1=ruleConfigReference(); 6141
6142 6142 leaveRule();
6143 state._fsp--; 6143
6144 6144 }
6145 6145
6146 current = this_ConfigReference_1; 6146 catch (RecognitionException re) {
6147 afterParserOrEnumRuleCall(); 6147 recover(input,re);
6148 6148 appendSkippedTokens();
6149 6149 }
6150 } 6150 finally {
6151 break; 6151 }
6152 6152 return current;
6153 } 6153 }
6154 6154 // $ANTLR end "ruleObjectiveDeclaration"
6155 6155
6156 } 6156
6157 6157 // $ANTLR start "entryRuleObjectiveReference"
6158 6158 // InternalApplicationConfiguration.g:2255:1: entryRuleObjectiveReference returns [EObject current=null] : iv_ruleObjectiveReference= ruleObjectiveReference EOF ;
6159 leaveRule(); 6159 public final EObject entryRuleObjectiveReference() throws RecognitionException {
6160 6160 EObject current = null;
6161 } 6161
6162 6162 EObject iv_ruleObjectiveReference = null;
6163 catch (RecognitionException re) { 6163
6164 recover(input,re); 6164
6165 appendSkippedTokens(); 6165 try {
6166 } 6166 // InternalApplicationConfiguration.g:2255:59: (iv_ruleObjectiveReference= ruleObjectiveReference EOF )
6167 finally { 6167 // InternalApplicationConfiguration.g:2256:2: iv_ruleObjectiveReference= ruleObjectiveReference EOF
6168 } 6168 {
6169 return current; 6169 newCompositeNode(grammarAccess.getObjectiveReferenceRule());
6170 } 6170 pushFollow(FOLLOW_1);
6171 // $ANTLR end "ruleConfig" 6171 iv_ruleObjectiveReference=ruleObjectiveReference();
6172 6172
6173 6173 state._fsp--;
6174 // $ANTLR start "entryRuleScopeSpecification" 6174
6175 // InternalApplicationConfiguration.g:2240:1: entryRuleScopeSpecification returns [EObject current=null] : iv_ruleScopeSpecification= ruleScopeSpecification EOF ; 6175 current =iv_ruleObjectiveReference;
6176 public final EObject entryRuleScopeSpecification() throws RecognitionException { 6176 match(input,EOF,FOLLOW_2);
6177 EObject current = null; 6177
6178 6178 }
6179 EObject iv_ruleScopeSpecification = null; 6179
6180 6180 }
6181 6181
6182 try { 6182 catch (RecognitionException re) {
6183 // InternalApplicationConfiguration.g:2240:59: (iv_ruleScopeSpecification= ruleScopeSpecification EOF ) 6183 recover(input,re);
6184 // InternalApplicationConfiguration.g:2241:2: iv_ruleScopeSpecification= ruleScopeSpecification EOF 6184 appendSkippedTokens();
6185 { 6185 }
6186 newCompositeNode(grammarAccess.getScopeSpecificationRule()); 6186 finally {
6187 pushFollow(FOLLOW_1); 6187 }
6188 iv_ruleScopeSpecification=ruleScopeSpecification(); 6188 return current;
6189 6189 }
6190 state._fsp--; 6190 // $ANTLR end "entryRuleObjectiveReference"
6191 6191
6192 current =iv_ruleScopeSpecification; 6192
6193 match(input,EOF,FOLLOW_2); 6193 // $ANTLR start "ruleObjectiveReference"
6194 6194 // InternalApplicationConfiguration.g:2262:1: ruleObjectiveReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
6195 } 6195 public final EObject ruleObjectiveReference() throws RecognitionException {
6196 6196 EObject current = null;
6197 } 6197
6198 6198 Token otherlv_0=null;
6199 catch (RecognitionException re) { 6199
6200 recover(input,re); 6200
6201 appendSkippedTokens(); 6201 enterRule();
6202 } 6202
6203 finally { 6203 try {
6204 } 6204 // InternalApplicationConfiguration.g:2268:2: ( ( (otherlv_0= RULE_ID ) ) )
6205 return current; 6205 // InternalApplicationConfiguration.g:2269:2: ( (otherlv_0= RULE_ID ) )
6206 } 6206 {
6207 // $ANTLR end "entryRuleScopeSpecification" 6207 // InternalApplicationConfiguration.g:2269:2: ( (otherlv_0= RULE_ID ) )
6208 6208 // InternalApplicationConfiguration.g:2270:3: (otherlv_0= RULE_ID )
6209 6209 {
6210 // $ANTLR start "ruleScopeSpecification" 6210 // InternalApplicationConfiguration.g:2270:3: (otherlv_0= RULE_ID )
6211 // InternalApplicationConfiguration.g:2247:1: ruleScopeSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ; 6211 // InternalApplicationConfiguration.g:2271:4: otherlv_0= RULE_ID
6212 public final EObject ruleScopeSpecification() throws RecognitionException { 6212 {
6213 EObject current = null; 6213
6214 6214 if (current==null) {
6215 Token otherlv_1=null; 6215 current = createModelElement(grammarAccess.getObjectiveReferenceRule());
6216 Token otherlv_3=null; 6216 }
6217 Token otherlv_5=null; 6217
6218 EObject lv_scopes_2_0 = null; 6218 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2);
6219 6219
6220 EObject lv_scopes_4_0 = null; 6220 newLeafNode(otherlv_0, grammarAccess.getObjectiveReferenceAccess().getReferredObjectiveDeclarationCrossReference_0());
6221 6221
6222 6222
6223 6223 }
6224 enterRule(); 6224
6225 6225
6226 try { 6226 }
6227 // InternalApplicationConfiguration.g:2253:2: ( ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ) 6227
6228 // InternalApplicationConfiguration.g:2254:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) 6228
6229 { 6229 }
6230 // InternalApplicationConfiguration.g:2254:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) 6230
6231 // InternalApplicationConfiguration.g:2255:3: () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' 6231
6232 { 6232 leaveRule();
6233 // InternalApplicationConfiguration.g:2255:3: () 6233
6234 // InternalApplicationConfiguration.g:2256:4: 6234 }
6235 { 6235
6236 6236 catch (RecognitionException re) {
6237 current = forceCreateModelElement( 6237 recover(input,re);
6238 grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(), 6238 appendSkippedTokens();
6239 current); 6239 }
6240 6240 finally {
6241 6241 }
6242 } 6242 return current;
6243 6243 }
6244 otherlv_1=(Token)match(input,18,FOLLOW_24); 6244 // $ANTLR end "ruleObjectiveReference"
6245 6245
6246 newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); 6246
6247 6247 // $ANTLR start "entryRuleObjective"
6248 // InternalApplicationConfiguration.g:2266:3: ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? 6248 // InternalApplicationConfiguration.g:2285:1: entryRuleObjective returns [EObject current=null] : iv_ruleObjective= ruleObjective EOF ;
6249 int alt33=2; 6249 public final EObject entryRuleObjective() throws RecognitionException {
6250 int LA33_0 = input.LA(1); 6250 EObject current = null;
6251 6251
6252 if ( (LA33_0==32) ) { 6252 EObject iv_ruleObjective = null;
6253 alt33=1; 6253
6254 } 6254
6255 switch (alt33) { 6255 try {
6256 case 1 : 6256 // InternalApplicationConfiguration.g:2285:50: (iv_ruleObjective= ruleObjective EOF )
6257 // InternalApplicationConfiguration.g:2267:4: ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* 6257 // InternalApplicationConfiguration.g:2286:2: iv_ruleObjective= ruleObjective EOF
6258 { 6258 {
6259 // InternalApplicationConfiguration.g:2267:4: ( (lv_scopes_2_0= ruleTypeScope ) ) 6259 newCompositeNode(grammarAccess.getObjectiveRule());
6260 // InternalApplicationConfiguration.g:2268:5: (lv_scopes_2_0= ruleTypeScope ) 6260 pushFollow(FOLLOW_1);
6261 { 6261 iv_ruleObjective=ruleObjective();
6262 // InternalApplicationConfiguration.g:2268:5: (lv_scopes_2_0= ruleTypeScope ) 6262
6263 // InternalApplicationConfiguration.g:2269:6: lv_scopes_2_0= ruleTypeScope 6263 state._fsp--;
6264 { 6264
6265 6265 current =iv_ruleObjective;
6266 newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); 6266 match(input,EOF,FOLLOW_2);
6267 6267
6268 pushFollow(FOLLOW_14); 6268 }
6269 lv_scopes_2_0=ruleTypeScope(); 6269
6270 6270 }
6271 state._fsp--; 6271
6272 6272 catch (RecognitionException re) {
6273 6273 recover(input,re);
6274 if (current==null) { 6274 appendSkippedTokens();
6275 current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); 6275 }
6276 } 6276 finally {
6277 add( 6277 }
6278 current, 6278 return current;
6279 "scopes", 6279 }
6280 lv_scopes_2_0, 6280 // $ANTLR end "entryRuleObjective"
6281 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); 6281
6282 afterParserOrEnumRuleCall(); 6282
6283 6283 // $ANTLR start "ruleObjective"
6284 6284 // InternalApplicationConfiguration.g:2292:1: ruleObjective returns [EObject current=null] : (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) ;
6285 } 6285 public final EObject ruleObjective() throws RecognitionException {
6286 6286 EObject current = null;
6287 6287
6288 } 6288 EObject this_ObjectiveReference_0 = null;
6289 6289
6290 // InternalApplicationConfiguration.g:2286:4: (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* 6290 EObject this_ObjectiveSpecification_1 = null;
6291 loop32: 6291
6292 do { 6292
6293 int alt32=2; 6293
6294 int LA32_0 = input.LA(1); 6294 enterRule();
6295 6295
6296 if ( (LA32_0==19) ) { 6296 try {
6297 alt32=1; 6297 // InternalApplicationConfiguration.g:2298:2: ( (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) )
6298 } 6298 // InternalApplicationConfiguration.g:2299:2: (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification )
6299 6299 {
6300 6300 // InternalApplicationConfiguration.g:2299:2: (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification )
6301 switch (alt32) { 6301 int alt31=2;
6302 case 1 : 6302 int LA31_0 = input.LA(1);
6303 // InternalApplicationConfiguration.g:2287:5: otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) 6303
6304 { 6304 if ( (LA31_0==RULE_ID) ) {
6305 otherlv_3=(Token)match(input,19,FOLLOW_25); 6305 alt31=1;
6306 6306 }
6307 newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); 6307 else if ( (LA31_0==18) ) {
6308 6308 alt31=2;
6309 // InternalApplicationConfiguration.g:2291:5: ( (lv_scopes_4_0= ruleTypeScope ) ) 6309 }
6310 // InternalApplicationConfiguration.g:2292:6: (lv_scopes_4_0= ruleTypeScope ) 6310 else {
6311 { 6311 NoViableAltException nvae =
6312 // InternalApplicationConfiguration.g:2292:6: (lv_scopes_4_0= ruleTypeScope ) 6312 new NoViableAltException("", 31, 0, input);
6313 // InternalApplicationConfiguration.g:2293:7: lv_scopes_4_0= ruleTypeScope 6313
6314 { 6314 throw nvae;
6315 6315 }
6316 newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); 6316 switch (alt31) {
6317 6317 case 1 :
6318 pushFollow(FOLLOW_14); 6318 // InternalApplicationConfiguration.g:2300:3: this_ObjectiveReference_0= ruleObjectiveReference
6319 lv_scopes_4_0=ruleTypeScope(); 6319 {
6320 6320
6321 state._fsp--; 6321 newCompositeNode(grammarAccess.getObjectiveAccess().getObjectiveReferenceParserRuleCall_0());
6322 6322
6323 6323 pushFollow(FOLLOW_2);
6324 if (current==null) { 6324 this_ObjectiveReference_0=ruleObjectiveReference();
6325 current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); 6325
6326 } 6326 state._fsp--;
6327 add( 6327
6328 current, 6328
6329 "scopes", 6329 current = this_ObjectiveReference_0;
6330 lv_scopes_4_0, 6330 afterParserOrEnumRuleCall();
6331 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); 6331
6332 afterParserOrEnumRuleCall(); 6332
6333 6333 }
6334 6334 break;
6335 } 6335 case 2 :
6336 6336 // InternalApplicationConfiguration.g:2309:3: this_ObjectiveSpecification_1= ruleObjectiveSpecification
6337 6337 {
6338 } 6338
6339 6339 newCompositeNode(grammarAccess.getObjectiveAccess().getObjectiveSpecificationParserRuleCall_1());
6340 6340
6341 } 6341 pushFollow(FOLLOW_2);
6342 break; 6342 this_ObjectiveSpecification_1=ruleObjectiveSpecification();
6343 6343
6344 default : 6344 state._fsp--;
6345 break loop32; 6345
6346 } 6346
6347 } while (true); 6347 current = this_ObjectiveSpecification_1;
6348 6348 afterParserOrEnumRuleCall();
6349 6349
6350 } 6350
6351 break; 6351 }
6352 6352 break;
6353 } 6353
6354 6354 }
6355 otherlv_5=(Token)match(input,20,FOLLOW_2); 6355
6356 6356
6357 newLeafNode(otherlv_5, grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); 6357 }
6358 6358
6359 6359
6360 } 6360 leaveRule();
6361 6361
6362 6362 }
6363 } 6363
6364 6364 catch (RecognitionException re) {
6365 6365 recover(input,re);
6366 leaveRule(); 6366 appendSkippedTokens();
6367 6367 }
6368 } 6368 finally {
6369 6369 }
6370 catch (RecognitionException re) { 6370 return current;
6371 recover(input,re); 6371 }
6372 appendSkippedTokens(); 6372 // $ANTLR end "ruleObjective"
6373 } 6373
6374 finally { 6374
6375 } 6375 // $ANTLR start "entryRuleConfigSpecification"
6376 return current; 6376 // InternalApplicationConfiguration.g:2321:1: entryRuleConfigSpecification returns [EObject current=null] : iv_ruleConfigSpecification= ruleConfigSpecification EOF ;
6377 } 6377 public final EObject entryRuleConfigSpecification() throws RecognitionException {
6378 // $ANTLR end "ruleScopeSpecification" 6378 EObject current = null;
6379 6379
6380 6380 EObject iv_ruleConfigSpecification = null;
6381 // $ANTLR start "entryRuleTypeScope" 6381
6382 // InternalApplicationConfiguration.g:2320:1: entryRuleTypeScope returns [EObject current=null] : iv_ruleTypeScope= ruleTypeScope EOF ; 6382
6383 public final EObject entryRuleTypeScope() throws RecognitionException { 6383 try {
6384 EObject current = null; 6384 // InternalApplicationConfiguration.g:2321:60: (iv_ruleConfigSpecification= ruleConfigSpecification EOF )
6385 6385 // InternalApplicationConfiguration.g:2322:2: iv_ruleConfigSpecification= ruleConfigSpecification EOF
6386 EObject iv_ruleTypeScope = null; 6386 {
6387 6387 newCompositeNode(grammarAccess.getConfigSpecificationRule());
6388 6388 pushFollow(FOLLOW_1);
6389 try { 6389 iv_ruleConfigSpecification=ruleConfigSpecification();
6390 // InternalApplicationConfiguration.g:2320:50: (iv_ruleTypeScope= ruleTypeScope EOF ) 6390
6391 // InternalApplicationConfiguration.g:2321:2: iv_ruleTypeScope= ruleTypeScope EOF 6391 state._fsp--;
6392 { 6392
6393 newCompositeNode(grammarAccess.getTypeScopeRule()); 6393 current =iv_ruleConfigSpecification;
6394 pushFollow(FOLLOW_1); 6394 match(input,EOF,FOLLOW_2);
6395 iv_ruleTypeScope=ruleTypeScope(); 6395
6396 6396 }
6397 state._fsp--; 6397
6398 6398 }
6399 current =iv_ruleTypeScope; 6399
6400 match(input,EOF,FOLLOW_2); 6400 catch (RecognitionException re) {
6401 6401 recover(input,re);
6402 } 6402 appendSkippedTokens();
6403 6403 }
6404 } 6404 finally {
6405 6405 }
6406 catch (RecognitionException re) { 6406 return current;
6407 recover(input,re); 6407 }
6408 appendSkippedTokens(); 6408 // $ANTLR end "entryRuleConfigSpecification"
6409 } 6409
6410 finally { 6410
6411 } 6411 // $ANTLR start "ruleConfigSpecification"
6412 return current; 6412 // InternalApplicationConfiguration.g:2328:1: ruleConfigSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ;
6413 } 6413 public final EObject ruleConfigSpecification() throws RecognitionException {
6414 // $ANTLR end "entryRuleTypeScope" 6414 EObject current = null;
6415 6415
6416 6416 Token otherlv_1=null;
6417 // $ANTLR start "ruleTypeScope" 6417 Token otherlv_3=null;
6418 // InternalApplicationConfiguration.g:2327:1: ruleTypeScope returns [EObject current=null] : (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) ; 6418 Token otherlv_5=null;
6419 public final EObject ruleTypeScope() throws RecognitionException { 6419 EObject lv_entries_2_0 = null;
6420 EObject current = null; 6420
6421 6421 EObject lv_entries_4_0 = null;
6422 EObject this_ClassTypeScope_0 = null; 6422
6423 6423
6424 EObject this_ObjectTypeScope_1 = null; 6424
6425 6425 enterRule();
6426 EObject this_IntegerTypeScope_2 = null; 6426
6427 6427 try {
6428 EObject this_RealTypeScope_3 = null; 6428 // InternalApplicationConfiguration.g:2334:2: ( ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) )
6429 6429 // InternalApplicationConfiguration.g:2335:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' )
6430 EObject this_StringTypeScope_4 = null; 6430 {
6431 6431 // InternalApplicationConfiguration.g:2335:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' )
6432 6432 // InternalApplicationConfiguration.g:2336:3: () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}'
6433 6433 {
6434 enterRule(); 6434 // InternalApplicationConfiguration.g:2336:3: ()
6435 6435 // InternalApplicationConfiguration.g:2337:4:
6436 try { 6436 {
6437 // InternalApplicationConfiguration.g:2333:2: ( (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) ) 6437
6438 // InternalApplicationConfiguration.g:2334:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) 6438 current = forceCreateModelElement(
6439 { 6439 grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(),
6440 // InternalApplicationConfiguration.g:2334:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) 6440 current);
6441 int alt34=5; 6441
6442 int LA34_0 = input.LA(1); 6442
6443 6443 }
6444 if ( (LA34_0==32) ) { 6444
6445 switch ( input.LA(2) ) { 6445 otherlv_1=(Token)match(input,18,FOLLOW_24);
6446 case 37: 6446
6447 { 6447 newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1());
6448 alt34=3; 6448
6449 } 6449 // InternalApplicationConfiguration.g:2347:3: ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )?
6450 break; 6450 int alt33=2;
6451 case 38: 6451 int LA33_0 = input.LA(1);
6452 { 6452
6453 alt34=4; 6453 if ( (LA33_0==RULE_STRING||(LA33_0>=31 && LA33_0<=33)) ) {
6454 } 6454 alt33=1;
6455 break; 6455 }
6456 case 39: 6456 switch (alt33) {
6457 { 6457 case 1 :
6458 alt34=5; 6458 // InternalApplicationConfiguration.g:2348:4: ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )*
6459 } 6459 {
6460 break; 6460 // InternalApplicationConfiguration.g:2348:4: ( (lv_entries_2_0= ruleConfigEntry ) )
6461 case 34: 6461 // InternalApplicationConfiguration.g:2349:5: (lv_entries_2_0= ruleConfigEntry )
6462 { 6462 {
6463 alt34=1; 6463 // InternalApplicationConfiguration.g:2349:5: (lv_entries_2_0= ruleConfigEntry )
6464 } 6464 // InternalApplicationConfiguration.g:2350:6: lv_entries_2_0= ruleConfigEntry
6465 break; 6465 {
6466 case 36: 6466
6467 { 6467 newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0());
6468 alt34=2; 6468
6469 } 6469 pushFollow(FOLLOW_14);
6470 break; 6470 lv_entries_2_0=ruleConfigEntry();
6471 default: 6471
6472 NoViableAltException nvae = 6472 state._fsp--;
6473 new NoViableAltException("", 34, 1, input); 6473
6474 6474
6475 throw nvae; 6475 if (current==null) {
6476 } 6476 current = createModelElementForParent(grammarAccess.getConfigSpecificationRule());
6477 6477 }
6478 } 6478 add(
6479 else { 6479 current,
6480 NoViableAltException nvae = 6480 "entries",
6481 new NoViableAltException("", 34, 0, input); 6481 lv_entries_2_0,
6482 6482 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry");
6483 throw nvae; 6483 afterParserOrEnumRuleCall();
6484 } 6484
6485 switch (alt34) { 6485
6486 case 1 : 6486 }
6487 // InternalApplicationConfiguration.g:2335:3: this_ClassTypeScope_0= ruleClassTypeScope 6487
6488 { 6488
6489 6489 }
6490 newCompositeNode(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0()); 6490
6491 6491 // InternalApplicationConfiguration.g:2367:4: (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )*
6492 pushFollow(FOLLOW_2); 6492 loop32:
6493 this_ClassTypeScope_0=ruleClassTypeScope(); 6493 do {
6494 6494 int alt32=2;
6495 state._fsp--; 6495 int LA32_0 = input.LA(1);
6496 6496
6497 6497 if ( (LA32_0==19) ) {
6498 current = this_ClassTypeScope_0; 6498 alt32=1;
6499 afterParserOrEnumRuleCall(); 6499 }
6500 6500
6501 6501
6502 } 6502 switch (alt32) {
6503 break; 6503 case 1 :
6504 case 2 : 6504 // InternalApplicationConfiguration.g:2368:5: otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) )
6505 // InternalApplicationConfiguration.g:2344:3: this_ObjectTypeScope_1= ruleObjectTypeScope 6505 {
6506 { 6506 otherlv_3=(Token)match(input,19,FOLLOW_25);
6507 6507
6508 newCompositeNode(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1()); 6508 newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0());
6509 6509
6510 pushFollow(FOLLOW_2); 6510 // InternalApplicationConfiguration.g:2372:5: ( (lv_entries_4_0= ruleConfigEntry ) )
6511 this_ObjectTypeScope_1=ruleObjectTypeScope(); 6511 // InternalApplicationConfiguration.g:2373:6: (lv_entries_4_0= ruleConfigEntry )
6512 6512 {
6513 state._fsp--; 6513 // InternalApplicationConfiguration.g:2373:6: (lv_entries_4_0= ruleConfigEntry )
6514 6514 // InternalApplicationConfiguration.g:2374:7: lv_entries_4_0= ruleConfigEntry
6515 6515 {
6516 current = this_ObjectTypeScope_1; 6516
6517 afterParserOrEnumRuleCall(); 6517 newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0());
6518 6518
6519 6519 pushFollow(FOLLOW_14);
6520 } 6520 lv_entries_4_0=ruleConfigEntry();
6521 break; 6521
6522 case 3 : 6522 state._fsp--;
6523 // InternalApplicationConfiguration.g:2353:3: this_IntegerTypeScope_2= ruleIntegerTypeScope 6523
6524 { 6524
6525 6525 if (current==null) {
6526 newCompositeNode(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2()); 6526 current = createModelElementForParent(grammarAccess.getConfigSpecificationRule());
6527 6527 }
6528 pushFollow(FOLLOW_2); 6528 add(
6529 this_IntegerTypeScope_2=ruleIntegerTypeScope(); 6529 current,
6530 6530 "entries",
6531 state._fsp--; 6531 lv_entries_4_0,
6532 6532 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry");
6533 6533 afterParserOrEnumRuleCall();
6534 current = this_IntegerTypeScope_2; 6534
6535 afterParserOrEnumRuleCall(); 6535
6536 6536 }
6537 6537
6538 } 6538
6539 break; 6539 }
6540 case 4 : 6540
6541 // InternalApplicationConfiguration.g:2362:3: this_RealTypeScope_3= ruleRealTypeScope 6541
6542 { 6542 }
6543 6543 break;
6544 newCompositeNode(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3()); 6544
6545 6545 default :
6546 pushFollow(FOLLOW_2); 6546 break loop32;
6547 this_RealTypeScope_3=ruleRealTypeScope(); 6547 }
6548 6548 } while (true);
6549 state._fsp--; 6549
6550 6550
6551 6551 }
6552 current = this_RealTypeScope_3; 6552 break;
6553 afterParserOrEnumRuleCall(); 6553
6554 6554 }
6555 6555
6556 } 6556 otherlv_5=(Token)match(input,20,FOLLOW_2);
6557 break; 6557
6558 case 5 : 6558 newLeafNode(otherlv_5, grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3());
6559 // InternalApplicationConfiguration.g:2371:3: this_StringTypeScope_4= ruleStringTypeScope 6559
6560 { 6560
6561 6561 }
6562 newCompositeNode(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4()); 6562
6563 6563
6564 pushFollow(FOLLOW_2); 6564 }
6565 this_StringTypeScope_4=ruleStringTypeScope(); 6565
6566 6566
6567 state._fsp--; 6567 leaveRule();
6568 6568
6569 6569 }
6570 current = this_StringTypeScope_4; 6570
6571 afterParserOrEnumRuleCall(); 6571 catch (RecognitionException re) {
6572 6572 recover(input,re);
6573 6573 appendSkippedTokens();
6574 } 6574 }
6575 break; 6575 finally {
6576 6576 }
6577 } 6577 return current;
6578 6578 }
6579 6579 // $ANTLR end "ruleConfigSpecification"
6580 } 6580
6581 6581
6582 6582 // $ANTLR start "entryRuleConfigDeclaration"
6583 leaveRule(); 6583 // InternalApplicationConfiguration.g:2401:1: entryRuleConfigDeclaration returns [EObject current=null] : iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ;
6584 6584 public final EObject entryRuleConfigDeclaration() throws RecognitionException {
6585 } 6585 EObject current = null;
6586 6586
6587 catch (RecognitionException re) { 6587 EObject iv_ruleConfigDeclaration = null;
6588 recover(input,re); 6588
6589 appendSkippedTokens(); 6589
6590 } 6590 try {
6591 finally { 6591 // InternalApplicationConfiguration.g:2401:58: (iv_ruleConfigDeclaration= ruleConfigDeclaration EOF )
6592 } 6592 // InternalApplicationConfiguration.g:2402:2: iv_ruleConfigDeclaration= ruleConfigDeclaration EOF
6593 return current; 6593 {
6594 } 6594 newCompositeNode(grammarAccess.getConfigDeclarationRule());
6595 // $ANTLR end "ruleTypeScope" 6595 pushFollow(FOLLOW_1);
6596 6596 iv_ruleConfigDeclaration=ruleConfigDeclaration();
6597 6597
6598 // $ANTLR start "entryRuleClassTypeScope" 6598 state._fsp--;
6599 // InternalApplicationConfiguration.g:2383:1: entryRuleClassTypeScope returns [EObject current=null] : iv_ruleClassTypeScope= ruleClassTypeScope EOF ; 6599
6600 public final EObject entryRuleClassTypeScope() throws RecognitionException { 6600 current =iv_ruleConfigDeclaration;
6601 EObject current = null; 6601 match(input,EOF,FOLLOW_2);
6602 6602
6603 EObject iv_ruleClassTypeScope = null; 6603 }
6604 6604
6605 6605 }
6606 try { 6606
6607 // InternalApplicationConfiguration.g:2383:55: (iv_ruleClassTypeScope= ruleClassTypeScope EOF ) 6607 catch (RecognitionException re) {
6608 // InternalApplicationConfiguration.g:2384:2: iv_ruleClassTypeScope= ruleClassTypeScope EOF 6608 recover(input,re);
6609 { 6609 appendSkippedTokens();
6610 newCompositeNode(grammarAccess.getClassTypeScopeRule()); 6610 }
6611 pushFollow(FOLLOW_1); 6611 finally {
6612 iv_ruleClassTypeScope=ruleClassTypeScope(); 6612 }
6613 6613 return current;
6614 state._fsp--; 6614 }
6615 6615 // $ANTLR end "entryRuleConfigDeclaration"
6616 current =iv_ruleClassTypeScope; 6616
6617 match(input,EOF,FOLLOW_2); 6617
6618 6618 // $ANTLR start "ruleConfigDeclaration"
6619 } 6619 // InternalApplicationConfiguration.g:2408:1: ruleConfigDeclaration returns [EObject current=null] : (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ;
6620 6620 public final EObject ruleConfigDeclaration() throws RecognitionException {
6621 } 6621 EObject current = null;
6622 6622
6623 catch (RecognitionException re) { 6623 Token otherlv_0=null;
6624 recover(input,re); 6624 Token lv_name_1_0=null;
6625 appendSkippedTokens(); 6625 EObject lv_specification_2_0 = null;
6626 } 6626
6627 finally { 6627
6628 } 6628
6629 return current; 6629 enterRule();
6630 } 6630
6631 // $ANTLR end "entryRuleClassTypeScope" 6631 try {
6632 6632 // InternalApplicationConfiguration.g:2414:2: ( (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) )
6633 6633 // InternalApplicationConfiguration.g:2415:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) )
6634 // $ANTLR start "ruleClassTypeScope" 6634 {
6635 // InternalApplicationConfiguration.g:2390:1: ruleClassTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ; 6635 // InternalApplicationConfiguration.g:2415:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) )
6636 public final EObject ruleClassTypeScope() throws RecognitionException { 6636 // InternalApplicationConfiguration.g:2416:3: otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) )
6637 EObject current = null; 6637 {
6638 6638 otherlv_0=(Token)match(input,30,FOLLOW_6);
6639 Token otherlv_0=null; 6639
6640 Token lv_setsNew_2_0=null; 6640 newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0());
6641 Token lv_setsSum_3_0=null; 6641
6642 EObject lv_type_1_0 = null; 6642 // InternalApplicationConfiguration.g:2420:3: ( (lv_name_1_0= RULE_ID ) )
6643 6643 // InternalApplicationConfiguration.g:2421:4: (lv_name_1_0= RULE_ID )
6644 EObject lv_number_4_0 = null; 6644 {
6645 6645 // InternalApplicationConfiguration.g:2421:4: (lv_name_1_0= RULE_ID )
6646 EObject lv_number_5_0 = null; 6646 // InternalApplicationConfiguration.g:2422:5: lv_name_1_0= RULE_ID
6647 6647 {
6648 6648 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16);
6649 6649
6650 enterRule(); 6650 newLeafNode(lv_name_1_0, grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0());
6651 6651
6652 try { 6652
6653 // InternalApplicationConfiguration.g:2396:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ) 6653 if (current==null) {
6654 // InternalApplicationConfiguration.g:2397:2: (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) 6654 current = createModelElement(grammarAccess.getConfigDeclarationRule());
6655 { 6655 }
6656 // InternalApplicationConfiguration.g:2397:2: (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) 6656 setWithLastConsumed(
6657 // InternalApplicationConfiguration.g:2398:3: otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) 6657 current,
6658 { 6658 "name",
6659 otherlv_0=(Token)match(input,32,FOLLOW_26); 6659 lv_name_1_0,
6660 6660 "org.eclipse.xtext.common.Terminals.ID");
6661 newLeafNode(otherlv_0, grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0()); 6661
6662 6662
6663 // InternalApplicationConfiguration.g:2402:3: ( (lv_type_1_0= ruleClassReference ) ) 6663 }
6664 // InternalApplicationConfiguration.g:2403:4: (lv_type_1_0= ruleClassReference ) 6664
6665 { 6665
6666 // InternalApplicationConfiguration.g:2403:4: (lv_type_1_0= ruleClassReference ) 6666 }
6667 // InternalApplicationConfiguration.g:2404:5: lv_type_1_0= ruleClassReference 6667
6668 { 6668 // InternalApplicationConfiguration.g:2438:3: ( (lv_specification_2_0= ruleConfigSpecification ) )
6669 6669 // InternalApplicationConfiguration.g:2439:4: (lv_specification_2_0= ruleConfigSpecification )
6670 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0()); 6670 {
6671 6671 // InternalApplicationConfiguration.g:2439:4: (lv_specification_2_0= ruleConfigSpecification )
6672 pushFollow(FOLLOW_27); 6672 // InternalApplicationConfiguration.g:2440:5: lv_specification_2_0= ruleConfigSpecification
6673 lv_type_1_0=ruleClassReference(); 6673 {
6674 6674
6675 state._fsp--; 6675 newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0());
6676 6676
6677 6677 pushFollow(FOLLOW_2);
6678 if (current==null) { 6678 lv_specification_2_0=ruleConfigSpecification();
6679 current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); 6679
6680 } 6680 state._fsp--;
6681 set( 6681
6682 current, 6682
6683 "type", 6683 if (current==null) {
6684 lv_type_1_0, 6684 current = createModelElementForParent(grammarAccess.getConfigDeclarationRule());
6685 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassReference"); 6685 }
6686 afterParserOrEnumRuleCall(); 6686 set(
6687 6687 current,
6688 6688 "specification",
6689 } 6689 lv_specification_2_0,
6690 6690 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification");
6691 6691 afterParserOrEnumRuleCall();
6692 } 6692
6693 6693
6694 // InternalApplicationConfiguration.g:2421:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) 6694 }
6695 int alt35=2; 6695
6696 int LA35_0 = input.LA(1); 6696
6697 6697 }
6698 if ( (LA35_0==33) ) { 6698
6699 alt35=1; 6699
6700 } 6700 }
6701 else if ( (LA35_0==17) ) { 6701
6702 alt35=2; 6702
6703 } 6703 }
6704 else { 6704
6705 NoViableAltException nvae = 6705
6706 new NoViableAltException("", 35, 0, input); 6706 leaveRule();
6707 6707
6708 throw nvae; 6708 }
6709 } 6709
6710 switch (alt35) { 6710 catch (RecognitionException re) {
6711 case 1 : 6711 recover(input,re);
6712 // InternalApplicationConfiguration.g:2422:4: ( (lv_setsNew_2_0= '+=' ) ) 6712 appendSkippedTokens();
6713 { 6713 }
6714 // InternalApplicationConfiguration.g:2422:4: ( (lv_setsNew_2_0= '+=' ) ) 6714 finally {
6715 // InternalApplicationConfiguration.g:2423:5: (lv_setsNew_2_0= '+=' ) 6715 }
6716 { 6716 return current;
6717 // InternalApplicationConfiguration.g:2423:5: (lv_setsNew_2_0= '+=' ) 6717 }
6718 // InternalApplicationConfiguration.g:2424:6: lv_setsNew_2_0= '+=' 6718 // $ANTLR end "ruleConfigDeclaration"
6719 { 6719
6720 lv_setsNew_2_0=(Token)match(input,33,FOLLOW_28); 6720
6721 6721 // $ANTLR start "entryRuleConfigEntry"
6722 newLeafNode(lv_setsNew_2_0, grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 6722 // InternalApplicationConfiguration.g:2461:1: entryRuleConfigEntry returns [EObject current=null] : iv_ruleConfigEntry= ruleConfigEntry EOF ;
6723 6723 public final EObject entryRuleConfigEntry() throws RecognitionException {
6724 6724 EObject current = null;
6725 if (current==null) { 6725
6726 current = createModelElement(grammarAccess.getClassTypeScopeRule()); 6726 EObject iv_ruleConfigEntry = null;
6727 } 6727
6728 setWithLastConsumed(current, "setsNew", true, "+="); 6728
6729 6729 try {
6730 6730 // InternalApplicationConfiguration.g:2461:52: (iv_ruleConfigEntry= ruleConfigEntry EOF )
6731 } 6731 // InternalApplicationConfiguration.g:2462:2: iv_ruleConfigEntry= ruleConfigEntry EOF
6732 6732 {
6733 6733 newCompositeNode(grammarAccess.getConfigEntryRule());
6734 } 6734 pushFollow(FOLLOW_1);
6735 6735 iv_ruleConfigEntry=ruleConfigEntry();
6736 6736
6737 } 6737 state._fsp--;
6738 break; 6738
6739 case 2 : 6739 current =iv_ruleConfigEntry;
6740 // InternalApplicationConfiguration.g:2437:4: ( (lv_setsSum_3_0= '=' ) ) 6740 match(input,EOF,FOLLOW_2);
6741 { 6741
6742 // InternalApplicationConfiguration.g:2437:4: ( (lv_setsSum_3_0= '=' ) ) 6742 }
6743 // InternalApplicationConfiguration.g:2438:5: (lv_setsSum_3_0= '=' ) 6743
6744 { 6744 }
6745 // InternalApplicationConfiguration.g:2438:5: (lv_setsSum_3_0= '=' ) 6745
6746 // InternalApplicationConfiguration.g:2439:6: lv_setsSum_3_0= '=' 6746 catch (RecognitionException re) {
6747 { 6747 recover(input,re);
6748 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_28); 6748 appendSkippedTokens();
6749 6749 }
6750 newLeafNode(lv_setsSum_3_0, grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 6750 finally {
6751 6751 }
6752 6752 return current;
6753 if (current==null) { 6753 }
6754 current = createModelElement(grammarAccess.getClassTypeScopeRule()); 6754 // $ANTLR end "entryRuleConfigEntry"
6755 } 6755
6756 setWithLastConsumed(current, "setsSum", true, "="); 6756
6757 6757 // $ANTLR start "ruleConfigEntry"
6758 6758 // InternalApplicationConfiguration.g:2468:1: ruleConfigEntry returns [EObject current=null] : (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) ;
6759 } 6759 public final EObject ruleConfigEntry() throws RecognitionException {
6760 6760 EObject current = null;
6761 6761
6762 } 6762 EObject this_DocumentationEntry_0 = null;
6763 6763
6764 6764 EObject this_RuntimeEntry_1 = null;
6765 } 6765
6766 break; 6766 EObject this_MemoryEntry_2 = null;
6767 6767
6768 } 6768 EObject this_CustomEntry_3 = null;
6769 6769
6770 // InternalApplicationConfiguration.g:2452:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) 6770
6771 int alt36=2; 6771
6772 int LA36_0 = input.LA(1); 6772 enterRule();
6773 6773
6774 if ( (LA36_0==RULE_INT) ) { 6774 try {
6775 int LA36_1 = input.LA(2); 6775 // InternalApplicationConfiguration.g:2474:2: ( (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) )
6776 6776 // InternalApplicationConfiguration.g:2475:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry )
6777 if ( (LA36_1==41) ) { 6777 {
6778 alt36=2; 6778 // InternalApplicationConfiguration.g:2475:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry )
6779 } 6779 int alt34=4;
6780 else if ( (LA36_1==EOF||(LA36_1>=19 && LA36_1<=20)) ) { 6780 switch ( input.LA(1) ) {
6781 alt36=1; 6781 case 31:
6782 } 6782 {
6783 else { 6783 alt34=1;
6784 NoViableAltException nvae = 6784 }
6785 new NoViableAltException("", 36, 1, input); 6785 break;
6786 6786 case 32:
6787 throw nvae; 6787 {
6788 } 6788 alt34=2;
6789 } 6789 }
6790 else if ( (LA36_0==40) ) { 6790 break;
6791 alt36=1; 6791 case 33:
6792 } 6792 {
6793 else { 6793 alt34=3;
6794 NoViableAltException nvae = 6794 }
6795 new NoViableAltException("", 36, 0, input); 6795 break;
6796 6796 case RULE_STRING:
6797 throw nvae; 6797 {
6798 } 6798 alt34=4;
6799 switch (alt36) { 6799 }
6800 case 1 : 6800 break;
6801 // InternalApplicationConfiguration.g:2453:4: ( (lv_number_4_0= ruleExactNumber ) ) 6801 default:
6802 { 6802 NoViableAltException nvae =
6803 // InternalApplicationConfiguration.g:2453:4: ( (lv_number_4_0= ruleExactNumber ) ) 6803 new NoViableAltException("", 34, 0, input);
6804 // InternalApplicationConfiguration.g:2454:5: (lv_number_4_0= ruleExactNumber ) 6804
6805 { 6805 throw nvae;
6806 // InternalApplicationConfiguration.g:2454:5: (lv_number_4_0= ruleExactNumber ) 6806 }
6807 // InternalApplicationConfiguration.g:2455:6: lv_number_4_0= ruleExactNumber 6807
6808 { 6808 switch (alt34) {
6809 6809 case 1 :
6810 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 6810 // InternalApplicationConfiguration.g:2476:3: this_DocumentationEntry_0= ruleDocumentationEntry
6811 6811 {
6812 pushFollow(FOLLOW_2); 6812
6813 lv_number_4_0=ruleExactNumber(); 6813 newCompositeNode(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0());
6814 6814
6815 state._fsp--; 6815 pushFollow(FOLLOW_2);
6816 6816 this_DocumentationEntry_0=ruleDocumentationEntry();
6817 6817
6818 if (current==null) { 6818 state._fsp--;
6819 current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); 6819
6820 } 6820
6821 set( 6821 current = this_DocumentationEntry_0;
6822 current, 6822 afterParserOrEnumRuleCall();
6823 "number", 6823
6824 lv_number_4_0, 6824
6825 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 6825 }
6826 afterParserOrEnumRuleCall(); 6826 break;
6827 6827 case 2 :
6828 6828 // InternalApplicationConfiguration.g:2485:3: this_RuntimeEntry_1= ruleRuntimeEntry
6829 } 6829 {
6830 6830
6831 6831 newCompositeNode(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1());
6832 } 6832
6833 6833 pushFollow(FOLLOW_2);
6834 6834 this_RuntimeEntry_1=ruleRuntimeEntry();
6835 } 6835
6836 break; 6836 state._fsp--;
6837 case 2 : 6837
6838 // InternalApplicationConfiguration.g:2473:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 6838
6839 { 6839 current = this_RuntimeEntry_1;
6840 // InternalApplicationConfiguration.g:2473:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 6840 afterParserOrEnumRuleCall();
6841 // InternalApplicationConfiguration.g:2474:5: (lv_number_5_0= ruleIntervallNumber ) 6841
6842 { 6842
6843 // InternalApplicationConfiguration.g:2474:5: (lv_number_5_0= ruleIntervallNumber ) 6843 }
6844 // InternalApplicationConfiguration.g:2475:6: lv_number_5_0= ruleIntervallNumber 6844 break;
6845 { 6845 case 3 :
6846 6846 // InternalApplicationConfiguration.g:2494:3: this_MemoryEntry_2= ruleMemoryEntry
6847 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 6847 {
6848 6848
6849 pushFollow(FOLLOW_2); 6849 newCompositeNode(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2());
6850 lv_number_5_0=ruleIntervallNumber(); 6850
6851 6851 pushFollow(FOLLOW_2);
6852 state._fsp--; 6852 this_MemoryEntry_2=ruleMemoryEntry();
6853 6853
6854 6854 state._fsp--;
6855 if (current==null) { 6855
6856 current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); 6856
6857 } 6857 current = this_MemoryEntry_2;
6858 set( 6858 afterParserOrEnumRuleCall();
6859 current, 6859
6860 "number", 6860
6861 lv_number_5_0, 6861 }
6862 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 6862 break;
6863 afterParserOrEnumRuleCall(); 6863 case 4 :
6864 6864 // InternalApplicationConfiguration.g:2503:3: this_CustomEntry_3= ruleCustomEntry
6865 6865 {
6866 } 6866
6867 6867 newCompositeNode(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3());
6868 6868
6869 } 6869 pushFollow(FOLLOW_2);
6870 6870 this_CustomEntry_3=ruleCustomEntry();
6871 6871
6872 } 6872 state._fsp--;
6873 break; 6873
6874 6874
6875 } 6875 current = this_CustomEntry_3;
6876 6876 afterParserOrEnumRuleCall();
6877 6877
6878 } 6878
6879 6879 }
6880 6880 break;
6881 } 6881
6882 6882 }
6883 6883
6884 leaveRule(); 6884
6885 6885 }
6886 } 6886
6887 6887
6888 catch (RecognitionException re) { 6888 leaveRule();
6889 recover(input,re); 6889
6890 appendSkippedTokens(); 6890 }
6891 } 6891
6892 finally { 6892 catch (RecognitionException re) {
6893 } 6893 recover(input,re);
6894 return current; 6894 appendSkippedTokens();
6895 } 6895 }
6896 // $ANTLR end "ruleClassTypeScope" 6896 finally {
6897 6897 }
6898 6898 return current;
6899 // $ANTLR start "entryRuleObjectTypeScope" 6899 }
6900 // InternalApplicationConfiguration.g:2497:1: entryRuleObjectTypeScope returns [EObject current=null] : iv_ruleObjectTypeScope= ruleObjectTypeScope EOF ; 6900 // $ANTLR end "ruleConfigEntry"
6901 public final EObject entryRuleObjectTypeScope() throws RecognitionException { 6901
6902 EObject current = null; 6902
6903 6903 // $ANTLR start "entryRuleDocumentationEntry"
6904 EObject iv_ruleObjectTypeScope = null; 6904 // InternalApplicationConfiguration.g:2515:1: entryRuleDocumentationEntry returns [EObject current=null] : iv_ruleDocumentationEntry= ruleDocumentationEntry EOF ;
6905 6905 public final EObject entryRuleDocumentationEntry() throws RecognitionException {
6906 6906 EObject current = null;
6907 try { 6907
6908 // InternalApplicationConfiguration.g:2497:56: (iv_ruleObjectTypeScope= ruleObjectTypeScope EOF ) 6908 EObject iv_ruleDocumentationEntry = null;
6909 // InternalApplicationConfiguration.g:2498:2: iv_ruleObjectTypeScope= ruleObjectTypeScope EOF 6909
6910 { 6910
6911 newCompositeNode(grammarAccess.getObjectTypeScopeRule()); 6911 try {
6912 pushFollow(FOLLOW_1); 6912 // InternalApplicationConfiguration.g:2515:59: (iv_ruleDocumentationEntry= ruleDocumentationEntry EOF )
6913 iv_ruleObjectTypeScope=ruleObjectTypeScope(); 6913 // InternalApplicationConfiguration.g:2516:2: iv_ruleDocumentationEntry= ruleDocumentationEntry EOF
6914 6914 {
6915 state._fsp--; 6915 newCompositeNode(grammarAccess.getDocumentationEntryRule());
6916 6916 pushFollow(FOLLOW_1);
6917 current =iv_ruleObjectTypeScope; 6917 iv_ruleDocumentationEntry=ruleDocumentationEntry();
6918 match(input,EOF,FOLLOW_2); 6918
6919 6919 state._fsp--;
6920 } 6920
6921 6921 current =iv_ruleDocumentationEntry;
6922 } 6922 match(input,EOF,FOLLOW_2);
6923 6923
6924 catch (RecognitionException re) { 6924 }
6925 recover(input,re); 6925
6926 appendSkippedTokens(); 6926 }
6927 } 6927
6928 finally { 6928 catch (RecognitionException re) {
6929 } 6929 recover(input,re);
6930 return current; 6930 appendSkippedTokens();
6931 } 6931 }
6932 // $ANTLR end "entryRuleObjectTypeScope" 6932 finally {
6933 6933 }
6934 6934 return current;
6935 // $ANTLR start "ruleObjectTypeScope" 6935 }
6936 // InternalApplicationConfiguration.g:2504:1: ruleObjectTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ; 6936 // $ANTLR end "entryRuleDocumentationEntry"
6937 public final EObject ruleObjectTypeScope() throws RecognitionException { 6937
6938 EObject current = null; 6938
6939 6939 // $ANTLR start "ruleDocumentationEntry"
6940 Token otherlv_0=null; 6940 // InternalApplicationConfiguration.g:2522:1: ruleDocumentationEntry returns [EObject current=null] : (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) ;
6941 Token lv_setsNew_2_0=null; 6941 public final EObject ruleDocumentationEntry() throws RecognitionException {
6942 Token lv_setsSum_3_0=null; 6942 EObject current = null;
6943 EObject lv_type_1_0 = null; 6943
6944 6944 Token otherlv_0=null;
6945 EObject lv_number_4_0 = null; 6945 Token otherlv_1=null;
6946 6946 Enumerator lv_level_2_0 = null;
6947 EObject lv_number_5_0 = null; 6947
6948 6948
6949 6949
6950 6950 enterRule();
6951 enterRule(); 6951
6952 6952 try {
6953 try { 6953 // InternalApplicationConfiguration.g:2528:2: ( (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) )
6954 // InternalApplicationConfiguration.g:2510:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ) 6954 // InternalApplicationConfiguration.g:2529:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) )
6955 // InternalApplicationConfiguration.g:2511:2: (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) 6955 {
6956 { 6956 // InternalApplicationConfiguration.g:2529:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) )
6957 // InternalApplicationConfiguration.g:2511:2: (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) 6957 // InternalApplicationConfiguration.g:2530:3: otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) )
6958 // InternalApplicationConfiguration.g:2512:3: otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) 6958 {
6959 { 6959 otherlv_0=(Token)match(input,31,FOLLOW_12);
6960 otherlv_0=(Token)match(input,32,FOLLOW_29); 6960
6961 6961 newLeafNode(otherlv_0, grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0());
6962 newLeafNode(otherlv_0, grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); 6962
6963 6963 otherlv_1=(Token)match(input,17,FOLLOW_26);
6964 // InternalApplicationConfiguration.g:2516:3: ( (lv_type_1_0= ruleObjectReference ) ) 6964
6965 // InternalApplicationConfiguration.g:2517:4: (lv_type_1_0= ruleObjectReference ) 6965 newLeafNode(otherlv_1, grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1());
6966 { 6966
6967 // InternalApplicationConfiguration.g:2517:4: (lv_type_1_0= ruleObjectReference ) 6967 // InternalApplicationConfiguration.g:2538:3: ( (lv_level_2_0= ruleDocumentLevelSpecification ) )
6968 // InternalApplicationConfiguration.g:2518:5: lv_type_1_0= ruleObjectReference 6968 // InternalApplicationConfiguration.g:2539:4: (lv_level_2_0= ruleDocumentLevelSpecification )
6969 { 6969 {
6970 6970 // InternalApplicationConfiguration.g:2539:4: (lv_level_2_0= ruleDocumentLevelSpecification )
6971 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0()); 6971 // InternalApplicationConfiguration.g:2540:5: lv_level_2_0= ruleDocumentLevelSpecification
6972 6972 {
6973 pushFollow(FOLLOW_27); 6973
6974 lv_type_1_0=ruleObjectReference(); 6974 newCompositeNode(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0());
6975 6975
6976 state._fsp--; 6976 pushFollow(FOLLOW_2);
6977 6977 lv_level_2_0=ruleDocumentLevelSpecification();
6978 6978
6979 if (current==null) { 6979 state._fsp--;
6980 current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); 6980
6981 } 6981
6982 set( 6982 if (current==null) {
6983 current, 6983 current = createModelElementForParent(grammarAccess.getDocumentationEntryRule());
6984 "type", 6984 }
6985 lv_type_1_0, 6985 set(
6986 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectReference"); 6986 current,
6987 afterParserOrEnumRuleCall(); 6987 "level",
6988 6988 lv_level_2_0,
6989 6989 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentLevelSpecification");
6990 } 6990 afterParserOrEnumRuleCall();
6991 6991
6992 6992
6993 } 6993 }
6994 6994
6995 // InternalApplicationConfiguration.g:2535:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) 6995
6996 int alt37=2; 6996 }
6997 int LA37_0 = input.LA(1); 6997
6998 6998
6999 if ( (LA37_0==33) ) { 6999 }
7000 alt37=1; 7000
7001 } 7001
7002 else if ( (LA37_0==17) ) { 7002 }
7003 alt37=2; 7003
7004 } 7004
7005 else { 7005 leaveRule();
7006 NoViableAltException nvae = 7006
7007 new NoViableAltException("", 37, 0, input); 7007 }
7008 7008
7009 throw nvae; 7009 catch (RecognitionException re) {
7010 } 7010 recover(input,re);
7011 switch (alt37) { 7011 appendSkippedTokens();
7012 case 1 : 7012 }
7013 // InternalApplicationConfiguration.g:2536:4: ( (lv_setsNew_2_0= '+=' ) ) 7013 finally {
7014 { 7014 }
7015 // InternalApplicationConfiguration.g:2536:4: ( (lv_setsNew_2_0= '+=' ) ) 7015 return current;
7016 // InternalApplicationConfiguration.g:2537:5: (lv_setsNew_2_0= '+=' ) 7016 }
7017 { 7017 // $ANTLR end "ruleDocumentationEntry"
7018 // InternalApplicationConfiguration.g:2537:5: (lv_setsNew_2_0= '+=' ) 7018
7019 // InternalApplicationConfiguration.g:2538:6: lv_setsNew_2_0= '+=' 7019
7020 { 7020 // $ANTLR start "entryRuleRuntimeEntry"
7021 lv_setsNew_2_0=(Token)match(input,33,FOLLOW_28); 7021 // InternalApplicationConfiguration.g:2561:1: entryRuleRuntimeEntry returns [EObject current=null] : iv_ruleRuntimeEntry= ruleRuntimeEntry EOF ;
7022 7022 public final EObject entryRuleRuntimeEntry() throws RecognitionException {
7023 newLeafNode(lv_setsNew_2_0, grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 7023 EObject current = null;
7024 7024
7025 7025 EObject iv_ruleRuntimeEntry = null;
7026 if (current==null) { 7026
7027 current = createModelElement(grammarAccess.getObjectTypeScopeRule()); 7027
7028 } 7028 try {
7029 setWithLastConsumed(current, "setsNew", true, "+="); 7029 // InternalApplicationConfiguration.g:2561:53: (iv_ruleRuntimeEntry= ruleRuntimeEntry EOF )
7030 7030 // InternalApplicationConfiguration.g:2562:2: iv_ruleRuntimeEntry= ruleRuntimeEntry EOF
7031 7031 {
7032 } 7032 newCompositeNode(grammarAccess.getRuntimeEntryRule());
7033 7033 pushFollow(FOLLOW_1);
7034 7034 iv_ruleRuntimeEntry=ruleRuntimeEntry();
7035 } 7035
7036 7036 state._fsp--;
7037 7037
7038 } 7038 current =iv_ruleRuntimeEntry;
7039 break; 7039 match(input,EOF,FOLLOW_2);
7040 case 2 : 7040
7041 // InternalApplicationConfiguration.g:2551:4: ( (lv_setsSum_3_0= '=' ) ) 7041 }
7042 { 7042
7043 // InternalApplicationConfiguration.g:2551:4: ( (lv_setsSum_3_0= '=' ) ) 7043 }
7044 // InternalApplicationConfiguration.g:2552:5: (lv_setsSum_3_0= '=' ) 7044
7045 { 7045 catch (RecognitionException re) {
7046 // InternalApplicationConfiguration.g:2552:5: (lv_setsSum_3_0= '=' ) 7046 recover(input,re);
7047 // InternalApplicationConfiguration.g:2553:6: lv_setsSum_3_0= '=' 7047 appendSkippedTokens();
7048 { 7048 }
7049 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_28); 7049 finally {
7050 7050 }
7051 newLeafNode(lv_setsSum_3_0, grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 7051 return current;
7052 7052 }
7053 7053 // $ANTLR end "entryRuleRuntimeEntry"
7054 if (current==null) { 7054
7055 current = createModelElement(grammarAccess.getObjectTypeScopeRule()); 7055
7056 } 7056 // $ANTLR start "ruleRuntimeEntry"
7057 setWithLastConsumed(current, "setsSum", true, "="); 7057 // InternalApplicationConfiguration.g:2568:1: ruleRuntimeEntry returns [EObject current=null] : (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) ;
7058 7058 public final EObject ruleRuntimeEntry() throws RecognitionException {
7059 7059 EObject current = null;
7060 } 7060
7061 7061 Token otherlv_0=null;
7062 7062 Token otherlv_1=null;
7063 } 7063 Token lv_millisecLimit_2_0=null;
7064 7064
7065 7065
7066 } 7066 enterRule();
7067 break; 7067
7068 7068 try {
7069 } 7069 // InternalApplicationConfiguration.g:2574:2: ( (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) )
7070 7070 // InternalApplicationConfiguration.g:2575:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) )
7071 // InternalApplicationConfiguration.g:2566:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) 7071 {
7072 int alt38=2; 7072 // InternalApplicationConfiguration.g:2575:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) )
7073 int LA38_0 = input.LA(1); 7073 // InternalApplicationConfiguration.g:2576:3: otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) )
7074 7074 {
7075 if ( (LA38_0==RULE_INT) ) { 7075 otherlv_0=(Token)match(input,32,FOLLOW_12);
7076 int LA38_1 = input.LA(2); 7076
7077 7077 newLeafNode(otherlv_0, grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0());
7078 if ( (LA38_1==41) ) { 7078
7079 alt38=2; 7079 otherlv_1=(Token)match(input,17,FOLLOW_7);
7080 } 7080
7081 else if ( (LA38_1==EOF||(LA38_1>=19 && LA38_1<=20)) ) { 7081 newLeafNode(otherlv_1, grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1());
7082 alt38=1; 7082
7083 } 7083 // InternalApplicationConfiguration.g:2584:3: ( (lv_millisecLimit_2_0= RULE_INT ) )
7084 else { 7084 // InternalApplicationConfiguration.g:2585:4: (lv_millisecLimit_2_0= RULE_INT )
7085 NoViableAltException nvae = 7085 {
7086 new NoViableAltException("", 38, 1, input); 7086 // InternalApplicationConfiguration.g:2585:4: (lv_millisecLimit_2_0= RULE_INT )
7087 7087 // InternalApplicationConfiguration.g:2586:5: lv_millisecLimit_2_0= RULE_INT
7088 throw nvae; 7088 {
7089 } 7089 lv_millisecLimit_2_0=(Token)match(input,RULE_INT,FOLLOW_2);
7090 } 7090
7091 else if ( (LA38_0==40) ) { 7091 newLeafNode(lv_millisecLimit_2_0, grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0());
7092 alt38=1; 7092
7093 } 7093
7094 else { 7094 if (current==null) {
7095 NoViableAltException nvae = 7095 current = createModelElement(grammarAccess.getRuntimeEntryRule());
7096 new NoViableAltException("", 38, 0, input); 7096 }
7097 7097 setWithLastConsumed(
7098 throw nvae; 7098 current,
7099 } 7099 "millisecLimit",
7100 switch (alt38) { 7100 lv_millisecLimit_2_0,
7101 case 1 : 7101 "org.eclipse.xtext.common.Terminals.INT");
7102 // InternalApplicationConfiguration.g:2567:4: ( (lv_number_4_0= ruleExactNumber ) ) 7102
7103 { 7103
7104 // InternalApplicationConfiguration.g:2567:4: ( (lv_number_4_0= ruleExactNumber ) ) 7104 }
7105 // InternalApplicationConfiguration.g:2568:5: (lv_number_4_0= ruleExactNumber ) 7105
7106 { 7106
7107 // InternalApplicationConfiguration.g:2568:5: (lv_number_4_0= ruleExactNumber ) 7107 }
7108 // InternalApplicationConfiguration.g:2569:6: lv_number_4_0= ruleExactNumber 7108
7109 { 7109
7110 7110 }
7111 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 7111
7112 7112
7113 pushFollow(FOLLOW_2); 7113 }
7114 lv_number_4_0=ruleExactNumber(); 7114
7115 7115
7116 state._fsp--; 7116 leaveRule();
7117 7117
7118 7118 }
7119 if (current==null) { 7119
7120 current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); 7120 catch (RecognitionException re) {
7121 } 7121 recover(input,re);
7122 set( 7122 appendSkippedTokens();
7123 current, 7123 }
7124 "number", 7124 finally {
7125 lv_number_4_0, 7125 }
7126 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 7126 return current;
7127 afterParserOrEnumRuleCall(); 7127 }
7128 7128 // $ANTLR end "ruleRuntimeEntry"
7129 7129
7130 } 7130
7131 7131 // $ANTLR start "entryRuleMemoryEntry"
7132 7132 // InternalApplicationConfiguration.g:2606:1: entryRuleMemoryEntry returns [EObject current=null] : iv_ruleMemoryEntry= ruleMemoryEntry EOF ;
7133 } 7133 public final EObject entryRuleMemoryEntry() throws RecognitionException {
7134 7134 EObject current = null;
7135 7135
7136 } 7136 EObject iv_ruleMemoryEntry = null;
7137 break; 7137
7138 case 2 : 7138
7139 // InternalApplicationConfiguration.g:2587:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 7139 try {
7140 { 7140 // InternalApplicationConfiguration.g:2606:52: (iv_ruleMemoryEntry= ruleMemoryEntry EOF )
7141 // InternalApplicationConfiguration.g:2587:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 7141 // InternalApplicationConfiguration.g:2607:2: iv_ruleMemoryEntry= ruleMemoryEntry EOF
7142 // InternalApplicationConfiguration.g:2588:5: (lv_number_5_0= ruleIntervallNumber ) 7142 {
7143 { 7143 newCompositeNode(grammarAccess.getMemoryEntryRule());
7144 // InternalApplicationConfiguration.g:2588:5: (lv_number_5_0= ruleIntervallNumber ) 7144 pushFollow(FOLLOW_1);
7145 // InternalApplicationConfiguration.g:2589:6: lv_number_5_0= ruleIntervallNumber 7145 iv_ruleMemoryEntry=ruleMemoryEntry();
7146 { 7146
7147 7147 state._fsp--;
7148 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 7148
7149 7149 current =iv_ruleMemoryEntry;
7150 pushFollow(FOLLOW_2); 7150 match(input,EOF,FOLLOW_2);
7151 lv_number_5_0=ruleIntervallNumber(); 7151
7152 7152 }
7153 state._fsp--; 7153
7154 7154 }
7155 7155
7156 if (current==null) { 7156 catch (RecognitionException re) {
7157 current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); 7157 recover(input,re);
7158 } 7158 appendSkippedTokens();
7159 set( 7159 }
7160 current, 7160 finally {
7161 "number", 7161 }
7162 lv_number_5_0, 7162 return current;
7163 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 7163 }
7164 afterParserOrEnumRuleCall(); 7164 // $ANTLR end "entryRuleMemoryEntry"
7165 7165
7166 7166
7167 } 7167 // $ANTLR start "ruleMemoryEntry"
7168 7168 // InternalApplicationConfiguration.g:2613:1: ruleMemoryEntry returns [EObject current=null] : (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) ;
7169 7169 public final EObject ruleMemoryEntry() throws RecognitionException {
7170 } 7170 EObject current = null;
7171 7171
7172 7172 Token otherlv_0=null;
7173 } 7173 Token otherlv_1=null;
7174 break; 7174 Token lv_megabyteLimit_2_0=null;
7175 7175
7176 } 7176
7177 7177 enterRule();
7178 7178
7179 } 7179 try {
7180 7180 // InternalApplicationConfiguration.g:2619:2: ( (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) )
7181 7181 // InternalApplicationConfiguration.g:2620:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) )
7182 } 7182 {
7183 7183 // InternalApplicationConfiguration.g:2620:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) )
7184 7184 // InternalApplicationConfiguration.g:2621:3: otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) )
7185 leaveRule(); 7185 {
7186 7186 otherlv_0=(Token)match(input,33,FOLLOW_12);
7187 } 7187
7188 7188 newLeafNode(otherlv_0, grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0());
7189 catch (RecognitionException re) { 7189
7190 recover(input,re); 7190 otherlv_1=(Token)match(input,17,FOLLOW_7);
7191 appendSkippedTokens(); 7191
7192 } 7192 newLeafNode(otherlv_1, grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1());
7193 finally { 7193
7194 } 7194 // InternalApplicationConfiguration.g:2629:3: ( (lv_megabyteLimit_2_0= RULE_INT ) )
7195 return current; 7195 // InternalApplicationConfiguration.g:2630:4: (lv_megabyteLimit_2_0= RULE_INT )
7196 } 7196 {
7197 // $ANTLR end "ruleObjectTypeScope" 7197 // InternalApplicationConfiguration.g:2630:4: (lv_megabyteLimit_2_0= RULE_INT )
7198 7198 // InternalApplicationConfiguration.g:2631:5: lv_megabyteLimit_2_0= RULE_INT
7199 7199 {
7200 // $ANTLR start "entryRuleIntegerTypeScope" 7200 lv_megabyteLimit_2_0=(Token)match(input,RULE_INT,FOLLOW_2);
7201 // InternalApplicationConfiguration.g:2611:1: entryRuleIntegerTypeScope returns [EObject current=null] : iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF ; 7201
7202 public final EObject entryRuleIntegerTypeScope() throws RecognitionException { 7202 newLeafNode(lv_megabyteLimit_2_0, grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0());
7203 EObject current = null; 7203
7204 7204
7205 EObject iv_ruleIntegerTypeScope = null; 7205 if (current==null) {
7206 7206 current = createModelElement(grammarAccess.getMemoryEntryRule());
7207 7207 }
7208 try { 7208 setWithLastConsumed(
7209 // InternalApplicationConfiguration.g:2611:57: (iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF ) 7209 current,
7210 // InternalApplicationConfiguration.g:2612:2: iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF 7210 "megabyteLimit",
7211 { 7211 lv_megabyteLimit_2_0,
7212 newCompositeNode(grammarAccess.getIntegerTypeScopeRule()); 7212 "org.eclipse.xtext.common.Terminals.INT");
7213 pushFollow(FOLLOW_1); 7213
7214 iv_ruleIntegerTypeScope=ruleIntegerTypeScope(); 7214
7215 7215 }
7216 state._fsp--; 7216
7217 7217
7218 current =iv_ruleIntegerTypeScope; 7218 }
7219 match(input,EOF,FOLLOW_2); 7219
7220 7220
7221 } 7221 }
7222 7222
7223 } 7223
7224 7224 }
7225 catch (RecognitionException re) { 7225
7226 recover(input,re); 7226
7227 appendSkippedTokens(); 7227 leaveRule();
7228 } 7228
7229 finally { 7229 }
7230 } 7230
7231 return current; 7231 catch (RecognitionException re) {
7232 } 7232 recover(input,re);
7233 // $ANTLR end "entryRuleIntegerTypeScope" 7233 appendSkippedTokens();
7234 7234 }
7235 7235 finally {
7236 // $ANTLR start "ruleIntegerTypeScope" 7236 }
7237 // InternalApplicationConfiguration.g:2618:1: ruleIntegerTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) ; 7237 return current;
7238 public final EObject ruleIntegerTypeScope() throws RecognitionException { 7238 }
7239 EObject current = null; 7239 // $ANTLR end "ruleMemoryEntry"
7240 7240
7241 Token otherlv_0=null; 7241
7242 Token lv_setsNew_2_0=null; 7242 // $ANTLR start "entryRuleCustomEntry"
7243 Token lv_setsSum_3_0=null; 7243 // InternalApplicationConfiguration.g:2651:1: entryRuleCustomEntry returns [EObject current=null] : iv_ruleCustomEntry= ruleCustomEntry EOF ;
7244 EObject lv_type_1_0 = null; 7244 public final EObject entryRuleCustomEntry() throws RecognitionException {
7245 7245 EObject current = null;
7246 EObject lv_number_4_0 = null; 7246
7247 7247 EObject iv_ruleCustomEntry = null;
7248 EObject lv_number_5_0 = null; 7248
7249 7249
7250 EObject lv_number_6_0 = null; 7250 try {
7251 7251 // InternalApplicationConfiguration.g:2651:52: (iv_ruleCustomEntry= ruleCustomEntry EOF )
7252 7252 // InternalApplicationConfiguration.g:2652:2: iv_ruleCustomEntry= ruleCustomEntry EOF
7253 7253 {
7254 enterRule(); 7254 newCompositeNode(grammarAccess.getCustomEntryRule());
7255 7255 pushFollow(FOLLOW_1);
7256 try { 7256 iv_ruleCustomEntry=ruleCustomEntry();
7257 // InternalApplicationConfiguration.g:2624:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) ) 7257
7258 // InternalApplicationConfiguration.g:2625:2: (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) 7258 state._fsp--;
7259 { 7259
7260 // InternalApplicationConfiguration.g:2625:2: (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) 7260 current =iv_ruleCustomEntry;
7261 // InternalApplicationConfiguration.g:2626:3: otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) 7261 match(input,EOF,FOLLOW_2);
7262 { 7262
7263 otherlv_0=(Token)match(input,32,FOLLOW_30); 7263 }
7264 7264
7265 newLeafNode(otherlv_0, grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); 7265 }
7266 7266
7267 // InternalApplicationConfiguration.g:2630:3: ( (lv_type_1_0= ruleIntegerReference ) ) 7267 catch (RecognitionException re) {
7268 // InternalApplicationConfiguration.g:2631:4: (lv_type_1_0= ruleIntegerReference ) 7268 recover(input,re);
7269 { 7269 appendSkippedTokens();
7270 // InternalApplicationConfiguration.g:2631:4: (lv_type_1_0= ruleIntegerReference ) 7270 }
7271 // InternalApplicationConfiguration.g:2632:5: lv_type_1_0= ruleIntegerReference 7271 finally {
7272 { 7272 }
7273 7273 return current;
7274 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0()); 7274 }
7275 7275 // $ANTLR end "entryRuleCustomEntry"
7276 pushFollow(FOLLOW_27); 7276
7277 lv_type_1_0=ruleIntegerReference(); 7277
7278 7278 // $ANTLR start "ruleCustomEntry"
7279 state._fsp--; 7279 // InternalApplicationConfiguration.g:2658:1: ruleCustomEntry returns [EObject current=null] : ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ;
7280 7280 public final EObject ruleCustomEntry() throws RecognitionException {
7281 7281 EObject current = null;
7282 if (current==null) { 7282
7283 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); 7283 Token lv_key_0_0=null;
7284 } 7284 Token otherlv_1=null;
7285 set( 7285 Token lv_value_2_0=null;
7286 current, 7286
7287 "type", 7287
7288 lv_type_1_0, 7288 enterRule();
7289 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerReference"); 7289
7290 afterParserOrEnumRuleCall(); 7290 try {
7291 7291 // InternalApplicationConfiguration.g:2664:2: ( ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) )
7292 7292 // InternalApplicationConfiguration.g:2665:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) )
7293 } 7293 {
7294 7294 // InternalApplicationConfiguration.g:2665:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) )
7295 7295 // InternalApplicationConfiguration.g:2666:3: ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) )
7296 } 7296 {
7297 7297 // InternalApplicationConfiguration.g:2666:3: ( (lv_key_0_0= RULE_STRING ) )
7298 // InternalApplicationConfiguration.g:2649:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) 7298 // InternalApplicationConfiguration.g:2667:4: (lv_key_0_0= RULE_STRING )
7299 int alt39=2; 7299 {
7300 int LA39_0 = input.LA(1); 7300 // InternalApplicationConfiguration.g:2667:4: (lv_key_0_0= RULE_STRING )
7301 7301 // InternalApplicationConfiguration.g:2668:5: lv_key_0_0= RULE_STRING
7302 if ( (LA39_0==33) ) { 7302 {
7303 alt39=1; 7303 lv_key_0_0=(Token)match(input,RULE_STRING,FOLLOW_12);
7304 } 7304
7305 else if ( (LA39_0==17) ) { 7305 newLeafNode(lv_key_0_0, grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0());
7306 alt39=2; 7306
7307 } 7307
7308 else { 7308 if (current==null) {
7309 NoViableAltException nvae = 7309 current = createModelElement(grammarAccess.getCustomEntryRule());
7310 new NoViableAltException("", 39, 0, input); 7310 }
7311 7311 setWithLastConsumed(
7312 throw nvae; 7312 current,
7313 } 7313 "key",
7314 switch (alt39) { 7314 lv_key_0_0,
7315 case 1 : 7315 "org.eclipse.xtext.common.Terminals.STRING");
7316 // InternalApplicationConfiguration.g:2650:4: ( (lv_setsNew_2_0= '+=' ) ) 7316
7317 { 7317
7318 // InternalApplicationConfiguration.g:2650:4: ( (lv_setsNew_2_0= '+=' ) ) 7318 }
7319 // InternalApplicationConfiguration.g:2651:5: (lv_setsNew_2_0= '+=' ) 7319
7320 { 7320
7321 // InternalApplicationConfiguration.g:2651:5: (lv_setsNew_2_0= '+=' ) 7321 }
7322 // InternalApplicationConfiguration.g:2652:6: lv_setsNew_2_0= '+=' 7322
7323 { 7323 otherlv_1=(Token)match(input,17,FOLLOW_10);
7324 lv_setsNew_2_0=(Token)match(input,33,FOLLOW_31); 7324
7325 7325 newLeafNode(otherlv_1, grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1());
7326 newLeafNode(lv_setsNew_2_0, grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 7326
7327 7327 // InternalApplicationConfiguration.g:2688:3: ( (lv_value_2_0= RULE_STRING ) )
7328 7328 // InternalApplicationConfiguration.g:2689:4: (lv_value_2_0= RULE_STRING )
7329 if (current==null) { 7329 {
7330 current = createModelElement(grammarAccess.getIntegerTypeScopeRule()); 7330 // InternalApplicationConfiguration.g:2689:4: (lv_value_2_0= RULE_STRING )
7331 } 7331 // InternalApplicationConfiguration.g:2690:5: lv_value_2_0= RULE_STRING
7332 setWithLastConsumed(current, "setsNew", true, "+="); 7332 {
7333 7333 lv_value_2_0=(Token)match(input,RULE_STRING,FOLLOW_2);
7334 7334
7335 } 7335 newLeafNode(lv_value_2_0, grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0());
7336 7336
7337 7337
7338 } 7338 if (current==null) {
7339 7339 current = createModelElement(grammarAccess.getCustomEntryRule());
7340 7340 }
7341 } 7341 setWithLastConsumed(
7342 break; 7342 current,
7343 case 2 : 7343 "value",
7344 // InternalApplicationConfiguration.g:2665:4: ( (lv_setsSum_3_0= '=' ) ) 7344 lv_value_2_0,
7345 { 7345 "org.eclipse.xtext.common.Terminals.STRING");
7346 // InternalApplicationConfiguration.g:2665:4: ( (lv_setsSum_3_0= '=' ) ) 7346
7347 // InternalApplicationConfiguration.g:2666:5: (lv_setsSum_3_0= '=' ) 7347
7348 { 7348 }
7349 // InternalApplicationConfiguration.g:2666:5: (lv_setsSum_3_0= '=' ) 7349
7350 // InternalApplicationConfiguration.g:2667:6: lv_setsSum_3_0= '=' 7350
7351 { 7351 }
7352 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_31); 7352
7353 7353
7354 newLeafNode(lv_setsSum_3_0, grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 7354 }
7355 7355
7356 7356
7357 if (current==null) { 7357 }
7358 current = createModelElement(grammarAccess.getIntegerTypeScopeRule()); 7358
7359 } 7359
7360 setWithLastConsumed(current, "setsSum", true, "="); 7360 leaveRule();
7361 7361
7362 7362 }
7363 } 7363
7364 7364 catch (RecognitionException re) {
7365 7365 recover(input,re);
7366 } 7366 appendSkippedTokens();
7367 7367 }
7368 7368 finally {
7369 } 7369 }
7370 break; 7370 return current;
7371 7371 }
7372 } 7372 // $ANTLR end "ruleCustomEntry"
7373 7373
7374 // InternalApplicationConfiguration.g:2680:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) 7374
7375 int alt40=3; 7375 // $ANTLR start "entryRuleConfigReference"
7376 switch ( input.LA(1) ) { 7376 // InternalApplicationConfiguration.g:2710:1: entryRuleConfigReference returns [EObject current=null] : iv_ruleConfigReference= ruleConfigReference EOF ;
7377 case RULE_INT: 7377 public final EObject entryRuleConfigReference() throws RecognitionException {
7378 { 7378 EObject current = null;
7379 int LA40_1 = input.LA(2); 7379
7380 7380 EObject iv_ruleConfigReference = null;
7381 if ( (LA40_1==41) ) { 7381
7382 alt40=2; 7382
7383 } 7383 try {
7384 else if ( (LA40_1==EOF||(LA40_1>=19 && LA40_1<=20)) ) { 7384 // InternalApplicationConfiguration.g:2710:56: (iv_ruleConfigReference= ruleConfigReference EOF )
7385 alt40=1; 7385 // InternalApplicationConfiguration.g:2711:2: iv_ruleConfigReference= ruleConfigReference EOF
7386 } 7386 {
7387 else { 7387 newCompositeNode(grammarAccess.getConfigReferenceRule());
7388 NoViableAltException nvae = 7388 pushFollow(FOLLOW_1);
7389 new NoViableAltException("", 40, 1, input); 7389 iv_ruleConfigReference=ruleConfigReference();
7390 7390
7391 throw nvae; 7391 state._fsp--;
7392 } 7392
7393 } 7393 current =iv_ruleConfigReference;
7394 break; 7394 match(input,EOF,FOLLOW_2);
7395 case 40: 7395
7396 { 7396 }
7397 alt40=1; 7397
7398 } 7398 }
7399 break; 7399
7400 case 18: 7400 catch (RecognitionException re) {
7401 { 7401 recover(input,re);
7402 alt40=3; 7402 appendSkippedTokens();
7403 } 7403 }
7404 break; 7404 finally {
7405 default: 7405 }
7406 NoViableAltException nvae = 7406 return current;
7407 new NoViableAltException("", 40, 0, input); 7407 }
7408 7408 // $ANTLR end "entryRuleConfigReference"
7409 throw nvae; 7409
7410 } 7410
7411 7411 // $ANTLR start "ruleConfigReference"
7412 switch (alt40) { 7412 // InternalApplicationConfiguration.g:2717:1: ruleConfigReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
7413 case 1 : 7413 public final EObject ruleConfigReference() throws RecognitionException {
7414 // InternalApplicationConfiguration.g:2681:4: ( (lv_number_4_0= ruleExactNumber ) ) 7414 EObject current = null;
7415 { 7415
7416 // InternalApplicationConfiguration.g:2681:4: ( (lv_number_4_0= ruleExactNumber ) ) 7416 Token otherlv_0=null;
7417 // InternalApplicationConfiguration.g:2682:5: (lv_number_4_0= ruleExactNumber ) 7417
7418 { 7418
7419 // InternalApplicationConfiguration.g:2682:5: (lv_number_4_0= ruleExactNumber ) 7419 enterRule();
7420 // InternalApplicationConfiguration.g:2683:6: lv_number_4_0= ruleExactNumber 7420
7421 { 7421 try {
7422 7422 // InternalApplicationConfiguration.g:2723:2: ( ( (otherlv_0= RULE_ID ) ) )
7423 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 7423 // InternalApplicationConfiguration.g:2724:2: ( (otherlv_0= RULE_ID ) )
7424 7424 {
7425 pushFollow(FOLLOW_2); 7425 // InternalApplicationConfiguration.g:2724:2: ( (otherlv_0= RULE_ID ) )
7426 lv_number_4_0=ruleExactNumber(); 7426 // InternalApplicationConfiguration.g:2725:3: (otherlv_0= RULE_ID )
7427 7427 {
7428 state._fsp--; 7428 // InternalApplicationConfiguration.g:2725:3: (otherlv_0= RULE_ID )
7429 7429 // InternalApplicationConfiguration.g:2726:4: otherlv_0= RULE_ID
7430 7430 {
7431 if (current==null) { 7431
7432 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); 7432 if (current==null) {
7433 } 7433 current = createModelElement(grammarAccess.getConfigReferenceRule());
7434 set( 7434 }
7435 current, 7435
7436 "number", 7436 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2);
7437 lv_number_4_0, 7437
7438 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 7438 newLeafNode(otherlv_0, grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0());
7439 afterParserOrEnumRuleCall(); 7439
7440 7440
7441 7441 }
7442 } 7442
7443 7443
7444 7444 }
7445 } 7445
7446 7446
7447 7447 }
7448 } 7448
7449 break; 7449
7450 case 2 : 7450 leaveRule();
7451 // InternalApplicationConfiguration.g:2701:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 7451
7452 { 7452 }
7453 // InternalApplicationConfiguration.g:2701:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 7453
7454 // InternalApplicationConfiguration.g:2702:5: (lv_number_5_0= ruleIntervallNumber ) 7454 catch (RecognitionException re) {
7455 { 7455 recover(input,re);
7456 // InternalApplicationConfiguration.g:2702:5: (lv_number_5_0= ruleIntervallNumber ) 7456 appendSkippedTokens();
7457 // InternalApplicationConfiguration.g:2703:6: lv_number_5_0= ruleIntervallNumber 7457 }
7458 { 7458 finally {
7459 7459 }
7460 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 7460 return current;
7461 7461 }
7462 pushFollow(FOLLOW_2); 7462 // $ANTLR end "ruleConfigReference"
7463 lv_number_5_0=ruleIntervallNumber(); 7463
7464 7464
7465 state._fsp--; 7465 // $ANTLR start "entryRuleConfig"
7466 7466 // InternalApplicationConfiguration.g:2740:1: entryRuleConfig returns [EObject current=null] : iv_ruleConfig= ruleConfig EOF ;
7467 7467 public final EObject entryRuleConfig() throws RecognitionException {
7468 if (current==null) { 7468 EObject current = null;
7469 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); 7469
7470 } 7470 EObject iv_ruleConfig = null;
7471 set( 7471
7472 current, 7472
7473 "number", 7473 try {
7474 lv_number_5_0, 7474 // InternalApplicationConfiguration.g:2740:47: (iv_ruleConfig= ruleConfig EOF )
7475 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 7475 // InternalApplicationConfiguration.g:2741:2: iv_ruleConfig= ruleConfig EOF
7476 afterParserOrEnumRuleCall(); 7476 {
7477 7477 newCompositeNode(grammarAccess.getConfigRule());
7478 7478 pushFollow(FOLLOW_1);
7479 } 7479 iv_ruleConfig=ruleConfig();
7480 7480
7481 7481 state._fsp--;
7482 } 7482
7483 7483 current =iv_ruleConfig;
7484 7484 match(input,EOF,FOLLOW_2);
7485 } 7485
7486 break; 7486 }
7487 case 3 : 7487
7488 // InternalApplicationConfiguration.g:2721:4: ( (lv_number_6_0= ruleIntEnumberation ) ) 7488 }
7489 { 7489
7490 // InternalApplicationConfiguration.g:2721:4: ( (lv_number_6_0= ruleIntEnumberation ) ) 7490 catch (RecognitionException re) {
7491 // InternalApplicationConfiguration.g:2722:5: (lv_number_6_0= ruleIntEnumberation ) 7491 recover(input,re);
7492 { 7492 appendSkippedTokens();
7493 // InternalApplicationConfiguration.g:2722:5: (lv_number_6_0= ruleIntEnumberation ) 7493 }
7494 // InternalApplicationConfiguration.g:2723:6: lv_number_6_0= ruleIntEnumberation 7494 finally {
7495 { 7495 }
7496 7496 return current;
7497 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0()); 7497 }
7498 7498 // $ANTLR end "entryRuleConfig"
7499 pushFollow(FOLLOW_2); 7499
7500 lv_number_6_0=ruleIntEnumberation(); 7500
7501 7501 // $ANTLR start "ruleConfig"
7502 state._fsp--; 7502 // InternalApplicationConfiguration.g:2747:1: ruleConfig returns [EObject current=null] : (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ;
7503 7503 public final EObject ruleConfig() throws RecognitionException {
7504 7504 EObject current = null;
7505 if (current==null) { 7505
7506 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); 7506 EObject this_ConfigSpecification_0 = null;
7507 } 7507
7508 set( 7508 EObject this_ConfigReference_1 = null;
7509 current, 7509
7510 "number", 7510
7511 lv_number_6_0, 7511
7512 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntEnumberation"); 7512 enterRule();
7513 afterParserOrEnumRuleCall(); 7513
7514 7514 try {
7515 7515 // InternalApplicationConfiguration.g:2753:2: ( (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) )
7516 } 7516 // InternalApplicationConfiguration.g:2754:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference )
7517 7517 {
7518 7518 // InternalApplicationConfiguration.g:2754:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference )
7519 } 7519 int alt35=2;
7520 7520 int LA35_0 = input.LA(1);
7521 7521
7522 } 7522 if ( (LA35_0==18) ) {
7523 break; 7523 alt35=1;
7524 7524 }
7525 } 7525 else if ( (LA35_0==RULE_ID) ) {
7526 7526 alt35=2;
7527 7527 }
7528 } 7528 else {
7529 7529 NoViableAltException nvae =
7530 7530 new NoViableAltException("", 35, 0, input);
7531 } 7531
7532 7532 throw nvae;
7533 7533 }
7534 leaveRule(); 7534 switch (alt35) {
7535 7535 case 1 :
7536 } 7536 // InternalApplicationConfiguration.g:2755:3: this_ConfigSpecification_0= ruleConfigSpecification
7537 7537 {
7538 catch (RecognitionException re) { 7538
7539 recover(input,re); 7539 newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0());
7540 appendSkippedTokens(); 7540
7541 } 7541 pushFollow(FOLLOW_2);
7542 finally { 7542 this_ConfigSpecification_0=ruleConfigSpecification();
7543 } 7543
7544 return current; 7544 state._fsp--;
7545 } 7545
7546 // $ANTLR end "ruleIntegerTypeScope" 7546
7547 7547 current = this_ConfigSpecification_0;
7548 7548 afterParserOrEnumRuleCall();
7549 // $ANTLR start "entryRuleRealTypeScope" 7549
7550 // InternalApplicationConfiguration.g:2745:1: entryRuleRealTypeScope returns [EObject current=null] : iv_ruleRealTypeScope= ruleRealTypeScope EOF ; 7550
7551 public final EObject entryRuleRealTypeScope() throws RecognitionException { 7551 }
7552 EObject current = null; 7552 break;
7553 7553 case 2 :
7554 EObject iv_ruleRealTypeScope = null; 7554 // InternalApplicationConfiguration.g:2764:3: this_ConfigReference_1= ruleConfigReference
7555 7555 {
7556 7556
7557 try { 7557 newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1());
7558 // InternalApplicationConfiguration.g:2745:54: (iv_ruleRealTypeScope= ruleRealTypeScope EOF ) 7558
7559 // InternalApplicationConfiguration.g:2746:2: iv_ruleRealTypeScope= ruleRealTypeScope EOF 7559 pushFollow(FOLLOW_2);
7560 { 7560 this_ConfigReference_1=ruleConfigReference();
7561 newCompositeNode(grammarAccess.getRealTypeScopeRule()); 7561
7562 pushFollow(FOLLOW_1); 7562 state._fsp--;
7563 iv_ruleRealTypeScope=ruleRealTypeScope(); 7563
7564 7564
7565 state._fsp--; 7565 current = this_ConfigReference_1;
7566 7566 afterParserOrEnumRuleCall();
7567 current =iv_ruleRealTypeScope; 7567
7568 match(input,EOF,FOLLOW_2); 7568
7569 7569 }
7570 } 7570 break;
7571 7571
7572 } 7572 }
7573 7573
7574 catch (RecognitionException re) { 7574
7575 recover(input,re); 7575 }
7576 appendSkippedTokens(); 7576
7577 } 7577
7578 finally { 7578 leaveRule();
7579 } 7579
7580 return current; 7580 }
7581 } 7581
7582 // $ANTLR end "entryRuleRealTypeScope" 7582 catch (RecognitionException re) {
7583 7583 recover(input,re);
7584 7584 appendSkippedTokens();
7585 // $ANTLR start "ruleRealTypeScope" 7585 }
7586 // InternalApplicationConfiguration.g:2752:1: ruleRealTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) ; 7586 finally {
7587 public final EObject ruleRealTypeScope() throws RecognitionException { 7587 }
7588 EObject current = null; 7588 return current;
7589 7589 }
7590 Token otherlv_0=null; 7590 // $ANTLR end "ruleConfig"
7591 Token lv_setsNew_2_0=null; 7591
7592 Token lv_setsSum_3_0=null; 7592
7593 EObject lv_type_1_0 = null; 7593 // $ANTLR start "entryRuleScopeSpecification"
7594 7594 // InternalApplicationConfiguration.g:2776:1: entryRuleScopeSpecification returns [EObject current=null] : iv_ruleScopeSpecification= ruleScopeSpecification EOF ;
7595 EObject lv_number_4_0 = null; 7595 public final EObject entryRuleScopeSpecification() throws RecognitionException {
7596 7596 EObject current = null;
7597 EObject lv_number_5_0 = null; 7597
7598 7598 EObject iv_ruleScopeSpecification = null;
7599 EObject lv_number_6_0 = null; 7599
7600 7600
7601 7601 try {
7602 7602 // InternalApplicationConfiguration.g:2776:59: (iv_ruleScopeSpecification= ruleScopeSpecification EOF )
7603 enterRule(); 7603 // InternalApplicationConfiguration.g:2777:2: iv_ruleScopeSpecification= ruleScopeSpecification EOF
7604 7604 {
7605 try { 7605 newCompositeNode(grammarAccess.getScopeSpecificationRule());
7606 // InternalApplicationConfiguration.g:2758:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) ) 7606 pushFollow(FOLLOW_1);
7607 // InternalApplicationConfiguration.g:2759:2: (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) 7607 iv_ruleScopeSpecification=ruleScopeSpecification();
7608 { 7608
7609 // InternalApplicationConfiguration.g:2759:2: (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) 7609 state._fsp--;
7610 // InternalApplicationConfiguration.g:2760:3: otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) 7610
7611 { 7611 current =iv_ruleScopeSpecification;
7612 otherlv_0=(Token)match(input,32,FOLLOW_32); 7612 match(input,EOF,FOLLOW_2);
7613 7613
7614 newLeafNode(otherlv_0, grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); 7614 }
7615 7615
7616 // InternalApplicationConfiguration.g:2764:3: ( (lv_type_1_0= ruleRealReference ) ) 7616 }
7617 // InternalApplicationConfiguration.g:2765:4: (lv_type_1_0= ruleRealReference ) 7617
7618 { 7618 catch (RecognitionException re) {
7619 // InternalApplicationConfiguration.g:2765:4: (lv_type_1_0= ruleRealReference ) 7619 recover(input,re);
7620 // InternalApplicationConfiguration.g:2766:5: lv_type_1_0= ruleRealReference 7620 appendSkippedTokens();
7621 { 7621 }
7622 7622 finally {
7623 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0()); 7623 }
7624 7624 return current;
7625 pushFollow(FOLLOW_27); 7625 }
7626 lv_type_1_0=ruleRealReference(); 7626 // $ANTLR end "entryRuleScopeSpecification"
7627 7627
7628 state._fsp--; 7628
7629 7629 // $ANTLR start "ruleScopeSpecification"
7630 7630 // InternalApplicationConfiguration.g:2783:1: ruleScopeSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ;
7631 if (current==null) { 7631 public final EObject ruleScopeSpecification() throws RecognitionException {
7632 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); 7632 EObject current = null;
7633 } 7633
7634 set( 7634 Token otherlv_1=null;
7635 current, 7635 Token otherlv_3=null;
7636 "type", 7636 Token otherlv_5=null;
7637 lv_type_1_0, 7637 EObject lv_scopes_2_0 = null;
7638 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealReference"); 7638
7639 afterParserOrEnumRuleCall(); 7639 EObject lv_scopes_4_0 = null;
7640 7640
7641 7641
7642 } 7642
7643 7643 enterRule();
7644 7644
7645 } 7645 try {
7646 7646 // InternalApplicationConfiguration.g:2789:2: ( ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) )
7647 // InternalApplicationConfiguration.g:2783:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) 7647 // InternalApplicationConfiguration.g:2790:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' )
7648 int alt41=2; 7648 {
7649 int LA41_0 = input.LA(1); 7649 // InternalApplicationConfiguration.g:2790:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' )
7650 7650 // InternalApplicationConfiguration.g:2791:3: () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}'
7651 if ( (LA41_0==33) ) { 7651 {
7652 alt41=1; 7652 // InternalApplicationConfiguration.g:2791:3: ()
7653 } 7653 // InternalApplicationConfiguration.g:2792:4:
7654 else if ( (LA41_0==17) ) { 7654 {
7655 alt41=2; 7655
7656 } 7656 current = forceCreateModelElement(
7657 else { 7657 grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(),
7658 NoViableAltException nvae = 7658 current);
7659 new NoViableAltException("", 41, 0, input); 7659
7660 7660
7661 throw nvae; 7661 }
7662 } 7662
7663 switch (alt41) { 7663 otherlv_1=(Token)match(input,18,FOLLOW_27);
7664 case 1 : 7664
7665 // InternalApplicationConfiguration.g:2784:4: ( (lv_setsNew_2_0= '+=' ) ) 7665 newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1());
7666 { 7666
7667 // InternalApplicationConfiguration.g:2784:4: ( (lv_setsNew_2_0= '+=' ) ) 7667 // InternalApplicationConfiguration.g:2802:3: ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )?
7668 // InternalApplicationConfiguration.g:2785:5: (lv_setsNew_2_0= '+=' ) 7668 int alt37=2;
7669 { 7669 int LA37_0 = input.LA(1);
7670 // InternalApplicationConfiguration.g:2785:5: (lv_setsNew_2_0= '+=' ) 7670
7671 // InternalApplicationConfiguration.g:2786:6: lv_setsNew_2_0= '+=' 7671 if ( (LA37_0==34) ) {
7672 { 7672 alt37=1;
7673 lv_setsNew_2_0=(Token)match(input,33,FOLLOW_31); 7673 }
7674 7674 switch (alt37) {
7675 newLeafNode(lv_setsNew_2_0, grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 7675 case 1 :
7676 7676 // InternalApplicationConfiguration.g:2803:4: ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )*
7677 7677 {
7678 if (current==null) { 7678 // InternalApplicationConfiguration.g:2803:4: ( (lv_scopes_2_0= ruleTypeScope ) )
7679 current = createModelElement(grammarAccess.getRealTypeScopeRule()); 7679 // InternalApplicationConfiguration.g:2804:5: (lv_scopes_2_0= ruleTypeScope )
7680 } 7680 {
7681 setWithLastConsumed(current, "setsNew", true, "+="); 7681 // InternalApplicationConfiguration.g:2804:5: (lv_scopes_2_0= ruleTypeScope )
7682 7682 // InternalApplicationConfiguration.g:2805:6: lv_scopes_2_0= ruleTypeScope
7683 7683 {
7684 } 7684
7685 7685 newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0());
7686 7686
7687 } 7687 pushFollow(FOLLOW_14);
7688 7688 lv_scopes_2_0=ruleTypeScope();
7689 7689
7690 } 7690 state._fsp--;
7691 break; 7691
7692 case 2 : 7692
7693 // InternalApplicationConfiguration.g:2799:4: ( (lv_setsSum_3_0= '=' ) ) 7693 if (current==null) {
7694 { 7694 current = createModelElementForParent(grammarAccess.getScopeSpecificationRule());
7695 // InternalApplicationConfiguration.g:2799:4: ( (lv_setsSum_3_0= '=' ) ) 7695 }
7696 // InternalApplicationConfiguration.g:2800:5: (lv_setsSum_3_0= '=' ) 7696 add(
7697 { 7697 current,
7698 // InternalApplicationConfiguration.g:2800:5: (lv_setsSum_3_0= '=' ) 7698 "scopes",
7699 // InternalApplicationConfiguration.g:2801:6: lv_setsSum_3_0= '=' 7699 lv_scopes_2_0,
7700 { 7700 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope");
7701 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_31); 7701 afterParserOrEnumRuleCall();
7702 7702
7703 newLeafNode(lv_setsSum_3_0, grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 7703
7704 7704 }
7705 7705
7706 if (current==null) { 7706
7707 current = createModelElement(grammarAccess.getRealTypeScopeRule()); 7707 }
7708 } 7708
7709 setWithLastConsumed(current, "setsSum", true, "="); 7709 // InternalApplicationConfiguration.g:2822:4: (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )*
7710 7710 loop36:
7711 7711 do {
7712 } 7712 int alt36=2;
7713 7713 int LA36_0 = input.LA(1);
7714 7714
7715 } 7715 if ( (LA36_0==19) ) {
7716 7716 alt36=1;
7717 7717 }
7718 } 7718
7719 break; 7719
7720 7720 switch (alt36) {
7721 } 7721 case 1 :
7722 7722 // InternalApplicationConfiguration.g:2823:5: otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) )
7723 // InternalApplicationConfiguration.g:2814:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) 7723 {
7724 int alt42=3; 7724 otherlv_3=(Token)match(input,19,FOLLOW_28);
7725 switch ( input.LA(1) ) { 7725
7726 case RULE_INT: 7726 newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0());
7727 { 7727
7728 int LA42_1 = input.LA(2); 7728 // InternalApplicationConfiguration.g:2827:5: ( (lv_scopes_4_0= ruleTypeScope ) )
7729 7729 // InternalApplicationConfiguration.g:2828:6: (lv_scopes_4_0= ruleTypeScope )
7730 if ( (LA42_1==EOF||(LA42_1>=19 && LA42_1<=20)) ) { 7730 {
7731 alt42=1; 7731 // InternalApplicationConfiguration.g:2828:6: (lv_scopes_4_0= ruleTypeScope )
7732 } 7732 // InternalApplicationConfiguration.g:2829:7: lv_scopes_4_0= ruleTypeScope
7733 else if ( (LA42_1==41) ) { 7733 {
7734 alt42=2; 7734
7735 } 7735 newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0());
7736 else { 7736
7737 NoViableAltException nvae = 7737 pushFollow(FOLLOW_14);
7738 new NoViableAltException("", 42, 1, input); 7738 lv_scopes_4_0=ruleTypeScope();
7739 7739
7740 throw nvae; 7740 state._fsp--;
7741 } 7741
7742 } 7742
7743 break; 7743 if (current==null) {
7744 case 40: 7744 current = createModelElementForParent(grammarAccess.getScopeSpecificationRule());
7745 { 7745 }
7746 alt42=1; 7746 add(
7747 } 7747 current,
7748 break; 7748 "scopes",
7749 case 18: 7749 lv_scopes_4_0,
7750 { 7750 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope");
7751 alt42=3; 7751 afterParserOrEnumRuleCall();
7752 } 7752
7753 break; 7753
7754 default: 7754 }
7755 NoViableAltException nvae = 7755
7756 new NoViableAltException("", 42, 0, input); 7756
7757 7757 }
7758 throw nvae; 7758
7759 } 7759
7760 7760 }
7761 switch (alt42) { 7761 break;
7762 case 1 : 7762
7763 // InternalApplicationConfiguration.g:2815:4: ( (lv_number_4_0= ruleExactNumber ) ) 7763 default :
7764 { 7764 break loop36;
7765 // InternalApplicationConfiguration.g:2815:4: ( (lv_number_4_0= ruleExactNumber ) ) 7765 }
7766 // InternalApplicationConfiguration.g:2816:5: (lv_number_4_0= ruleExactNumber ) 7766 } while (true);
7767 { 7767
7768 // InternalApplicationConfiguration.g:2816:5: (lv_number_4_0= ruleExactNumber ) 7768
7769 // InternalApplicationConfiguration.g:2817:6: lv_number_4_0= ruleExactNumber 7769 }
7770 { 7770 break;
7771 7771
7772 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 7772 }
7773 7773
7774 pushFollow(FOLLOW_2); 7774 otherlv_5=(Token)match(input,20,FOLLOW_2);
7775 lv_number_4_0=ruleExactNumber(); 7775
7776 7776 newLeafNode(otherlv_5, grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3());
7777 state._fsp--; 7777
7778 7778
7779 7779 }
7780 if (current==null) { 7780
7781 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); 7781
7782 } 7782 }
7783 set( 7783
7784 current, 7784
7785 "number", 7785 leaveRule();
7786 lv_number_4_0, 7786
7787 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 7787 }
7788 afterParserOrEnumRuleCall(); 7788
7789 7789 catch (RecognitionException re) {
7790 7790 recover(input,re);
7791 } 7791 appendSkippedTokens();
7792 7792 }
7793 7793 finally {
7794 } 7794 }
7795 7795 return current;
7796 7796 }
7797 } 7797 // $ANTLR end "ruleScopeSpecification"
7798 break; 7798
7799 case 2 : 7799
7800 // InternalApplicationConfiguration.g:2835:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 7800 // $ANTLR start "entryRuleTypeScope"
7801 { 7801 // InternalApplicationConfiguration.g:2856:1: entryRuleTypeScope returns [EObject current=null] : iv_ruleTypeScope= ruleTypeScope EOF ;
7802 // InternalApplicationConfiguration.g:2835:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 7802 public final EObject entryRuleTypeScope() throws RecognitionException {
7803 // InternalApplicationConfiguration.g:2836:5: (lv_number_5_0= ruleIntervallNumber ) 7803 EObject current = null;
7804 { 7804
7805 // InternalApplicationConfiguration.g:2836:5: (lv_number_5_0= ruleIntervallNumber ) 7805 EObject iv_ruleTypeScope = null;
7806 // InternalApplicationConfiguration.g:2837:6: lv_number_5_0= ruleIntervallNumber 7806
7807 { 7807
7808 7808 try {
7809 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 7809 // InternalApplicationConfiguration.g:2856:50: (iv_ruleTypeScope= ruleTypeScope EOF )
7810 7810 // InternalApplicationConfiguration.g:2857:2: iv_ruleTypeScope= ruleTypeScope EOF
7811 pushFollow(FOLLOW_2); 7811 {
7812 lv_number_5_0=ruleIntervallNumber(); 7812 newCompositeNode(grammarAccess.getTypeScopeRule());
7813 7813 pushFollow(FOLLOW_1);
7814 state._fsp--; 7814 iv_ruleTypeScope=ruleTypeScope();
7815 7815
7816 7816 state._fsp--;
7817 if (current==null) { 7817
7818 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); 7818 current =iv_ruleTypeScope;
7819 } 7819 match(input,EOF,FOLLOW_2);
7820 set( 7820
7821 current, 7821 }
7822 "number", 7822
7823 lv_number_5_0, 7823 }
7824 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 7824
7825 afterParserOrEnumRuleCall(); 7825 catch (RecognitionException re) {
7826 7826 recover(input,re);
7827 7827 appendSkippedTokens();
7828 } 7828 }
7829 7829 finally {
7830 7830 }
7831 } 7831 return current;
7832 7832 }
7833 7833 // $ANTLR end "entryRuleTypeScope"
7834 } 7834
7835 break; 7835
7836 case 3 : 7836 // $ANTLR start "ruleTypeScope"
7837 // InternalApplicationConfiguration.g:2855:4: ( (lv_number_6_0= ruleRealEnumeration ) ) 7837 // InternalApplicationConfiguration.g:2863:1: ruleTypeScope returns [EObject current=null] : (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) ;
7838 { 7838 public final EObject ruleTypeScope() throws RecognitionException {
7839 // InternalApplicationConfiguration.g:2855:4: ( (lv_number_6_0= ruleRealEnumeration ) ) 7839 EObject current = null;
7840 // InternalApplicationConfiguration.g:2856:5: (lv_number_6_0= ruleRealEnumeration ) 7840
7841 { 7841 EObject this_ClassTypeScope_0 = null;
7842 // InternalApplicationConfiguration.g:2856:5: (lv_number_6_0= ruleRealEnumeration ) 7842
7843 // InternalApplicationConfiguration.g:2857:6: lv_number_6_0= ruleRealEnumeration 7843 EObject this_ObjectTypeScope_1 = null;
7844 { 7844
7845 7845 EObject this_IntegerTypeScope_2 = null;
7846 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0()); 7846
7847 7847 EObject this_RealTypeScope_3 = null;
7848 pushFollow(FOLLOW_2); 7848
7849 lv_number_6_0=ruleRealEnumeration(); 7849 EObject this_StringTypeScope_4 = null;
7850 7850
7851 state._fsp--; 7851
7852 7852
7853 7853 enterRule();
7854 if (current==null) { 7854
7855 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); 7855 try {
7856 } 7856 // InternalApplicationConfiguration.g:2869:2: ( (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) )
7857 set( 7857 // InternalApplicationConfiguration.g:2870:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope )
7858 current, 7858 {
7859 "number", 7859 // InternalApplicationConfiguration.g:2870:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope )
7860 lv_number_6_0, 7860 int alt38=5;
7861 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealEnumeration"); 7861 int LA38_0 = input.LA(1);
7862 afterParserOrEnumRuleCall(); 7862
7863 7863 if ( (LA38_0==34) ) {
7864 7864 switch ( input.LA(2) ) {
7865 } 7865 case 39:
7866 7866 {
7867 7867 alt38=3;
7868 } 7868 }
7869 7869 break;
7870 7870 case 40:
7871 } 7871 {
7872 break; 7872 alt38=4;
7873 7873 }
7874 } 7874 break;
7875 7875 case 41:
7876 7876 {
7877 } 7877 alt38=5;
7878 7878 }
7879 7879 break;
7880 } 7880 case 36:
7881 7881 {
7882 7882 alt38=1;
7883 leaveRule(); 7883 }
7884 7884 break;
7885 } 7885 case 38:
7886 7886 {
7887 catch (RecognitionException re) { 7887 alt38=2;
7888 recover(input,re); 7888 }
7889 appendSkippedTokens(); 7889 break;
7890 } 7890 default:
7891 finally { 7891 NoViableAltException nvae =
7892 } 7892 new NoViableAltException("", 38, 1, input);
7893 return current; 7893
7894 } 7894 throw nvae;
7895 // $ANTLR end "ruleRealTypeScope" 7895 }
7896 7896
7897 7897 }
7898 // $ANTLR start "entryRuleStringTypeScope" 7898 else {
7899 // InternalApplicationConfiguration.g:2879:1: entryRuleStringTypeScope returns [EObject current=null] : iv_ruleStringTypeScope= ruleStringTypeScope EOF ; 7899 NoViableAltException nvae =
7900 public final EObject entryRuleStringTypeScope() throws RecognitionException { 7900 new NoViableAltException("", 38, 0, input);
7901 EObject current = null; 7901
7902 7902 throw nvae;
7903 EObject iv_ruleStringTypeScope = null; 7903 }
7904 7904 switch (alt38) {
7905 7905 case 1 :
7906 try { 7906 // InternalApplicationConfiguration.g:2871:3: this_ClassTypeScope_0= ruleClassTypeScope
7907 // InternalApplicationConfiguration.g:2879:56: (iv_ruleStringTypeScope= ruleStringTypeScope EOF ) 7907 {
7908 // InternalApplicationConfiguration.g:2880:2: iv_ruleStringTypeScope= ruleStringTypeScope EOF 7908
7909 { 7909 newCompositeNode(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0());
7910 newCompositeNode(grammarAccess.getStringTypeScopeRule()); 7910
7911 pushFollow(FOLLOW_1); 7911 pushFollow(FOLLOW_2);
7912 iv_ruleStringTypeScope=ruleStringTypeScope(); 7912 this_ClassTypeScope_0=ruleClassTypeScope();
7913 7913
7914 state._fsp--; 7914 state._fsp--;
7915 7915
7916 current =iv_ruleStringTypeScope; 7916
7917 match(input,EOF,FOLLOW_2); 7917 current = this_ClassTypeScope_0;
7918 7918 afterParserOrEnumRuleCall();
7919 } 7919
7920 7920
7921 } 7921 }
7922 7922 break;
7923 catch (RecognitionException re) { 7923 case 2 :
7924 recover(input,re); 7924 // InternalApplicationConfiguration.g:2880:3: this_ObjectTypeScope_1= ruleObjectTypeScope
7925 appendSkippedTokens(); 7925 {
7926 } 7926
7927 finally { 7927 newCompositeNode(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1());
7928 } 7928
7929 return current; 7929 pushFollow(FOLLOW_2);
7930 } 7930 this_ObjectTypeScope_1=ruleObjectTypeScope();
7931 // $ANTLR end "entryRuleStringTypeScope" 7931
7932 7932 state._fsp--;
7933 7933
7934 // $ANTLR start "ruleStringTypeScope" 7934
7935 // InternalApplicationConfiguration.g:2886:1: ruleStringTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) ; 7935 current = this_ObjectTypeScope_1;
7936 public final EObject ruleStringTypeScope() throws RecognitionException { 7936 afterParserOrEnumRuleCall();
7937 EObject current = null; 7937
7938 7938
7939 Token otherlv_0=null; 7939 }
7940 Token lv_setsNew_2_0=null; 7940 break;
7941 Token lv_setsSum_3_0=null; 7941 case 3 :
7942 EObject lv_type_1_0 = null; 7942 // InternalApplicationConfiguration.g:2889:3: this_IntegerTypeScope_2= ruleIntegerTypeScope
7943 7943 {
7944 EObject lv_number_4_0 = null; 7944
7945 7945 newCompositeNode(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2());
7946 EObject lv_number_5_0 = null; 7946
7947 7947 pushFollow(FOLLOW_2);
7948 EObject lv_number_6_0 = null; 7948 this_IntegerTypeScope_2=ruleIntegerTypeScope();
7949 7949
7950 7950 state._fsp--;
7951 7951
7952 enterRule(); 7952
7953 7953 current = this_IntegerTypeScope_2;
7954 try { 7954 afterParserOrEnumRuleCall();
7955 // InternalApplicationConfiguration.g:2892:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) ) 7955
7956 // InternalApplicationConfiguration.g:2893:2: (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) 7956
7957 { 7957 }
7958 // InternalApplicationConfiguration.g:2893:2: (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) 7958 break;
7959 // InternalApplicationConfiguration.g:2894:3: otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) 7959 case 4 :
7960 { 7960 // InternalApplicationConfiguration.g:2898:3: this_RealTypeScope_3= ruleRealTypeScope
7961 otherlv_0=(Token)match(input,32,FOLLOW_33); 7961 {
7962 7962
7963 newLeafNode(otherlv_0, grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); 7963 newCompositeNode(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3());
7964 7964
7965 // InternalApplicationConfiguration.g:2898:3: ( (lv_type_1_0= ruleStringReference ) ) 7965 pushFollow(FOLLOW_2);
7966 // InternalApplicationConfiguration.g:2899:4: (lv_type_1_0= ruleStringReference ) 7966 this_RealTypeScope_3=ruleRealTypeScope();
7967 { 7967
7968 // InternalApplicationConfiguration.g:2899:4: (lv_type_1_0= ruleStringReference ) 7968 state._fsp--;
7969 // InternalApplicationConfiguration.g:2900:5: lv_type_1_0= ruleStringReference 7969
7970 { 7970
7971 7971 current = this_RealTypeScope_3;
7972 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0()); 7972 afterParserOrEnumRuleCall();
7973 7973
7974 pushFollow(FOLLOW_27); 7974
7975 lv_type_1_0=ruleStringReference(); 7975 }
7976 7976 break;
7977 state._fsp--; 7977 case 5 :
7978 7978 // InternalApplicationConfiguration.g:2907:3: this_StringTypeScope_4= ruleStringTypeScope
7979 7979 {
7980 if (current==null) { 7980
7981 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); 7981 newCompositeNode(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4());
7982 } 7982
7983 set( 7983 pushFollow(FOLLOW_2);
7984 current, 7984 this_StringTypeScope_4=ruleStringTypeScope();
7985 "type", 7985
7986 lv_type_1_0, 7986 state._fsp--;
7987 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringReference"); 7987
7988 afterParserOrEnumRuleCall(); 7988
7989 7989 current = this_StringTypeScope_4;
7990 7990 afterParserOrEnumRuleCall();
7991 } 7991
7992 7992
7993 7993 }
7994 } 7994 break;
7995 7995
7996 // InternalApplicationConfiguration.g:2917:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) 7996 }
7997 int alt43=2; 7997
7998 int LA43_0 = input.LA(1); 7998
7999 7999 }
8000 if ( (LA43_0==33) ) { 8000
8001 alt43=1; 8001
8002 } 8002 leaveRule();
8003 else if ( (LA43_0==17) ) { 8003
8004 alt43=2; 8004 }
8005 } 8005
8006 else { 8006 catch (RecognitionException re) {
8007 NoViableAltException nvae = 8007 recover(input,re);
8008 new NoViableAltException("", 43, 0, input); 8008 appendSkippedTokens();
8009 8009 }
8010 throw nvae; 8010 finally {
8011 } 8011 }
8012 switch (alt43) { 8012 return current;
8013 case 1 : 8013 }
8014 // InternalApplicationConfiguration.g:2918:4: ( (lv_setsNew_2_0= '+=' ) ) 8014 // $ANTLR end "ruleTypeScope"
8015 { 8015
8016 // InternalApplicationConfiguration.g:2918:4: ( (lv_setsNew_2_0= '+=' ) ) 8016
8017 // InternalApplicationConfiguration.g:2919:5: (lv_setsNew_2_0= '+=' ) 8017 // $ANTLR start "entryRuleClassTypeScope"
8018 { 8018 // InternalApplicationConfiguration.g:2919:1: entryRuleClassTypeScope returns [EObject current=null] : iv_ruleClassTypeScope= ruleClassTypeScope EOF ;
8019 // InternalApplicationConfiguration.g:2919:5: (lv_setsNew_2_0= '+=' ) 8019 public final EObject entryRuleClassTypeScope() throws RecognitionException {
8020 // InternalApplicationConfiguration.g:2920:6: lv_setsNew_2_0= '+=' 8020 EObject current = null;
8021 { 8021
8022 lv_setsNew_2_0=(Token)match(input,33,FOLLOW_31); 8022 EObject iv_ruleClassTypeScope = null;
8023 8023
8024 newLeafNode(lv_setsNew_2_0, grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 8024
8025 8025 try {
8026 8026 // InternalApplicationConfiguration.g:2919:55: (iv_ruleClassTypeScope= ruleClassTypeScope EOF )
8027 if (current==null) { 8027 // InternalApplicationConfiguration.g:2920:2: iv_ruleClassTypeScope= ruleClassTypeScope EOF
8028 current = createModelElement(grammarAccess.getStringTypeScopeRule()); 8028 {
8029 } 8029 newCompositeNode(grammarAccess.getClassTypeScopeRule());
8030 setWithLastConsumed(current, "setsNew", true, "+="); 8030 pushFollow(FOLLOW_1);
8031 8031 iv_ruleClassTypeScope=ruleClassTypeScope();
8032 8032
8033 } 8033 state._fsp--;
8034 8034
8035 8035 current =iv_ruleClassTypeScope;
8036 } 8036 match(input,EOF,FOLLOW_2);
8037 8037
8038 8038 }
8039 } 8039
8040 break; 8040 }
8041 case 2 : 8041
8042 // InternalApplicationConfiguration.g:2933:4: ( (lv_setsSum_3_0= '=' ) ) 8042 catch (RecognitionException re) {
8043 { 8043 recover(input,re);
8044 // InternalApplicationConfiguration.g:2933:4: ( (lv_setsSum_3_0= '=' ) ) 8044 appendSkippedTokens();
8045 // InternalApplicationConfiguration.g:2934:5: (lv_setsSum_3_0= '=' ) 8045 }
8046 { 8046 finally {
8047 // InternalApplicationConfiguration.g:2934:5: (lv_setsSum_3_0= '=' ) 8047 }
8048 // InternalApplicationConfiguration.g:2935:6: lv_setsSum_3_0= '=' 8048 return current;
8049 { 8049 }
8050 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_31); 8050 // $ANTLR end "entryRuleClassTypeScope"
8051 8051
8052 newLeafNode(lv_setsSum_3_0, grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 8052
8053 8053 // $ANTLR start "ruleClassTypeScope"
8054 8054 // InternalApplicationConfiguration.g:2926:1: ruleClassTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ;
8055 if (current==null) { 8055 public final EObject ruleClassTypeScope() throws RecognitionException {
8056 current = createModelElement(grammarAccess.getStringTypeScopeRule()); 8056 EObject current = null;
8057 } 8057
8058 setWithLastConsumed(current, "setsSum", true, "="); 8058 Token otherlv_0=null;
8059 8059 Token lv_setsNew_2_0=null;
8060 8060 Token lv_setsSum_3_0=null;
8061 } 8061 EObject lv_type_1_0 = null;
8062 8062
8063 8063 EObject lv_number_4_0 = null;
8064 } 8064
8065 8065 EObject lv_number_5_0 = null;
8066 8066
8067 } 8067
8068 break; 8068
8069 8069 enterRule();
8070 } 8070
8071 8071 try {
8072 // InternalApplicationConfiguration.g:2948:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) 8072 // InternalApplicationConfiguration.g:2932:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) )
8073 int alt44=3; 8073 // InternalApplicationConfiguration.g:2933:2: (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) )
8074 switch ( input.LA(1) ) { 8074 {
8075 case RULE_INT: 8075 // InternalApplicationConfiguration.g:2933:2: (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) )
8076 { 8076 // InternalApplicationConfiguration.g:2934:3: otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) )
8077 int LA44_1 = input.LA(2); 8077 {
8078 8078 otherlv_0=(Token)match(input,34,FOLLOW_29);
8079 if ( (LA44_1==41) ) { 8079
8080 alt44=2; 8080 newLeafNode(otherlv_0, grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0());
8081 } 8081
8082 else if ( (LA44_1==EOF||(LA44_1>=19 && LA44_1<=20)) ) { 8082 // InternalApplicationConfiguration.g:2938:3: ( (lv_type_1_0= ruleClassReference ) )
8083 alt44=1; 8083 // InternalApplicationConfiguration.g:2939:4: (lv_type_1_0= ruleClassReference )
8084 } 8084 {
8085 else { 8085 // InternalApplicationConfiguration.g:2939:4: (lv_type_1_0= ruleClassReference )
8086 NoViableAltException nvae = 8086 // InternalApplicationConfiguration.g:2940:5: lv_type_1_0= ruleClassReference
8087 new NoViableAltException("", 44, 1, input); 8087 {
8088 8088
8089 throw nvae; 8089 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0());
8090 } 8090
8091 } 8091 pushFollow(FOLLOW_30);
8092 break; 8092 lv_type_1_0=ruleClassReference();
8093 case 40: 8093
8094 { 8094 state._fsp--;
8095 alt44=1; 8095
8096 } 8096
8097 break; 8097 if (current==null) {
8098 case 18: 8098 current = createModelElementForParent(grammarAccess.getClassTypeScopeRule());
8099 { 8099 }
8100 alt44=3; 8100 set(
8101 } 8101 current,
8102 break; 8102 "type",
8103 default: 8103 lv_type_1_0,
8104 NoViableAltException nvae = 8104 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassReference");
8105 new NoViableAltException("", 44, 0, input); 8105 afterParserOrEnumRuleCall();
8106 8106
8107 throw nvae; 8107
8108 } 8108 }
8109 8109
8110 switch (alt44) { 8110
8111 case 1 : 8111 }
8112 // InternalApplicationConfiguration.g:2949:4: ( (lv_number_4_0= ruleExactNumber ) ) 8112
8113 { 8113 // InternalApplicationConfiguration.g:2957:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) )
8114 // InternalApplicationConfiguration.g:2949:4: ( (lv_number_4_0= ruleExactNumber ) ) 8114 int alt39=2;
8115 // InternalApplicationConfiguration.g:2950:5: (lv_number_4_0= ruleExactNumber ) 8115 int LA39_0 = input.LA(1);
8116 { 8116
8117 // InternalApplicationConfiguration.g:2950:5: (lv_number_4_0= ruleExactNumber ) 8117 if ( (LA39_0==35) ) {
8118 // InternalApplicationConfiguration.g:2951:6: lv_number_4_0= ruleExactNumber 8118 alt39=1;
8119 { 8119 }
8120 8120 else if ( (LA39_0==17) ) {
8121 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 8121 alt39=2;
8122 8122 }
8123 pushFollow(FOLLOW_2); 8123 else {
8124 lv_number_4_0=ruleExactNumber(); 8124 NoViableAltException nvae =
8125 8125 new NoViableAltException("", 39, 0, input);
8126 state._fsp--; 8126
8127 8127 throw nvae;
8128 8128 }
8129 if (current==null) { 8129 switch (alt39) {
8130 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); 8130 case 1 :
8131 } 8131 // InternalApplicationConfiguration.g:2958:4: ( (lv_setsNew_2_0= '+=' ) )
8132 set( 8132 {
8133 current, 8133 // InternalApplicationConfiguration.g:2958:4: ( (lv_setsNew_2_0= '+=' ) )
8134 "number", 8134 // InternalApplicationConfiguration.g:2959:5: (lv_setsNew_2_0= '+=' )
8135 lv_number_4_0, 8135 {
8136 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 8136 // InternalApplicationConfiguration.g:2959:5: (lv_setsNew_2_0= '+=' )
8137 afterParserOrEnumRuleCall(); 8137 // InternalApplicationConfiguration.g:2960:6: lv_setsNew_2_0= '+='
8138 8138 {
8139 8139 lv_setsNew_2_0=(Token)match(input,35,FOLLOW_31);
8140 } 8140
8141 8141 newLeafNode(lv_setsNew_2_0, grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
8142 8142
8143 } 8143
8144 8144 if (current==null) {
8145 8145 current = createModelElement(grammarAccess.getClassTypeScopeRule());
8146 } 8146 }
8147 break; 8147 setWithLastConsumed(current, "setsNew", true, "+=");
8148 case 2 : 8148
8149 // InternalApplicationConfiguration.g:2969:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 8149
8150 { 8150 }
8151 // InternalApplicationConfiguration.g:2969:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 8151
8152 // InternalApplicationConfiguration.g:2970:5: (lv_number_5_0= ruleIntervallNumber ) 8152
8153 { 8153 }
8154 // InternalApplicationConfiguration.g:2970:5: (lv_number_5_0= ruleIntervallNumber ) 8154
8155 // InternalApplicationConfiguration.g:2971:6: lv_number_5_0= ruleIntervallNumber 8155
8156 { 8156 }
8157 8157 break;
8158 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 8158 case 2 :
8159 8159 // InternalApplicationConfiguration.g:2973:4: ( (lv_setsSum_3_0= '=' ) )
8160 pushFollow(FOLLOW_2); 8160 {
8161 lv_number_5_0=ruleIntervallNumber(); 8161 // InternalApplicationConfiguration.g:2973:4: ( (lv_setsSum_3_0= '=' ) )
8162 8162 // InternalApplicationConfiguration.g:2974:5: (lv_setsSum_3_0= '=' )
8163 state._fsp--; 8163 {
8164 8164 // InternalApplicationConfiguration.g:2974:5: (lv_setsSum_3_0= '=' )
8165 8165 // InternalApplicationConfiguration.g:2975:6: lv_setsSum_3_0= '='
8166 if (current==null) { 8166 {
8167 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); 8167 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_31);
8168 } 8168
8169 set( 8169 newLeafNode(lv_setsSum_3_0, grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
8170 current, 8170
8171 "number", 8171
8172 lv_number_5_0, 8172 if (current==null) {
8173 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 8173 current = createModelElement(grammarAccess.getClassTypeScopeRule());
8174 afterParserOrEnumRuleCall(); 8174 }
8175 8175 setWithLastConsumed(current, "setsSum", true, "=");
8176 8176
8177 } 8177
8178 8178 }
8179 8179
8180 } 8180
8181 8181 }
8182 8182
8183 } 8183
8184 break; 8184 }
8185 case 3 : 8185 break;
8186 // InternalApplicationConfiguration.g:2989:4: ( (lv_number_6_0= ruleStringEnumeration ) ) 8186
8187 { 8187 }
8188 // InternalApplicationConfiguration.g:2989:4: ( (lv_number_6_0= ruleStringEnumeration ) ) 8188
8189 // InternalApplicationConfiguration.g:2990:5: (lv_number_6_0= ruleStringEnumeration ) 8189 // InternalApplicationConfiguration.g:2988:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) )
8190 { 8190 int alt40=2;
8191 // InternalApplicationConfiguration.g:2990:5: (lv_number_6_0= ruleStringEnumeration ) 8191 int LA40_0 = input.LA(1);
8192 // InternalApplicationConfiguration.g:2991:6: lv_number_6_0= ruleStringEnumeration 8192
8193 { 8193 if ( (LA40_0==RULE_INT) ) {
8194 8194 int LA40_1 = input.LA(2);
8195 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0()); 8195
8196 8196 if ( (LA40_1==EOF||(LA40_1>=19 && LA40_1<=20)) ) {
8197 pushFollow(FOLLOW_2); 8197 alt40=1;
8198 lv_number_6_0=ruleStringEnumeration(); 8198 }
8199 8199 else if ( (LA40_1==43) ) {
8200 state._fsp--; 8200 alt40=2;
8201 8201 }
8202 8202 else {
8203 if (current==null) { 8203 NoViableAltException nvae =
8204 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); 8204 new NoViableAltException("", 40, 1, input);
8205 } 8205
8206 set( 8206 throw nvae;
8207 current, 8207 }
8208 "number", 8208 }
8209 lv_number_6_0, 8209 else if ( (LA40_0==42) ) {
8210 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringEnumeration"); 8210 alt40=1;
8211 afterParserOrEnumRuleCall(); 8211 }
8212 8212 else {
8213 8213 NoViableAltException nvae =
8214 } 8214 new NoViableAltException("", 40, 0, input);
8215 8215
8216 8216 throw nvae;
8217 } 8217 }
8218 8218 switch (alt40) {
8219 8219 case 1 :
8220 } 8220 // InternalApplicationConfiguration.g:2989:4: ( (lv_number_4_0= ruleExactNumber ) )
8221 break; 8221 {
8222 8222 // InternalApplicationConfiguration.g:2989:4: ( (lv_number_4_0= ruleExactNumber ) )
8223 } 8223 // InternalApplicationConfiguration.g:2990:5: (lv_number_4_0= ruleExactNumber )
8224 8224 {
8225 8225 // InternalApplicationConfiguration.g:2990:5: (lv_number_4_0= ruleExactNumber )
8226 } 8226 // InternalApplicationConfiguration.g:2991:6: lv_number_4_0= ruleExactNumber
8227 8227 {
8228 8228
8229 } 8229 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
8230 8230
8231 8231 pushFollow(FOLLOW_2);
8232 leaveRule(); 8232 lv_number_4_0=ruleExactNumber();
8233 8233
8234 } 8234 state._fsp--;
8235 8235
8236 catch (RecognitionException re) { 8236
8237 recover(input,re); 8237 if (current==null) {
8238 appendSkippedTokens(); 8238 current = createModelElementForParent(grammarAccess.getClassTypeScopeRule());
8239 } 8239 }
8240 finally { 8240 set(
8241 } 8241 current,
8242 return current; 8242 "number",
8243 } 8243 lv_number_4_0,
8244 // $ANTLR end "ruleStringTypeScope" 8244 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
8245 8245 afterParserOrEnumRuleCall();
8246 8246
8247 // $ANTLR start "entryRuleClassReference" 8247
8248 // InternalApplicationConfiguration.g:3013:1: entryRuleClassReference returns [EObject current=null] : iv_ruleClassReference= ruleClassReference EOF ; 8248 }
8249 public final EObject entryRuleClassReference() throws RecognitionException { 8249
8250 EObject current = null; 8250
8251 8251 }
8252 EObject iv_ruleClassReference = null; 8252
8253 8253
8254 8254 }
8255 try { 8255 break;
8256 // InternalApplicationConfiguration.g:3013:55: (iv_ruleClassReference= ruleClassReference EOF ) 8256 case 2 :
8257 // InternalApplicationConfiguration.g:3014:2: iv_ruleClassReference= ruleClassReference EOF 8257 // InternalApplicationConfiguration.g:3009:4: ( (lv_number_5_0= ruleIntervallNumber ) )
8258 { 8258 {
8259 newCompositeNode(grammarAccess.getClassReferenceRule()); 8259 // InternalApplicationConfiguration.g:3009:4: ( (lv_number_5_0= ruleIntervallNumber ) )
8260 pushFollow(FOLLOW_1); 8260 // InternalApplicationConfiguration.g:3010:5: (lv_number_5_0= ruleIntervallNumber )
8261 iv_ruleClassReference=ruleClassReference(); 8261 {
8262 8262 // InternalApplicationConfiguration.g:3010:5: (lv_number_5_0= ruleIntervallNumber )
8263 state._fsp--; 8263 // InternalApplicationConfiguration.g:3011:6: lv_number_5_0= ruleIntervallNumber
8264 8264 {
8265 current =iv_ruleClassReference; 8265
8266 match(input,EOF,FOLLOW_2); 8266 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
8267 8267
8268 } 8268 pushFollow(FOLLOW_2);
8269 8269 lv_number_5_0=ruleIntervallNumber();
8270 } 8270
8271 8271 state._fsp--;
8272 catch (RecognitionException re) { 8272
8273 recover(input,re); 8273
8274 appendSkippedTokens(); 8274 if (current==null) {
8275 } 8275 current = createModelElementForParent(grammarAccess.getClassTypeScopeRule());
8276 finally { 8276 }
8277 } 8277 set(
8278 return current; 8278 current,
8279 } 8279 "number",
8280 // $ANTLR end "entryRuleClassReference" 8280 lv_number_5_0,
8281 8281 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
8282 8282 afterParserOrEnumRuleCall();
8283 // $ANTLR start "ruleClassReference" 8283
8284 // InternalApplicationConfiguration.g:3020:1: ruleClassReference returns [EObject current=null] : (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) ; 8284
8285 public final EObject ruleClassReference() throws RecognitionException { 8285 }
8286 EObject current = null; 8286
8287 8287
8288 Token otherlv_0=null; 8288 }
8289 Token otherlv_2=null; 8289
8290 EObject lv_element_1_0 = null; 8290
8291 8291 }
8292 8292 break;
8293 8293
8294 enterRule(); 8294 }
8295 8295
8296 try { 8296
8297 // InternalApplicationConfiguration.g:3026:2: ( (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) ) 8297 }
8298 // InternalApplicationConfiguration.g:3027:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) 8298
8299 { 8299
8300 // InternalApplicationConfiguration.g:3027:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) 8300 }
8301 // InternalApplicationConfiguration.g:3028:3: otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' 8301
8302 { 8302
8303 otherlv_0=(Token)match(input,34,FOLLOW_6); 8303 leaveRule();
8304 8304
8305 newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0()); 8305 }
8306 8306
8307 // InternalApplicationConfiguration.g:3032:3: ( (lv_element_1_0= ruleMetamodelElement ) ) 8307 catch (RecognitionException re) {
8308 // InternalApplicationConfiguration.g:3033:4: (lv_element_1_0= ruleMetamodelElement ) 8308 recover(input,re);
8309 { 8309 appendSkippedTokens();
8310 // InternalApplicationConfiguration.g:3033:4: (lv_element_1_0= ruleMetamodelElement ) 8310 }
8311 // InternalApplicationConfiguration.g:3034:5: lv_element_1_0= ruleMetamodelElement 8311 finally {
8312 { 8312 }
8313 8313 return current;
8314 newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); 8314 }
8315 8315 // $ANTLR end "ruleClassTypeScope"
8316 pushFollow(FOLLOW_34); 8316
8317 lv_element_1_0=ruleMetamodelElement(); 8317
8318 8318 // $ANTLR start "entryRuleObjectTypeScope"
8319 state._fsp--; 8319 // InternalApplicationConfiguration.g:3033:1: entryRuleObjectTypeScope returns [EObject current=null] : iv_ruleObjectTypeScope= ruleObjectTypeScope EOF ;
8320 8320 public final EObject entryRuleObjectTypeScope() throws RecognitionException {
8321 8321 EObject current = null;
8322 if (current==null) { 8322
8323 current = createModelElementForParent(grammarAccess.getClassReferenceRule()); 8323 EObject iv_ruleObjectTypeScope = null;
8324 } 8324
8325 set( 8325
8326 current, 8326 try {
8327 "element", 8327 // InternalApplicationConfiguration.g:3033:56: (iv_ruleObjectTypeScope= ruleObjectTypeScope EOF )
8328 lv_element_1_0, 8328 // InternalApplicationConfiguration.g:3034:2: iv_ruleObjectTypeScope= ruleObjectTypeScope EOF
8329 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); 8329 {
8330 afterParserOrEnumRuleCall(); 8330 newCompositeNode(grammarAccess.getObjectTypeScopeRule());
8331 8331 pushFollow(FOLLOW_1);
8332 8332 iv_ruleObjectTypeScope=ruleObjectTypeScope();
8333 } 8333
8334 8334 state._fsp--;
8335 8335
8336 } 8336 current =iv_ruleObjectTypeScope;
8337 8337 match(input,EOF,FOLLOW_2);
8338 otherlv_2=(Token)match(input,35,FOLLOW_2); 8338
8339 8339 }
8340 newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2()); 8340
8341 8341 }
8342 8342
8343 } 8343 catch (RecognitionException re) {
8344 8344 recover(input,re);
8345 8345 appendSkippedTokens();
8346 } 8346 }
8347 8347 finally {
8348 8348 }
8349 leaveRule(); 8349 return current;
8350 8350 }
8351 } 8351 // $ANTLR end "entryRuleObjectTypeScope"
8352 8352
8353 catch (RecognitionException re) { 8353
8354 recover(input,re); 8354 // $ANTLR start "ruleObjectTypeScope"
8355 appendSkippedTokens(); 8355 // InternalApplicationConfiguration.g:3040:1: ruleObjectTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ;
8356 } 8356 public final EObject ruleObjectTypeScope() throws RecognitionException {
8357 finally { 8357 EObject current = null;
8358 } 8358
8359 return current; 8359 Token otherlv_0=null;
8360 } 8360 Token lv_setsNew_2_0=null;
8361 // $ANTLR end "ruleClassReference" 8361 Token lv_setsSum_3_0=null;
8362 8362 EObject lv_type_1_0 = null;
8363 8363
8364 // $ANTLR start "entryRuleObjectReference" 8364 EObject lv_number_4_0 = null;
8365 // InternalApplicationConfiguration.g:3059:1: entryRuleObjectReference returns [EObject current=null] : iv_ruleObjectReference= ruleObjectReference EOF ; 8365
8366 public final EObject entryRuleObjectReference() throws RecognitionException { 8366 EObject lv_number_5_0 = null;
8367 EObject current = null; 8367
8368 8368
8369 EObject iv_ruleObjectReference = null; 8369
8370 8370 enterRule();
8371 8371
8372 try { 8372 try {
8373 // InternalApplicationConfiguration.g:3059:56: (iv_ruleObjectReference= ruleObjectReference EOF ) 8373 // InternalApplicationConfiguration.g:3046:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) )
8374 // InternalApplicationConfiguration.g:3060:2: iv_ruleObjectReference= ruleObjectReference EOF 8374 // InternalApplicationConfiguration.g:3047:2: (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) )
8375 { 8375 {
8376 newCompositeNode(grammarAccess.getObjectReferenceRule()); 8376 // InternalApplicationConfiguration.g:3047:2: (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) )
8377 pushFollow(FOLLOW_1); 8377 // InternalApplicationConfiguration.g:3048:3: otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) )
8378 iv_ruleObjectReference=ruleObjectReference(); 8378 {
8379 8379 otherlv_0=(Token)match(input,34,FOLLOW_32);
8380 state._fsp--; 8380
8381 8381 newLeafNode(otherlv_0, grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0());
8382 current =iv_ruleObjectReference; 8382
8383 match(input,EOF,FOLLOW_2); 8383 // InternalApplicationConfiguration.g:3052:3: ( (lv_type_1_0= ruleObjectReference ) )
8384 8384 // InternalApplicationConfiguration.g:3053:4: (lv_type_1_0= ruleObjectReference )
8385 } 8385 {
8386 8386 // InternalApplicationConfiguration.g:3053:4: (lv_type_1_0= ruleObjectReference )
8387 } 8387 // InternalApplicationConfiguration.g:3054:5: lv_type_1_0= ruleObjectReference
8388 8388 {
8389 catch (RecognitionException re) { 8389
8390 recover(input,re); 8390 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0());
8391 appendSkippedTokens(); 8391
8392 } 8392 pushFollow(FOLLOW_30);
8393 finally { 8393 lv_type_1_0=ruleObjectReference();
8394 } 8394
8395 return current; 8395 state._fsp--;
8396 } 8396
8397 // $ANTLR end "entryRuleObjectReference" 8397
8398 8398 if (current==null) {
8399 8399 current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule());
8400 // $ANTLR start "ruleObjectReference" 8400 }
8401 // InternalApplicationConfiguration.g:3066:1: ruleObjectReference returns [EObject current=null] : ( () otherlv_1= 'node' ) ; 8401 set(
8402 public final EObject ruleObjectReference() throws RecognitionException { 8402 current,
8403 EObject current = null; 8403 "type",
8404 8404 lv_type_1_0,
8405 Token otherlv_1=null; 8405 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectReference");
8406 8406 afterParserOrEnumRuleCall();
8407 8407
8408 enterRule(); 8408
8409 8409 }
8410 try { 8410
8411 // InternalApplicationConfiguration.g:3072:2: ( ( () otherlv_1= 'node' ) ) 8411
8412 // InternalApplicationConfiguration.g:3073:2: ( () otherlv_1= 'node' ) 8412 }
8413 { 8413
8414 // InternalApplicationConfiguration.g:3073:2: ( () otherlv_1= 'node' ) 8414 // InternalApplicationConfiguration.g:3071:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) )
8415 // InternalApplicationConfiguration.g:3074:3: () otherlv_1= 'node' 8415 int alt41=2;
8416 { 8416 int LA41_0 = input.LA(1);
8417 // InternalApplicationConfiguration.g:3074:3: () 8417
8418 // InternalApplicationConfiguration.g:3075:4: 8418 if ( (LA41_0==35) ) {
8419 { 8419 alt41=1;
8420 8420 }
8421 current = forceCreateModelElement( 8421 else if ( (LA41_0==17) ) {
8422 grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(), 8422 alt41=2;
8423 current); 8423 }
8424 8424 else {
8425 8425 NoViableAltException nvae =
8426 } 8426 new NoViableAltException("", 41, 0, input);
8427 8427
8428 otherlv_1=(Token)match(input,36,FOLLOW_2); 8428 throw nvae;
8429 8429 }
8430 newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); 8430 switch (alt41) {
8431 8431 case 1 :
8432 8432 // InternalApplicationConfiguration.g:3072:4: ( (lv_setsNew_2_0= '+=' ) )
8433 } 8433 {
8434 8434 // InternalApplicationConfiguration.g:3072:4: ( (lv_setsNew_2_0= '+=' ) )
8435 8435 // InternalApplicationConfiguration.g:3073:5: (lv_setsNew_2_0= '+=' )
8436 } 8436 {
8437 8437 // InternalApplicationConfiguration.g:3073:5: (lv_setsNew_2_0= '+=' )
8438 8438 // InternalApplicationConfiguration.g:3074:6: lv_setsNew_2_0= '+='
8439 leaveRule(); 8439 {
8440 8440 lv_setsNew_2_0=(Token)match(input,35,FOLLOW_31);
8441 } 8441
8442 8442 newLeafNode(lv_setsNew_2_0, grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
8443 catch (RecognitionException re) { 8443
8444 recover(input,re); 8444
8445 appendSkippedTokens(); 8445 if (current==null) {
8446 } 8446 current = createModelElement(grammarAccess.getObjectTypeScopeRule());
8447 finally { 8447 }
8448 } 8448 setWithLastConsumed(current, "setsNew", true, "+=");
8449 return current; 8449
8450 } 8450
8451 // $ANTLR end "ruleObjectReference" 8451 }
8452 8452
8453 8453
8454 // $ANTLR start "entryRuleIntegerReference" 8454 }
8455 // InternalApplicationConfiguration.g:3089:1: entryRuleIntegerReference returns [EObject current=null] : iv_ruleIntegerReference= ruleIntegerReference EOF ; 8455
8456 public final EObject entryRuleIntegerReference() throws RecognitionException { 8456
8457 EObject current = null; 8457 }
8458 8458 break;
8459 EObject iv_ruleIntegerReference = null; 8459 case 2 :
8460 8460 // InternalApplicationConfiguration.g:3087:4: ( (lv_setsSum_3_0= '=' ) )
8461 8461 {
8462 try { 8462 // InternalApplicationConfiguration.g:3087:4: ( (lv_setsSum_3_0= '=' ) )
8463 // InternalApplicationConfiguration.g:3089:57: (iv_ruleIntegerReference= ruleIntegerReference EOF ) 8463 // InternalApplicationConfiguration.g:3088:5: (lv_setsSum_3_0= '=' )
8464 // InternalApplicationConfiguration.g:3090:2: iv_ruleIntegerReference= ruleIntegerReference EOF 8464 {
8465 { 8465 // InternalApplicationConfiguration.g:3088:5: (lv_setsSum_3_0= '=' )
8466 newCompositeNode(grammarAccess.getIntegerReferenceRule()); 8466 // InternalApplicationConfiguration.g:3089:6: lv_setsSum_3_0= '='
8467 pushFollow(FOLLOW_1); 8467 {
8468 iv_ruleIntegerReference=ruleIntegerReference(); 8468 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_31);
8469 8469
8470 state._fsp--; 8470 newLeafNode(lv_setsSum_3_0, grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
8471 8471
8472 current =iv_ruleIntegerReference; 8472
8473 match(input,EOF,FOLLOW_2); 8473 if (current==null) {
8474 8474 current = createModelElement(grammarAccess.getObjectTypeScopeRule());
8475 } 8475 }
8476 8476 setWithLastConsumed(current, "setsSum", true, "=");
8477 } 8477
8478 8478
8479 catch (RecognitionException re) { 8479 }
8480 recover(input,re); 8480
8481 appendSkippedTokens(); 8481
8482 } 8482 }
8483 finally { 8483
8484 } 8484
8485 return current; 8485 }
8486 } 8486 break;
8487 // $ANTLR end "entryRuleIntegerReference" 8487
8488 8488 }
8489 8489
8490 // $ANTLR start "ruleIntegerReference" 8490 // InternalApplicationConfiguration.g:3102:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) )
8491 // InternalApplicationConfiguration.g:3096:1: ruleIntegerReference returns [EObject current=null] : ( () otherlv_1= 'int' ) ; 8491 int alt42=2;
8492 public final EObject ruleIntegerReference() throws RecognitionException { 8492 int LA42_0 = input.LA(1);
8493 EObject current = null; 8493
8494 8494 if ( (LA42_0==RULE_INT) ) {
8495 Token otherlv_1=null; 8495 int LA42_1 = input.LA(2);
8496 8496
8497 8497 if ( (LA42_1==EOF||(LA42_1>=19 && LA42_1<=20)) ) {
8498 enterRule(); 8498 alt42=1;
8499 8499 }
8500 try { 8500 else if ( (LA42_1==43) ) {
8501 // InternalApplicationConfiguration.g:3102:2: ( ( () otherlv_1= 'int' ) ) 8501 alt42=2;
8502 // InternalApplicationConfiguration.g:3103:2: ( () otherlv_1= 'int' ) 8502 }
8503 { 8503 else {
8504 // InternalApplicationConfiguration.g:3103:2: ( () otherlv_1= 'int' ) 8504 NoViableAltException nvae =
8505 // InternalApplicationConfiguration.g:3104:3: () otherlv_1= 'int' 8505 new NoViableAltException("", 42, 1, input);
8506 { 8506
8507 // InternalApplicationConfiguration.g:3104:3: () 8507 throw nvae;
8508 // InternalApplicationConfiguration.g:3105:4: 8508 }
8509 { 8509 }
8510 8510 else if ( (LA42_0==42) ) {
8511 current = forceCreateModelElement( 8511 alt42=1;
8512 grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(), 8512 }
8513 current); 8513 else {
8514 8514 NoViableAltException nvae =
8515 8515 new NoViableAltException("", 42, 0, input);
8516 } 8516
8517 8517 throw nvae;
8518 otherlv_1=(Token)match(input,37,FOLLOW_2); 8518 }
8519 8519 switch (alt42) {
8520 newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); 8520 case 1 :
8521 8521 // InternalApplicationConfiguration.g:3103:4: ( (lv_number_4_0= ruleExactNumber ) )
8522 8522 {
8523 } 8523 // InternalApplicationConfiguration.g:3103:4: ( (lv_number_4_0= ruleExactNumber ) )
8524 8524 // InternalApplicationConfiguration.g:3104:5: (lv_number_4_0= ruleExactNumber )
8525 8525 {
8526 } 8526 // InternalApplicationConfiguration.g:3104:5: (lv_number_4_0= ruleExactNumber )
8527 8527 // InternalApplicationConfiguration.g:3105:6: lv_number_4_0= ruleExactNumber
8528 8528 {
8529 leaveRule(); 8529
8530 8530 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
8531 } 8531
8532 8532 pushFollow(FOLLOW_2);
8533 catch (RecognitionException re) { 8533 lv_number_4_0=ruleExactNumber();
8534 recover(input,re); 8534
8535 appendSkippedTokens(); 8535 state._fsp--;
8536 } 8536
8537 finally { 8537
8538 } 8538 if (current==null) {
8539 return current; 8539 current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule());
8540 } 8540 }
8541 // $ANTLR end "ruleIntegerReference" 8541 set(
8542 8542 current,
8543 8543 "number",
8544 // $ANTLR start "entryRuleRealReference" 8544 lv_number_4_0,
8545 // InternalApplicationConfiguration.g:3119:1: entryRuleRealReference returns [EObject current=null] : iv_ruleRealReference= ruleRealReference EOF ; 8545 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
8546 public final EObject entryRuleRealReference() throws RecognitionException { 8546 afterParserOrEnumRuleCall();
8547 EObject current = null; 8547
8548 8548
8549 EObject iv_ruleRealReference = null; 8549 }
8550 8550
8551 8551
8552 try { 8552 }
8553 // InternalApplicationConfiguration.g:3119:54: (iv_ruleRealReference= ruleRealReference EOF ) 8553
8554 // InternalApplicationConfiguration.g:3120:2: iv_ruleRealReference= ruleRealReference EOF 8554
8555 { 8555 }
8556 newCompositeNode(grammarAccess.getRealReferenceRule()); 8556 break;
8557 pushFollow(FOLLOW_1); 8557 case 2 :
8558 iv_ruleRealReference=ruleRealReference(); 8558 // InternalApplicationConfiguration.g:3123:4: ( (lv_number_5_0= ruleIntervallNumber ) )
8559 8559 {
8560 state._fsp--; 8560 // InternalApplicationConfiguration.g:3123:4: ( (lv_number_5_0= ruleIntervallNumber ) )
8561 8561 // InternalApplicationConfiguration.g:3124:5: (lv_number_5_0= ruleIntervallNumber )
8562 current =iv_ruleRealReference; 8562 {
8563 match(input,EOF,FOLLOW_2); 8563 // InternalApplicationConfiguration.g:3124:5: (lv_number_5_0= ruleIntervallNumber )
8564 8564 // InternalApplicationConfiguration.g:3125:6: lv_number_5_0= ruleIntervallNumber
8565 } 8565 {
8566 8566
8567 } 8567 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
8568 8568
8569 catch (RecognitionException re) { 8569 pushFollow(FOLLOW_2);
8570 recover(input,re); 8570 lv_number_5_0=ruleIntervallNumber();
8571 appendSkippedTokens(); 8571
8572 } 8572 state._fsp--;
8573 finally { 8573
8574 } 8574
8575 return current; 8575 if (current==null) {
8576 } 8576 current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule());
8577 // $ANTLR end "entryRuleRealReference" 8577 }
8578 8578 set(
8579 8579 current,
8580 // $ANTLR start "ruleRealReference" 8580 "number",
8581 // InternalApplicationConfiguration.g:3126:1: ruleRealReference returns [EObject current=null] : ( () otherlv_1= 'real' ) ; 8581 lv_number_5_0,
8582 public final EObject ruleRealReference() throws RecognitionException { 8582 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
8583 EObject current = null; 8583 afterParserOrEnumRuleCall();
8584 8584
8585 Token otherlv_1=null; 8585
8586 8586 }
8587 8587
8588 enterRule(); 8588
8589 8589 }
8590 try { 8590
8591 // InternalApplicationConfiguration.g:3132:2: ( ( () otherlv_1= 'real' ) ) 8591
8592 // InternalApplicationConfiguration.g:3133:2: ( () otherlv_1= 'real' ) 8592 }
8593 { 8593 break;
8594 // InternalApplicationConfiguration.g:3133:2: ( () otherlv_1= 'real' ) 8594
8595 // InternalApplicationConfiguration.g:3134:3: () otherlv_1= 'real' 8595 }
8596 { 8596
8597 // InternalApplicationConfiguration.g:3134:3: () 8597
8598 // InternalApplicationConfiguration.g:3135:4: 8598 }
8599 { 8599
8600 8600
8601 current = forceCreateModelElement( 8601 }
8602 grammarAccess.getRealReferenceAccess().getRealScopeAction_0(), 8602
8603 current); 8603
8604 8604 leaveRule();
8605 8605
8606 } 8606 }
8607 8607
8608 otherlv_1=(Token)match(input,38,FOLLOW_2); 8608 catch (RecognitionException re) {
8609 8609 recover(input,re);
8610 newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1()); 8610 appendSkippedTokens();
8611 8611 }
8612 8612 finally {
8613 } 8613 }
8614 8614 return current;
8615 8615 }
8616 } 8616 // $ANTLR end "ruleObjectTypeScope"
8617 8617
8618 8618
8619 leaveRule(); 8619 // $ANTLR start "entryRuleIntegerTypeScope"
8620 8620 // InternalApplicationConfiguration.g:3147:1: entryRuleIntegerTypeScope returns [EObject current=null] : iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF ;
8621 } 8621 public final EObject entryRuleIntegerTypeScope() throws RecognitionException {
8622 8622 EObject current = null;
8623 catch (RecognitionException re) { 8623
8624 recover(input,re); 8624 EObject iv_ruleIntegerTypeScope = null;
8625 appendSkippedTokens(); 8625
8626 } 8626
8627 finally { 8627 try {
8628 } 8628 // InternalApplicationConfiguration.g:3147:57: (iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF )
8629 return current; 8629 // InternalApplicationConfiguration.g:3148:2: iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF
8630 } 8630 {
8631 // $ANTLR end "ruleRealReference" 8631 newCompositeNode(grammarAccess.getIntegerTypeScopeRule());
8632 8632 pushFollow(FOLLOW_1);
8633 8633 iv_ruleIntegerTypeScope=ruleIntegerTypeScope();
8634 // $ANTLR start "entryRuleStringReference" 8634
8635 // InternalApplicationConfiguration.g:3149:1: entryRuleStringReference returns [EObject current=null] : iv_ruleStringReference= ruleStringReference EOF ; 8635 state._fsp--;
8636 public final EObject entryRuleStringReference() throws RecognitionException { 8636
8637 EObject current = null; 8637 current =iv_ruleIntegerTypeScope;
8638 8638 match(input,EOF,FOLLOW_2);
8639 EObject iv_ruleStringReference = null; 8639
8640 8640 }
8641 8641
8642 try { 8642 }
8643 // InternalApplicationConfiguration.g:3149:56: (iv_ruleStringReference= ruleStringReference EOF ) 8643
8644 // InternalApplicationConfiguration.g:3150:2: iv_ruleStringReference= ruleStringReference EOF 8644 catch (RecognitionException re) {
8645 { 8645 recover(input,re);
8646 newCompositeNode(grammarAccess.getStringReferenceRule()); 8646 appendSkippedTokens();
8647 pushFollow(FOLLOW_1); 8647 }
8648 iv_ruleStringReference=ruleStringReference(); 8648 finally {
8649 8649 }
8650 state._fsp--; 8650 return current;
8651 8651 }
8652 current =iv_ruleStringReference; 8652 // $ANTLR end "entryRuleIntegerTypeScope"
8653 match(input,EOF,FOLLOW_2); 8653
8654 8654
8655 } 8655 // $ANTLR start "ruleIntegerTypeScope"
8656 8656 // InternalApplicationConfiguration.g:3154:1: ruleIntegerTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) ;
8657 } 8657 public final EObject ruleIntegerTypeScope() throws RecognitionException {
8658 8658 EObject current = null;
8659 catch (RecognitionException re) { 8659
8660 recover(input,re); 8660 Token otherlv_0=null;
8661 appendSkippedTokens(); 8661 Token lv_setsNew_2_0=null;
8662 } 8662 Token lv_setsSum_3_0=null;
8663 finally { 8663 EObject lv_type_1_0 = null;
8664 } 8664
8665 return current; 8665 EObject lv_number_4_0 = null;
8666 } 8666
8667 // $ANTLR end "entryRuleStringReference" 8667 EObject lv_number_5_0 = null;
8668 8668
8669 8669 EObject lv_number_6_0 = null;
8670 // $ANTLR start "ruleStringReference" 8670
8671 // InternalApplicationConfiguration.g:3156:1: ruleStringReference returns [EObject current=null] : ( () otherlv_1= 'string' ) ; 8671
8672 public final EObject ruleStringReference() throws RecognitionException { 8672
8673 EObject current = null; 8673 enterRule();
8674 8674
8675 Token otherlv_1=null; 8675 try {
8676 8676 // InternalApplicationConfiguration.g:3160:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) )
8677 8677 // InternalApplicationConfiguration.g:3161:2: (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) )
8678 enterRule(); 8678 {
8679 8679 // InternalApplicationConfiguration.g:3161:2: (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) )
8680 try { 8680 // InternalApplicationConfiguration.g:3162:3: otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) )
8681 // InternalApplicationConfiguration.g:3162:2: ( ( () otherlv_1= 'string' ) ) 8681 {
8682 // InternalApplicationConfiguration.g:3163:2: ( () otherlv_1= 'string' ) 8682 otherlv_0=(Token)match(input,34,FOLLOW_33);
8683 { 8683
8684 // InternalApplicationConfiguration.g:3163:2: ( () otherlv_1= 'string' ) 8684 newLeafNode(otherlv_0, grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0());
8685 // InternalApplicationConfiguration.g:3164:3: () otherlv_1= 'string' 8685
8686 { 8686 // InternalApplicationConfiguration.g:3166:3: ( (lv_type_1_0= ruleIntegerReference ) )
8687 // InternalApplicationConfiguration.g:3164:3: () 8687 // InternalApplicationConfiguration.g:3167:4: (lv_type_1_0= ruleIntegerReference )
8688 // InternalApplicationConfiguration.g:3165:4: 8688 {
8689 { 8689 // InternalApplicationConfiguration.g:3167:4: (lv_type_1_0= ruleIntegerReference )
8690 8690 // InternalApplicationConfiguration.g:3168:5: lv_type_1_0= ruleIntegerReference
8691 current = forceCreateModelElement( 8691 {
8692 grammarAccess.getStringReferenceAccess().getStringScopeAction_0(), 8692
8693 current); 8693 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0());
8694 8694
8695 8695 pushFollow(FOLLOW_30);
8696 } 8696 lv_type_1_0=ruleIntegerReference();
8697 8697
8698 otherlv_1=(Token)match(input,39,FOLLOW_2); 8698 state._fsp--;
8699 8699
8700 newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1()); 8700
8701 8701 if (current==null) {
8702 8702 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule());
8703 } 8703 }
8704 8704 set(
8705 8705 current,
8706 } 8706 "type",
8707 8707 lv_type_1_0,
8708 8708 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerReference");
8709 leaveRule(); 8709 afterParserOrEnumRuleCall();
8710 8710
8711 } 8711
8712 8712 }
8713 catch (RecognitionException re) { 8713
8714 recover(input,re); 8714
8715 appendSkippedTokens(); 8715 }
8716 } 8716
8717 finally { 8717 // InternalApplicationConfiguration.g:3185:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) )
8718 } 8718 int alt43=2;
8719 return current; 8719 int LA43_0 = input.LA(1);
8720 } 8720
8721 // $ANTLR end "ruleStringReference" 8721 if ( (LA43_0==35) ) {
8722 8722 alt43=1;
8723 8723 }
8724 // $ANTLR start "entryRuleExactNumber" 8724 else if ( (LA43_0==17) ) {
8725 // InternalApplicationConfiguration.g:3179:1: entryRuleExactNumber returns [EObject current=null] : iv_ruleExactNumber= ruleExactNumber EOF ; 8725 alt43=2;
8726 public final EObject entryRuleExactNumber() throws RecognitionException { 8726 }
8727 EObject current = null; 8727 else {
8728 8728 NoViableAltException nvae =
8729 EObject iv_ruleExactNumber = null; 8729 new NoViableAltException("", 43, 0, input);
8730 8730
8731 8731 throw nvae;
8732 try { 8732 }
8733 // InternalApplicationConfiguration.g:3179:52: (iv_ruleExactNumber= ruleExactNumber EOF ) 8733 switch (alt43) {
8734 // InternalApplicationConfiguration.g:3180:2: iv_ruleExactNumber= ruleExactNumber EOF 8734 case 1 :
8735 { 8735 // InternalApplicationConfiguration.g:3186:4: ( (lv_setsNew_2_0= '+=' ) )
8736 newCompositeNode(grammarAccess.getExactNumberRule()); 8736 {
8737 pushFollow(FOLLOW_1); 8737 // InternalApplicationConfiguration.g:3186:4: ( (lv_setsNew_2_0= '+=' ) )
8738 iv_ruleExactNumber=ruleExactNumber(); 8738 // InternalApplicationConfiguration.g:3187:5: (lv_setsNew_2_0= '+=' )
8739 8739 {
8740 state._fsp--; 8740 // InternalApplicationConfiguration.g:3187:5: (lv_setsNew_2_0= '+=' )
8741 8741 // InternalApplicationConfiguration.g:3188:6: lv_setsNew_2_0= '+='
8742 current =iv_ruleExactNumber; 8742 {
8743 match(input,EOF,FOLLOW_2); 8743 lv_setsNew_2_0=(Token)match(input,35,FOLLOW_34);
8744 8744
8745 } 8745 newLeafNode(lv_setsNew_2_0, grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
8746 8746
8747 } 8747
8748 8748 if (current==null) {
8749 catch (RecognitionException re) { 8749 current = createModelElement(grammarAccess.getIntegerTypeScopeRule());
8750 recover(input,re); 8750 }
8751 appendSkippedTokens(); 8751 setWithLastConsumed(current, "setsNew", true, "+=");
8752 } 8752
8753 finally { 8753
8754 } 8754 }
8755 return current; 8755
8756 } 8756
8757 // $ANTLR end "entryRuleExactNumber" 8757 }
8758 8758
8759 8759
8760 // $ANTLR start "ruleExactNumber" 8760 }
8761 // InternalApplicationConfiguration.g:3186:1: ruleExactNumber returns [EObject current=null] : ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) ; 8761 break;
8762 public final EObject ruleExactNumber() throws RecognitionException { 8762 case 2 :
8763 EObject current = null; 8763 // InternalApplicationConfiguration.g:3201:4: ( (lv_setsSum_3_0= '=' ) )
8764 8764 {
8765 Token lv_exactNumber_0_0=null; 8765 // InternalApplicationConfiguration.g:3201:4: ( (lv_setsSum_3_0= '=' ) )
8766 Token lv_exactUnlimited_1_0=null; 8766 // InternalApplicationConfiguration.g:3202:5: (lv_setsSum_3_0= '=' )
8767 8767 {
8768 8768 // InternalApplicationConfiguration.g:3202:5: (lv_setsSum_3_0= '=' )
8769 enterRule(); 8769 // InternalApplicationConfiguration.g:3203:6: lv_setsSum_3_0= '='
8770 8770 {
8771 try { 8771 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_34);
8772 // InternalApplicationConfiguration.g:3192:2: ( ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) ) 8772
8773 // InternalApplicationConfiguration.g:3193:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) 8773 newLeafNode(lv_setsSum_3_0, grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
8774 { 8774
8775 // InternalApplicationConfiguration.g:3193:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) 8775
8776 int alt45=2; 8776 if (current==null) {
8777 int LA45_0 = input.LA(1); 8777 current = createModelElement(grammarAccess.getIntegerTypeScopeRule());
8778 8778 }
8779 if ( (LA45_0==RULE_INT) ) { 8779 setWithLastConsumed(current, "setsSum", true, "=");
8780 alt45=1; 8780
8781 } 8781
8782 else if ( (LA45_0==40) ) { 8782 }
8783 alt45=2; 8783
8784 } 8784
8785 else { 8785 }
8786 NoViableAltException nvae = 8786
8787 new NoViableAltException("", 45, 0, input); 8787
8788 8788 }
8789 throw nvae; 8789 break;
8790 } 8790
8791 switch (alt45) { 8791 }
8792 case 1 : 8792
8793 // InternalApplicationConfiguration.g:3194:3: ( (lv_exactNumber_0_0= RULE_INT ) ) 8793 // InternalApplicationConfiguration.g:3216:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) )
8794 { 8794 int alt44=3;
8795 // InternalApplicationConfiguration.g:3194:3: ( (lv_exactNumber_0_0= RULE_INT ) ) 8795 switch ( input.LA(1) ) {
8796 // InternalApplicationConfiguration.g:3195:4: (lv_exactNumber_0_0= RULE_INT ) 8796 case RULE_INT:
8797 { 8797 {
8798 // InternalApplicationConfiguration.g:3195:4: (lv_exactNumber_0_0= RULE_INT ) 8798 int LA44_1 = input.LA(2);
8799 // InternalApplicationConfiguration.g:3196:5: lv_exactNumber_0_0= RULE_INT 8799
8800 { 8800 if ( (LA44_1==EOF||(LA44_1>=19 && LA44_1<=20)) ) {
8801 lv_exactNumber_0_0=(Token)match(input,RULE_INT,FOLLOW_2); 8801 alt44=1;
8802 8802 }
8803 newLeafNode(lv_exactNumber_0_0, grammarAccess.getExactNumberAccess().getExactNumberINTTerminalRuleCall_0_0()); 8803 else if ( (LA44_1==43) ) {
8804 8804 alt44=2;
8805 8805 }
8806 if (current==null) { 8806 else {
8807 current = createModelElement(grammarAccess.getExactNumberRule()); 8807 NoViableAltException nvae =
8808 } 8808 new NoViableAltException("", 44, 1, input);
8809 setWithLastConsumed( 8809
8810 current, 8810 throw nvae;
8811 "exactNumber", 8811 }
8812 lv_exactNumber_0_0, 8812 }
8813 "org.eclipse.xtext.common.Terminals.INT"); 8813 break;
8814 8814 case 42:
8815 8815 {
8816 } 8816 alt44=1;
8817 8817 }
8818 8818 break;
8819 } 8819 case 18:
8820 8820 {
8821 8821 alt44=3;
8822 } 8822 }
8823 break; 8823 break;
8824 case 2 : 8824 default:
8825 // InternalApplicationConfiguration.g:3213:3: ( (lv_exactUnlimited_1_0= '*' ) ) 8825 NoViableAltException nvae =
8826 { 8826 new NoViableAltException("", 44, 0, input);
8827 // InternalApplicationConfiguration.g:3213:3: ( (lv_exactUnlimited_1_0= '*' ) ) 8827
8828 // InternalApplicationConfiguration.g:3214:4: (lv_exactUnlimited_1_0= '*' ) 8828 throw nvae;
8829 { 8829 }
8830 // InternalApplicationConfiguration.g:3214:4: (lv_exactUnlimited_1_0= '*' ) 8830
8831 // InternalApplicationConfiguration.g:3215:5: lv_exactUnlimited_1_0= '*' 8831 switch (alt44) {
8832 { 8832 case 1 :
8833 lv_exactUnlimited_1_0=(Token)match(input,40,FOLLOW_2); 8833 // InternalApplicationConfiguration.g:3217:4: ( (lv_number_4_0= ruleExactNumber ) )
8834 8834 {
8835 newLeafNode(lv_exactUnlimited_1_0, grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); 8835 // InternalApplicationConfiguration.g:3217:4: ( (lv_number_4_0= ruleExactNumber ) )
8836 8836 // InternalApplicationConfiguration.g:3218:5: (lv_number_4_0= ruleExactNumber )
8837 8837 {
8838 if (current==null) { 8838 // InternalApplicationConfiguration.g:3218:5: (lv_number_4_0= ruleExactNumber )
8839 current = createModelElement(grammarAccess.getExactNumberRule()); 8839 // InternalApplicationConfiguration.g:3219:6: lv_number_4_0= ruleExactNumber
8840 } 8840 {
8841 setWithLastConsumed(current, "exactUnlimited", true, "*"); 8841
8842 8842 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
8843 8843
8844 } 8844 pushFollow(FOLLOW_2);
8845 8845 lv_number_4_0=ruleExactNumber();
8846 8846
8847 } 8847 state._fsp--;
8848 8848
8849 8849
8850 } 8850 if (current==null) {
8851 break; 8851 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule());
8852 8852 }
8853 } 8853 set(
8854 8854 current,
8855 8855 "number",
8856 } 8856 lv_number_4_0,
8857 8857 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
8858 8858 afterParserOrEnumRuleCall();
8859 leaveRule(); 8859
8860 8860
8861 } 8861 }
8862 8862
8863 catch (RecognitionException re) { 8863
8864 recover(input,re); 8864 }
8865 appendSkippedTokens(); 8865
8866 } 8866
8867 finally { 8867 }
8868 } 8868 break;
8869 return current; 8869 case 2 :
8870 } 8870 // InternalApplicationConfiguration.g:3237:4: ( (lv_number_5_0= ruleIntervallNumber ) )
8871 // $ANTLR end "ruleExactNumber" 8871 {
8872 8872 // InternalApplicationConfiguration.g:3237:4: ( (lv_number_5_0= ruleIntervallNumber ) )
8873 8873 // InternalApplicationConfiguration.g:3238:5: (lv_number_5_0= ruleIntervallNumber )
8874 // $ANTLR start "entryRuleIntervallNumber" 8874 {
8875 // InternalApplicationConfiguration.g:3231:1: entryRuleIntervallNumber returns [EObject current=null] : iv_ruleIntervallNumber= ruleIntervallNumber EOF ; 8875 // InternalApplicationConfiguration.g:3238:5: (lv_number_5_0= ruleIntervallNumber )
8876 public final EObject entryRuleIntervallNumber() throws RecognitionException { 8876 // InternalApplicationConfiguration.g:3239:6: lv_number_5_0= ruleIntervallNumber
8877 EObject current = null; 8877 {
8878 8878
8879 EObject iv_ruleIntervallNumber = null; 8879 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
8880 8880
8881 8881 pushFollow(FOLLOW_2);
8882 try { 8882 lv_number_5_0=ruleIntervallNumber();
8883 // InternalApplicationConfiguration.g:3231:56: (iv_ruleIntervallNumber= ruleIntervallNumber EOF ) 8883
8884 // InternalApplicationConfiguration.g:3232:2: iv_ruleIntervallNumber= ruleIntervallNumber EOF 8884 state._fsp--;
8885 { 8885
8886 newCompositeNode(grammarAccess.getIntervallNumberRule()); 8886
8887 pushFollow(FOLLOW_1); 8887 if (current==null) {
8888 iv_ruleIntervallNumber=ruleIntervallNumber(); 8888 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule());
8889 8889 }
8890 state._fsp--; 8890 set(
8891 8891 current,
8892 current =iv_ruleIntervallNumber; 8892 "number",
8893 match(input,EOF,FOLLOW_2); 8893 lv_number_5_0,
8894 8894 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
8895 } 8895 afterParserOrEnumRuleCall();
8896 8896
8897 } 8897
8898 8898 }
8899 catch (RecognitionException re) { 8899
8900 recover(input,re); 8900
8901 appendSkippedTokens(); 8901 }
8902 } 8902
8903 finally { 8903
8904 } 8904 }
8905 return current; 8905 break;
8906 } 8906 case 3 :
8907 // $ANTLR end "entryRuleIntervallNumber" 8907 // InternalApplicationConfiguration.g:3257:4: ( (lv_number_6_0= ruleIntEnumberation ) )
8908 8908 {
8909 8909 // InternalApplicationConfiguration.g:3257:4: ( (lv_number_6_0= ruleIntEnumberation ) )
8910 // $ANTLR start "ruleIntervallNumber" 8910 // InternalApplicationConfiguration.g:3258:5: (lv_number_6_0= ruleIntEnumberation )
8911 // InternalApplicationConfiguration.g:3238:1: ruleIntervallNumber returns [EObject current=null] : ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) ; 8911 {
8912 public final EObject ruleIntervallNumber() throws RecognitionException { 8912 // InternalApplicationConfiguration.g:3258:5: (lv_number_6_0= ruleIntEnumberation )
8913 EObject current = null; 8913 // InternalApplicationConfiguration.g:3259:6: lv_number_6_0= ruleIntEnumberation
8914 8914 {
8915 Token lv_min_0_0=null; 8915
8916 Token otherlv_1=null; 8916 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0());
8917 Token lv_maxNumber_2_0=null; 8917
8918 Token lv_maxUnlimited_3_0=null; 8918 pushFollow(FOLLOW_2);
8919 8919 lv_number_6_0=ruleIntEnumberation();
8920 8920
8921 enterRule(); 8921 state._fsp--;
8922 8922
8923 try { 8923
8924 // InternalApplicationConfiguration.g:3244:2: ( ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) ) 8924 if (current==null) {
8925 // InternalApplicationConfiguration.g:3245:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) 8925 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule());
8926 { 8926 }
8927 // InternalApplicationConfiguration.g:3245:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) 8927 set(
8928 // InternalApplicationConfiguration.g:3246:3: ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) 8928 current,
8929 { 8929 "number",
8930 // InternalApplicationConfiguration.g:3246:3: ( (lv_min_0_0= RULE_INT ) ) 8930 lv_number_6_0,
8931 // InternalApplicationConfiguration.g:3247:4: (lv_min_0_0= RULE_INT ) 8931 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntEnumberation");
8932 { 8932 afterParserOrEnumRuleCall();
8933 // InternalApplicationConfiguration.g:3247:4: (lv_min_0_0= RULE_INT ) 8933
8934 // InternalApplicationConfiguration.g:3248:5: lv_min_0_0= RULE_INT 8934
8935 { 8935 }
8936 lv_min_0_0=(Token)match(input,RULE_INT,FOLLOW_35); 8936
8937 8937
8938 newLeafNode(lv_min_0_0, grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0()); 8938 }
8939 8939
8940 8940
8941 if (current==null) { 8941 }
8942 current = createModelElement(grammarAccess.getIntervallNumberRule()); 8942 break;
8943 } 8943
8944 setWithLastConsumed( 8944 }
8945 current, 8945
8946 "min", 8946
8947 lv_min_0_0, 8947 }
8948 "org.eclipse.xtext.common.Terminals.INT"); 8948
8949 8949
8950 8950 }
8951 } 8951
8952 8952
8953 8953 leaveRule();
8954 } 8954
8955 8955 }
8956 otherlv_1=(Token)match(input,41,FOLLOW_28); 8956
8957 8957 catch (RecognitionException re) {
8958 newLeafNode(otherlv_1, grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); 8958 recover(input,re);
8959 8959 appendSkippedTokens();
8960 // InternalApplicationConfiguration.g:3268:3: ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) 8960 }
8961 int alt46=2; 8961 finally {
8962 int LA46_0 = input.LA(1); 8962 }
8963 8963 return current;
8964 if ( (LA46_0==RULE_INT) ) { 8964 }
8965 alt46=1; 8965 // $ANTLR end "ruleIntegerTypeScope"
8966 } 8966
8967 else if ( (LA46_0==40) ) { 8967
8968 alt46=2; 8968 // $ANTLR start "entryRuleRealTypeScope"
8969 } 8969 // InternalApplicationConfiguration.g:3281:1: entryRuleRealTypeScope returns [EObject current=null] : iv_ruleRealTypeScope= ruleRealTypeScope EOF ;
8970 else { 8970 public final EObject entryRuleRealTypeScope() throws RecognitionException {
8971 NoViableAltException nvae = 8971 EObject current = null;
8972 new NoViableAltException("", 46, 0, input); 8972
8973 8973 EObject iv_ruleRealTypeScope = null;
8974 throw nvae; 8974
8975 } 8975
8976 switch (alt46) { 8976 try {
8977 case 1 : 8977 // InternalApplicationConfiguration.g:3281:54: (iv_ruleRealTypeScope= ruleRealTypeScope EOF )
8978 // InternalApplicationConfiguration.g:3269:4: ( (lv_maxNumber_2_0= RULE_INT ) ) 8978 // InternalApplicationConfiguration.g:3282:2: iv_ruleRealTypeScope= ruleRealTypeScope EOF
8979 { 8979 {
8980 // InternalApplicationConfiguration.g:3269:4: ( (lv_maxNumber_2_0= RULE_INT ) ) 8980 newCompositeNode(grammarAccess.getRealTypeScopeRule());
8981 // InternalApplicationConfiguration.g:3270:5: (lv_maxNumber_2_0= RULE_INT ) 8981 pushFollow(FOLLOW_1);
8982 { 8982 iv_ruleRealTypeScope=ruleRealTypeScope();
8983 // InternalApplicationConfiguration.g:3270:5: (lv_maxNumber_2_0= RULE_INT ) 8983
8984 // InternalApplicationConfiguration.g:3271:6: lv_maxNumber_2_0= RULE_INT 8984 state._fsp--;
8985 { 8985
8986 lv_maxNumber_2_0=(Token)match(input,RULE_INT,FOLLOW_2); 8986 current =iv_ruleRealTypeScope;
8987 8987 match(input,EOF,FOLLOW_2);
8988 newLeafNode(lv_maxNumber_2_0, grammarAccess.getIntervallNumberAccess().getMaxNumberINTTerminalRuleCall_2_0_0()); 8988
8989 8989 }
8990 8990
8991 if (current==null) { 8991 }
8992 current = createModelElement(grammarAccess.getIntervallNumberRule()); 8992
8993 } 8993 catch (RecognitionException re) {
8994 setWithLastConsumed( 8994 recover(input,re);
8995 current, 8995 appendSkippedTokens();
8996 "maxNumber", 8996 }
8997 lv_maxNumber_2_0, 8997 finally {
8998 "org.eclipse.xtext.common.Terminals.INT"); 8998 }
8999 8999 return current;
9000 9000 }
9001 } 9001 // $ANTLR end "entryRuleRealTypeScope"
9002 9002
9003 9003
9004 } 9004 // $ANTLR start "ruleRealTypeScope"
9005 9005 // InternalApplicationConfiguration.g:3288:1: ruleRealTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) ;
9006 9006 public final EObject ruleRealTypeScope() throws RecognitionException {
9007 } 9007 EObject current = null;
9008 break; 9008
9009 case 2 : 9009 Token otherlv_0=null;
9010 // InternalApplicationConfiguration.g:3288:4: ( (lv_maxUnlimited_3_0= '*' ) ) 9010 Token lv_setsNew_2_0=null;
9011 { 9011 Token lv_setsSum_3_0=null;
9012 // InternalApplicationConfiguration.g:3288:4: ( (lv_maxUnlimited_3_0= '*' ) ) 9012 EObject lv_type_1_0 = null;
9013 // InternalApplicationConfiguration.g:3289:5: (lv_maxUnlimited_3_0= '*' ) 9013
9014 { 9014 EObject lv_number_4_0 = null;
9015 // InternalApplicationConfiguration.g:3289:5: (lv_maxUnlimited_3_0= '*' ) 9015
9016 // InternalApplicationConfiguration.g:3290:6: lv_maxUnlimited_3_0= '*' 9016 EObject lv_number_5_0 = null;
9017 { 9017
9018 lv_maxUnlimited_3_0=(Token)match(input,40,FOLLOW_2); 9018 EObject lv_number_6_0 = null;
9019 9019
9020 newLeafNode(lv_maxUnlimited_3_0, grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); 9020
9021 9021
9022 9022 enterRule();
9023 if (current==null) { 9023
9024 current = createModelElement(grammarAccess.getIntervallNumberRule()); 9024 try {
9025 } 9025 // InternalApplicationConfiguration.g:3294:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) )
9026 setWithLastConsumed(current, "maxUnlimited", true, "*"); 9026 // InternalApplicationConfiguration.g:3295:2: (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) )
9027 9027 {
9028 9028 // InternalApplicationConfiguration.g:3295:2: (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) )
9029 } 9029 // InternalApplicationConfiguration.g:3296:3: otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) )
9030 9030 {
9031 9031 otherlv_0=(Token)match(input,34,FOLLOW_35);
9032 } 9032
9033 9033 newLeafNode(otherlv_0, grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0());
9034 9034
9035 } 9035 // InternalApplicationConfiguration.g:3300:3: ( (lv_type_1_0= ruleRealReference ) )
9036 break; 9036 // InternalApplicationConfiguration.g:3301:4: (lv_type_1_0= ruleRealReference )
9037 9037 {
9038 } 9038 // InternalApplicationConfiguration.g:3301:4: (lv_type_1_0= ruleRealReference )
9039 9039 // InternalApplicationConfiguration.g:3302:5: lv_type_1_0= ruleRealReference
9040 9040 {
9041 } 9041
9042 9042 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0());
9043 9043
9044 } 9044 pushFollow(FOLLOW_30);
9045 9045 lv_type_1_0=ruleRealReference();
9046 9046
9047 leaveRule(); 9047 state._fsp--;
9048 9048
9049 } 9049
9050 9050 if (current==null) {
9051 catch (RecognitionException re) { 9051 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule());
9052 recover(input,re); 9052 }
9053 appendSkippedTokens(); 9053 set(
9054 } 9054 current,
9055 finally { 9055 "type",
9056 } 9056 lv_type_1_0,
9057 return current; 9057 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealReference");
9058 } 9058 afterParserOrEnumRuleCall();
9059 // $ANTLR end "ruleIntervallNumber" 9059
9060 9060
9061 9061 }
9062 // $ANTLR start "entryRuleIntEnumberation" 9062
9063 // InternalApplicationConfiguration.g:3307:1: entryRuleIntEnumberation returns [EObject current=null] : iv_ruleIntEnumberation= ruleIntEnumberation EOF ; 9063
9064 public final EObject entryRuleIntEnumberation() throws RecognitionException { 9064 }
9065 EObject current = null; 9065
9066 9066 // InternalApplicationConfiguration.g:3319:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) )
9067 EObject iv_ruleIntEnumberation = null; 9067 int alt45=2;
9068 9068 int LA45_0 = input.LA(1);
9069 9069
9070 try { 9070 if ( (LA45_0==35) ) {
9071 // InternalApplicationConfiguration.g:3307:56: (iv_ruleIntEnumberation= ruleIntEnumberation EOF ) 9071 alt45=1;
9072 // InternalApplicationConfiguration.g:3308:2: iv_ruleIntEnumberation= ruleIntEnumberation EOF 9072 }
9073 { 9073 else if ( (LA45_0==17) ) {
9074 newCompositeNode(grammarAccess.getIntEnumberationRule()); 9074 alt45=2;
9075 pushFollow(FOLLOW_1); 9075 }
9076 iv_ruleIntEnumberation=ruleIntEnumberation(); 9076 else {
9077 9077 NoViableAltException nvae =
9078 state._fsp--; 9078 new NoViableAltException("", 45, 0, input);
9079 9079
9080 current =iv_ruleIntEnumberation; 9080 throw nvae;
9081 match(input,EOF,FOLLOW_2); 9081 }
9082 9082 switch (alt45) {
9083 } 9083 case 1 :
9084 9084 // InternalApplicationConfiguration.g:3320:4: ( (lv_setsNew_2_0= '+=' ) )
9085 } 9085 {
9086 9086 // InternalApplicationConfiguration.g:3320:4: ( (lv_setsNew_2_0= '+=' ) )
9087 catch (RecognitionException re) { 9087 // InternalApplicationConfiguration.g:3321:5: (lv_setsNew_2_0= '+=' )
9088 recover(input,re); 9088 {
9089 appendSkippedTokens(); 9089 // InternalApplicationConfiguration.g:3321:5: (lv_setsNew_2_0= '+=' )
9090 } 9090 // InternalApplicationConfiguration.g:3322:6: lv_setsNew_2_0= '+='
9091 finally { 9091 {
9092 } 9092 lv_setsNew_2_0=(Token)match(input,35,FOLLOW_34);
9093 return current; 9093
9094 } 9094 newLeafNode(lv_setsNew_2_0, grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
9095 // $ANTLR end "entryRuleIntEnumberation" 9095
9096 9096
9097 9097 if (current==null) {
9098 // $ANTLR start "ruleIntEnumberation" 9098 current = createModelElement(grammarAccess.getRealTypeScopeRule());
9099 // InternalApplicationConfiguration.g:3314:1: ruleIntEnumberation returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) ; 9099 }
9100 public final EObject ruleIntEnumberation() throws RecognitionException { 9100 setWithLastConsumed(current, "setsNew", true, "+=");
9101 EObject current = null; 9101
9102 9102
9103 Token otherlv_1=null; 9103 }
9104 Token otherlv_3=null; 9104
9105 Token otherlv_5=null; 9105
9106 AntlrDatatypeRuleToken lv_entry_2_0 = null; 9106 }
9107 9107
9108 AntlrDatatypeRuleToken lv_entry_4_0 = null; 9108
9109 9109 }
9110 9110 break;
9111 9111 case 2 :
9112 enterRule(); 9112 // InternalApplicationConfiguration.g:3335:4: ( (lv_setsSum_3_0= '=' ) )
9113 9113 {
9114 try { 9114 // InternalApplicationConfiguration.g:3335:4: ( (lv_setsSum_3_0= '=' ) )
9115 // InternalApplicationConfiguration.g:3320:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) ) 9115 // InternalApplicationConfiguration.g:3336:5: (lv_setsSum_3_0= '=' )
9116 // InternalApplicationConfiguration.g:3321:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) 9116 {
9117 { 9117 // InternalApplicationConfiguration.g:3336:5: (lv_setsSum_3_0= '=' )
9118 // InternalApplicationConfiguration.g:3321:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) 9118 // InternalApplicationConfiguration.g:3337:6: lv_setsSum_3_0= '='
9119 // InternalApplicationConfiguration.g:3322:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' 9119 {
9120 { 9120 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_34);
9121 // InternalApplicationConfiguration.g:3322:3: () 9121
9122 // InternalApplicationConfiguration.g:3323:4: 9122 newLeafNode(lv_setsSum_3_0, grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
9123 { 9123
9124 9124
9125 current = forceCreateModelElement( 9125 if (current==null) {
9126 grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0(), 9126 current = createModelElement(grammarAccess.getRealTypeScopeRule());
9127 current); 9127 }
9128 9128 setWithLastConsumed(current, "setsSum", true, "=");
9129 9129
9130 } 9130
9131 9131 }
9132 otherlv_1=(Token)match(input,18,FOLLOW_36); 9132
9133 9133
9134 newLeafNode(otherlv_1, grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1()); 9134 }
9135 9135
9136 // InternalApplicationConfiguration.g:3333:3: ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? 9136
9137 int alt48=2; 9137 }
9138 int LA48_0 = input.LA(1); 9138 break;
9139 9139
9140 if ( (LA48_0==RULE_INT||LA48_0==12) ) { 9140 }
9141 alt48=1; 9141
9142 } 9142 // InternalApplicationConfiguration.g:3350:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) )
9143 switch (alt48) { 9143 int alt46=3;
9144 case 1 : 9144 switch ( input.LA(1) ) {
9145 // InternalApplicationConfiguration.g:3334:4: ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* 9145 case RULE_INT:
9146 { 9146 {
9147 // InternalApplicationConfiguration.g:3334:4: ( (lv_entry_2_0= ruleINTLiteral ) ) 9147 int LA46_1 = input.LA(2);
9148 // InternalApplicationConfiguration.g:3335:5: (lv_entry_2_0= ruleINTLiteral ) 9148
9149 { 9149 if ( (LA46_1==43) ) {
9150 // InternalApplicationConfiguration.g:3335:5: (lv_entry_2_0= ruleINTLiteral ) 9150 alt46=2;
9151 // InternalApplicationConfiguration.g:3336:6: lv_entry_2_0= ruleINTLiteral 9151 }
9152 { 9152 else if ( (LA46_1==EOF||(LA46_1>=19 && LA46_1<=20)) ) {
9153 9153 alt46=1;
9154 newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0()); 9154 }
9155 9155 else {
9156 pushFollow(FOLLOW_14); 9156 NoViableAltException nvae =
9157 lv_entry_2_0=ruleINTLiteral(); 9157 new NoViableAltException("", 46, 1, input);
9158 9158
9159 state._fsp--; 9159 throw nvae;
9160 9160 }
9161 9161 }
9162 if (current==null) { 9162 break;
9163 current = createModelElementForParent(grammarAccess.getIntEnumberationRule()); 9163 case 42:
9164 } 9164 {
9165 add( 9165 alt46=1;
9166 current, 9166 }
9167 "entry", 9167 break;
9168 lv_entry_2_0, 9168 case 18:
9169 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); 9169 {
9170 afterParserOrEnumRuleCall(); 9170 alt46=3;
9171 9171 }
9172 9172 break;
9173 } 9173 default:
9174 9174 NoViableAltException nvae =
9175 9175 new NoViableAltException("", 46, 0, input);
9176 } 9176
9177 9177 throw nvae;
9178 // InternalApplicationConfiguration.g:3353:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* 9178 }
9179 loop47: 9179
9180 do { 9180 switch (alt46) {
9181 int alt47=2; 9181 case 1 :
9182 int LA47_0 = input.LA(1); 9182 // InternalApplicationConfiguration.g:3351:4: ( (lv_number_4_0= ruleExactNumber ) )
9183 9183 {
9184 if ( (LA47_0==19) ) { 9184 // InternalApplicationConfiguration.g:3351:4: ( (lv_number_4_0= ruleExactNumber ) )
9185 alt47=1; 9185 // InternalApplicationConfiguration.g:3352:5: (lv_number_4_0= ruleExactNumber )
9186 } 9186 {
9187 9187 // InternalApplicationConfiguration.g:3352:5: (lv_number_4_0= ruleExactNumber )
9188 9188 // InternalApplicationConfiguration.g:3353:6: lv_number_4_0= ruleExactNumber
9189 switch (alt47) { 9189 {
9190 case 1 : 9190
9191 // InternalApplicationConfiguration.g:3354:5: otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) 9191 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
9192 { 9192
9193 otherlv_3=(Token)match(input,19,FOLLOW_37); 9193 pushFollow(FOLLOW_2);
9194 9194 lv_number_4_0=ruleExactNumber();
9195 newLeafNode(otherlv_3, grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0()); 9195
9196 9196 state._fsp--;
9197 // InternalApplicationConfiguration.g:3358:5: ( (lv_entry_4_0= ruleINTLiteral ) ) 9197
9198 // InternalApplicationConfiguration.g:3359:6: (lv_entry_4_0= ruleINTLiteral ) 9198
9199 { 9199 if (current==null) {
9200 // InternalApplicationConfiguration.g:3359:6: (lv_entry_4_0= ruleINTLiteral ) 9200 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule());
9201 // InternalApplicationConfiguration.g:3360:7: lv_entry_4_0= ruleINTLiteral 9201 }
9202 { 9202 set(
9203 9203 current,
9204 newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0()); 9204 "number",
9205 9205 lv_number_4_0,
9206 pushFollow(FOLLOW_14); 9206 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
9207 lv_entry_4_0=ruleINTLiteral(); 9207 afterParserOrEnumRuleCall();
9208 9208
9209 state._fsp--; 9209
9210 9210 }
9211 9211
9212 if (current==null) { 9212
9213 current = createModelElementForParent(grammarAccess.getIntEnumberationRule()); 9213 }
9214 } 9214
9215 add( 9215
9216 current, 9216 }
9217 "entry", 9217 break;
9218 lv_entry_4_0, 9218 case 2 :
9219 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); 9219 // InternalApplicationConfiguration.g:3371:4: ( (lv_number_5_0= ruleIntervallNumber ) )
9220 afterParserOrEnumRuleCall(); 9220 {
9221 9221 // InternalApplicationConfiguration.g:3371:4: ( (lv_number_5_0= ruleIntervallNumber ) )
9222 9222 // InternalApplicationConfiguration.g:3372:5: (lv_number_5_0= ruleIntervallNumber )
9223 } 9223 {
9224 9224 // InternalApplicationConfiguration.g:3372:5: (lv_number_5_0= ruleIntervallNumber )
9225 9225 // InternalApplicationConfiguration.g:3373:6: lv_number_5_0= ruleIntervallNumber
9226 } 9226 {
9227 9227
9228 9228 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
9229 } 9229
9230 break; 9230 pushFollow(FOLLOW_2);
9231 9231 lv_number_5_0=ruleIntervallNumber();
9232 default : 9232
9233 break loop47; 9233 state._fsp--;
9234 } 9234
9235 } while (true); 9235
9236 9236 if (current==null) {
9237 9237 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule());
9238 } 9238 }
9239 break; 9239 set(
9240 9240 current,
9241 } 9241 "number",
9242 9242 lv_number_5_0,
9243 otherlv_5=(Token)match(input,20,FOLLOW_2); 9243 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
9244 9244 afterParserOrEnumRuleCall();
9245 newLeafNode(otherlv_5, grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3()); 9245
9246 9246
9247 9247 }
9248 } 9248
9249 9249
9250 9250 }
9251 } 9251
9252 9252
9253 9253 }
9254 leaveRule(); 9254 break;
9255 9255 case 3 :
9256 } 9256 // InternalApplicationConfiguration.g:3391:4: ( (lv_number_6_0= ruleRealEnumeration ) )
9257 9257 {
9258 catch (RecognitionException re) { 9258 // InternalApplicationConfiguration.g:3391:4: ( (lv_number_6_0= ruleRealEnumeration ) )
9259 recover(input,re); 9259 // InternalApplicationConfiguration.g:3392:5: (lv_number_6_0= ruleRealEnumeration )
9260 appendSkippedTokens(); 9260 {
9261 } 9261 // InternalApplicationConfiguration.g:3392:5: (lv_number_6_0= ruleRealEnumeration )
9262 finally { 9262 // InternalApplicationConfiguration.g:3393:6: lv_number_6_0= ruleRealEnumeration
9263 } 9263 {
9264 return current; 9264
9265 } 9265 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0());
9266 // $ANTLR end "ruleIntEnumberation" 9266
9267 9267 pushFollow(FOLLOW_2);
9268 9268 lv_number_6_0=ruleRealEnumeration();
9269 // $ANTLR start "entryRuleRealEnumeration" 9269
9270 // InternalApplicationConfiguration.g:3387:1: entryRuleRealEnumeration returns [EObject current=null] : iv_ruleRealEnumeration= ruleRealEnumeration EOF ; 9270 state._fsp--;
9271 public final EObject entryRuleRealEnumeration() throws RecognitionException { 9271
9272 EObject current = null; 9272
9273 9273 if (current==null) {
9274 EObject iv_ruleRealEnumeration = null; 9274 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule());
9275 9275 }
9276 9276 set(
9277 try { 9277 current,
9278 // InternalApplicationConfiguration.g:3387:56: (iv_ruleRealEnumeration= ruleRealEnumeration EOF ) 9278 "number",
9279 // InternalApplicationConfiguration.g:3388:2: iv_ruleRealEnumeration= ruleRealEnumeration EOF 9279 lv_number_6_0,
9280 { 9280 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealEnumeration");
9281 newCompositeNode(grammarAccess.getRealEnumerationRule()); 9281 afterParserOrEnumRuleCall();
9282 pushFollow(FOLLOW_1); 9282
9283 iv_ruleRealEnumeration=ruleRealEnumeration(); 9283
9284 9284 }
9285 state._fsp--; 9285
9286 9286
9287 current =iv_ruleRealEnumeration; 9287 }
9288 match(input,EOF,FOLLOW_2); 9288
9289 9289
9290 } 9290 }
9291 9291 break;
9292 } 9292
9293 9293 }
9294 catch (RecognitionException re) { 9294
9295 recover(input,re); 9295
9296 appendSkippedTokens(); 9296 }
9297 } 9297
9298 finally { 9298
9299 } 9299 }
9300 return current; 9300
9301 } 9301
9302 // $ANTLR end "entryRuleRealEnumeration" 9302 leaveRule();
9303 9303
9304 9304 }
9305 // $ANTLR start "ruleRealEnumeration" 9305
9306 // InternalApplicationConfiguration.g:3394:1: ruleRealEnumeration returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) ; 9306 catch (RecognitionException re) {
9307 public final EObject ruleRealEnumeration() throws RecognitionException { 9307 recover(input,re);
9308 EObject current = null; 9308 appendSkippedTokens();
9309 9309 }
9310 Token otherlv_1=null; 9310 finally {
9311 Token otherlv_3=null; 9311 }
9312 Token otherlv_5=null; 9312 return current;
9313 AntlrDatatypeRuleToken lv_entry_2_0 = null; 9313 }
9314 9314 // $ANTLR end "ruleRealTypeScope"
9315 AntlrDatatypeRuleToken lv_entry_4_0 = null; 9315
9316 9316
9317 9317 // $ANTLR start "entryRuleStringTypeScope"
9318 9318 // InternalApplicationConfiguration.g:3415:1: entryRuleStringTypeScope returns [EObject current=null] : iv_ruleStringTypeScope= ruleStringTypeScope EOF ;
9319 enterRule(); 9319 public final EObject entryRuleStringTypeScope() throws RecognitionException {
9320 9320 EObject current = null;
9321 try { 9321
9322 // InternalApplicationConfiguration.g:3400:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) ) 9322 EObject iv_ruleStringTypeScope = null;
9323 // InternalApplicationConfiguration.g:3401:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) 9323
9324 { 9324
9325 // InternalApplicationConfiguration.g:3401:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) 9325 try {
9326 // InternalApplicationConfiguration.g:3402:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' 9326 // InternalApplicationConfiguration.g:3415:56: (iv_ruleStringTypeScope= ruleStringTypeScope EOF )
9327 { 9327 // InternalApplicationConfiguration.g:3416:2: iv_ruleStringTypeScope= ruleStringTypeScope EOF
9328 // InternalApplicationConfiguration.g:3402:3: () 9328 {
9329 // InternalApplicationConfiguration.g:3403:4: 9329 newCompositeNode(grammarAccess.getStringTypeScopeRule());
9330 { 9330 pushFollow(FOLLOW_1);
9331 9331 iv_ruleStringTypeScope=ruleStringTypeScope();
9332 current = forceCreateModelElement( 9332
9333 grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0(), 9333 state._fsp--;
9334 current); 9334
9335 9335 current =iv_ruleStringTypeScope;
9336 9336 match(input,EOF,FOLLOW_2);
9337 } 9337
9338 9338 }
9339 otherlv_1=(Token)match(input,18,FOLLOW_36); 9339
9340 9340 }
9341 newLeafNode(otherlv_1, grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1()); 9341
9342 9342 catch (RecognitionException re) {
9343 // InternalApplicationConfiguration.g:3413:3: ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? 9343 recover(input,re);
9344 int alt50=2; 9344 appendSkippedTokens();
9345 int LA50_0 = input.LA(1); 9345 }
9346 9346 finally {
9347 if ( (LA50_0==RULE_INT||LA50_0==12) ) { 9347 }
9348 alt50=1; 9348 return current;
9349 } 9349 }
9350 switch (alt50) { 9350 // $ANTLR end "entryRuleStringTypeScope"
9351 case 1 : 9351
9352 // InternalApplicationConfiguration.g:3414:4: ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* 9352
9353 { 9353 // $ANTLR start "ruleStringTypeScope"
9354 // InternalApplicationConfiguration.g:3414:4: ( (lv_entry_2_0= ruleREALLiteral ) ) 9354 // InternalApplicationConfiguration.g:3422:1: ruleStringTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) ;
9355 // InternalApplicationConfiguration.g:3415:5: (lv_entry_2_0= ruleREALLiteral ) 9355 public final EObject ruleStringTypeScope() throws RecognitionException {
9356 { 9356 EObject current = null;
9357 // InternalApplicationConfiguration.g:3415:5: (lv_entry_2_0= ruleREALLiteral ) 9357
9358 // InternalApplicationConfiguration.g:3416:6: lv_entry_2_0= ruleREALLiteral 9358 Token otherlv_0=null;
9359 { 9359 Token lv_setsNew_2_0=null;
9360 9360 Token lv_setsSum_3_0=null;
9361 newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0()); 9361 EObject lv_type_1_0 = null;
9362 9362
9363 pushFollow(FOLLOW_14); 9363 EObject lv_number_4_0 = null;
9364 lv_entry_2_0=ruleREALLiteral(); 9364
9365 9365 EObject lv_number_5_0 = null;
9366 state._fsp--; 9366
9367 9367 EObject lv_number_6_0 = null;
9368 9368
9369 if (current==null) { 9369
9370 current = createModelElementForParent(grammarAccess.getRealEnumerationRule()); 9370
9371 } 9371 enterRule();
9372 add( 9372
9373 current, 9373 try {
9374 "entry", 9374 // InternalApplicationConfiguration.g:3428:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) )
9375 lv_entry_2_0, 9375 // InternalApplicationConfiguration.g:3429:2: (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) )
9376 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); 9376 {
9377 afterParserOrEnumRuleCall(); 9377 // InternalApplicationConfiguration.g:3429:2: (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) )
9378 9378 // InternalApplicationConfiguration.g:3430:3: otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) )
9379 9379 {
9380 } 9380 otherlv_0=(Token)match(input,34,FOLLOW_36);
9381 9381
9382 9382 newLeafNode(otherlv_0, grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0());
9383 } 9383
9384 9384 // InternalApplicationConfiguration.g:3434:3: ( (lv_type_1_0= ruleStringReference ) )
9385 // InternalApplicationConfiguration.g:3433:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* 9385 // InternalApplicationConfiguration.g:3435:4: (lv_type_1_0= ruleStringReference )
9386 loop49: 9386 {
9387 do { 9387 // InternalApplicationConfiguration.g:3435:4: (lv_type_1_0= ruleStringReference )
9388 int alt49=2; 9388 // InternalApplicationConfiguration.g:3436:5: lv_type_1_0= ruleStringReference
9389 int LA49_0 = input.LA(1); 9389 {
9390 9390
9391 if ( (LA49_0==19) ) { 9391 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0());
9392 alt49=1; 9392
9393 } 9393 pushFollow(FOLLOW_30);
9394 9394 lv_type_1_0=ruleStringReference();
9395 9395
9396 switch (alt49) { 9396 state._fsp--;
9397 case 1 : 9397
9398 // InternalApplicationConfiguration.g:3434:5: otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) 9398
9399 { 9399 if (current==null) {
9400 otherlv_3=(Token)match(input,19,FOLLOW_37); 9400 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule());
9401 9401 }
9402 newLeafNode(otherlv_3, grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0()); 9402 set(
9403 9403 current,
9404 // InternalApplicationConfiguration.g:3438:5: ( (lv_entry_4_0= ruleREALLiteral ) ) 9404 "type",
9405 // InternalApplicationConfiguration.g:3439:6: (lv_entry_4_0= ruleREALLiteral ) 9405 lv_type_1_0,
9406 { 9406 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringReference");
9407 // InternalApplicationConfiguration.g:3439:6: (lv_entry_4_0= ruleREALLiteral ) 9407 afterParserOrEnumRuleCall();
9408 // InternalApplicationConfiguration.g:3440:7: lv_entry_4_0= ruleREALLiteral 9408
9409 { 9409
9410 9410 }
9411 newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0()); 9411
9412 9412
9413 pushFollow(FOLLOW_14); 9413 }
9414 lv_entry_4_0=ruleREALLiteral(); 9414
9415 9415 // InternalApplicationConfiguration.g:3453:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) )
9416 state._fsp--; 9416 int alt47=2;
9417 9417 int LA47_0 = input.LA(1);
9418 9418
9419 if (current==null) { 9419 if ( (LA47_0==35) ) {
9420 current = createModelElementForParent(grammarAccess.getRealEnumerationRule()); 9420 alt47=1;
9421 } 9421 }
9422 add( 9422 else if ( (LA47_0==17) ) {
9423 current, 9423 alt47=2;
9424 "entry", 9424 }
9425 lv_entry_4_0, 9425 else {
9426 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); 9426 NoViableAltException nvae =
9427 afterParserOrEnumRuleCall(); 9427 new NoViableAltException("", 47, 0, input);
9428 9428
9429 9429 throw nvae;
9430 } 9430 }
9431 9431 switch (alt47) {
9432 9432 case 1 :
9433 } 9433 // InternalApplicationConfiguration.g:3454:4: ( (lv_setsNew_2_0= '+=' ) )
9434 9434 {
9435 9435 // InternalApplicationConfiguration.g:3454:4: ( (lv_setsNew_2_0= '+=' ) )
9436 } 9436 // InternalApplicationConfiguration.g:3455:5: (lv_setsNew_2_0= '+=' )
9437 break; 9437 {
9438 9438 // InternalApplicationConfiguration.g:3455:5: (lv_setsNew_2_0= '+=' )
9439 default : 9439 // InternalApplicationConfiguration.g:3456:6: lv_setsNew_2_0= '+='
9440 break loop49; 9440 {
9441 } 9441 lv_setsNew_2_0=(Token)match(input,35,FOLLOW_34);
9442 } while (true); 9442
9443 9443 newLeafNode(lv_setsNew_2_0, grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
9444 9444
9445 } 9445
9446 break; 9446 if (current==null) {
9447 9447 current = createModelElement(grammarAccess.getStringTypeScopeRule());
9448 } 9448 }
9449 9449 setWithLastConsumed(current, "setsNew", true, "+=");
9450 otherlv_5=(Token)match(input,20,FOLLOW_2); 9450
9451 9451
9452 newLeafNode(otherlv_5, grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3()); 9452 }
9453 9453
9454 9454
9455 } 9455 }
9456 9456
9457 9457
9458 } 9458 }
9459 9459 break;
9460 9460 case 2 :
9461 leaveRule(); 9461 // InternalApplicationConfiguration.g:3469:4: ( (lv_setsSum_3_0= '=' ) )
9462 9462 {
9463 } 9463 // InternalApplicationConfiguration.g:3469:4: ( (lv_setsSum_3_0= '=' ) )
9464 9464 // InternalApplicationConfiguration.g:3470:5: (lv_setsSum_3_0= '=' )
9465 catch (RecognitionException re) { 9465 {
9466 recover(input,re); 9466 // InternalApplicationConfiguration.g:3470:5: (lv_setsSum_3_0= '=' )
9467 appendSkippedTokens(); 9467 // InternalApplicationConfiguration.g:3471:6: lv_setsSum_3_0= '='
9468 } 9468 {
9469 finally { 9469 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_34);
9470 } 9470
9471 return current; 9471 newLeafNode(lv_setsSum_3_0, grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
9472 } 9472
9473 // $ANTLR end "ruleRealEnumeration" 9473
9474 9474 if (current==null) {
9475 9475 current = createModelElement(grammarAccess.getStringTypeScopeRule());
9476 // $ANTLR start "entryRuleStringEnumeration" 9476 }
9477 // InternalApplicationConfiguration.g:3467:1: entryRuleStringEnumeration returns [EObject current=null] : iv_ruleStringEnumeration= ruleStringEnumeration EOF ; 9477 setWithLastConsumed(current, "setsSum", true, "=");
9478 public final EObject entryRuleStringEnumeration() throws RecognitionException { 9478
9479 EObject current = null; 9479
9480 9480 }
9481 EObject iv_ruleStringEnumeration = null; 9481
9482 9482
9483 9483 }
9484 try { 9484
9485 // InternalApplicationConfiguration.g:3467:58: (iv_ruleStringEnumeration= ruleStringEnumeration EOF ) 9485
9486 // InternalApplicationConfiguration.g:3468:2: iv_ruleStringEnumeration= ruleStringEnumeration EOF 9486 }
9487 { 9487 break;
9488 newCompositeNode(grammarAccess.getStringEnumerationRule()); 9488
9489 pushFollow(FOLLOW_1); 9489 }
9490 iv_ruleStringEnumeration=ruleStringEnumeration(); 9490
9491 9491 // InternalApplicationConfiguration.g:3484:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) )
9492 state._fsp--; 9492 int alt48=3;
9493 9493 switch ( input.LA(1) ) {
9494 current =iv_ruleStringEnumeration; 9494 case RULE_INT:
9495 match(input,EOF,FOLLOW_2); 9495 {
9496 9496 int LA48_1 = input.LA(2);
9497 } 9497
9498 9498 if ( (LA48_1==EOF||(LA48_1>=19 && LA48_1<=20)) ) {
9499 } 9499 alt48=1;
9500 9500 }
9501 catch (RecognitionException re) { 9501 else if ( (LA48_1==43) ) {
9502 recover(input,re); 9502 alt48=2;
9503 appendSkippedTokens(); 9503 }
9504 } 9504 else {
9505 finally { 9505 NoViableAltException nvae =
9506 } 9506 new NoViableAltException("", 48, 1, input);
9507 return current; 9507
9508 } 9508 throw nvae;
9509 // $ANTLR end "entryRuleStringEnumeration" 9509 }
9510 9510 }
9511 9511 break;
9512 // $ANTLR start "ruleStringEnumeration" 9512 case 42:
9513 // InternalApplicationConfiguration.g:3474:1: ruleStringEnumeration returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) ; 9513 {
9514 public final EObject ruleStringEnumeration() throws RecognitionException { 9514 alt48=1;
9515 EObject current = null; 9515 }
9516 9516 break;
9517 Token otherlv_1=null; 9517 case 18:
9518 Token lv_entry_2_0=null; 9518 {
9519 Token otherlv_3=null; 9519 alt48=3;
9520 Token lv_entry_4_0=null; 9520 }
9521 Token otherlv_5=null; 9521 break;
9522 9522 default:
9523 9523 NoViableAltException nvae =
9524 enterRule(); 9524 new NoViableAltException("", 48, 0, input);
9525 9525
9526 try { 9526 throw nvae;
9527 // InternalApplicationConfiguration.g:3480:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) ) 9527 }
9528 // InternalApplicationConfiguration.g:3481:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) 9528
9529 { 9529 switch (alt48) {
9530 // InternalApplicationConfiguration.g:3481:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) 9530 case 1 :
9531 // InternalApplicationConfiguration.g:3482:3: () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' 9531 // InternalApplicationConfiguration.g:3485:4: ( (lv_number_4_0= ruleExactNumber ) )
9532 { 9532 {
9533 // InternalApplicationConfiguration.g:3482:3: () 9533 // InternalApplicationConfiguration.g:3485:4: ( (lv_number_4_0= ruleExactNumber ) )
9534 // InternalApplicationConfiguration.g:3483:4: 9534 // InternalApplicationConfiguration.g:3486:5: (lv_number_4_0= ruleExactNumber )
9535 { 9535 {
9536 9536 // InternalApplicationConfiguration.g:3486:5: (lv_number_4_0= ruleExactNumber )
9537 current = forceCreateModelElement( 9537 // InternalApplicationConfiguration.g:3487:6: lv_number_4_0= ruleExactNumber
9538 grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0(), 9538 {
9539 current); 9539
9540 9540 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
9541 9541
9542 } 9542 pushFollow(FOLLOW_2);
9543 9543 lv_number_4_0=ruleExactNumber();
9544 otherlv_1=(Token)match(input,18,FOLLOW_38); 9544
9545 9545 state._fsp--;
9546 newLeafNode(otherlv_1, grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1()); 9546
9547 9547
9548 // InternalApplicationConfiguration.g:3493:3: ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? 9548 if (current==null) {
9549 int alt52=2; 9549 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule());
9550 int LA52_0 = input.LA(1); 9550 }
9551 9551 set(
9552 if ( (LA52_0==RULE_STRING) ) { 9552 current,
9553 alt52=1; 9553 "number",
9554 } 9554 lv_number_4_0,
9555 switch (alt52) { 9555 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
9556 case 1 : 9556 afterParserOrEnumRuleCall();
9557 // InternalApplicationConfiguration.g:3494:4: ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* 9557
9558 { 9558
9559 // InternalApplicationConfiguration.g:3494:4: ( (lv_entry_2_0= RULE_STRING ) ) 9559 }
9560 // InternalApplicationConfiguration.g:3495:5: (lv_entry_2_0= RULE_STRING ) 9560
9561 { 9561
9562 // InternalApplicationConfiguration.g:3495:5: (lv_entry_2_0= RULE_STRING ) 9562 }
9563 // InternalApplicationConfiguration.g:3496:6: lv_entry_2_0= RULE_STRING 9563
9564 { 9564
9565 lv_entry_2_0=(Token)match(input,RULE_STRING,FOLLOW_14); 9565 }
9566 9566 break;
9567 newLeafNode(lv_entry_2_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_0_0()); 9567 case 2 :
9568 9568 // InternalApplicationConfiguration.g:3505:4: ( (lv_number_5_0= ruleIntervallNumber ) )
9569 9569 {
9570 if (current==null) { 9570 // InternalApplicationConfiguration.g:3505:4: ( (lv_number_5_0= ruleIntervallNumber ) )
9571 current = createModelElement(grammarAccess.getStringEnumerationRule()); 9571 // InternalApplicationConfiguration.g:3506:5: (lv_number_5_0= ruleIntervallNumber )
9572 } 9572 {
9573 addWithLastConsumed( 9573 // InternalApplicationConfiguration.g:3506:5: (lv_number_5_0= ruleIntervallNumber )
9574 current, 9574 // InternalApplicationConfiguration.g:3507:6: lv_number_5_0= ruleIntervallNumber
9575 "entry", 9575 {
9576 lv_entry_2_0, 9576
9577 "org.eclipse.xtext.common.Terminals.STRING"); 9577 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
9578 9578
9579 9579 pushFollow(FOLLOW_2);
9580 } 9580 lv_number_5_0=ruleIntervallNumber();
9581 9581
9582 9582 state._fsp--;
9583 } 9583
9584 9584
9585 // InternalApplicationConfiguration.g:3512:4: (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* 9585 if (current==null) {
9586 loop51: 9586 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule());
9587 do { 9587 }
9588 int alt51=2; 9588 set(
9589 int LA51_0 = input.LA(1); 9589 current,
9590 9590 "number",
9591 if ( (LA51_0==19) ) { 9591 lv_number_5_0,
9592 alt51=1; 9592 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
9593 } 9593 afterParserOrEnumRuleCall();
9594 9594
9595 9595
9596 switch (alt51) { 9596 }
9597 case 1 : 9597
9598 // InternalApplicationConfiguration.g:3513:5: otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) 9598
9599 { 9599 }
9600 otherlv_3=(Token)match(input,19,FOLLOW_10); 9600
9601 9601
9602 newLeafNode(otherlv_3, grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0()); 9602 }
9603 9603 break;
9604 // InternalApplicationConfiguration.g:3517:5: ( (lv_entry_4_0= RULE_STRING ) ) 9604 case 3 :
9605 // InternalApplicationConfiguration.g:3518:6: (lv_entry_4_0= RULE_STRING ) 9605 // InternalApplicationConfiguration.g:3525:4: ( (lv_number_6_0= ruleStringEnumeration ) )
9606 { 9606 {
9607 // InternalApplicationConfiguration.g:3518:6: (lv_entry_4_0= RULE_STRING ) 9607 // InternalApplicationConfiguration.g:3525:4: ( (lv_number_6_0= ruleStringEnumeration ) )
9608 // InternalApplicationConfiguration.g:3519:7: lv_entry_4_0= RULE_STRING 9608 // InternalApplicationConfiguration.g:3526:5: (lv_number_6_0= ruleStringEnumeration )
9609 { 9609 {
9610 lv_entry_4_0=(Token)match(input,RULE_STRING,FOLLOW_14); 9610 // InternalApplicationConfiguration.g:3526:5: (lv_number_6_0= ruleStringEnumeration )
9611 9611 // InternalApplicationConfiguration.g:3527:6: lv_number_6_0= ruleStringEnumeration
9612 newLeafNode(lv_entry_4_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_1_1_0()); 9612 {
9613 9613
9614 9614 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0());
9615 if (current==null) { 9615
9616 current = createModelElement(grammarAccess.getStringEnumerationRule()); 9616 pushFollow(FOLLOW_2);
9617 } 9617 lv_number_6_0=ruleStringEnumeration();
9618 addWithLastConsumed( 9618
9619 current, 9619 state._fsp--;
9620 "entry", 9620
9621 lv_entry_4_0, 9621
9622 "org.eclipse.xtext.common.Terminals.STRING"); 9622 if (current==null) {
9623 9623 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule());
9624 9624 }
9625 } 9625 set(
9626 9626 current,
9627 9627 "number",
9628 } 9628 lv_number_6_0,
9629 9629 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringEnumeration");
9630 9630 afterParserOrEnumRuleCall();
9631 } 9631
9632 break; 9632
9633 9633 }
9634 default : 9634
9635 break loop51; 9635
9636 } 9636 }
9637 } while (true); 9637
9638 9638
9639 9639 }
9640 } 9640 break;
9641 break; 9641
9642 9642 }
9643 } 9643
9644 9644
9645 otherlv_5=(Token)match(input,20,FOLLOW_2); 9645 }
9646 9646
9647 newLeafNode(otherlv_5, grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3()); 9647
9648 9648 }
9649 9649
9650 } 9650
9651 9651 leaveRule();
9652 9652
9653 } 9653 }
9654 9654
9655 9655 catch (RecognitionException re) {
9656 leaveRule(); 9656 recover(input,re);
9657 9657 appendSkippedTokens();
9658 } 9658 }
9659 9659 finally {
9660 catch (RecognitionException re) { 9660 }
9661 recover(input,re); 9661 return current;
9662 appendSkippedTokens(); 9662 }
9663 } 9663 // $ANTLR end "ruleStringTypeScope"
9664 finally { 9664
9665 } 9665
9666 return current; 9666 // $ANTLR start "entryRuleClassReference"
9667 } 9667 // InternalApplicationConfiguration.g:3549:1: entryRuleClassReference returns [EObject current=null] : iv_ruleClassReference= ruleClassReference EOF ;
9668 // $ANTLR end "ruleStringEnumeration" 9668 public final EObject entryRuleClassReference() throws RecognitionException {
9669 9669 EObject current = null;
9670 9670
9671 // $ANTLR start "entryRuleScopeDeclaration" 9671 EObject iv_ruleClassReference = null;
9672 // InternalApplicationConfiguration.g:3545:1: entryRuleScopeDeclaration returns [EObject current=null] : iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ; 9672
9673 public final EObject entryRuleScopeDeclaration() throws RecognitionException { 9673
9674 EObject current = null; 9674 try {
9675 9675 // InternalApplicationConfiguration.g:3549:55: (iv_ruleClassReference= ruleClassReference EOF )
9676 EObject iv_ruleScopeDeclaration = null; 9676 // InternalApplicationConfiguration.g:3550:2: iv_ruleClassReference= ruleClassReference EOF
9677 9677 {
9678 9678 newCompositeNode(grammarAccess.getClassReferenceRule());
9679 try { 9679 pushFollow(FOLLOW_1);
9680 // InternalApplicationConfiguration.g:3545:57: (iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ) 9680 iv_ruleClassReference=ruleClassReference();
9681 // InternalApplicationConfiguration.g:3546:2: iv_ruleScopeDeclaration= ruleScopeDeclaration EOF 9681
9682 { 9682 state._fsp--;
9683 newCompositeNode(grammarAccess.getScopeDeclarationRule()); 9683
9684 pushFollow(FOLLOW_1); 9684 current =iv_ruleClassReference;
9685 iv_ruleScopeDeclaration=ruleScopeDeclaration(); 9685 match(input,EOF,FOLLOW_2);
9686 9686
9687 state._fsp--; 9687 }
9688 9688
9689 current =iv_ruleScopeDeclaration; 9689 }
9690 match(input,EOF,FOLLOW_2); 9690
9691 9691 catch (RecognitionException re) {
9692 } 9692 recover(input,re);
9693 9693 appendSkippedTokens();
9694 } 9694 }
9695 9695 finally {
9696 catch (RecognitionException re) { 9696 }
9697 recover(input,re); 9697 return current;
9698 appendSkippedTokens(); 9698 }
9699 } 9699 // $ANTLR end "entryRuleClassReference"
9700 finally { 9700
9701 } 9701
9702 return current; 9702 // $ANTLR start "ruleClassReference"
9703 } 9703 // InternalApplicationConfiguration.g:3556:1: ruleClassReference returns [EObject current=null] : (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) ;
9704 // $ANTLR end "entryRuleScopeDeclaration" 9704 public final EObject ruleClassReference() throws RecognitionException {
9705 9705 EObject current = null;
9706 9706
9707 // $ANTLR start "ruleScopeDeclaration" 9707 Token otherlv_0=null;
9708 // InternalApplicationConfiguration.g:3552:1: ruleScopeDeclaration returns [EObject current=null] : (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ; 9708 Token otherlv_2=null;
9709 public final EObject ruleScopeDeclaration() throws RecognitionException { 9709 EObject lv_element_1_0 = null;
9710 EObject current = null; 9710
9711 9711
9712 Token otherlv_0=null; 9712
9713 Token lv_name_1_0=null; 9713 enterRule();
9714 EObject lv_specification_2_0 = null; 9714
9715 9715 try {
9716 9716 // InternalApplicationConfiguration.g:3562:2: ( (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) )
9717 9717 // InternalApplicationConfiguration.g:3563:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' )
9718 enterRule(); 9718 {
9719 9719 // InternalApplicationConfiguration.g:3563:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' )
9720 try { 9720 // InternalApplicationConfiguration.g:3564:3: otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>'
9721 // InternalApplicationConfiguration.g:3558:2: ( (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ) 9721 {
9722 // InternalApplicationConfiguration.g:3559:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) 9722 otherlv_0=(Token)match(input,36,FOLLOW_6);
9723 { 9723
9724 // InternalApplicationConfiguration.g:3559:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) 9724 newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0());
9725 // InternalApplicationConfiguration.g:3560:3: otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) 9725
9726 { 9726 // InternalApplicationConfiguration.g:3568:3: ( (lv_element_1_0= ruleMetamodelElement ) )
9727 otherlv_0=(Token)match(input,42,FOLLOW_6); 9727 // InternalApplicationConfiguration.g:3569:4: (lv_element_1_0= ruleMetamodelElement )
9728 9728 {
9729 newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); 9729 // InternalApplicationConfiguration.g:3569:4: (lv_element_1_0= ruleMetamodelElement )
9730 9730 // InternalApplicationConfiguration.g:3570:5: lv_element_1_0= ruleMetamodelElement
9731 // InternalApplicationConfiguration.g:3564:3: ( (lv_name_1_0= RULE_ID ) ) 9731 {
9732 // InternalApplicationConfiguration.g:3565:4: (lv_name_1_0= RULE_ID ) 9732
9733 { 9733 newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0());
9734 // InternalApplicationConfiguration.g:3565:4: (lv_name_1_0= RULE_ID ) 9734
9735 // InternalApplicationConfiguration.g:3566:5: lv_name_1_0= RULE_ID 9735 pushFollow(FOLLOW_37);
9736 { 9736 lv_element_1_0=ruleMetamodelElement();
9737 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); 9737
9738 9738 state._fsp--;
9739 newLeafNode(lv_name_1_0, grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 9739
9740 9740
9741 9741 if (current==null) {
9742 if (current==null) { 9742 current = createModelElementForParent(grammarAccess.getClassReferenceRule());
9743 current = createModelElement(grammarAccess.getScopeDeclarationRule()); 9743 }
9744 } 9744 set(
9745 setWithLastConsumed( 9745 current,
9746 current, 9746 "element",
9747 "name", 9747 lv_element_1_0,
9748 lv_name_1_0, 9748 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement");
9749 "org.eclipse.xtext.common.Terminals.ID"); 9749 afterParserOrEnumRuleCall();
9750 9750
9751 9751
9752 } 9752 }
9753 9753
9754 9754
9755 } 9755 }
9756 9756
9757 // InternalApplicationConfiguration.g:3582:3: ( (lv_specification_2_0= ruleScopeSpecification ) ) 9757 otherlv_2=(Token)match(input,37,FOLLOW_2);
9758 // InternalApplicationConfiguration.g:3583:4: (lv_specification_2_0= ruleScopeSpecification ) 9758
9759 { 9759 newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2());
9760 // InternalApplicationConfiguration.g:3583:4: (lv_specification_2_0= ruleScopeSpecification ) 9760
9761 // InternalApplicationConfiguration.g:3584:5: lv_specification_2_0= ruleScopeSpecification 9761
9762 { 9762 }
9763 9763
9764 newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); 9764
9765 9765 }
9766 pushFollow(FOLLOW_2); 9766
9767 lv_specification_2_0=ruleScopeSpecification(); 9767
9768 9768 leaveRule();
9769 state._fsp--; 9769
9770 9770 }
9771 9771
9772 if (current==null) { 9772 catch (RecognitionException re) {
9773 current = createModelElementForParent(grammarAccess.getScopeDeclarationRule()); 9773 recover(input,re);
9774 } 9774 appendSkippedTokens();
9775 set( 9775 }
9776 current, 9776 finally {
9777 "specification", 9777 }
9778 lv_specification_2_0, 9778 return current;
9779 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification"); 9779 }
9780 afterParserOrEnumRuleCall(); 9780 // $ANTLR end "ruleClassReference"
9781 9781
9782 9782
9783 } 9783 // $ANTLR start "entryRuleObjectReference"
9784 9784 // InternalApplicationConfiguration.g:3595:1: entryRuleObjectReference returns [EObject current=null] : iv_ruleObjectReference= ruleObjectReference EOF ;
9785 9785 public final EObject entryRuleObjectReference() throws RecognitionException {
9786 } 9786 EObject current = null;
9787 9787
9788 9788 EObject iv_ruleObjectReference = null;
9789 } 9789
9790 9790
9791 9791 try {
9792 } 9792 // InternalApplicationConfiguration.g:3595:56: (iv_ruleObjectReference= ruleObjectReference EOF )
9793 9793 // InternalApplicationConfiguration.g:3596:2: iv_ruleObjectReference= ruleObjectReference EOF
9794 9794 {
9795 leaveRule(); 9795 newCompositeNode(grammarAccess.getObjectReferenceRule());
9796 9796 pushFollow(FOLLOW_1);
9797 } 9797 iv_ruleObjectReference=ruleObjectReference();
9798 9798
9799 catch (RecognitionException re) { 9799 state._fsp--;
9800 recover(input,re); 9800
9801 appendSkippedTokens(); 9801 current =iv_ruleObjectReference;
9802 } 9802 match(input,EOF,FOLLOW_2);
9803 finally { 9803
9804 } 9804 }
9805 return current; 9805
9806 } 9806 }
9807 // $ANTLR end "ruleScopeDeclaration" 9807
9808 9808 catch (RecognitionException re) {
9809 9809 recover(input,re);
9810 // $ANTLR start "entryRuleScopeReference" 9810 appendSkippedTokens();
9811 // InternalApplicationConfiguration.g:3605:1: entryRuleScopeReference returns [EObject current=null] : iv_ruleScopeReference= ruleScopeReference EOF ; 9811 }
9812 public final EObject entryRuleScopeReference() throws RecognitionException { 9812 finally {
9813 EObject current = null; 9813 }
9814 9814 return current;
9815 EObject iv_ruleScopeReference = null; 9815 }
9816 9816 // $ANTLR end "entryRuleObjectReference"
9817 9817
9818 try { 9818
9819 // InternalApplicationConfiguration.g:3605:55: (iv_ruleScopeReference= ruleScopeReference EOF ) 9819 // $ANTLR start "ruleObjectReference"
9820 // InternalApplicationConfiguration.g:3606:2: iv_ruleScopeReference= ruleScopeReference EOF 9820 // InternalApplicationConfiguration.g:3602:1: ruleObjectReference returns [EObject current=null] : ( () otherlv_1= 'node' ) ;
9821 { 9821 public final EObject ruleObjectReference() throws RecognitionException {
9822 newCompositeNode(grammarAccess.getScopeReferenceRule()); 9822 EObject current = null;
9823 pushFollow(FOLLOW_1); 9823
9824 iv_ruleScopeReference=ruleScopeReference(); 9824 Token otherlv_1=null;
9825 9825
9826 state._fsp--; 9826
9827 9827 enterRule();
9828 current =iv_ruleScopeReference; 9828
9829 match(input,EOF,FOLLOW_2); 9829 try {
9830 9830 // InternalApplicationConfiguration.g:3608:2: ( ( () otherlv_1= 'node' ) )
9831 } 9831 // InternalApplicationConfiguration.g:3609:2: ( () otherlv_1= 'node' )
9832 9832 {
9833 } 9833 // InternalApplicationConfiguration.g:3609:2: ( () otherlv_1= 'node' )
9834 9834 // InternalApplicationConfiguration.g:3610:3: () otherlv_1= 'node'
9835 catch (RecognitionException re) { 9835 {
9836 recover(input,re); 9836 // InternalApplicationConfiguration.g:3610:3: ()
9837 appendSkippedTokens(); 9837 // InternalApplicationConfiguration.g:3611:4:
9838 } 9838 {
9839 finally { 9839
9840 } 9840 current = forceCreateModelElement(
9841 return current; 9841 grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(),
9842 } 9842 current);
9843 // $ANTLR end "entryRuleScopeReference" 9843
9844 9844
9845 9845 }
9846 // $ANTLR start "ruleScopeReference" 9846
9847 // InternalApplicationConfiguration.g:3612:1: ruleScopeReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; 9847 otherlv_1=(Token)match(input,38,FOLLOW_2);
9848 public final EObject ruleScopeReference() throws RecognitionException { 9848
9849 EObject current = null; 9849 newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getNodeKeyword_1());
9850 9850
9851 Token otherlv_0=null; 9851
9852 9852 }
9853 9853
9854 enterRule(); 9854
9855 9855 }
9856 try { 9856
9857 // InternalApplicationConfiguration.g:3618:2: ( ( (otherlv_0= RULE_ID ) ) ) 9857
9858 // InternalApplicationConfiguration.g:3619:2: ( (otherlv_0= RULE_ID ) ) 9858 leaveRule();
9859 { 9859
9860 // InternalApplicationConfiguration.g:3619:2: ( (otherlv_0= RULE_ID ) ) 9860 }
9861 // InternalApplicationConfiguration.g:3620:3: (otherlv_0= RULE_ID ) 9861
9862 { 9862 catch (RecognitionException re) {
9863 // InternalApplicationConfiguration.g:3620:3: (otherlv_0= RULE_ID ) 9863 recover(input,re);
9864 // InternalApplicationConfiguration.g:3621:4: otherlv_0= RULE_ID 9864 appendSkippedTokens();
9865 { 9865 }
9866 9866 finally {
9867 if (current==null) { 9867 }
9868 current = createModelElement(grammarAccess.getScopeReferenceRule()); 9868 return current;
9869 } 9869 }
9870 9870 // $ANTLR end "ruleObjectReference"
9871 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); 9871
9872 9872
9873 newLeafNode(otherlv_0, grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); 9873 // $ANTLR start "entryRuleIntegerReference"
9874 9874 // InternalApplicationConfiguration.g:3625:1: entryRuleIntegerReference returns [EObject current=null] : iv_ruleIntegerReference= ruleIntegerReference EOF ;
9875 9875 public final EObject entryRuleIntegerReference() throws RecognitionException {
9876 } 9876 EObject current = null;
9877 9877
9878 9878 EObject iv_ruleIntegerReference = null;
9879 } 9879
9880 9880
9881 9881 try {
9882 } 9882 // InternalApplicationConfiguration.g:3625:57: (iv_ruleIntegerReference= ruleIntegerReference EOF )
9883 9883 // InternalApplicationConfiguration.g:3626:2: iv_ruleIntegerReference= ruleIntegerReference EOF
9884 9884 {
9885 leaveRule(); 9885 newCompositeNode(grammarAccess.getIntegerReferenceRule());
9886 9886 pushFollow(FOLLOW_1);
9887 } 9887 iv_ruleIntegerReference=ruleIntegerReference();
9888 9888
9889 catch (RecognitionException re) { 9889 state._fsp--;
9890 recover(input,re); 9890
9891 appendSkippedTokens(); 9891 current =iv_ruleIntegerReference;
9892 } 9892 match(input,EOF,FOLLOW_2);
9893 finally { 9893
9894 } 9894 }
9895 return current; 9895
9896 } 9896 }
9897 // $ANTLR end "ruleScopeReference" 9897
9898 9898 catch (RecognitionException re) {
9899 9899 recover(input,re);
9900 // $ANTLR start "entryRuleScope" 9900 appendSkippedTokens();
9901 // InternalApplicationConfiguration.g:3635:1: entryRuleScope returns [EObject current=null] : iv_ruleScope= ruleScope EOF ; 9901 }
9902 public final EObject entryRuleScope() throws RecognitionException { 9902 finally {
9903 EObject current = null; 9903 }
9904 9904 return current;
9905 EObject iv_ruleScope = null; 9905 }
9906 9906 // $ANTLR end "entryRuleIntegerReference"
9907 9907
9908 try { 9908
9909 // InternalApplicationConfiguration.g:3635:46: (iv_ruleScope= ruleScope EOF ) 9909 // $ANTLR start "ruleIntegerReference"
9910 // InternalApplicationConfiguration.g:3636:2: iv_ruleScope= ruleScope EOF 9910 // InternalApplicationConfiguration.g:3632:1: ruleIntegerReference returns [EObject current=null] : ( () otherlv_1= 'int' ) ;
9911 { 9911 public final EObject ruleIntegerReference() throws RecognitionException {
9912 newCompositeNode(grammarAccess.getScopeRule()); 9912 EObject current = null;
9913 pushFollow(FOLLOW_1); 9913
9914 iv_ruleScope=ruleScope(); 9914 Token otherlv_1=null;
9915 9915
9916 state._fsp--; 9916
9917 9917 enterRule();
9918 current =iv_ruleScope; 9918
9919 match(input,EOF,FOLLOW_2); 9919 try {
9920 9920 // InternalApplicationConfiguration.g:3638:2: ( ( () otherlv_1= 'int' ) )
9921 } 9921 // InternalApplicationConfiguration.g:3639:2: ( () otherlv_1= 'int' )
9922 9922 {
9923 } 9923 // InternalApplicationConfiguration.g:3639:2: ( () otherlv_1= 'int' )
9924 9924 // InternalApplicationConfiguration.g:3640:3: () otherlv_1= 'int'
9925 catch (RecognitionException re) { 9925 {
9926 recover(input,re); 9926 // InternalApplicationConfiguration.g:3640:3: ()
9927 appendSkippedTokens(); 9927 // InternalApplicationConfiguration.g:3641:4:
9928 } 9928 {
9929 finally { 9929
9930 } 9930 current = forceCreateModelElement(
9931 return current; 9931 grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(),
9932 } 9932 current);
9933 // $ANTLR end "entryRuleScope" 9933
9934 9934
9935 9935 }
9936 // $ANTLR start "ruleScope" 9936
9937 // InternalApplicationConfiguration.g:3642:1: ruleScope returns [EObject current=null] : (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ; 9937 otherlv_1=(Token)match(input,39,FOLLOW_2);
9938 public final EObject ruleScope() throws RecognitionException { 9938
9939 EObject current = null; 9939 newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1());
9940 9940
9941 EObject this_ScopeSpecification_0 = null; 9941
9942 9942 }
9943 EObject this_ScopeReference_1 = null; 9943
9944 9944
9945 9945 }
9946 9946
9947 enterRule(); 9947
9948 9948 leaveRule();
9949 try { 9949
9950 // InternalApplicationConfiguration.g:3648:2: ( (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ) 9950 }
9951 // InternalApplicationConfiguration.g:3649:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) 9951
9952 { 9952 catch (RecognitionException re) {
9953 // InternalApplicationConfiguration.g:3649:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) 9953 recover(input,re);
9954 int alt53=2; 9954 appendSkippedTokens();
9955 int LA53_0 = input.LA(1); 9955 }
9956 9956 finally {
9957 if ( (LA53_0==18) ) { 9957 }
9958 alt53=1; 9958 return current;
9959 } 9959 }
9960 else if ( (LA53_0==RULE_ID) ) { 9960 // $ANTLR end "ruleIntegerReference"
9961 alt53=2; 9961
9962 } 9962
9963 else { 9963 // $ANTLR start "entryRuleRealReference"
9964 NoViableAltException nvae = 9964 // InternalApplicationConfiguration.g:3655:1: entryRuleRealReference returns [EObject current=null] : iv_ruleRealReference= ruleRealReference EOF ;
9965 new NoViableAltException("", 53, 0, input); 9965 public final EObject entryRuleRealReference() throws RecognitionException {
9966 9966 EObject current = null;
9967 throw nvae; 9967
9968 } 9968 EObject iv_ruleRealReference = null;
9969 switch (alt53) { 9969
9970 case 1 : 9970
9971 // InternalApplicationConfiguration.g:3650:3: this_ScopeSpecification_0= ruleScopeSpecification 9971 try {
9972 { 9972 // InternalApplicationConfiguration.g:3655:54: (iv_ruleRealReference= ruleRealReference EOF )
9973 9973 // InternalApplicationConfiguration.g:3656:2: iv_ruleRealReference= ruleRealReference EOF
9974 newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); 9974 {
9975 9975 newCompositeNode(grammarAccess.getRealReferenceRule());
9976 pushFollow(FOLLOW_2); 9976 pushFollow(FOLLOW_1);
9977 this_ScopeSpecification_0=ruleScopeSpecification(); 9977 iv_ruleRealReference=ruleRealReference();
9978 9978
9979 state._fsp--; 9979 state._fsp--;
9980 9980
9981 9981 current =iv_ruleRealReference;
9982 current = this_ScopeSpecification_0; 9982 match(input,EOF,FOLLOW_2);
9983 afterParserOrEnumRuleCall(); 9983
9984 9984 }
9985 9985
9986 } 9986 }
9987 break; 9987
9988 case 2 : 9988 catch (RecognitionException re) {
9989 // InternalApplicationConfiguration.g:3659:3: this_ScopeReference_1= ruleScopeReference 9989 recover(input,re);
9990 { 9990 appendSkippedTokens();
9991 9991 }
9992 newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); 9992 finally {
9993 9993 }
9994 pushFollow(FOLLOW_2); 9994 return current;
9995 this_ScopeReference_1=ruleScopeReference(); 9995 }
9996 9996 // $ANTLR end "entryRuleRealReference"
9997 state._fsp--; 9997
9998 9998
9999 9999 // $ANTLR start "ruleRealReference"
10000 current = this_ScopeReference_1; 10000 // InternalApplicationConfiguration.g:3662:1: ruleRealReference returns [EObject current=null] : ( () otherlv_1= 'real' ) ;
10001 afterParserOrEnumRuleCall(); 10001 public final EObject ruleRealReference() throws RecognitionException {
10002 10002 EObject current = null;
10003 10003
10004 } 10004 Token otherlv_1=null;
10005 break; 10005
10006 10006
10007 } 10007 enterRule();
10008 10008
10009 10009 try {
10010 } 10010 // InternalApplicationConfiguration.g:3668:2: ( ( () otherlv_1= 'real' ) )
10011 10011 // InternalApplicationConfiguration.g:3669:2: ( () otherlv_1= 'real' )
10012 10012 {
10013 leaveRule(); 10013 // InternalApplicationConfiguration.g:3669:2: ( () otherlv_1= 'real' )
10014 10014 // InternalApplicationConfiguration.g:3670:3: () otherlv_1= 'real'
10015 } 10015 {
10016 10016 // InternalApplicationConfiguration.g:3670:3: ()
10017 catch (RecognitionException re) { 10017 // InternalApplicationConfiguration.g:3671:4:
10018 recover(input,re); 10018 {
10019 appendSkippedTokens(); 10019
10020 } 10020 current = forceCreateModelElement(
10021 finally { 10021 grammarAccess.getRealReferenceAccess().getRealScopeAction_0(),
10022 } 10022 current);
10023 return current; 10023
10024 } 10024
10025 // $ANTLR end "ruleScope" 10025 }
10026 10026
10027 10027 otherlv_1=(Token)match(input,40,FOLLOW_2);
10028 // $ANTLR start "entryRuleTask" 10028
10029 // InternalApplicationConfiguration.g:3671:1: entryRuleTask returns [EObject current=null] : iv_ruleTask= ruleTask EOF ; 10029 newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1());
10030 public final EObject entryRuleTask() throws RecognitionException { 10030
10031 EObject current = null; 10031
10032 10032 }
10033 EObject iv_ruleTask = null; 10033
10034 10034
10035 10035 }
10036 try { 10036
10037 // InternalApplicationConfiguration.g:3671:45: (iv_ruleTask= ruleTask EOF ) 10037
10038 // InternalApplicationConfiguration.g:3672:2: iv_ruleTask= ruleTask EOF 10038 leaveRule();
10039 { 10039
10040 newCompositeNode(grammarAccess.getTaskRule()); 10040 }
10041 pushFollow(FOLLOW_1); 10041
10042 iv_ruleTask=ruleTask(); 10042 catch (RecognitionException re) {
10043 10043 recover(input,re);
10044 state._fsp--; 10044 appendSkippedTokens();
10045 10045 }
10046 current =iv_ruleTask; 10046 finally {
10047 match(input,EOF,FOLLOW_2); 10047 }
10048 10048 return current;
10049 } 10049 }
10050 10050 // $ANTLR end "ruleRealReference"
10051 } 10051
10052 10052
10053 catch (RecognitionException re) { 10053 // $ANTLR start "entryRuleStringReference"
10054 recover(input,re); 10054 // InternalApplicationConfiguration.g:3685:1: entryRuleStringReference returns [EObject current=null] : iv_ruleStringReference= ruleStringReference EOF ;
10055 appendSkippedTokens(); 10055 public final EObject entryRuleStringReference() throws RecognitionException {
10056 } 10056 EObject current = null;
10057 finally { 10057
10058 } 10058 EObject iv_ruleStringReference = null;
10059 return current; 10059
10060 } 10060
10061 // $ANTLR end "entryRuleTask" 10061 try {
10062 10062 // InternalApplicationConfiguration.g:3685:56: (iv_ruleStringReference= ruleStringReference EOF )
10063 10063 // InternalApplicationConfiguration.g:3686:2: iv_ruleStringReference= ruleStringReference EOF
10064 // $ANTLR start "ruleTask" 10064 {
10065 // InternalApplicationConfiguration.g:3678:1: ruleTask returns [EObject current=null] : this_GenerationTask_0= ruleGenerationTask ; 10065 newCompositeNode(grammarAccess.getStringReferenceRule());
10066 public final EObject ruleTask() throws RecognitionException { 10066 pushFollow(FOLLOW_1);
10067 EObject current = null; 10067 iv_ruleStringReference=ruleStringReference();
10068 10068
10069 EObject this_GenerationTask_0 = null; 10069 state._fsp--;
10070 10070
10071 10071 current =iv_ruleStringReference;
10072 10072 match(input,EOF,FOLLOW_2);
10073 enterRule(); 10073
10074 10074 }
10075 try { 10075
10076 // InternalApplicationConfiguration.g:3684:2: (this_GenerationTask_0= ruleGenerationTask ) 10076 }
10077 // InternalApplicationConfiguration.g:3685:2: this_GenerationTask_0= ruleGenerationTask 10077
10078 { 10078 catch (RecognitionException re) {
10079 10079 recover(input,re);
10080 newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); 10080 appendSkippedTokens();
10081 10081 }
10082 pushFollow(FOLLOW_2); 10082 finally {
10083 this_GenerationTask_0=ruleGenerationTask(); 10083 }
10084 10084 return current;
10085 state._fsp--; 10085 }
10086 10086 // $ANTLR end "entryRuleStringReference"
10087 10087
10088 current = this_GenerationTask_0; 10088
10089 afterParserOrEnumRuleCall(); 10089 // $ANTLR start "ruleStringReference"
10090 10090 // InternalApplicationConfiguration.g:3692:1: ruleStringReference returns [EObject current=null] : ( () otherlv_1= 'string' ) ;
10091 10091 public final EObject ruleStringReference() throws RecognitionException {
10092 } 10092 EObject current = null;
10093 10093
10094 10094 Token otherlv_1=null;
10095 leaveRule(); 10095
10096 10096
10097 } 10097 enterRule();
10098 10098
10099 catch (RecognitionException re) { 10099 try {
10100 recover(input,re); 10100 // InternalApplicationConfiguration.g:3698:2: ( ( () otherlv_1= 'string' ) )
10101 appendSkippedTokens(); 10101 // InternalApplicationConfiguration.g:3699:2: ( () otherlv_1= 'string' )
10102 } 10102 {
10103 finally { 10103 // InternalApplicationConfiguration.g:3699:2: ( () otherlv_1= 'string' )
10104 } 10104 // InternalApplicationConfiguration.g:3700:3: () otherlv_1= 'string'
10105 return current; 10105 {
10106 } 10106 // InternalApplicationConfiguration.g:3700:3: ()
10107 // $ANTLR end "ruleTask" 10107 // InternalApplicationConfiguration.g:3701:4:
10108 10108 {
10109 10109
10110 // $ANTLR start "entryRuleGenerationTask" 10110 current = forceCreateModelElement(
10111 // InternalApplicationConfiguration.g:3696:1: entryRuleGenerationTask returns [EObject current=null] : iv_ruleGenerationTask= ruleGenerationTask EOF ; 10111 grammarAccess.getStringReferenceAccess().getStringScopeAction_0(),
10112 public final EObject entryRuleGenerationTask() throws RecognitionException { 10112 current);
10113 EObject current = null; 10113
10114 10114
10115 EObject iv_ruleGenerationTask = null; 10115 }
10116 10116
10117 10117 otherlv_1=(Token)match(input,41,FOLLOW_2);
10118 try { 10118
10119 // InternalApplicationConfiguration.g:3696:55: (iv_ruleGenerationTask= ruleGenerationTask EOF ) 10119 newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1());
10120 // InternalApplicationConfiguration.g:3697:2: iv_ruleGenerationTask= ruleGenerationTask EOF 10120
10121 { 10121
10122 newCompositeNode(grammarAccess.getGenerationTaskRule()); 10122 }
10123 pushFollow(FOLLOW_1); 10123
10124 iv_ruleGenerationTask=ruleGenerationTask(); 10124
10125 10125 }
10126 state._fsp--; 10126
10127 10127
10128 current =iv_ruleGenerationTask; 10128 leaveRule();
10129 match(input,EOF,FOLLOW_2); 10129
10130 10130 }
10131 } 10131
10132 10132 catch (RecognitionException re) {
10133 } 10133 recover(input,re);
10134 10134 appendSkippedTokens();
10135 catch (RecognitionException re) { 10135 }
10136 recover(input,re); 10136 finally {
10137 appendSkippedTokens(); 10137 }
10138 } 10138 return current;
10139 finally { 10139 }
10140 } 10140 // $ANTLR end "ruleStringReference"
10141 return current; 10141
10142 } 10142
10143 // $ANTLR end "entryRuleGenerationTask" 10143 // $ANTLR start "entryRuleExactNumber"
10144 10144 // InternalApplicationConfiguration.g:3715:1: entryRuleExactNumber returns [EObject current=null] : iv_ruleExactNumber= ruleExactNumber EOF ;
10145 10145 public final EObject entryRuleExactNumber() throws RecognitionException {
10146 // $ANTLR start "ruleGenerationTask" 10146 EObject current = null;
10147 // InternalApplicationConfiguration.g:3703:1: ruleGenerationTask returns [EObject current=null] : (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) ; 10147
10148 public final EObject ruleGenerationTask() throws RecognitionException { 10148 EObject iv_ruleExactNumber = null;
10149 EObject current = null; 10149
10150 10150
10151 Token otherlv_0=null; 10151 try {
10152 Token otherlv_2=null; 10152 // InternalApplicationConfiguration.g:3715:52: (iv_ruleExactNumber= ruleExactNumber EOF )
10153 Token otherlv_4=null; 10153 // InternalApplicationConfiguration.g:3716:2: iv_ruleExactNumber= ruleExactNumber EOF
10154 Token otherlv_5=null; 10154 {
10155 Token otherlv_7=null; 10155 newCompositeNode(grammarAccess.getExactNumberRule());
10156 Token otherlv_8=null; 10156 pushFollow(FOLLOW_1);
10157 Token otherlv_10=null; 10157 iv_ruleExactNumber=ruleExactNumber();
10158 Token otherlv_11=null; 10158
10159 Token otherlv_13=null; 10159 state._fsp--;
10160 Token otherlv_14=null; 10160
10161 Token lv_numberSpecified_16_0=null; 10161 current =iv_ruleExactNumber;
10162 Token otherlv_17=null; 10162 match(input,EOF,FOLLOW_2);
10163 Token lv_number_18_0=null; 10163
10164 Token lv_runSpecified_19_0=null; 10164 }
10165 Token otherlv_20=null; 10165
10166 Token lv_runs_21_0=null; 10166 }
10167 Token otherlv_22=null; 10167
10168 Token otherlv_23=null; 10168 catch (RecognitionException re) {
10169 Token otherlv_25=null; 10169 recover(input,re);
10170 Token otherlv_26=null; 10170 appendSkippedTokens();
10171 Token otherlv_28=null; 10171 }
10172 Token otherlv_29=null; 10172 finally {
10173 Token otherlv_31=null; 10173 }
10174 Token otherlv_32=null; 10174 return current;
10175 Token otherlv_34=null; 10175 }
10176 Token otherlv_35=null; 10176 // $ANTLR end "entryRuleExactNumber"
10177 Token otherlv_37=null; 10177
10178 Token otherlv_38=null; 10178
10179 Token otherlv_40=null; 10179 // $ANTLR start "ruleExactNumber"
10180 EObject lv_metamodel_6_0 = null; 10180 // InternalApplicationConfiguration.g:3722:1: ruleExactNumber returns [EObject current=null] : ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) ;
10181 10181 public final EObject ruleExactNumber() throws RecognitionException {
10182 EObject lv_partialModel_9_0 = null; 10182 EObject current = null;
10183 10183
10184 EObject lv_patterns_12_0 = null; 10184 Token lv_exactNumber_0_0=null;
10185 10185 Token lv_exactUnlimited_1_0=null;
10186 EObject lv_scope_15_0 = null; 10186
10187 10187
10188 Enumerator lv_solver_24_0 = null; 10188 enterRule();
10189 10189
10190 EObject lv_config_27_0 = null; 10190 try {
10191 10191 // InternalApplicationConfiguration.g:3728:2: ( ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) )
10192 EObject lv_debugFolder_30_0 = null; 10192 // InternalApplicationConfiguration.g:3729:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) )
10193 10193 {
10194 EObject lv_targetLogFile_33_0 = null; 10194 // InternalApplicationConfiguration.g:3729:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) )
10195 10195 int alt49=2;
10196 EObject lv_targetStatisticsFile_36_0 = null; 10196 int LA49_0 = input.LA(1);
10197 10197
10198 EObject lv_tagetFolder_39_0 = null; 10198 if ( (LA49_0==RULE_INT) ) {
10199 10199 alt49=1;
10200 10200 }
10201 10201 else if ( (LA49_0==42) ) {
10202 enterRule(); 10202 alt49=2;
10203 10203 }
10204 try { 10204 else {
10205 // InternalApplicationConfiguration.g:3709:2: ( (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) ) 10205 NoViableAltException nvae =
10206 // InternalApplicationConfiguration.g:3710:2: (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) 10206 new NoViableAltException("", 49, 0, input);
10207 { 10207
10208 // InternalApplicationConfiguration.g:3710:2: (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) 10208 throw nvae;
10209 // InternalApplicationConfiguration.g:3711:3: otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' 10209 }
10210 { 10210 switch (alt49) {
10211 otherlv_0=(Token)match(input,43,FOLLOW_16); 10211 case 1 :
10212 10212 // InternalApplicationConfiguration.g:3730:3: ( (lv_exactNumber_0_0= RULE_INT ) )
10213 newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); 10213 {
10214 10214 // InternalApplicationConfiguration.g:3730:3: ( (lv_exactNumber_0_0= RULE_INT ) )
10215 // InternalApplicationConfiguration.g:3715:3: () 10215 // InternalApplicationConfiguration.g:3731:4: (lv_exactNumber_0_0= RULE_INT )
10216 // InternalApplicationConfiguration.g:3716:4: 10216 {
10217 { 10217 // InternalApplicationConfiguration.g:3731:4: (lv_exactNumber_0_0= RULE_INT )
10218 10218 // InternalApplicationConfiguration.g:3732:5: lv_exactNumber_0_0= RULE_INT
10219 current = forceCreateModelElement( 10219 {
10220 grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(), 10220 lv_exactNumber_0_0=(Token)match(input,RULE_INT,FOLLOW_2);
10221 current); 10221
10222 10222 newLeafNode(lv_exactNumber_0_0, grammarAccess.getExactNumberAccess().getExactNumberINTTerminalRuleCall_0_0());
10223 10223
10224 } 10224
10225 10225 if (current==null) {
10226 otherlv_2=(Token)match(input,18,FOLLOW_39); 10226 current = createModelElement(grammarAccess.getExactNumberRule());
10227 10227 }
10228 newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); 10228 setWithLastConsumed(
10229 10229 current,
10230 // InternalApplicationConfiguration.g:3726:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) 10230 "exactNumber",
10231 // InternalApplicationConfiguration.g:3727:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) 10231 lv_exactNumber_0_0,
10232 { 10232 "org.eclipse.xtext.common.Terminals.INT");
10233 // InternalApplicationConfiguration.g:3727:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) 10233
10234 // InternalApplicationConfiguration.g:3728:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) 10234
10235 { 10235 }
10236 10236
10237 getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10237
10238 10238 }
10239 // InternalApplicationConfiguration.g:3731:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) 10239
10240 // InternalApplicationConfiguration.g:3732:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* 10240
10241 { 10241 }
10242 // InternalApplicationConfiguration.g:3732:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* 10242 break;
10243 loop54: 10243 case 2 :
10244 do { 10244 // InternalApplicationConfiguration.g:3749:3: ( (lv_exactUnlimited_1_0= '*' ) )
10245 int alt54=13; 10245 {
10246 alt54 = dfa54.predict(input); 10246 // InternalApplicationConfiguration.g:3749:3: ( (lv_exactUnlimited_1_0= '*' ) )
10247 switch (alt54) { 10247 // InternalApplicationConfiguration.g:3750:4: (lv_exactUnlimited_1_0= '*' )
10248 case 1 : 10248 {
10249 // InternalApplicationConfiguration.g:3733:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) 10249 // InternalApplicationConfiguration.g:3750:4: (lv_exactUnlimited_1_0= '*' )
10250 { 10250 // InternalApplicationConfiguration.g:3751:5: lv_exactUnlimited_1_0= '*'
10251 // InternalApplicationConfiguration.g:3733:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) 10251 {
10252 // InternalApplicationConfiguration.g:3734:5: {...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) 10252 lv_exactUnlimited_1_0=(Token)match(input,42,FOLLOW_2);
10253 { 10253
10254 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) { 10254 newLeafNode(lv_exactUnlimited_1_0, grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0());
10255 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)"); 10255
10256 } 10256
10257 // InternalApplicationConfiguration.g:3734:111: ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) 10257 if (current==null) {
10258 // InternalApplicationConfiguration.g:3735:6: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) 10258 current = createModelElement(grammarAccess.getExactNumberRule());
10259 { 10259 }
10260 10260 setWithLastConsumed(current, "exactUnlimited", true, "*");
10261 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); 10261
10262 10262
10263 // InternalApplicationConfiguration.g:3738:9: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) 10263 }
10264 // InternalApplicationConfiguration.g:3738:10: {...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) 10264
10265 { 10265
10266 if ( !((true)) ) { 10266 }
10267 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10267
10268 } 10268
10269 // InternalApplicationConfiguration.g:3738:19: (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) 10269 }
10270 // InternalApplicationConfiguration.g:3738:20: otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) 10270 break;
10271 { 10271
10272 otherlv_4=(Token)match(input,24,FOLLOW_12); 10272 }
10273 10273
10274 newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); 10274
10275 10275 }
10276 otherlv_5=(Token)match(input,17,FOLLOW_40); 10276
10277 10277
10278 newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); 10278 leaveRule();
10279 10279
10280 // InternalApplicationConfiguration.g:3746:9: ( (lv_metamodel_6_0= ruleMetamodel ) ) 10280 }
10281 // InternalApplicationConfiguration.g:3747:10: (lv_metamodel_6_0= ruleMetamodel ) 10281
10282 { 10282 catch (RecognitionException re) {
10283 // InternalApplicationConfiguration.g:3747:10: (lv_metamodel_6_0= ruleMetamodel ) 10283 recover(input,re);
10284 // InternalApplicationConfiguration.g:3748:11: lv_metamodel_6_0= ruleMetamodel 10284 appendSkippedTokens();
10285 { 10285 }
10286 10286 finally {
10287 newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); 10287 }
10288 10288 return current;
10289 pushFollow(FOLLOW_39); 10289 }
10290 lv_metamodel_6_0=ruleMetamodel(); 10290 // $ANTLR end "ruleExactNumber"
10291 10291
10292 state._fsp--; 10292
10293 10293 // $ANTLR start "entryRuleIntervallNumber"
10294 10294 // InternalApplicationConfiguration.g:3767:1: entryRuleIntervallNumber returns [EObject current=null] : iv_ruleIntervallNumber= ruleIntervallNumber EOF ;
10295 if (current==null) { 10295 public final EObject entryRuleIntervallNumber() throws RecognitionException {
10296 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 10296 EObject current = null;
10297 } 10297
10298 set( 10298 EObject iv_ruleIntervallNumber = null;
10299 current, 10299
10300 "metamodel", 10300
10301 lv_metamodel_6_0, 10301 try {
10302 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel"); 10302 // InternalApplicationConfiguration.g:3767:56: (iv_ruleIntervallNumber= ruleIntervallNumber EOF )
10303 afterParserOrEnumRuleCall(); 10303 // InternalApplicationConfiguration.g:3768:2: iv_ruleIntervallNumber= ruleIntervallNumber EOF
10304 10304 {
10305 10305 newCompositeNode(grammarAccess.getIntervallNumberRule());
10306 } 10306 pushFollow(FOLLOW_1);
10307 10307 iv_ruleIntervallNumber=ruleIntervallNumber();
10308 10308
10309 } 10309 state._fsp--;
10310 10310
10311 10311 current =iv_ruleIntervallNumber;
10312 } 10312 match(input,EOF,FOLLOW_2);
10313 10313
10314 10314 }
10315 } 10315
10316 10316 }
10317 10317
10318 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10318 catch (RecognitionException re) {
10319 10319 recover(input,re);
10320 10320 appendSkippedTokens();
10321 } 10321 }
10322 10322 finally {
10323 10323 }
10324 } 10324 return current;
10325 10325 }
10326 10326 // $ANTLR end "entryRuleIntervallNumber"
10327 } 10327
10328 break; 10328
10329 case 2 : 10329 // $ANTLR start "ruleIntervallNumber"
10330 // InternalApplicationConfiguration.g:3771:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) 10330 // InternalApplicationConfiguration.g:3774:1: ruleIntervallNumber returns [EObject current=null] : ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) ;
10331 { 10331 public final EObject ruleIntervallNumber() throws RecognitionException {
10332 // InternalApplicationConfiguration.g:3771:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) 10332 EObject current = null;
10333 // InternalApplicationConfiguration.g:3772:5: {...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) 10333
10334 { 10334 Token lv_min_0_0=null;
10335 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) { 10335 Token otherlv_1=null;
10336 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)"); 10336 Token lv_maxNumber_2_0=null;
10337 } 10337 Token lv_maxUnlimited_3_0=null;
10338 // InternalApplicationConfiguration.g:3772:111: ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) 10338
10339 // InternalApplicationConfiguration.g:3773:6: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) 10339
10340 { 10340 enterRule();
10341 10341
10342 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); 10342 try {
10343 10343 // InternalApplicationConfiguration.g:3780:2: ( ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) )
10344 // InternalApplicationConfiguration.g:3776:9: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) 10344 // InternalApplicationConfiguration.g:3781:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) )
10345 // InternalApplicationConfiguration.g:3776:10: {...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) 10345 {
10346 { 10346 // InternalApplicationConfiguration.g:3781:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) )
10347 if ( !((true)) ) { 10347 // InternalApplicationConfiguration.g:3782:3: ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) )
10348 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10348 {
10349 } 10349 // InternalApplicationConfiguration.g:3782:3: ( (lv_min_0_0= RULE_INT ) )
10350 // InternalApplicationConfiguration.g:3776:19: (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) 10350 // InternalApplicationConfiguration.g:3783:4: (lv_min_0_0= RULE_INT )
10351 // InternalApplicationConfiguration.g:3776:20: otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) 10351 {
10352 { 10352 // InternalApplicationConfiguration.g:3783:4: (lv_min_0_0= RULE_INT )
10353 otherlv_7=(Token)match(input,44,FOLLOW_12); 10353 // InternalApplicationConfiguration.g:3784:5: lv_min_0_0= RULE_INT
10354 10354 {
10355 newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); 10355 lv_min_0_0=(Token)match(input,RULE_INT,FOLLOW_38);
10356 10356
10357 otherlv_8=(Token)match(input,17,FOLLOW_40); 10357 newLeafNode(lv_min_0_0, grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0());
10358 10358
10359 newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); 10359
10360 10360 if (current==null) {
10361 // InternalApplicationConfiguration.g:3784:9: ( (lv_partialModel_9_0= rulePartialModel ) ) 10361 current = createModelElement(grammarAccess.getIntervallNumberRule());
10362 // InternalApplicationConfiguration.g:3785:10: (lv_partialModel_9_0= rulePartialModel ) 10362 }
10363 { 10363 setWithLastConsumed(
10364 // InternalApplicationConfiguration.g:3785:10: (lv_partialModel_9_0= rulePartialModel ) 10364 current,
10365 // InternalApplicationConfiguration.g:3786:11: lv_partialModel_9_0= rulePartialModel 10365 "min",
10366 { 10366 lv_min_0_0,
10367 10367 "org.eclipse.xtext.common.Terminals.INT");
10368 newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); 10368
10369 10369
10370 pushFollow(FOLLOW_39); 10370 }
10371 lv_partialModel_9_0=rulePartialModel(); 10371
10372 10372
10373 state._fsp--; 10373 }
10374 10374
10375 10375 otherlv_1=(Token)match(input,43,FOLLOW_31);
10376 if (current==null) { 10376
10377 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 10377 newLeafNode(otherlv_1, grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1());
10378 } 10378
10379 set( 10379 // InternalApplicationConfiguration.g:3804:3: ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) )
10380 current, 10380 int alt50=2;
10381 "partialModel", 10381 int LA50_0 = input.LA(1);
10382 lv_partialModel_9_0, 10382
10383 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel"); 10383 if ( (LA50_0==RULE_INT) ) {
10384 afterParserOrEnumRuleCall(); 10384 alt50=1;
10385 10385 }
10386 10386 else if ( (LA50_0==42) ) {
10387 } 10387 alt50=2;
10388 10388 }
10389 10389 else {
10390 } 10390 NoViableAltException nvae =
10391 10391 new NoViableAltException("", 50, 0, input);
10392 10392
10393 } 10393 throw nvae;
10394 10394 }
10395 10395 switch (alt50) {
10396 } 10396 case 1 :
10397 10397 // InternalApplicationConfiguration.g:3805:4: ( (lv_maxNumber_2_0= RULE_INT ) )
10398 10398 {
10399 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10399 // InternalApplicationConfiguration.g:3805:4: ( (lv_maxNumber_2_0= RULE_INT ) )
10400 10400 // InternalApplicationConfiguration.g:3806:5: (lv_maxNumber_2_0= RULE_INT )
10401 10401 {
10402 } 10402 // InternalApplicationConfiguration.g:3806:5: (lv_maxNumber_2_0= RULE_INT )
10403 10403 // InternalApplicationConfiguration.g:3807:6: lv_maxNumber_2_0= RULE_INT
10404 10404 {
10405 } 10405 lv_maxNumber_2_0=(Token)match(input,RULE_INT,FOLLOW_2);
10406 10406
10407 10407 newLeafNode(lv_maxNumber_2_0, grammarAccess.getIntervallNumberAccess().getMaxNumberINTTerminalRuleCall_2_0_0());
10408 } 10408
10409 break; 10409
10410 case 3 : 10410 if (current==null) {
10411 // InternalApplicationConfiguration.g:3809:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) 10411 current = createModelElement(grammarAccess.getIntervallNumberRule());
10412 { 10412 }
10413 // InternalApplicationConfiguration.g:3809:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) 10413 setWithLastConsumed(
10414 // InternalApplicationConfiguration.g:3810:5: {...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) 10414 current,
10415 { 10415 "maxNumber",
10416 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) { 10416 lv_maxNumber_2_0,
10417 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)"); 10417 "org.eclipse.xtext.common.Terminals.INT");
10418 } 10418
10419 // InternalApplicationConfiguration.g:3810:111: ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) 10419
10420 // InternalApplicationConfiguration.g:3811:6: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) 10420 }
10421 { 10421
10422 10422
10423 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); 10423 }
10424 10424
10425 // InternalApplicationConfiguration.g:3814:9: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) 10425
10426 // InternalApplicationConfiguration.g:3814:10: {...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) 10426 }
10427 { 10427 break;
10428 if ( !((true)) ) { 10428 case 2 :
10429 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10429 // InternalApplicationConfiguration.g:3824:4: ( (lv_maxUnlimited_3_0= '*' ) )
10430 } 10430 {
10431 // InternalApplicationConfiguration.g:3814:19: (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) 10431 // InternalApplicationConfiguration.g:3824:4: ( (lv_maxUnlimited_3_0= '*' ) )
10432 // InternalApplicationConfiguration.g:3814:20: otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) 10432 // InternalApplicationConfiguration.g:3825:5: (lv_maxUnlimited_3_0= '*' )
10433 { 10433 {
10434 otherlv_10=(Token)match(input,27,FOLLOW_12); 10434 // InternalApplicationConfiguration.g:3825:5: (lv_maxUnlimited_3_0= '*' )
10435 10435 // InternalApplicationConfiguration.g:3826:6: lv_maxUnlimited_3_0= '*'
10436 newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0()); 10436 {
10437 10437 lv_maxUnlimited_3_0=(Token)match(input,42,FOLLOW_2);
10438 otherlv_11=(Token)match(input,17,FOLLOW_40); 10438
10439 10439 newLeafNode(lv_maxUnlimited_3_0, grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0());
10440 newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); 10440
10441 10441
10442 // InternalApplicationConfiguration.g:3822:9: ( (lv_patterns_12_0= ruleGraphPattern ) ) 10442 if (current==null) {
10443 // InternalApplicationConfiguration.g:3823:10: (lv_patterns_12_0= ruleGraphPattern ) 10443 current = createModelElement(grammarAccess.getIntervallNumberRule());
10444 { 10444 }
10445 // InternalApplicationConfiguration.g:3823:10: (lv_patterns_12_0= ruleGraphPattern ) 10445 setWithLastConsumed(current, "maxUnlimited", true, "*");
10446 // InternalApplicationConfiguration.g:3824:11: lv_patterns_12_0= ruleGraphPattern 10446
10447 { 10447
10448 10448 }
10449 newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); 10449
10450 10450
10451 pushFollow(FOLLOW_39); 10451 }
10452 lv_patterns_12_0=ruleGraphPattern(); 10452
10453 10453
10454 state._fsp--; 10454 }
10455 10455 break;
10456 10456
10457 if (current==null) { 10457 }
10458 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 10458
10459 } 10459
10460 set( 10460 }
10461 current, 10461
10462 "patterns", 10462
10463 lv_patterns_12_0, 10463 }
10464 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern"); 10464
10465 afterParserOrEnumRuleCall(); 10465
10466 10466 leaveRule();
10467 10467
10468 } 10468 }
10469 10469
10470 10470 catch (RecognitionException re) {
10471 } 10471 recover(input,re);
10472 10472 appendSkippedTokens();
10473 10473 }
10474 } 10474 finally {
10475 10475 }
10476 10476 return current;
10477 } 10477 }
10478 10478 // $ANTLR end "ruleIntervallNumber"
10479 10479
10480 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10480
10481 10481 // $ANTLR start "entryRuleIntEnumberation"
10482 10482 // InternalApplicationConfiguration.g:3843:1: entryRuleIntEnumberation returns [EObject current=null] : iv_ruleIntEnumberation= ruleIntEnumberation EOF ;
10483 } 10483 public final EObject entryRuleIntEnumberation() throws RecognitionException {
10484 10484 EObject current = null;
10485 10485
10486 } 10486 EObject iv_ruleIntEnumberation = null;
10487 10487
10488 10488
10489 } 10489 try {
10490 break; 10490 // InternalApplicationConfiguration.g:3843:56: (iv_ruleIntEnumberation= ruleIntEnumberation EOF )
10491 case 4 : 10491 // InternalApplicationConfiguration.g:3844:2: iv_ruleIntEnumberation= ruleIntEnumberation EOF
10492 // InternalApplicationConfiguration.g:3847:4: ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) 10492 {
10493 { 10493 newCompositeNode(grammarAccess.getIntEnumberationRule());
10494 // InternalApplicationConfiguration.g:3847:4: ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) 10494 pushFollow(FOLLOW_1);
10495 // InternalApplicationConfiguration.g:3848:5: {...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) 10495 iv_ruleIntEnumberation=ruleIntEnumberation();
10496 { 10496
10497 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) { 10497 state._fsp--;
10498 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)"); 10498
10499 } 10499 current =iv_ruleIntEnumberation;
10500 // InternalApplicationConfiguration.g:3848:111: ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) 10500 match(input,EOF,FOLLOW_2);
10501 // InternalApplicationConfiguration.g:3849:6: ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) 10501
10502 { 10502 }
10503 10503
10504 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); 10504 }
10505 10505
10506 // InternalApplicationConfiguration.g:3852:9: ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) 10506 catch (RecognitionException re) {
10507 // InternalApplicationConfiguration.g:3852:10: {...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) 10507 recover(input,re);
10508 { 10508 appendSkippedTokens();
10509 if ( !((true)) ) { 10509 }
10510 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10510 finally {
10511 } 10511 }
10512 // InternalApplicationConfiguration.g:3852:19: (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) 10512 return current;
10513 // InternalApplicationConfiguration.g:3852:20: otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) 10513 }
10514 { 10514 // $ANTLR end "entryRuleIntEnumberation"
10515 otherlv_13=(Token)match(input,42,FOLLOW_12); 10515
10516 10516
10517 newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_3_0()); 10517 // $ANTLR start "ruleIntEnumberation"
10518 10518 // InternalApplicationConfiguration.g:3850:1: ruleIntEnumberation returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) ;
10519 otherlv_14=(Token)match(input,17,FOLLOW_40); 10519 public final EObject ruleIntEnumberation() throws RecognitionException {
10520 10520 EObject current = null;
10521 newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); 10521
10522 10522 Token otherlv_1=null;
10523 // InternalApplicationConfiguration.g:3860:9: ( (lv_scope_15_0= ruleScope ) ) 10523 Token otherlv_3=null;
10524 // InternalApplicationConfiguration.g:3861:10: (lv_scope_15_0= ruleScope ) 10524 Token otherlv_5=null;
10525 { 10525 AntlrDatatypeRuleToken lv_entry_2_0 = null;
10526 // InternalApplicationConfiguration.g:3861:10: (lv_scope_15_0= ruleScope ) 10526
10527 // InternalApplicationConfiguration.g:3862:11: lv_scope_15_0= ruleScope 10527 AntlrDatatypeRuleToken lv_entry_4_0 = null;
10528 { 10528
10529 10529
10530 newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_3_2_0()); 10530
10531 10531 enterRule();
10532 pushFollow(FOLLOW_39); 10532
10533 lv_scope_15_0=ruleScope(); 10533 try {
10534 10534 // InternalApplicationConfiguration.g:3856:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) )
10535 state._fsp--; 10535 // InternalApplicationConfiguration.g:3857:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' )
10536 10536 {
10537 10537 // InternalApplicationConfiguration.g:3857:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' )
10538 if (current==null) { 10538 // InternalApplicationConfiguration.g:3858:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}'
10539 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 10539 {
10540 } 10540 // InternalApplicationConfiguration.g:3858:3: ()
10541 set( 10541 // InternalApplicationConfiguration.g:3859:4:
10542 current, 10542 {
10543 "scope", 10543
10544 lv_scope_15_0, 10544 current = forceCreateModelElement(
10545 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope"); 10545 grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0(),
10546 afterParserOrEnumRuleCall(); 10546 current);
10547 10547
10548 10548
10549 } 10549 }
10550 10550
10551 10551 otherlv_1=(Token)match(input,18,FOLLOW_39);
10552 } 10552
10553 10553 newLeafNode(otherlv_1, grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1());
10554 10554
10555 } 10555 // InternalApplicationConfiguration.g:3869:3: ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )?
10556 10556 int alt52=2;
10557 10557 int LA52_0 = input.LA(1);
10558 } 10558
10559 10559 if ( (LA52_0==RULE_INT||LA52_0==12) ) {
10560 10560 alt52=1;
10561 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10561 }
10562 10562 switch (alt52) {
10563 10563 case 1 :
10564 } 10564 // InternalApplicationConfiguration.g:3870:4: ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )*
10565 10565 {
10566 10566 // InternalApplicationConfiguration.g:3870:4: ( (lv_entry_2_0= ruleINTLiteral ) )
10567 } 10567 // InternalApplicationConfiguration.g:3871:5: (lv_entry_2_0= ruleINTLiteral )
10568 10568 {
10569 10569 // InternalApplicationConfiguration.g:3871:5: (lv_entry_2_0= ruleINTLiteral )
10570 } 10570 // InternalApplicationConfiguration.g:3872:6: lv_entry_2_0= ruleINTLiteral
10571 break; 10571 {
10572 case 5 : 10572
10573 // InternalApplicationConfiguration.g:3885:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) 10573 newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0());
10574 { 10574
10575 // InternalApplicationConfiguration.g:3885:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) 10575 pushFollow(FOLLOW_14);
10576 // InternalApplicationConfiguration.g:3886:5: {...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) 10576 lv_entry_2_0=ruleINTLiteral();
10577 { 10577
10578 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) { 10578 state._fsp--;
10579 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)"); 10579
10580 } 10580
10581 // InternalApplicationConfiguration.g:3886:111: ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) 10581 if (current==null) {
10582 // InternalApplicationConfiguration.g:3887:6: ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) 10582 current = createModelElementForParent(grammarAccess.getIntEnumberationRule());
10583 { 10583 }
10584 10584 add(
10585 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); 10585 current,
10586 10586 "entry",
10587 // InternalApplicationConfiguration.g:3890:9: ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) 10587 lv_entry_2_0,
10588 // InternalApplicationConfiguration.g:3890:10: {...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) 10588 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral");
10589 { 10589 afterParserOrEnumRuleCall();
10590 if ( !((true)) ) { 10590
10591 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10591
10592 } 10592 }
10593 // InternalApplicationConfiguration.g:3890:19: ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) 10593
10594 // InternalApplicationConfiguration.g:3890:20: ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) 10594
10595 { 10595 }
10596 // InternalApplicationConfiguration.g:3890:20: ( (lv_numberSpecified_16_0= 'number' ) ) 10596
10597 // InternalApplicationConfiguration.g:3891:10: (lv_numberSpecified_16_0= 'number' ) 10597 // InternalApplicationConfiguration.g:3889:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )*
10598 { 10598 loop51:
10599 // InternalApplicationConfiguration.g:3891:10: (lv_numberSpecified_16_0= 'number' ) 10599 do {
10600 // InternalApplicationConfiguration.g:3892:11: lv_numberSpecified_16_0= 'number' 10600 int alt51=2;
10601 { 10601 int LA51_0 = input.LA(1);
10602 lv_numberSpecified_16_0=(Token)match(input,45,FOLLOW_12); 10602
10603 10603 if ( (LA51_0==19) ) {
10604 newLeafNode(lv_numberSpecified_16_0, grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_4_0_0()); 10604 alt51=1;
10605 10605 }
10606 10606
10607 if (current==null) { 10607
10608 current = createModelElement(grammarAccess.getGenerationTaskRule()); 10608 switch (alt51) {
10609 } 10609 case 1 :
10610 setWithLastConsumed(current, "numberSpecified", true, "number"); 10610 // InternalApplicationConfiguration.g:3890:5: otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) )
10611 10611 {
10612 10612 otherlv_3=(Token)match(input,19,FOLLOW_23);
10613 } 10613
10614 10614 newLeafNode(otherlv_3, grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0());
10615 10615
10616 } 10616 // InternalApplicationConfiguration.g:3894:5: ( (lv_entry_4_0= ruleINTLiteral ) )
10617 10617 // InternalApplicationConfiguration.g:3895:6: (lv_entry_4_0= ruleINTLiteral )
10618 otherlv_17=(Token)match(input,17,FOLLOW_7); 10618 {
10619 10619 // InternalApplicationConfiguration.g:3895:6: (lv_entry_4_0= ruleINTLiteral )
10620 newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); 10620 // InternalApplicationConfiguration.g:3896:7: lv_entry_4_0= ruleINTLiteral
10621 10621 {
10622 // InternalApplicationConfiguration.g:3908:9: ( (lv_number_18_0= RULE_INT ) ) 10622
10623 // InternalApplicationConfiguration.g:3909:10: (lv_number_18_0= RULE_INT ) 10623 newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0());
10624 { 10624
10625 // InternalApplicationConfiguration.g:3909:10: (lv_number_18_0= RULE_INT ) 10625 pushFollow(FOLLOW_14);
10626 // InternalApplicationConfiguration.g:3910:11: lv_number_18_0= RULE_INT 10626 lv_entry_4_0=ruleINTLiteral();
10627 { 10627
10628 lv_number_18_0=(Token)match(input,RULE_INT,FOLLOW_39); 10628 state._fsp--;
10629 10629
10630 newLeafNode(lv_number_18_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_4_2_0()); 10630
10631 10631 if (current==null) {
10632 10632 current = createModelElementForParent(grammarAccess.getIntEnumberationRule());
10633 if (current==null) { 10633 }
10634 current = createModelElement(grammarAccess.getGenerationTaskRule()); 10634 add(
10635 } 10635 current,
10636 setWithLastConsumed( 10636 "entry",
10637 current, 10637 lv_entry_4_0,
10638 "number", 10638 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral");
10639 lv_number_18_0, 10639 afterParserOrEnumRuleCall();
10640 "org.eclipse.xtext.common.Terminals.INT"); 10640
10641 10641
10642 10642 }
10643 } 10643
10644 10644
10645 10645 }
10646 } 10646
10647 10647
10648 10648 }
10649 } 10649 break;
10650 10650
10651 10651 default :
10652 } 10652 break loop51;
10653 10653 }
10654 10654 } while (true);
10655 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10655
10656 10656
10657 10657 }
10658 } 10658 break;
10659 10659
10660 10660 }
10661 } 10661
10662 10662 otherlv_5=(Token)match(input,20,FOLLOW_2);
10663 10663
10664 } 10664 newLeafNode(otherlv_5, grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3());
10665 break; 10665
10666 case 6 : 10666
10667 // InternalApplicationConfiguration.g:3932:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) 10667 }
10668 { 10668
10669 // InternalApplicationConfiguration.g:3932:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) 10669
10670 // InternalApplicationConfiguration.g:3933:5: {...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) 10670 }
10671 { 10671
10672 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) { 10672
10673 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)"); 10673 leaveRule();
10674 } 10674
10675 // InternalApplicationConfiguration.g:3933:111: ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) 10675 }
10676 // InternalApplicationConfiguration.g:3934:6: ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) 10676
10677 { 10677 catch (RecognitionException re) {
10678 10678 recover(input,re);
10679 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); 10679 appendSkippedTokens();
10680 10680 }
10681 // InternalApplicationConfiguration.g:3937:9: ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) 10681 finally {
10682 // InternalApplicationConfiguration.g:3937:10: {...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) 10682 }
10683 { 10683 return current;
10684 if ( !((true)) ) { 10684 }
10685 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10685 // $ANTLR end "ruleIntEnumberation"
10686 } 10686
10687 // InternalApplicationConfiguration.g:3937:19: ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) 10687
10688 // InternalApplicationConfiguration.g:3937:20: ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) 10688 // $ANTLR start "entryRuleRealEnumeration"
10689 { 10689 // InternalApplicationConfiguration.g:3923:1: entryRuleRealEnumeration returns [EObject current=null] : iv_ruleRealEnumeration= ruleRealEnumeration EOF ;
10690 // InternalApplicationConfiguration.g:3937:20: ( (lv_runSpecified_19_0= 'runs' ) ) 10690 public final EObject entryRuleRealEnumeration() throws RecognitionException {
10691 // InternalApplicationConfiguration.g:3938:10: (lv_runSpecified_19_0= 'runs' ) 10691 EObject current = null;
10692 { 10692
10693 // InternalApplicationConfiguration.g:3938:10: (lv_runSpecified_19_0= 'runs' ) 10693 EObject iv_ruleRealEnumeration = null;
10694 // InternalApplicationConfiguration.g:3939:11: lv_runSpecified_19_0= 'runs' 10694
10695 { 10695
10696 lv_runSpecified_19_0=(Token)match(input,46,FOLLOW_12); 10696 try {
10697 10697 // InternalApplicationConfiguration.g:3923:56: (iv_ruleRealEnumeration= ruleRealEnumeration EOF )
10698 newLeafNode(lv_runSpecified_19_0, grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_5_0_0()); 10698 // InternalApplicationConfiguration.g:3924:2: iv_ruleRealEnumeration= ruleRealEnumeration EOF
10699 10699 {
10700 10700 newCompositeNode(grammarAccess.getRealEnumerationRule());
10701 if (current==null) { 10701 pushFollow(FOLLOW_1);
10702 current = createModelElement(grammarAccess.getGenerationTaskRule()); 10702 iv_ruleRealEnumeration=ruleRealEnumeration();
10703 } 10703
10704 setWithLastConsumed(current, "runSpecified", true, "runs"); 10704 state._fsp--;
10705 10705
10706 10706 current =iv_ruleRealEnumeration;
10707 } 10707 match(input,EOF,FOLLOW_2);
10708 10708
10709 10709 }
10710 } 10710
10711 10711 }
10712 otherlv_20=(Token)match(input,17,FOLLOW_7); 10712
10713 10713 catch (RecognitionException re) {
10714 newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); 10714 recover(input,re);
10715 10715 appendSkippedTokens();
10716 // InternalApplicationConfiguration.g:3955:9: ( (lv_runs_21_0= RULE_INT ) ) 10716 }
10717 // InternalApplicationConfiguration.g:3956:10: (lv_runs_21_0= RULE_INT ) 10717 finally {
10718 { 10718 }
10719 // InternalApplicationConfiguration.g:3956:10: (lv_runs_21_0= RULE_INT ) 10719 return current;
10720 // InternalApplicationConfiguration.g:3957:11: lv_runs_21_0= RULE_INT 10720 }
10721 { 10721 // $ANTLR end "entryRuleRealEnumeration"
10722 lv_runs_21_0=(Token)match(input,RULE_INT,FOLLOW_39); 10722
10723 10723
10724 newLeafNode(lv_runs_21_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_5_2_0()); 10724 // $ANTLR start "ruleRealEnumeration"
10725 10725 // InternalApplicationConfiguration.g:3930:1: ruleRealEnumeration returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) ;
10726 10726 public final EObject ruleRealEnumeration() throws RecognitionException {
10727 if (current==null) { 10727 EObject current = null;
10728 current = createModelElement(grammarAccess.getGenerationTaskRule()); 10728
10729 } 10729 Token otherlv_1=null;
10730 setWithLastConsumed( 10730 Token otherlv_3=null;
10731 current, 10731 Token otherlv_5=null;
10732 "runs", 10732 AntlrDatatypeRuleToken lv_entry_2_0 = null;
10733 lv_runs_21_0, 10733
10734 "org.eclipse.xtext.common.Terminals.INT"); 10734 AntlrDatatypeRuleToken lv_entry_4_0 = null;
10735 10735
10736 10736
10737 } 10737
10738 10738 enterRule();
10739 10739
10740 } 10740 try {
10741 10741 // InternalApplicationConfiguration.g:3936:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) )
10742 10742 // InternalApplicationConfiguration.g:3937:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' )
10743 } 10743 {
10744 10744 // InternalApplicationConfiguration.g:3937:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' )
10745 10745 // InternalApplicationConfiguration.g:3938:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}'
10746 } 10746 {
10747 10747 // InternalApplicationConfiguration.g:3938:3: ()
10748 10748 // InternalApplicationConfiguration.g:3939:4:
10749 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10749 {
10750 10750
10751 10751 current = forceCreateModelElement(
10752 } 10752 grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0(),
10753 10753 current);
10754 10754
10755 } 10755
10756 10756 }
10757 10757
10758 } 10758 otherlv_1=(Token)match(input,18,FOLLOW_39);
10759 break; 10759
10760 case 7 : 10760 newLeafNode(otherlv_1, grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1());
10761 // InternalApplicationConfiguration.g:3979:4: ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) 10761
10762 { 10762 // InternalApplicationConfiguration.g:3949:3: ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )?
10763 // InternalApplicationConfiguration.g:3979:4: ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) 10763 int alt54=2;
10764 // InternalApplicationConfiguration.g:3980:5: {...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) 10764 int LA54_0 = input.LA(1);
10765 { 10765
10766 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) { 10766 if ( (LA54_0==RULE_INT||LA54_0==12) ) {
10767 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)"); 10767 alt54=1;
10768 } 10768 }
10769 // InternalApplicationConfiguration.g:3980:111: ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) 10769 switch (alt54) {
10770 // InternalApplicationConfiguration.g:3981:6: ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) 10770 case 1 :
10771 { 10771 // InternalApplicationConfiguration.g:3950:4: ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )*
10772 10772 {
10773 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); 10773 // InternalApplicationConfiguration.g:3950:4: ( (lv_entry_2_0= ruleREALLiteral ) )
10774 10774 // InternalApplicationConfiguration.g:3951:5: (lv_entry_2_0= ruleREALLiteral )
10775 // InternalApplicationConfiguration.g:3984:9: ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) 10775 {
10776 // InternalApplicationConfiguration.g:3984:10: {...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) 10776 // InternalApplicationConfiguration.g:3951:5: (lv_entry_2_0= ruleREALLiteral )
10777 { 10777 // InternalApplicationConfiguration.g:3952:6: lv_entry_2_0= ruleREALLiteral
10778 if ( !((true)) ) { 10778 {
10779 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10779
10780 } 10780 newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0());
10781 // InternalApplicationConfiguration.g:3984:19: (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) 10781
10782 // InternalApplicationConfiguration.g:3984:20: otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) 10782 pushFollow(FOLLOW_14);
10783 { 10783 lv_entry_2_0=ruleREALLiteral();
10784 otherlv_22=(Token)match(input,47,FOLLOW_12); 10784
10785 10785 state._fsp--;
10786 newLeafNode(otherlv_22, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_6_0()); 10786
10787 10787
10788 otherlv_23=(Token)match(input,17,FOLLOW_41); 10788 if (current==null) {
10789 10789 current = createModelElementForParent(grammarAccess.getRealEnumerationRule());
10790 newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); 10790 }
10791 10791 add(
10792 // InternalApplicationConfiguration.g:3992:9: ( (lv_solver_24_0= ruleSolver ) ) 10792 current,
10793 // InternalApplicationConfiguration.g:3993:10: (lv_solver_24_0= ruleSolver ) 10793 "entry",
10794 { 10794 lv_entry_2_0,
10795 // InternalApplicationConfiguration.g:3993:10: (lv_solver_24_0= ruleSolver ) 10795 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral");
10796 // InternalApplicationConfiguration.g:3994:11: lv_solver_24_0= ruleSolver 10796 afterParserOrEnumRuleCall();
10797 { 10797
10798 10798
10799 newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_6_2_0()); 10799 }
10800 10800
10801 pushFollow(FOLLOW_39); 10801
10802 lv_solver_24_0=ruleSolver(); 10802 }
10803 10803
10804 state._fsp--; 10804 // InternalApplicationConfiguration.g:3969:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )*
10805 10805 loop53:
10806 10806 do {
10807 if (current==null) { 10807 int alt53=2;
10808 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 10808 int LA53_0 = input.LA(1);
10809 } 10809
10810 set( 10810 if ( (LA53_0==19) ) {
10811 current, 10811 alt53=1;
10812 "solver", 10812 }
10813 lv_solver_24_0, 10813
10814 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver"); 10814
10815 afterParserOrEnumRuleCall(); 10815 switch (alt53) {
10816 10816 case 1 :
10817 10817 // InternalApplicationConfiguration.g:3970:5: otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) )
10818 } 10818 {
10819 10819 otherlv_3=(Token)match(input,19,FOLLOW_23);
10820 10820
10821 } 10821 newLeafNode(otherlv_3, grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0());
10822 10822
10823 10823 // InternalApplicationConfiguration.g:3974:5: ( (lv_entry_4_0= ruleREALLiteral ) )
10824 } 10824 // InternalApplicationConfiguration.g:3975:6: (lv_entry_4_0= ruleREALLiteral )
10825 10825 {
10826 10826 // InternalApplicationConfiguration.g:3975:6: (lv_entry_4_0= ruleREALLiteral )
10827 } 10827 // InternalApplicationConfiguration.g:3976:7: lv_entry_4_0= ruleREALLiteral
10828 10828 {
10829 10829
10830 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10830 newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0());
10831 10831
10832 10832 pushFollow(FOLLOW_14);
10833 } 10833 lv_entry_4_0=ruleREALLiteral();
10834 10834
10835 10835 state._fsp--;
10836 } 10836
10837 10837
10838 10838 if (current==null) {
10839 } 10839 current = createModelElementForParent(grammarAccess.getRealEnumerationRule());
10840 break; 10840 }
10841 case 8 : 10841 add(
10842 // InternalApplicationConfiguration.g:4017:4: ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) 10842 current,
10843 { 10843 "entry",
10844 // InternalApplicationConfiguration.g:4017:4: ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) 10844 lv_entry_4_0,
10845 // InternalApplicationConfiguration.g:4018:5: {...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) 10845 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral");
10846 { 10846 afterParserOrEnumRuleCall();
10847 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) { 10847
10848 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)"); 10848
10849 } 10849 }
10850 // InternalApplicationConfiguration.g:4018:111: ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) 10850
10851 // InternalApplicationConfiguration.g:4019:6: ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) 10851
10852 { 10852 }
10853 10853
10854 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); 10854
10855 10855 }
10856 // InternalApplicationConfiguration.g:4022:9: ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) 10856 break;
10857 // InternalApplicationConfiguration.g:4022:10: {...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) 10857
10858 { 10858 default :
10859 if ( !((true)) ) { 10859 break loop53;
10860 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10860 }
10861 } 10861 } while (true);
10862 // InternalApplicationConfiguration.g:4022:19: (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) 10862
10863 // InternalApplicationConfiguration.g:4022:20: otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) 10863
10864 { 10864 }
10865 otherlv_25=(Token)match(input,28,FOLLOW_12); 10865 break;
10866 10866
10867 newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_7_0()); 10867 }
10868 10868
10869 otherlv_26=(Token)match(input,17,FOLLOW_40); 10869 otherlv_5=(Token)match(input,20,FOLLOW_2);
10870 10870
10871 newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); 10871 newLeafNode(otherlv_5, grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3());
10872 10872
10873 // InternalApplicationConfiguration.g:4030:9: ( (lv_config_27_0= ruleConfig ) ) 10873
10874 // InternalApplicationConfiguration.g:4031:10: (lv_config_27_0= ruleConfig ) 10874 }
10875 { 10875
10876 // InternalApplicationConfiguration.g:4031:10: (lv_config_27_0= ruleConfig ) 10876
10877 // InternalApplicationConfiguration.g:4032:11: lv_config_27_0= ruleConfig 10877 }
10878 { 10878
10879 10879
10880 newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_7_2_0()); 10880 leaveRule();
10881 10881
10882 pushFollow(FOLLOW_39); 10882 }
10883 lv_config_27_0=ruleConfig(); 10883
10884 10884 catch (RecognitionException re) {
10885 state._fsp--; 10885 recover(input,re);
10886 10886 appendSkippedTokens();
10887 10887 }
10888 if (current==null) { 10888 finally {
10889 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 10889 }
10890 } 10890 return current;
10891 set( 10891 }
10892 current, 10892 // $ANTLR end "ruleRealEnumeration"
10893 "config", 10893
10894 lv_config_27_0, 10894
10895 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config"); 10895 // $ANTLR start "entryRuleStringEnumeration"
10896 afterParserOrEnumRuleCall(); 10896 // InternalApplicationConfiguration.g:4003:1: entryRuleStringEnumeration returns [EObject current=null] : iv_ruleStringEnumeration= ruleStringEnumeration EOF ;
10897 10897 public final EObject entryRuleStringEnumeration() throws RecognitionException {
10898 10898 EObject current = null;
10899 } 10899
10900 10900 EObject iv_ruleStringEnumeration = null;
10901 10901
10902 } 10902
10903 10903 try {
10904 10904 // InternalApplicationConfiguration.g:4003:58: (iv_ruleStringEnumeration= ruleStringEnumeration EOF )
10905 } 10905 // InternalApplicationConfiguration.g:4004:2: iv_ruleStringEnumeration= ruleStringEnumeration EOF
10906 10906 {
10907 10907 newCompositeNode(grammarAccess.getStringEnumerationRule());
10908 } 10908 pushFollow(FOLLOW_1);
10909 10909 iv_ruleStringEnumeration=ruleStringEnumeration();
10910 10910
10911 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10911 state._fsp--;
10912 10912
10913 10913 current =iv_ruleStringEnumeration;
10914 } 10914 match(input,EOF,FOLLOW_2);
10915 10915
10916 10916 }
10917 } 10917
10918 10918 }
10919 10919
10920 } 10920 catch (RecognitionException re) {
10921 break; 10921 recover(input,re);
10922 case 9 : 10922 appendSkippedTokens();
10923 // InternalApplicationConfiguration.g:4055:4: ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) 10923 }
10924 { 10924 finally {
10925 // InternalApplicationConfiguration.g:4055:4: ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) 10925 }
10926 // InternalApplicationConfiguration.g:4056:5: {...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) 10926 return current;
10927 { 10927 }
10928 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) { 10928 // $ANTLR end "entryRuleStringEnumeration"
10929 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)"); 10929
10930 } 10930
10931 // InternalApplicationConfiguration.g:4056:111: ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) 10931 // $ANTLR start "ruleStringEnumeration"
10932 // InternalApplicationConfiguration.g:4057:6: ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) 10932 // InternalApplicationConfiguration.g:4010:1: ruleStringEnumeration returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) ;
10933 { 10933 public final EObject ruleStringEnumeration() throws RecognitionException {
10934 10934 EObject current = null;
10935 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); 10935
10936 10936 Token otherlv_1=null;
10937 // InternalApplicationConfiguration.g:4060:9: ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) 10937 Token lv_entry_2_0=null;
10938 // InternalApplicationConfiguration.g:4060:10: {...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) 10938 Token otherlv_3=null;
10939 { 10939 Token lv_entry_4_0=null;
10940 if ( !((true)) ) { 10940 Token otherlv_5=null;
10941 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10941
10942 } 10942
10943 // InternalApplicationConfiguration.g:4060:19: (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) 10943 enterRule();
10944 // InternalApplicationConfiguration.g:4060:20: otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) 10944
10945 { 10945 try {
10946 otherlv_28=(Token)match(input,48,FOLLOW_12); 10946 // InternalApplicationConfiguration.g:4016:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) )
10947 10947 // InternalApplicationConfiguration.g:4017:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' )
10948 newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_8_0()); 10948 {
10949 10949 // InternalApplicationConfiguration.g:4017:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' )
10950 otherlv_29=(Token)match(input,17,FOLLOW_20); 10950 // InternalApplicationConfiguration.g:4018:3: () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}'
10951 10951 {
10952 newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); 10952 // InternalApplicationConfiguration.g:4018:3: ()
10953 10953 // InternalApplicationConfiguration.g:4019:4:
10954 // InternalApplicationConfiguration.g:4068:9: ( (lv_debugFolder_30_0= ruleFile ) ) 10954 {
10955 // InternalApplicationConfiguration.g:4069:10: (lv_debugFolder_30_0= ruleFile ) 10955
10956 { 10956 current = forceCreateModelElement(
10957 // InternalApplicationConfiguration.g:4069:10: (lv_debugFolder_30_0= ruleFile ) 10957 grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0(),
10958 // InternalApplicationConfiguration.g:4070:11: lv_debugFolder_30_0= ruleFile 10958 current);
10959 { 10959
10960 10960
10961 newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_8_2_0()); 10961 }
10962 10962
10963 pushFollow(FOLLOW_39); 10963 otherlv_1=(Token)match(input,18,FOLLOW_40);
10964 lv_debugFolder_30_0=ruleFile(); 10964
10965 10965 newLeafNode(otherlv_1, grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1());
10966 state._fsp--; 10966
10967 10967 // InternalApplicationConfiguration.g:4029:3: ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )?
10968 10968 int alt56=2;
10969 if (current==null) { 10969 int LA56_0 = input.LA(1);
10970 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 10970
10971 } 10971 if ( (LA56_0==RULE_STRING) ) {
10972 set( 10972 alt56=1;
10973 current, 10973 }
10974 "debugFolder", 10974 switch (alt56) {
10975 lv_debugFolder_30_0, 10975 case 1 :
10976 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 10976 // InternalApplicationConfiguration.g:4030:4: ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )*
10977 afterParserOrEnumRuleCall(); 10977 {
10978 10978 // InternalApplicationConfiguration.g:4030:4: ( (lv_entry_2_0= RULE_STRING ) )
10979 10979 // InternalApplicationConfiguration.g:4031:5: (lv_entry_2_0= RULE_STRING )
10980 } 10980 {
10981 10981 // InternalApplicationConfiguration.g:4031:5: (lv_entry_2_0= RULE_STRING )
10982 10982 // InternalApplicationConfiguration.g:4032:6: lv_entry_2_0= RULE_STRING
10983 } 10983 {
10984 10984 lv_entry_2_0=(Token)match(input,RULE_STRING,FOLLOW_14);
10985 10985
10986 } 10986 newLeafNode(lv_entry_2_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_0_0());
10987 10987
10988 10988
10989 } 10989 if (current==null) {
10990 10990 current = createModelElement(grammarAccess.getStringEnumerationRule());
10991 10991 }
10992 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10992 addWithLastConsumed(
10993 10993 current,
10994 10994 "entry",
10995 } 10995 lv_entry_2_0,
10996 10996 "org.eclipse.xtext.common.Terminals.STRING");
10997 10997
10998 } 10998
10999 10999 }
11000 11000
11001 } 11001
11002 break; 11002 }
11003 case 10 : 11003
11004 // InternalApplicationConfiguration.g:4093:4: ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) 11004 // InternalApplicationConfiguration.g:4048:4: (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )*
11005 { 11005 loop55:
11006 // InternalApplicationConfiguration.g:4093:4: ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) 11006 do {
11007 // InternalApplicationConfiguration.g:4094:5: {...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) 11007 int alt55=2;
11008 { 11008 int LA55_0 = input.LA(1);
11009 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) { 11009
11010 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)"); 11010 if ( (LA55_0==19) ) {
11011 } 11011 alt55=1;
11012 // InternalApplicationConfiguration.g:4094:111: ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) 11012 }
11013 // InternalApplicationConfiguration.g:4095:6: ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) 11013
11014 { 11014
11015 11015 switch (alt55) {
11016 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); 11016 case 1 :
11017 11017 // InternalApplicationConfiguration.g:4049:5: otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) )
11018 // InternalApplicationConfiguration.g:4098:9: ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) 11018 {
11019 // InternalApplicationConfiguration.g:4098:10: {...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) 11019 otherlv_3=(Token)match(input,19,FOLLOW_10);
11020 { 11020
11021 if ( !((true)) ) { 11021 newLeafNode(otherlv_3, grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0());
11022 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 11022
11023 } 11023 // InternalApplicationConfiguration.g:4053:5: ( (lv_entry_4_0= RULE_STRING ) )
11024 // InternalApplicationConfiguration.g:4098:19: (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) 11024 // InternalApplicationConfiguration.g:4054:6: (lv_entry_4_0= RULE_STRING )
11025 // InternalApplicationConfiguration.g:4098:20: otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) 11025 {
11026 { 11026 // InternalApplicationConfiguration.g:4054:6: (lv_entry_4_0= RULE_STRING )
11027 otherlv_31=(Token)match(input,49,FOLLOW_12); 11027 // InternalApplicationConfiguration.g:4055:7: lv_entry_4_0= RULE_STRING
11028 11028 {
11029 newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_9_0()); 11029 lv_entry_4_0=(Token)match(input,RULE_STRING,FOLLOW_14);
11030 11030
11031 otherlv_32=(Token)match(input,17,FOLLOW_20); 11031 newLeafNode(lv_entry_4_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_1_1_0());
11032 11032
11033 newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); 11033
11034 11034 if (current==null) {
11035 // InternalApplicationConfiguration.g:4106:9: ( (lv_targetLogFile_33_0= ruleFile ) ) 11035 current = createModelElement(grammarAccess.getStringEnumerationRule());
11036 // InternalApplicationConfiguration.g:4107:10: (lv_targetLogFile_33_0= ruleFile ) 11036 }
11037 { 11037 addWithLastConsumed(
11038 // InternalApplicationConfiguration.g:4107:10: (lv_targetLogFile_33_0= ruleFile ) 11038 current,
11039 // InternalApplicationConfiguration.g:4108:11: lv_targetLogFile_33_0= ruleFile 11039 "entry",
11040 { 11040 lv_entry_4_0,
11041 11041 "org.eclipse.xtext.common.Terminals.STRING");
11042 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_9_2_0()); 11042
11043 11043
11044 pushFollow(FOLLOW_39); 11044 }
11045 lv_targetLogFile_33_0=ruleFile(); 11045
11046 11046
11047 state._fsp--; 11047 }
11048 11048
11049 11049
11050 if (current==null) { 11050 }
11051 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 11051 break;
11052 } 11052
11053 set( 11053 default :
11054 current, 11054 break loop55;
11055 "targetLogFile", 11055 }
11056 lv_targetLogFile_33_0, 11056 } while (true);
11057 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 11057
11058 afterParserOrEnumRuleCall(); 11058
11059 11059 }
11060 11060 break;
11061 } 11061
11062 11062 }
11063 11063
11064 } 11064 otherlv_5=(Token)match(input,20,FOLLOW_2);
11065 11065
11066 11066 newLeafNode(otherlv_5, grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3());
11067 } 11067
11068 11068
11069 11069 }
11070 } 11070
11071 11071
11072 11072 }
11073 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 11073
11074 11074
11075 11075 leaveRule();
11076 } 11076
11077 11077 }
11078 11078
11079 } 11079 catch (RecognitionException re) {
11080 11080 recover(input,re);
11081 11081 appendSkippedTokens();
11082 } 11082 }
11083 break; 11083 finally {
11084 case 11 : 11084 }
11085 // InternalApplicationConfiguration.g:4131:4: ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) 11085 return current;
11086 { 11086 }
11087 // InternalApplicationConfiguration.g:4131:4: ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) 11087 // $ANTLR end "ruleStringEnumeration"
11088 // InternalApplicationConfiguration.g:4132:5: {...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) 11088
11089 { 11089
11090 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) { 11090 // $ANTLR start "entryRuleScopeDeclaration"
11091 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)"); 11091 // InternalApplicationConfiguration.g:4081:1: entryRuleScopeDeclaration returns [EObject current=null] : iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ;
11092 } 11092 public final EObject entryRuleScopeDeclaration() throws RecognitionException {
11093 // InternalApplicationConfiguration.g:4132:112: ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) 11093 EObject current = null;
11094 // InternalApplicationConfiguration.g:4133:6: ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) 11094
11095 { 11095 EObject iv_ruleScopeDeclaration = null;
11096 11096
11097 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); 11097
11098 11098 try {
11099 // InternalApplicationConfiguration.g:4136:9: ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) 11099 // InternalApplicationConfiguration.g:4081:57: (iv_ruleScopeDeclaration= ruleScopeDeclaration EOF )
11100 // InternalApplicationConfiguration.g:4136:10: {...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) 11100 // InternalApplicationConfiguration.g:4082:2: iv_ruleScopeDeclaration= ruleScopeDeclaration EOF
11101 { 11101 {
11102 if ( !((true)) ) { 11102 newCompositeNode(grammarAccess.getScopeDeclarationRule());
11103 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 11103 pushFollow(FOLLOW_1);
11104 } 11104 iv_ruleScopeDeclaration=ruleScopeDeclaration();
11105 // InternalApplicationConfiguration.g:4136:19: (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) 11105
11106 // InternalApplicationConfiguration.g:4136:20: otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) 11106 state._fsp--;
11107 { 11107
11108 otherlv_34=(Token)match(input,50,FOLLOW_12); 11108 current =iv_ruleScopeDeclaration;
11109 11109 match(input,EOF,FOLLOW_2);
11110 newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_10_0()); 11110
11111 11111 }
11112 otherlv_35=(Token)match(input,17,FOLLOW_20); 11112
11113 11113 }
11114 newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); 11114
11115 11115 catch (RecognitionException re) {
11116 // InternalApplicationConfiguration.g:4144:9: ( (lv_targetStatisticsFile_36_0= ruleFile ) ) 11116 recover(input,re);
11117 // InternalApplicationConfiguration.g:4145:10: (lv_targetStatisticsFile_36_0= ruleFile ) 11117 appendSkippedTokens();
11118 { 11118 }
11119 // InternalApplicationConfiguration.g:4145:10: (lv_targetStatisticsFile_36_0= ruleFile ) 11119 finally {
11120 // InternalApplicationConfiguration.g:4146:11: lv_targetStatisticsFile_36_0= ruleFile 11120 }
11121 { 11121 return current;
11122 11122 }
11123 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_10_2_0()); 11123 // $ANTLR end "entryRuleScopeDeclaration"
11124 11124
11125 pushFollow(FOLLOW_39); 11125
11126 lv_targetStatisticsFile_36_0=ruleFile(); 11126 // $ANTLR start "ruleScopeDeclaration"
11127 11127 // InternalApplicationConfiguration.g:4088:1: ruleScopeDeclaration returns [EObject current=null] : (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ;
11128 state._fsp--; 11128 public final EObject ruleScopeDeclaration() throws RecognitionException {
11129 11129 EObject current = null;
11130 11130
11131 if (current==null) { 11131 Token otherlv_0=null;
11132 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 11132 Token lv_name_1_0=null;
11133 } 11133 EObject lv_specification_2_0 = null;
11134 set( 11134
11135 current, 11135
11136 "targetStatisticsFile", 11136
11137 lv_targetStatisticsFile_36_0, 11137 enterRule();
11138 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 11138
11139 afterParserOrEnumRuleCall(); 11139 try {
11140 11140 // InternalApplicationConfiguration.g:4094:2: ( (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) )
11141 11141 // InternalApplicationConfiguration.g:4095:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) )
11142 } 11142 {
11143 11143 // InternalApplicationConfiguration.g:4095:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) )
11144 11144 // InternalApplicationConfiguration.g:4096:3: otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) )
11145 } 11145 {
11146 11146 otherlv_0=(Token)match(input,44,FOLLOW_6);
11147 11147
11148 } 11148 newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0());
11149 11149
11150 11150 // InternalApplicationConfiguration.g:4100:3: ( (lv_name_1_0= RULE_ID ) )
11151 } 11151 // InternalApplicationConfiguration.g:4101:4: (lv_name_1_0= RULE_ID )
11152 11152 {
11153 11153 // InternalApplicationConfiguration.g:4101:4: (lv_name_1_0= RULE_ID )
11154 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 11154 // InternalApplicationConfiguration.g:4102:5: lv_name_1_0= RULE_ID
11155 11155 {
11156 11156 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16);
11157 } 11157
11158 11158 newLeafNode(lv_name_1_0, grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0());
11159 11159
11160 } 11160
11161 11161 if (current==null) {
11162 11162 current = createModelElement(grammarAccess.getScopeDeclarationRule());
11163 } 11163 }
11164 break; 11164 setWithLastConsumed(
11165 case 12 : 11165 current,
11166 // InternalApplicationConfiguration.g:4169:4: ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) 11166 "name",
11167 { 11167 lv_name_1_0,
11168 // InternalApplicationConfiguration.g:4169:4: ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) 11168 "org.eclipse.xtext.common.Terminals.ID");
11169 // InternalApplicationConfiguration.g:4170:5: {...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) 11169
11170 { 11170
11171 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) { 11171 }
11172 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)"); 11172
11173 } 11173
11174 // InternalApplicationConfiguration.g:4170:112: ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) 11174 }
11175 // InternalApplicationConfiguration.g:4171:6: ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) 11175
11176 { 11176 // InternalApplicationConfiguration.g:4118:3: ( (lv_specification_2_0= ruleScopeSpecification ) )
11177 11177 // InternalApplicationConfiguration.g:4119:4: (lv_specification_2_0= ruleScopeSpecification )
11178 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); 11178 {
11179 11179 // InternalApplicationConfiguration.g:4119:4: (lv_specification_2_0= ruleScopeSpecification )
11180 // InternalApplicationConfiguration.g:4174:9: ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) 11180 // InternalApplicationConfiguration.g:4120:5: lv_specification_2_0= ruleScopeSpecification
11181 // InternalApplicationConfiguration.g:4174:10: {...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) 11181 {
11182 { 11182
11183 if ( !((true)) ) { 11183 newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0());
11184 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 11184
11185 } 11185 pushFollow(FOLLOW_2);
11186 // InternalApplicationConfiguration.g:4174:19: (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) 11186 lv_specification_2_0=ruleScopeSpecification();
11187 // InternalApplicationConfiguration.g:4174:20: otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) 11187
11188 { 11188 state._fsp--;
11189 otherlv_37=(Token)match(input,51,FOLLOW_12); 11189
11190 11190
11191 newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_11_0()); 11191 if (current==null) {
11192 11192 current = createModelElementForParent(grammarAccess.getScopeDeclarationRule());
11193 otherlv_38=(Token)match(input,17,FOLLOW_20); 11193 }
11194 11194 set(
11195 newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); 11195 current,
11196 11196 "specification",
11197 // InternalApplicationConfiguration.g:4182:9: ( (lv_tagetFolder_39_0= ruleFile ) ) 11197 lv_specification_2_0,
11198 // InternalApplicationConfiguration.g:4183:10: (lv_tagetFolder_39_0= ruleFile ) 11198 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification");
11199 { 11199 afterParserOrEnumRuleCall();
11200 // InternalApplicationConfiguration.g:4183:10: (lv_tagetFolder_39_0= ruleFile ) 11200
11201 // InternalApplicationConfiguration.g:4184:11: lv_tagetFolder_39_0= ruleFile 11201
11202 { 11202 }
11203 11203
11204 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_11_2_0()); 11204
11205 11205 }
11206 pushFollow(FOLLOW_39); 11206
11207 lv_tagetFolder_39_0=ruleFile(); 11207
11208 11208 }
11209 state._fsp--; 11209
11210 11210
11211 11211 }
11212 if (current==null) { 11212
11213 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 11213
11214 } 11214 leaveRule();
11215 set( 11215
11216 current, 11216 }
11217 "tagetFolder", 11217
11218 lv_tagetFolder_39_0, 11218 catch (RecognitionException re) {
11219 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 11219 recover(input,re);
11220 afterParserOrEnumRuleCall(); 11220 appendSkippedTokens();
11221 11221 }
11222 11222 finally {
11223 } 11223 }
11224 11224 return current;
11225 11225 }
11226 } 11226 // $ANTLR end "ruleScopeDeclaration"
11227 11227
11228 11228
11229 } 11229 // $ANTLR start "entryRuleScopeReference"
11230 11230 // InternalApplicationConfiguration.g:4141:1: entryRuleScopeReference returns [EObject current=null] : iv_ruleScopeReference= ruleScopeReference EOF ;
11231 11231 public final EObject entryRuleScopeReference() throws RecognitionException {
11232 } 11232 EObject current = null;
11233 11233
11234 11234 EObject iv_ruleScopeReference = null;
11235 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 11235
11236 11236
11237 11237 try {
11238 } 11238 // InternalApplicationConfiguration.g:4141:55: (iv_ruleScopeReference= ruleScopeReference EOF )
11239 11239 // InternalApplicationConfiguration.g:4142:2: iv_ruleScopeReference= ruleScopeReference EOF
11240 11240 {
11241 } 11241 newCompositeNode(grammarAccess.getScopeReferenceRule());
11242 11242 pushFollow(FOLLOW_1);
11243 11243 iv_ruleScopeReference=ruleScopeReference();
11244 } 11244
11245 break; 11245 state._fsp--;
11246 11246
11247 default : 11247 current =iv_ruleScopeReference;
11248 break loop54; 11248 match(input,EOF,FOLLOW_2);
11249 } 11249
11250 } while (true); 11250 }
11251 11251
11252 11252 }
11253 } 11253
11254 11254 catch (RecognitionException re) {
11255 11255 recover(input,re);
11256 } 11256 appendSkippedTokens();
11257 11257 }
11258 11258 finally {
11259 getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 11259 }
11260 11260 return current;
11261 11261 }
11262 } 11262 // $ANTLR end "entryRuleScopeReference"
11263 11263
11264 otherlv_40=(Token)match(input,20,FOLLOW_2); 11264
11265 11265 // $ANTLR start "ruleScopeReference"
11266 newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); 11266 // InternalApplicationConfiguration.g:4148:1: ruleScopeReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
11267 11267 public final EObject ruleScopeReference() throws RecognitionException {
11268 11268 EObject current = null;
11269 } 11269
11270 11270 Token otherlv_0=null;
11271 11271
11272 } 11272
11273 11273 enterRule();
11274 11274
11275 leaveRule(); 11275 try {
11276 11276 // InternalApplicationConfiguration.g:4154:2: ( ( (otherlv_0= RULE_ID ) ) )
11277 } 11277 // InternalApplicationConfiguration.g:4155:2: ( (otherlv_0= RULE_ID ) )
11278 11278 {
11279 catch (RecognitionException re) { 11279 // InternalApplicationConfiguration.g:4155:2: ( (otherlv_0= RULE_ID ) )
11280 recover(input,re); 11280 // InternalApplicationConfiguration.g:4156:3: (otherlv_0= RULE_ID )
11281 appendSkippedTokens(); 11281 {
11282 } 11282 // InternalApplicationConfiguration.g:4156:3: (otherlv_0= RULE_ID )
11283 finally { 11283 // InternalApplicationConfiguration.g:4157:4: otherlv_0= RULE_ID
11284 } 11284 {
11285 return current; 11285
11286 } 11286 if (current==null) {
11287 // $ANTLR end "ruleGenerationTask" 11287 current = createModelElement(grammarAccess.getScopeReferenceRule());
11288 11288 }
11289 11289
11290 // $ANTLR start "ruleDocumentLevelSpecification" 11290 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2);
11291 // InternalApplicationConfiguration.g:4222:1: ruleDocumentLevelSpecification returns [Enumerator current=null] : ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) ; 11291
11292 public final Enumerator ruleDocumentLevelSpecification() throws RecognitionException { 11292 newLeafNode(otherlv_0, grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0());
11293 Enumerator current = null; 11293
11294 11294
11295 Token enumLiteral_0=null; 11295 }
11296 Token enumLiteral_1=null; 11296
11297 Token enumLiteral_2=null; 11297
11298 11298 }
11299 11299
11300 enterRule(); 11300
11301 11301 }
11302 try { 11302
11303 // InternalApplicationConfiguration.g:4228:2: ( ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) ) 11303
11304 // InternalApplicationConfiguration.g:4229:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) 11304 leaveRule();
11305 { 11305
11306 // InternalApplicationConfiguration.g:4229:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) 11306 }
11307 int alt55=3; 11307
11308 switch ( input.LA(1) ) { 11308 catch (RecognitionException re) {
11309 case 52: 11309 recover(input,re);
11310 { 11310 appendSkippedTokens();
11311 alt55=1; 11311 }
11312 } 11312 finally {
11313 break; 11313 }
11314 case 53: 11314 return current;
11315 { 11315 }
11316 alt55=2; 11316 // $ANTLR end "ruleScopeReference"
11317 } 11317
11318 break; 11318
11319 case 54: 11319 // $ANTLR start "entryRuleScope"
11320 { 11320 // InternalApplicationConfiguration.g:4171:1: entryRuleScope returns [EObject current=null] : iv_ruleScope= ruleScope EOF ;
11321 alt55=3; 11321 public final EObject entryRuleScope() throws RecognitionException {
11322 } 11322 EObject current = null;
11323 break; 11323
11324 default: 11324 EObject iv_ruleScope = null;
11325 NoViableAltException nvae = 11325
11326 new NoViableAltException("", 55, 0, input); 11326
11327 11327 try {
11328 throw nvae; 11328 // InternalApplicationConfiguration.g:4171:46: (iv_ruleScope= ruleScope EOF )
11329 } 11329 // InternalApplicationConfiguration.g:4172:2: iv_ruleScope= ruleScope EOF
11330 11330 {
11331 switch (alt55) { 11331 newCompositeNode(grammarAccess.getScopeRule());
11332 case 1 : 11332 pushFollow(FOLLOW_1);
11333 // InternalApplicationConfiguration.g:4230:3: (enumLiteral_0= 'none' ) 11333 iv_ruleScope=ruleScope();
11334 { 11334
11335 // InternalApplicationConfiguration.g:4230:3: (enumLiteral_0= 'none' ) 11335 state._fsp--;
11336 // InternalApplicationConfiguration.g:4231:4: enumLiteral_0= 'none' 11336
11337 { 11337 current =iv_ruleScope;
11338 enumLiteral_0=(Token)match(input,52,FOLLOW_2); 11338 match(input,EOF,FOLLOW_2);
11339 11339
11340 current = grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); 11340 }
11341 newLeafNode(enumLiteral_0, grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0()); 11341
11342 11342 }
11343 11343
11344 } 11344 catch (RecognitionException re) {
11345 11345 recover(input,re);
11346 11346 appendSkippedTokens();
11347 } 11347 }
11348 break; 11348 finally {
11349 case 2 : 11349 }
11350 // InternalApplicationConfiguration.g:4238:3: (enumLiteral_1= 'normal' ) 11350 return current;
11351 { 11351 }
11352 // InternalApplicationConfiguration.g:4238:3: (enumLiteral_1= 'normal' ) 11352 // $ANTLR end "entryRuleScope"
11353 // InternalApplicationConfiguration.g:4239:4: enumLiteral_1= 'normal' 11353
11354 { 11354
11355 enumLiteral_1=(Token)match(input,53,FOLLOW_2); 11355 // $ANTLR start "ruleScope"
11356 11356 // InternalApplicationConfiguration.g:4178:1: ruleScope returns [EObject current=null] : (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ;
11357 current = grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); 11357 public final EObject ruleScope() throws RecognitionException {
11358 newLeafNode(enumLiteral_1, grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1()); 11358 EObject current = null;
11359 11359
11360 11360 EObject this_ScopeSpecification_0 = null;
11361 } 11361
11362 11362 EObject this_ScopeReference_1 = null;
11363 11363
11364 } 11364
11365 break; 11365
11366 case 3 : 11366 enterRule();
11367 // InternalApplicationConfiguration.g:4246:3: (enumLiteral_2= 'full' ) 11367
11368 { 11368 try {
11369 // InternalApplicationConfiguration.g:4246:3: (enumLiteral_2= 'full' ) 11369 // InternalApplicationConfiguration.g:4184:2: ( (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) )
11370 // InternalApplicationConfiguration.g:4247:4: enumLiteral_2= 'full' 11370 // InternalApplicationConfiguration.g:4185:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference )
11371 { 11371 {
11372 enumLiteral_2=(Token)match(input,54,FOLLOW_2); 11372 // InternalApplicationConfiguration.g:4185:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference )
11373 11373 int alt57=2;
11374 current = grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); 11374 int LA57_0 = input.LA(1);
11375 newLeafNode(enumLiteral_2, grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2()); 11375
11376 11376 if ( (LA57_0==18) ) {
11377 11377 alt57=1;
11378 } 11378 }
11379 11379 else if ( (LA57_0==RULE_ID) ) {
11380 11380 alt57=2;
11381 } 11381 }
11382 break; 11382 else {
11383 11383 NoViableAltException nvae =
11384 } 11384 new NoViableAltException("", 57, 0, input);
11385 11385
11386 11386 throw nvae;
11387 } 11387 }
11388 11388 switch (alt57) {
11389 11389 case 1 :
11390 leaveRule(); 11390 // InternalApplicationConfiguration.g:4186:3: this_ScopeSpecification_0= ruleScopeSpecification
11391 11391 {
11392 } 11392
11393 11393 newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0());
11394 catch (RecognitionException re) { 11394
11395 recover(input,re); 11395 pushFollow(FOLLOW_2);
11396 appendSkippedTokens(); 11396 this_ScopeSpecification_0=ruleScopeSpecification();
11397 } 11397
11398 finally { 11398 state._fsp--;
11399 } 11399
11400 return current; 11400
11401 } 11401 current = this_ScopeSpecification_0;
11402 // $ANTLR end "ruleDocumentLevelSpecification" 11402 afterParserOrEnumRuleCall();
11403 11403
11404 11404
11405 // $ANTLR start "ruleSolver" 11405 }
11406 // InternalApplicationConfiguration.g:4257:1: ruleSolver returns [Enumerator current=null] : ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ; 11406 break;
11407 public final Enumerator ruleSolver() throws RecognitionException { 11407 case 2 :
11408 Enumerator current = null; 11408 // InternalApplicationConfiguration.g:4195:3: this_ScopeReference_1= ruleScopeReference
11409 11409 {
11410 Token enumLiteral_0=null; 11410
11411 Token enumLiteral_1=null; 11411 newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1());
11412 Token enumLiteral_2=null; 11412
11413 11413 pushFollow(FOLLOW_2);
11414 11414 this_ScopeReference_1=ruleScopeReference();
11415 enterRule(); 11415
11416 11416 state._fsp--;
11417 try { 11417
11418 // InternalApplicationConfiguration.g:4263:2: ( ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ) 11418
11419 // InternalApplicationConfiguration.g:4264:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) 11419 current = this_ScopeReference_1;
11420 { 11420 afterParserOrEnumRuleCall();
11421 // InternalApplicationConfiguration.g:4264:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) 11421
11422 int alt56=3; 11422
11423 switch ( input.LA(1) ) { 11423 }
11424 case 55: 11424 break;
11425 { 11425
11426 alt56=1; 11426 }
11427 } 11427
11428 break; 11428
11429 case 56: 11429 }
11430 { 11430
11431 alt56=2; 11431
11432 } 11432 leaveRule();
11433 break; 11433
11434 case 57: 11434 }
11435 { 11435
11436 alt56=3; 11436 catch (RecognitionException re) {
11437 } 11437 recover(input,re);
11438 break; 11438 appendSkippedTokens();
11439 default: 11439 }
11440 NoViableAltException nvae = 11440 finally {
11441 new NoViableAltException("", 56, 0, input); 11441 }
11442 11442 return current;
11443 throw nvae; 11443 }
11444 } 11444 // $ANTLR end "ruleScope"
11445 11445
11446 switch (alt56) { 11446
11447 case 1 : 11447 // $ANTLR start "entryRuleTask"
11448 // InternalApplicationConfiguration.g:4265:3: (enumLiteral_0= 'SMTSolver' ) 11448 // InternalApplicationConfiguration.g:4207:1: entryRuleTask returns [EObject current=null] : iv_ruleTask= ruleTask EOF ;
11449 { 11449 public final EObject entryRuleTask() throws RecognitionException {
11450 // InternalApplicationConfiguration.g:4265:3: (enumLiteral_0= 'SMTSolver' ) 11450 EObject current = null;
11451 // InternalApplicationConfiguration.g:4266:4: enumLiteral_0= 'SMTSolver' 11451
11452 { 11452 EObject iv_ruleTask = null;
11453 enumLiteral_0=(Token)match(input,55,FOLLOW_2); 11453
11454 11454
11455 current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); 11455 try {
11456 newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); 11456 // InternalApplicationConfiguration.g:4207:45: (iv_ruleTask= ruleTask EOF )
11457 11457 // InternalApplicationConfiguration.g:4208:2: iv_ruleTask= ruleTask EOF
11458 11458 {
11459 } 11459 newCompositeNode(grammarAccess.getTaskRule());
11460 11460 pushFollow(FOLLOW_1);
11461 11461 iv_ruleTask=ruleTask();
11462 } 11462
11463 break; 11463 state._fsp--;
11464 case 2 : 11464
11465 // InternalApplicationConfiguration.g:4273:3: (enumLiteral_1= 'AlloySolver' ) 11465 current =iv_ruleTask;
11466 { 11466 match(input,EOF,FOLLOW_2);
11467 // InternalApplicationConfiguration.g:4273:3: (enumLiteral_1= 'AlloySolver' ) 11467
11468 // InternalApplicationConfiguration.g:4274:4: enumLiteral_1= 'AlloySolver' 11468 }
11469 { 11469
11470 enumLiteral_1=(Token)match(input,56,FOLLOW_2); 11470 }
11471 11471
11472 current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); 11472 catch (RecognitionException re) {
11473 newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); 11473 recover(input,re);
11474 11474 appendSkippedTokens();
11475 11475 }
11476 } 11476 finally {
11477 11477 }
11478 11478 return current;
11479 } 11479 }
11480 break; 11480 // $ANTLR end "entryRuleTask"
11481 case 3 : 11481
11482 // InternalApplicationConfiguration.g:4281:3: (enumLiteral_2= 'ViatraSolver' ) 11482
11483 { 11483 // $ANTLR start "ruleTask"
11484 // InternalApplicationConfiguration.g:4281:3: (enumLiteral_2= 'ViatraSolver' ) 11484 // InternalApplicationConfiguration.g:4214:1: ruleTask returns [EObject current=null] : this_GenerationTask_0= ruleGenerationTask ;
11485 // InternalApplicationConfiguration.g:4282:4: enumLiteral_2= 'ViatraSolver' 11485 public final EObject ruleTask() throws RecognitionException {
11486 { 11486 EObject current = null;
11487 enumLiteral_2=(Token)match(input,57,FOLLOW_2); 11487
11488 11488 EObject this_GenerationTask_0 = null;
11489 current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); 11489
11490 newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); 11490
11491 11491
11492 11492 enterRule();
11493 } 11493
11494 11494 try {
11495 11495 // InternalApplicationConfiguration.g:4220:2: (this_GenerationTask_0= ruleGenerationTask )
11496 } 11496 // InternalApplicationConfiguration.g:4221:2: this_GenerationTask_0= ruleGenerationTask
11497 break; 11497 {
11498 11498
11499 } 11499 newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall());
11500 11500
11501 11501 pushFollow(FOLLOW_2);
11502 } 11502 this_GenerationTask_0=ruleGenerationTask();
11503 11503
11504 11504 state._fsp--;
11505 leaveRule(); 11505
11506 11506
11507 } 11507 current = this_GenerationTask_0;
11508 11508 afterParserOrEnumRuleCall();
11509 catch (RecognitionException re) { 11509
11510 recover(input,re); 11510
11511 appendSkippedTokens(); 11511 }
11512 } 11512
11513 finally { 11513
11514 } 11514 leaveRule();
11515 return current; 11515
11516 } 11516 }
11517 // $ANTLR end "ruleSolver" 11517
11518 11518 catch (RecognitionException re) {
11519 // Delegated rules 11519 recover(input,re);
11520 11520 appendSkippedTokens();
11521 11521 }
11522 protected DFA54 dfa54 = new DFA54(this); 11522 finally {
11523 static final String dfa_1s = "\16\uffff"; 11523 }
11524 static final String dfa_2s = "\1\24\15\uffff"; 11524 return current;
11525 static final String dfa_3s = "\1\63\15\uffff"; 11525 }
11526 static final String dfa_4s = "\1\uffff\1\15\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14"; 11526 // $ANTLR end "ruleTask"
11527 static final String dfa_5s = "\1\0\15\uffff}>"; 11527
11528 static final String[] dfa_6s = { 11528
11529 "\1\1\3\uffff\1\2\2\uffff\1\4\1\11\15\uffff\1\5\1\uffff\1\3\1\6\1\7\1\10\1\12\1\13\1\14\1\15", 11529 // $ANTLR start "entryRuleGenerationTask"
11530 "", 11530 // InternalApplicationConfiguration.g:4232:1: entryRuleGenerationTask returns [EObject current=null] : iv_ruleGenerationTask= ruleGenerationTask EOF ;
11531 "", 11531 public final EObject entryRuleGenerationTask() throws RecognitionException {
11532 "", 11532 EObject current = null;
11533 "", 11533
11534 "", 11534 EObject iv_ruleGenerationTask = null;
11535 "", 11535
11536 "", 11536
11537 "", 11537 try {
11538 "", 11538 // InternalApplicationConfiguration.g:4232:55: (iv_ruleGenerationTask= ruleGenerationTask EOF )
11539 "", 11539 // InternalApplicationConfiguration.g:4233:2: iv_ruleGenerationTask= ruleGenerationTask EOF
11540 "", 11540 {
11541 "", 11541 newCompositeNode(grammarAccess.getGenerationTaskRule());
11542 "" 11542 pushFollow(FOLLOW_1);
11543 }; 11543 iv_ruleGenerationTask=ruleGenerationTask();
11544 11544
11545 static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s); 11545 state._fsp--;
11546 static final char[] dfa_2 = DFA.unpackEncodedStringToUnsignedChars(dfa_2s); 11546
11547 static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s); 11547 current =iv_ruleGenerationTask;
11548 static final short[] dfa_4 = DFA.unpackEncodedString(dfa_4s); 11548 match(input,EOF,FOLLOW_2);
11549 static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s); 11549
11550 static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s); 11550 }
11551 11551
11552 class DFA54 extends DFA { 11552 }
11553 11553
11554 public DFA54(BaseRecognizer recognizer) { 11554 catch (RecognitionException re) {
11555 this.recognizer = recognizer; 11555 recover(input,re);
11556 this.decisionNumber = 54; 11556 appendSkippedTokens();
11557 this.eot = dfa_1; 11557 }
11558 this.eof = dfa_1; 11558 finally {
11559 this.min = dfa_2; 11559 }
11560 this.max = dfa_3; 11560 return current;
11561 this.accept = dfa_4; 11561 }
11562 this.special = dfa_5; 11562 // $ANTLR end "entryRuleGenerationTask"
11563 this.transition = dfa_6; 11563
11564 } 11564
11565 public String getDescription() { 11565 // $ANTLR start "ruleGenerationTask"
11566 return "()* loopback of 3732:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )*"; 11566 // InternalApplicationConfiguration.g:4239:1: ruleGenerationTask returns [EObject current=null] : (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) ;
11567 } 11567 public final EObject ruleGenerationTask() throws RecognitionException {
11568 public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { 11568 EObject current = null;
11569 TokenStream input = (TokenStream)_input; 11569
11570 int _s = s; 11570 Token otherlv_0=null;
11571 switch ( s ) { 11571 Token otherlv_2=null;
11572 case 0 : 11572 Token otherlv_4=null;
11573 int LA54_0 = input.LA(1); 11573 Token otherlv_5=null;
11574 11574 Token otherlv_7=null;
11575 11575 Token otherlv_8=null;
11576 int index54_0 = input.index(); 11576 Token otherlv_10=null;
11577 input.rewind(); 11577 Token otherlv_11=null;
11578 s = -1; 11578 Token otherlv_13=null;
11579 if ( (LA54_0==20) ) {s = 1;} 11579 Token otherlv_14=null;
11580 11580 Token otherlv_16=null;
11581 else if ( LA54_0 == 24 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 2;} 11581 Token otherlv_17=null;
11582 11582 Token lv_numberSpecified_19_0=null;
11583 else if ( LA54_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 3;} 11583 Token otherlv_20=null;
11584 11584 Token lv_number_21_0=null;
11585 else if ( LA54_0 == 27 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 4;} 11585 Token lv_runSpecified_22_0=null;
11586 11586 Token otherlv_23=null;
11587 else if ( LA54_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 5;} 11587 Token lv_runs_24_0=null;
11588 11588 Token otherlv_25=null;
11589 else if ( LA54_0 == 45 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 6;} 11589 Token otherlv_26=null;
11590 11590 Token otherlv_28=null;
11591 else if ( LA54_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 7;} 11591 Token otherlv_29=null;
11592 11592 Token otherlv_31=null;
11593 else if ( LA54_0 == 47 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 8;} 11593 Token otherlv_32=null;
11594 11594 Token otherlv_34=null;
11595 else if ( LA54_0 == 28 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 9;} 11595 Token otherlv_35=null;
11596 11596 Token otherlv_37=null;
11597 else if ( LA54_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 10;} 11597 Token otherlv_38=null;
11598 11598 Token otherlv_40=null;
11599 else if ( LA54_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 11;} 11599 Token otherlv_41=null;
11600 11600 Token otherlv_43=null;
11601 else if ( LA54_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 12;} 11601 EObject lv_metamodel_6_0 = null;
11602 11602
11603 else if ( LA54_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 13;} 11603 EObject lv_partialModel_9_0 = null;
11604 11604
11605 11605 EObject lv_patterns_12_0 = null;
11606 input.seek(index54_0); 11606
11607 if ( s>=0 ) return s; 11607 EObject lv_objectives_15_0 = null;
11608 break; 11608
11609 } 11609 EObject lv_scope_18_0 = null;
11610 NoViableAltException nvae = 11610
11611 new NoViableAltException(getDescription(), 54, _s, input); 11611 Enumerator lv_solver_27_0 = null;
11612 error(nvae); 11612
11613 throw nvae; 11613 EObject lv_config_30_0 = null;
11614 } 11614
11615 } 11615 EObject lv_debugFolder_33_0 = null;
11616 11616
11617 11617 EObject lv_targetLogFile_36_0 = null;
11618 public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); 11618
11619 public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); 11619 EObject lv_targetStatisticsFile_39_0 = null;
11620 public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x00000C001D012002L}); 11620
11621 public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x00000C001D010002L}); 11621 EObject lv_tagetFolder_42_0 = null;
11622 public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000802L}); 11622
11623 public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000000010L}); 11623
11624 public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000000020L}); 11624
11625 public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000800L}); 11625 enterRule();
11626 public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000004000L}); 11626
11627 public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000000040L}); 11627 try {
11628 public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000008000L}); 11628 // InternalApplicationConfiguration.g:4245:2: ( (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) )
11629 public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000020000L}); 11629 // InternalApplicationConfiguration.g:4246:2: (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' )
11630 public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000200010L}); 11630 {
11631 public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000180000L}); 11631 // InternalApplicationConfiguration.g:4246:2: (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' )
11632 public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000400002L}); 11632 // InternalApplicationConfiguration.g:4247:3: otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}'
11633 public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000040000L}); 11633 {
11634 public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000800000L}); 11634 otherlv_0=(Token)match(input,45,FOLLOW_16);
11635 public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000002000050L}); 11635
11636 public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000100000L}); 11636 newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0());
11637 public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000000050L}); 11637
11638 public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x00000000E0100040L}); 11638 // InternalApplicationConfiguration.g:4251:3: ()
11639 public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x00000000E0000040L}); 11639 // InternalApplicationConfiguration.g:4252:4:
11640 public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0070000000000000L}); 11640 {
11641 public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000100100000L}); 11641
11642 public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000100000000L}); 11642 current = forceCreateModelElement(
11643 public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000400000000L}); 11643 grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(),
11644 public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000200020000L}); 11644 current);
11645 public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000010000000020L}); 11645
11646 public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000001000000000L}); 11646
11647 public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000002000000000L}); 11647 }
11648 public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000010000040020L}); 11648
11649 public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000004000000000L}); 11649 otherlv_2=(Token)match(input,18,FOLLOW_41);
11650 public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000008000000000L}); 11650
11651 public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000800000000L}); 11651 newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2());
11652 public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000020000000000L}); 11652
11653 public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000000000101020L}); 11653 // InternalApplicationConfiguration.g:4262:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) )
11654 public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000000000001020L}); 11654 // InternalApplicationConfiguration.g:4263:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) )
11655 public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000000000100040L}); 11655 {
11656 public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x000FF40019100000L}); 11656 // InternalApplicationConfiguration.g:4263:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) )
11657 public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000000040010L}); 11657 // InternalApplicationConfiguration.g:4264:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* )
11658 public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0380000000000000L}); 11658 {
11659 11659
11660} 11660 getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
11661
11662 // InternalApplicationConfiguration.g:4267:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* )
11663 // InternalApplicationConfiguration.g:4268:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )*
11664 {
11665 // InternalApplicationConfiguration.g:4268:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )*
11666 loop58:
11667 do {
11668 int alt58=14;
11669 alt58 = dfa58.predict(input);
11670 switch (alt58) {
11671 case 1 :
11672 // InternalApplicationConfiguration.g:4269:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) )
11673 {
11674 // InternalApplicationConfiguration.g:4269:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) )
11675 // InternalApplicationConfiguration.g:4270:5: {...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) )
11676 {
11677 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {
11678 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)");
11679 }
11680 // InternalApplicationConfiguration.g:4270:111: ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) )
11681 // InternalApplicationConfiguration.g:4271:6: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) )
11682 {
11683
11684 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0);
11685
11686 // InternalApplicationConfiguration.g:4274:9: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) )
11687 // InternalApplicationConfiguration.g:4274:10: {...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) )
11688 {
11689 if ( !((true)) ) {
11690 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
11691 }
11692 // InternalApplicationConfiguration.g:4274:19: (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) )
11693 // InternalApplicationConfiguration.g:4274:20: otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) )
11694 {
11695 otherlv_4=(Token)match(input,24,FOLLOW_12);
11696
11697 newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0());
11698
11699 otherlv_5=(Token)match(input,17,FOLLOW_42);
11700
11701 newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1());
11702
11703 // InternalApplicationConfiguration.g:4282:9: ( (lv_metamodel_6_0= ruleMetamodel ) )
11704 // InternalApplicationConfiguration.g:4283:10: (lv_metamodel_6_0= ruleMetamodel )
11705 {
11706 // InternalApplicationConfiguration.g:4283:10: (lv_metamodel_6_0= ruleMetamodel )
11707 // InternalApplicationConfiguration.g:4284:11: lv_metamodel_6_0= ruleMetamodel
11708 {
11709
11710 newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0());
11711
11712 pushFollow(FOLLOW_41);
11713 lv_metamodel_6_0=ruleMetamodel();
11714
11715 state._fsp--;
11716
11717
11718 if (current==null) {
11719 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
11720 }
11721 set(
11722 current,
11723 "metamodel",
11724 lv_metamodel_6_0,
11725 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel");
11726 afterParserOrEnumRuleCall();
11727
11728
11729 }
11730
11731
11732 }
11733
11734
11735 }
11736
11737
11738 }
11739
11740
11741 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
11742
11743
11744 }
11745
11746
11747 }
11748
11749
11750 }
11751 break;
11752 case 2 :
11753 // InternalApplicationConfiguration.g:4307:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) )
11754 {
11755 // InternalApplicationConfiguration.g:4307:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) )
11756 // InternalApplicationConfiguration.g:4308:5: {...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) )
11757 {
11758 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {
11759 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)");
11760 }
11761 // InternalApplicationConfiguration.g:4308:111: ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) )
11762 // InternalApplicationConfiguration.g:4309:6: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) )
11763 {
11764
11765 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1);
11766
11767 // InternalApplicationConfiguration.g:4312:9: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) )
11768 // InternalApplicationConfiguration.g:4312:10: {...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) )
11769 {
11770 if ( !((true)) ) {
11771 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
11772 }
11773 // InternalApplicationConfiguration.g:4312:19: (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) )
11774 // InternalApplicationConfiguration.g:4312:20: otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) )
11775 {
11776 otherlv_7=(Token)match(input,46,FOLLOW_12);
11777
11778 newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0());
11779
11780 otherlv_8=(Token)match(input,17,FOLLOW_42);
11781
11782 newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1());
11783
11784 // InternalApplicationConfiguration.g:4320:9: ( (lv_partialModel_9_0= rulePartialModel ) )
11785 // InternalApplicationConfiguration.g:4321:10: (lv_partialModel_9_0= rulePartialModel )
11786 {
11787 // InternalApplicationConfiguration.g:4321:10: (lv_partialModel_9_0= rulePartialModel )
11788 // InternalApplicationConfiguration.g:4322:11: lv_partialModel_9_0= rulePartialModel
11789 {
11790
11791 newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0());
11792
11793 pushFollow(FOLLOW_41);
11794 lv_partialModel_9_0=rulePartialModel();
11795
11796 state._fsp--;
11797
11798
11799 if (current==null) {
11800 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
11801 }
11802 set(
11803 current,
11804 "partialModel",
11805 lv_partialModel_9_0,
11806 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel");
11807 afterParserOrEnumRuleCall();
11808
11809
11810 }
11811
11812
11813 }
11814
11815
11816 }
11817
11818
11819 }
11820
11821
11822 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
11823
11824
11825 }
11826
11827
11828 }
11829
11830
11831 }
11832 break;
11833 case 3 :
11834 // InternalApplicationConfiguration.g:4345:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) )
11835 {
11836 // InternalApplicationConfiguration.g:4345:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) )
11837 // InternalApplicationConfiguration.g:4346:5: {...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) )
11838 {
11839 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {
11840 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)");
11841 }
11842 // InternalApplicationConfiguration.g:4346:111: ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) )
11843 // InternalApplicationConfiguration.g:4347:6: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) )
11844 {
11845
11846 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2);
11847
11848 // InternalApplicationConfiguration.g:4350:9: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) )
11849 // InternalApplicationConfiguration.g:4350:10: {...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) )
11850 {
11851 if ( !((true)) ) {
11852 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
11853 }
11854 // InternalApplicationConfiguration.g:4350:19: (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) )
11855 // InternalApplicationConfiguration.g:4350:20: otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) )
11856 {
11857 otherlv_10=(Token)match(input,27,FOLLOW_12);
11858
11859 newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0());
11860
11861 otherlv_11=(Token)match(input,17,FOLLOW_42);
11862
11863 newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1());
11864
11865 // InternalApplicationConfiguration.g:4358:9: ( (lv_patterns_12_0= ruleGraphPattern ) )
11866 // InternalApplicationConfiguration.g:4359:10: (lv_patterns_12_0= ruleGraphPattern )
11867 {
11868 // InternalApplicationConfiguration.g:4359:10: (lv_patterns_12_0= ruleGraphPattern )
11869 // InternalApplicationConfiguration.g:4360:11: lv_patterns_12_0= ruleGraphPattern
11870 {
11871
11872 newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0());
11873
11874 pushFollow(FOLLOW_41);
11875 lv_patterns_12_0=ruleGraphPattern();
11876
11877 state._fsp--;
11878
11879
11880 if (current==null) {
11881 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
11882 }
11883 set(
11884 current,
11885 "patterns",
11886 lv_patterns_12_0,
11887 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern");
11888 afterParserOrEnumRuleCall();
11889
11890
11891 }
11892
11893
11894 }
11895
11896
11897 }
11898
11899
11900 }
11901
11902
11903 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
11904
11905
11906 }
11907
11908
11909 }
11910
11911
11912 }
11913 break;
11914 case 4 :
11915 // InternalApplicationConfiguration.g:4383:4: ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) )
11916 {
11917 // InternalApplicationConfiguration.g:4383:4: ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) )
11918 // InternalApplicationConfiguration.g:4384:5: {...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) )
11919 {
11920 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {
11921 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)");
11922 }
11923 // InternalApplicationConfiguration.g:4384:111: ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) )
11924 // InternalApplicationConfiguration.g:4385:6: ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) )
11925 {
11926
11927 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3);
11928
11929 // InternalApplicationConfiguration.g:4388:9: ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) )
11930 // InternalApplicationConfiguration.g:4388:10: {...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) )
11931 {
11932 if ( !((true)) ) {
11933 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
11934 }
11935 // InternalApplicationConfiguration.g:4388:19: (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) )
11936 // InternalApplicationConfiguration.g:4388:20: otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) )
11937 {
11938 otherlv_13=(Token)match(input,29,FOLLOW_12);
11939
11940 newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getObjectivesKeyword_3_3_0());
11941
11942 otherlv_14=(Token)match(input,17,FOLLOW_42);
11943
11944 newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1());
11945
11946 // InternalApplicationConfiguration.g:4396:9: ( (lv_objectives_15_0= ruleObjective ) )
11947 // InternalApplicationConfiguration.g:4397:10: (lv_objectives_15_0= ruleObjective )
11948 {
11949 // InternalApplicationConfiguration.g:4397:10: (lv_objectives_15_0= ruleObjective )
11950 // InternalApplicationConfiguration.g:4398:11: lv_objectives_15_0= ruleObjective
11951 {
11952
11953 newCompositeNode(grammarAccess.getGenerationTaskAccess().getObjectivesObjectiveParserRuleCall_3_3_2_0());
11954
11955 pushFollow(FOLLOW_41);
11956 lv_objectives_15_0=ruleObjective();
11957
11958 state._fsp--;
11959
11960
11961 if (current==null) {
11962 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
11963 }
11964 set(
11965 current,
11966 "objectives",
11967 lv_objectives_15_0,
11968 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Objective");
11969 afterParserOrEnumRuleCall();
11970
11971
11972 }
11973
11974
11975 }
11976
11977
11978 }
11979
11980
11981 }
11982
11983
11984 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
11985
11986
11987 }
11988
11989
11990 }
11991
11992
11993 }
11994 break;
11995 case 5 :
11996 // InternalApplicationConfiguration.g:4421:4: ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) )
11997 {
11998 // InternalApplicationConfiguration.g:4421:4: ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) )
11999 // InternalApplicationConfiguration.g:4422:5: {...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) )
12000 {
12001 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {
12002 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)");
12003 }
12004 // InternalApplicationConfiguration.g:4422:111: ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) )
12005 // InternalApplicationConfiguration.g:4423:6: ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) )
12006 {
12007
12008 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4);
12009
12010 // InternalApplicationConfiguration.g:4426:9: ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) )
12011 // InternalApplicationConfiguration.g:4426:10: {...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) )
12012 {
12013 if ( !((true)) ) {
12014 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12015 }
12016 // InternalApplicationConfiguration.g:4426:19: (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) )
12017 // InternalApplicationConfiguration.g:4426:20: otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) )
12018 {
12019 otherlv_16=(Token)match(input,44,FOLLOW_12);
12020
12021 newLeafNode(otherlv_16, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_4_0());
12022
12023 otherlv_17=(Token)match(input,17,FOLLOW_42);
12024
12025 newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1());
12026
12027 // InternalApplicationConfiguration.g:4434:9: ( (lv_scope_18_0= ruleScope ) )
12028 // InternalApplicationConfiguration.g:4435:10: (lv_scope_18_0= ruleScope )
12029 {
12030 // InternalApplicationConfiguration.g:4435:10: (lv_scope_18_0= ruleScope )
12031 // InternalApplicationConfiguration.g:4436:11: lv_scope_18_0= ruleScope
12032 {
12033
12034 newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_4_2_0());
12035
12036 pushFollow(FOLLOW_41);
12037 lv_scope_18_0=ruleScope();
12038
12039 state._fsp--;
12040
12041
12042 if (current==null) {
12043 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
12044 }
12045 set(
12046 current,
12047 "scope",
12048 lv_scope_18_0,
12049 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope");
12050 afterParserOrEnumRuleCall();
12051
12052
12053 }
12054
12055
12056 }
12057
12058
12059 }
12060
12061
12062 }
12063
12064
12065 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12066
12067
12068 }
12069
12070
12071 }
12072
12073
12074 }
12075 break;
12076 case 6 :
12077 // InternalApplicationConfiguration.g:4459:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) )
12078 {
12079 // InternalApplicationConfiguration.g:4459:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) )
12080 // InternalApplicationConfiguration.g:4460:5: {...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) )
12081 {
12082 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {
12083 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)");
12084 }
12085 // InternalApplicationConfiguration.g:4460:111: ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) )
12086 // InternalApplicationConfiguration.g:4461:6: ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) )
12087 {
12088
12089 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5);
12090
12091 // InternalApplicationConfiguration.g:4464:9: ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) )
12092 // InternalApplicationConfiguration.g:4464:10: {...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) )
12093 {
12094 if ( !((true)) ) {
12095 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12096 }
12097 // InternalApplicationConfiguration.g:4464:19: ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) )
12098 // InternalApplicationConfiguration.g:4464:20: ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) )
12099 {
12100 // InternalApplicationConfiguration.g:4464:20: ( (lv_numberSpecified_19_0= 'number' ) )
12101 // InternalApplicationConfiguration.g:4465:10: (lv_numberSpecified_19_0= 'number' )
12102 {
12103 // InternalApplicationConfiguration.g:4465:10: (lv_numberSpecified_19_0= 'number' )
12104 // InternalApplicationConfiguration.g:4466:11: lv_numberSpecified_19_0= 'number'
12105 {
12106 lv_numberSpecified_19_0=(Token)match(input,47,FOLLOW_12);
12107
12108 newLeafNode(lv_numberSpecified_19_0, grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_5_0_0());
12109
12110
12111 if (current==null) {
12112 current = createModelElement(grammarAccess.getGenerationTaskRule());
12113 }
12114 setWithLastConsumed(current, "numberSpecified", true, "number");
12115
12116
12117 }
12118
12119
12120 }
12121
12122 otherlv_20=(Token)match(input,17,FOLLOW_7);
12123
12124 newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1());
12125
12126 // InternalApplicationConfiguration.g:4482:9: ( (lv_number_21_0= RULE_INT ) )
12127 // InternalApplicationConfiguration.g:4483:10: (lv_number_21_0= RULE_INT )
12128 {
12129 // InternalApplicationConfiguration.g:4483:10: (lv_number_21_0= RULE_INT )
12130 // InternalApplicationConfiguration.g:4484:11: lv_number_21_0= RULE_INT
12131 {
12132 lv_number_21_0=(Token)match(input,RULE_INT,FOLLOW_41);
12133
12134 newLeafNode(lv_number_21_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_5_2_0());
12135
12136
12137 if (current==null) {
12138 current = createModelElement(grammarAccess.getGenerationTaskRule());
12139 }
12140 setWithLastConsumed(
12141 current,
12142 "number",
12143 lv_number_21_0,
12144 "org.eclipse.xtext.common.Terminals.INT");
12145
12146
12147 }
12148
12149
12150 }
12151
12152
12153 }
12154
12155
12156 }
12157
12158
12159 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12160
12161
12162 }
12163
12164
12165 }
12166
12167
12168 }
12169 break;
12170 case 7 :
12171 // InternalApplicationConfiguration.g:4506:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) )
12172 {
12173 // InternalApplicationConfiguration.g:4506:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) )
12174 // InternalApplicationConfiguration.g:4507:5: {...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) )
12175 {
12176 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {
12177 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)");
12178 }
12179 // InternalApplicationConfiguration.g:4507:111: ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) )
12180 // InternalApplicationConfiguration.g:4508:6: ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) )
12181 {
12182
12183 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6);
12184
12185 // InternalApplicationConfiguration.g:4511:9: ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) )
12186 // InternalApplicationConfiguration.g:4511:10: {...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) )
12187 {
12188 if ( !((true)) ) {
12189 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12190 }
12191 // InternalApplicationConfiguration.g:4511:19: ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) )
12192 // InternalApplicationConfiguration.g:4511:20: ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) )
12193 {
12194 // InternalApplicationConfiguration.g:4511:20: ( (lv_runSpecified_22_0= 'runs' ) )
12195 // InternalApplicationConfiguration.g:4512:10: (lv_runSpecified_22_0= 'runs' )
12196 {
12197 // InternalApplicationConfiguration.g:4512:10: (lv_runSpecified_22_0= 'runs' )
12198 // InternalApplicationConfiguration.g:4513:11: lv_runSpecified_22_0= 'runs'
12199 {
12200 lv_runSpecified_22_0=(Token)match(input,48,FOLLOW_12);
12201
12202 newLeafNode(lv_runSpecified_22_0, grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_6_0_0());
12203
12204
12205 if (current==null) {
12206 current = createModelElement(grammarAccess.getGenerationTaskRule());
12207 }
12208 setWithLastConsumed(current, "runSpecified", true, "runs");
12209
12210
12211 }
12212
12213
12214 }
12215
12216 otherlv_23=(Token)match(input,17,FOLLOW_7);
12217
12218 newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1());
12219
12220 // InternalApplicationConfiguration.g:4529:9: ( (lv_runs_24_0= RULE_INT ) )
12221 // InternalApplicationConfiguration.g:4530:10: (lv_runs_24_0= RULE_INT )
12222 {
12223 // InternalApplicationConfiguration.g:4530:10: (lv_runs_24_0= RULE_INT )
12224 // InternalApplicationConfiguration.g:4531:11: lv_runs_24_0= RULE_INT
12225 {
12226 lv_runs_24_0=(Token)match(input,RULE_INT,FOLLOW_41);
12227
12228 newLeafNode(lv_runs_24_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_6_2_0());
12229
12230
12231 if (current==null) {
12232 current = createModelElement(grammarAccess.getGenerationTaskRule());
12233 }
12234 setWithLastConsumed(
12235 current,
12236 "runs",
12237 lv_runs_24_0,
12238 "org.eclipse.xtext.common.Terminals.INT");
12239
12240
12241 }
12242
12243
12244 }
12245
12246
12247 }
12248
12249
12250 }
12251
12252
12253 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12254
12255
12256 }
12257
12258
12259 }
12260
12261
12262 }
12263 break;
12264 case 8 :
12265 // InternalApplicationConfiguration.g:4553:4: ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) )
12266 {
12267 // InternalApplicationConfiguration.g:4553:4: ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) )
12268 // InternalApplicationConfiguration.g:4554:5: {...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) )
12269 {
12270 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {
12271 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)");
12272 }
12273 // InternalApplicationConfiguration.g:4554:111: ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) )
12274 // InternalApplicationConfiguration.g:4555:6: ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) )
12275 {
12276
12277 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7);
12278
12279 // InternalApplicationConfiguration.g:4558:9: ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) )
12280 // InternalApplicationConfiguration.g:4558:10: {...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) )
12281 {
12282 if ( !((true)) ) {
12283 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12284 }
12285 // InternalApplicationConfiguration.g:4558:19: (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) )
12286 // InternalApplicationConfiguration.g:4558:20: otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) )
12287 {
12288 otherlv_25=(Token)match(input,49,FOLLOW_12);
12289
12290 newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_7_0());
12291
12292 otherlv_26=(Token)match(input,17,FOLLOW_43);
12293
12294 newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1());
12295
12296 // InternalApplicationConfiguration.g:4566:9: ( (lv_solver_27_0= ruleSolver ) )
12297 // InternalApplicationConfiguration.g:4567:10: (lv_solver_27_0= ruleSolver )
12298 {
12299 // InternalApplicationConfiguration.g:4567:10: (lv_solver_27_0= ruleSolver )
12300 // InternalApplicationConfiguration.g:4568:11: lv_solver_27_0= ruleSolver
12301 {
12302
12303 newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_7_2_0());
12304
12305 pushFollow(FOLLOW_41);
12306 lv_solver_27_0=ruleSolver();
12307
12308 state._fsp--;
12309
12310
12311 if (current==null) {
12312 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
12313 }
12314 set(
12315 current,
12316 "solver",
12317 lv_solver_27_0,
12318 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver");
12319 afterParserOrEnumRuleCall();
12320
12321
12322 }
12323
12324
12325 }
12326
12327
12328 }
12329
12330
12331 }
12332
12333
12334 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12335
12336
12337 }
12338
12339
12340 }
12341
12342
12343 }
12344 break;
12345 case 9 :
12346 // InternalApplicationConfiguration.g:4591:4: ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) )
12347 {
12348 // InternalApplicationConfiguration.g:4591:4: ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) )
12349 // InternalApplicationConfiguration.g:4592:5: {...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) )
12350 {
12351 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {
12352 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)");
12353 }
12354 // InternalApplicationConfiguration.g:4592:111: ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) )
12355 // InternalApplicationConfiguration.g:4593:6: ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) )
12356 {
12357
12358 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8);
12359
12360 // InternalApplicationConfiguration.g:4596:9: ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) )
12361 // InternalApplicationConfiguration.g:4596:10: {...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) )
12362 {
12363 if ( !((true)) ) {
12364 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12365 }
12366 // InternalApplicationConfiguration.g:4596:19: (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) )
12367 // InternalApplicationConfiguration.g:4596:20: otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) )
12368 {
12369 otherlv_28=(Token)match(input,30,FOLLOW_12);
12370
12371 newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_8_0());
12372
12373 otherlv_29=(Token)match(input,17,FOLLOW_42);
12374
12375 newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1());
12376
12377 // InternalApplicationConfiguration.g:4604:9: ( (lv_config_30_0= ruleConfig ) )
12378 // InternalApplicationConfiguration.g:4605:10: (lv_config_30_0= ruleConfig )
12379 {
12380 // InternalApplicationConfiguration.g:4605:10: (lv_config_30_0= ruleConfig )
12381 // InternalApplicationConfiguration.g:4606:11: lv_config_30_0= ruleConfig
12382 {
12383
12384 newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_8_2_0());
12385
12386 pushFollow(FOLLOW_41);
12387 lv_config_30_0=ruleConfig();
12388
12389 state._fsp--;
12390
12391
12392 if (current==null) {
12393 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
12394 }
12395 set(
12396 current,
12397 "config",
12398 lv_config_30_0,
12399 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config");
12400 afterParserOrEnumRuleCall();
12401
12402
12403 }
12404
12405
12406 }
12407
12408
12409 }
12410
12411
12412 }
12413
12414
12415 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12416
12417
12418 }
12419
12420
12421 }
12422
12423
12424 }
12425 break;
12426 case 10 :
12427 // InternalApplicationConfiguration.g:4629:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) )
12428 {
12429 // InternalApplicationConfiguration.g:4629:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) )
12430 // InternalApplicationConfiguration.g:4630:5: {...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) )
12431 {
12432 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {
12433 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)");
12434 }
12435 // InternalApplicationConfiguration.g:4630:111: ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) )
12436 // InternalApplicationConfiguration.g:4631:6: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) )
12437 {
12438
12439 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9);
12440
12441 // InternalApplicationConfiguration.g:4634:9: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) )
12442 // InternalApplicationConfiguration.g:4634:10: {...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) )
12443 {
12444 if ( !((true)) ) {
12445 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12446 }
12447 // InternalApplicationConfiguration.g:4634:19: (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) )
12448 // InternalApplicationConfiguration.g:4634:20: otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) )
12449 {
12450 otherlv_31=(Token)match(input,50,FOLLOW_12);
12451
12452 newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0());
12453
12454 otherlv_32=(Token)match(input,17,FOLLOW_20);
12455
12456 newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1());
12457
12458 // InternalApplicationConfiguration.g:4642:9: ( (lv_debugFolder_33_0= ruleFile ) )
12459 // InternalApplicationConfiguration.g:4643:10: (lv_debugFolder_33_0= ruleFile )
12460 {
12461 // InternalApplicationConfiguration.g:4643:10: (lv_debugFolder_33_0= ruleFile )
12462 // InternalApplicationConfiguration.g:4644:11: lv_debugFolder_33_0= ruleFile
12463 {
12464
12465 newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_9_2_0());
12466
12467 pushFollow(FOLLOW_41);
12468 lv_debugFolder_33_0=ruleFile();
12469
12470 state._fsp--;
12471
12472
12473 if (current==null) {
12474 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
12475 }
12476 set(
12477 current,
12478 "debugFolder",
12479 lv_debugFolder_33_0,
12480 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
12481 afterParserOrEnumRuleCall();
12482
12483
12484 }
12485
12486
12487 }
12488
12489
12490 }
12491
12492
12493 }
12494
12495
12496 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12497
12498
12499 }
12500
12501
12502 }
12503
12504
12505 }
12506 break;
12507 case 11 :
12508 // InternalApplicationConfiguration.g:4667:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) )
12509 {
12510 // InternalApplicationConfiguration.g:4667:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) )
12511 // InternalApplicationConfiguration.g:4668:5: {...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) )
12512 {
12513 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {
12514 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)");
12515 }
12516 // InternalApplicationConfiguration.g:4668:112: ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) )
12517 // InternalApplicationConfiguration.g:4669:6: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) )
12518 {
12519
12520 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10);
12521
12522 // InternalApplicationConfiguration.g:4672:9: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) )
12523 // InternalApplicationConfiguration.g:4672:10: {...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) )
12524 {
12525 if ( !((true)) ) {
12526 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12527 }
12528 // InternalApplicationConfiguration.g:4672:19: (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) )
12529 // InternalApplicationConfiguration.g:4672:20: otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) )
12530 {
12531 otherlv_34=(Token)match(input,51,FOLLOW_12);
12532
12533 newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0());
12534
12535 otherlv_35=(Token)match(input,17,FOLLOW_20);
12536
12537 newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1());
12538
12539 // InternalApplicationConfiguration.g:4680:9: ( (lv_targetLogFile_36_0= ruleFile ) )
12540 // InternalApplicationConfiguration.g:4681:10: (lv_targetLogFile_36_0= ruleFile )
12541 {
12542 // InternalApplicationConfiguration.g:4681:10: (lv_targetLogFile_36_0= ruleFile )
12543 // InternalApplicationConfiguration.g:4682:11: lv_targetLogFile_36_0= ruleFile
12544 {
12545
12546 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_10_2_0());
12547
12548 pushFollow(FOLLOW_41);
12549 lv_targetLogFile_36_0=ruleFile();
12550
12551 state._fsp--;
12552
12553
12554 if (current==null) {
12555 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
12556 }
12557 set(
12558 current,
12559 "targetLogFile",
12560 lv_targetLogFile_36_0,
12561 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
12562 afterParserOrEnumRuleCall();
12563
12564
12565 }
12566
12567
12568 }
12569
12570
12571 }
12572
12573
12574 }
12575
12576
12577 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12578
12579
12580 }
12581
12582
12583 }
12584
12585
12586 }
12587 break;
12588 case 12 :
12589 // InternalApplicationConfiguration.g:4705:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) )
12590 {
12591 // InternalApplicationConfiguration.g:4705:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) )
12592 // InternalApplicationConfiguration.g:4706:5: {...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) )
12593 {
12594 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {
12595 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)");
12596 }
12597 // InternalApplicationConfiguration.g:4706:112: ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) )
12598 // InternalApplicationConfiguration.g:4707:6: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) )
12599 {
12600
12601 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11);
12602
12603 // InternalApplicationConfiguration.g:4710:9: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) )
12604 // InternalApplicationConfiguration.g:4710:10: {...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) )
12605 {
12606 if ( !((true)) ) {
12607 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12608 }
12609 // InternalApplicationConfiguration.g:4710:19: (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) )
12610 // InternalApplicationConfiguration.g:4710:20: otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) )
12611 {
12612 otherlv_37=(Token)match(input,52,FOLLOW_12);
12613
12614 newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0());
12615
12616 otherlv_38=(Token)match(input,17,FOLLOW_20);
12617
12618 newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1());
12619
12620 // InternalApplicationConfiguration.g:4718:9: ( (lv_targetStatisticsFile_39_0= ruleFile ) )
12621 // InternalApplicationConfiguration.g:4719:10: (lv_targetStatisticsFile_39_0= ruleFile )
12622 {
12623 // InternalApplicationConfiguration.g:4719:10: (lv_targetStatisticsFile_39_0= ruleFile )
12624 // InternalApplicationConfiguration.g:4720:11: lv_targetStatisticsFile_39_0= ruleFile
12625 {
12626
12627 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_11_2_0());
12628
12629 pushFollow(FOLLOW_41);
12630 lv_targetStatisticsFile_39_0=ruleFile();
12631
12632 state._fsp--;
12633
12634
12635 if (current==null) {
12636 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
12637 }
12638 set(
12639 current,
12640 "targetStatisticsFile",
12641 lv_targetStatisticsFile_39_0,
12642 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
12643 afterParserOrEnumRuleCall();
12644
12645
12646 }
12647
12648
12649 }
12650
12651
12652 }
12653
12654
12655 }
12656
12657
12658 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12659
12660
12661 }
12662
12663
12664 }
12665
12666
12667 }
12668 break;
12669 case 13 :
12670 // InternalApplicationConfiguration.g:4743:4: ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) )
12671 {
12672 // InternalApplicationConfiguration.g:4743:4: ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) )
12673 // InternalApplicationConfiguration.g:4744:5: {...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) )
12674 {
12675 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {
12676 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12)");
12677 }
12678 // InternalApplicationConfiguration.g:4744:112: ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) )
12679 // InternalApplicationConfiguration.g:4745:6: ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) )
12680 {
12681
12682 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12);
12683
12684 // InternalApplicationConfiguration.g:4748:9: ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) )
12685 // InternalApplicationConfiguration.g:4748:10: {...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) )
12686 {
12687 if ( !((true)) ) {
12688 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12689 }
12690 // InternalApplicationConfiguration.g:4748:19: (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) )
12691 // InternalApplicationConfiguration.g:4748:20: otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) )
12692 {
12693 otherlv_40=(Token)match(input,53,FOLLOW_12);
12694
12695 newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_12_0());
12696
12697 otherlv_41=(Token)match(input,17,FOLLOW_20);
12698
12699 newLeafNode(otherlv_41, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_12_1());
12700
12701 // InternalApplicationConfiguration.g:4756:9: ( (lv_tagetFolder_42_0= ruleFile ) )
12702 // InternalApplicationConfiguration.g:4757:10: (lv_tagetFolder_42_0= ruleFile )
12703 {
12704 // InternalApplicationConfiguration.g:4757:10: (lv_tagetFolder_42_0= ruleFile )
12705 // InternalApplicationConfiguration.g:4758:11: lv_tagetFolder_42_0= ruleFile
12706 {
12707
12708 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_12_2_0());
12709
12710 pushFollow(FOLLOW_41);
12711 lv_tagetFolder_42_0=ruleFile();
12712
12713 state._fsp--;
12714
12715
12716 if (current==null) {
12717 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
12718 }
12719 set(
12720 current,
12721 "tagetFolder",
12722 lv_tagetFolder_42_0,
12723 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
12724 afterParserOrEnumRuleCall();
12725
12726
12727 }
12728
12729
12730 }
12731
12732
12733 }
12734
12735
12736 }
12737
12738
12739 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12740
12741
12742 }
12743
12744
12745 }
12746
12747
12748 }
12749 break;
12750
12751 default :
12752 break loop58;
12753 }
12754 } while (true);
12755
12756
12757 }
12758
12759
12760 }
12761
12762
12763 getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12764
12765
12766 }
12767
12768 otherlv_43=(Token)match(input,20,FOLLOW_2);
12769
12770 newLeafNode(otherlv_43, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4());
12771
12772
12773 }
12774
12775
12776 }
12777
12778
12779 leaveRule();
12780
12781 }
12782
12783 catch (RecognitionException re) {
12784 recover(input,re);
12785 appendSkippedTokens();
12786 }
12787 finally {
12788 }
12789 return current;
12790 }
12791 // $ANTLR end "ruleGenerationTask"
12792
12793
12794 // $ANTLR start "ruleOptimizationDirection"
12795 // InternalApplicationConfiguration.g:4796:1: ruleOptimizationDirection returns [Enumerator current=null] : ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) ;
12796 public final Enumerator ruleOptimizationDirection() throws RecognitionException {
12797 Enumerator current = null;
12798
12799 Token enumLiteral_0=null;
12800 Token enumLiteral_1=null;
12801
12802
12803 enterRule();
12804
12805 try {
12806 // InternalApplicationConfiguration.g:4802:2: ( ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) )
12807 // InternalApplicationConfiguration.g:4803:2: ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) )
12808 {
12809 // InternalApplicationConfiguration.g:4803:2: ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) )
12810 int alt59=2;
12811 int LA59_0 = input.LA(1);
12812
12813 if ( (LA59_0==54) ) {
12814 alt59=1;
12815 }
12816 else if ( (LA59_0==55) ) {
12817 alt59=2;
12818 }
12819 else {
12820 NoViableAltException nvae =
12821 new NoViableAltException("", 59, 0, input);
12822
12823 throw nvae;
12824 }
12825 switch (alt59) {
12826 case 1 :
12827 // InternalApplicationConfiguration.g:4804:3: (enumLiteral_0= 'minimize' )
12828 {
12829 // InternalApplicationConfiguration.g:4804:3: (enumLiteral_0= 'minimize' )
12830 // InternalApplicationConfiguration.g:4805:4: enumLiteral_0= 'minimize'
12831 {
12832 enumLiteral_0=(Token)match(input,54,FOLLOW_2);
12833
12834 current = grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
12835 newLeafNode(enumLiteral_0, grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0());
12836
12837
12838 }
12839
12840
12841 }
12842 break;
12843 case 2 :
12844 // InternalApplicationConfiguration.g:4812:3: (enumLiteral_1= 'maximize' )
12845 {
12846 // InternalApplicationConfiguration.g:4812:3: (enumLiteral_1= 'maximize' )
12847 // InternalApplicationConfiguration.g:4813:4: enumLiteral_1= 'maximize'
12848 {
12849 enumLiteral_1=(Token)match(input,55,FOLLOW_2);
12850
12851 current = grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
12852 newLeafNode(enumLiteral_1, grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1());
12853
12854
12855 }
12856
12857
12858 }
12859 break;
12860
12861 }
12862
12863
12864 }
12865
12866
12867 leaveRule();
12868
12869 }
12870
12871 catch (RecognitionException re) {
12872 recover(input,re);
12873 appendSkippedTokens();
12874 }
12875 finally {
12876 }
12877 return current;
12878 }
12879 // $ANTLR end "ruleOptimizationDirection"
12880
12881
12882 // $ANTLR start "ruleComparisonOperator"
12883 // InternalApplicationConfiguration.g:4823:1: ruleComparisonOperator returns [Enumerator current=null] : ( (enumLiteral_0= '<' ) | (enumLiteral_1= '>' ) | (enumLiteral_2= '<=' ) | (enumLiteral_3= '>=' ) ) ;
12884 public final Enumerator ruleComparisonOperator() throws RecognitionException {
12885 Enumerator current = null;
12886
12887 Token enumLiteral_0=null;
12888 Token enumLiteral_1=null;
12889 Token enumLiteral_2=null;
12890 Token enumLiteral_3=null;
12891
12892
12893 enterRule();
12894
12895 try {
12896 // InternalApplicationConfiguration.g:4829:2: ( ( (enumLiteral_0= '<' ) | (enumLiteral_1= '>' ) | (enumLiteral_2= '<=' ) | (enumLiteral_3= '>=' ) ) )
12897 // InternalApplicationConfiguration.g:4830:2: ( (enumLiteral_0= '<' ) | (enumLiteral_1= '>' ) | (enumLiteral_2= '<=' ) | (enumLiteral_3= '>=' ) )
12898 {
12899 // InternalApplicationConfiguration.g:4830:2: ( (enumLiteral_0= '<' ) | (enumLiteral_1= '>' ) | (enumLiteral_2= '<=' ) | (enumLiteral_3= '>=' ) )
12900 int alt60=4;
12901 switch ( input.LA(1) ) {
12902 case 36:
12903 {
12904 alt60=1;
12905 }
12906 break;
12907 case 37:
12908 {
12909 alt60=2;
12910 }
12911 break;
12912 case 56:
12913 {
12914 alt60=3;
12915 }
12916 break;
12917 case 57:
12918 {
12919 alt60=4;
12920 }
12921 break;
12922 default:
12923 NoViableAltException nvae =
12924 new NoViableAltException("", 60, 0, input);
12925
12926 throw nvae;
12927 }
12928
12929 switch (alt60) {
12930 case 1 :
12931 // InternalApplicationConfiguration.g:4831:3: (enumLiteral_0= '<' )
12932 {
12933 // InternalApplicationConfiguration.g:4831:3: (enumLiteral_0= '<' )
12934 // InternalApplicationConfiguration.g:4832:4: enumLiteral_0= '<'
12935 {
12936 enumLiteral_0=(Token)match(input,36,FOLLOW_2);
12937
12938 current = grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
12939 newLeafNode(enumLiteral_0, grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_0());
12940
12941
12942 }
12943
12944
12945 }
12946 break;
12947 case 2 :
12948 // InternalApplicationConfiguration.g:4839:3: (enumLiteral_1= '>' )
12949 {
12950 // InternalApplicationConfiguration.g:4839:3: (enumLiteral_1= '>' )
12951 // InternalApplicationConfiguration.g:4840:4: enumLiteral_1= '>'
12952 {
12953 enumLiteral_1=(Token)match(input,37,FOLLOW_2);
12954
12955 current = grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_1().getEnumLiteral().getInstance();
12956 newLeafNode(enumLiteral_1, grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_1());
12957
12958
12959 }
12960
12961
12962 }
12963 break;
12964 case 3 :
12965 // InternalApplicationConfiguration.g:4847:3: (enumLiteral_2= '<=' )
12966 {
12967 // InternalApplicationConfiguration.g:4847:3: (enumLiteral_2= '<=' )
12968 // InternalApplicationConfiguration.g:4848:4: enumLiteral_2= '<='
12969 {
12970 enumLiteral_2=(Token)match(input,56,FOLLOW_2);
12971
12972 current = grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
12973 newLeafNode(enumLiteral_2, grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_2());
12974
12975
12976 }
12977
12978
12979 }
12980 break;
12981 case 4 :
12982 // InternalApplicationConfiguration.g:4855:3: (enumLiteral_3= '>=' )
12983 {
12984 // InternalApplicationConfiguration.g:4855:3: (enumLiteral_3= '>=' )
12985 // InternalApplicationConfiguration.g:4856:4: enumLiteral_3= '>='
12986 {
12987 enumLiteral_3=(Token)match(input,57,FOLLOW_2);
12988
12989 current = grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
12990 newLeafNode(enumLiteral_3, grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_3());
12991
12992
12993 }
12994
12995
12996 }
12997 break;
12998
12999 }
13000
13001
13002 }
13003
13004
13005 leaveRule();
13006
13007 }
13008
13009 catch (RecognitionException re) {
13010 recover(input,re);
13011 appendSkippedTokens();
13012 }
13013 finally {
13014 }
13015 return current;
13016 }
13017 // $ANTLR end "ruleComparisonOperator"
13018
13019
13020 // $ANTLR start "ruleDocumentLevelSpecification"
13021 // InternalApplicationConfiguration.g:4866:1: ruleDocumentLevelSpecification returns [Enumerator current=null] : ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) ;
13022 public final Enumerator ruleDocumentLevelSpecification() throws RecognitionException {
13023 Enumerator current = null;
13024
13025 Token enumLiteral_0=null;
13026 Token enumLiteral_1=null;
13027 Token enumLiteral_2=null;
13028
13029
13030 enterRule();
13031
13032 try {
13033 // InternalApplicationConfiguration.g:4872:2: ( ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) )
13034 // InternalApplicationConfiguration.g:4873:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) )
13035 {
13036 // InternalApplicationConfiguration.g:4873:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) )
13037 int alt61=3;
13038 switch ( input.LA(1) ) {
13039 case 58:
13040 {
13041 alt61=1;
13042 }
13043 break;
13044 case 59:
13045 {
13046 alt61=2;
13047 }
13048 break;
13049 case 60:
13050 {
13051 alt61=3;
13052 }
13053 break;
13054 default:
13055 NoViableAltException nvae =
13056 new NoViableAltException("", 61, 0, input);
13057
13058 throw nvae;
13059 }
13060
13061 switch (alt61) {
13062 case 1 :
13063 // InternalApplicationConfiguration.g:4874:3: (enumLiteral_0= 'none' )
13064 {
13065 // InternalApplicationConfiguration.g:4874:3: (enumLiteral_0= 'none' )
13066 // InternalApplicationConfiguration.g:4875:4: enumLiteral_0= 'none'
13067 {
13068 enumLiteral_0=(Token)match(input,58,FOLLOW_2);
13069
13070 current = grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
13071 newLeafNode(enumLiteral_0, grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0());
13072
13073
13074 }
13075
13076
13077 }
13078 break;
13079 case 2 :
13080 // InternalApplicationConfiguration.g:4882:3: (enumLiteral_1= 'normal' )
13081 {
13082 // InternalApplicationConfiguration.g:4882:3: (enumLiteral_1= 'normal' )
13083 // InternalApplicationConfiguration.g:4883:4: enumLiteral_1= 'normal'
13084 {
13085 enumLiteral_1=(Token)match(input,59,FOLLOW_2);
13086
13087 current = grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
13088 newLeafNode(enumLiteral_1, grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1());
13089
13090
13091 }
13092
13093
13094 }
13095 break;
13096 case 3 :
13097 // InternalApplicationConfiguration.g:4890:3: (enumLiteral_2= 'full' )
13098 {
13099 // InternalApplicationConfiguration.g:4890:3: (enumLiteral_2= 'full' )
13100 // InternalApplicationConfiguration.g:4891:4: enumLiteral_2= 'full'
13101 {
13102 enumLiteral_2=(Token)match(input,60,FOLLOW_2);
13103
13104 current = grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
13105 newLeafNode(enumLiteral_2, grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2());
13106
13107
13108 }
13109
13110
13111 }
13112 break;
13113
13114 }
13115
13116
13117 }
13118
13119
13120 leaveRule();
13121
13122 }
13123
13124 catch (RecognitionException re) {
13125 recover(input,re);
13126 appendSkippedTokens();
13127 }
13128 finally {
13129 }
13130 return current;
13131 }
13132 // $ANTLR end "ruleDocumentLevelSpecification"
13133
13134
13135 // $ANTLR start "ruleSolver"
13136 // InternalApplicationConfiguration.g:4901:1: ruleSolver returns [Enumerator current=null] : ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ;
13137 public final Enumerator ruleSolver() throws RecognitionException {
13138 Enumerator current = null;
13139
13140 Token enumLiteral_0=null;
13141 Token enumLiteral_1=null;
13142 Token enumLiteral_2=null;
13143
13144
13145 enterRule();
13146
13147 try {
13148 // InternalApplicationConfiguration.g:4907:2: ( ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) )
13149 // InternalApplicationConfiguration.g:4908:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) )
13150 {
13151 // InternalApplicationConfiguration.g:4908:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) )
13152 int alt62=3;
13153 switch ( input.LA(1) ) {
13154 case 61:
13155 {
13156 alt62=1;
13157 }
13158 break;
13159 case 62:
13160 {
13161 alt62=2;
13162 }
13163 break;
13164 case 63:
13165 {
13166 alt62=3;
13167 }
13168 break;
13169 default:
13170 NoViableAltException nvae =
13171 new NoViableAltException("", 62, 0, input);
13172
13173 throw nvae;
13174 }
13175
13176 switch (alt62) {
13177 case 1 :
13178 // InternalApplicationConfiguration.g:4909:3: (enumLiteral_0= 'SMTSolver' )
13179 {
13180 // InternalApplicationConfiguration.g:4909:3: (enumLiteral_0= 'SMTSolver' )
13181 // InternalApplicationConfiguration.g:4910:4: enumLiteral_0= 'SMTSolver'
13182 {
13183 enumLiteral_0=(Token)match(input,61,FOLLOW_2);
13184
13185 current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
13186 newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0());
13187
13188
13189 }
13190
13191
13192 }
13193 break;
13194 case 2 :
13195 // InternalApplicationConfiguration.g:4917:3: (enumLiteral_1= 'AlloySolver' )
13196 {
13197 // InternalApplicationConfiguration.g:4917:3: (enumLiteral_1= 'AlloySolver' )
13198 // InternalApplicationConfiguration.g:4918:4: enumLiteral_1= 'AlloySolver'
13199 {
13200 enumLiteral_1=(Token)match(input,62,FOLLOW_2);
13201
13202 current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
13203 newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1());
13204
13205
13206 }
13207
13208
13209 }
13210 break;
13211 case 3 :
13212 // InternalApplicationConfiguration.g:4925:3: (enumLiteral_2= 'ViatraSolver' )
13213 {
13214 // InternalApplicationConfiguration.g:4925:3: (enumLiteral_2= 'ViatraSolver' )
13215 // InternalApplicationConfiguration.g:4926:4: enumLiteral_2= 'ViatraSolver'
13216 {
13217 enumLiteral_2=(Token)match(input,63,FOLLOW_2);
13218
13219 current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
13220 newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2());
13221
13222
13223 }
13224
13225
13226 }
13227 break;
13228
13229 }
13230
13231
13232 }
13233
13234
13235 leaveRule();
13236
13237 }
13238
13239 catch (RecognitionException re) {
13240 recover(input,re);
13241 appendSkippedTokens();
13242 }
13243 finally {
13244 }
13245 return current;
13246 }
13247 // $ANTLR end "ruleSolver"
13248
13249 // Delegated rules
13250
13251
13252 protected DFA58 dfa58 = new DFA58(this);
13253 static final String dfa_1s = "\17\uffff";
13254 static final String dfa_2s = "\1\24\16\uffff";
13255 static final String dfa_3s = "\1\65\16\uffff";
13256 static final String dfa_4s = "\1\uffff\1\16\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14\1\15";
13257 static final String dfa_5s = "\1\0\16\uffff}>";
13258 static final String[] dfa_6s = {
13259 "\1\1\3\uffff\1\2\2\uffff\1\4\1\uffff\1\5\1\12\15\uffff\1\6\1\uffff\1\3\1\7\1\10\1\11\1\13\1\14\1\15\1\16",
13260 "",
13261 "",
13262 "",
13263 "",
13264 "",
13265 "",
13266 "",
13267 "",
13268 "",
13269 "",
13270 "",
13271 "",
13272 "",
13273 ""
13274 };
13275
13276 static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s);
13277 static final char[] dfa_2 = DFA.unpackEncodedStringToUnsignedChars(dfa_2s);
13278 static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s);
13279 static final short[] dfa_4 = DFA.unpackEncodedString(dfa_4s);
13280 static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s);
13281 static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s);
13282
13283 class DFA58 extends DFA {
13284
13285 public DFA58(BaseRecognizer recognizer) {
13286 this.recognizer = recognizer;
13287 this.decisionNumber = 58;
13288 this.eot = dfa_1;
13289 this.eof = dfa_1;
13290 this.min = dfa_2;
13291 this.max = dfa_3;
13292 this.accept = dfa_4;
13293 this.special = dfa_5;
13294 this.transition = dfa_6;
13295 }
13296 public String getDescription() {
13297 return "()* loopback of 4268:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )*";
13298 }
13299 public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
13300 TokenStream input = (TokenStream)_input;
13301 int _s = s;
13302 switch ( s ) {
13303 case 0 :
13304 int LA58_0 = input.LA(1);
13305
13306
13307 int index58_0 = input.index();
13308 input.rewind();
13309 s = -1;
13310 if ( (LA58_0==20) ) {s = 1;}
13311
13312 else if ( LA58_0 == 24 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 2;}
13313
13314 else if ( LA58_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 3;}
13315
13316 else if ( LA58_0 == 27 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 4;}
13317
13318 else if ( LA58_0 == 29 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 5;}
13319
13320 else if ( LA58_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 6;}
13321
13322 else if ( LA58_0 == 47 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 7;}
13323
13324 else if ( LA58_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 8;}
13325
13326 else if ( LA58_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 9;}
13327
13328 else if ( LA58_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 10;}
13329
13330 else if ( LA58_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 11;}
13331
13332 else if ( LA58_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 12;}
13333
13334 else if ( LA58_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 13;}
13335
13336 else if ( LA58_0 == 53 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 14;}
13337
13338
13339 input.seek(index58_0);
13340 if ( s>=0 ) return s;
13341 break;
13342 }
13343 NoViableAltException nvae =
13344 new NoViableAltException(getDescription(), 58, _s, input);
13345 error(nvae);
13346 throw nvae;
13347 }
13348 }
13349
13350
13351 public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L});
13352 public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L});
13353 public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x000030006D012002L});
13354 public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x000030006D010002L});
13355 public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000802L});
13356 public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000000010L});
13357 public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000000020L});
13358 public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000800L});
13359 public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000004000L});
13360 public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000000040L});
13361 public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000008000L});
13362 public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000020000L});
13363 public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000200010L});
13364 public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000180000L});
13365 public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000400002L});
13366 public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000040000L});
13367 public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000800000L});
13368 public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000002000050L});
13369 public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000100000L});
13370 public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000000050L});
13371 public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x00C0000010000000L});
13372 public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0300003000000000L});
13373 public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000000001020L});
13374 public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000380100040L});
13375 public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000380000040L});
13376 public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x1C00000000000000L});
13377 public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000400100000L});
13378 public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000400000000L});
13379 public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000001000000000L});
13380 public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000800020000L});
13381 public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000040000000020L});
13382 public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000004000000000L});
13383 public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000008000000000L});
13384 public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000040000040020L});
13385 public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000010000000000L});
13386 public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000020000000000L});
13387 public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000002000000000L});
13388 public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000080000000000L});
13389 public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000000000101020L});
13390 public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000000100040L});
13391 public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x003FD00069100000L});
13392 public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000000040010L});
13393 public static final BitSet FOLLOW_43 = new BitSet(new long[]{0xE000000000000000L});
13394
13395}